making a GUI time out

Hi,

I've written a python program that does some simple stuff: opens a config file, execs a windows program that connects to a server, and does a couple of other things before starting a program and terminating.

I'd like to have the program throw up a splash screen while it's exec'ing. I've created a "GUI" in wxGlade, but perhaps this isn't the best method as it goes into its mainloop() and then the main python program waits.

Is there a better approach? Or, should I create some kind of timer function that somehow terminates the mainloop()?

I've looked through all my books on Python, and have had no luck finding anything similar to learn from.

Thanks

Patrick

You might want to look at wxprogressdialog. I think that might meet your
needs.

···

On Tue, 2003-11-04 at 14:33, P.T. Waugh MA wrote:

Hi,

I've written a python program that does some simple stuff: opens a config
file, execs a windows program that connects to a server, and does a couple
of other things before starting a program and terminating.

I'd like to have the program throw up a splash screen while it's
exec'ing. I've created a "GUI" in wxGlade, but perhaps this isn't the best
method as it goes into its mainloop() and then the main python program waits.

Is there a better approach? Or, should I create some kind of timer
function that somehow terminates the mainloop()?

I've looked through all my books on Python, and have had no luck finding
anything similar to learn from.

Thanks

Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

Thanks, I'll check that out =)

···

At 07:39 PM 11/4/2003 -0600, you wrote:

You might want to look at wxprogressdialog. I think that might meet your
needs.

On Tue, 2003-11-04 at 14:33, P.T. Waugh MA wrote:
> Hi,
>
> I've written a python program that does some simple stuff: opens a config
> file, execs a windows program that connects to a server, and does a couple
> of other things before starting a program and terminating.
>
> I'd like to have the program throw up a splash screen while it's
> exec'ing. I've created a "GUI" in wxGlade, but perhaps this isn't the best
> method as it goes into its mainloop() and then the main python program waits.
>
> Is there a better approach? Or, should I create some kind of timer
> function that somehow terminates the mainloop()?
>
> I've looked through all my books on Python, and have had no luck finding
> anything similar to learn from.
>
> Thanks
>
> Patrick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
> For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

wxProcessDialog isn't what I'm looking for.

I have created a program that does some simple stuff to setup a Windows program which it then finds and executes before exiting.

Now, I want to have a small "splash window" come up (the GUI piece) while the main program executes. However, the GUI goes into its mainloop() and never ends (as there is no btn for the user to exit it). I want to get the small GUI window to stay up for like 5 seconds, then die on its own without the user having to close it.

Anyone point me in the right direction? Now that I've found the wxWindows docs, I'm looking at those too.

Thanks.

···

At 07:00 PM 11/4/2003 -0800, you wrote:

Thanks, I'll check that out =)

At 07:39 PM 11/4/2003 -0600, you wrote:

You might want to look at wxprogressdialog. I think that might meet your
needs.

On Tue, 2003-11-04 at 14:33, P.T. Waugh MA wrote:
> Hi,
>
> I've written a python program that does some simple stuff: opens a config
> file, execs a windows program that connects to a server, and does a couple
> of other things before starting a program and terminating.
>
> I'd like to have the program throw up a splash screen while it's
> exec'ing. I've created a "GUI" in wxGlade, but perhaps this isn't the best
> method as it goes into its mainloop() and then the main python program waits.
>
> Is there a better approach? Or, should I create some kind of timer
> function that somehow terminates the mainloop()?
>
> I've looked through all my books on Python, and have had no luck finding
> anything similar to learn from.
>
> Thanks
>
> Patrick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
> For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

What about wxSplashScreen?

···

On Tue, 04 Nov 2003 20:17:34 -0800 "P.T. Waugh MA" <ptwaugh@earthlink.net> wrote:

wxProcessDialog isn't what I'm looking for.

"P.T. Waugh MA" <ptwaugh@earthlink.net> wrote in message
news:5.2.1.1.2.20031104122612.00ae4b60@pop.earthlink.net...

Hi,

I've written a python program that does some simple stuff: opens a config
file, execs a windows program that connects to a server, and does a couple
of other things before starting a program and terminating.

I'd like to have the program throw up a splash screen while it's
exec'ing. I've created a "GUI" in wxGlade, but perhaps this isn't the

best

method as it goes into its mainloop() and then the main python program

