Method

GtkSwitchset_active

Declaration [src]

void
gtk_switch_set_active (
  GtkSwitch* self,
  gboolean is_active
)

Description [src]

Changes the state of self to the desired one.

Sets propertyGtk.Switch:active

Parameters

is_active

Type: gboolean

TRUE if self should be active, and FALSE otherwise.