scim
1.4.18
|
#include <scim_compose_key.h>
Additional Inherited Members | |
![]() | |
void | show_preedit_string () |
Show the preedit string area. More... | |
void | show_aux_string () |
Show the aux string area. More... | |
void | show_lookup_table () |
Show the lookup table area. More... | |
void | hide_preedit_string () |
Hide the preedit string area. More... | |
void | hide_aux_string () |
Hide the aux string area. More... | |
void | hide_lookup_table () |
Hide the lookup table area. More... | |
void | update_preedit_caret (int caret) |
Update the preedit caret position in the preedit string. More... | |
void | update_preedit_string (const WideString &str, const AttributeList &attrs=AttributeList()) |
Update the content of the preedit string,. More... | |
void | update_aux_string (const WideString &str, const AttributeList &attrs=AttributeList()) |
Update the content of the aux string,. More... | |
void | update_lookup_table (const LookupTable &table) |
Update the content of the lookup table,. More... | |
void | commit_string (const WideString &str) |
Commit a string to the client application. More... | |
void | forward_key_event (const KeyEvent &key) |
Forward a key event to the client application. More... | |
void | register_properties (const PropertyList &properties) |
Register all properties of this IMEngineInstance into the FrontEnd. More... | |
void | update_property (const Property &property) |
Update a registered property. More... | |
void | beep () |
Generate a short beep. More... | |
void | start_helper (const String &helper_uuid) |
Start a Client Helper process. More... | |
void | stop_helper (const String &helper_uuid) |
Stop a Client Helper process which was started by start_helper. More... | |
void | send_helper_event (const String &helper_uuid, const Transaction &trans) |
Send an events transaction to a client helper process. More... | |
bool | get_surrounding_text (WideString &text, int &cursor, int maxlen_before=-1, int maxlen_after=-1) |
Retrieves context around the insertion point. More... | |
bool | delete_surrounding_text (int offset, int len) |
Ask the client to delete characters around the cursor position. More... | |
![]() | |
ReferencedObject () | |
Constructor. More... | |
virtual | ~ReferencedObject ()=0 |
Destructor. More... | |
void | set_referenced (bool reference) |
scim::ComposeKeyInstance::ComposeKeyInstance | ( | ComposeKeyFactory * | factory, |
const String & | encoding, | ||
int | id = -1 |
||
) |
|
virtual |
|
virtual |
Process a key event.
key | - the key event to be processed. |
Implements scim::IMEngineInstanceBase.
|
virtual |
Move the preedit caret in the preedit string.
pos | - the new position that user requested. |
Reimplemented from scim::IMEngineInstanceBase.
|
virtual |
Select a candidate in current lookup table.
When user click a candidate directly, this method will be invoked by FrontEnd.
index | - the index in current page of the selected candidate. |
Reimplemented from scim::IMEngineInstanceBase.
|
virtual |
Update the page size of current lookup table.
In the next time, the lookup table should page down by this size.
page_size | - the new size of current page. |
Reimplemented from scim::IMEngineInstanceBase.
|
virtual |
Flip the lookup table to the previous page.
The method will be invoked by FrontEnd when user click the lookup table page up button.
Reimplemented from scim::IMEngineInstanceBase.
|
virtual |
Flip the lookup table to the next page.
The method will be invoked by FrontEnd when user click the lookup table page down button.
Reimplemented from scim::IMEngineInstanceBase.
|
virtual |
Reset this engine instance.
All status of this engine instance should be reset, including the working encoding.
The client encoding may have been changed before calling this method, so if the IMEngine makes use of the client's encoding information, it should check whether the encoding has been changed. IMEngineInstance could call the get_encoding () method of base class to get the client encoding.
Reimplemented from scim::IMEngineInstanceBase.
|
virtual |
Focus in this engine instance.
This function should update/show/hide the status area, preedit area and lookup table, and update the full width punctuation/letter state.
Reimplemented from scim::IMEngineInstanceBase.
|
virtual |
Focus out this engine instance.
Reimplemented from scim::IMEngineInstanceBase.
|
virtual |
Trigger a property.
This function should do some action according to the triggered property. For example toggle the input mode, etc.
property | the key of the triggered property. |
Reimplemented from scim::IMEngineInstanceBase.