waits.

Is there a better approach? Or, should I create some kind of timer
function that somehow terminates the mainloop()?

I've looked through all my books on Python, and have had no luck finding
anything similar to learn from.

I've not been using wxPython for very long, but my guess is that you are
going to run into the mainloop() problem every time, and that any other gui
toolkit would have the same problem - windowed programs (certainly in
windows, and I believe also in X) are based on a single main loop which
waits for new events, then dispatches them.

The answer is to use multi-threading. I don't know whether wxPython will
work happily with the mainloop() running in a background thread - I guess it
should be okay. If not, the run the rest of your system in a background
thread. Just remember to use wx.PostEvent or some other thread
synchronisation mechanism to communicate between them (e.g., to update a
progress bar) and don't try to call gui methods directly from seperate
threads.

I'm going to suggest the obvious: wx.SplashScreen. Appologies if I missed
that you had looked at that already.

···

-----Original Message-----
From: P.T. Waugh MA [mailto:ptwaugh@earthlink.net]
Sent: Tuesday, November 04, 2003 20:18
To: wxPython-users@lists.wxwindows.org
Subject: Re: [wxPython-users] making a GUI time out

wxProcessDialog isn't what I'm looking for.

I have created a program that does some simple stuff to setup a Windows
program which it then finds and executes before exiting.

Now, I want to have a small "splash window" come up (the GUI piece) while
the main program executes. However, the GUI goes into its mainloop() and
never ends (as there is no btn for the user to exit it). I want
to get the
small GUI window to stay up for like 5 seconds, then die on its
own without
the user having to close it.

Anyone point me in the right direction? Now that I've found the
wxWindows
docs, I'm looking at those too.

Thanks.

At 07:00 PM 11/4/2003 -0800, you wrote:
>Thanks, I'll check that out =)
>
>At 07:39 PM 11/4/2003 -0600, you wrote:
>>You might want to look at wxprogressdialog. I think that might meet your
>>needs.
>>
>>On Tue, 2003-11-04 at 14:33, P.T. Waugh MA wrote:
>> > Hi,
>> >
>> > I've written a python program that does some simple stuff:
opens a config
>> > file, execs a windows program that connects to a server, and
does a couple
>> > of other things before starting a program and terminating.
>> >
>> > I'd like to have the program throw up a splash screen while it's
>> > exec'ing. I've created a "GUI" in wxGlade, but perhaps this
isn't the
>> best
>> > method as it goes into its mainloop() and then the main
python program
>> waits.
>> >
>> > Is there a better approach? Or, should I create some kind of timer
>> > function that somehow terminates the mainloop()?
>> >
>> > I've looked through all my books on Python, and have had no
luck finding
>> > anything similar to learn from.
>> >
>> > Thanks
>> >
>> > Patrick
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail:
wxPython-users-unsubscribe@lists.wxwindows.org
>> > For additional commands, e-mail:
wxPython-users-help@lists.wxwindows.org
>> >
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
>>For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
>For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

=)

Ok, now I feel like the total beginner I am! Thanks guys. I only just downloaded the wxWindows docs, after finally finding them. I'm sure this will work.

Patrick

···

At 12:01 AM 11/5/2003 -0800, you wrote:

I'm going to suggest the obvious: wx.SplashScreen. Appologies if I missed
that you had looked at that already.

