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



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 <dmg uvic ca>:

On Sun, Sep 4, 2016 at 9:57 AM, dmg <dmg uvic ca> wrote:


I have tried using   gtk_window_set_focus(winMain); but this does not
work.


​My mistake. I have used:

​gtk_widget_grab_focus(winMain);

and it does not work.




--
--dmg

---
Daniel M. German
http://turingmachine.org
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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