Package: gio

Function g-menu-item-set-detailed-action

Lambda List

g-menu-item-set-detailed-action (item action)

Arguments

item -- a g-menu-item object
action -- a detailed action string

Details

Sets the "action" and possibly the "target" attribute of the menu item.

The format of action is the same format parsed by the function g-action-parse-detailed-name.

See the functions 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 the function g-menu-item-set-action-and-target-value for a description of the semantics of the action and target attributes.
 

See also

2021-8-16