|
From: Ogz <com...@gm...> - 2005-07-25 06:50:50
|
Here is a code that should show a text at a label and continue with
ssh connection:
.......
some code
.......
txt =3D "test"
self.lbl_burn.set_text(txt)
self.MainWindow_Sefir.show_all()
print txt
ssh =3D Ssh(user,host)
ssh.login()
result =3D ssh.sendcmd(burncmd, readtype=3D0)
.....
some code
.....
caution =3D CautionWindow()
caution.Caution_label.set_text('ok')
responselast =3D caution.Caution_window.run()
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.
I dont know why it is not set the label.
Will be happy if someone help.
|