> -----Original Message-----
> From: P.T. Waugh MA [mailto:ptwaugh@earthlink.net]
> Sent: Tuesday, November 04, 2003 20:18
> To: wxPython-users@lists.wxwindows.org
> Subject: Re: [wxPython-users] making a GUI time out
>
> wxProcessDialog isn't what I'm looking for.
>
> I have created a program that does some simple stuff to setup a Windows
> program which it then finds and executes before exiting.
>
> Now, I want to have a small "splash window" come up (the GUI piece) while
> the main program executes. However, the GUI goes into its mainloop() and
> never ends (as there is no btn for the user to exit it). I want
> to get the
> small GUI window to stay up for like 5 seconds, then die on its
> own without
> the user having to close it.
>
> Anyone point me in the right direction? Now that I've found the
> wxWindows
> docs, I'm looking at those too.
>
> Thanks.
>
> At 07:00 PM 11/4/2003 -0800, you wrote:
> >Thanks, I'll check that out =)
> >
> >At 07:39 PM 11/4/2003 -0600, you wrote:
> >>You might want to look at wxprogressdialog. I think that might meet your
> >>needs.
> >>
> >>On Tue, 2003-11-04 at 14:33, P.T. Waugh MA wrote:
> >> > Hi,
> >> >
> >> > I've written a python program that does some simple stuff:
> opens a config
> >> > file, execs a windows program that connects to a server, and
> does a couple
> >> > of other things before starting a program and terminating.
> >> >
> >> > I'd like to have the program throw up a splash screen while it's
> >> > exec'ing. I've created a "GUI" in wxGlade, but perhaps this
> isn't the
> >> best
> >> > method as it goes into its mainloop() and then the main
> python program
> >> waits.
> >> >
> >> > Is there a better approach? Or, should I create some kind of timer
> >> > function that somehow terminates the mainloop()?
> >> >
> >> > I've looked through all my books on Python, and have had no
> luck finding
> >> > anything similar to learn from.
> >> >
> >> > Thanks
> >> >
> >> > Patrick
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail:
> wxPython-users-unsubscribe@lists.wxwindows.org
> >> > For additional commands, e-mail:
> wxPython-users-help@lists.wxwindows.org
> >> >
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
> >>For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
> >For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
> For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

Ok, here's what I've got so far after reviewing and attempting to understand how to use wxSplashscreen after reading the docs.

class MyApp(wxFrame):
     def __init__(self, *args, **kwds):
         # begin wxGlade: MyApp.__init__
         kwds["style"] = wxSIMPLE_BORDER
         wxFrame.__init__(self, *args, **kwds)
         self.bitmap_1 = wxStaticBitmap(self, -1, wxBitmap("C:\\Documents and Settings\\patrick\\My Documents\\MyDevelopment\\FS Development\\SplashControl\\SplashControl_Splash.bmp", wxBITMAP_TYPE_ANY))
         self.__set_properties()
         #self.__do_layout()

         self.splash = wxSplashScreen(self.bitmap_1, wxSPLASH_TIMEOUT, 6000, NULL, -1, wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER)
         # end wxGlade

     def __set_properties(self):
         # begin wxGlade: MyApp.__set_properties
         self.SetTitle("frame_1")
         # end wxGlade

     def __do_layout(self):
         # begin wxGlade: MyApp.__do_layout
         sizer_1 = wxBoxSizer(wxVERTICAL)
         #sizer_1.Add(self.bitmap_1, 0, 0, 0)
         self.SetAutoLayout(1)
         self.SetSizer(sizer_1)
         sizer_1.Fit(self)
         sizer_1.SetSizeHints(self)
         #self.Layout()
         # end wxGlade

# end of class MyApp

if __name__ == "__main__":
     app = wxPySimpleApp(0)
     wxInitAllImageHandlers()
     frame_1 = MyApp(None, -1, "")
     app.SetTopWindow(frame_1)
     frame_1.Show(1)
     app.MainLoop()

I'm obviously doing somethings wrong. I really don't want the dialog and the splash, just the splash... and I get this error when I run the program:

>python -u "SplashControl-1.0.py"
Traceback (most recent call last):
   File "SplashControl-1.0.py", line 43, in ?
     frame_1 = MyApp(None, -1, "")
   File "SplashControl-1.0.py", line 18, in __init__
     self.splash = wxSplashScreen(self.bitmap_1, wxSPLASH_TIMEOUT, 6000, NULL, -1, wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER)
   File "C:\bin\DEVELO~1\python23\lib\site-packages\wxPython\frames.py", line 279, in __init__
     self.this = framesc.new_wxSplashScreen(*_args,**_kwargs)
TypeError: Type error in argument 1 of new_wxSplashScreen. Expected _wxBitmap_p.
23:17:14: Debug: e:\Projects\wx2.4\src\msw\app.cpp(439): 'UnregisterClass(canvas)' failed with error 0x00000584 (class still has open windows.).
>Exit code: 1

Any direction would be greatly appreciated.

Patrick

···

At 08:57 PM 11/4/2003 -0800, you wrote:

=)

Ok, now I feel like the total beginner I am! Thanks guys. I only just downloaded the wxWindows docs, after finally finding them. I'm sure this will work.

