Action.createMenuItem

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

class Action
createMenuItem
()

Return Value

Type: MenuItem

a menu item connected to the action.

Meta