[pygtk] set_text problem
Ogz
comp.ogz at gmail.com
Mon Jul 25 16:14:01 WST 2005
Ok, thanx
You are right. I should have checked before asking.
On 7/25/05, Phillip Calvin <phillipc at toasterlogic.com> wrote:
> 3.7. While my callback is executing, nothing is refreshed in the
> application windows!
> <http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq03.007.htp>
>
> The SSH commands block the code from continuing until they finish, and
> GTK does not have a chance to draw until the function exits. Try
> putting the block of code in the FAQ entry above directly after the
> set_text().
>
> While by no means do I want to discourage you from using the mailing
> list if you have a nasty problem, please do check the excellent FAQ
> <http://www.async.com.br/faq/pygtk/index.py> page first and see if your
> question is already answered there -- it's quite thorough.
>
> Ogz wrote:
>
> >[snip]
> >
> >self.lbl_burn.set_text(txt)
> >
> >ssh = Ssh(user,host)
> >ssh.login()
> >
> >I can not see the effect of the first set_text till teh Caution_window
> >opens. If i take the ssh part out then it works correctly.
> >
> >
> >
>
More information about the pygtk
mailing list