summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/ccui/CheckBox.lua
blob: b4079bfb505d477fa389a813dbddf2c98b9c82cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---@meta

---@class ccui.CheckBox :ccui.AbstractCheckButton
local CheckBox={ }
ccui.CheckBox=CheckBox




---* Add a callback function which would be called when checkbox is selected or unselected.<br>
---* param callback A std::function with type @see `ccCheckBoxCallback`
---@param callback function
---@return self
function CheckBox:addEventListener (callback) end
---@overload fun(string:string,string:string,string:string,string:string,string:string,int:int):self
---@overload fun():self
---@overload fun(string:string,string:string,string2:int):self
---@param backGround string
---@param backGroundSelected string
---@param cross string
---@param backGroundDisabled string
---@param frontCrossDisabled string
---@param texType int
---@return self
function CheckBox:create (backGround,backGroundSelected,cross,backGroundDisabled,frontCrossDisabled,texType) end
---* 
---@return cc.Ref
function CheckBox:createInstance () end
---* 
---@return string
function CheckBox:getDescription () end
---* Default constructor.<br>
---* lua new
---@return self
function CheckBox:CheckBox () end