Last change
on this file since 6372 was
6372,
checked in by dkearney, 8 years ago
|
adding multichoice widget from the multichoice branch
|
File size:
1.2 KB
|
Line | |
---|
1 | <?xml version="1.0"?> |
---|
2 | <run> |
---|
3 | <tool> |
---|
4 | <title>multichoice</title> |
---|
5 | <about>Example of a Rappture <multichoice> object. |
---|
6 | |
---|
7 | MultiChoices are a set of combinable options. |
---|
8 | The description appears in a tooltip when you hover over the choice control with your mouse. |
---|
9 | |
---|
10 | When you click the Simulate button, the input choices will be used to generate the output choices. An output multichoice is constant, just like a number, boolean, etc. |
---|
11 | </about> |
---|
12 | <command> |
---|
13 | tclsh @tool/multichoice.tcl @driver |
---|
14 | </command> |
---|
15 | </tool> |
---|
16 | <input> |
---|
17 | <multichoice id="countries"> |
---|
18 | <about> |
---|
19 | <label>African Countries</label> |
---|
20 | <description>Choose the countries to analyze.</description> |
---|
21 | </about> |
---|
22 | <option> |
---|
23 | <about> |
---|
24 | <label>South Africa</label> |
---|
25 | <description>South Africa</description> |
---|
26 | </about> |
---|
27 | <value>ZAF</value> |
---|
28 | </option> |
---|
29 | <option> |
---|
30 | <about> |
---|
31 | <label>Zimbabwe</label> |
---|
32 | <description>Zimbabwe</description> |
---|
33 | </about> |
---|
34 | <value>ZWE</value> |
---|
35 | </option> |
---|
36 | <option> |
---|
37 | <about> |
---|
38 | <label>Swaziland</label> |
---|
39 | <description>Swaziland</description> |
---|
40 | </about> |
---|
41 | <value>SWZ</value> |
---|
42 | </option> |
---|
43 | <default>Zimbabwe</default> |
---|
44 | </multichoice> |
---|
45 | </input> |
---|
46 | </run> |
---|
Note: See
TracBrowser
for help on using the repository browser.