Switch.getActive
bool getActive()Gets whether the [gtk.switch_.Switch] is in its “on” or “off” state.
Returns
true if the [gtk.switch_.Switch] is active, and false otherwise
bool getActive()Gets whether the [gtk.switch_.Switch] is in its “on” or “off” state.