ToggleButton.addOnToggled

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

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