mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
Document how anonymous objects are mapped to native code
As discussed in https://github.com/slint-ui/slint/discussions/2650
This commit is contained in:
parent
cf1984f544
commit
65e879e55f
2 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ The follow table summarizes the entire mapping:
|
|||
:code:`angle` :code:`float` The value in degrees.
|
||||
:code:`relative-font-size` :code:`float` Relative font size factor that is multiplied with the :code:`Window.default-font-size` and can be converted to a :code:`length`.
|
||||
structure A :code:`class` of the same name The order of the data member are in the same as in the slint declaration
|
||||
anonymous object A :code:`std::tuple` The fields are in alphabetical order.
|
||||
=========================== ================================== =======================================================================================================================================
|
||||
```
|
||||
## Structures
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue