-
... ; // set decaytime of model a.decaytime = 2; ( var w, mp; w = Window.new.front; StaticText(w, w.bounds.moveTo(0,0)).align_(\center) .string_("click and drag to charge activity level."); w.view.mouseMoveAction = { |view, x, y| var mousepos = ...
-
... es_([["X", Color.white, Color.red(0.4)]]) .fixedSize_(Size(16, 16)), nameView = StaticText().string_(name).fixedWidth_(120), numView = StaticText().string_("CC" ++ num).fixedWidth_(50), valView = NumberBox().enabled_(false).fixedWidth_(70), ...
-
... able = Color .xwindows; window = GUI .window.new( "colors" ).front; text = GUI .staticText.new( window, Rect ( 120, 10, 150, 20 ) ); button = GUI .button.new( window, Rect ( 10, 10, 100, 20 ) ) .states_( [[ "new color" ]] ) .action_( { key ...
-
... |i| var view = g.value(View()) .fixedHeight_(22) .layout_(HLayout( StaticText().string_(i.asString).fixedWidth_(30), Button().states_([["click me"]]) .action_({ |view| "% was clicked\n".postf(i) }); ).margins_(1)); ...
-
... herits from: Object : EZGui EZKnob is wrapper class which creates an (optional) StaticText , and a Knob plus a NumberBox . If the parent is nil, then EZKnob will create its own window. See EZGui more options. See also: Knob , NumberBox , St ...
-
... Source a gui object source for drag and drop Inherits from: Object : SCView : SCStaticTextBase : SCDragView A gui object which acts as a source a source for drag and drop. See SCDragView for usage and examples, and SCView for a general desc ...
-
... ow("GAPmatch", Rect(300, 300, 280, 100), false).userCanClose_(false); genText = StaticText(win, Rect(10, 10, 250, 20)).string_("Current generation: 0"); fitText = StaticText(win, Rect(10, 30, 250, 20)).string_("Current fitness: N/A"); sButt ...
-
... opUpMenu , where items is simply an array of strings. If label is nil , then no staticText is created. Class Methods EZPopUpMenu. new ( parentView , bounds , label , items , globalAction , initVal: 0 , initAction: false , labelWidth , label ...
-
... ; listView.onClose_({ this.removeCtrl }); // duration views[ \durationLabel ] = StaticText( view, 45 @ viewHeight ) .string_( "duration " ) .align_( \right ) .font_( font ) .applySkin( RoundView.skin ); views[ \duration ] = SMPTEBox( view, ...
-
... refresh the buffer name (adding _CR) }); }.defer(0.5); }); numFramesView = GUI.staticText.new(win, Rect(348, 222, 80, 12)) .font_(GUI.font.new("Helvetica", 9)) .string_("frames : "+ selArray[1] ); selStartView = GUI.staticText.new(win, Rec ...