Re: Delaying redraws?

2013-10-06 Thread David Nečas
On Sat, Oct 05, 2013 at 08:18:58PM -0400, Rena wrote:
 I have a window with a large number of GtkEntry and GtkCheckButton
 displaying stats,

‘Displaying stats’ sounds a bit suspicious because entry and check
button are input widgets.

 Is it possible to speed
 this up, maybe by asking GTK not to redraw the widgets until I'm done
 updating them all?

Anyway, this is what happens normally.  When you change the widget
state/content a redraw is queued.  The redraws are then processed when
the Gtk+ main loops gets to run.

Regards,

Yeti

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Delaying redraws?

2013-10-06 Thread Rena
On Sun, Oct 6, 2013 at 3:02 AM, David Nečas y...@physics.muni.cz wrote:

 On Sat, Oct 05, 2013 at 08:18:58PM -0400, Rena wrote:
  I have a window with a large number of GtkEntry and GtkCheckButton
  displaying stats,

 ‘Displaying stats’ sounds a bit suspicious because entry and check
 button are input widgets.

  Is it possible to speed
  this up, maybe by asking GTK not to redraw the widgets until I'm done
  updating them all?

 Anyway, this is what happens normally.  When you change the widget
 state/content a redraw is queued.  The redraws are then processed when
 the Gtk+ main loops gets to run.

 Regards,

 Yeti


Well the idea was eventually you'd be able to edit them too (and checkboxes
seem ideal for displaying binary values). Anyway I found the issue wasn't
that GTK was taking a long time to redraw, but that lgi was taking a long
time to retrieve the widgets.

-- 
Sent from my Game Boy.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list