-
... sClosed Geometry bounds setTopLeftBounds setInnerExtent sizeHint minSizeHint addFlowLayout layout Appearance name background alpha refresh Interaction userCanClose acceptsClickThrough acceptsMouseOver Actions and hooks drawFunc toFrontActio ...
-
... erView , SCImage , SCModalWindow , SCModalSheet SCVLayoutView , SCHLayoutView , FlowLayout Some Important Issues Regarding SCWindow If you try to set parameters of a Window or a GUI widget from a Routine , which uses the SystemClock by defa ...
-
... p Points ( w = Window("Slider2D", Rect(100, 100, 500, 300)); w.view.decorator = FlowLayout(w.view.bounds); t = Slider2D(w, Rect(20, 20, 280, 280)) .x_(0.5) // initial location of x .y_(1) // initial location of y .background_(Color.rand) .a ...
-
... w { var w; w = SCWindow("cleaner", Rect(0,0,140, 60)).front; w.view.decorator = FlowLayout(w.bounds.copy.left_(0).top_(0)); SCButton(w, Rect(0,0,120,20)) .states_([["clean current doc"]]) .action_ { Document.current.clean(false) }; SCButton ...
-
... w = Window.new( "SWDataNetworkLog", Rect( 0, 0, 200, 92 )); w.view.decorator = FlowLayout.new( Rect(0,0,200,92), 2@2, 2@2); fn = TextField.new(w, Rect( 0, 0, 148, 20 )); open = Button.new(w, Rect( 150, 0, 45, 20 )).states_( [["create"]]); ...
-
... sses | GUI > Views'>Views FlowView : SCViewHolder : Object CompositeView with a FlowLayout as decorator Source: SCViewHolder.sc See also: FlowLayout , CompositeView Description In the simplest respect this is a lazy contraction of this: w = ...
-
... nts ( w = Window("TabletSlider2D", Rect(100,100, 500 ,300)); w.view.decorator = FlowLayout(w.view.bounds); t = TabletSlider2D(w, Rect(20, 20,280, 280)) .x_(0.5) // initial location of x .y_(1) // initial location of y .knobColor_(Color.rand ...
-
... ect(150, Window.screenBounds.height - 500, 400, 400)).front; w.view.decorator = FlowLayout(w.view.bounds); StaticText.new(w, Rect(5, 0, 30, 20)).string_("Font").align_(\right); m = PopUpMenu(w, Rect(40, 0, 250, 20)); m.items = Font.availabl ...
-
... client", Rect(xposScreen, yposScreen, xsize, ysize )).front; w.view.decorator = FlowLayout(Rect(0, 0, xsize, ysize), 2@2, 2@2); decorator = w.view.decorator; w; }; if ( decorator.isNil, { try { decorator = w.view.decorator }; try { decorato ...
-
... w = Window ( "my name is..." , Rect ( 128, 64, 340, 360 )); w.view.decorator = FlowLayout ( w.view.bounds ); // comment this out for no decorator // w.addFlowLayout // you can use this instead of the above line for brevity. w.view.backgrou ...