Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (90) Code (5) Doc (40) Help (4) Quark (41) SCDoc ↗ Forum ↗ Google ↗
  1. gui Help

    ... 2" .gui; 2.gui; [1, nil , "tree" ].gui; gui(parent,bounds) parent - a Window, a FlowView CompositeVIew HLayoutView VLayoutView nil (will create a window with a FlowView) bounds - anything that responds to asRect: Nil - the gui will use its ...

  2. TestFlowView Quark

    TestFlowView : ViewTester { test_startRow { var f,g,a,b,c; f = FlowView.new(w); a = Slider(f,Rect(0,0,100,100)); b = Slider(f,Rect(0,0,100,100)); f.startRow; c = Slider(f,Rect(0,0,100,100)); this.assert( a.bounds.left < b.bounds.left,"b sho ...

  3. CollapseButton Doc

    ... recommended. However if you do use CollapseButton, you can instantly convert a FlowView into a CollapseView, but you must watch out for the warnings below. NOTE THE DOUBLE LAYER OF FLOW VIEWS! Class Methods . clickModifier default 524288 ( ...

  4. fixedwidthflowview Quark

    // a custom flowview that never changes its width upon resizeToFit FixedWidthFlowView : FlowView { resizeToFitContents { arg thorough, level; // need bounds relative to parent's bounds var new, maxpt, comparept, mybounds, used; mybounds = t ...

  5. fixedwidthflowview Quark

    // a custom flowview that never changes its width upon resizeToFit FixedWidthFlowView : FlowView { resizeToFitContents { arg thorough, level; // need bounds relative to parent's bounds var new, maxpt, comparept, mybounds, used; mybounds = t ...

  6. ResizeFlowWindow Quark

    ... hru to the view resizeToFit { this.recursiveResize; } // match window bounds to flowview bounds synchWindowBounds { window.bounds = view.bounds.resizeBy(15, 15).moveTo(window.bounds.left, window.bounds.top) } *viewClass { ^FlowView } asFlow ...

  7. ResizeFlowWindow Quark

    ... hru to the view resizeToFit { this.recursiveResize; } // match window bounds to flowview bounds synchWindowBounds { window.bounds = view.bounds.resizeBy(15, 15).moveTo(window.bounds.left, window.bounds.top) } *viewClass { ^FlowView } asFlow ...

  8. SimpleLabel Doc

    ... on views in this package Class Methods . new Arguments: layout the parent view, FlowView or window string the string to display bounds nil: automatically determines size based on the string size Integer: a minimum width. if the string is lo ...

  9. gui Doc

    ... all subclasses that have not written an explicit .gui method parent a Window, a FlowView CompositeVIew HLayoutView VLayoutView nil (which will create a Window with a FlowView on it) bounds anything that responds to asRect: Nil - the gui wil ...

  10. ServerLogGui Doc

    ... . writeName Returns: (returnvalue) . guiBody Arguments: layout the parent view, FlowView or window bounds . guiEvent Arguments: ev layout the parent view, FlowView or window Returns: (returnvalue) . formatMsg Arguments: r msg Returns: (retu ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow