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_add_action_with_accel(). Since 2.12

  1. this(GtkRecentAction* gtkRecentAction)
  2. this(string name, string label, string tooltip, StockID stockID)
    class RecentAction
    this
    (
    string name
    ,
    string label
    ,
    string tooltip
    ,)
  3. this(string name, string label, string tooltip, StockID stockID, RecentManager manager)

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 StockID

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

Throws

ConstructionException GTK+ fails to create the object.

Meta