Lines Matching refs:be
20 - XML files can be loaded at runtime (e.g., from an SD card) to change the application build.
23 - XML can be used to generate LVGL code in any language.
31 - Register images and font that can be accessed by name later in the XMLs
33 - Parameters can be defined and passed and used for components
35 - Style sheets and :ref:`local styles <style_local>` that can be assigned to parts
52 Widgets are the core building blocks of the UI and are not meant to be loaded at runtime
60 - Cannot be loaded from XML at runtime because custom code cannot be loaded.
62 Components are built from other components and widgets and can be loaded at runtime.
66 - Can be used for styling widgets.
69 - Can be loaded from XML at runtime as they describe only the visuals.
79 In light of the above, only components can be loaded from XML.
106 Constants can later be referenced as ``#name``.
108 Parameters can later be referenced as ``$name``.
109 - ``<styles>``: ``<style>`` properties can be defined with names and properties.
118 - ``params`` can be referenced with ``$``
119 - ``consts`` can be referenced with ``#``
120 - ``styles`` can be attached to states and/or parts like ``styles="red blue:pressed green:focused:s…
121 - Local styles can be used like ``<lv_label style_text_color="0xff0000" style_text_color:checked="…
126 Once a component is created (e.g., ``my_button``), it can be registered by calling either:
135 After this, a new instance of any of the registered components can be created with:
138 The created widget is a normal LVGL widget that can be used like any other manually created widget.
140 The last parameter can be ``NULL`` or an attribute list, like this:
144 /* Can be local */
159 These parameters can be set on a parent widget or provided by the user.
212 They can be referenced from components, and their API can be used via the exposed attributes
218 To make the widgets accessible from XML, an XML parser needs to be registered for each widget.
260 A widget XML process can be registered like
263 After this, a widget can be created like this:
276 so only custom widgets need to be registered manually.
283 In an XML file, images and fonts can be referenced via a name like this:
286 The font and image names must be mapped to the actual resources in the following way:
298 The registration functions should be called after