RecentAction


Description:

[ CCode ( has_construct_function = false , type = "GtkAction*" ) ]
[ Version ( deprecated = true , deprecated_since = "3.10" , since = "2.12" ) ]
public RecentAction (string name, string? label, string? tooltip, string? stock_id)

Warning: RecentAction is deprecated since 3.10.

Creates a new RecentAction object.

To add the action to a ActionGroup and set the accelerator for the action, call add_action_with_accel.

Parameters:

name

a unique name for the action

label

the label displayed in menu items and on buttons, or null

tooltip

a tooltip for the action, or null

stock_id

the stock icon to display in widgets representing the action, or null

Returns:

the newly created RecentAction.