| Data Fields | |
| MInputMethod * | im | 
| MText * | produced | 
| void * | arg | 
| int | active | 
| struct { | |
| int x | |
| int y | |
| int ascent | |
| int descent | |
| int fontsize | |
| MText * mt | |
| int pos | |
| } | spot | 
| void * | info | 
| MText * | status | 
| int | status_changed | 
| MText * | preedit | 
| int | preedit_changed | 
| int | cursor_pos | 
| int | cursor_pos_changed | 
| MPlist * | candidate_list | 
| int | candidate_index | 
| int | candidate_from | 
| int | candidate_to | 
| int | candidate_show | 
| int | candidates_changed | 
| MPlist * | plist | 
MInputContext is the structure of input context objects. 
| 
 | 
| Backward pointer to the input method. It is set up be the function minput_create_ic(). | 
| 
 | 
| M-text produced by the input method. It is set up by the function minput_lookup() . | 
| 
 | 
| Argument given to the function minput_create_im(). | 
| 
 | 
| Flag telling whether the input context is currently active or inactive. The value is set to 1 (active) when the input context is created. It can be toggled by the function minput_toggle (). | 
| 
 | 
| X and Y coordinate of the spot. | 
| 
 | 
| X and Y coordinate of the spot. | 
| 
 | 
| Ascent and descent pixels of the line of the spot. | 
| 
 | 
| Ascent and descent pixels of the line of the spot. | 
| 
 | 
| Font size for preedit text in 1/10 point. | 
| 
 | 
| M-text at the spot, or NULL. | 
| 
 | 
| Character position in <mt> at the spot. | 
| 
 | 
| Spot location and size of the input context. | 
| 
 | 
| The usage of the following members depends on the input method driver. The descriptions below are for the driver of an internal input method. They are set by the function <im>->driver.filter(). Pointer to extra information that <im>->driver.create_ic() setups. It is used to record the internal state of the input context. | 
| 
 | 
| M-text describing the current status of the input context. | 
| 
 | 
| The function <im>->driver.filter() sets the value to 1 when it changes <status>. | 
| 
 | 
| M-text containing the current preedit text. The function <im>->driver.filter() sets the value. | 
| 
 | 
| The function <im>->driver.filter() sets the value to 1 when it changes <preedit>. | 
| 
 | 
| Cursor position of <preedit>. | 
| 
 | 
| 
 | 
| 
 | 
| Array of the current candidate texts. | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| The function <im>->driver.filter() sets the value to 1 when it changes one of the above members. | 
| 
 | 
| 
 | 
 mule-aist@m17n.org
mule-aist@m17n.org