Gtk.Switch.get_state – gtk+-3.0 Reference Manual
Packages
gtk+-3.0
Gtk
Switch
active
state
Switch
get_active
get_state
set_active
set_state
activate
state_set
get_state
Description:
[
Version
( since =
"3.14"
) ]
public
bool
get_state
()
Gets the underlying state of the `GtkSwitch`.
Parameters:
this
a `GtkSwitch`
Returns:
the underlying state