Re: [gtk-list] Re: modal windows ?
- From: Markus Minihold <Markus Minihold telecom at>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: modal windows ?
- Date: Thu, 16 Jul 1998 10:44:13 +0200
You are misunderstanding something. There are two different types of
_modal dialogs_. APPLICATION MODAL and SYSTEM MODAL. I agree, that
system modal is not a good idea in a multitasking system. But keep focus
on application modal - if you have a large parent window, and you pop up
a small dialog box - modal - than if clicking or pointing into the large
parent window will bring it to the top and _overlaps or hides_ the modal
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.
Markus
O'CONNOR, Steve wrote:
>
> The 'staying on top' part is unfortunately NOTHING to do with the GUI
> lib that you are using.
>
> It is the window manager that makes the decision about what window goes
> on top, and the window manager typically uses run-time user-defined
> options to decide which window lives on top of any other window. The
> most common types being click to focus, mouse to focus, raise on focus.
>
> You are no doubt used to using the _always on top_ pseudo feature in
> that other GUI library, Win32.
>
> There are some good reasons to not have modal windows always on top. One
> thing that a real multi-tasking system should NEVER have though is the
> concept of 'System Modal' windows that block all applications entirely.
>
> Maybe what you need is to run something like KDE WM, and set the focus
> management to 'click to focus' to acheive the sort of look and feel that
> you are after.
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]