Class ToggleButtonGroup2D

Class Hierarchy
  • KanziObject
  •  └─ Node
  •        └─ Node2D
  •              └─ ToggleButtonGroup2D

Toggle Button Group 2D allows users of your application to select only one option from a set of options that are mutually exclusive. Toggle Buttons in a Toggle Button Group behave like radio buttons, where only one Toggle Button can be active at a time. Use the CurrentButtonIndexProperty property to check which Toggle Button in the Toggle Button Group is selected.

See also

Use a Toggle Button Group 2D to group Toggle Buttons where only one can be active at a time. Toggle Buttons in a Toggle Button Group behave like radio buttons.

Inherits properties and message types from ToggleButtonGroup2DMetadata.

Synopsis

Methods
create()

Creates a Toggle Button Group

ToggleButtonGroup2D.ToggleButtonGroup2D:create(name)

Creates a Toggle Button Group.

Parameters
name (string)

The name of the node.

Return Values
(ToggleButtonGroup2D)

The created node.