Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSPopoverMBS class.

NSPopoverMBS.MaxXEdge = 2

Type Topic Plugin Version
const Cocoa MBS MacControls Plugin 11.2
One of the edge constants.

right

NSPopoverMBS.MaxYEdge = 3

Type Topic Plugin Version
const Cocoa MBS MacControls Plugin 11.2
One of the edge constants.

top
(Cocoa coordinates have 0 on bottom of screen)

NSPopoverMBS.MinXEdge = 0

Type Topic Plugin Version
const Cocoa MBS MacControls Plugin 11.2
One of the edge constants.

left

NSPopoverMBS.MinYEdge = 1

Type Topic Plugin Version
const Cocoa MBS MacControls Plugin 11.2
One of the edge constants.

bottom
(Cocoa coordinates have 0 on bottom of screen)

NSPopoverMBS.NSPopoverBehaviorApplicationDefined = 0

Type Topic Plugin Version
const Cocoa MBS MacControls Plugin 11.2
One of the behavior modes.

Your application assumes responsibility for closing the popover. AppKit will still close the popover in a limited number of circumstances. For instance, AppKit will attempt to close the popover when the window of its positioningView is closed. The exact interactions in which AppKit will close the popover are not guaranteed. You may consider implementing -cancel: to close the popover when the escape key is pressed.

NSPopoverMBS.NSPopoverBehaviorSemitransient = 2

Type Topic Plugin Version
const Cocoa MBS MacControls Plugin 11.2
One of the behavior modes.

AppKit will close the popover when the user interacts with user interface elements in the window containing the popover's positioning view. Semi-transient popovers cannot be shown relative to views in other popovers, nor can they be shown relative to views in child windows. The exact interactions that cause semi-transient popovers to close are not specified.

NSPopoverMBS.NSPopoverBehaviorTransient = 1

Type Topic Plugin Version
const Cocoa MBS MacControls Plugin 11.2
One of the behavior modes.

AppKit will close the popover when the user interacts with a user interface element outside the popover. Note that interacting with menus or panels that become key only when needed will not cause a transient popover to close. The exact interactions that will cause transient popovers to close are not specified.

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


💬 Ask a question or report a problem
The biggest plugin in space...