Gio.MenuItem.prototype.set_detailed_action
function set_detailed_action(detailed_action: String): void { // Gjs wrapper for g_menu_item_set_detailed_action() }
Sets the "action" and possibly the "target" attribute of menu_item.
The format of detailed_action is the same format parsed by Gio.action_parse_detailed_name.
See Gio.MenuItem.set_action_and_target or Gio.MenuItem.prototype.set_action_and_target_value for more flexible (but slightly less convenient) alternatives.
See also Gio.MenuItem.prototype.set_action_and_target_value for a description of the semantics of the action and target attributes.
Since 2.32
- detailed_action
the "detailed" action string