GUI Components
45 nodes
On this page 45
Button
FunctionA button: what a person presses, which runs whatever its Click is pointed at.
Button(text: Text) -> Button
Button Button(string text = "")
Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | — | What it says. |
Returns
| Button | Button |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Caption
FunctionA caption: small, quiet text that explains what is beside it.
Caption(text: Text) -> Caption
Caption Caption(string text = "")
Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | — | What it says. |
Returns
| Caption | Caption |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Card
FunctionA card: a raised panel around its content.
Card(content: Widget) -> Card
Card Card(Widget content)
Parameters
| name | type | default | description |
|---|---|---|---|
| content | Widget | — | What the card holds. |
Returns
| Card | Card |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Check Box
FunctionA box a person ticks or clears, with what it means beside it.
CheckBox(text: Text, isChecked: Truth) -> CheckBox
CheckBox CheckBox(string text = "", bool isChecked = false)
Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | — | What it says. |
| isChecked | Truth | False | Whether it starts ticked. |
Returns
| Check Box | CheckBox |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Close
FunctionCloses the interface that is running: what a Close or an OK button's Routine does. Show returns once the press that asked has been answered.
Close()
void Close()
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Column
FunctionA column: the pieces wired into it, one under another, in the order they are wired.
Column(content: Widget Array, spacing: Number) -> StackPanel
StackPanel Column(Widget[] content, double spacing = 8)
Parameters
| name | type | default | description |
|---|---|---|---|
| content | Widget Array | — | The pieces, top to bottom. |
| spacing | Number | 8 | The gap between two pieces, in pixels. |
Returns
| Column | StackPanel |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Dropdown
FunctionA list of choices that opens when a person clicks it, one of them chosen.
Dropdown(choices: Text Array, selected: Integer) -> Dropdown
Dropdown Dropdown(string[] choices, int selected = 0)
Parameters
| name | type | default | description |
|---|---|---|---|
| choices | Text Array | — | The choices, in order. |
| selected | Integer | 0 | The position of the choice it starts on, from 0; -1 for none. |
Returns
| Dropdown | Dropdown |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Expander
FunctionA titled piece a person opens and closes to show or hide its content.
Expander -> Expander
title: Text
content: Widget
expanded: TruthExpander Expander(
string title = "",
Widget content,
bool expanded = true)Parameters
| name | type | default | description |
|---|---|---|---|
| title | Text | — | What its header says. |
| content | Widget | — | What it shows when open. |
| expanded | Truth | True | Whether it starts open. |
Returns
| Expander | Expander |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Form
FunctionA form: the controls wired into it, each where its Left and Top put it and at the size it asks for - a window's content laid out control by control, as a form designer lays it out.
Form(controls: Widget Array) -> FreeformPanel
FreeformPanel Form(Widget[] controls)
Parameters
| name | type | default | description |
|---|---|---|---|
| controls | Widget Array | — | The controls, in the order they are drawn: a later one is drawn over an earlier one. |
Returns
| Form | FreeformPanel |
Remarks
Round 26, Methodox App Maker: the surface its designer lays controls out on - each control's place is its own Left and Top, in theme units, and its size its own Width and Height In Units - so a control dragged in the designer changes that control's node and nothing else. A form is a window's content, so it is drawn on the theme's surface - white in the light look - rather than on the application's backdrop behind it.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Get Text
FunctionThe text of the piece called a name in the running interface: what a text box holds, a label says, or the choice a list or a dropdown has selected.
GetText(name: Text) -> Text
string GetText(string name)
Parameters
| name | type | default | description |
|---|---|---|---|
| name | Text | — | The piece's name. |
Returns
| Text | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Get Value
FunctionThe number of the piece called a name in the running interface: a slider's, a number box's or a progress bar's.
GetValue(name: Text) -> Number
double GetValue(string name)
Parameters
| name | type | default | description |
|---|---|---|---|
| name | Text | — | The piece's name. |
Returns
| Value | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Grid
FunctionA grid of equal cells: the pieces wired into it fill it in reading order, a row at a time.
Grid -> UniformGrid
content: Widget Array
columns: Integer
spacing: NumberUniformGrid Grid(
Widget[] content,
int columns = 2,
double spacing = 8)Parameters
| name | type | default | description |
|---|---|---|---|
| content | Widget Array | — | The pieces, in reading order. |
| columns | Integer | 2 | How many cells make a row. |
| spacing | Number | 8 | The gap between two cells, in pixels. |
Returns
| Grid | UniformGrid |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Group
FunctionA group: a titled frame around its content.
Group(title: Text, content: Widget) -> GroupBox
GroupBox Group(string title = "", Widget content)
Parameters
| name | type | default | description |
|---|---|---|---|
| title | Text | — | The group's title. |
| content | Widget | — | What the group holds. |
Returns
| Group | GroupBox |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Heading
FunctionA heading: large text that names what follows.
Heading(text: Text) -> Heading
Heading Heading(string text = "")
Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | — | What it says. |
Returns
| Heading | Heading |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Image
FunctionA picture.
Image(image: Pixel Image) -> ImageView
ImageView Image(PixelImage image)
Parameters
| name | type | default | description |
|---|---|---|---|
| image | Pixel Image | — | The picture shown. |
Returns
| Image | ImageView |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Is Checked
FunctionWhether the piece called a name in the running interface is ticked: a check box, a switch or a choice.
IsChecked(name: Text) -> Truth
bool IsChecked(string name)
Parameters
| name | type | default | description |
|---|---|---|---|
| name | Text | — | The piece's name. |
Returns
| Checked | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Label
FunctionA line of text.
Label(text: Text) -> Label
Label Label(string text = "")
Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | — | What it says. |
Returns
| Label | Label |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Link
FunctionA link: text a person clicks, which runs whatever its Click is pointed at.
Link(text: Text) -> LinkLabel
LinkLabel Link(string text = "")
Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | — | What it says. |
Returns
| Link | LinkLabel |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
List
FunctionA list of lines of text, one of which a person can select.
List(items: Text Array) -> ListBox
ListBox List(string[] items)
Parameters
| name | type | default | description |
|---|---|---|---|
| items | Text Array | — | The lines, top to bottom. |
Returns
| List | ListBox |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Number Box
FunctionA box a person types a number into, or drags to change it.
NumberBox(value: Number) -> NumberBox
NumberBox NumberBox(double value = 0)
Parameters
| name | type | default | description |
|---|---|---|---|
| value | Number | 0 | The number it starts at. |
Returns
| Number Box | NumberBox |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Password Box
FunctionA box a person types a password into, shown as dots.
PasswordBox(placeholder: Text) -> PasswordBox
PasswordBox PasswordBox(string placeholder = "")
Parameters
| name | type | default | description |
|---|---|---|---|
| placeholder | Text | — | What it says, faintly, while it is empty. |
Returns
| Password Box | PasswordBox |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Press
FunctionPresses the button called a name in the running interface, as though a person had pressed it.
Press(name: Text)
void Press(string name)
Parameters
| name | type | default | description |
|---|---|---|---|
| name | Text | — | The button's name. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Progress Bar
FunctionA bar that fills as a value goes from 0 to 1.
ProgressBar(value: Number) -> ProgressBar
ProgressBar ProgressBar(double value = 0)
Parameters
| name | type | default | description |
|---|---|---|---|
| value | Number | 0 | How full it starts, from 0 to 1. |
Returns
| Progress Bar | ProgressBar |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Radio Button
FunctionOne of a set of choices a person picks between: choosing one clears the others in the same row or column.
RadioButton(text: Text, isChecked: Truth) -> RadioButton
RadioButton RadioButton(
string text = "",
bool isChecked = false)Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | — | What it says. |
| isChecked | Truth | False | Whether it starts chosen. |
Returns
| Radio Button | RadioButton |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Row
FunctionA row: the pieces wired into it, side by side, in the order they are wired.
Row(content: Widget Array, spacing: Number) -> StackPanel
StackPanel Row(Widget[] content, double spacing = 8)
Parameters
| name | type | default | description |
|---|---|---|---|
| content | Widget Array | — | The pieces, left to right. |
| spacing | Number | 8 | The gap between two pieces, in pixels. |
Returns
| Row | StackPanel |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Scroll
FunctionA piece that scrolls when it is taller than the room it is given.
Scroll(content: Widget) -> ScrollView
ScrollView Scroll(Widget content)
Parameters
| name | type | default | description |
|---|---|---|---|
| content | Widget | — | What scrolls. |
Returns
| Scroll | ScrollView |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Selected Index
FunctionWhich line, choice or row of the piece called a name in the running interface is selected, from 0; -1 when none is.
SelectedIndex(name: Text) -> Integer
int SelectedIndex(string name)
Parameters
| name | type | default | description |
|---|---|---|---|
| name | Text | — | The piece's name. |
Returns
| Index | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Separator
FunctionA thin line between two pieces.
Separator() -> Separator
Separator Separator()
Returns
| Separator | Separator |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Set Checked
FunctionTicks or clears the piece called a name in the running interface: a check box, a switch or a choice.
SetChecked(name: Text, isChecked: Truth)
void SetChecked(string name, bool isChecked)
Parameters
| name | type | default | description |
|---|---|---|---|
| name | Text | — | The piece's name. |
| isChecked | Truth | — | Whether it is ticked. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Set Enabled
FunctionWhether a person can use the piece called a name in the running interface; one that cannot is drawn faded.
SetEnabled(name: Text, enabled: Truth)
void SetEnabled(string name, bool enabled)
Parameters
| name | type | default | description |
|---|---|---|---|
| name | Text | — | The piece's name. |
| enabled | Truth | — | Whether it can be used. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Set Items
FunctionReplaces the lines of the list or the choices of the dropdown called a name in the running interface.
SetItems(name: Text, items: Text Array)
void SetItems(string name, string[] items)
Parameters
| name | type | default | description |
|---|---|---|---|
| name | Text | — | The piece's name. |
| items | Text Array | — | The lines, in order. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Set Table
FunctionShows another table in the table called a name in the running interface.
SetTable(name: Text, table: Table)
void SetTable(string name, Table table)
Parameters
| name | type | default | description |
|---|---|---|---|
| name | Text | — | The table's name. |
| table | Table | — | The table shown. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Set Text
FunctionSets the text of the piece called a name in the running interface: a label's words, a button's, a text box's contents.
SetText(name: Text, text: Text)
void SetText(string name, string text)
Parameters
| name | type | default | description |
|---|---|---|---|
| name | Text | — | The piece's name. |
| text | Text | — | The text. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Set Value
FunctionSets the number of the piece called a name in the running interface: a slider's, a number box's or a progress bar's.
SetValue(name: Text, value: Number)
void SetValue(string name, double value)
Parameters
| name | type | default | description |
|---|---|---|---|
| name | Text | — | The piece's name. |
| value | Number | — | The number. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Set Visible
FunctionWhether the piece called a name in the running interface is shown; one that is not takes no room.
SetVisible(name: Text, visible: Truth)
void SetVisible(string name, bool visible)
Parameters
| name | type | default | description |
|---|---|---|---|
| name | Text | — | The piece's name. |
| visible | Truth | — | Whether it is shown. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Show
FunctionRuns an interface until it is closed: in the editor, live in the Active Preview; in a published program, in a window of its own. While it runs, its events run the Routines they are pointed at.
Show
content: Widget
title: Text
width: Integer
height: Integervoid Show(
Widget content,
string title = "",
int width = 640,
int height = 480)Parameters
| name | type | default | description |
|---|---|---|---|
| content | Widget | — | What is shown: the piece a Components graph made. |
| title | Text | — | The interface's title. |
| width | Integer | 640 | How wide it asks to be, in pixels. |
| height | Integer | 480 | How tall it asks to be, in pixels. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Slider
FunctionA slider a person drags between a least and a greatest value.
Slider -> Slider
value: Number
minimum: Number
maximum: NumberSlider Slider(
double value = 0,
double minimum = 0,
double maximum = 100)Parameters
| name | type | default | description |
|---|---|---|---|
| value | Number | 0 | The value it starts at. |
| minimum | Number | 0 | The least value. |
| maximum | Number | 100 | The greatest value. |
Returns
| Slider | Slider |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Spacer
FunctionEmpty room: a gap of a given size, or of whatever room is left over.
Spacer(size: Number) -> Spacer
Spacer Spacer(double size = 0)
Parameters
| name | type | default | description |
|---|---|---|---|
| size | Number | 0 | The gap, in pixels; 0 takes whatever room is left. |
Returns
| Spacer | Spacer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Split
FunctionTwo pieces side by side, with a bar between them a person drags to share the room.
Split(first: Widget, second: Widget) -> SplitView
SplitView Split(Widget first, Widget second)
Parameters
| name | type | default | description |
|---|---|---|---|
| first | Widget | — | The left piece. |
| second | Widget | — | The right piece. |
Returns
| Split | SplitView |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Tab
FunctionOne page of a set of tabs: its title, and what it shows when it is chosen.
Tab(title: Text, content: Widget) -> TabPage
TabPage Tab(string title = "", Widget content)
Parameters
| name | type | default | description |
|---|---|---|---|
| title | Text | — | The tab's title. |
| content | Widget | — | What the page shows. |
Returns
| Tab | TabPage |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Table
FunctionA table shown as rows and columns, one row of which a person can select.
Table(table: Table) -> Table View
TableView Table(Table table)
Parameters
| name | type | default | description |
|---|---|---|---|
| table | Table | — | The table shown. |
Returns
| Table | Table View |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Tabs
FunctionA set of tabs: the pages wired into it, one shown at a time, chosen by its title.
Tabs(pages: TabPage Array) -> TabView
TabView Tabs(TabPage[] pages)
Parameters
| name | type | default | description |
|---|---|---|---|
| pages | TabPage Array | — | The pages, in the order their tabs read. |
Returns
| Tabs | TabView |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Text Box
FunctionA box a person types a line of text into.
TextBox(text: Text, placeholder: Text) -> TextBox
TextBox TextBox(string text = "", string placeholder = "")
Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | — | The text it starts with. |
| placeholder | Text | — | What it says, faintly, while it is empty. |
Returns
| Text Box | TextBox |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Toggle
FunctionA switch a person turns on or off.
Toggle(text: Text, isOn: Truth) -> ToggleSwitch
ToggleSwitch Toggle(string text = "", bool isOn = false)
Parameters
| name | type | default | description |
|---|---|---|---|
| text | Text | — | What it says. |
| isOn | Truth | False | Whether it starts on. |
Returns
| Toggle | ToggleSwitch |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components
Wrap
FunctionA wrapping row: the pieces wired into it side by side, carried on to the next line where they run out of room.
Wrap(content: Widget Array, spacing: Number) -> WrapPanel
WrapPanel Wrap(Widget[] content, double spacing = 8)
Parameters
| name | type | default | description |
|---|---|---|---|
| content | Widget Array | — | The pieces, in reading order. |
| spacing | Number | 8 | The gap between two pieces, and between two lines, in pixels. |
Returns
| Wrap | WrapPanel |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- GUI Components
- Package
- GUI Components