Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 24 of 24) sorted by relevance

/lvgl-3.7.0/src/extra/others/msg/
Dlv_msg.c25 lv_msg_subscribe_cb_t callback; member
71 s->callback = cb; in lv_msg_subsribe()
103 if(s->callback == obj_notify_cb && in lv_msg_unsubscribe_obj()
159 if(s->msg_id == m->id && s->callback) { in notify()
162 s->callback(s, m); in notify()
/lvgl-3.7.0/docs/porting/
Dgpu.md65 ### Blend callback
66 As you saw above the software renderer adds the `blend` callback field. It's a special callback rel…
67 All draw operations end up in the `blend` callback which can either fill an area or copy an image t…
82 ### New blend callback
86 As all draw callbacks call `blend` callback to fill an area in the end only the `blend` callback ne…
107 After calling `lv_disp_draw_init(&drv)` you can assign the new `draw_ctx_init` callback and set `dr…
152 The implementation of wait callback is much simpler:
158     /*Call SW renderer's wait callback too*/
165 A custom `draw_rect` callback might look like this:
192 `my_draw_rect` can fully bypass the use of `blend` callback if needed.
Ddisplay.md5 - `lv_disp_drv_t` contains callback functions to interact with the display and manipulate low level…
51 This means the `flush_cb` callback only has to update the address of the framebuffer (`color_p` par…
83 - `flush_cb` a callback function to copy a buffer's content to a specific area of the display.
106 - `monitor_cb` A callback function that tells how many pixels were refreshed and in how much time. …
107 - `clean_dcache_cb` A callback for cleaning any caches related to the display.
108 - `render_start_cb` A callback function that notifies the display driver that rendering has started…
120 disp_drv.flush_cb = my_flush_cb; /*Set a flush callback to draw to the display*/
197 … the display as normal. Software rotation requires no additional logic in your `flush_cb` callback.
Dlog.md23 …f` or want to use a custom function to log, you can register a "logger" callback with `lv_log_regi…
Dindev.md180 Besides `read_cb` a `feedback_cb` callback can be also specified in `lv_indev_drv_t`.
/lvgl-3.7.0/docs/others/
Dmsg.md31 `lv_msg_subscribe(msg_id, callback, user_data)` can be used to subscribe to message.
33 The callback should look like this:
/lvgl-3.7.0/docs/overview/
Devent.md11 The user can assign callback functions to an object to see its events. In practice, it looks like t…
14 lv_obj_add_event_cb(btn, my_event_cb, LV_EVENT_CLICKED, NULL); /*Assign an event callback*/
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*.
151 `lv_event_t` is the only parameter passed to the event callback and it contains all data about the …
Danimation.md48 /*Set a callback to indicate when the animation is ready (idle).*/
51 /*Set a callback to indicate when the animation is deleted (idle).*/
54 /*Set a callback to indicate when the animation is started (after delay).*/
Dtimer.md13 A timer callback should have a `void (*lv_timer_cb_t)(lv_timer_t *);` prototype.
Dfile-system.md45 #### Open callback
Dfont.md210 my_font.get_glyph_dsc = my_get_glyph_dsc_cb; /*Set a callback to get info about glyphs*/
211 my_font.get_glyph_bitmap = my_get_glyph_bitmap_cb; /*Set a callback to get bitmap of a glyph*/
Dcoords.md345 Custom style properties can be added which can be retrieved and used in the update callback. For ex…
/lvgl-3.7.0/docs/get-started/
Dquick-overview.md126 A callback is assigned like this:
129 lv_obj_add_event_cb(btn, btn_event_cb, LV_EVENT_CLICKED, NULL); /*Assign a callback to the button*/
139 `LV_EVENT_ALL` can be used instead of `LV_EVENT_CLICKED` to invoke the callback for any event.
/lvgl-3.7.0/docs/widgets/extra/
Dkeyboard.md58 The keyboard has a **default event handler** callback called `lv_keyboard_def_event_cb`, which hand…
/lvgl-3.7.0/
DREADME_zh.md146 lv_obj_add_event_cb(btn, btn_event_cb, LV_EVENT_CLICKED, NULL); /*Assign a callback to the button*/
DREADME.md143 lv_obj_add_event_cb(btn, btn_event_cb, LV_EVENT_CLICKED, NULL); /*Assign a callback to the button*/
DREADME_pt_BR.md159 …on, button_event_callback, LV_EVENT_CLICKED, NULL); /* Atribui um retorno de chamada (callback) */
DKconfig322 … If not set the user needs to register a callback with `lv_log_register_print_cb`.
/lvgl-3.7.0/demos/benchmark/
DREADME.md18 - If you want to know when the testing is finished, you can register a callback function via `lv_de…
/lvgl-3.7.0/docs/widgets/core/
Dtextarea.md93 The new text cannot be in a local variable which is destroyed when the event callback exists. `""` …
/lvgl-3.7.0/docs/get-started/platforms/
Dnxp.md93 … depends on multiple OS-specific functions. The struct `lv_nxp_pxp_cfg_t` with callback pointers is
/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_…
/lvgl-3.7.0/docs/intro/
Dindex.md160 Be sure you are calling `lv_disp_flush_ready(drv)` at the end of your "*display flush callback*".
/lvgl-3.7.0/docs/
DCHANGELOG.md359 - **render_start_cb** A new callback is added to `lv_disp_drv_t` to indicate when the rendering sta…
371 - feat(anim): add deleted callback (#3279) [`3295`](https://github.com/lvgl/lvgl/pull/3295)
379 - feat(demos): add a callback for benchmark [`3353`](https://github.com/lvgl/lvgl/pull/3353)
681 - feat(draw): add draw_bg callback to draw_ctx #2934 [`2935`](https://github.com/littlevgl/lvgl/pul…
739 - fix(examples) move event callback registration outside loop in `lv_example_event_3` [`2959`](http…