Re: Getting focus



On Tue, 2016-08-23 at 00:38 +0200, rastersoft wrote:
It's not a problem of being early: I even tried to put a 1-second timer
to call to grab_focus(), but didn't work.

In fact, the first time I create the window it works fine, but seems to
fail when I hide it and show it again.

So it may be related to the window manager?

Is it Linux with Gnome3 shell? Gnome 3.20?

May other programs steal the focus?

Do other tools work fine? When you hide and show gedit, will it have
the focus?


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