Skip to content
Antje Janosch edited this page Jan 4, 2024 · 9 revisions

Components providing Input

Element Size Screenshot Minimal Example RGG-Code
Bool no GUI <bool var="booleanValue"/>
Checkbox ✔️ 1 checkbox <checkbox var="checkboxValue" label="Checkbox"/>
Combobox ✔️ 2 combobox <combobox var="comboboxValue" label="Combobbox" items="item 1,item2,item 3"/>
Filechooser 3 filechooser <filechooser var="selectedFile" label="Filechooser"/>
Listbox ✔️ 1 listbox listboxValues = c(<listbox label="Listbox" items="item 1,item 2,item 3"/>)
Radiobutton 1 radiobutton <radiobutton var="radioValue1" label="option 1" button-group="bg"/><radiobutton var="radioValue2" label="option 2" button-group="bg"/><radiobutton var="radioValue3" label="option 3" button-group="bg"/>
Slider 2 slider <slider var="sliderValue" label="Slider"/>
Textfield ✔️ 2 textfield <textfield var="textfieldValue" label="Textfield"/>
Panellistbox ✔️ 1 panellistbox panellistboxValues = c(<panellistbox label="twopanellistbox" items="item 1,item 2,item 3"/>)
Vector ✔️ 1+len vector <vector var="vectorValue" label="Vector" size="2"/>

Static Components

Element Screenshot Minimal Example RGG-Code
H1...H6 ✔️ heading <h1 text="RGG Elements"/>
Img <img src="exampleImage.png"/>
Label
Labelarea ✔️ labelarea <labelarea>The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</labelarea>
Separator ✔️ separator <separator/>

Layout Components

Element Description Minimal Example RGG-Code
Gaprow ✔️ row gap with adjustable height <gaprow/>
Group ✔️ group components <group></group>
Horizontalbox ✔️ contained components are aligned horizontally <hbox></hbox>
Verticalbox ✔️ contained components are aligned vertically <vbox></vbox>
Clone this wiki locally