I have an application that given a source file name reads the file, parses
the contents and posts data to a database. I would like to be able to start
the app and not require the user push a button etc. that it just run and
while running open a wx.ProgressDialog, then upon completion the user can
enter a button to close the dialog...
Without having a start button I can't figure out where to call the main
code, I tried to start with the basic app in wx_examples, but whatever I do
is doesn't seem to work.
thanks
max
Maybe by using a wxTimer ?
···
On Saturday 04 October 2003 02:44, Max Slimmer wrote:
Without having a start button I can't figure out where to call the main
code, I tried to start with the basic app in wx_examples, but whatever I
do is doesn't seem to work.
--
Frederic
http://linux.gbiloba.org
Can't you call yuor main code from the __init__ method and use wxYield() to
cause the screen to update? Then you don't have to mess with timers.
···
-----Original Message-----
From: Frederic [mailto:linux@gbiloba.org]
Sent: Saturday, October 04, 2003 2:33 AM
To: wxPython-users@lists.wxwindows.org
Subject: Re: [wxPython-users] How to start code and ProgressDialog
On Saturday 04 October 2003 02:44, Max Slimmer wrote:
Without having a start button I can't figure out where to call the main
code, I tried to start with the basic app in wx_examples, but whatever I
do is doesn't seem to work.
Maybe by using a wxTimer ?
--
Frederic
http://linux.gbiloba.org
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org