SelectButtonSet:
Filter:
crucial-library/Classes (extension) | Libraries > crucial > GUI

SelectButtonSet
ExtensionExtension

a set of radio buttons

Description

Radio button style set, fashioned as a single object.

Class Methods

.new

Arguments:

layout
labelArrayOrQnty
action
color
selectedColor
width
height

Instance Methods

.selected

selected index

.action

.colorFunc

.selectedColor

.labelArray

.altAction

.init

Arguments:

layout
x
y
arglabelArray
argaction
argcolorFunc
argselectedColor

.select

Arguments:

x

.selectItem

Arguments:

item

.passiveSelect

action is not performed

Arguments:

x

.update

Arguments:

x

.refresh

.selectedIndex

.selectedLabel

the string label of currently selected item

.selectedItem

.deselect

.setButtonColor

Arguments:

butt
color

.colorNormal

Arguments:

i

.colorSelected

Arguments:

i

.doAction

.addAction

Arguments:

func

.font

Arguments:

f

Examples