Application.setAccelsForAction

Sets zero or more keyboard accelerators that will trigger the given action. The first item in accels will be the primary accelerator, which may be displayed in the UI.

To remove all accelerators for an action, use an empty array for accels.

class Application
void
setAccelsForAction
(,
string[] accels
)

Parameters

detailedActionName string

a detailed action name, specifying an action and target to associate accelerators with

accels string[]

a list of accelerators in the format understood by gtk_accelerator_parse()

Meta

Since

3.12