| Top |
| NimfKey * | nimf_key_new () |
| NimfKey * | nimf_key_new_from_nicks () |
| void | nimf_key_free () |
| NimfKey ** | nimf_key_newv () |
| void | nimf_key_freev () |
| NimfPreeditAttr * | nimf_preedit_attr_new () |
| NimfPreeditAttr ** | nimf_preedit_attrs_copy () |
| void | nimf_preedit_attr_free () |
| void | nimf_preedit_attr_freev () |
| NimfMethodInfo * | nimf_method_info_new () |
| void | nimf_method_info_free () |
| void | nimf_method_info_freev () |
NimfKey *
nimf_key_new (void);
Creates a new NimfKey. All fields are set to 0.
Return: a new NimfKey, which should be freed with nimf_key_free().
NimfKey *
nimf_key_new_from_nicks (const gchar **nicks);
Return: a new NimfKey, which should be freed with nimf_key_free().
NimfPreeditAttr * nimf_preedit_attr_new (NimfPreeditAttrType type,guint start_index,guint end_index);
void
nimf_preedit_attr_freev (NimfPreeditAttr **attrs);
Frees an array of attrs
A set of bit-flags to indicate the state of modifier keys and mouse buttons in various event types. Typical modifier keys are Shift, Control, Meta, Super, Hyper, Alt, Compose, Apple, CapsLock or ShiftLock.
|
the Shift key. |
||
|
a Lock key (depending on the modifier mapping of the X server this may either be CapsLock or ShiftLock). |
||
|
the Control key. |
||
|
the fourth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier, but normally it is the Alt key). |
||
|
the fifth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier). |
||
|
the sixth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier). |
||
|
the seventh modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier). |
||
|
the eighth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier). |
||
|
the first mouse button. |
||
|
the second mouse button. |
||
|
the third mouse button. |
||
|
the fourth mouse button. |
||
|
the fifth mouse button. |
||
|
A reserved bit flag; do not use in your own code |
||
|
A reserved bit flag; do not use in your own code |
||
|
A reserved bit flag; do not use in your own code |
||
|
A reserved bit flag; do not use in your own code |
||
|
A reserved bit flag; do not use in your own code |
||
|
A reserved bit flag; do not use in your own code |
||
|
A reserved bit flag; do not use in your own code |
||
|
A reserved bit flag; do not use in your own code |
||
|
A reserved bit flag; do not use in your own code |
||
|
A reserved bit flag; do not use in your own code |
||
|
A reserved bit flag; do not use in your own code |
||
|
A reserved bit flag; do not use in your own code |
||
|
A reserved bit flag; do not use in your own code |
||
|
the Super modifier. |
||
|
the Hyper modifier. |
||
|
the Meta modifier. |
||
|
A reserved bit flag; do not use in your own code |
||
|
exists because of compatibility. |
||
|
a mask covering all modifier types. |
typedef struct {
int x, y;
int width, height;
} NimfRectangle;
Defines the position and size of a rectangle.
typedef struct {
NimfPreeditAttrType type;
guint start_index; /* in characters */
guint end_index; /* in characters. The character at this index is not included */
} NimfPreeditAttr;
NimfPreeditAttrType |
||
the start index of the range (in characters). |
||
end index of the range (in characters). The character at this index is not included in the range. |