uiΒΆ

A package of functions dedicated to managing UI

Functions:

Border border ui.border ( string|number|nil name , Window parent ) Create a Border window
Window control ui.control ( Window parent , Plug|{Plug} plug , type desc ) Create a dedicated Window that can control a Plug or a list of Plugs
nil ui.disableupdates ( ) Globally disables UI updates
DropList droplist ui.droplist ( string|number|nil name , Window parent ) Create an DropList window
Text text ui.dyntext ( string|number|nil name , Window parent ) Create a static Text window
Edit editbox ui.edit ( string|number|nil name , Window parent ) Create an Edit window
EditBox editbox ui.editbox ( string|number|nil name , Window parent ) Create an EditBox window
nil ui.editnode ( Node node , Node focus , Window view ) Set the ui to edit a node
nil ui.enableupdates ( ) Globally enables UI updates
nil ui.focusview ( string viewtype ) Focus the first view of the given type, or create a new one in the active tab if none found
Window activeview ui.getactiveview ( ) Return the current active view (the one with the orange frame)
Window path ui.getactiveviewpath ( ) Return the path to the node edited in the current active view
{Window} roots ui.getrootwindows ( ) Return a table of all root windows
types.string path ui.getthemepath ( ) Get the current theme path
Window linker ui.linker ( string|number|nil name , Window parent , types.string|table mode , types.bool invert ) Open a Linker with preselected mode
Window linker ui.linkerbox ( string|number|nil name , Window parent , types.string|table mode , types.bool invert ) Open a Linker within a TitleWindow with preselected mode
nil ui.loadlayout ( string file ) Load a window layout file, replace the current layout
nil ui.loadtheme ( string filename ) Load a theme file
Window property ui.propertybox ( [ table selection ] ) Open a property box window
Quad quad ui.quad ( string|number|nil name , Window parent ) Create a Quad window
nil ui.savelayout ( string file ) Save the current window layout into a file
nil ui.savetheme ( string filename ) Save a theme file
nil ui.setactiveviewpath ( string path ) Set the active view to edit a node
nil ui.setmousebuttonhandler ( class windowclass , string button , number|nil mod , string event , the handler ) Binds the provided handler to the window event
Text text ui.text ( string|number|nil name , Window parent ) Create a static Text window
TextButton button ui.textbutton ( string|number|nil name , Window parent , string text ) Create a TextButton
TitleWindow window ui.titlewindow ( string|number|nil name , Window parent ) Create an TitleWindow. You must call the show method to make the window visible.
Tree tree ui.tree ( string|number|nil name , Window parent ) Create an Tree
Tree tree ui.treeex ( string|number|nil name , Window parent ) Create a TreeEx
Window window ui.window ( string|number|nil name , Window parent ) Create a simple Window