Method

GtkActivatableset_related_action

deprecated: 3.10 since: 2.16

Declaration [src]

void
gtk_activatable_set_related_action (
  GtkActivatable* activatable,
  GtkAction* action
)

Description [src]

Sets the related action on the activatable object.

GtkActivatable implementors need to handle the GtkActivatable:related-action property and call gtk_activatable_do_set_related_action() when it changes.

Available since: 2.16

Deprecated since: 3.10

Please do not use it in newly written code.

Parameters

action

Type: GtkAction

The GtkAction to set.

The data is owned by the caller of the method.