Platforms to show: All Mac Windows Linux Cross-Platform

CGSConnectionMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class CoreGraphics MBS MacCG Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A class for a connection to the CoreGraphics System.
Example
Var c as new CGSConnectionMBS
Var list as CGSWindowListMBS = c.GetWindowList

Var names() as string
Var u as Integer = List.Count-1
for i as Integer = 0 to u
Var w as CGSWindowMBS = List.Item(i)
names.append w.Title
next

MsgBox str(List.Count)+" windows: "+Join(names, ", ")

Requires Mac OS X 10.4.
All functions used by the CGS classes are private APIs, so Apple does not guarantee that they work in future Mac OS X versions.

This class has no sub classes.

Blog Entries

Some properties using for this class:

Some examples using this class:

Some related classes:


The items on this page are in the following plugins: MBS MacCG Plugin.


CGRectMBS   -   CGScreenRefreshEventMBS


The biggest plugin in space...