-
... tion from the old SourceForge wiki. // Globally: ( w = Window.new; z = w.view.flow{ |view| view.decorator.gap=0@0; Button(view,80@80).states_([["unhide"],["hide"]]) .value_(1) .action_{ |but| if(but.value.b ...
-
... izeFlowWindow { classvar windowMethods; classvar <>debug = false; var <window, <view, <>onClose; *initClass { StartUp.add({ windowMethods = #[acceptsClickThrough, acceptsClickThrough_, acceptsMouseOver, acceptsMouseOver_, alpha_, alwaysOnTo ...
-
... izeFlowWindow { classvar windowMethods; classvar <>debug = false; var <window, <view, <>onClose; *initClass { StartUp.add({ windowMethods = #[acceptsClickThrough, acceptsClickThrough_, acceptsMouseOver, acceptsMouseOver_, alpha_, alwaysOnTo ...
-
GMGridContainer: Filter: Description Usage Removing views onResize function Class methods new Inherited class methods Instance methods insertView removeView orientation margins Internal methods prArrangeViews prGetGridOrga Inherited instanc ...
-
... stion comes up often: What is the best way to structure GUI code. IMO, Model-View-Controller (when done correctly) gives you the most flexibility while avoiding common bugs. But it's hard to wrap your head around it first. So, here's a q ...
-
UDragBin { classvar <>current; var <>view; var <>canReceiveDragHandler; var <>task; var <>color; *new { |parent, bounds| ^super.new.view_( UserView( parent, bounds ) ).init; } init { color = Color.blue; view.canFocus_( false ); view.canRece ...
-
UDragBin { classvar <>current; var <>view; var <>canReceiveDragHandler; var <>task; var <>color; *new { |parent, bounds| ^super.new.view_( UserView( parent, bounds ) ).init; } init { color = Color.blue; view.canFocus_( false ); view.canRece ...
-
... nt { //TODO optional smoothing, rounding subclasses? var <value, lastValue; var viewsSpecs, defaultSpec, lastViewValue; var >action; var softSetLastTime; *new { ^super.new.initSGUIelement; } initSGUIelement { value= 0; lastViewValue= 0; vie ...
-
TempoMapGUI { var <tempoMap; var <parent, <scrollView, <composite, <allViews, <localEvents; var <>action; var <viewHeight = 14; var <mode = \bar; var skin; *new { |parent, tempoMap, action| ^super.new.init( parent, tempoMap, action ); } ini ...
-
TempoMapGUI { var <tempoMap; var <parent, <scrollView, <composite, <allViews, <localEvents; var <>action; var <viewHeight = 14; var <mode = \bar; var skin; *new { |parent, tempoMap, action| ^super.new.init( parent, tempoMap, action ); } ini ...