Class: CompactButtonSet

Kekule.Widget. CompactButtonSet

new CompactButtonSet()

Source:

Methods

append(btn, asSelected)

Append a button to set.
Parameters:
Name Type Description
btn Kekule.Widget.Button
asSelected Bool
Source:

insertBefore(btn, ref)

Insert a button before ref button.
Parameters:
Name Type Description
btn Kekule.Widget.Button
ref Kekule.Widget.Button
Source:

remove(btn, doNotFinalize)

Remove btn from set.
Parameters:
Name Type Description
btn Kekule.Widget.Button
doNotFinalize Bool If set to true, the btn will not be finalized.
Source:

Events

select

Invoked when a button in set is selected. event param of it has field: {selected: button}
Source: