Novice but eager to learn. I'm writing a login script which displays a
GUI window and which I want to update with comments as the script runs.

My script finishes with:

if __name__ == '__main__':
    ghs = LoginApp()
    ghs['user'].set_text(user)
    ghs['pc'].set_text(pc_name)
        
    set_up_login_window()
    
    ghs.window.show()

    do_stuff()  
    
gtk.main()

The issue I have is that the outline of the window appears with the
inside blank until do_stuff() completes when the window is fully
defined.

If I have:
..........
gtk.main()
do_stuff() 

then the window appears fine but nothing gets done.

Don't know if there is a command to update a window.

Probably simple. If not, a reference/pointer would be appreciated. 

Many Thanks
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to