Re: [gtk-list] Re: modal windows ?




On Thu, 16 Jul 1998, Tomi Ollila wrote:

> Thu Jul 16 10:44:13 +0200 1998 Markus Minihold <Markus.Minihold@telecom.at>
> wrote:
> 
> > small dialog box. Application modal means, that this dialog will stay on
> > top of the application. And it isn't a feature of the WM. Have a look
> > into Qt or Motif library. If specifing there an application modal window
> > means the described behaviour - the modal dialog will stay on top of the
> > application.
> 
> I'd think this feature is implemented in those libraries such as when 
> this window receives a CirculateNotify X event, the relative stacking order 
> if the windows in this application is tested, and restacked if necessary.
> Other possibility would be checking results of VisibilityNotify events
> on *all* windows of this application. There might even be easier solutions 
> for that -- I'm not an X guru (yet ;). 

It's not implemented in the libraries. With Xt, all you have to do is

	 XtPopup(popup_shell, XtGrabNonexclusive);

and it stays on top. If there is a way to make Gtk dialogs behave the same
way, I would like to know it too.

Ulric



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