beremiz

SVGHMI: add get_idx(index) to widget objects to factorize a bit code repeated accross widgets. To be continued.
// widget_list.ysl2
template "widget[@type='List']", mode="widget_defs" {
param "hmi_element";
| items: {
foreach "$hmi_element/*[@inkscape:label]" {
| «func:escape_quotes(@inkscape:label)»: "«@id»",
}
| },
}