create_menu_item


Description:

[ Version ( since = "2.4" ) ]
public virtual unowned Widget create_menu_item ()

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

Note:

Use MenuItem and associate it with a Action instead.

Parameters:

this

the action object

Returns:

a menu item connected to the action.