-
... stop updates. Inherited instance methods Examples ( ~updater = PeriodicUpdater(QtGUI, \cursorPosition); ~updater.connectTo({ |obj, changed, value| "Mouse position has changed to: %".format(value).postln; }); ) ~updater.stop.releaseDependan ...
-
... osition ?? {Point(0, 0)}; screenBounds= Window.screenBounds; SkipJack({ var cp= QtGUI.cursorPosition; cursorPosition= cursorPosition+(cp-cursorPosition/(cursorLag+1)); }, updateRate, false, \PMouse, AppClock); }); } storeArgs {^[minval, max ...
-
... bled = false; selected = item; } { item.enabled = true; }; }); }; ^menu.uFront( QtGUI.cursorPosition - (20@0), action: selected ); }; } destroyMenu { if( menu.notNil ) { menu.deepDestroy; menuActions = nil; menu = nil; }; } update { if( val ...
-
... view using View: -palette . By default, a window will get the global palette ( QtGUI: *palette ), and the palette is inherited by child views from their parent. Thus, changing the parent's palette will also affect its children, unless the ...
-
... an, env*amp_z)); }).add; Server.default.sync; } makeGui{ QtGUI.palette = QPalette.dark; // main window (for now) mWin = Window.new("Synther1", Rect( left:20, top:20, width: 300, height: 400 ),border ...
-
... bView.removeAt(0); } init{|anApp| app = anApp; GUI.qt; palette = QPalette.dark; QtGUI.palette = palette; Font.default = Colliding.guiFont; buf = Buffer.alloc(app.server, 1024, 2); bus = Bus(\audio, 0, 2, app.server); synth = BusScopeSynth(a ...
-
... function Returns: an Event (\key1: func, \key2: func) . lightColor defaults to QtGUI.palette.window Allows for painting a contrasting light/dark color, using the default window background color. For icons that need a punchout surface, like ...
-
... gap: 0@0, margin: 2@2, buttonHeight: 16 ⧉ ✔ GUI. add ( aScheme ) GUI. qt Makes QtGUI the current scheme and returns it. Subsequent GUI object calls to GUI are delegated to Qt. Returns the current (Qt) scheme. GUI. fromID ( id ) Changes the ...
-
... 0.8), Color.red(0.5)); y = QPalette.auto(Color.cyan(1.4), Color.cyan(1.8)); p = QtGUI.palette; QtGUI.palette = x; w = Window.new("GUI Introduction").front; w.onClose = {QtGUI.palette = p}; Button.new(w, Rect(10,10,100,30)).states_([ ["Red", ...
-
... DownAction( char, modifiers, unicode, keycode, key) }; }; (GUI.current.name == \QtGUI).if{ this.keyDownAction = {arg v,char, modifiers, unicode, keycode, key; this.q_defaultKeyDownAction( char, modifiers, unicode, keycode, key) }; }; slider ...