Gtk.Switch.active – gtk4 Reference Manual
active
Description:
public
bool
active
{
get
;
set
; }
Whether the `GtkSwitch` widget is in its on or off state.
2022 vala-language.org