Fcitx
Public Member Functions | Protected Attributes | List of all members
fcitx::CommitStringWithCursorEvent Class Reference

Event for commit string with cursor. More...

#include <fcitx/event.h>

Inheritance diagram for fcitx::CommitStringWithCursorEvent:
Inheritance graph
[legend]
Collaboration diagram for fcitx::CommitStringWithCursorEvent:
Collaboration graph
[legend]

Public Member Functions

 CommitStringWithCursorEvent (std::string text, size_t cursor, InputContext *context)
 
const std::string & text () const
 
size_t cursor () const
 
- Public Member Functions inherited from fcitx::InputContextEvent
 InputContextEvent (InputContext *context, EventType type)
 
InputContextinputContext () const
 
- Public Member Functions inherited from fcitx::Event
 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_
 
- Protected Attributes inherited from fcitx::InputContextEvent
InputContextic_
 
- Protected Attributes inherited from fcitx::Event
EventType type_
 
bool accepted_ = false
 

Detailed Description

Event for commit string with cursor.

See also
InputContext::commitStringWithCursor
Since
5.1.2

Definition at line 433 of file event.h.


The documentation for this class was generated from the following file: