[Gtk-sharp-list] How to show dialog modal and wait for it?

Chris Howie cdhowie at gmail.com
Mon Dec 28 23:06:07 EST 2009

On Mon, Dec 28, 2009 at 1:45 PM, Maciej Pilichowski <bluedzins at wp.pl> wrote:
>> "Modal windows prevent interaction with other windows in the same
>> application." It doesn't mean they do that by stopping event
>> processing...
> I think it means exactly that -- if the events processing isn't
> stopped it would be up to every handler to check if the window has
> child modal window, and if it has, ignore the event.

No, this is not correct.  Processing of events already in the queue
still happens.  But clicks and keyboard interaction on windows
"blocked" by the modal dialog are ignored by GDK/GTK.

Chris Howie

More information about the Gtk-sharp-list mailing list