Package: gtk

Function gtk-recent-action-new

Lambda List

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

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

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 has been deprecated since version 3.10 and should not be used in newly written code.
 

See also

2021-7-20