ToggleActionEntry.callback

GCallback callback() @property nothrow

Get callback field.

Returns

The function to call when the action is activated.
void callback(GCallback propval) @property nothrow

Set callback field.

Parameters

propvalThe function to call when the action is activated.