UI.Checkbox
From GiderosMobile
Available since: Gideros 2023.1
Class: UI
Description
Creates Checkbox widgets. The widget can be a Checkbox or a Radio.
UI.Checkbox.new()
Examples
A Checkbox
local gui = UI.Checkbox.new()
gui:setPosition(50, 50)
stage:addChild(gui)
gui:setTicked(true)
gui:setTristate(true)
function gui:onWidgetChange(w)
print(w:isTicked(), w:isThird())
end
A Radio
local gui = UI.Radio.new()
gui:setPosition(50, 50)
stage:addChild(gui)
gui:setTicked(true)
gui:setTristate(true)
function gui:onWidgetChange(w)
print(w:isTicked(), w:isThird())
end
- UI.Accordion
- UI.Animation
- UI.Bar
- UI.Behavior
- UI.Border
- UI.BreadCrumbs
- UI.Builder
- UI.Button
- UI.Calendar
- UI.Checkbox
- UI.Combobox
- UI.ImageText
- UI.Keyboard
- UI.Label
- UI.Panel
- UI.Progress
- UI.Slider
- UI.Spinner
- UI.Splitpane
- UI.TabbedPane
- UI.Table
- UI.TextField
- UI.TimePicker
- UI.Toolbox
- UI.Tree
- UI.Viewport
- UI.WeekSchedule