-
... value = i / q; s }); StaticText (v, Rect (0,0,55,20)).background_( Color .rand).string_( "Some Example Text" ).align_( \center ); w.front ) // Stretching the layout view and the contents. // If all the contents are elastic, the heights of t ...
-
... -new takes a number of arguments. The first is a name, usually in the form of a String as above. The second is in fact a Function. This argument is called a UGen Graph Function, as it tells the server how to connect together its various UGe ...
-
... eView . bounds Returns the bounds of the enclosing CompositeView . label label_(string) Sets/gets it the label. Will add the label view if none was initially created. string - An Instance of String . window Returns the window if you used th ...
-
... s superclass: Object *new(hostname, port) create new net address. Hostname is a string, either an ip number (e.g. "192.168.34.56" ) or a hostname such as "otherHost.local" . Port is a port number, like 57110 . Note: to send messages interna ...
-
... al model of resonating spring superclass: UGen models the force of a resonating string *ar(in, spring, damp) *kr(in, spring, damp) in modulated input force spring spring constant (incl. mass) damp damping // examples // trigger gate is mous ...
-
... ou have it, or any text editor), * in the section: ... <key>CFBundleName</key> <string>Standalone Template</string> ... replace ' Standalone Template ' with YourApp For safety, keep a copy of the file Info.plist. around. 2 - Credits In Reso ...
-
... Accessing Instance and Class Variables items items_ (array) array - An Array of String s or Symbol s, which make up the items in the pop up menu. The underlying OS X graphics system gives special meanings to some characters. e.g. : - is a d ...
-
... xt (y, Rect (0, 0, 40, 40)) .background_( Color .rand.alpha_(0.8)) .resize_(i) .string_(i) .font_( Font ( "Helvetica" , 26)); p= PopUpMenu (y,40@40).items_((1..9).collect( _ .asString)).value_(i-1).resize_(i) .action_{ |m| t.string_((m.valu ...
-
... er to write code in: Emacs.evalLispExpression( p.use( [ 'sclang-mode' ] ).asLispString ); // close it: p.free; // p = EmacsBuffer.new; // args: name p.front; // making a number box n = EmacsNumber.new( p, "number box", [0,5].asSpec, { |v| v ...
-
... mpass both Rects) IOStream operators stream << object represent the object as a string and add to the stream A common usage is with the Post class, to write output to the post window. Post << "Here is a random number: " << 20.rand << ".\n" ...