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

SelectButtonSet : Object
ExtensionExtension

a set of radio buttons

Description

Radio button style set, fashioned as a single object.

Class Methods

SelectButtonSet.new(layout, labelArrayOrQnty: 10, action, color, selectedColor, width: 20, height)

Arguments:

layout
labelArrayOrQnty
action
color
selectedColor
width
height

Inherited class methods

Instance Methods

.selected

selected index

.action

.action = value

.colorFunc

.colorFunc = value

.selectedColor

.selectedColor = value

.labelArray

.labelArray = value

.altAction

.altAction = value

.init(layout, x, y, arglabelArray, argaction, argcolorFunc, argselectedColor)

Arguments:

layout
x
y
arglabelArray
argaction
argcolorFunc
argselectedColor

.select(x)

Arguments:

x

.selectItem(item)

Arguments:

item

.passiveSelect(x)

action is not performed

Arguments:

x

.update(x)

Arguments:

x

.refresh

.selectedIndex

.selectedLabel

the string label of currently selected item

.selectedItem

.deselect

.setButtonColor(butt, color)

Arguments:

butt
color

.colorNormal(i)

Arguments:

i

.colorSelected(i)

Arguments:

i

.doAction

.addAction(func)

Arguments:

func

.font = f

Arguments:

f

Inherited instance methods

Examples