Here is a code that should show a text at a label and continue with ssh connection:
....... some code ....... txt = "test" self.lbl_burn.set_text(txt) self.MainWindow_Sefir.show_all() print txt ssh = Ssh(user,host) ssh.login() result = ssh.sendcmd(burncmd, readtype=0) ..... some code ..... caution = CautionWindow() caution.Caution_label.set_text('ok') responselast = 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. _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/