Action.createMenuItem

gtk.widget.Widget createMenuItem()

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

Returns

a menu item connected to the action.

Deprecated

Use [gio.menu_item.MenuItem.new_] and associate it with a #GAction

instead.