svghmi/widget_list.ysl2
author usveticic
Tue, 18 Aug 2020 11:42:28 +0200
branchsvghmi
changeset 3045 f6d428330e04
parent 3028 72ee99635db7
child 3031 440d74319a74
permissions -rw-r--r--
All widgets reworked to use widget class and animate function if needed
// widget_list.ysl2

template "widget[@type='List' or @type='TextStyleList']", mode="widget_defs" {
    param "hmi_element";
    |     items: {
    foreach "$hmi_element/*[@inkscape:label]" {
    |         «func:escape_quotes(@inkscape:label)»: "«@id»",
    }
    |     },
}