MenuItem.setDetailedAction

void setDetailedAction(string detailedAction)

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

The format of detailed_action is the same format parsed by [gio.action.Action.parseDetailedName].

See [gio.menu_item.MenuItem.setActionAndTarget] or [gio.menu_item.MenuItem.setActionAndTargetValue] for more flexible (but slightly less convenient) alternatives.

See also [gio.menu_item.MenuItem.setActionAndTargetValue] for a description of the semantics of the action and target attributes.

Parameters

detailedActionthe "detailed" action string