MAAttachedWindowMBS shared methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to MAAttachedWindowMBS class.

MAAttachedWindowMBS.attachedWindow(view as NSViewMBS, point as NSPointMBS = nil, window as NSWindowMBS = nil, onSide as Integer = 12, distance as Double = 0.0) as MAAttachedWindowMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Window MBS MacExtras Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new attached window.

view: The view to display in the attached window. Must not be nil.
point: The point to which the attached window should be attached. If you are also specifying a parent window, the point should be in the coordinate system of that parent window. If you are not specifying a window, the point should be in the screen's coordinate space. This value is required.
window: The parent window to attach this one to. Note that no actual relationship is created (particularly, this window is not made a childWindow of the parent window). Default: nil.
onSide: The side of the specified point on which to attach this window. Default: MAPositionAutomatic.
distance: How far from the specified point this window should be. Default: 0.

Returns a new attached window.

Some examples using this method:

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


💬 Ask a question or report a problem