RedQWindow:
Filter:
Classes (extension) | Red > redUniverse

RedQWindow
ExtensionExtension

wrapper for QWindow
Location: NOT INSTALLED!

Description

Adding some functionality to the standard Window class. Requires RedVector.

NOTE: This class uses qt gui

Class Methods

Inherited class methods

Instance Methods

.draw

Alias for UserView: -drawFunc.

.play

Starts an internal thread on the AppClock updating at rate fps.

.stop

Stop internal thread.

.resize

Change window size while keeping x and y position. The argument can also be a RedVector

NOTE: does not work properly yet

.background

Set window background. Alias for view.background_

.isOpen

Boolean.

.mouse

Returns a RedVector for mouse x and y position. Click&drag in window to set position.

.isPlaying

If the window is updating.

.userView

Access to the embedded view.

.animate

Start automatic refresh. Default at 60fps (although swingosc seems capped at 50).

.frame

Current frame.

.frameRate

Current average framerate.

Inherited instance methods

Examples