Re: [gtk-list] Re: Dialog Boxes - help



Well, I've given up on preventing the delete events, and instead just
trying to make the dialog exit cleanly if someone closes an application
window.
But I need to detect if the application wants to exit.

How do you tell if gtk_main_exit() has been called?



Jon K Hellan wrote:
> 
> Are you saying that while a dialog box is up, deleting the application window
> with the window manager must be disabled?
> 
> This is bad if the window manager does not place dialogs on top of the
> application window. The dialog may be hidden, the application window
> does not accept input, and the user doesn't know how to get rid of it.

IIRC all the window managers I've seen know how to handle them properly
if
the application uses them properly.


Mark



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]