Fcitx
|
Input Panel is usually a floating window that is display at the cursor of input. More...
#include <fcitx/inputpanel.h>
Public Member Functions | |
InputPanel (InputContext *ic) | |
Construct a Input Panel associated with given input context. | |
const Text & | preedit () const |
void | setPreedit (const Text &text) |
const Text & | auxUp () const |
void | setAuxUp (const Text &text) |
const Text & | auxDown () const |
void | setAuxDown (const Text &text) |
const Text & | clientPreedit () const |
The preedit text embedded in client window. | |
void | setClientPreedit (const Text &clientPreedit) |
std::shared_ptr< CandidateList > | candidateList () const |
void | setCandidateList (std::unique_ptr< CandidateList > candidate) |
const CustomInputPanelCallback & | customInputPanelCallback () const |
Return the current input panel display callback. More... | |
void | setCustomInputPanelCallback (CustomInputPanelCallback callback) |
Set a custom callback to display the input panel. More... | |
const CustomInputPanelCallback & | customVirtualKeyboardCallback () const |
void | setCustomVirtualKeyboardCallback (CustomInputPanelCallback callback) |
void | reset () |
bool | empty () const |
Whether input panel is totally empty. | |
Input Panel is usually a floating window that is display at the cursor of input.
But it can also be a embedded fixed window. The actual representation is implementation-defined. In certain cases, all the information input panel is forwarded to client and will be drawn by client.
A common input panel is shown as
Aux Up | Preedit |
---|---|
Aux down | Candidate 1, 2.. |
Or
Aux Up | Preedit |
---|---|
Aux down | |
Candidate 1 | |
Candidate 2 | |
... | |
Candidate n |
Definition at line 48 of file inputpanel.h.