Re: How do I create a non-focused window?
- From: "Tom Machinski" <tom machinski gmail com>
- To: paul linuxaudiosystems com
- Cc: gtk-list gnome org
- Subject: Re: How do I create a non-focused window?
- Date: Tue, 27 May 2008 08:39:47 -0700
On Mon, May 26, 2008 at 4:28 PM, Paul Davis <
paul linuxaudiosystems com> wrote:
AFAIK, this is largely a function of your window manager rather than
GTK. GTK does not "grab focus" for a new window, but the WM may move
focus to the new window if that is its policy for that window type.
Thanks Paul.
We discussed it in some length at the gtk-app-devel list, here:
http://mail.gnome.org/archives/gtk-app-devel-list/2008-May/msg00141.html
Turns out there's a designated way for the window to set a hint on itself that it shouldn't receive focus upon creation (gtk_window_set_focus_on_map()).
Oddly enough, Gnome does not seem to respect that hint. GTK+ being the default widget toolkit for Gnome, this looks like a bug.
Thanks,
Tom
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]