Learn R Programming

RGtk2 (version 2.20.31)

gtkActionGroupAddActionWithAccel: gtkActionGroupAddActionWithAccel

Description

Adds an action object to the action group and sets up the accelerator.

Usage

gtkActionGroupAddActionWithAccel(object, action, accelerator = NULL)

Arguments

object
the action group
action
the action to add
accelerator
the accelerator for the action, in the format understood by gtkAcceleratorParse, or "" for no accelerator, or NULL to use the stock accelerator. [ allow-none ]

Details

If accelerator is NULL, attempts to use the accelerator associated with the stock_id of the action. Accel paths are set to / \var{group-name} / \var{action-name}. Since 2.4