Gtk.ToggleAction::toggled

function callback(toggle_action, ):void;

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

toggle_action

instance of Gtk.ToggleAction that is emitting the signal