Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (566) Code (72) Doc (79) Help (28) Quark (385) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. StaticText Help

    StaticText a cross-platform redirector for a GUI widget Inherits from: Object : ViewRedirect This class will return the gui kit specific version of a StaticText. See also: GUI , GUI-Classes , GUI-Overview Examples and Documentation: For exa ...

  2. SCStaticText Help

    SCStaticText a view for displaying text Inherits from: Object : SCView : SCStaticTextBase Inherits formatting methods from SCStaticTextBase . Creation / Class Methods *new (parent, bounds) parent - The parent view. bounds - An instance of R ...

  3. SCHLayoutView Help

    ... Rect (0,0,20,75)).background_( Color .grey.alpha_(0.4)); s.value = i / q; s }); StaticText (h, Rect (0,0,105,20)).background_( Color .rand).string_( " Some Example\n Text" ); w.front ) // Stretching the layout view and the contents. // If a ...

  4. SCVLayoutView Help

    ... th are irrelevant here. They expand to the optimal width s.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 con ...

  5. SCScope Help

    ... rand(0.7)); v.decorator = n = FlowLayout (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 ...

  6. SCMultiSliderView Help

    ... .fill(n, { |v| 0.5+((0.3*v).sin*0.25)}); m.action = { arg q;q.value.postln; }; StaticText (w,380@18).string_( "indexThumbSize or thumbSize" ); Slider (w,580@10).action_({ arg sl; m.indexThumbSize=sl.value*24}).value_(0.5); StaticText (w,38 ...

  7. resize Help

    ... or .rand) .resize_(i); y.decorator = FlowLayout (y.bounds).gap_(0.0 @ 0.0); t = StaticText (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).ite ...

  8. SCCompositeView Help

    ... sible = true ; // show first one a.front; ) Nested Example In this example, the StaticText accepts mouse clicks, since container views can't: ( w= Window .new.front; v= CompositeView .new(w,w.view.bounds.insetBy(10)).background_( Color .ran ...

  9. GUI-Overview Help

    ... enBounds.height-200,300,150)).front; w.view.background_( Color .grey(0.9)); a = StaticText (w, Rect (45, 10, 200, 20)).background_( Color .rand); a.string = "Current Frequency" ; Button .new(w, Rect (45, 70, 200, 20)).states_([[ "close" , C ...

  10. EZListView Help

    ... ListView , where items is simply an array of strings. If label is nil, then no staticText is created. Creation / Class Methods *new (parentView, bounds, label, items, globalAction, initVal, initAction, labelWidth, labelHeight,layout,gap) p ...

1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow