MenuItem.setDetailedAction

Sets the "action" and possibly the "target" attribute of menu_item.

The format of detailed_action is the same format parsed by Action.parseDetailedName.

See Menu.itemSetActionAndTarget or Menu.itemSetActionAndTargetValue for more flexible (but slightly less convenient) alternatives.

See also Menu.itemSetActionAndTargetValue for a description of the semantics of the action and target attributes.

class MenuItem
void
setDetailedAction

Parameters

detailedAction string

the "detailed" action string

Meta

Since

2.32