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
gulong
addOnNotify
(
void delegate() dlg
,
string property = ""
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)

Parameters

dlg
Type: void delegate()

The callback.

property
Type: string

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

connectFlags

The behavior of the signal's connection.

Meta