gtk_widget_queue_draw_area much slower in gtk3 than gtk3

2015-03-29 Thread dmg
another way to force that drawings done with cairo be drawn on the screen without using gtk_widget_queue_draw? thank you! -- --dmg --- Daniel M. German http://turingmachine.org ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https

Re: gtk_widget_queue_draw_area much slower in gtk3 than gtk3

2015-03-30 Thread dmg
refresh rate of rendering seems to imply that we can only call gtk_widget_queue_draw once every 1/60s. (or whatever refresh rate the computer has) but what would be the best way to do this? If the user is drawing at a rate of one point in less than 1/60s then do not use gtk_widget_queue_draw. otherwise us

How to reactivate (focus?) the main window,

2016-09-04 Thread dmg
hi everybody, i help maintain xournal. We use gtk+2. One feature we support is making a screenshot. This is done by activating the root window. Things work as expected. But... the problem is, how do I activate the main window? The focus remains in the root one. I have tried using gtk_window_s

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

2016-09-04 Thread 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. > ​My mistake. I have used: ​gtk_widget_grab_focus(winMain); and it does not work. -- --dmg --- Daniel M. German http://turingma