-
SCCompositeView A view that contains other views Inherits from: Object : SCView : SCContainerView A container for grouping other views and widgets. SCCompositeView inherits all of its methods from SCContainerView . See also: FlowView , Flow ...
-
CompositeView a cross-platform redirector for a GUI widget Inherits from: Object : ViewRedirect This class will return the gui kit specific version of a CompositeView. See also: GUI , GUI-Classes , GUI-Overview Examples and Documentation: F ...
-
... top on a vertical gradient. Examples // basic usage ( w= Window .new.front; v= CompositeView (w, Rect (50,50,200,50)); v.background= HiliteGradient ( Color .gray, Color .white); ) // change direction and resolution ( w= Window .new.front; ...
-
... .screenBounds.height- [250,460,670].at(k/3), 200, 180)); b = w.view.bounds; x = CompositeView (w, w.view.bounds.insetBy(20,20)) .background_( Color .rand) .resize_(i); y = CompositeView (x, x.bounds.moveTo(0,0).insetBy(20,20)) .background_( ...
-
... A Window automatically has its own top level container, which is a subclass of CompositeView . A CompositeView can have a decorator , which automatically places the contents in a predetermined order. In this case it is a FlowLayout , which ...
-
... nger , EZKnob Accessing Instance and Class Variables view Returns the enclosing CompositeView . bounds Returns the bounds of the enclosing CompositeView . label label_(string) Sets/gets it the label. Will add the label view if none was init ...
-
... 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 own defau ...
-
... // almost unnoticeable variations can be pleasant ( w = Window .new.front; v = CompositeView (w, Rect (50,50,300,300)); c = Color .rand; d = c.vary(0.15); v.background = Gradient (c, d, \v ); [c, d].postln ) ( var w, k, c, d, e, c1, c2, f, ...
-
FlowView superclass: SCViewHolder an SCCompositeView with a FlowLayout as decorator FlowView.new(parent,bounds) In the simplest respect this is a lazy contraction of this : w = GUI .window.new; w.view.decorator = FlowLayout .new( w.bounds ) ...
-
... View SCView JSCView The base class for most view classes. Important help file. CompositeView SCCompositeView JSCCompositeView container view for nesting layouts HLayoutView SCHLayoutView JSCHLayoutView container view with horizontal distri ...