RecentAction.for_manager


Description:

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

Warning: RecentAction.for_manager 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

manager

a RecentManager, or null for using the default RecentManager

Returns:

the newly created RecentAction




2022 vala-language.org