The plugin part NSView
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
The plugin part MBS MacBase Plugin:NSView:
Partly Console safe,
1036 entry points.
- class ContainerControl
- class Control
- class DesktopContainer
- class DesktopControl
- class DesktopWindow
- class NSCursorMBS
- class NSEventMBS
- method Constructor
- method allTouches as NSTouchMBS()
- method touchesForWindow(win as NSWindowMBS) as NSTouchMBS()
- method touchesForView(view as NSViewMBS) as NSTouchMBS()
- property Handle as Integer
- property type as integer
- property subtype as integer
- property timestamp as double
- property modifierFlags as integer
- property buttonMask as integer
- property CGEventRef as Integer
- property stage as Integer
- property stageTransition as Double
- property associatedEventsMask as Integer
- property isDirectionInvertedFromDevice as Boolean
- property scrollingDeltaX as Double
- property scrollingDeltaY as Double
- property hasPreciseScrollingDeltas as Boolean
- property description as string
- property clickCount as integer
- property buttonNumber as integer
- property eventNumber as integer
- property characters as string
- property charactersIgnoringModifiers as string
- property keyCode as integer
- property isARepeat as boolean
- property deltaX as double
- property deltaY as double
- property deltaZ as double
- property absoluteX as integer
- property absoluteY as integer
- property absoluteZ as integer
- property tangentialPressure as double
- property rotation as double
- property tilt as NSPointMBS
- property window as NSWindowMBS
- property locationInWindow as NSPointMBS
- property pressure as double
- property trackingNumber as integer
- property windowNumber as integer
- property data1 as integer
- property data2 as integer
- property magnification as double
- property deviceID as integer
- property isEnteringProximity as boolean
- property vendorID as integer
- property tabletID as integer
- property pointingDeviceID as integer
- property systemTabletID as integer
- property vendorPointingDeviceType as integer
- property pointingDeviceSerialNumber as integer
- property uniqueID as UInt64
- property capabilityMask as integer
- property pointingDeviceType as integer
- shared method otherEvent(Type as Integer, LocationX as Double, LocationY as Double, modifierFlags as Integer, timeStamp as double, windowNumber as Integer, subType as Integer, Data1 as Integer, Data2 as Integer) as NSEventMBS
- shared method mouseEvent(Type as Integer, LocationX as Double, LocationY as Double, modifierFlags as Integer, timeStamp as double, windowNumber as Integer, eventNumber as Integer, clickCount as Integer, pressure as Single) as NSEventMBS
- shared method keyEvent(Type as Integer, LocationX as Double, LocationY as Double, modifierFlags as Integer, timeStamp as double, windowNumber as Integer, characters as String, charactersIgnoringModifiers as String, isARepeat as boolean, keyCode as Integer) as NSEventMBS
- shared method keyRepeatInterval as double
- shared method keyRepeatDelay as double
- shared method doubleClickInterval as double
- shared method pressedMouseButtons as UInt32
- shared method modifierFlagsGlobal as UInt32
- shared method mouseLocation as NSPointMBS
- shared method isMouseCoalescingEnabled as boolean
- shared method setMouseCoalescingEnabled(Value as boolean)
- shared method eventWithCGEvent(CGEventRef as Integer) as NSEventMBS
- class NSMenuItemMBS
- class NSMenuMBS
- class NSPanelMBS
- method Constructor(x as double, y as double, w as double, h as double, styleMask as integer, BackingStoreType as integer, deferCreation as boolean)
- property isFloatingPanel as boolean
- property becomesKeyOnlyIfNeeded as boolean
- property worksWhenModal as boolean
- shared method RunAlertPanel(title as string, message as string, defaultButton as string, alternateButton as string, otherButton as string) as integer
- shared method RunInformationalAlertPanel(title as string, message as string, defaultButton as string, alternateButton as string, otherButton as string) as integer
- shared method RunCriticalAlertPanel(title as string, message as string, defaultButton as string, alternateButton as string, otherButton as string) as integer
- shared method RunAlertPanelRelativeToWindow(title as string, message as string, defaultButton as string, alternateButton as string, otherButton as string, docWindow as NSWindowMBS) as integer
- shared method RunInformationalAlertPanelRelativeToWindow(title as string, message as string, defaultButton as string, alternateButton as string, otherButton as string, docWindow as NSWindowMBS) as integer
- shared method RunCriticalAlertPanelRelativeToWindow(title as string, message as string, defaultButton as string, alternateButton as string, otherButton as string, docWindow as NSWindowMBS) as integer
- shared method RunAlertPanelRelativeToWindow(title as string, message as string, defaultButton as string, alternateButton as string, otherButton as string, docWindow as window) as integer
- shared method RunInformationalAlertPanelRelativeToWindow(title as string, message as string, defaultButton as string, alternateButton as string, otherButton as string, docWindow as window) as integer
- shared method RunCriticalAlertPanelRelativeToWindow(title as string, message as string, defaultButton as string, alternateButton as string, otherButton as string, docWindow as window) as integer
- shared method RunAlertPanelRelativeToWindow(title as string, message as string, defaultButton as string, alternateButton as string, otherButton as string, docWindow as DesktopWindow) as integer
- shared method RunInformationalAlertPanelRelativeToWindow(title as string, message as string, defaultButton as string, alternateButton as string, otherButton as string, docWindow as DesktopWindow) as integer
- shared method RunCriticalAlertPanelRelativeToWindow(title as string, message as string, defaultButton as string, alternateButton as string, otherButton as string, docWindow as DesktopWindow) as integer
- class NSPasteboardItemDataProviderMBS
- class NSPasteboardItemMBS
- class NSPasteboardMBS
- class NSResponderMBS
- class NSScreenMBS
- class NSTouchMBS
- class NSUndoManagerMBS
- class NSViewControllerMBS
- class NSViewMBS
- method Screenshot as Picture
- method setContentFilters(Filters() as variant)
- method contentFilters as variant()
- method setBackgroundFilters(Filters() as variant)
- method backgroundFilters as variant()
- method addToolTipRect(rect as NSRectMBS, tooltip as NSViewTooltipMBS)
- method dragImage(image as NSImageMBS, viewLocation as NSPointMBS, offset as NSSizeMBS, NSEvent as NSEventMBS, pboard as NSPasteboardMBS, source as NSViewMBS, slideFlag as boolean)
- method nextValidKeyView as NSViewMBS
- method previousValidKeyView as NSViewMBS
- method previousKeyView as NSViewMBS
- method setFocus
- method makeBackingLayer as variant
- method rotateByAngle(angle as double)
- method beginDraggingSessionWithItems(items() as Variant, e as NSEventMBS, source as NSViewMBS) as Variant
- method pageHeader as NSAttributedStringMBS
- method pageFooter as NSAttributedStringMBS
- method print
- method focusRingMaskBounds as NSRectMBS
- method drawFocusRingMask
- method noteFocusRingMaskChanged
- method enclosingMenuItem as variant
- method enclosingScrollView as variant
- method unregisterDraggedTypes
- method registerForDraggedTypes(Types() as string)
- method registeredDraggedTypes as string()
- method Constructor
- method Constructor(Handle as Integer)
- method Constructor(left as double, top as double, width as double, height as double)
- method removeAllToolTips
- method scaleUnitSquareToSize(size as NSSizeMBS)
- method convertRectFromView(rect as NSRectMBS, View as NSViewMBS) as NSRectMBS
- method convertPointFromView(point as NSPointMBS, View as NSViewMBS) as NSPointMBS
- method convertRectToView(rect as NSRectMBS, View as NSViewMBS) as NSRectMBS
- method convertPointToView(point as NSPointMBS, View as NSViewMBS) as NSPointMBS
- method convertSizeToView(Size as NSSizeMBS, View as NSViewMBS) as NSSizeMBS
- method convertSizeFromView(Size as NSSizeMBS, View as NSViewMBS) as NSSizeMBS
- method animator as NSViewMBS
- method ancestorSharedWithView(view as NSViewMBS) as NSViewMBS
- method subviews(recursive as boolean = false) as NSViewMBS()
- method RenderImage(subviews as boolean = false, flipped as boolean = false) as variant
- method dataWithPDFInsideRect(r as NSRectMBS) as Memoryblock
- method dataWithPDFInsideRect(left as double, top as double, width as double, height as double) as Memoryblock
- method dataWithEPSInsideRect(left as double, top as double, width as double, height as double) as Memoryblock
- method isDescendantOf(view as NSViewMBS) as boolean
- method setBoundsOrigin(x as double, y as double)
- method setBoundsSize(width as double, height as double)
- method setFrameOrigin(x as double, y as double)
- method setFrameSize(width as double, height as double)
- method setFrameSize(size as NSSizeMBS)
- method setFrameOrigin(origin as NSPointMBS)
- method setBoundsSize(size as NSSizeMBS)
- method setBoundsOrigin(origin as NSPointMBS)
- method addSubview(subview as NSViewMBS)
- method removeFromSuperview
- method removeFromSuperviewWithoutNeedingDisplay
- method addSubview(subview as NSViewMBS, positioned as integer, relativeToView as NSViewMBS)
- method replaceSubview(oldView as NSViewMBS, newView as NSViewMBS)
- property compositingFilter as variant
- property userInteractionEnabled as Boolean
- property layerUsesCoreImageFilters as Boolean
- property window as NSWindowMBS
- property opaqueAncestor as NSViewMBS
- property nextKeyView as NSViewMBS
- property identifier as string
- property layer as variant
- property wantsRestingTouches as boolean
- property acceptsTouchEvents as boolean
- property canDrawConcurrently as boolean
- property canDraw as boolean
- property frameCenterRotation as double
- property autoresizingMask as Integer
- property autoresizesSubviews as boolean
- property focusRingType as Integer
- property wantsLayer as Boolean
- property clipsToBounds as Boolean
- property alphaValue as double
- property frame as NSRectMBS
- property bounds as NSRectMBS
- property frameRotation as double
- property boundsRotation as double
- property superview as NSViewMBS
- property isHidden as Boolean
- property isHiddenOrHasHiddenAncestor as Boolean
- property isOpaque as Boolean
- property isFlipped as Boolean
- property isRotatedFromBase as Boolean
- property isRotatedOrScaledFromBase as Boolean
- property needsDisplay as Boolean
- property toolTip as string
- property visibleRect as NSRectMBS
- property wantsDefaultClipping as boolean
- property canBecomeKeyView as boolean
- property allowsVibrancy as Boolean
- property RetainCount as Integer
- property frameTop as double
- property frameLeft as double
- property frameWidth as double
- property frameHeight as double
- property classPath as string
- property className as string
- shared method NSViewFrameDidChangeNotification as string
- shared method NSViewFocusDidChangeNotification as string
- shared method NSViewBoundsDidChangeNotification as string
- shared method NSViewGlobalFrameDidChangeNotification as string
- shared method NSViewDidUpdateTrackingAreasNotification as string
- class NSViewTooltipMBS
- class NSWindowControllerMBS
- class NSWindowMBS
- method performWindowDragWithEvent(event as NSEventMBS)
- method selectNextTab
- method selectPreviousTab
- method moveTabToNewWindow
- method toggleTabBar
- method mergeAllWindows
- method addTabbedWindow(win as NSWindowMBS, ordered as Integer)
- method tabbedWindows as NSWindowMBS()
- method setFrameAutosaveName(name as String) as boolean
- method setFrameUsingName(name as String, force as boolean = false) as boolean
- method stringWithSavedFrame as String
- method setFrameFromString(s as String)
- method saveFrameUsingName(s as String)
- method dragImage(image as NSImageMBS, viewLocation as NSPointMBS, offset as NSSizeMBS, NSEvent as NSEventMBS, pboard as NSPasteboardMBS, source as NSViewMBS, slideFlag as boolean)
- method fieldEditor(createFlag as boolean = True, forObject as object = nil) as Variant
- method endEditingFor(anObject as object = nil)
- method setRestorationClass
- method enableSnapshotRestoration
- method invalidateRestorableState
- method disableSnapshotRestoration
- method toolbarview as NSViewMBS
- method standardWindowButton(button as integer) as variant
- method contentRectForFrameRect(windowFrame as NSRectMBS) as NSRectMBS
- method frameRectForContentRect(windowContent as NSRectMBS) as NSRectMBS
- method runToolbarCustomizationPalette
- method toggleFullScreen
- method childWindows as NSWindowMBS()
- method addChildWindow(win as window, order as integer)
- method addChildWindow(win as NSWindowMBS, order as integer)
- method removeChildWindow(win as window)
- method removeChildWindow(win as NSWindowMBS)
- method setBottomCornerRounded(flag as boolean)
- method autorecalculatesContentBorderThicknessForEdge(edge as integer) as boolean
- method setAutorecalculatesContentBorderThickness(flag as boolean, edge as integer)
- method contentBorderThicknessForEdge(edge as integer) as double
- method setContentBorderThickness(thickness as double, edge as integer)
- method dockTile as variant
- method registerForDraggedTypes(Types() as string)
- method unregisterDraggedTypes
- method animator as NSWindowMBS
- method sendEvent(e as NSEventMBS)
- method discardCachedImage
- method restoreCachedImage
- method cacheImageInRect(r as NSRectMBS)
- method dataWithPDFInsideRect(r as NSRectMBS) as Memoryblock
- method dataWithEPSInsideRect(r as NSRectMBS) as Memoryblock
- method gState as integer
- method invalidateCursorRectsForView(View as NSViewMBS)
- method areCursorRectsEnabled as boolean
- method disableCursorRects
- method enableCursorRects
- method discardCursorRects
- method resetCursorRects
- method convertScreenToBase(p as NSPointMBS) as NSPointMBS
- method convertBaseToScreen(p as NSPointMBS) as NSPointMBS
- method makeFirstResponder(r as NSResponderMBS) as boolean
- method resizeFlags as integer
- method toggleToolbarShown
- method firstResponder as NSResponderMBS
- method keyDown(e as NSEventMBS)
- method attachedSheet as NSWindowMBS
- method selectKeyViewPrecedingView(view as NSViewMBS)
- method selectKeyViewFollowingView(view as NSViewMBS)
- method selectNextKeyView
- method selectPreviousKeyView
- method disableScreenUpdatesUntilFlush
- method print
- method orderFrontRegardless
- method orderFront
- method orderBack
- method makeKeyWindow
- method makeMainWindow
- method becomeKeyWindow
- method resignKeyWindow
- method becomeMainWindow
- method resignMainWindow
- method displayIfNeeded
- method display
- method flushWindow
- method flushWindowIfNeeded
- method enableFlushWindow
- method disableFlushWindow
- method useOptimizedDrawing(value as boolean)
- method inLiveResize as boolean
- method setFrame(frameRect as NSRectMBS)
- method setFrame(frameRect as NSRectMBS, display as boolean)
- method setFrame(frameRect as NSRectMBS, display as boolean, animated as boolean)
- method setFrameTopLeftPoint(point as NSPointMBS)
- method setFrameOrigin(point as NSPointMBS)
- method setContentSize(size as NSSizeMBS)
- method setTitleWithRepresentedFile(filename as folderitem)
- method setTitleWithRepresentedFilename(filename as string)
- method update
- method SetFrame(left as double, top as double, width as double, height as double)
- method GetFrame(byref left as double, byref top as double, byref width as double, byref height as double)
- method Close
- method performClose
- method performMiniaturize
- method performZoom
- method WindowHandle as integer
- method ClearFocus
- method Show
- method Hide
- method makeKeyAndOrderFront
- method orderOut
- method miniaturize
- method deminiaturize
- method invalidateShadow
- method zoom
- method Center
- method Constructor(x as double, y as double, w as double, h as double, styleMask as integer, BackingStoreType as integer = 0, deferCreation as boolean = false, canBecomeKeyWindow as boolean = false)
- method Constructor(w as window)
- method addChildWindow(win as DesktopWindow, order as integer)
- method Constructor(w as DesktopWindow)
- property frameAutosaveName as string
- property frame as NSRectMBS
- property contentLayoutRect as NSRectMBS
- property toolbarStyle as Integer
- property titlebarSeparatorStyle as Integer
- property tabbingMode as Integer
- property tabbingIdentifier as String
- property ClassName as String
- property ClassPath as String
- property titleVisibility as Integer
- property titlebarAppearsTransparent as Boolean
- property Left as double
- property Top as double
- property Width as double
- property Height as double
- property contentView as NSViewMBS
- property hasShadow as Boolean
- property isOpaque as Boolean
- property alphaValue as Double
- property acceptsMouseMovedEvents as Boolean
- property ignoresMouseEvents as Boolean
- property showsToolbarButton as Boolean
- property isDocumentEdited as Boolean
- property Level as Integer
- property showsResizeIndicator as Boolean
- property styleMask as Integer
- property windowNumber as Integer
- property isExcludedFromWindowsMenu as Boolean
- property backgroundColor as NSColorMBS
- property hidesOnDeactivate as Boolean
- property isMovableByWindowBackground as Boolean
- property Title as String
- property SubTitle as String
- property miniwindowTitle as String
- property miniwindowImage as Variant
- property contentAspectRatio as NSSizeMBS
- property contentResizeIncrements as NSSizeMBS
- property aspectRatio as NSSizeMBS
- property resizeIncrements as NSSizeMBS
- property representedFilename as String
- property canHide as Boolean
- property minSize as NSSizeMBS
- property maxSize as NSSizeMBS
- property contentMinSize as NSSizeMBS
- property contentMaxSize as NSSizeMBS
- property isOneShot as Boolean
- property backingType as Integer
- property preferredBackingLocation as Integer
- property sharingType as Integer
- property hasDynamicDepthLimit as Boolean
- property depthLimit as Integer
- property parentWindow as NSWindowMBS
- property identifier as String
- property Restorable as Boolean
- property toolbar as Variant
- property animationBehavior as Integer
- property initialFirstResponder as NSViewMBS
- property colorSpace as NSColorSpaceMBS
- property collectionBehavior as Integer
- property canBecomeVisibleWithoutLogin as Boolean
- property displaysWhenScreenProfileChanges as Boolean
- property allowsConcurrentViewDrawing as Boolean
- property allowsToolTipsWhenApplicationIsInactive as Boolean
- property preventsApplicationTerminationWhenModal as Boolean
- property Movable as Boolean
- property preservesContentDuringLiveResize as Boolean
- property Autodisplay as Boolean
- property viewsNeedDisplay as Boolean
- property representedURL as String
- property representedFile as FolderItem
- property windowController as NSWindowControllerMBS
- property backingScaleFactor as Double
- property screen as NSScreenMBS
- property deepestScreen as NSScreenMBS
- property canStoreColor as Boolean
- property Visible as Boolean
- property isZoomed as Boolean
- property isMiniaturized as Boolean
- property currentEvent as NSEventMBS
- property isSheet as Boolean
- property backingLocation as Integer
- property isKeyWindow as Boolean
- property isMainWindow as Boolean
- property canBecomeKeyWindow as Boolean
- property canBecomeMainWindow as Boolean
- property worksWhenModal as Boolean
- property isOnActiveSpace as Boolean
- property isFlushWindowDisabled as Boolean
- shared method removeFrameUsingName(name as string)
- shared method NSNormalWindowLevel as integer
- shared method NSFloatingWindowLevel as integer
- shared method NSSubmenuWindowLevel as integer
- shared method NSTornOffMenuWindowLevel as integer
- shared method NSMainMenuWindowLevel as integer
- shared method NSStatusWindowLevel as integer
- shared method NSDockWindowLevel as integer
- shared method NSModalPanelWindowLevel as integer
- shared method NSPopUpMenuWindowLevel as integer
- shared method NSScreenSaverWindowLevel as integer
- shared method windowNumbersWithOptions(options as integer = 0) as integer()
- shared method windowNumberAtPoint(x as double, y as double, belowWindowWithWindowNumber as integer = 0) as integer
- shared method standardWindowButton(button as integer, StyleMask as integer) as variant
- shared method minFrameWidthWithTitle(WindowTitle as string, styleMask as UInt32) as double
- shared method contentRectForFrameRect(windowFrame as NSRectMBS, styleMask as UInt32) as NSRectMBS
- shared method frameRectForContentRect(windowContentRect as NSRectMBS, styleMask as UInt32) as NSRectMBS
- shared method NSWindowDidBecomeKeyNotification as string
- shared method NSWindowDidBecomeMainNotification as string
- shared method NSWindowDidChangeScreenNotification as string
- shared method NSWindowDidDeminiaturizeNotification as string
- shared method NSWindowDidExposeNotification as string
- shared method NSWindowDidMiniaturizeNotification as string
- shared method NSWindowDidMoveNotification as string
- shared method NSWindowDidResignKeyNotification as string
- shared method NSWindowDidResignMainNotification as string
- shared method NSWindowDidResizeNotification as string
- shared method NSWindowDidUpdateNotification as string
- shared method NSWindowWillCloseNotification as string
- shared method NSWindowWillMiniaturizeNotification as string
- shared method NSWindowWillMoveNotification as string
- shared method NSWindowWillBeginSheetNotification as string
- shared method NSWindowDidEndSheetNotification as string
- shared method NSWindowDidChangeScreenProfileNotification as string
- shared method NSWindowWillStartLiveResizeNotification as string
- shared method NSWindowDidEndLiveResizeNotification as string
- shared method NSWindowWillEnterFullScreenNotification as string
- shared method NSWindowDidEnterFullScreenNotification as string
- shared method NSWindowWillExitFullScreenNotification as string
- shared method NSWindowDidExitFullScreenNotification as string
- shared method NSWindowWillEnterVersionBrowserNotification as string
- shared method NSWindowDidEnterVersionBrowserNotification as string
- shared method NSWindowWillExitVersionBrowserNotification as string
- shared method NSWindowDidExitVersionBrowserNotification as string
- shared property userTabbingPreference as Integer
- shared property allowsAutomaticWindowTabbing as Boolean
- class NSWindowRestoreHandlerMBS
- class Window
Blog Entries
Xojo Developer Magazine
- 7.6, page 8: News
- 5.6, page 49: Made in the Shade, Using Core Graphics in a REALbasic Project by Toby Rush
- 5.6, page 33: Third Party Plugins: Statusitems, Getting an icon in the top right of the Mac OS X menubar by Christian Schmitz
- 22.1, page 9: News
- 19.6, page 10: News
- 16.5, page 9: News
- 16.2, page 9: News
- 15.1, page 9: News
- 12.4, page 31: Writing OS X Apps for Game Center, Getting started by authenticating the local player with the Game Center Sandbox testing facility by Tom Baumgartner