Utility functions that set up and shut down the Ecore Input Method library. More...
Modules | |
Ecore Input Method Context Functions | |
Ecore Input Method Context Module Functions | |
Functions that should be used by Ecore Input Method Context modules. | |
Ecore Input Method Context Evas Helper Functions | |
Helper functions to make it easy to use Evas with Ecore_IMF. | |
Functions | |
EAPI int | ecore_imf_init (void) |
Initialises the Ecore_IMF library. More... | |
EAPI int | ecore_imf_shutdown (void) |
Shuts down the Ecore_IMF library. More... | |
EAPI void | ecore_imf_module_register (const Ecore_IMF_Context_Info *info, Ecore_IMF_Context *(*imf_module_create)(void), Ecore_IMF_Context *(*imf_module_exit)(void)) |
Registers an Ecore_IMF module. More... | |
EAPI Eina_Bool | ecore_imf_input_panel_hide (void) |
Hides the input panel. More... | |
Utility functions that set up and shut down the Ecore Input Method library.
EAPI int ecore_imf_init | ( | void | ) |
Initialises the Ecore_IMF library.
References ecore_init(), ecore_shutdown(), eina_log_domain_register(), and EINA_LOG_ERR.
Referenced by elm_quicklaunch_fork(), and elm_quicklaunch_sub_init().
EAPI int ecore_imf_shutdown | ( | void | ) |
Shuts down the Ecore_IMF library.
References ecore_event_type_flush.
Referenced by elm_quicklaunch_sub_init(), and elm_quicklaunch_sub_shutdown().
EAPI void ecore_imf_module_register | ( | const Ecore_IMF_Context_Info * | info, |
Ecore_IMF_Context *(*)(void) | imf_module_create, | ||
Ecore_IMF_Context *(*)(void) | imf_module_exit | ||
) |
Registers an Ecore_IMF module.
info | An Ecore_IMF_Context_Info structure |
imf_module_create | A function to call at the creation |
imf_module_exit | A function to call when exiting |
References EINA_FREE_CB, eina_hash_add(), eina_hash_string_superfast_new(), and EINA_SAFETY_ON_NULL_RETURN.
Hides the input panel.
References ecore_imf_context_input_panel_hide(), ecore_imf_context_input_panel_state_get(), ECORE_IMF_INPUT_PANEL_STATE_HIDE, EINA_FALSE, and EINA_TRUE.