App:Library:LVGL:docs:Widgets:Button (lv btn)
https://docs.lvgl.io/8.2/widgets/core/arc.html
Button (lv_btn)
Overview
英文 | 自動翻訳 |
---|---|
Buttons have no new features compared to the Base object. They are useful for semantic purposes and have slightly different default settings. Buttons, by default, differ from Base object in the following ways:
|
デフォルトでは、ボタンは次の点でBaseオブジェクトとは異なります。
|
Parts and Styles
英文 | 自動翻訳 |
---|---|
|
|
Usage
英文 | 自動翻訳 |
---|---|
There are no new features compared to Base object. |
Baseオブジェクトと比較して新しい機能はありません。 |
Events
英文 | 自動翻訳 |
---|---|
Learn more about Events. |
イベントの詳細をご覧ください。 |
Keys
英文 | 自動翻訳 |
---|---|
Note that the state of See the events of the Base object too. Learn more about Keys. |
LV_KEY_ENTER の状態はLV_EVENT_PRESSED/PRESSING/RELEASED 等に変換されることに注意してください。
Baseオブジェクトのイベントも参照してください。 キーの詳細をご覧ください。 |
Example
英文 | 自動翻訳 |
---|---|
Simple Buttons |
|
Styling buttons |
|
Gummy button |
API
英文 | 自動翻訳 |
---|---|
Functions lv_obj_t *lv_btn_create(lv_obj_t *parent)
Variables const lv_obj_class_t lv_btn_class struct lv_btn_t
|
lv_obj_t * lv_btn_create( lv_obj_t * parent)
変数 const lv_obj_class_t lv_btn_class struct lv_btn_t
|