UIRadioButton.new

Inputs:

  • parentSizer [UISizer]:
  • Label [string]:
  • newButtonGroup [boolean]: true if this radio button should start a new radio button group, false if it belongs to the previously started group
  • xPosition [integer?]: [optional, default=-1]
  • yPosition [integer?]: [optional, default=-1]
  • width [integer?]: [optional, default=-1]
  • height [integer?]: [optional, default=-1]
  • borderDirection [integer?]: (BorderDirection.ALL, BorderDirection.TOP, BorderDirection.BOTTOM, BorderDirection.LEFT or BorderDirection.RIGHT) [optional, default=BorderDirection.NONE]
  • borderSize [integer?]: in pixels [optional, default=0]
  • proportion [integer?]: [optional, default=0]

Outputs:

  • uiRadioButton [UIRadioButton]:

UIRadioButton:destroy

UIRadioButton:getEnabled

Outputs:

  • [boolean]:

UIRadioButton:getValue

Outputs:

  • checked [boolean]:

UIRadioButton:isVisible

Outputs:

  • [boolean]:

UIRadioButton:setEnabled

Inputs:

  • enabled [boolean?]: [optional, default=true]

UIRadioButton:setOnChangeCallback

Inputs:

  • callbackFunction [object]: function(boolean)
  • functionObject [object?]: functionObject [optional, default=NULL]

UIRadioButton:setToolTip

Inputs:

  • tooltip [string]:

UIRadioButton:setVisible

Inputs:

  • visible [boolean?]: [optional, default=true]

Last updated 12 Apr 2025, 16:09 +0200 . history