Re: How to move focus to another window by program?

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

 



On Thu, Apr 1, 2010 at 10:36 AM, Ken Resander <kresander@xxxxxxxxx> wrote:
>
> Thanks Yeti,
>
> I used g_signal_connect_after for the menu activate event for all menu items with actions. It did not make any difference.
>
> I can force focus from a dialog to the top window by gtk_window_present ((GtkWindow *)window ), but gtk_window_present ((GtkWindow *)dlg) does not work the other way around.
>
> Is there a way to force focus from top window to a dialog by the program?
> I think there ought to be.
>

I've faced the same problem in the past (without finding a solution).
I think the focus is transferred between main windows by the window
manager.

KWM even has a "Focus stealing prevention level" in its preferences...

O.
_______________________________________________
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