Platforms to show: All Mac Windows Linux Cross-Platform
Back to CGSConnectionMBS class.
CGSConnectionMBS.CGSWindow(w as window) as CGSWindowMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Can be used for the CGSTransitionRequestMBS.Win property.
Some examples using this method:
CGSConnectionMBS.CGSWindowbyHandle(windowhandle as Integer) as CGSWindowMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
WindowHandle must be of C type WindowRef. Not a CGS Window Handle.
Can be used for the handle from an OverlayWindowMBS.
CGSConnectionMBS.FlushAllWindows
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 8.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Walks over the window list (of the current process) and does a flush on each window.
Lasterror is set.
CGSConnectionMBS.FlushAllWindowsForAllOtherProceses
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 8.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Walks over the list of processes asking each for its window list and doing a flush on each window. The own process is ignored.
Lasterror is set.
CGSConnectionMBS.FlushAllWindowsForAllProceses
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 8.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Walks over the list of processes asking each for its window list and doing a flush on each window.
Lasterror is set.
CGSConnectionMBS.GetOnScreenWindowList as CGSWindowListMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 8.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns nil on any error.
Some examples using this method:
CGSConnectionMBS.GetOnScreenWindowListForProcess(PID as Integer) as CGSWindowListMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 8.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns nil on any error.
Some examples using this method:
CGSConnectionMBS.GetWindowList as CGSWindowListMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 8.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns nil on any error.
Some examples using this method:
CGSConnectionMBS.GetWindowListForProcess(PID as Integer) as CGSWindowListMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 8.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns nil on any error.
Some examples using this method:
CGSConnectionMBS.NewTransition(request as CGSTransitionRequestMBS) as CGSTransitionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Lasterror is set.
Request must be a valid object reference.
Transitions seem not to work in Carbon PEF builds. MachO works.
Some examples using this method:
CGSConnectionMBS.RunTransition(request as CGSTransitionRequestMBS, duration as single)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Lasterror is set.
Transitions seem not to work in Carbon PEF builds. MachO works.
CGSConnectionMBS.SetWorkspaceWithTransition(workspace as CGSWorkspaceMBS, transition as Integer, type as Integer, time as single)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 8.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The values for the parameters are not documented on the web except that the transition and type property may use the same transition constants as for the other transitions.
Lasterror is set.
See also:
CGSConnectionMBS.SetWorkspaceWithTransition(workspace as Integer, transition as Integer, type as Integer, time as single)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 8.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The values for the parameters are not documented on the web except that the transition and type property may use the same transition constants as for the other transitions.
Lasterror is set.
See also:
CGSConnectionMBS.Workspace as CGSWorkspaceMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreGraphics | MBS MacCG Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read and Write computed property)
The items on this page are in the following plugins: MBS MacCG Plugin.