ObjectG.addOnNotify

The notify signal is emitted on an object when one of its properties has been changed. Note that getting this signal doesn't guarantee that the value of the property has actually changed, it may also be emitted when the setter for the property is called to reinstate the previous value.

This signal is typically used to obtain change notification for a single property.

It is important to note that you must use canonical parameter names for the property.

class ObjectG
void
addOnNotify
(
void delegate dlg
,
string property = ""
,)

Parameters

dlg void delegate

The callback.

property string

Set this if you only want to receive the signal for a specific property.

connectFlags ConnectFlags

The behavior of the signal's connection.

Meta