Gtk.ToggleButton::toggled

function callback(toggle_button, ):void;

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

toggle_button

instance of Gtk.ToggleButton that is emitting the signal