gtkActionGroupAddActionWithAccel

Share:

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

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