feat(xml): add spinbox support (#8957)

Co-authored-by: Liam Howatt <30486941+liamHowatt@users.noreply.github.com>
This commit is contained in:
Gabor Kiss-Vamosi
2025-09-30 20:26:55 +02:00
committed by GitHub
parent 89d7d11a13
commit 1623876507
11 changed files with 336 additions and 10 deletions
+16
View File
@@ -78,6 +78,22 @@ Events
Learn more about :ref:`events`.
Data binding
------------
To get familiar with observers, subjects, and data bindings in general visit the
:ref:`Observer <observer_how_to_use>` page.
This method of subscribing to an integer Subject affects a Subject Widget's integer
value directly. Note that this is a two-way binding (Subject <===> Widget), so an end
user's direct interaction with the Spinbox Widget updates the Subject's value and vice
versa.
It supports integer subjects.
- :cpp:expr:`lv_spinbox_bind_value(spinbox, &subject)`
.. _lv_spinbox_keys: