branch | svghmi |
changeset 3028 | 72ee99635db7 |
parent 2997 | 2f298089e32e |
child 3031 | 440d74319a74 |
3027:d660b1b6bf4f | 3028:72ee99635db7 |
---|---|
1 // widget_list.ysl2 |
1 // widget_list.ysl2 |
2 |
2 |
3 template "widget[@type='List']", mode="widget_defs" { |
3 template "widget[@type='List' or @type='TextStyleList']", mode="widget_defs" { |
4 param "hmi_element"; |
4 param "hmi_element"; |
5 | items: { |
5 | items: { |
6 foreach "$hmi_element/*[@inkscape:label]" { |
6 foreach "$hmi_element/*[@inkscape:label]" { |
7 | «func:escape_quotes(@inkscape:label)»: "«@id»", |
7 | «func:escape_quotes(@inkscape:label)»: "«@id»", |
8 } |
8 } |