Gtk.Switch.get_state – gtk4 Reference Manual
Packages
gtk4
Gtk
Switch
active
state
Switch
get_active
get_state
set_active
set_state
activate
state_set
get_state
Description:
public
bool
get_state
()
Gets the underlying state of the `GtkSwitch`.
Parameters:
this
a `GtkSwitch`
Returns:
the underlying state