Last change
on this file since 5348 was
1587,
checked in by dkearney, 15 years ago
|
removing tabs from files and removing output sections from the tool.xml's in zoo examples.
tool.xml's should not include output sections, it is confusing and inefficient for users learning
to use rappture.
|
File size:
1.3 KB
|
Line | |
---|
1 | <?xml version="1.0"?> |
---|
2 | <run> |
---|
3 | <tool> |
---|
4 | <title>choice</title> |
---|
5 | <about>Example of a Rappture <choice> object. |
---|
6 | |
---|
7 | Choices are a set of mutually exclusive 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 choice will be used to generate the output choice. An output choice is constant, just like a number, boolean, etc. |
---|
11 | </about> |
---|
12 | <command> |
---|
13 | tclsh @tool/choice.tcl @driver |
---|
14 | </command> |
---|
15 | </tool> |
---|
16 | <input> |
---|
17 | <choice id="stats"> |
---|
18 | <about> |
---|
19 | <label>Carrier Statistics</label> |
---|
20 | <description>Determines the model for carrier statistics used in bandgap narrowing calculations.</description> |
---|
21 | </about> |
---|
22 | <option> |
---|
23 | <about> |
---|
24 | <label>Boltzmann</label> |
---|
25 | <description>From the Boltzmann transport equation</description> |
---|
26 | </about> |
---|
27 | <value>bte</value> |
---|
28 | </option> |
---|
29 | <option> |
---|
30 | <about> |
---|
31 | <label>Fermi</label> |
---|
32 | <description>Fermi-Dirac statistics</description> |
---|
33 | </about> |
---|
34 | </option> |
---|
35 | <option> |
---|
36 | <about> |
---|
37 | <label>2D Gas</label> |
---|
38 | <description>Includes confinement at material interface</description> |
---|
39 | </about> |
---|
40 | <value>2deg</value> |
---|
41 | </option> |
---|
42 | <default>Boltzmann</default> |
---|
43 | </choice> |
---|
44 | </input> |
---|
45 | </run> |
---|
Note: See
TracBrowser
for help on using the repository browser.