Re: [gtk-list] WindowToFront and modal dialogs questions
- From: Federico Mena Quintero <federico nuclecu unam mx>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] WindowToFront and modal dialogs questions
- Date: Sun, 11 Oct 1998 18:25:07 -0400
> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]