Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkAcceleratorParse

gtkAcceleratorParse


Description

Parses a string representing an accelerator. The format looks like "<Control>a" or "<Shift><Alt>F1" or "<Release>z" (the last one is for key release). The parser is fairly liberal and allows lower or upper case, and also abbreviations such as "<Ctl>" and "<Ctrl>".

Usage

gtkAcceleratorParse(accelerator)

Arguments

accelerator

string representing an accelerator

Details

If the parse fails, accelerator.key and accelerator.mods will be set to 0 (zero).

Value

A list containing the following elements:

accelerator.key

return location for accelerator keyval

accelerator.mods

return location for accelerator modifier mask

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.