RecentAction.this

Warning gtk_recent_action_new_for_manager is deprecated and should not be used in newly-written code. 3.10 Creates a new GtkRecentAction object. To add the action to a GtkActionGroup and set the accelerator for the action, call gtk_action_group_add_action_with_accel(). Since 2.12

Parameters

name string

a unique name for the action

label string

the label displayed in menu items and on buttons, or NULL. [allow-none]

tooltip string

a tooltip for the action, or NULL. [allow-none]

stockId string

the stock icon to display in widgets representing the action, or NULL. [allow-none]

manager RecentManager

a GtkRecentManager, or NULL for using the default GtkRecentManager. [allow-none]

Throws

ConstructionException GTK+ fails to create the object.

Meta