Buttonless Message Dialog

I want to display a dialog which tells the users to wait while the
program is initializing, but don't want any buttons
in the dialog. The dialog will terminate itself when the intialization
finishes, as opposed to the user clicking on a button.

Is this possible with the standard dialogs- such as the wxMessage
dialog?

Hi,

···

On Nov 29, 2009, at 10:08 PM, cappy2112 wrote:

I want to display a dialog which tells the users to wait while the
program is initializing, but don't want any buttons
in the dialog. The dialog will terminate itself when the intialization
finishes, as opposed to the user clicking on a button.

Is this possible with the standard dialogs- such as the wxMessage
dialog?

Think your looking for wx.SplashScreen

Cody

I've thought about that- but according to PIA the splash object
requires a click from the user, or a timeout in ms, in order to
terminate.
Since I don't know when the initialization will finish, I'd rather not
hardcode
a timeout, due to timing differences from machine-machine.

Also- the splash widget requires a bitmap- I just want to display a
small text message.

···

On Nov 29, 8:14 pm, Cody Precord <codyprec...@gmail.com> wrote:

Hi,

On Nov 29, 2009, at 10:08 PM, cappy2112 wrote:

> I want to display a dialog which tells the users to wait while the
> program is initializing, but don't want any buttons
> in the dialog. The dialog will terminate itself when the intialization
> finishes, as opposed to the user clicking on a button.

> Is this possible with the standard dialogs- such as the wxMessage
> dialog?

Think your looking for wx.SplashScreen

Cody

It's a wx.Frame so you can call Close if you want to close it programaticaly.

···

On 11/29/09 8:46 PM, cappy2112 wrote:

I've thought about that- but according to PIA the splash object
requires a click from the user, or a timeout in ms, in order to
terminate.
Since I don't know when the initialization will finish, I'd rather not
hardcode
a timeout, due to timing differences from machine-machine.

--
Robin Dunn
Software Craftsman

Hi,

2009/11/30 cappy2112:

I've thought about that- but according to PIA the splash object
requires a click from the user, or a timeout in ms, in order to
terminate.
Since I don't know when the initialization will finish, I'd rather not
hardcode
a timeout, due to timing differences from machine-machine.

Also- the splash widget requires a bitmap- I just want to display a
small text message.

Try with wx.BusyInfo.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/