FTXUI
6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
event.cppm
Go to the documentation of this file.
1
/// @module ftxui.component:Event
2
/// @brief 組件模塊中 Event 結構體的模塊文件
3
4
module
;
5
6
#include <
ftxui/component/event.hpp
>
7
8
export
module
ftxui.component:Event
;
9
10
/**
11
* @namespace ftxui
12
* @brief FTXUI ftxui:: 命名空間
13
*/
14
export
namespace
ftxui
{
15
using
ftxui::ScreenInteractive
;
16
using
ftxui::ComponentBase
;
17
18
using
ftxui::Event
;
19
}
event.hpp
ftxui::ComponentBase
它將自己實作為 ftxui::Element 進行渲染。它透過回應 ftxui::Event 來實現鍵盤導航。
Definition
component_base.hpp:28
ftxui::ScreenInteractive
ScreenInteractive 是一個可以處理事件、執行主迴圈並管理組件的 Screen。
Definition
screen_interactive.hpp:33
ftxui::Event
代表一個事件。它可以是按鍵事件、終端機大小調整,或更多...
Definition
event.hpp:27
ftxui.component
FTXUI 組件操作的模組文件。
ftxui
FTXUI 的 ftxui:: 命名空間
Definition
animation.hpp:10