ToggleAction.addOnToggled

Should be connected if you wish to perform an action whenever the gtk.ToggleAction state is changed.

class ToggleAction
gulong
addOnToggled
(
void delegate dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)