-
... s://github.com/mesjetiu/SynthiGME"; StaticText(window, Rect(10, 10, 380, 180)) .string_(aboutText) .align_(\center) .font_(Font("Helvetica", 12)) .palette_(QPalette.dark); window.view.palette_(QPalette.dark); SGME_GUIShortcuts.makeShortcuts ...
-
... NDEXES StaticText(q.win, Rect(10, 10, q.numOscs * (colWidth + 5) + 150, 20)).string_("-- modulation "); q.win.view.decorator.nextLine; q.higherAmpSliders = q.numOscs.collect{|i| var slider; //(i+1).do{|j| q.numOscs.do{|j| var ...
-
... enuItems, submenu; if( item.isKindOf( Symbol ) ) { MenuAction.separator( item.asString ); } { menuItems = item[1].collect({ |def| var checked; checked = matchTest.value( def ) ? false; if( checked ) { includesChecked = true; }; if( def.isKi ...
-
... (msg.notNil, { postln(msg); labelErrorMessage.visible = true; labelErrorMessage.string = msg; },{ labelErrorMessage.visible = false; }); } loadState { |state| var index; this.setErrorMessage(nil); selectedMIDIInName = state[\selectedItem]; ...
-
... tions, <>title; var <>menu, <>menuActions, <>indexOffset = 0; var <>valueChangesString = true; *new { arg parent, bounds; ^super.new.init( parent, bounds ); } init { |parent, bounds| view = StaticText.new( parent, bounds ); view.setProperty ...
-
... ton . captioned creates a pair of views: Caption: InspButton Arguments: caption string caption target the object to be inspected layout the parent view, FlowView or window minWidth The caption label will automatically size itself to fit the ...
-
... iew.bounds.width) / max(messSize, 32); txtView.font_(Font("Monaco", fontSize)) .string_(message.asString); }; this.animate; } *animate { |dt=0.2, n=12| var colors = [Color.red, Color.green, Color.blue]; Task { n.do { |i| try { txtView.strin ...
-
... e dumpInterface dumpFullInterface help helpFilePath helpFileForMethod asClass asString Accessing name nextclass superclass superclasses subclasses allSubclasses methods instVarNames classVarNames iprototype cprototype filenameSymbol Inherit ...
-
... |vs| vs[0].setSpan(vs[1].map(value[0]), vs[1].map(value[1])); }; } } SGUIelementString : SGUIelement { initSGUIelement { value= ""; lastViewValue= ""; viewsSpecs= List.new; } addView {|view| viewsSpecs.add([view, nil]); view.action= {|v| va ...
-
... ider(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("In:"), a, StaticText().string_("Out:"), b ) ); w.front; ) //start event graph ( ENdef(\graph1,{ //in var aSig = a.enIn; //try changing the function in ...