Method

GtkActioncreate_tool_item

deprecated: 3.10 since: 2.4

Declaration [src]

GtkWidget*
gtk_action_create_tool_item (
  GtkAction* action
)

Description [src]

Creates a toolbar item widget that proxies for the given action.

Available since: 2.4

Deprecated since: 3.10

Use a GtkToolItem and associate it with a GAction using gtk_actionable_set_action_name() instead.

Return value

Type: GtkWidget

A toolbar item connected to the action.

The returned data is owned by the instance.