Home
last modified time | relevance | path

Searched refs:properties (Results 1 – 25 of 61) sorted by relevance

123

/lvgl-latest/scripts/
Dproperties.py79 for widget, properties in properties_by_widget.items():
81 properties.sort(key=lambda x: x.name)
82 properties_by_widget[widget] = properties
105 properties = properties_by_widget[widget]
109 count = len(properties)
140 for property in properties:
158 properties = properties_by_widget['style']
179 for property in properties:
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_obj_property.c128 } properties[] = { in test_obj_property_flag() local
163 for(unsigned long i = 0; i < sizeof(properties) / sizeof(properties[0]); i++) { in test_obj_property_flag()
165 TEST_ASSERT_FALSE(lv_obj_get_property(obj, properties[i].id).num); in test_obj_property_flag()
166 lv_obj_add_flag(obj, properties[i].flag); in test_obj_property_flag()
167 TEST_ASSERT_TRUE(lv_obj_get_property(obj, properties[i].id).num); in test_obj_property_flag()
169 lv_obj_remove_flag(obj, properties[i].flag); in test_obj_property_flag()
170 TEST_ASSERT_FALSE(lv_obj_get_property(obj, properties[i].id).num); in test_obj_property_flag()
173 prop.id = properties[i].id; in test_obj_property_flag()
176 TEST_ASSERT_TRUE(lv_obj_get_property(obj, properties[i].id).num); in test_obj_property_flag()
177 TEST_ASSERT_TRUE(lv_obj_has_flag(obj, properties[i].flag)); in test_obj_property_flag()
[all …]
/lvgl-latest/docs/details/other-components/
Dobj_property.rst9 properties of Widgets. It's intended use is to:
27 getting Widget properties, it is designed so minimize that additional CPU overhead.
34 A Widget's properties are the combined set of :ref:`styles` plus additional properties
36 how it behaves. Examples: size, position, color, are properties of all Widgets
37 whereas text, long-mode, selection-start, and selection-end, are properties unique to
39 properties in this context.
41 The non-style Widget properties available for a given Widget are implemented at the
48 static const lv_property_ops_t properties[] = {
72 This array is attached to the ``properties`` field of the Widget's class, so all
75 Some properties are read-only. When this is the case, only the ``getter`` field in
[all …]
Dxml.rst32 - Constants are working for widget and style properties
36 and states support the basic style properties
41 - Only a few style properties are supported.
109 - ``<styles>``: ``<style>`` properties can be defined with names and properties.
234 /*Apply the common properties, e.g. width, height, styles flags etc*/
237 /* Apply the common properties, e.g., width, height, styles, flags, etc. */
/lvgl-latest/.devcontainer/
Ddevcontainer.json9 // Configure tool-specific properties.
11 // Configure properties specific to VS Code.
/lvgl-latest/src/widgets/animimage/
Dlv_animimage.c48 static const lv_property_ops_t properties[] = { variable
80 .properties = properties,
81 .properties_count = sizeof(properties) / sizeof(properties[0]),
/lvgl-latest/docs/details/base-widget/styles/
Dstyle.rst9 style is an :cpp:type:`lv_style_t` variable which can hold properties like
18 each style can have different properties. Therefore, not all properties
26 - Some properties (e.g. text color) can be inherited from a parent(s) if it's not specified in a Wi…
79 2. When the Widget is pressed there are 2 related properties: default
106 - Use ORed states to describe the properties for complex cases (e.g.
122 It's not required to set all the properties in one style. It's possible
153 Some properties (typically those related to text) can be inherited from
202 :cpp:expr:`lv_style_init(&my_style)`. After initializing a style, properties can
241 - :cpp:member:`num`: for integer, boolean and opacity properties
242 - :cpp:member:`color`: for color properties
[all …]
Dindex.rst11 style-properties
/lvgl-latest/src/core/
Dlv_obj_property.c248 const lv_property_ops_t * properties; in obj_property() local
255 properties = clz->properties; in obj_property()
256 if(properties == NULL) { in obj_property()
268 prop = &properties[i]; in obj_property()
Dlv_obj_class_private.h43 const lv_property_ops_t * properties; member
/lvgl-latest/docs/details/widgets/
Dcheckbox.rst20 the text and the :ref:`typical background style properties <typical bg props>`.
23 :ref:`typical background style properties <typical bg props>`. By default, its
24 size is equal to the height of the main part's font. Padding properties make the
Dswitch.rst25 background style properties <typical bg props>`. ``padding`` makes the indicator smaller
28 the Switch; also uses the :ref:`typical background style properties <typical bg props>`.
30 side of the indicator; also uses the :ref:`typical background style properties
Danimimg.rst22 background style properties <typical bg props>` and the image itself using the image
23 style properties.
Dslider.rst24 :ref:`typical background style properties <typical bg props>`. ``padding`` makes
27 the Slider; also uses the :ref:`typical background style properties <typical bg props>`.
29 also uses the :ref:`typical background style properties <typical bg props>` to
57 - for orientation, width and height, simply set width and height properties;
Dbar.rst25 background style properties <typical bg props>`. Adding padding makes the indicator
29 background style properties <typical bg props>`.
40 - for orientation, width and height, simply set width and height style properties;
Droller.rst24 background <typical bg props>` and text style properties.
35 the Roller). Besides the typical background properties, it uses text style
36 properties to change the appearance of the text of the selected item.
Darc.rst20 style properties and an arc using the Arc style properties. The Arc's
21 size and position will respect the *padding* style properties.
23 properties. Its padding values are interpreted relative to the
26 background properties and padding values. With zero padding the knob
Dtable.rst28 background style properties <typical bg props>`.
30 :ref:`typical background style properties <typical bg props>` as well as text
31 style properties.
Ddropdown.rst34 background <typical bg props>` and text style properties for its text.
44 style properties <typical bg props>`. ``max_height`` can be used to limit the
47 properties and width (for its own width) and right padding for the
50 pressed+checked option. Also uses the :ref:`typical background style properties
Dkeyboard.rst24 style properties <typical bg props>`
26 style properties <typical bg props>` as well as *text* properties.
Dscale.rst155 different Style properties to draw them (colors, line thicknesses, font, etc.).
162 overlap), the Style's properties belonging to the most recently added Section takes
163 precedence over the same style properties of other Section(s) that "involve" that
192 You set a Section's Style properties by creating a :cpp:type:`lv_style_t` object
194 properties as is documented in :ref:`style_initialize`.
237 The Style properties that are used during Scale drawing (and are thus useful) are:
/lvgl-latest/src/widgets/keyboard/
Dlv_keyboard.c41 static const lv_property_ops_t properties[] = { variable
76 .properties = properties,
77 .properties_count = sizeof(properties) / sizeof(properties[0]),
/lvgl-latest/examples/layouts/flex/
Dindex.rst25 Demonstrate column and row gap style properties
/lvgl-latest/docs/details/base-widget/
Dlayer.rst80 Some style properties cause LVGL to allocate a buffer and render a Widget and its
87 The following style properties trigger the creation of a "Simple Layer":
107 The following style properties trigger the creation of a "Transform Layer":
/lvgl-latest/src/widgets/slider/
Dlv_slider.c54 static const lv_property_ops_t properties[] = { variable
109 .properties = properties,
110 .properties_count = sizeof(properties) / sizeof(properties[0]),

123