Home
last modified time | relevance | path

Searched refs:event (Results 1 – 25 of 53) sorted by relevance

123

/lvgl-3.7.0/examples/event/
Dindex.rst2 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/
Devent.md14 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 …]
Dindex.md16 event
Ddrawing.md105 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 …]
Dscroll.md54 - `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/
Dkeyboard.md54 …ent when the button is pressed/released or repeated after long press. The event data is set to the…
58event 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).
Dmsgbox.md42 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).
Dspinner.md20 Learn more about [Events](/overview/event).
Danimimg.md25 Learn more about [Events](/overview/event).
Dlist.md29 Learn more about [Events](/overview/event).
Dled.md32 Learn more about [Events](/overview/event).
/lvgl-3.7.0/src/extra/others/fragment/
Dlv_fragment.c18 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/
Dbtn.md20 …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).
Dline.md22 Only the [Generic events](../overview/event.html#generic-events) are sent by the object type.
26 Learn more about [Events](/overview/event).
Ddropdown.md74 …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…
Droller.md38 Learn more about [Events](/overview/event).
43 - `LY_KEY_ENTER` Apply the selected option (Send `LV_EVENT_VALUE_CHANGED` event)
Dslider.md35 - `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).
Dtextarea.md92 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/
Dtest_switch.c35 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/
Dindex.rst2 Start animation on an event
/lvgl-3.7.0/examples/get_started/
Dindex.rst2 A button with a label and react on click event
/lvgl-3.7.0/.github/workflows/
Dmakefile.yml11 …if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head…
/lvgl-3.7.0/docs/_static/js/
Dcustom.js2 document.addEventListener('DOMContentLoaded', (event) => {
/lvgl-3.7.0/docs/porting/
Dsleep.md24 …k_handler(); /*Call `lv_task_handler()` manually to process the wake-up event*/
/lvgl-3.7.0/docs/widgets/
Dobj.md84 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