1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00
lvgl/xmls/lv_table.xml
2024-12-05 10:14:39 +01:00

51 lines
1.5 KiB
XML

<!--
<lv_table col_cnt="4">
<lv_table-column column="2" width="30px"/>
<lv_table-cell row="2" column="1" value="hello" ctrl="text_crop merge_right"/>
<lv_table-cell row="3" column="0" value="world"/>
</lv_table>
-->
<widget>
<api>
<enumdef name="lv_table_cell_ctrl" help="Type of the chart">
<enum name="merge_right"/>
<enum name="text_crop"/>
<enum name="custom_1"/>
<enum name="custom_2"/>
<enum name="custom_3"/>
<enum name="custom_4"/>
</enumdef>
<prop name="row_cnt" help="">
<param name="cnt" type="int" help=""/>
</prop>
<prop name="column_cnt" help="">
<param name="cnt" type="int" help=""/>
</prop>
<prop name="selected cell" help="">
<param name="row" type="int" help=""/>
<param name="column" type="int" help=""/>
</prop>
<element name="column" access="set">
<arg name="column" type="int" help=""/>
<prop name="values" help="set values from an array">
<param name="width" type="px" help="width of the column"/>
</prop>
</element>
<element name="cell" access="set">
<arg name="row" type="int" help=""/>
<arg name="column" type="int" help=""/>
<prop name="value" help="">
<param name="text" type="string" help=""/>
</prop>
<prop name="ctrl" help="">
<param name="ctrl" type="enum:lv_table_cell_ctrl+" help=""/>
</prop>
</element>
</api>
</widget>