ToggleButton# class ignis.widgets.Widget.ToggleButton(**kwargs) → None# Bases: Gtk.ToggleButton A toggle button widget. Widget.ToggleButton( on_toggled=lambda x, active: print(active) ) property on_toggled: Callable | None# optional, read-write The function to call when the button is toggled by the user.