Switch.getActive

Gets whether the gtk.Switch is in its “on” or “off” state.

class Switch
bool
getActive
()

Return Value

Type: bool

TRUE if the gtk.Switch is active, and FALSE otherwise

Meta