2017-05-09, 19:09
The igConq implementation is probably way too complex for most skins - it allows an unlimited number of widgets per menu item rather than a fixed number of, say, two or three. If you just want a fixed number there are plenty of skins which have an implementation you can take a look at, but the basic idea is
(1) Provide GUI 312 in your management dialog, then send clicks to it with a unique identifier for each additional widget (so you could use 312 directly for the first widget, an identifier of '2' for the second, '3' for the third and so on. [Docs]
(2) Provide an 'other' template for each widget - one template for the first, one for the second and so on.
The condition for the first would be based on whether there's a widgetPath property, the second 'widgetpath.2' and so on. And for the first you'd set your properties to the normal widget properties the script returns, for the second you're pulling out the same properties with the addition of '.2' and so on.
(1) Provide GUI 312 in your management dialog, then send clicks to it with a unique identifier for each additional widget (so you could use 312 directly for the first widget, an identifier of '2' for the second, '3' for the third and so on. [Docs]
(2) Provide an 'other' template for each widget - one template for the first, one for the second and so on.
The condition for the first would be based on whether there's a widgetPath property, the second 'widgetpath.2' and so on. And for the first you'd set your properties to the normal widget properties the script returns, for the second you're pulling out the same properties with the addition of '.2' and so on.