Skip to main content

Separator

Client Server

Methods

Separator Set(table properties)

Widget WidgetByName(string name)

Properties

string type

integer id

boolean destroyed

Widget parent

Window window

table children

integer childCount

boolean hasChildren

Widget next

Widget prev

boolean isWindow

boolean isContainer

boolean isSelected

string name

string tooltip

boolean visible

boolean enabled

Vec2 size

string sizing

string sizingX

string sizingY

Vec2 pos

string posType

Vec2 sizePx

Vec2 posPx

string overflow

boolean endLine

integer siblingIndex

Vec2 padding

string paddingMode

number rounding

string roundingMode

integer roundCorners

boolean glyphFade

Vec2 margin

string marginMode

Vec2 gap

string alignItems

string alignSelf

string justifyContent

Vec2 mp

boolean bgFrame

Color bgColor

Color borderColor

Color textColor

number fontSize

boolean fontBold

string fontName

Vec2 textAlign

integer intVar

boolean showNoValue

fun(widget:Widget, ...) onHoverEx

fun(widget:Widget, ...) onHoverEndEx

fun(widget:Widget, ...) onFocusEx

fun(widget:Widget, ...) onFocusEndEx

fun(widget:Widget, ...) onPressStartEx

fun(widget:Widget, ...) onPressCancelEx

fun(widget:Widget, ...) onPressEx

fun(widget:Widget, ...) onRightPressEx

fun(widget:Widget, ...) onMouseMoveEx

fun(widget:Widget, ...) onKeyDownEx

fun(widget:Widget, ...) onKeyUpEx

fun(widget:Widget, ...) onValueChangeEx

fun(widget:Widget):any onDragStartEx

fun(widget:Widget, var:any, varList:table, pos:Vec2):boolean? onDragOverEx

fun(widget:Widget) onDragLeaveEx

fun(widget:Widget, var:any, varList:table, pos:Vec2):boolean? onDragEndEx

string onPress

string onPressStart

string onPressCancel

string onMouseMove

string onHover

string onHoverEnd

string onFocus

string onFocusEnd

string onKeyDown

string onKeyUp

string onValueChange

string onDragStart

string onDragOver

string onDragLeave

string onDragEnd