-
... ed onShow onTriggered remove string Examples Classes | GUI Menu : AbstractActionView : View : QObject : Object Context and application-level menus Source: Menu.sc See also: MenuAction , CustomViewAction , ToolBar , MainMenu Description The ...
-
/* CompassView -- a view for GamePad compasses. // tests w = Window("Compass").front; z = CompassView(w.view, Rect( 100, 100,100,100)); z.action = { |comp| comp.dump }; z.nameView.string = "test"; z.value = 0; z.value = rrand(1, 8); z.value ...
-
... itColors; var <>max = 7; var <>allBuses; var <>usedBuses; var <>setMaxFunc; makeViews { |bounds| allBuses = []; usedBuses = []; setMaxFunc = nil; RoundView.useWithSkin( skin ++ (RoundView.skin ? ()), { this.prMakeViews( bounds ); }); this.u ...
-
... s/>. */ UGUI { classvar <>nowBuildingUnit; var <unit; var <parent, <composite, <views, <controller; var <viewHeight = 14, <labelWidth = 100; var <>action; var <>mapSetAction, <>mapCheckers; *new { |parent, bounds, unit, filterArgs| ^super.n ...
-
... > Layout'>Layout GridLayout : Layout : QObject : Object A layout that organizes views in a grid Source: QLayout.sc Subclasses: QGridLayout See also: HLayout , VLayout , StackLayout , Layout Management Description GridLayout distributes its ...
-
... er, synth; w=Window("freq modulation", Rect(100, 400, 400, 300)); w.view.decorator = FlowLayout(w.view.bounds); synth={arg x=0, addz = 100, speed = 5; (60..100).do{|f| x=SinOsc.ar(f+[0,f ] * (SinOsc.kr(Line.kr(1,5, 20,don ...
-
... curID, xys); if(guiOn, { { guiWin.refresh; }.defer; }); ^this; }); } *gui { var view; guiWin = Window("MultiTouchPad", Rect(100, 100, 525, 375)).onClose_({ guiOn = false; }); view = UserView(guiWin, guiWin.view.bounds).background_(Color.whi ...
-
... curID, xys); if(guiOn, { { guiWin.refresh; }.defer; }); ^this; }); } *gui { var view; guiWin = Window("MultiTouchPad", Rect(100, 100, 525, 375)).onClose_({ guiOn = false; }); view = UserView(guiWin, guiWin.view.bounds).background_(Color.whi ...
-
... ut( nil, (recButton= SGUIrecord(s, SInstruments.recordingsDir, "sInstrument_")).view .states_([ ["rec", palette.buttonText, Color.red], ["rec", palette.button, Color.red] ]).fixedWidth_(30), onoffButton= Button().states_([ ["on", palette.bu ...
-
// note: the window's width is not fixed, but the width of the master flowview // inside the window is fixed FixedWidthMultiPageLayout : MultiPageLayout { *new { arg title,bounds,margin,background,scroll=true,front=true; var new; "FixedWidt ...