-
... \ if(browseMode) \\ pairs = dispatch.getPairsForTime(val);\ if(pairs.isNil) \ d.string = "" \ \\ d.string = pairs.collect \ |pair| \ format( "\ ~% = %;\ \ " , pair[0], pair[1].asCompileString)\ \.join;\ \;\ \ \\ changed = dispatch.setTime(v ...
-
... n, Rect(0, 0, width, scpsHeight)); StaticText(win, Rect(0, scpsHeight, 50, 20)).string_(""++binSize.round(0.1)); Array.geom(10, 1, 1.05).normalize.linlin(0, 1, 0.075, 0.9).do{|x| StaticText(win, Rect.aboutPoint(Point(width*x, scpsHeight+10) ...
-
... e added. IdentitySet [1, 2, 3].add(4); IdentitySet [1, 2, 3].add(3); // the two strings are equal but not identical IdentitySet [ "abc" , "def" , "ghi" ].add( "def" ); // symbols are guaranteed to be identical if they are equal IdentitySet ...
-
... SequenceableCollection convertDigits . 2007.asDigits; 2007.asDigits(2); asBinaryString(numDigits) Answer a string with the binary digits (0 or 1). numDigits defaults to 8. asHexString(numDigits) Answer a string with the hexadecimal digits ( ...
-
... GUI requirement is a scrollable list of similar items. If the list consists of strings, it's easy -- use ListView. If, for example, each "line" should have a pop-up menu, a text field and a toggle button, there's ScrollView. We also have Q ...
-
... sc Subclasses: DoubleArray , FloatArray , Int16Array , Int32Array , Int8Array , String , SymbolArray … see all Description RawArray is the abstract superclass of a group of array classes that hold raw data values. Class Methods Inherited cl ...
-
... menu. The default value is nil, which indicates the application menu. name - A String indicating the label for this menu item. index - The index at which to insert this item in its parent. Examples // Simple example g = SCMenuGroup ( nil , ...
-
... qtClass Instance methods Data setEnv value valueAction x y currentvalue curves strings setString setFillColor setThumbWidth setThumbHeight setThumbSize connect selection Appearance style drawLines drawRects gridOn grid thumbWidth thumbHeig ...
-
... r, size/2, size/2)); win.userCanClose= false; win.layout= VLayout( StaticText().string_("Click to launch instrument..."), GridLayout.rows( *images.collect{|x| UserView().drawFunc_{|usr| Pen.stringAtPoint(x.key.asString.drop(1), 50@50, Font( ...
-
... aluesDo{ |key,it,i| str = str ++ varname ++ ".addDescription( " ++ key.asCompileString ++ ", \" \" , 'class' );\n"; if ( it[0].size > 1, { it[0].copyToEnd( 1 ).do{ |jt,j| str = str ++ varname ++ ".addDescription( " ++ key.asCompileString ++ ...