Re: How to reactivate (focus?) the main window,

2016-09-05 Thread Joël Krähemann
Hi you might want to look at: * gtk_widget_set_can_focus ()¨ * gtk_widget_set_events() g_object_set(window, "can-focus\0", TRUE, NULL); gtk_widget_set_events((GtkWidget *) window, GDK_CONTROL_MASK

Re: How to reactivate (focus?) the main window,

2016-09-05 Thread Paulo Silva
I don't now if I understood correctly your problem. Maybe this: gtk_window_present( GTK_WINDOW(ptr_to_your_window) ); José Paulo 2016-09-04 13:58 GMT-03:00 dmg : > On Sun, Sep 4, 2016 at 9:57 AM, dmg wrote: > > > > > I have tried using gtk_window_set_focus(winMain); but this does not > work