Switch.getActive

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

class Switch
bool
getActive
()

Return Value

Type: bool

true if the gtk.switch_.Switch is active, and false otherwise