svghmi/widget_list.ysl2
author usveticic
Wed, 16 Sep 2020 09:42:26 +0200
branchsvghmi
changeset 3057 696301e869d5
parent 3028 72ee99635db7
child 3031 440d74319a74
permissions -rw-r--r--
Updated svg and xml for testing program
// 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»",
    }
    |     },
}