Fcitx
|
Public Member Functions | |
InputMethodEntry (const std::string &uniqueName, const std::string &name, const std::string &languageCode, const std::string &addon) | |
InputMethodEntry (const InputMethodEntry &)=delete | |
InputMethodEntry & | setNativeName (const std::string &nativeName) |
InputMethodEntry & | setIcon (const std::string &icon) |
InputMethodEntry & | setLabel (const std::string &label) |
InputMethodEntry & | setConfigurable (bool configurable) |
void | setUserData (std::unique_ptr< InputMethodEntryUserData > userData) |
const InputMethodEntryUserData * | userData () const |
const std::string & | name () const |
const std::string & | nativeName () const |
const std::string & | icon () const |
const std::string & | uniqueName () const |
const std::string & | languageCode () const |
const std::string & | addon () const |
const std::string & | label () const |
A compact label that intented to be shown in a compact space. More... | |
bool | isConfigurable () const |
bool | isKeyboard () const |
Helper function to check if this is a keyboard input method. More... | |
Definition at line 23 of file inputmethodentry.h.
bool fcitx::InputMethodEntry::isKeyboard | ( | ) | const |
Helper function to check if this is a keyboard input method.
Definition at line 110 of file inputmethodentry.cpp.
const std::string & fcitx::InputMethodEntry::label | ( | ) | const |
A compact label that intented to be shown in a compact space.
usually some latin-character, or a single character of the input method language.
UI may choose to strip it to a shorter version if the content is too long. For example, classicui will take the first section of text to make it fit with in 3 character width. custom -> cus fr-tg -> fr mon-a1 -> mon us (intl) -> us
Definition at line 102 of file inputmethodentry.cpp.