![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include "FXObject.h"Go to the source code of this file.
Namespaces | |
| namespace | FX |
Functions | |
| FXHotKey | parseAccel (const FXString &string) |
| FXString | unparseAccel (FXHotKey key) |
| FXHotKey | parseHotKey (const FXString &string) |
| FXint | findHotKey (const FXString &string) |
| FXString | stripHotKey (const FXString &string) |
|
|
For example, parseAccel("Ctl+Shift+X") yields MKUINT(KEY_X,CONTROLMASK|SHIFTMASK). |
|
|
|
|
|
For example, parseHotKey(""Salt && &Pepper!"") yields MKUINT(KEY_p,ALTMASK). |
|
|
For example, findHotKey("Salt && &Pepper!") yields 7. Note that this is the byte-offset, not the character index! |
|
|
For example, stripHotKey("Salt && &Pepper") should yield "Salt & Pepper". |
|
|