|
Functions | |
| IUP_SDK_API char * | iupKeyCodeToName (int code) |
| IUP_SDK_API void | iupKeyForEach (void(*func)(const char *name, int code, void *user_data), void *user_data) |
| IUP_SDK_API int | iupKeyCallKeyCb (Ihandle *ih, int c) |
| IUP_SDK_API int | iupKeyCallKeyPressCb (Ihandle *ih, int code, int press) |
| IUP_SDK_API int | iupKeyProcessNavigation (Ihandle *ih, int code, int shift) |
| IUP_SDK_API int | iupKeyProcessMnemonic (Ihandle *ih, int code) |
| IUP_SDK_API void | iupKeySetMnemonic (Ihandle *ih, int code, int pos) |
| IUP_SDK_API char* iupKeyCodeToName | ( | int | code | ) |
Returns the key name from its code. Returns NULL if code not found.
| IUP_SDK_API void iupKeyForEach | ( | void(*)(const char *name, int code, void *user_data) | func, | |
| void * | user_data | |||
| ) |
Calls a function for each defined key.
Used only by the IupLua binding.
| IUP_SDK_API int iupKeyCallKeyCb | ( | Ihandle * | ih, | |
| int | c | |||
| ) |
Calls the K_ANY or K_* callbacks. Should be called when a keyboard event occurred.
| IUP_SDK_API int iupKeyCallKeyPressCb | ( | Ihandle * | ih, | |
| int | code, | |||
| int | press | |||
| ) |
Calls the KEYPRESS_CB callback. Should be called when a keyboard event occurred.
| IUP_SDK_API int iupKeyProcessNavigation | ( | Ihandle * | ih, | |
| int | code, | |||
| int | shift | |||
| ) |
Process Tab, DEFAULTENTER and DEFAULTESC in key press events.
| IUP_SDK_API int iupKeyProcessMnemonic | ( | Ihandle * | ih, | |
| int | code | |||
| ) |
Process mnemonics (Used only in Windows and Motif).
| IUP_SDK_API void iupKeySetMnemonic | ( | Ihandle * | ih, | |
| int | code, | |||
| int | pos | |||
| ) |
Set a mnemonic (Used only in Windows and Motif).
1.7.1