Switch.getActive

Gets whether the #GtkSwitch is in its “on” or “off” state.

class Switch
bool
getActive
()

Return Value

Type: bool

%TRUE if the #GtkSwitch is active, and %FALSE otherwise

Meta