Re: Getting focus

2016-08-22 Thread rastersoft
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. El 22/08/16 a las 20:42, Stefan Salewski escribió: > On Sun, 2016-08-21

Re: Getting focus

2016-08-22 Thread Stefan Salewski
On Sun, 2016-08-21 at 21:56 +0200, rastersoft wrote: > I tried to > call "grab_focus" on the "map" callback... but doesn't work. The map signal may be too early. Maybe g_signal_connect_after() may work. After map signal map_event is emmited, maybe you can use that one. Or try the draw signal,