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 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, I guess it should be emmited after map signal. > > > -- Nos leemos RASTER (Linux user #228804) ras...@rastersoft.com http://www.rastersoft.com _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list