DefNameLabel:
Filter:
ServerTools/Classes (extension) | Debugging

DefNameLabel
ExtensionExtension

color coded button displaying a SynthDef name

Description

This is used in ServerTreeGui, ServerLog and when inspecting Synth, SynthDef and related classes. The color for a def name will be the same in any view so you can use your color modality to focus better.

If using cruciallib the defName is an InstrSynthDef (was created by using an Instr) then it can link to inspect the InstrSynthDef and perform searches on the ServerLog to see when it was created, sent and any Synths that were created for it.

TODO: search SynthDescLib for normal SynthDefs

Class Methods

.new

Arguments:

name

name as a String or Symbol

server

default: default Server. The server you are working with for use in searching for references to this SynthDef

layout

the parent view, FlowView or window

minWidth

Label will automatically size itself to fit the name. minWidth specifies a minimum width so that multiple labels will align nicely.

Examples

TODO: Instr example