[9192] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: WindowToFront and modal dialogs questions
daemon@ATHENA.MIT.EDU (Federico Mena Quintero)
Sun Oct 11 18:24:56 1998
Date: Sun, 11 Oct 1998 18:25:07 -0400
From: Federico Mena Quintero <federico@nuclecu.unam.mx>
To: gtk-list@redhat.com
In-reply-to: <199810101430.QAA29049@atrey.karlin.mff.cuni.cz> (message from
Michal Kara on Sat, 10 Oct 1998 16:30:02 +0200 (MET DST))
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
> 1) User can have multiple sheets. Since there is nothing like MDI under
> Windows, I have decided to use separate window for each sheet. I want to give
> user easy shortcut to cycle through sheets. But for this, I need to be able to
> directively put sheet window to the front of all other windows. I have searched
> gtk include files and I have not found such function.
>
> 2) When user exits program, I want to close all sheets. Of course, when
> sheet was changed, it asks before closing, whether to save changes, forget
> changes or canel operation. If user wants to save sheet which was not yet saved,
> file selection dialog pops up.
>
> It would make good sense if both these dialogs were modal. It is much
> easier to program and it also limits unexpected user operations (trying to close
> again sheet for which there is pending save dialog etc.) which must be carefully
> tested for.
>
> So is it possible somehow to create modal dialogs?
The GNOME libraries provide all of these wrapped in a convenient
interface (MDI, modal dialogs, etc.).
Federico
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null