FTXUI 6.1.9
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を返す必要があります。