RecentAction.this

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.

  1. this(void* ptr, Flag!"Take" take)
  2. this(string name, string label, string tooltip, string stockId)
    class RecentAction
    this
    (
    string name
    ,
    string label = null
    ,
    string tooltip = null
    ,
    string stockId = null
    )

Parameters

name string

a unique name for the action

label string

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

tooltip string

a tooltip for the action, or null

stockId string

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

Return Value

the newly created #GtkRecentAction.