> On 14.08.2016, at 17:08, Ferran Pujol Camins <[email protected]>
> wrote:
>
> What does the <Number> tag of the combo box widget do? If it is missing a
> skin error is thrown. However, I cannot see how does this tag effect the
> behavior of the widget.
>
Hi,
should be the number of selectable items in a combobox.
<ComboBox>
<State>
<Number>1</Number>
<Text>Text A</Text>
<Icon></Icon>
</State>
<Connection>
<ConfigKey persist="true">[DeckLayout],10</ConfigKey>
</Connection>
<State>
<Number>2</Number>
<Text>Text B</Text>
<Icon></Icon>
<Connection>
<ConfigKey persist="true">[DeckLayout],20</ConfigKey>
</Connection>
</State>
<State>
<Number>3</Number>
<Text>Text C</Text>
<Icon></Icon>
<Connection>
<ConfigKey persist="true">[DeckLayout],30</ConfigKey>
</Connection>
</State>
</ComboBox>
In this example, we draw a combobox with 3 selectable items, with ``Text A``
being the default visible items.
The items are here connected to a (fictional) [DeckLayout] widgetstack, which
potentially allows to switch between different deck layouts.
<Icon> is optional , relative to the skin path, e,g,
``<Icon>image/foo.png</Icon>``. Draws an image in front of the items text.
Hope it helps,
jus
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel