How to use Gobject.Property.notify?
Claudio Sacerdoti Coen <[email protected]> Tue, 10 Nov 2009 13:35:03 +0100
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Organization | Department of Computer Science -- University of Bologna |
| Message-ID | <1257856503.792.9.camel@zenone> |
Hi, porting some code from lablgtksourceview1 to the new version, I noticed that the can_undo/can_redo signals have disappeared (at the C level too) and developers are now supposed to use "notify" to be notified about property changes. Notify is bound at the low level as Gobject.notify (and not re-exported in GObj). I can call, it, but then how can I associate a callback to the notify signal, which is not bound anywhere? Cheers, C.S.C. -- ---------------------------------------------------------------- Real name: Claudio Sacerdoti Coen Doctor in Computer Science, University of Bologna E-mail: [email protected] http://www.cs.unibo.it/~sacerdot ----------------------------------------------------------------