Re: How to move focus to another window by program?
- From: Oscar Lazzarino <oscar lazzarino gmail com>
- Cc: gtk-list gnome org
- Subject: Re: How to move focus to another window by program?
- Date: Thu, 1 Apr 2010 10:47:48 +0200
On Thu, Apr 1, 2010 at 10:36 AM, Ken Resander <kresander yahoo com> 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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]