-
... put x.gui; // gui without styling y.gui; ( // gui with styling w = Window( "x", Rect( 300,25,200,300 ) ).front; RoundView.useWithSkin( ( labelWidth: 40, font: Font( Font.defaultSansFace, 10 ), hiliteColor: Color.gray(0.33) ), { x.gui(w); }; ...
-
... ; }; } init { |inParent, score| if( inParent.isNil ) { parent = Window( bounds: Rect(530, 580, 390, 140) ).front; parent.addFlowLayout; } { parent = inParent; }; this.makeViews( score ); } makeCurrent { current = this } close { var win; win ...
-
... s the following modifier keys… shift straight line from last mouse position alt rectangle from last mouse position ctrl oval from last mouse position (try to use alt and ctrl in combination with shift ) Class Methods . new Arguments: bounds ...
-
... (win.notNil) { try { win.close } }; win = Window.new("CodingDojo_" ++ userName, Rect(0,0, 200, 150), false, false); win.front; win.alwaysOnTop = true; win.alpha_(0.7); uv = UserView.new(win, Rect(0,0,200,150)); uv.background = Color.red; uv ...
-
... erver ) or server name ( Symbol ) nProxies an Integer. title a String. bounds a Rect. Inherited class methods Instance Methods . proxyspace Return the proxyspace. Inherited instance methods Examples n = NdefMixer(s); // for the default serv ...
-
... o execute when the button is pressed bounds nil = autosizes, number = minWidth, Rect = bounds, Point = width @ height font Returns: this . viewClass private: differentiates between the SimpleLabel implementation in the superclass Returns: G ...
-
... e it conveniently on the screen if the bounds are a Point . If the bounds are a Rect , then the Rect determines the window bounds. bounds - An instance of Rect or Point . Default value is 160@200 . label - The label. Default value is nil. I ...
-
... me, windowTitle; var specsList, specsListSpecs, selectMatch, thisSpec; var cNameRect, cNameEnterTextRect, specEnterTextRect, specSelectRect, wdgtTypeRect, enterTabRect; var staticTextFont, staticTextColor, textFieldFont, selectFont, textFie ...
-
... de examples: w = Window("StickView").front.alwaysOnTop_(true); z = StickView(w, Rect( 200, 100,100,100)); z.action = { |v| v.value.postln }; // z.name = "test"; z.value = [-1,1]; // x, y, optional hat button z.value = Array.rand(2, -1.0, 1. ...
-
... ore closing window ( var ms; w=Window.new((n.asString)++" chroma coefficients", Rect(200,400,n*20+50,300)); ms= MultiSliderView.new(w, Rect(10,10,n*20,280)); ms.value_(Array.fill(n,0.0)); ms.valueThumbSize_(20.0); ms.indexThumbSize_(20.0); ...