Searched refs:event (Results 1 – 25 of 53) sorted by relevance
123
/lvgl-3.7.0/examples/event/ |
D | index.rst | 2 Button click event 5 .. lv_example:: event/lv_example_event_1 10 .. lv_example:: event/lv_example_event_2 16 .. lv_example:: event/lv_example_event_3
|
/lvgl-3.7.0/docs/overview/ |
D | event.md | 14 lv_obj_add_event_cb(btn, my_event_cb, LV_EVENT_CLICKED, NULL); /*Assign an event callback*/ 18 static void my_event_cb(lv_event_t * event) 23 …V_EVENT_CLICKED` means that only the click event will call `my_event_cb`. See the [list of event c… 26 …d_event_cb` is a pointer to any custom data that will be available in the event. It will be descri… 35 Even the same event callback can be used on an object with different `user_data`. For example: 44 Other objects can use the same *event callback*. 47 ## Remove event(s) from an object 53 The event codes can be grouped into these categories: 66 The following event codes exist: 77 - `LV_EVENT_SCROLL_BEGIN` Scrolling begins. The event parameter is `NULL` or an `lv_anim_t *` with … [all …]
|
D | index.md | 16 event
|
D | drawing.md | 105 However, an event is sent for every button and you can, for example, tell LVGL to use different col… 113 `lv_event_get_clip_area(event)` can be used to get the current clip area. The clip area is required… 121 The actual drawing of an object happens in this event. E.g. a rectangle for a button is drawn here.… 132 `lv_event_get_clip_area(event)` can be used to get the current clip area. 158 …t * clip_area; // The current clip area, required if you need to draw something in the event 159 uint32_t part; // The current part for which the event is sent 179 `lv_event_get_draw_part_dsc(event)` can be used to get a pointer to `lv_obj_draw_part_t`. 193 This event is used to check whether an object fully covers an area or not. 195 `lv_event_get_cover_area(event)` returns a pointer to an area to check and `lv_event_set_cover_res(… 210 Before sending this event LVGL checks if at least the widget's coordinates fully cover the area or … [all …]
|
D | scroll.md | 54 - `LV_EVENT_SCROLL_BEGIN` Scrolling begins. The event parameter is `NULL` or an `lv_anim_t *` with … 141 Here is an example to see how to combine scroll event and store the scroll top position. 173 …s the `LV_EVENT_GET_SELF_SIZE` event to get the self size of an object. Here is an example to see …
|
/lvgl-3.7.0/docs/widgets/extra/ |
D | keyboard.md | 54 …ent when the button is pressed/released or repeated after long press. The event data is set to the… 58 …event handler** callback called `lv_keyboard_def_event_cb`, which handles the button pressing, map… 62 …In 8.0 and newer, adding an event handler to the keyboard does not remove the default event handle… 63 …This behavior differs from v7, where adding an event handler would always replace the previous one. 67 Learn more about [Events](/overview/event).
|
D | msgbox.md | 42 In the event handler, `lv_event_get_target(e)` will return the button matrix and `lv_event_get_curr… 44 Learn more about [Events](/overview/event).
|
D | spinner.md | 20 Learn more about [Events](/overview/event).
|
D | animimg.md | 25 Learn more about [Events](/overview/event).
|
D | list.md | 29 Learn more about [Events](/overview/event).
|
D | led.md | 32 Learn more about [Events](/overview/event).
|
/lvgl-3.7.0/src/extra/others/fragment/ |
D | lv_fragment.c | 18 static void cb_delete_assertion(lv_event_t * event); 138 static void cb_delete_assertion(lv_event_t * event) in cb_delete_assertion() argument 140 LV_UNUSED(event); in cb_delete_assertion()
|
/lvgl-3.7.0/docs/widgets/core/ |
D | btn.md | 20 …he `LV_OBJ_FLAG_CHECKABLE` flag is enabled and the object is clicked. The event happens on transit… 23 Learn more about [Events](/overview/event).
|
D | line.md | 22 Only the [Generic events](../overview/event.html#generic-events) are sent by the object type. 26 Learn more about [Events](/overview/event).
|
D | dropdown.md | 74 …from the [Generic events](../overview/event.html#generic-events), the following [Special events](.… 81 Learn more about [Events](/overview/event). 86 - `LY_KEY_ENTER` Apply the selected option (Sends `LV_EVENT_VALUE_CHANGED` event and closes the dro…
|
D | roller.md | 38 Learn more about [Events](/overview/event). 43 - `LY_KEY_ENTER` Apply the selected option (Send `LV_EVENT_VALUE_CHANGED` event)
|
D | slider.md | 35 - `LV_EVENT_VALUE_CHANGED` Sent while the slider is being dragged or changed with keys. The event i… 51 Learn more about [Events](/overview/event).
|
D | textarea.md | 92 The event parameter is the text about to be inserted. `lv_textarea_set_insert_replace(textarea, "Ne… 93 The new text cannot be in a local variable which is destroyed when the event callback exists. `""` … 99 Learn more about [Events](/overview/event).
|
/lvgl-3.7.0/tests/src/test_cases/ |
D | test_switch.c | 35 lv_event_code_t event = lv_event_get_code(e); in event_handler() local 37 if(LV_EVENT_VALUE_CHANGED == event) { in event_handler()
|
/lvgl-3.7.0/examples/anim/ |
D | index.rst | 2 Start animation on an event
|
/lvgl-3.7.0/examples/get_started/ |
D | index.rst | 2 A button with a label and react on click event
|
/lvgl-3.7.0/.github/workflows/ |
D | makefile.yml | 11 …if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head…
|
/lvgl-3.7.0/docs/_static/js/ |
D | custom.js | 2 document.addEventListener('DOMContentLoaded', (event) => {
|
/lvgl-3.7.0/docs/porting/ |
D | sleep.md | 24 …k_handler(); /*Call `lv_task_handler()` manually to process the wake-up event*/
|
/lvgl-3.7.0/docs/widgets/ |
D | obj.md | 84 To set an event callback for an object, use `lv_obj_add_event_cb(obj, event_cb, LV_EVENT_..., user_… 86 To manually send an event to an object, use `lv_event_send(obj, LV_EVENT_..., param)` 88 Read the [Event overview](/overview/event) to learn more about events. 173 Learn more about [Events](/overview/event).
|
123