gtkRecentActionNewForManager

Share:

Description

Creates a new GtkRecentAction object. To add the action to a GtkActionGroup and set the accelerator for the action, call gtkActionGroupAddActionWithAccel.

Usage

1
2
gtkRecentActionNewForManager(name, label, tooltip, stock.id, 
    manager)

Arguments

name

a unique name for the action

label

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

tooltip

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

stock.id

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

manager

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

Details

Since 2.12

Value

[GtkAction] the newly created GtkRecentAction

Author(s)

Derived by RGtkGen from GTK+ documentation

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.