Einhugur macOS Bridge plugin. |

# NSButton.RadioButtonWithTitle Method

Creates radio button with given title and a sibling radio button in same radio group.

shared RadioButtonWithTitle(
textValue as String,
siblingButton as EinhugurMacOSBridge.NSButton) as EinhugurMacOSBridge.NSButton

#### Parameters

textValue
  The title to put on the radio button.
siblingButton
  Sibling radio button in same radio group.

#### Returns

EinhugurMacOSBridge.NSButton

#### Remarks

Radio buttons are in same group if they got same NSView as parent and have same click handler. For this to work then you must first create one Radio button with a click handler, and then its siblings you create with this variation of the RadioButtonWithTitle function.

#### See Also

NSButton Class