Lines Matching refs:object
8 …_t` pointer as a handle. This pointer can later be used to set or get the attributes of the object.
14 All object types share some basic attributes:
25 /*Set basic object attributes*/
30 To see all the available functions visit the [Base object's documentation](/widgets/obj).
34 The object types have special attributes too. For example, a slider has
38 For these special attributes, every object type may have unique API functions. For example for a sl…
52 A parent object can be considered as the container of its children. Every object has exactly one pa…
63 lv_obj_t * parent = lv_obj_create(lv_scr_act()); /*Create a parent object on the current screen*/
66 …* obj1 = lv_obj_create(parent); /*Create an object on the previously created parent objec…
67 lv_obj_set_pos(obj1, 10, 10); /*Set the position of the new object*/
84 
106 Typically, the create functions only have a *parent* parameter telling them on which object to crea…
108 The return value is a pointer to the created object with `lv_obj_t *` type.
111 There is a common **delete** function for all object types. It deletes the object and all of its ch…
117 `lv_obj_del` will delete the object immediately.
118 If for any reason you can't delete the object immediately you can use `lv_obj_del_async(obj)` which…
119 This is useful e.g. if you want to delete the parent of an object in the child's `LV_EVENT_DELETE` …
121 You can remove all the children of an object (but not the object itself) using `lv_obj_clean(obj)`.
123 You can use `lv_obj_del_delayed(obj, 1000)` to delete an object after some time. The delay is expre…
129 The screens are special objects which have no parent object. So they can be created like:
134 Screens can be created with any object type. For example, a [Base object](/widgets/obj) or an image…
137 …creen on each display. By default, the library creates and loads a "Base object" as a screen for e…
150 …s and they will be shown on every screen. The *top layer* is above every object on the screen and …
182 The widgets are built from multiple parts. For example a [Base object](/widgets/obj) uses the main …
200 The object can be in a combination of the following states:
215 The states are usually automatically changed by the library as the user interacts with an object (p…
223 A snapshot image can be generated for an object together with its children. Check details in [Snaps…