Widgetsystem function overview

Last modified by stefan on 2023/08/15 17:08

Version

Function

Note

 

ActivateEditBox(editboxID)

 

 

CallEventScripts(eventName, argument1)

 

 

CallHotkeyScripts(action)

 

 

CallUpdateScripts()

 

 

CallWidgetEventScripts(widget, eventName, ...)

 

 

CancelEditBoxInput(editboxID)

 

 

ConfirmEditBoxInput(editboxID)

 

added in 4.00 Beta 1

DrawCircle(radiusx, radiusy, centerx, centery, z, color)

 

added in 4.00 Beta 1

DrawRect(width, height, offsetx, offsety, angle, z, color)

 

added in 4.00 Beta 1

DrawTriangle(width, height, offsetx, offsety, angle, z, color)

 

 

GetRenderTargetMousePosition(renderTargetID)

 

 

GetRenderTargetTexture(renderTargetID)

 

 

GetSliderValue(sliderID)

 

 

GetTopRow(tableID)

 

 

GetUsableTableWidth(width, offsetx, numColumns, hasScrollBar)

 

added in 4.00 Beta 1

HideAllCircles()

 

added in 4.00 Beta 1

HideAllRects()

 

added in 4.00 Beta 1

HideAllShapes()

 

added in 4.00 Beta 1

HideAllTriangles()

 

added in 4.00 Beta 1

HideCircle(id)

 

added in 4.00 Beta 1

HideRect(id)

 

added in 4.00 Beta 1

HideTriangle(id)

 

added in 4.00 Beta 1

IsFullscreenWidgetSystem()

 

 

RegisterEvent(eventName, scriptFunction)

 

 

RemoveScript(widget, handle, scriptFunction)

 

 

SelectColumn(tableID, column)

 

 

SelectRow(tableID, row)

 

 

SetScript([widget, ]handle, scriptFunction)
Sets a function to be called upon a triggering handle. If a widget element is specified, the function is called when the handle is triggered on the widget element.

 

Unknown macro: expand. Click on this message for details.

 

 

SetTopRow(tableID, row)

 

 

 

 

 

 

 

 

UnregisterEvent(eventName, scriptFunction)