Lines Matching refs:widget
36 The Base Widget can be used directly as a simple widget. While it is a simple
100 A Widget's parent is set when the widget is created --- the parent is passed to the
103 To get a Widget's current parent, use :cpp:expr:`lv_obj_get_parent(widget)`.
105 You can move the Widget to a new parent with :cpp:expr:`lv_obj_set_parent(widget, new_parent)`.
124 :cpp:expr:`lv_obj_get_index(widget)` returns the index of the Widget in its parent.
128 :cpp:expr:`lv_obj_move_foreground(widget)` and :cpp:expr:`lv_obj_move_background(widget)`.
130 You can change the index of a Widget in its parent using :cpp:expr:`lv_obj_move_to_index(widget, in…
134 To get a Widget's Screen (highest-level parent) use :cpp:expr:`lv_obj_get_screen(widget)`.
193 :cpp:expr:`lv_obj_add_flag(widget, LV_OBJ_FLAG_OVERFLOW_VISIBLE)` which allow the
204 lv_event_set_ext_draw_size(e, 30); /*Set 30px extra draw area around the widget*/
220 Every widget has its own **create** function with a prototype like this:
224 lv_obj_t * lv_<widget>_create(lv_obj_t * parent, <other parameters if any>);
237 void lv_obj_delete(lv_obj_t * widget);
241 :cpp:expr:`lv_obj_delete_async(widget)` which will perform the deletion on the next
247 using :cpp:expr:`lv_obj_clean(widget)`.
249 You can use :cpp:expr:`lv_obj_delete_delayed(widget, 1000)` to delete a Widget after
254 cpp:expr:`lv_obj_null_on_delete(&widget)` to cause your Widget pointer to be set to ``NULL``
439 - :cpp:enumerator:`LV_PART_ITEMS`: Used if the widget has multiple similar elements (e.g. table cel…
474 :cpp:expr:`lv_obj_add_state(widget, LV_STATE_...)` and
475 :cpp:expr:`lv_obj_remove_state(widget, LV_STATE_...)`. In both cases OR-ed state
477 :cpp:expr:`lv_obj_add_state(widget, part, LV_STATE_PRESSED | LV_PRESSED_CHECKED)`.
490 :cpp:expr:`lv_obj_add_flag(widget, LV_OBJ_FLAG_...)` and
491 :cpp:expr:`lv_obj_remove_flag(widget, LV_OBJ_FLAG_...)`.
518 - :cpp:enumerator:`LV_OBJ_FLAG_WIDGET_1` Custom flag, free to use by widget
519 - :cpp:enumerator:`LV_OBJ_FLAG_WIDGET_2` Custom flag, free to use by widget
530 lv_obj_add_flag(widget, LV_OBJ_FLAG_HIDDEN);
533 lv_obj_remove_flag(widget, LV_OBJ_FLAG_CLICKABLE);
591 - :cpp:enumerator:`LV_EVENT_GET_SELF_SIZE` Get internal size of a widget
609 (as declared by the widget class), the arrow keys (:cpp:enumerator:`LV_KEY_UP`,