[pygtk] Updating a window
Brian Rowlands (Greymouth High School)
RowlandsB at greyhigh.school.nz
Wed Jun 23 13:31:27 WST 2010
Thanks for the suggestion but it doesn't make any difference.
Thanks for replying.
Window only appears after the contents of do_stuff() have completed
their tasks
Do_stuff completes tasks like:
* copy DB to c: drive from server
* read DB
* check user is allowed to log in
* impersonate [ using Active Directory in a Win32 environment ]
* etc
Sorry.
Brian
From: cmniyas at gmail.com [mailto:cmniyas at gmail.com] On Behalf Of muhamed
niyas
Sent: Wednesday, 23 June 2010 4:11 p.m.
To: Brian Rowlands (Greymouth High School)
Subject: Updating a window
Hi...
Can u re-arrange the statement
ghs.window.show() below the do_stuff()
I mean the code like this
if __name__ == '__main__':
ghs = LoginApp()
ghs['user'].set_text(user)
ghs['pc'].set_text(pc_name)
set_up_login_window()
do_stuff()
ghs.window.show()
gtk.main()
Pls try this and let me know the status...
--
Thanks & Best Regards,
Muhamed Niyas C
(NuCore Software Solutions Pvt Ltd)
Mobile: +91 9447 468825
URL: www.nucoreindia.com
Email: niyas at nucoreindia.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20100623/723ad04d/attachment.htm
More information about the pygtk
mailing list