[Gtk-sharp-list] GLib property change notification?

Mike Kestner mkestner at gmail.com
Sat Jul 24 10:55:37 EDT 2010


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.



More information about the Gtk-sharp-list mailing list