![]() |
![]() |
Gwyddion Library Reference Manual | ![]() |
|
---|---|---|---|---|
GwyWatchable is an abstract interface for a value-like objects whose changes
can be watched, i.e., they cause emission of a
"value_changed" signal. You
can use
gwy_watchable_value_changed()
to programatically emit the signal.
Note this interface may be formally required on objects in some situations (namely to store them to GwyContainer), although in current stage it does not have to be meaningfully implemented. In Gwyddion 2.0 this interface may either become actually used, or be removed.
typedef struct { GTypeInterface parent_class; void (*value_changed)(GObject *watchable); } GwyWatchableIface;
void gwy_watchable_value_changed (GObject *watchable);
Emits a "value_changed" signal on a watchable object.
watchable : |
A GObject implementing GwyWatchable interface. |