kivyterminal/py/iptv/ui/channel_list.ui
2023-10-17 18:50:28 +08:00

32 lines
570 B
XML

{
"id":"channel_list",
"widgettype":"HBox",
"options":{
"size_hint":[1,1]
},
"subwidgets":[
{
"widgettype":"urlwidget",
"options":{
"url":"{{entire_url('./channels_show.ui')}}"
}
},
{
"id":"vplayer",
"widgettype":"urlwidget",
"options":{
"url":"{{entire_url('./video.ui')}}"
}
}
],
"binds":[
{
"wid":"search_result",
"event":"on_selected",
"actiontype":"script",
"target":"vplayer",
"script":"self.set_source(args[1].row_data['url'])"
}
]
}