Patrick

At 12:01 AM 11/5/2003 -0800, you wrote:

I'm going to suggest the obvious: wx.SplashScreen. Appologies if I missed
that you had looked at that already.

> -----Original Message-----
> From: P.T. Waugh MA [mailto:ptwaugh@earthlink.net]
> Sent: Tuesday, November 04, 2003 20:18
> To: wxPython-users@lists.wxwindows.org
> Subject: Re: [wxPython-users] making a GUI time out
>
> wxProcessDialog isn't what I'm looking for.
>
> I have created a program that does some simple stuff to setup a Windows
> program which it then finds and executes before exiting.
>
> Now, I want to have a small "splash window" come up (the GUI piece) while
> the main program executes. However, the GUI goes into its mainloop() and
> never ends (as there is no btn for the user to exit it). I want
> to get the
> small GUI window to stay up for like 5 seconds, then die on its
> own without
> the user having to close it.
>
> Anyone point me in the right direction? Now that I've found the
> wxWindows
> docs, I'm looking at those too.
>
> Thanks.
>
> At 07:00 PM 11/4/2003 -0800, you wrote:
> >Thanks, I'll check that out =)
> >
> >At 07:39 PM 11/4/2003 -0600, you wrote:
> >>You might want to look at wxprogressdialog. I think that might meet your
> >>needs.
> >>
> >>On Tue, 2003-11-04 at 14:33, P.T. Waugh MA wrote:
> >> > Hi,
> >> >
> >> > I've written a python program that does some simple stuff:
> opens a config
> >> > file, execs a windows program that connects to a server, and
> does a couple
> >> > of other things before starting a program and terminating.
> >> >
> >> > I'd like to have the program throw up a splash screen while it's
> >> > exec'ing. I've created a "GUI" in wxGlade, but perhaps this
> isn't the
> >> best
> >> > method as it goes into its mainloop() and then the main
> python program
> >> waits.
> >> >
> >> > Is there a better approach? Or, should I create some kind of timer
> >> > function that somehow terminates the mainloop()?
> >> >
> >> > I've looked through all my books on Python, and have had no
> luck finding
> >> > anything similar to learn from.
> >> >
> >> > Thanks
> >> >
> >> > Patrick
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail:
> wxPython-users-unsubscribe@lists.wxwindows.org
> >> > For additional commands, e-mail:
> wxPython-users-help@lists.wxwindows.org
> >> >
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
> >>For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
> >For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
> For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

No prob with doing that later, I understand why this is an issue.... right now, I just want to figure out how to create a very simple program that all it does is display a splash, then exit.... all without user input.

This would be a good tutorial topic I think.

Patrick

···

At 08:44 AM 11/5/2003 +0100, you wrote:

"P.T. Waugh MA" <ptwaugh@earthlink.net> wrote in message
news:5.2.1.1.2.20031104122612.00ae4b60@pop.earthlink.net...
> Hi,
>
> I've written a python program that does some simple stuff: opens a config
> file, execs a windows program that connects to a server, and does a couple
> of other things before starting a program and terminating.
>
> I'd like to have the program throw up a splash screen while it's
> exec'ing. I've created a "GUI" in wxGlade, but perhaps this isn't the
best
> method as it goes into its mainloop() and then the main python program
waits.
>
> Is there a better approach? Or, should I create some kind of timer
> function that somehow terminates the mainloop()?
>
> I've looked through all my books on Python, and have had no luck finding
> anything similar to learn from.
>

I've not been using wxPython for very long, but my guess is that you are
going to run into the mainloop() problem every time, and that any other gui
toolkit would have the same problem - windowed programs (certainly in
windows, and I believe also in X) are based on a single main loop which
waits for new events, then dispatches them.

The answer is to use multi-threading. I don't know whether wxPython will
work happily with the mainloop() running in a background thread - I guess it
should be okay. If not, the run the rest of your system in a background
thread. Just remember to use wx.PostEvent or some other thread
synchronisation mechanism to communicate between them (e.g., to update a
progress bar) and don't try to call gui methods directly from seperate
threads.

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

"P.T. Waugh MA" <ptwaugh@earthlink.net> wrote in message
news:5.2.1.1.2.20031105010703.00acd288@pop.earthlink.net...

