Platforms to show: All Mac Windows Linux Cross-Platform
The plugin part MBS MacCocoa Plugin:NSPanel:
Not Console safe, 198 entry points.
- class NSAlertMBS
- method beginSheetModalForWindow(win as window)
- method beginSheetModalForWindow(win as NSWindowMBS)
- method buttons as Variant()
- method Constructor
- method Destructor
- method runModal as integer
- method layout
- method SetTextAlignment(value as Integer)
- method addButtonWithTitle(title as string) as Variant
- method close
- method beginSheetModalForWindow(win as DesktopWindow)
- property helpAnchor as String
- property messageText as String
- property informativeText as String
- property icon as NSImageMBS
- property accessoryView as NSViewMBS
- property suppressionButton as Variant
- property ShowsSuppressionButton as Boolean
- property showsHelp as Boolean
- property alertStyle as Integer
- property window as Variant
- property timeOut as Double
- property TimedOut as Boolean
- shared method alertWithError(error as NSErrorMBS) as NSAlertMBS
- shared method alertWithMessageText(MessageText as string, defaultButton as string = "", alternateButton as string = "", otherButton as string = "", informativeText as string = "") as NSAlertMBS
- event ShowHelp as boolean
- event SheetDidEnd(returnCode as integer)
- class NSColorPanelMBS
- method Constructor
- method SetPickerMode(value as integer)
- method attachColorList(list as NSColorListMBS)
- method detachColorList(list as NSColorListMBS)
- method SetColor(red as single, green as single, blue as single, alpha as single)
- method GetColor(byref red as single, byref green as single, byref blue as single, byref alpha as single) as boolean
- method setColor(value as NSColorMBS)
- method setMode(value as integer)
- method setShowsAlpha(value as boolean)
- method setContinuous(value as boolean)
- property accessoryView as NSViewMBS
- property isContinuous as Boolean
- property alpha as Double
- property mode as Integer
- property showsAlpha as Boolean
- property getColor as NSColorMBS
- property getColorAsRGB as NSColorMBS
- property ColorValue as Color
- shared method orderFrontColorPanel
- shared method SharedColorPanelExists as boolean
- shared method GetColorFromDrag as color
- shared method GetColorFromDrag(byref red as single, byref green as single, byref blue as single, byref alpha as single) as boolean
- event Changed
- event WillClose
- event DidMove
- event LostFocus
- event GotFocus
- event Hidden
- event Shown
- class NSFontManagerMBS
- method availableFontNamesMatchingFontDescriptor(descriptor as NSFontDescriptorMBS) as String()
- method fontDescriptorsInCollection(collectionName as String) as NSFontDescriptorMBS()
- method removeFontDescriptorFromCollection(descriptor as NSFontDescriptorMBS, collectionName as String)
- method addFontDescriptorsToCollection(descriptors() as NSFontDescriptorMBS, collectionName as String)
- method addCollection(collectionName as String, Options as Integer = 0) as Boolean
- method removeCollection(collectionName as String) as Boolean
- method fontHasTraits(fontName as string, Traits as integer) as boolean
- method weightOfFont(font as NSFontMBS) as integer
- method traitsOfFont(font as NSFontMBS) as integer
- method orderFrontFontPanel
- method orderFrontStylesPanel
- method availableMembersOfFontFamily(FontFamily as string) as variant()
- method availableFontFamilies as string()
- method availableFonts as string()
- method availableFontNamesWithTraits(traits as integer) as string()
- method collectionNames as string()
- method Constructor
- method isMultiple as boolean
- method selectedFont as NSFontMBS
- method setSelectedAttributes(dic as dictionary, isMultiple as boolean)
- method setSelectedFont(font as NSFontMBS, isMultiple as boolean)
- method convertAttributes(dic as dictionary) as dictionary
- method convertFont(font as NSFontMBS) as NSFontMBS
- method convertFontToSize(font as NSFontMBS, size as double) as NSFontMBS
- method convertFontToFace(font as NSFontMBS, face as string) as NSFontMBS
- method convertFontToFamily(font as NSFontMBS, family as string) as NSFontMBS
- method convertFontToHaveTrait(font as NSFontMBS, trait as integer) as NSFontMBS
- method convertFontToNotHaveTrait(font as NSFontMBS, trait as integer) as NSFontMBS
- method convertWeightOfFont(font as NSFontMBS, up as boolean) as NSFontMBS
- method convertFontTraits(traits as integer) as integer
- property Enabled as boolean
- property Handle as Integer
- shared method sharedFontManager as NSFontManagerMBS
- class NSFontPanelMBS
- method Constructor
- method Destructor
- method reloadDefaultFontFamilies
- method worksWhenModal as boolean
- method setPanelFont(font as NSFontMBS, isMultiple as boolean)
- method panelConvertFont(font as NSFontMBS) as NSFontMBS
- property accessoryView as NSViewMBS
- property Enabled as boolean
- shared method sharedFontPanelExists as boolean
- shared method sharedFontPanel as NSFontPanelMBS
- shared method convertAttributes(old as dictionary) as dictionary
- shared method convertFont(oldFont as NSFontMBS) as NSFontMBS
- event changeFont
- event changeAttributes
- event validModesForFontPanel as integer
- class NSOpenPanelMBS
- method URLs as String()
- method Files as FolderItem()
- method beginSheetForDirectory(path as folderitem, name as string, filetypes() as string, targetWindow as window)
- method beginForDirectory(path as folderitem, name as string, filetypes() as string)
- method Files(index as UInt32) as folderitem
- method URL(index as UInt32) as string
- method Constructor
- method runModalForDirectory(path as folderitem, name as string, filetypes as string) as integer
- method runModalForTypes(filetypes as string) as integer
- method runModalForDirectory(path as folderitem, name as string, filetypes() as string) as integer
- method runModalForTypes(filetypes() as string) as integer
- method beginSheetForDirectory(path as folderitem, name as string, filetypes() as string, targetWindow as DesktopWindow)
- property FilesCount as UInt32
- property resolvesAliases as Boolean
- property canChooseDirectories as Boolean
- property allowsMultipleSelection as Boolean
- property canChooseFiles as Boolean
- property canDownloadUbiquitousContents as Boolean
- property canResolveUbiquitousConflicts as Boolean
- property AccessoryViewDisclosed as Boolean
- class NSSavePanelMBS
- method HideNSNavNodePopUpButton
- method Constructor
- method runModal as integer
- method runModalForDirectory(path as folderitem, name as string) as integer
- method beginSheetForDirectory(path as folderitem, name as string, targetWindow as window)
- method File as folderitem
- method validateVisibleColumns
- method Ok
- method Cancel
- method allowedFileTypes as string()
- method setAllowedFileTypes(filetype as string)
- method setAllowedFileTypes(filetypes() as string)
- method tagNames as string()
- method setTagNames(tagNames() as string)
- method beginSheetForDirectory(path as folderitem, name as string, targetWindow as DesktopWindow)
- property directoryURL as String
- property NameFieldStringValue as String
- property NameFieldLabel as String
- property requiredFileType as String
- property Directory as FolderItem
- property accessoryView as NSViewMBS
- property Prompt as String
- property Message as String
- property Title as String
- property canCreateDirectories as Boolean
- property canSelectHiddenExtension as Boolean
- property isExtensionHidden as Boolean
- property treatsFilePackagesAsDirectories as Boolean
- property showsHiddenFiles as Boolean
- property allowsOtherFileTypes as Boolean
- property isExpanded as Boolean
- property showsTagField as Boolean
- shared method FileTypeForHFSType(hfstype as string) as string
- event shouldShowFilename(path as string, item as folderitem) as boolean
- event compareFilename(name1 as string, name2 as string, caseSensitive as boolean) as integer
- event isValidFilename(path as string, item as folderitem) as boolean
- event userEnteredFilename(filename as string, confirmed as boolean) as string
- event willExpand(expanding as boolean)
- event directoryDidChange(path as string, folder as folderitem)
- event panelSelectionDidChange
- event savePanelDidEnd(ReturnCode as integer)
- class NSSavePanelObserverMBS
Blog Entries
- RTF functions in MBS Plugins
- News from the MBS Xojo Plugins Version 22.1
- Text alignment for alerts
- Xojo 2021r1.1 available
- Windows Font Dialog
- MBS Xojo / Real Studio plug-ins version 16.2
- MBS Xojo / Real Studio plug-ins in version 14.2
- Sandboxing
- MBS Plugins 11.1 Release notes
- MonkeyBread Software Releases the MBS Plugins 8.2
Xojo Developer Magazine
- 20.3, page 10: News
- 18.6, page 10: News
- 18.3, page 52: Happy Birthday MonkeyBread Software, What is new in the MBS Xojo Plugins by Stefanie Juchmes
- 12.4, page 9: News