Cedric Gaspoz wrote:
> Hi,
> I'm running my application in kiosk mode, so I do it with:
> frame.ShowFullScreen(True,wx.FULLSCREEN_ALL).
>
> But when I launch a message box, with:
> dlg = wx.MessageDialog(None, "Your responses are printed!", "Check the
> printer", wx.OK | wx.ICON_EXCLAMATION)
>
> the application go out of the fullscreen mode (display the menu and
> status bar) till I click on the "OK" button.
>
> Is there a way to manage that the dialog boxes stay in the FullScreen
> mode?Platform and version?
Debian GNU/Linux with wxPython 2.6
Since the wx.MessageDialog is a system dialog it may be tripping up some
system policy that controls whether there can be a fullscreen window and
a message dialog at the same time. One thing that might help is to make
the parent of the dialog be the full screen frame. Another is to use
your own dialog derived from wx.Dialog instead of the wx.MessageDialog.
The parent is already the full screen frame. But I will try to create my
own dialog. Can I take the samples on pages 287-290 of the wxPython
book?
Thanks for your help
Cedric
···
Le jeudi 21 février 2008 à 15:34 -0800, Robin Dunn a écrit :