create_menu_item


Description:

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.