FTXUI 7.0.3
C++ functional terminal UI.
Loading...
Searching...
No Matches
catch_event.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  ftxui
 FTXUI ftxui::名前空間
 

Functions

Component CatchEvent (Component child, std::function< bool(Event event)> on_event)
 |on_event| を使ってイベントをキャッチするコンポーネントを返します。この 関数は、イベントが処理された場合はtrueを、そうでない場合はfalseを返す 必要があります。
 
ComponentDecorator CatchEvent (std::function< bool(Event)> on_event)
 |on_event| を使ってイベントをキャッチするコンポーネントを装飾します。この 関数は、イベントが処理された場合はtrueを、そうでない場合はfalseを返す 必要があります。