[Gtk-sharp-list] GLib property change notification?
Zach Bean
zb at forty2.com
Sat Jul 24 12:33:54 EDT 2010
On Saturday, 07/24/2010, 09:55 -0500 Mike Kestner wrote:
> On Sat, 2010-07-24 at 00:07 -0700, Zach Bean wrote:
> > Hi all,
> >
> > Pardon my ignorance, but is there any way in Gtk# to get notified when an
> > one of an object's GLib properties gets changed? In other languages, I'd
> > connect to GObject's notify::<property> signal, but there doesn't seem to be
> > a corresponding event exposed in Gtk#.
>
> GLib.Object.AddNotification is an overloaded method to support the
> notify signal. We couldn't just do it as an event since it is
> overloaded with the "notify::foo" semantics.
This is exactly what I was looking for, thanks!
Zach
More information about the Gtk-sharp-list
mailing list