Adw.SwitchRow.get_active – libadwaita-1 Reference Manual
get_active
Description:
public
bool
get_active
()
Gets whether
this
is in its "on" or "off" position.
Parameters:
this
a switch row
Returns:
whether
this
is active or not