2015-03-16, 12:29
Example use case:
## Dynamic custom widget container
The user wants to fill the content of the widget with an subdir of an addon.
Example -> Advanced Launcher -> Category "Emulators" (plugin://plugin.program.advanced.launcher/?0df67ef8b67741f86ad5962f58f5bdc5)
A common user doesn't know the correct path and this is where toolbox kicks in and opens an dialog to select the path he wants to have as content for the widget list.
In skinshortcuts the dialog looks like this:
Example skin implementation:
SkinSettings -> <onclick>RunScript(script.toolbox,type=nodeselector&skinstring=CustomDynamicList1)</onclick>
Content List -> <content>$INFO[Skin.String(CustomDynamicList1)]</content>
## Dynamic custom widget container
PHP Code:
<control type="list" id="50">
.....
<itemlayout width="250" height="29">
......
<focusedlayout height="29" width="250">
......
</focusedlayout>
<content>%TOOLBOX CONTENT SOURCE%</content>
</control>
The user wants to fill the content of the widget with an subdir of an addon.
Example -> Advanced Launcher -> Category "Emulators" (plugin://plugin.program.advanced.launcher/?0df67ef8b67741f86ad5962f58f5bdc5)
A common user doesn't know the correct path and this is where toolbox kicks in and opens an dialog to select the path he wants to have as content for the widget list.
In skinshortcuts the dialog looks like this:
Example skin implementation:
SkinSettings -> <onclick>RunScript(script.toolbox,type=nodeselector&skinstring=CustomDynamicList1)</onclick>
Content List -> <content>$INFO[Skin.String(CustomDynamicList1)]</content>