Re: Popup windows
- From: "Ian King" <king eiffel com>
- To: "Havoc Pennington" <hp redhat com>
- Cc: <gtk-list gnome org>
- Subject: Re: Popup windows
- Date: Mon, 18 Jun 2001 17:48:39 -0700
I want to create a window with no decorations, that allows widgets inside it
to behave as they do with a normal top level window.
Can I create a top level window that
1) Has no decorations and only shows the client area.
2) Cannot be moved or resized by the user (I guess this is done by changing
the window policy).
I need this for things such as a code autocomplete window that pops up when
you enter a keyboard accelerator and this brings up a list of possibilities
for you to choose from.
Thanks for your time.
Ian King
----- Original Message -----
From: "Havoc Pennington" <hp redhat com>
To: "Ian King" <king eiffel com>
Cc: <gtk-list gnome org>
Sent: Monday, June 18, 2001 5:27 PM
Subject: Re: Popup windows
>
> "Ian King" <king eiffel com> writes:
> > In follow up to the previous message, it seems that the key events are
not
> > passed through for a popup window, but are for a top level window. Is
there
> > a reason for this?
> >
>
> Yes, GTK_WINDOW_POPUP windows are not known to the window manager. So
> the window manager won't ever give them focus.
>
> You shouldn't use GTK_WINDOW_POPUP for windows that require focus,
> only for things like tooltips and menus.
>
> Havoc
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]