Method

GtkActionset_sensitive

Declaration [src]

void
gtk_action_set_sensitive (
  GtkAction* action,
  gboolean sensitive
)

Description [src]

Sets the :sensitive property of the action to sensitive. Note that this doesn’t necessarily mean effective sensitivity. See gtk_action_is_sensitive() for that.

Available since:2.6
Deprecated since:3.10

Use g_simple_action_set_enabled() on a GSimpleAction instead.

Sets propertyGtk.Action:sensitive

Parameters

sensitive

Type: gboolean

TRUE to make the action sensitive.