At the bottom of the Inspector Panel, you can find the ADD EVENT button.
Firstly, you should name the event, then choose a trigger to start it.
- Event name - The name of the event
- Event Trigger - The interaction of event start
- Pressed - An object has been pressed
- Clicked - An object was pressed for a short period of time, then released. Not called if scrolled
- Long pressed - An object has been pressed for a longer period of time
- Long pressed repeat - Called after
long_press_time in every long_press_repeat_time ms. Not called if scrolled
- Focused - An object is focused
- Defocused - An object is unfocused
- Value changed - The value of the object has been changed.
- Ready - A process has finished
- Cancel - A process has been cancelled
- Screen loaded - A screen was loaded, called when all animations are finished
- Screen unloaded - A screen was unloaded, called when all animations are finished
- Screen load start - A screen load started, fired when the screen change delay is expired
- Screen unload start - A screen unload started, fired immediately when lv_scr_load/lv_scr_load_anim is called
|
インスペクタパネルの下部に、ADD EVENTボタンがあります。
まず、イベントに名前を付け、それを開始するトリガーを選択します。
- イベント名 - イベントの名前
- イベントトリガー - イベントを開始するためのインタラクションです。
- Pressed - オブジェクトが押されました。
- クリックされた - オブジェクトが短時間押され、その後、解放された。スクロールされた場合は呼び出されない
- 長押し - オブジェクトが長時間押された状態。
- 長押しリピート -
long_press_time の後にlong_press_repeat_time の時間ごとに呼び出されます。スクロールしている場合は呼び出されません。
- フォーカスされている - オブジェクトがフォーカスされています。
- デフォーカス - オブジェクトが非フォーカス状態になります.
- Value changed - オブジェクトの値が変更されました。
- Ready - 処理が終了しました。
- Cancel - 処理がキャンセルされました。
- Screen loaded - 画面がロードされ、すべてのアニメーションが終了したときに呼び出されます。
- Screen unloaded - 画面がアンロードされ、すべてのアニメーションが終了したときに呼び出されます。
- Screen load start - 画面のロードが開始され、画面変更の遅延が終了したときに呼び出されます。
- スクリーンアンロードスタート - スクリーンアンロードが開始され、lv_scr_load/lv_scr_load_animが呼び出されるとすぐに実行されます。
|