summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/ccui.RadioButton.lua
blob: 4484ddf569564e1a68fc1b74554c6338284e60eb (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

---@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.<br>
---* 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.<br>
---* lua new
---@return self
function RadioButton:RadioButton () end