No prob with doing that later, I understand why this is an issue.... right
now, I just want to figure out how to create a very simple program that

all

it does is display a splash, then exit.... all without user input.

This would be a good tutorial topic I think.

Patrick

Try this (copy splash.gif from wxPython/demo/bitmaps into the same directory
as the python module below):

import wx

class Splasher(wx.PySimpleApp) :
    def __init__(self) :
        wx.PySimpleApp.__init__(self)
        bitmap = wx.Bitmap("splash.gif", wx.BITMAP_TYPE_GIF)
        splash = wx.SplashScreen(bitmap, wx.SPLASH_CENTRE_ON_SCREEN |
                                 wx.SPLASH_TIMEOUT, 2000, None, -1)

if __name__ == "__main__" :
    splashApp = Splasher()
    splashApp.MainLoop()

David,

Worked like a charm. Appreciate your time. When I'm done, I'll make a tutorial on it for others.

Patrick

···

At 12:06 PM 11/5/2003 +0100, you wrote:

"P.T. Waugh MA" <ptwaugh@earthlink.net> wrote in message
news:5.2.1.1.2.20031105010703.00acd288@pop.earthlink.net...
> No prob with doing that later, I understand why this is an issue.... right
> now, I just want to figure out how to create a very simple program that
all
> it does is display a splash, then exit.... all without user input.
>
> This would be a good tutorial topic I think.
>
> Patrick

Try this (copy splash.gif from wxPython/demo/bitmaps into the same directory
as the python module below):

import wx

class Splasher(wx.PySimpleApp) :
    def __init__(self) :
        wx.PySimpleApp.__init__(self)
        bitmap = wx.Bitmap("splash.gif", wx.BITMAP_TYPE_GIF)
        splash = wx.SplashScreen(bitmap, wx.SPLASH_CENTRE_ON_SCREEN |
                                 wx.SPLASH_TIMEOUT, 2000, None, -1)

if __name__ == "__main__" :
    splashApp = Splasher()
    splashApp.MainLoop()

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

"P.T. Waugh MA" <ptwaugh@earthlink.net> wrote in message
news:5.2.1.1.2.20031105043831.00ad4778@pop.earthlink.net...

David,

Worked like a charm. Appreciate your time. When I'm done, I'll make a
tutorial on it for others.

It's just a small wrapper around the example in the wxWindows documentation
for wx.SplashScreen, translated from c++ to python.

When I first started using wx.Python, I tried wxGlade, but I've found it is
actually easier, faster, and clearer to program my design directly. I put
most of the details in factory functions which will, for example, create a
button and put it in a sizer box, so that the main constructor code is
cleaner. It makes a big difference when you want to change appearances of
things - suppose you want to add a border around each button to improve
spacing, or change the background colour of your labels. With wxGlade you
have to manually change every object - with factory functions (or derived
classes, which can work well too) you change a single line. That's exactly
the sort of reason I am moving from Delphi programming to Python and Tkinter
or wx.Python.

Another very useful trick I've found is to put a py.shell.Shell panel in the
application - most of my testing and debugging, and some of the coding, is
done live from within the application.

David

Patrick

>"P.T. Waugh MA" <ptwaugh@earthlink.net> wrote in message
>news:5.2.1.1.2.20031105010703.00acd288@pop.earthlink.net...
> > No prob with doing that later, I understand why this is an issue....

right

> > now, I just want to figure out how to create a very simple program

that

>all
> > it does is display a splash, then exit.... all without user input.
> >
> > This would be a good tutorial topic I think.
> >
> > Patrick
>
>Try this (copy splash.gif from wxPython/demo/bitmaps into the same

directory

···

At 12:06 PM 11/5/2003 +0100, you wrote:
>as the python module below):
>
>
>import wx
>
>class Splasher(wx.PySimpleApp) :
> def __init__(self) :
> wx.PySimpleApp.__init__(self)
> bitmap = wx.Bitmap("splash.gif", wx.BITMAP_TYPE_GIF)
> splash = wx.SplashScreen(bitmap, wx.SPLASH_CENTRE_ON_SCREEN |
> wx.SPLASH_TIMEOUT, 2000, None, -1)
>
>if __name__ == "__main__" :
> splashApp = Splasher()
> splashApp.MainLoop()
>
>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
>For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org