Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

QCViewMBS class

Super class: NSViewMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Quartz Composer MBS CocoaControls Plugin 10.1 Yes No No Yes, macOS only No
Function: The QCView class is a custom NSView class that loads, plays, and controls Quartz Composer compositions.
Notes:
It is an autonomous view that is driven by an internal timer running on the main thread.

The view can be set to render a composition automatically when it is placed onscreen. The view stops rendering when it is placed offscreen. When not rendering, the view is filled with the current erase color. The rendered composition automatically synchronizes to the vertical retrace of the monitor.

You can embed this view in a CustomNSViewMBS to get more events for mouse and keyboard.
Subclass of the NSViewMBS class.

Feedback, Comments & Corrections

Super class NSViewMBS

Window Order Constants

Constant Value Description
NSWindowAbove 1 Moves the window above the indicated window.
NSWindowBelow -1 Moves the window below the indicated window.
NSWindowOut 0 Moves the window off the screen.

Super class NSResponderMBS

This class has no sub classes.

Some properties using for this class:

Some examples which use this class:


The items on this page are in the following plugins: MBS CocoaBase Plugin, MBS CocoaControls Plugin.


QCCompositionRepositoryMBS   -   QDPictMBS




Links
MBS Xojo PDF Plugins