Platforms to show: All Mac Windows Linux Cross-Platform

Back to GKDialogControllerMBS class.

GKDialogControllerMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The constructor.

GKDialogControllerMBS.dismiss

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Dismisses the currently displayed view controller.

GKDialogControllerMBS.parentWindow as NSWindowMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The window that view controllers presented by the dialog controller are displayed in.

Your app must set this property before presenting a view controller. The window must be at least 800 x 600.

GKDialogControllerMBS.presentViewController(GKViewController as NSViewControllerMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 13.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Presents a view controller in the dialog controller's window.

viewController: A Game Center view controller.

Returns true if the view controller was presented, false if an error occurred.
The contents of the window are covered by the view controller's contents until the view controller is dismissed.

GKDialogControllerMBS.setParentWindow(parentWindow as NSWindowMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets the parent window.

See also:

GKDialogControllerMBS.setParentWindow(parentWindow as Window)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method GameKit MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets the parent window to the given Xojo Window.

Should work fine in Cocoa, but may fail in Carbon.

See also:

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


The biggest plugin in space...