GUI class, available in: Framsticks TheaterManage GUI elementsThis class has 37 members:
sdleiF
Element bottom_center ROBottom center group
Element bottom_left ROBottom left group
Element bottom_right ROBottom right group
string clipboardClipboard contents
int KEY_BACK RO
int KEY_LEFT RO
int KEY_MENU RO
int KEY_RIGHT RO
int KEY_SEARCH RO
Rectangle rect ROArea available for GUIAvailable GUI area (excluding margins when applicable). List layout function receives its current list item area as GUI.rect
Element top_center ROTop center group
Element top_left ROTop left group
Element top_right ROTop right group
snoitcnuF
function fontHeight(int font_id)doesn't return a valueFont height
function get(string name)returns GUIElementGet gui element by nameReturns null if there is no such element
function messageBox(string title, string message)doesn't return a valueDisplay message box
function messageBox4(string title, string message, Vector buttons, FunctionReference function)doesn't return a valueDisplay message box
function newBlocker(string name)returns GUIElementCreate a blocker
function newBubble(string name, string text)returns GUIElementCreate a help bubble
function newButton(string name, string text)returns GUIElementCreate a button
function newCheckbox(string name, string text)returns GUIElementCreate a checkbox
function newDrawing(string name)returns GUIElementCreate a drawing
function newGroup(string name)returns GUIElementCreate a group
function newImage(string name, string filename)returns GUIElementCreate an image
function newLabel(string name, string text)returns GUIElementCreate a label
function newList(string name)returns GUIElementCreate a list view
function newMenu(string name, object menu_items)returns GUIElementCreate a menu
function newModel(string name, string genotype)returns GUIElementCreate a modelviewer
function newScroll(string name)returns GUIElementCreate a scroll area
function newSlider(string name, int value, int min, int max)returns GUIElementCreate a slider
function newSpinner(string name)returns GUIElementCreate a waiting animaton
function newTextField(string name, string text)returns GUIElementCreate a text field
function newTextview(string name, string text)returns GUIElementCreate a text viewer
function playSound(string name)doesn't return a valuePlay sound
function removeAll()doesn't return a valueRemove all gui elements
function removeElement(untyped object_or_name)doesn't return a valueRemove gui element
function setTimeout(string identifier, float timeout, FunctionReference function)doesn't return a valueSchedule timed eventEvents can be rescheduled by reusing identifiers. Cancel the event by setting its function to null.
Global context>>Experiment definition>>Command line interface>>Framsticks Theater