-
... ut (v.bounds, margin: 0@0, gap: 5@5); a = StaticText (v, Rect (20, 70, 90, 20)).string_( " xZoom = 1" ).background_( Color .rand); m = Slider (v, Rect (20, 60, 285, 20)).background_(a.background).action_({func.value}).value_(0.5); d = Stati ...
-
... path path_ (argpath) Returns the path of the currently loaded composition as a String , or loads a new QC composition from the file at the location specified by the String argpath . argpath - A file path as a String . inputKeys Returns an ...
-
... /O device. If not provided, the default device is used. -I input-streams-enable-string Allows turning off input streams that you are not interested in on the device. If the string is 01100, for example, then only the second and third input ...
-
... e the hash value of the Association. Writing to streams printOn(stream) Write a string representation to the stream. storeOn(stream) Write a compileable string representation to the stream. Examples // associations can be a good way to stor ...
-
... ( x = 123; x.postln; this .clearAll; x.postln; ) Compile & Interpret interpret(aString) Compile and execute a String. this .interpret( "(123 + 4000).postln" ); interpretPrint(aString) Compile and execute a String, printing the result. this ...
-
... set the receiver's time to current Greenwich Mean Time (GMT). dayStamp obtain a string with the year, month and day in the format YYMMDD . hourStamp obtain a string in the format H:M:S secStamp obtain a string with the seconds stamp obtain ...
-
... values, bounds ) creates a new SCImageKernel shader - optional. the shader code string. nil by default values - optional. the values that match the kernel proc function defined in the shader string. nil by default bounds - optional. not use ...
-
... lors defining the states ofthe button array - an Array of arrays of the form [ [String, strColor, bgColor] , .... ] value Returns the index of the current state. This will not evaluate the function assigned to action (see SCView ). value_ ( ...
-
... o be evaluated when OK is pressed. The selected paths are passed as an Array of Strings as the first argument. cancelFunc - A Function to be evaluated if Cancel is pressed. allowsMultiple - A Boolean indicating whether the dialog allows the ...
-
... ance and open the file. If the open fails, isOpen will return false. pathname a String containing the path name of the file to open. mode a String indicating one of the following modes: "r" - Opens a file for reading. The file must exist. " ...