source: trunk/examples/zoo/group/tool.xml @ 6021

Last change on this file since 6021 was 6021, checked in by ldelgass, 8 years ago

Merge UQ and fixes from 1.4 branch

File size: 2.0 KB
Line 
1<?xml version="1.0"?>
2<run>
3<tool>
4  <title>group</title>
5  <about>Examples of Rappture &lt;group&gt; objects.
6
7Groups provide a way of grouping input elements.
8
9Groups can be used two ways:  A group of elements is normally drawn with a gray border around it.  A group of groups is drawn as a set of tabs.  You can see both examples in the inputs on the left.
10
11Group tags can also be used in the output section to overlay plots, but that's really a coincidence.  The name conflict is confusing and should probably be changed.
12  </about>
13  <command>
14    python @tool/group.py @driver
15  </command>
16</tool>
17<input>
18  <!-- This group of groups is drawn as a set of tabs -->
19  <group id="tabs">
20    <group id="models">
21      <about> <label>Models</label> </about>
22      <boolean id="recomb">
23        <about> <label>Recombination Model</label> </about>
24        <default>on</default>
25      </boolean>
26
27      <!-- This group has a gray border around it-->
28      <group id="tau">
29        <about>
30          <label>Minority carrier lifetimes</label>
31          <layout>horizontal</layout>
32        </about>
33
34        <number id="taun">
35          <about> <label>For electrons</label> </about>
36          <default>1e-6</default>
37        </number>
38        <number id="taup">
39          <about> <label>For holes</label> </about>
40          <default>1e-6</default>
41        </number>
42      </group>
43    </group>
44
45    <group id="ambient">
46      <about> <label>Ambient</label> </about>
47      <number id="temp">
48        <about> <label>Temperature</label> </about>
49        <units>K</units>
50        <default>300K</default>
51      </number>
52      <group id="loc">
53        <about> <layout>sentence:Location = (${lat},${long})</layout> </about>
54        <number id="lat">
55          <about> <label>Latitude</label> </about>
56          <default>40.42</default>
57        </number>
58        <number id="long">
59          <about> <label>Longitude</label> </about>
60          <default>-86.91</default>
61        </number>
62      </group>
63    </group>
64  </group>
65</input>
66</run>
Note: See TracBrowser for help on using the repository browser.