Immediate GUI Application
70 nodes
On this page 70
Make Immediate GUI Application
FunctionThis node carries no documentation.
ImmediateGUIApplication() -> Immediate GUI Application
ImmediateGUIApplication ImmediateGUIApplication()
Returns
| Immediate GUI Application | Immediate GUI Application |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Button
FunctionThis node carries no documentation.
AddButton -> Truth
Immediate GUI Application: Immediate GUI Application
caption: Textbool AddButton(
ImmediateGUIApplication Immediate GUI Application,
string caption)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| caption | Text | — |
Returns
| Pressed | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Caption
FunctionA quieter line, for a unit or an explanation.
AddCaption
Immediate GUI Application: Immediate GUI Application
text: Textvoid AddCaption(
ImmediateGUIApplication Immediate GUI Application,
string text)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| text | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Check Box
FunctionThis node carries no documentation.
AddCheckBox -> Truth
Immediate GUI Application: Immediate GUI Application
label: Text
ticked: Truthbool AddCheckBox(
ImmediateGUIApplication Immediate GUI Application,
string label,
bool ticked)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| label | Text | — | |
| ticked | Truth | — |
Returns
| Ticked | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Drop Down
FunctionThis node carries no documentation.
AddDropDown -> Integer
Immediate GUI Application: Immediate GUI Application
label: Text
items: Text Array
selected: Integerint AddDropDown(
ImmediateGUIApplication Immediate GUI Application,
string label,
string[] items,
int selected)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| label | Text | — | |
| items | Text Array | — | |
| selected | Integer | — |
Returns
| Selected | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Label
FunctionThe graph-facing widgets: a value goes in and the new value comes out.
AddLabel
Immediate GUI Application: Immediate GUI Application
text: Textvoid AddLabel(
ImmediateGUIApplication Immediate GUI Application,
string text)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| text | Text | — | What it reads. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add List
FunctionThis node carries no documentation.
AddList -> Integer
Immediate GUI Application: Immediate GUI Application
label: Text
items: Text Array
selected: Integerint AddList(
ImmediateGUIApplication Immediate GUI Application,
string label,
string[] items,
int selected)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| label | Text | — | |
| items | Text Array | — | |
| selected | Integer | — |
Returns
| Selected | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Menu Item
FunctionThis node carries no documentation.
AddMenuItem -> Truth
Immediate GUI Application: Immediate GUI Application
label: Text
shortcut: Textbool AddMenuItem(
ImmediateGUIApplication Immediate GUI Application,
string label,
string shortcut = "")Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| label | Text | — | |
| shortcut | Text | — |
Returns
| Chosen | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add On Same Line
FunctionPut the next widget on the same line as the previous one.
AddOnSameLine(Immediate GUI Application: Immediate GUI Application)
void AddOnSameLine(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Paragraph
FunctionA paragraph, broken to the width available.
AddParagraph
Immediate GUI Application: Immediate GUI Application
text: Textvoid AddParagraph(
ImmediateGUIApplication Immediate GUI Application,
string text)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| text | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Primary Button
FunctionThe one action a person most likely came for.
AddPrimaryButton -> Truth
Immediate GUI Application: Immediate GUI Application
caption: Textbool AddPrimaryButton(
ImmediateGUIApplication Immediate GUI Application,
string caption)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| caption | Text | — |
Returns
| Pressed | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Progress Bar
FunctionThis node carries no documentation.
AddProgressBar
Immediate GUI Application: Immediate GUI Application
fraction: Number
caption: Textvoid AddProgressBar(
ImmediateGUIApplication Immediate GUI Application,
double fraction,
string caption = "")Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| fraction | Number | — | 0 to 1. |
| caption | Text | — | A quiet reading on the right, or nothing. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Radio Button
FunctionThis node carries no documentation.
AddRadioButton -> Integer
Immediate GUI Application: Immediate GUI Application
label: Text
option: Integer
selected: Integerint AddRadioButton(
ImmediateGUIApplication Immediate GUI Application,
string label,
int option,
int selected)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| label | Text | — | What it reads. |
| option | Integer | — | Which value this button stands for. |
| selected | Integer | — | Which value is currently chosen. |
Returns
| Selected | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Separator
FunctionThis node carries no documentation.
AddSeparator(Immediate GUI Application: Immediate GUI Application)
void AddSeparator(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Slider
FunctionThis node carries no documentation.
AddSlider -> Number
Immediate GUI Application: Immediate GUI Application
label: Text
value: Number
minimum: Number
maximum: Numberdouble AddSlider(
ImmediateGUIApplication Immediate GUI Application,
string label,
double value,
double minimum = 0,
double maximum = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| label | Text | — | |
| value | Number | — | |
| minimum | Number | 0 | |
| maximum | Number | 1 |
Returns
| Value | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Spacing
FunctionThis node carries no documentation.
AddSpacing(Immediate GUI Application: Immediate GUI Application)
void AddSpacing(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Text Box
FunctionThis node carries no documentation.
AddTextBox -> Text
Immediate GUI Application: Immediate GUI Application
label: Text
text: Text
placeholder: Textstring AddTextBox(
ImmediateGUIApplication Immediate GUI Application,
string label,
string text,
string placeholder = "")Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| label | Text | — | |
| text | Text | — | |
| placeholder | Text | — |
Returns
| Text | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Title
FunctionA heading.
AddTitle
Immediate GUI Application: Immediate GUI Application
text: Textvoid AddTitle(
ImmediateGUIApplication Immediate GUI Application,
string text)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| text | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Add Title Bar
FunctionA drag handle and a close button for a window with no frame of its own.
AddTitleBar -> Truth
Immediate GUI Application: Immediate GUI Application
title: Textbool AddTitleBar(
ImmediateGUIApplication Immediate GUI Application,
string title)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| title | Text | — |
Returns
| Closed | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Begin Drawing Area
FunctionReserves a box of the given height and answers where it is, for a graph that draws its own picture.
BeginDrawingArea -> (left: Number, top: Number, width: Number, height: Number)
Immediate GUI Application: Immediate GUI Application
label: Text
areaHeight: Numbervoid BeginDrawingArea(
ImmediateGUIApplication Immediate GUI Application,
string label,
double areaHeight,
out double left,
out double top,
out double width,
out double height)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| label | Text | — | |
| areaHeight | Number | — |
Returns
| left | Number |
| top | Number |
| width | Number |
| height | Number |
Remarks
The escape hatch: a graph that has a waveform, a plot or a preview to show asks for a box and draws into it with the drawing tools below, which is the same arrangement the realtime procedural base type offers over the whole window. Matched by ImmediateGUIApplication.EndDrawingArea.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Begin Menu
FunctionOne title on the menu bar.
BeginMenu -> Truth
Immediate GUI Application: Immediate GUI Application
title: Textbool BeginMenu(
ImmediateGUIApplication Immediate GUI Application,
string title)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| title | Text | — |
Returns
| Open | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Begin Menu Bar
FunctionA strip of menu titles. Matched by ImmediateGUIApplication.EndMenuBar.
BeginMenuBar(Immediate GUI Application: Immediate GUI Application)
void BeginMenuBar(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Begin Panel
FunctionOpens a floating panel. Everything added until ImmediateGUIApplication.EndPanel lands inside it.
BeginPanel -> Truth
Immediate GUI Application: Immediate GUI Application
title: Textbool BeginPanel(
ImmediateGUIApplication Immediate GUI Application,
string title)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| title | Text | — |
Returns
| Visible | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Begin Screen
FunctionThe whole window as one region with no panel chrome: what a single-screen tool declares.
BeginScreen(Immediate GUI Application: Immediate GUI Application) -> Truth
bool BeginScreen(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| Visible | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Close
FunctionAsk to stop after this frame.
Close(Immediate GUI Application: Immediate GUI Application)
void Close(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Dispose
FunctionThis node carries no documentation.
Dispose(Immediate GUI Application: Immediate GUI Application)
void Dispose(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Draw Circle
FunctionThis node carries no documentation.
DrawCircle
Immediate GUI Application: Immediate GUI Application
x: Number
y: Number
radius: Number
colour: Colorvoid DrawCircle(
ImmediateGUIApplication Immediate GUI Application,
double x,
double y,
double radius,
ColorElement colour)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| x | Number | — | |
| y | Number | — | |
| radius | Number | — | |
| colour | Color | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Draw Image
FunctionThis node carries no documentation.
DrawImage
Immediate GUI Application: Immediate GUI Application
image: Pixel Image
x: Number
y: Number
width: Number
height: Numbervoid DrawImage(
ImmediateGUIApplication Immediate GUI Application,
PixelImage image,
double x,
double y,
double width,
double height)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| image | Pixel Image | — | |
| x | Number | — | |
| y | Number | — | |
| width | Number | — | |
| height | Number | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Draw Line
FunctionThis node carries no documentation.
DrawLine
Immediate GUI Application: Immediate GUI Application
x1: Number
y1: Number
x2: Number
y2: Number
thickness: Number
colour: Colorvoid DrawLine(
ImmediateGUIApplication Immediate GUI Application,
double x1,
double y1,
double x2,
double y2,
double thickness,
ColorElement colour)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| x1 | Number | — | |
| y1 | Number | — | |
| x2 | Number | — | |
| y2 | Number | — | |
| thickness | Number | — | |
| colour | Color | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Draw Rectangle
FunctionA filled rectangle, in surface pixels.
DrawRectangle
Immediate GUI Application: Immediate GUI Application
x: Number
y: Number
width: Number
height: Number
colour: Colorvoid DrawRectangle(
ImmediateGUIApplication Immediate GUI Application,
double x,
double y,
double width,
double height,
ColorElement colour)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| x | Number | — | |
| y | Number | — | |
| width | Number | — | |
| height | Number | — | |
| colour | Color | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Draw Rounded Rectangle
FunctionA filled rectangle with rounded corners.
DrawRoundedRectangle
Immediate GUI Application: Immediate GUI Application
x: Number
y: Number
width: Number
height: Number
radius: Number
colour: Colorvoid DrawRoundedRectangle(
ImmediateGUIApplication Immediate GUI Application,
double x,
double y,
double width,
double height,
double radius,
ColorElement colour)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| x | Number | — | |
| y | Number | — | |
| width | Number | — | |
| height | Number | — | |
| radius | Number | — | |
| colour | Color | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Draw Text
FunctionA run of text with its left edge and baseline named exactly.
DrawText
Immediate GUI Application: Immediate GUI Application
text: Text
x: Number
baseline: Number
colour: Colorvoid DrawText(
ImmediateGUIApplication Immediate GUI Application,
string text,
double x,
double baseline,
ColorElement colour)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| text | Text | — | |
| x | Number | — | |
| baseline | Number | — | |
| colour | Color | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Draw Text At Size
FunctionA run of text at an exact pixel size, for a headline a role could not name.
DrawTextAtSize
Immediate GUI Application: Immediate GUI Application
text: Text
x: Number
baseline: Number
size: Number
colour: Colorvoid DrawTextAtSize(
ImmediateGUIApplication Immediate GUI Application,
string text,
double x,
double baseline,
double size,
ColorElement colour)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| text | Text | — | |
| x | Number | — | |
| baseline | Number | — | |
| size | Number | — | The em size in pixels. |
| colour | Color | — |
Remarks
The type ramp is sized for widgets inside a panel, and a full-screen overlay's one line - a countdown, a
warning over somebody's desktop - is a fraction of the screen rather than a step on that scale. Paired
with ImmediateGUIApplication.MeasureText, which is what centring it needs.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Draw Wrapped Text At Size
FunctionText at an exact pixel size, broken into lines no wider than a width, every line centred and the block centred on a point: an overlay's sentence, which has to fit the screen it stands on.
DrawWrappedTextAtSize
Immediate GUI Application: Immediate GUI Application
text: Text
centreX: Number
centreY: Number
width: Number
size: Number
colour: Colorvoid DrawWrappedTextAtSize(
ImmediateGUIApplication Immediate GUI Application,
string text,
double centreX,
double centreY,
double width,
double size,
ColorElement colour)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| text | Text | — | What to say; a newline in it starts a new line. |
| centreX | Number | — | Where the middle of every line goes. |
| centreY | Number | — | Where the middle of the whole block goes. |
| width | Number | — | How wide a line may be. |
| size | Number | — | The em size in pixels. |
| colour | Color | — | The colour of every line. |
Remarks
ImmediateGUIApplication.DrawTextAtSize draws one line, and a headline sized as a fraction of the screen runs off both edges the moment it is a sentence rather than a word - which is what the desktop automation example's refusals did on a screen of ordinary width. This breaks on spaces, as ImmediateGUIApplication.AddParagraph does, keeps the newlines the text already has, and leaves a word wider than the width whole rather than cutting it.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
End Drawing Area
FunctionThis node carries no documentation.
EndDrawingArea(Immediate GUI Application: Immediate GUI Application)
void EndDrawingArea(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
End Menu
FunctionThis node carries no documentation.
EndMenu(Immediate GUI Application: Immediate GUI Application)
void EndMenu(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
End Menu Bar
FunctionThis node carries no documentation.
EndMenuBar(Immediate GUI Application: Immediate GUI Application)
void EndMenuBar(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
End Panel
FunctionThis node carries no documentation.
EndPanel(Immediate GUI Application: Immediate GUI Application)
void EndPanel(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Close Requested
FunctionWhether the application has asked to stop. A host reads this and ends its loop.
CloseRequested(Immediate GUI Application: Immediate GUI Application) -> Truth
bool CloseRequested(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Elapsed Time
FunctionMilliseconds the last frame took. Set by whatever drives the loop.
ElapsedTime(Immediate GUI Application: Immediate GUI Application) -> Number
double ElapsedTime(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Gui
FunctionThe interface itself: every widget, the layout and the theme.
GUI(Immediate GUI Application: Immediate GUI Application) -> Immediate GUI
ImmediateGUI GUI(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| result | Immediate GUI |
Remarks
Public because a C# subclass declares its interface through it directly, and because the framework's driver needs it. A graph reaches the same widgets through the wrappers below, which take and return values instead of taking them by reference - a dataflow graph has a value on a wire and nowhere to put a `ref`.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Host
FunctionThe host running this application, attached by whatever is running it.
Host(Immediate GUI Application: Immediate GUI Application) -> I Immediate GUI Host
IImmediateGUIHost Host(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| result | I Immediate GUI Host |
Remarks
Settable rather than constructed here, for the reason RealtimeApplication.AudioOutput records: the package a graph is authored against must not depend on a backend. Null is an ordinary state - an application driven by a test has no window - and everything that needs one checks.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Last Frame
FunctionWhat the most recent frame answered.
LastFrame(Immediate GUI Application: Immediate GUI Application) -> Immediate Frame Result
ImmediateFrameResult LastFrame(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| result | Immediate Frame Result |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Storage
FunctionPer-run storage a node can keep something in.
Storage(Immediate GUI Application: Immediate GUI Application) -> Dictionary of Text to Any
Dictionary<string, object> Storage(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| result | Dictionary of Text to Any |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Surface
FunctionThe pixels. Rebuilt when the window is resized.
Surface(Immediate GUI Application: Immediate GUI Application) -> Immediate Surface
ImmediateSurface Surface(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| result | Immediate Surface |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Theme
FunctionThe theme the interface reads. Assign before the first frame; a later assignment takes effect on the next one.
Theme(Immediate GUI Application: Immediate GUI Application) -> Immediate Theme
ImmediateTheme Theme(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| result | Immediate Theme |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Window Options
FunctionWhat the window was asked to be. A host reads this after ImmediateGUIApplication.Start and before it opens anything.
WindowOptions(Immediate GUI Application: Immediate GUI Application) -> Immediate Window Options
ImmediateWindowOptions WindowOptions(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| result | Immediate Window Options |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Get Click Count
FunctionHow many clicks this press was the last of: one, two for a double click, three for a triple.
GetClickCount(Immediate GUI Application: Immediate GUI Application) -> Number
double GetClickCount(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| Clicks | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Get Elapsed Time
FunctionThis node carries no documentation.
GetElapsedTime(Immediate GUI Application: Immediate GUI Application) -> Number
double GetElapsedTime(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Get Pointer Position
FunctionWhere the pointer is, in surface pixels.
GetPointerPosition(Immediate GUI Application: Immediate GUI Application) -> (x: Number, y: Number)
void GetPointerPosition(
ImmediateGUIApplication Immediate GUI Application,
out double x,
out double y)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| x | Number |
| y | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Get Previous Pointer Position
FunctionWhere the pointer was on the previous frame, in surface pixels - the other end of a segment whose near end is ImmediateGUIApplication.GetPointerPosition.
GetPreviousPointerPosition(Immediate GUI Application: Immediate GUI Application) -> (x: Number, y: Number)
void GetPreviousPointerPosition(
ImmediateGUIApplication Immediate GUI Application,
out double x,
out double y)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| x | Number |
| y | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Get Typed Text
FunctionWhat the keyboard typed on this frame, as characters, or nothing on the frames nobody typed.
GetTypedText(Immediate GUI Application: Immediate GUI Application) -> Text
string GetTypedText(ImmediateGUIApplication Immediate GUI Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| Text | Text |
Remarks
The layout's own answer, which is the only way a number key means the number on a keyboard that is not the author's - and the reason ImmediateGUI.ImmediateKey carries no digits to compare against.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Get Window Size
FunctionHow big the drawing surface actually is, which is what the person can see rather than what was asked for.
GetWindowSize(Immediate GUI Application: Immediate GUI Application) -> (width: Number, height: Number)
void GetWindowSize(
ImmediateGUIApplication Immediate GUI Application,
out double width,
out double height)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — |
Returns
| width | Number |
| height | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Is Key Down
FunctionWhether a key is held right now.
IsKeyDown -> Truth
Immediate GUI Application: Immediate GUI Application
key: Immediate Keybool IsKeyDown(
ImmediateGUIApplication Immediate GUI Application,
ImmediateKey key)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| key | Immediate Key | — |
Returns
| Held | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Is Pointer Down
FunctionWhether a mouse button is held right now, which is what a drag asks.
IsPointerDown -> Truth
Immediate GUI Application: Immediate GUI Application
button: Mouse Buttonbool IsPointerDown(
ImmediateGUIApplication Immediate GUI Application,
MouseButton button = MouseButton.Left)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| button | Mouse Button | Left |
Returns
| Held | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Measure Text
FunctionHow wide a run of text draws at a pixel size, so a graph can centre it.
MeasureText -> Number
Immediate GUI Application: Immediate GUI Application
text: Text
size: Numberdouble MeasureText(
ImmediateGUIApplication Immediate GUI Application,
string text,
double size)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| text | Text | — | |
| size | Number | — |
Returns
| Width | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Set Always On Top
FunctionThis node carries no documentation.
SetAlwaysOnTop
Immediate GUI Application: Immediate GUI Application
onTop: Truthvoid SetAlwaysOnTop(
ImmediateGUIApplication Immediate GUI Application,
bool onTop = true)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| onTop | Truth | True |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Set Borderless
FunctionNo frame, no title bar. Declare an Add Title Bar row so the window can still be moved and closed.
SetBorderless
Immediate GUI Application: Immediate GUI Application
borderless: Truthvoid SetBorderless(
ImmediateGUIApplication Immediate GUI Application,
bool borderless = true)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| borderless | Truth | True |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Set Dark Theme
FunctionThe dark palette rather than the light one.
SetDarkTheme
Immediate GUI Application: Immediate GUI Application
dark: Truthvoid SetDarkTheme(
ImmediateGUIApplication Immediate GUI Application,
bool dark = true)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| dark | Truth | True |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Set Full Screen
FunctionThis node carries no documentation.
SetFullScreen
Immediate GUI Application: Immediate GUI Application
fullScreen: Truthvoid SetFullScreen(
ImmediateGUIApplication Immediate GUI Application,
bool fullScreen = true)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| fullScreen | Truth | True |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Set Overlay Window
FunctionA borderless, transparent, always-on-top window that stays out of the taskbar: the desktop overlay.
SetOverlayWindow
Immediate GUI Application: Immediate GUI Application
width: Number
height: Numbervoid SetOverlayWindow(
ImmediateGUIApplication Immediate GUI Application,
double width = 480,
double height = 320)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| width | Number | 480 | |
| height | Number | 320 |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Set Transparent Background
FunctionThe window's background shows the desktop through it, where the platform allows. Windows and macOS do; Linux needs a compositor.
SetTransparentBackground
Immediate GUI Application: Immediate GUI Application
transparent: Truthvoid SetTransparentBackground(
ImmediateGUIApplication Immediate GUI Application,
bool transparent = true)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| transparent | Truth | True |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Set Window Size
FunctionThe window's size, in pixels. Valid in ImmediateGUIApplication.Start.
SetWindowSize
Immediate GUI Application: Immediate GUI Application
width: Number
height: Numbervoid SetWindowSize(
ImmediateGUIApplication Immediate GUI Application,
double width = 1024,
double height = 720)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| width | Number | 1024 | |
| height | Number | 720 |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Set Window Title
FunctionThis node carries no documentation.
SetWindowTitle
Immediate GUI Application: Immediate GUI Application
title: Textvoid SetWindowTitle(
ImmediateGUIApplication Immediate GUI Application,
string title = "Divooka")Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| title | Text | Divooka |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Was Key Pressed
FunctionWhether a key went down on this frame, whatever was held with it.
WasKeyPressed -> Truth
Immediate GUI Application: Immediate GUI Application
key: Immediate Keybool WasKeyPressed(
ImmediateGUIApplication Immediate GUI Application,
ImmediateKey key)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| key | Immediate Key | — |
Returns
| Pressed | Truth |
Remarks
Any modifier rather than none, because a graph asking "was Escape pressed" means it however the person's other hand happened to be resting. A chord is not offered here: an interface wanting Ctrl+S is describing a command, and a menu item with a shortcut says so where a person can see it.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Was Pointer Pressed
FunctionWhether a mouse button went down on this frame, which is what a click asks.
WasPointerPressed -> Truth
Immediate GUI Application: Immediate GUI Application
button: Mouse Buttonbool WasPointerPressed(
ImmediateGUIApplication Immediate GUI Application,
MouseButton button = MouseButton.Left)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| button | Mouse Button | Left |
Returns
| Pressed | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Was Pointer Released
FunctionWhether a mouse button came up on this frame.
WasPointerReleased -> Truth
Immediate GUI Application: Immediate GUI Application
button: Mouse Buttonbool WasPointerReleased(
ImmediateGUIApplication Immediate GUI Application,
MouseButton button = MouseButton.Left)Parameters
| name | type | default | description |
|---|---|---|---|
| Immediate GUI Application | Immediate GUI Application | — | |
| button | Mouse Button | Left |
Returns
| Released | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Frame
EventDeclare the whole interface. Runs once per frame, and what it declares IS the interface for that frame.
Frame(deltaTimeMilliseconds: Number)
void Frame(double deltaTimeMilliseconds)
Parameters
| name | type | default | description |
|---|---|---|---|
| deltaTimeMilliseconds | Number | — | Time elapsed since the previous frame. |
Remarks
There is no separate place to handle a press: a button's own call answers whether it was pressed, on the frame it was pressed, so the thing that happens next is written where the button is. That is the whole difference from GUIApplication's Clicked, and the reason an immediate-mode graph has one callback where a described screen has four.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Initialized
EventThe window exists. Anything that needs to know how big it is, or to read the clipboard, belongs here rather than in ImmediateGUIApplication.Start.
Initialized()
void Initialized()
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI
Start
EventDivooka procedural program entry, equivalent to "Main" in many programming languages. Runs before the window exists, which is where the window's size, title and kind belong.
Start()
void Start()
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events StateMachineState
- Declared by
- Immediate GUI Application
- Package
- Immediate-Mode GUI