Package: gtk

Function gtk-recent-action-new-for-manager

Lambda List

gtk-recent-action-new-for-manager (name label tooltip stock-id manager)

Arguments

name -- a string with a unique name for the action
label -- a string with the label displayed in menu items and on buttons, or nil
tooltip -- a string with a tooltip for the action, or nil
stock-id -- a string with the stock icon to display in widgets representing the action, or nil
manager -- a gtk-recent-manager object, or nil for using the default recent manager

Return Value

The newly created gtk-recent-action object.

Details

Creates a new recent action. To add the action to a gtk-action-group object and set the accelerator for the action, call the function gtk-action-group-add-action.

Warning

The function gtk-recent-action-new-manager has been deprecated since version 3.10 and should not be used in newly written code.
 

See also

2021-7-20