Method

GtkToggleActionset_active

Declaration [src]

void
gtk_toggle_action_set_active (
  GtkToggleAction* action,
  gboolean is_active
)

Description [src]

Sets the checked state on the toggle action.

Available since:2.4
Deprecated since:3.10

Please do not use it in newly written code.

Parameters

is_active

Type: gboolean

Whether the action should be checked or not.