gtkActionGroupAddActionWithAccel: gtkActionGroupAddActionWithAccel

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R

Description

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

Usage

1
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


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.