MenuItem.setDetailedAction

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

The format of @detailed_action is the same format parsed by g_action_parse_detailed_name().

See g_menu_item_set_action_and_target() or g_menu_item_set_action_and_target_value() for more flexible (but slightly less convenient) alternatives.

See also g_menu_item_set_action_and_target_value() 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