Re: Delaying redraws?



On Sun, Oct 6, 2013 at 3:02 AM, David Nečas <yeti 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.


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