gtkActionGroupAddActionWithAccel {RGtk2} | R Documentation

## 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 `<Actions>/ \var{group-name} / \var{action-name}`. Since 2.4

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]