Function
Gtkaccelerator_parse
Declaration [src]
gboolean
gtk_accelerator_parse (
  const char* accelerator,
  guint* accelerator_key,
  GdkModifierType* accelerator_mods
)
Description [src]
Parses a string representing an accelerator.
The format looks like “
The parser is fairly liberal and allows lower or upper case, and also
abbreviations such as “
If the parse fails, accelerator_key and accelerator_mods will
be set to 0 (zero).
Parameters
| accelerator | const char* | 
| String representing an accelerator. | |
| The data is owned by the caller of the function. | |
| The string is a NUL terminated UTF-8 string. | |
| accelerator_key | guint* | 
| Return location for accelerator keyval. | |
| The argument will be set by the function. | |
| The argument can be NULL. | |
| The called function takes ownership of the data, and is responsible for freeing it. | |
| accelerator_mods | GdkModifierType* | 
| Return location for accelerator modifier mask. | |
| The argument will be set by the function. | |
| The argument can be NULL. | |
| The called function takes ownership of the data, and is responsible for freeing it. |