SuperCollider currently supports three operating system platforms: macOS, UNIX (Linux and FreeBSD) and Windows (with some limitations).
Switching between GUI schemes is not needed anymore, as Qt runs well on all platforms. Still, you can get the available schemes with:
For a complete list of historical gui classes and their redirects, see List of GUI classes.
Sets the skin
to default values on compile.
Makes QtGUI the current scheme and returns it. Subsequent GUI object calls to GUI are delegated to Qt. Returns the current (Qt) scheme.
Changes the current scheme and returns the new scheme.
id |
A Symbol. The identifier of the scheme to use. |
Returns the current scheme. This is useful for objects that, upon instantiation, wish to store the then-current scheme, so as to be able to consistently use the same scheme in future method calls.
Returns the scheme for a given identifier. Does not switch the current scheme.
id |
A Symbol. The identifier of the scheme to retrieve, such as returned by calling |
Changes the current scheme.
aScheme |
An instance of Symbol. The scheme to use as current scheme. |
Executes a function body, temporarily setting the current GUI scheme. This is useful inside view's action functions in order to make this function use the GUI scheme that was originally used for the view of the action, even if the scheme has been switched meanwhile.
aScheme |
The scheme to use during the function execution. |
func |
An Instance of Function. |
Same as use
but using a scheme's id as first argument.
id |
The id of the scheme to use during the function execution. |
func |
A body to execute. |
Registers a new scheme. This is typically called by external libraries in their startup procedure. If a scheme with the same identifier (scheme.id
) exists, it is overwritten.
aScheme |
The scheme to add. |
All method calls are mapped to the current scheme, so that for example GUI.button
can be used and is delegated to the button association of the current scheme.
selector | |
... args |
skinName |
A class variable. Returns the current scheme.
A class variable. Returns an IdentityDictionary of registered schemes.
A class variable. Returns the current skin.
A class variable. Returns an IdentityDictionary of registered skins.