From 8fefb8f3e100976235dc83d6ae3785952d11c710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 5 Jul 2021 20:51:43 +0800 Subject: cleanup --- meta/3rd/Cocos4.0/library/ccui.RadioButton.lua | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta/3rd/Cocos4.0/library/ccui.RadioButton.lua (limited to 'meta/3rd/Cocos4.0/library/ccui.RadioButton.lua') diff --git a/meta/3rd/Cocos4.0/library/ccui.RadioButton.lua b/meta/3rd/Cocos4.0/library/ccui.RadioButton.lua new file mode 100644 index 00000000..10b6c137 --- /dev/null +++ b/meta/3rd/Cocos4.0/library/ccui.RadioButton.lua @@ -0,0 +1,35 @@ +---@meta + +---@class ccui.RadioButton :ccui.AbstractCheckButton +local RadioButton={ } +ccui.RadioButton=RadioButton + + + + +---* Add a callback function which would be called when radio button is selected or unselected.
+---* param callback A std::function with type @see `ccRadioButtonCallback` +---@param callback function +---@return self +function RadioButton: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 RadioButton:create (backGround,backGroundSelected,cross,backGroundDisabled,frontCrossDisabled,texType) end +---* +---@return cc.Ref +function RadioButton:createInstance () end +---* +---@return string +function RadioButton:getDescription () end +---* Default constructor.
+---* lua new +---@return self +function RadioButton:RadioButton () end \ No newline at end of file -- cgit v1.2.3