-
String array of characters Inherits from: Object : Collection : SequenceableCollection : ArrayedCollection : RawArray String represents an array of characters. Strings can be written literally using double quotes: "my string" .class.postln; ...
-
... icTextBase An abstract superclass for classes that store and display objects as strings Inherits from: Object : SCView See also: SCNumberBox , SCTextField , SCStaticText , SCDragView Users will not normally directly create instances of SCSt ...
-
... ost window Inherits from: Object The class Post is a stream destination. a = "a string" ; b = 'a symbol' ; c = 4; d = [1,2,3,4,a,b]; // post as string Post << a << Char .nl; // post as compile string Post <<< a << Char .nl; // post as strin ...
-
... w= Window .new.front; // store various kinds of objects in the drag source // a string source a= DragSource (w, Rect (10,10,150,20)).align_( \center ); a.object= "I am a string source" ; // a Float source b= DragSource (w, Rect (10,40,150,2 ...
-
... g to clear the text field. Drag and drop accepts a any Object and recieves it asString . Inherits formatting methods from SCStaticTextBase . If you drag a file from the finder onto an SCTextView, it will display the file path. Creation / Cl ...
-
... thus store their content in object and by default display their content using asString . You can keep their string independent of the content, if you set setBoth =false. You can also set a label to be displayed while dragging by using dragL ...
-
... w= Window .new.front; // store various kinds of objects in the drag source // a string source a= DragSource (w, Rect (10,10,150,20)).align_( \center ); a.object= "I am a string source" ; // a Float source b= DragSource (w, Rect (10,40,150,2 ...
-
... matted text currently. You only have acces to the text-content of the view as a String . By default, SCTextView will recieve drags containing any Object , and insert them into the text asString . If you drag a file from the finder onto an S ...
-
... @height. ( w = Window .new.front; a = StaticText (w, Rect (10, 10, 200, 20)); a.string = "an instance of String" ; ) Examples // basic usage ( w = Window .new.front; a = StaticText (w, Rect (10, 10, 200, 20)); a.string = "Rolof's Rolex" ; ) ...
-
... are preceeded by a backslash: $\t $\n $\r $\\ Symbols A symbol is written as a string enclosed in single quotes. examples of symbols: 'x' 'aiff' 'BigSwiftyAndAssoc' 'nowhere here' 'somewhere there' '.+o*o+.' A symbol consisting of a single ...