[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Freeze/Thaw a GtkWidget
- From: Andrew Cowie <andrew operationaldynamics com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Freeze/Thaw a GtkWidget
- Date: Fri, 28 Mar 2008 17:50:22 +1100
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]