On Tue, 2008-03-25 at 22:24 -0400, Evan Charlton wrote:
> I'm curious how one would go about freezing (stopping UI updates) and
> thawing (applying and resuming UI updates) a GtkWidget, as well as any
> children of it.

You might have some success if you use the low level mechanism:
http://library.gnome.org/devel/gobject/stable/gobject-Signals.html#g-signal-handler-block
and/or
http://library.gnome.org/devel/gobject/stable/gobject-Signals.html#g-signal-handlers-block-matched
and/or
http://library.gnome.org/devel/gobject/stable/gobject-Signals.html#g-signal-stop-emission-by-name
etc. That's all at the individual signal level, but probably the
behaviour you're trying to block is in a signal handler somewhere.

A different tack would be to desensitize ("grey out") the Widget, ie
http://library.gnome.org/devel/gtk/2.12/GtkWidget.html#gtk-widget-set-sensitive
though that's probably not "stop UI updates" like you asked.

AfC
Sydney

-- 
Andrew Frederick Cowie
Managing Director
Operational Dynamics

Need sorting out or help scaling up? Call us.

http://www.operationaldynamics.com/

Sydney   New York   Toronto   London
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to