gtkRecentActionNewForManager {RGtk2}R Documentation

gtkRecentActionNewForManager

Description

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

Usage

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

Arguments

name [character] a unique name for the action
label [character] the label displayed in menu items and on buttons
tooltip [character] a tooltip for the action
stock.id [character] the stock icon to display in widgets representing the action
manager [GtkRecentManager] a GtkRecentManager or NULL

Details

Since 2.12

Value

[GtkAction] the newly created GtkRecentAction

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]