wiki:rp_xml_ele_group

Version 5 (modified by mmc, 8 years ago) (diff)

changed image() macro to rpimage() so images work properly

<group>

A group object groups input elements together.

  <group id="tau">
    <about>
      <label>Minority carrier lifetimes</label>
    </about>

    <number id="taun">
      <about> <label>For electrons</label> </about>
      <default>1e-6</default>
    </number>
    <number id="taup">
      <about> <label>For holes</label> </about>
      <default>1e-6</default>
    </number>
  </group>


A group of groups is drawn as a set of tabs.

  <group id="tabs">
    <group id="models">
      <about> <label>Models</label> </about>
      ...input elements for this tab...
    </group>

    <group id="ambient">
      <about> <label>Ambient</label> </about>
      <number id="temp">
        <about> <label>Temperature</label> </about>
        <units>K</units>
        <default>300K</default>
      </number>
    </group>
  </group>

You can see working code in the zoo of example's in the group example or on the hub in the directory /apps/rappture/examples/zoo/group.