get_active


Description:

public bool get_active ()

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

Parameters:

this

a `GtkSwitch`

Returns:

true if the `GtkSwitch` is active, and false otherwise




2022 vala-language.org