Skip to main content

Checkbox

Client Server

Methods​

Checkbox Set(table properties)​

Widget WidgetByName(string name)​

Properties​

string type​

integer id​

boolean isDestroyed​

Widget parent​

Window window​

table children​

integer childCount​

boolean hasChildren​

Widget next​

Widget prev​

boolean isWindow​

boolean isContainer​

boolean isSelected​

string name​

string tooltip​

string tooltipTitle​

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​

string cornerShape​

integer roundCorners​

boolean glyphFade​

Vec2 margin​

string marginMode​

Vec2 gap​

Vec2 translate​

Vec2 scale​

Vec2 scaleOrigin​

number opacity​

string alignItems​

string alignSelf​

string justifyContent​

Vec2 mp​

boolean bgFrame​

string cursor​

boolean dragHighlight​

Color bgColor​

Color borderColor​

number borderWidth​

Color textColor​

number fontSize​

boolean fontBold​

string fontName​

Vec2 textAlign​

boolean outline​

Color outlineColor​

number outlineWidth​

Color outline2Color​

number outline2Width​

boolean effectOutline​

boolean shadow​

Color shadowColor​

Vec2 shadowOffset​

number shadowSoftness​

number weight​

table fx​

table fill​

table layers​

boolean pixelSnap​

boolean ellipsis​

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, key:string) onKeyDownEx​

fun(widget:Widget, key:string) onKeyUpEx​

fun(widget:Widget, ...) onValueChangeEx​

fun(widget:Widget, value:any, oldValue:any) onValueCommitEx​

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​

fun(widget:Widget, active:boolean, var:any, varList:table) onDragSessionEx​

string onPress​

string onPressStart​

string onPressCancel​

string onMouseMove​

string onHover​

string onHoverEnd​

string onFocus​

string onFocusEnd​

string onKeyDown​

string onKeyUp​

string onValueChange​

string onValueCommit​

string onDragStart​

string onDragOver​

string onDragLeave​

string onDragEnd​

string text​

boolean value​

string checkboxType​

number switchHeight​