SuperCollider CLASSES

CheckBox

A view that toggles between two states.
Inherits from: View : QObject : Object
Subclasses: QCheckBox

Description

A view that toggles between two states when clicked, displaying or hiding a check mark accordingly.

Class Methods

Inherited class methods

Undocumented class methods

*new (parent, bounds, text)

*qtClass

Instance Methods

Data

-value

-value = val

Stating which of the two states the view is currently in, false meaning unchecked and true meaning checked. Default to false.

Arguments:

val

A Boolean.

-valueAction = val

Sets -value and triggers -action.

Arguments:

val

A Boolean.

-string

-string = string

The text displayed next to the check mark.

Actions

-action

-action = func

From superclass: View

The action object evaluated whenever the user toggles the state.

Drag and drop

-defaultGetDrag

Returns:

The -value.

-defaultCanReceiveDrag

Returns:

True if the current drag data is a Boolean.

-defaultReceiveDrag

Sets -valueAction to the current drag data.

Inherited instance methods