Re: How do I create a non-focused window?

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

 



On Mon, May 26, 2008 at 4:28 PM, Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx> 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
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux