summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/ccui.CheckBox.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
commit8fefb8f3e100976235dc83d6ae3785952d11c710 (patch)
tree459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/Cocos4.0/library/ccui.CheckBox.lua
parentb6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff)
downloadlua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/ccui.CheckBox.lua')
-rw-r--r--meta/3rd/Cocos4.0/library/ccui.CheckBox.lua35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/ccui.CheckBox.lua b/meta/3rd/Cocos4.0/library/ccui.CheckBox.lua
new file mode 100644
index 00000000..b4079bfb
--- /dev/null
+++ b/meta/3rd/Cocos4.0/library/ccui.CheckBox.lua
@@ -0,0 +1,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 \ No newline at end of file