RecentAction.this
this
(string name, string label = null, string tooltip = null, string stockId = null)Creates a new #GtkRecentAction object. To add the action to a #GtkActionGroup and set the accelerator for the action, call [gtk.action_group.ActionGroup.addActionWithAccel].
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 |
stockId | the stock icon to display in widgets representing the action, or null |
Returns
the newly created #GtkRecentAction.