Method

GtkActioncreate_menu_item

deprecated: 3.10 since: 2.4

Declaration [src]

GtkWidget*
gtk_action_create_menu_item (
  GtkAction* action
)

Description [src]

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

Available since: 2.4

Deprecated since: 3.10

Use g_menu_item_new() and associate it with a GAction instead.

Return value

Type: GtkWidget

A menu item connected to the action.

The returned data is owned by the instance.