Lines Matching full:id
4 Widget ID
19 Enable Widget ID functionality by setting :c:macro:`LV_USE_OBJ_ID` to ``1`` in ``lv_conf.h``.
23 - each Widget will now have a ``void *`` field called ``id``;
27 - :cpp:expr:`lv_obj_get_child_by_id(widget, id)`;
29 - several more Widget-ID-related API functions become available if
55 responsible for assigning a value to the Widget's ``id`` field, and possibly do
75 - :cpp:expr:`lv_obj_set_id(widget, id)`
104 Using a custom ID generator
107 If you wish, you can provide custom implementations for several Widget-ID related
133 void lv_obj_set_id(lv_obj_t * widget, void * id);
140 representation (typically incorporating the ``id`` field) and writes it into the
143 :cpp:func:`lv_obj_id_compare` compares 2 ``void * id`` values and returns ``0`` when
148 for assigning a value to the Widget's ``id`` field. A pointer to the Widget's final
150 value for the ``id`` field, or for other possible needs related to your design for
190 Find child by ID
193 :cpp:expr:`lv_obj_get_child_by_id(widget, id)` will perform a recursive walk through
194 ``widget``\ 's children and return the first child encountered having the given ID.