| FTXUI
    0.8.1
    C++ functional terminal UI. | 
 
 
 
Go to the documentation of this file.    1 #ifndef FTXUI_COMPONENT_EVENT_HPP 
    2 #define FTXUI_COMPONENT_EVENT_HPP 
   10 class ScreenInteractive;
 
   47   static const Event F1, 
F2, 
F3, 
F4, 
F5, 
F6, 
F7, 
F8, 
F9, 
F10, 
F11, 
F12;
 
   62   bool is_mouse()
 const { 
return type_ == Type::Mouse; }
 
   71   const std::string& 
input()
 const { 
return input_; }
 
   86   Type type_ = Type::Unknown;
 
   95     struct Cursor cursor_;
 
   99   ScreenInteractive* screen_ = 
nullptr;
 
 
 
static const Event PageDown
static const Event Backspace
static const Event ArrowLeft
static Event Character(std::string)
std::string character() const
static Event CursorReporting(std::string, int x, int y)
static const Event Return
static const Event Delete
const std::string & input() const
static const Event Escape
A mouse event. It contains the coordinate of the mouse, the button pressed and the modifier (shift,...
static const Event TabReverse
bool is_character() const
bool is_cursor_reporting() const
static Event Mouse(std::string, Mouse mouse)
static const Event ArrowDown
It implement rendering itself as ftxui::Element. It implement keyboard navigation by responding to ft...
bool operator!=(const Event &other) const
static const Event ArrowUp
Represent an event. It can be key press event, a terminal resize, or more ...
static const Event ArrowRight
bool operator==(const Event &other) const
static Event Special(std::string)
static const Event PageUp