Switch.getActive

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

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

class Switch
bool
getActive
()

Meta