-
... = NumberBox(); var nb2 = NumberBox(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("In:"), nb1, StaticText().string_("Out:"), nb2 ) ); //Setup Event Network //network ENdef(\x, { var sumSig, sum; //in var ...
-
... view will create its own window) or b/ you will put the WavetablePrepGui into a Layout later. bounds Optional, if you are using Qt layouts. If not, a Rect should be provided. Inherited class methods Instance Methods . freq Get or set the fr ...
-
... ral states. Connect to a function using view.bindFunction( function ). Supports layout integration, colors customisation, states and current state reassignment. ( var win = Window( "Switch", Rect( 0, 300, 200, 300 ) ); var switch; var ...
-
... r stethoBounds = NTMI.g.main.stethoBounds; // stetho needs to be in a new-style layout for resizing... try { NTMI.g.main.stetho.view.remove }; NTMI.g.main.stetho = Stethoscope(s, NTMI.numChans, view: NTMI.g.main.w.view); // only rescales he ...
-
... new { | parent, clock | ^super.new(parent).init(clock); } init { | clock | this.layout = VLayout.new( HLayout.new( StaticText.new.string_("name: " ++ clock.name), beatFlasherView = View.new.background_(Color.black) ), HLayout.new( StaticTex ...
-
... l_(\circle); button.action_({ |pressed| pressed.postln; }); // Nest it inside a Layout win.layout_( HLayout( button, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ⧉ ✔ helpfile source: /tmp/scquark ...
-
SCLayoutView an abstract class for layout containter views Inherits from: Object : SCView : SCContainerView Users will not normally directly create instances of SCLayoutView, but only use it through its subclasses. See also: SCHLayoutView S ...
-
LayoutValueSlider : SCViewHolder { var <value, <spec, number, slider, <action; *new { |parent, bounds, initValue = 0, spec, numberWidth = 50| ^super.new.init(parent, bounds, initValue, spec, numberWidth) } value_ { |new| value = spec.constr ...
-
... makeGui(); window.front(); ^this } winName{ ^chain.key.asString; } makeGui{ var layout; window = window ?? {Window.new(name: this.winName)}; window.view.removeAll; guiObjects = guiObjects ?? { IdentityDictionary.new }; guiData = guiData ?? ...
-
... on: (string) a short description ~numChannels: (int) number of channels ~channelLayout: (symbol) layout for each channel, usually mono or ambi ~angles: Speaker array angles, if using VBAP call VBAPSpeakerArray ~function: the definition of t ...