-
TestFlowView : ViewTester { test_startRow { var f,g,a,b,c; f = FlowView.new(w); a = Slider(f,Rect(0,0,100,100)); b = Slider(f,Rect(0,0,100,100)); f.startRow; c = Slider(f,Rect(0,0,100,100)); this.assert( a.bounds.left < b.bounds.left,"b sho ...
-
... assvar <>modal = true; var <string, <buttons, <>actions, <color, <iconName, iconView, stringView, <buttonViews; var <window, <>onCloseIndex = -1; var <>buttonClosesWindow = true; string_ { |newString = ""| string = newString; if( window.not ...
-
... utorials/GUI | Tutorials > GUI'>GUI GUI: Tutorial introduction GUI Tutorial overview About SuperCollider's language, sclang , provides some Classes dedicated to Graphical User Interfaces (GUIs) creation, which allow you to create your own g ...
-
... { (18 * lines)-5 }, { 18 }) }; linebreak = " "; }); buildCheckbox = { |active, view, props, font| var cBox; if(GUI.id === \cocoa, { cBox = Button(view, props) .states_([ ["", Color.white, Color.white], ["X", Color.black, Color.white], ]) . ...
-
KeyDownActions { // classvar <allEditors; // classvar <viewActions; classvar <>keyCodes, <>modifiersQt, <>modifiersCocoa, <>arrowsModifiersQt, <>arrowsModifiersCocoa; classvar <>globalShortcuts, <globalShortcutsEnabled=true, globalShortcuts ...
-
... tates = [["K"]]; killer.canFocus = false; killer.action = { Server.killAll }; w.view.decorator.nextLine; servers.do{ |s| s.makeView(w) }; w.view.keyDownAction = { arg view, char, modifiers; // if any modifiers except shift key are pressed, ...
-
... s, might crash) Creation *new (server, numChannels, index, bufsize, zoom, rate, view, bufnum) server - must be Server .internal. numChannels - An integer. Default value is 2.. index - The offset index. An integer. Default is nil. bufsize - ...
-
FileListView A GUI Listbox that navigates a filesystem. \ \ *new( parent, bounds, basePath, action, dblClickAction, types, filtered=false ) \ parent - the view's parent. \ bounds - view bounds \ basePath - initial path.\ this can be set to ...
-
... 110-1301 USA */ CVCenter { classvar <all, nextCVKey, <cvWidgets, <window, <childViews, <tabs, <prefPane, swFlow, removeButs; classvar prefPaneBounds, tabsBounds; classvar <>midiMode, <>midiResolution, <>ctrlButtonBank, <>midiMean, <>softWit ...
-
SCButton a multi-state button Inherits from: Object : SCView : SCControlView Some Important Issues Regarding SCButton Failure to set any states at all results in an invisible button. The button performs its action upon releasing the mouse. ...