Defines | Functions

iup_key.h File Reference

Manage keys encoding and decoding. More...

Defines

#define IUPKEY_STATUS_SIZE   11
#define IUPKEY_STATUS_INIT   " "
#define iupKEY_SETSHIFT(_s)   (_s[0]='S')
#define iupKEY_SETCONTROL(_s)   (_s[1]='C')
#define iupKEY_SETBUTTON1(_s)   (_s[2]='1')
#define iupKEY_SETBUTTON2(_s)   (_s[3]='2')
#define iupKEY_SETBUTTON3(_s)   (_s[4]='3')
#define iupKEY_SETDOUBLE(_s)   (_s[5]='D')
#define iupKEY_SETALT(_s)   (_s[6]='A')
#define iupKEY_SETSYS(_s)   (_s[7]='Y')
#define iupKEY_SETBUTTON4(_s)   (_s[8]='4')
#define iupKEY_SETBUTTON5(_s)   (_s[9]='5')

Functions

char * iupKeyCodeToName (int code)
void iupKeyForEach (void(*func)(const char *name, int code, void *user_data), void *user_data)
int iupKeyCallKeyCb (Ihandle *ih, int c)
int iupKeyCallKeyPressCb (Ihandle *ih, int code, int press)
int iupKeyProcessNavigation (Ihandle *ih, int code, int shift)
int iupKeyProcessMnemonic (Ihandle *ih, int code)
void iupKeySetMnemonic (Ihandle *ih, int code, int pos)
void iupKeyInit (void)

Detailed Description

See Copyright Notice in "iup.h"