Switch.getActive

Gets whether the GtkSwitch is in its "on" or "off" state.

class Switch
int
getActive
()

Return Value

Type: int

TRUE if the GtkSwitch is active, and FALSE otherwise Since 3.0

Meta