Fcitx
|
Event for commit string with cursor. More...
#include <fcitx/event.h>
Public Member Functions | |
CommitStringWithCursorEvent (std::string text, size_t cursor, InputContext *context) | |
const std::string & | text () const |
size_t | cursor () const |
![]() | |
InputContextEvent (InputContext *context, EventType type) | |
InputContext * | inputContext () const |
![]() | |
Event (EventType type) | |
EventType | type () const |
Type of event, can be used to decide event class. More... | |
void | accept () |
bool | accepted () const |
Return value used by Instance::postEvent. More... | |
virtual bool | filtered () const |
Whether a event is filtered by handler. More... | |
bool | isInputContextEvent () const |
A helper function to check if a event is input context event. More... | |
Protected Attributes | |
std::string | text_ |
size_t | cursor_ |
![]() | |
InputContext * | ic_ |
![]() | |
EventType | type_ |
bool | accepted_ = false |
Event for commit string with cursor.