Method

GtkActioncreate_tool_item

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 data is owned by the instance.