Lines Matching full:id
42 top of that Widget's primary ``.c`` file as a ``const`` id-to-function-pointer lookup
50 .id = LV_PROPERTY_LABEL_TEXT,
55 .id = LV_PROPERTY_LABEL_LONG_MODE,
60 .id = LV_PROPERTY_LABEL_TEXT_SELECTION_START,
65 .id = LV_PROPERTY_LABEL_TEXT_SELECTION_END,
73 Widgets of the same type share the same id-to-function-pointer lookup array.
94 - :cpp:type:`lv_property_t` :cpp:expr:`lv_obj_get_property(widget, lv_prop_id_t id)`
108 { .id = LV_PROPERTY_IMAGE_SRC, .ptr = &img_demo_widgets_avatar, },
109 { .id = LV_PROPERTY_IMAGE_PIVOT, .ptr = &pivot_50, },
110 { .id = LV_PROPERTY_IMAGE_SCALE, .num = 128, },
111 { .id = LV_PROPERTY_OBJ_FLAG_CLICKABLE, .num = 1, },
112 { .id = LV_STYLE_IMAGE_OPA, .num = 128, },
113 … { .id = LV_STYLE_BG_COLOR, .color = (lv_color_t){.red = 0x11, .green = 0x22, .blue = 0x33}, },
122 Property ID
129 the ``properties[]`` array initializing the ``.id`` fields in the array. For example,
138 add your own Widget property ID following same rules and using one of two helper
144 property ID.
147 contain the type for the 2nd value, and bits ``<23:0>`` contain the property ID.
149 Just make sure the ID is unique across all Widgets.
160 :cpp:type:`lv_property_t` is a struct that begins with an ``id`` field whose meaning
161 is the same as property ID described above, paired with a value, which is a union of
191 * .id = LV_PROPERTY_STYLE_X,
198 * .id = LV_PROPERTY_STYLE_X,
233 Property ID Lookup by Name
240 Gets property ID by recursively searching for ``name`` in Widget's class hierarchy,
244 Gets property ID by doing a non-recursive search for ``name`` directly in Widget
248 Gets style property ID by name.