appkit

package
v0.5.0-preview Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Construct and manage a graphical, event-driven user interface for your macOS app.

Full Documentation

Index

Constants

View Source
const VariableStatusItemLength float64 = -1

todo: generate

Variables

View Source
var ATSTypesetterClass = _ATSTypesetterClass{objc.GetClass("NSATSTypesetter")}

The class instance for the ATSTypesetter class.

View Source
var AccessibilityCustomActionClass = _AccessibilityCustomActionClass{objc.GetClass("NSAccessibilityCustomAction")}

The class instance for the AccessibilityCustomAction class.

View Source
var AccessibilityCustomRotorClass = _AccessibilityCustomRotorClass{objc.GetClass("NSAccessibilityCustomRotor")}

The class instance for the AccessibilityCustomRotor class.

View Source
var AccessibilityCustomRotorItemResultClass = _AccessibilityCustomRotorItemResultClass{objc.GetClass("NSAccessibilityCustomRotorItemResult")}

The class instance for the AccessibilityCustomRotorItemResult class.

View Source
var AccessibilityCustomRotorSearchParametersClass = _AccessibilityCustomRotorSearchParametersClass{objc.GetClass("NSAccessibilityCustomRotorSearchParameters")}

The class instance for the AccessibilityCustomRotorSearchParameters class.

View Source
var AccessibilityElementClass = _AccessibilityElementClass{objc.GetClass("NSAccessibilityElement")}

The class instance for the AccessibilityElement class.

View Source
var ActionCellClass = _ActionCellClass{objc.GetClass("NSActionCell")}

The class instance for the ActionCell class.

View Source
var AlertClass = _AlertClass{objc.GetClass("NSAlert")}

The class instance for the Alert class.

View Source
var AlignmentFeedbackFilterClass = _AlignmentFeedbackFilterClass{objc.GetClass("NSAlignmentFeedbackFilter")}

The class instance for the AlignmentFeedbackFilter class.

View Source
var AnimationClass = _AnimationClass{objc.GetClass("NSAnimation")}

The class instance for the Animation class.

View Source
var AnimationContextClass = _AnimationContextClass{objc.GetClass("NSAnimationContext")}

The class instance for the AnimationContext class.

View Source
var AppearanceClass = _AppearanceClass{objc.GetClass("NSAppearance")}

The class instance for the Appearance class.

View Source
var ApplicationClass = _ApplicationClass{objc.GetClass("NSApplication")}

The class instance for the Application class.

View Source
var ArrayControllerClass = _ArrayControllerClass{objc.GetClass("NSArrayController")}

The class instance for the ArrayController class.

View Source
var BezierPathClass = _BezierPathClass{objc.GetClass("NSBezierPath")}

The class instance for the BezierPath class.

View Source
var BindingSelectionMarkerClass = _BindingSelectionMarkerClass{objc.GetClass("NSBindingSelectionMarker")}

The class instance for the BindingSelectionMarker class.

View Source
var BitmapImageRepClass = _BitmapImageRepClass{objc.GetClass("NSBitmapImageRep")}

The class instance for the BitmapImageRep class.

View Source
var BoxClass = _BoxClass{objc.GetClass("NSBox")}

The class instance for the Box class.

View Source
var BrowserCellClass = _BrowserCellClass{objc.GetClass("NSBrowserCell")}

The class instance for the BrowserCell class.

View Source
var BrowserClass = _BrowserClass{objc.GetClass("NSBrowser")}

The class instance for the Browser class.

View Source
var ButtonCellClass = _ButtonCellClass{objc.GetClass("NSButtonCell")}

The class instance for the ButtonCell class.

View Source
var ButtonClass = _ButtonClass{objc.GetClass("NSButton")}

The class instance for the Button class.

View Source
var ButtonTouchBarItemClass = _ButtonTouchBarItemClass{objc.GetClass("NSButtonTouchBarItem")}

The class instance for the ButtonTouchBarItem class.

View Source
var CIImageRepClass = _CIImageRepClass{objc.GetClass("NSCIImageRep")}

The class instance for the CIImageRep class.

View Source
var CachedImageRepClass = _CachedImageRepClass{objc.GetClass("NSCachedImageRep")}

The class instance for the CachedImageRep class.

View Source
var CandidateListTouchBarItemClass = _CandidateListTouchBarItemClass{objc.GetClass("NSCandidateListTouchBarItem")}

The class instance for the CandidateListTouchBarItem class.

View Source
var CellClass = _CellClass{objc.GetClass("NSCell")}

The class instance for the Cell class.

View Source
var ClickGestureRecognizerClass = _ClickGestureRecognizerClass{objc.GetClass("NSClickGestureRecognizer")}

The class instance for the ClickGestureRecognizer class.

View Source
var ClipViewClass = _ClipViewClass{objc.GetClass("NSClipView")}

The class instance for the ClipView class.

View Source
var CollectionLayoutAnchorClass = _CollectionLayoutAnchorClass{objc.GetClass("NSCollectionLayoutAnchor")}

The class instance for the CollectionLayoutAnchor class.

View Source
var CollectionLayoutBoundarySupplementaryItemClass = _CollectionLayoutBoundarySupplementaryItemClass{objc.GetClass("NSCollectionLayoutBoundarySupplementaryItem")}

The class instance for the CollectionLayoutBoundarySupplementaryItem class.

View Source
var CollectionLayoutDecorationItemClass = _CollectionLayoutDecorationItemClass{objc.GetClass("NSCollectionLayoutDecorationItem")}

The class instance for the CollectionLayoutDecorationItem class.

View Source
var CollectionLayoutDimensionClass = _CollectionLayoutDimensionClass{objc.GetClass("NSCollectionLayoutDimension")}

The class instance for the CollectionLayoutDimension class.

View Source
var CollectionLayoutEdgeSpacingClass = _CollectionLayoutEdgeSpacingClass{objc.GetClass("NSCollectionLayoutEdgeSpacing")}

The class instance for the CollectionLayoutEdgeSpacing class.

View Source
var CollectionLayoutGroupClass = _CollectionLayoutGroupClass{objc.GetClass("NSCollectionLayoutGroup")}

The class instance for the CollectionLayoutGroup class.

View Source
var CollectionLayoutGroupCustomItemClass = _CollectionLayoutGroupCustomItemClass{objc.GetClass("NSCollectionLayoutGroupCustomItem")}

The class instance for the CollectionLayoutGroupCustomItem class.

View Source
var CollectionLayoutItemClass = _CollectionLayoutItemClass{objc.GetClass("NSCollectionLayoutItem")}

The class instance for the CollectionLayoutItem class.

View Source
var CollectionLayoutSectionClass = _CollectionLayoutSectionClass{objc.GetClass("NSCollectionLayoutSection")}

The class instance for the CollectionLayoutSection class.

View Source
var CollectionLayoutSizeClass = _CollectionLayoutSizeClass{objc.GetClass("NSCollectionLayoutSize")}

The class instance for the CollectionLayoutSize class.

View Source
var CollectionLayoutSpacingClass = _CollectionLayoutSpacingClass{objc.GetClass("NSCollectionLayoutSpacing")}

The class instance for the CollectionLayoutSpacing class.

View Source
var CollectionLayoutSupplementaryItemClass = _CollectionLayoutSupplementaryItemClass{objc.GetClass("NSCollectionLayoutSupplementaryItem")}

The class instance for the CollectionLayoutSupplementaryItem class.

View Source
var CollectionViewClass = _CollectionViewClass{objc.GetClass("NSCollectionView")}

The class instance for the CollectionView class.

View Source
var CollectionViewCompositionalLayoutClass = _CollectionViewCompositionalLayoutClass{objc.GetClass("NSCollectionViewCompositionalLayout")}

The class instance for the CollectionViewCompositionalLayout class.

View Source
var CollectionViewCompositionalLayoutConfigurationClass = _CollectionViewCompositionalLayoutConfigurationClass{objc.GetClass("NSCollectionViewCompositionalLayoutConfiguration")}

The class instance for the CollectionViewCompositionalLayoutConfiguration class.

View Source
var CollectionViewDiffableDataSourceClass = _CollectionViewDiffableDataSourceClass{objc.GetClass("NSCollectionViewDiffableDataSource")}

The class instance for the CollectionViewDiffableDataSource class.

View Source
var CollectionViewFlowLayoutClass = _CollectionViewFlowLayoutClass{objc.GetClass("NSCollectionViewFlowLayout")}

The class instance for the CollectionViewFlowLayout class.

View Source
var CollectionViewFlowLayoutInvalidationContextClass = _CollectionViewFlowLayoutInvalidationContextClass{objc.GetClass("NSCollectionViewFlowLayoutInvalidationContext")}

The class instance for the CollectionViewFlowLayoutInvalidationContext class.

View Source
var CollectionViewGridLayoutClass = _CollectionViewGridLayoutClass{objc.GetClass("NSCollectionViewGridLayout")}

The class instance for the CollectionViewGridLayout class.

View Source
var CollectionViewItemClass = _CollectionViewItemClass{objc.GetClass("NSCollectionViewItem")}

The class instance for the CollectionViewItem class.

View Source
var CollectionViewLayoutAttributesClass = _CollectionViewLayoutAttributesClass{objc.GetClass("NSCollectionViewLayoutAttributes")}

The class instance for the CollectionViewLayoutAttributes class.

View Source
var CollectionViewLayoutClass = _CollectionViewLayoutClass{objc.GetClass("NSCollectionViewLayout")}

The class instance for the CollectionViewLayout class.

View Source
var CollectionViewLayoutInvalidationContextClass = _CollectionViewLayoutInvalidationContextClass{objc.GetClass("NSCollectionViewLayoutInvalidationContext")}

The class instance for the CollectionViewLayoutInvalidationContext class.

View Source
var CollectionViewTransitionLayoutClass = _CollectionViewTransitionLayoutClass{objc.GetClass("NSCollectionViewTransitionLayout")}

The class instance for the CollectionViewTransitionLayout class.

View Source
var CollectionViewUpdateItemClass = _CollectionViewUpdateItemClass{objc.GetClass("NSCollectionViewUpdateItem")}

The class instance for the CollectionViewUpdateItem class.

View Source
var ColorClass = _ColorClass{objc.GetClass("NSColor")}

The class instance for the Color class.

View Source
var ColorListClass = _ColorListClass{objc.GetClass("NSColorList")}

The class instance for the ColorList class.

View Source
var ColorPanelClass = _ColorPanelClass{objc.GetClass("NSColorPanel")}

The class instance for the ColorPanel class.

View Source
var ColorPickerClass = _ColorPickerClass{objc.GetClass("NSColorPicker")}

The class instance for the ColorPicker class.

View Source
var ColorPickerTouchBarItemClass = _ColorPickerTouchBarItemClass{objc.GetClass("NSColorPickerTouchBarItem")}

The class instance for the ColorPickerTouchBarItem class.

View Source
var ColorSamplerClass = _ColorSamplerClass{objc.GetClass("NSColorSampler")}

The class instance for the ColorSampler class.

View Source
var ColorSpaceClass = _ColorSpaceClass{objc.GetClass("NSColorSpace")}

The class instance for the ColorSpace class.

View Source
var ColorWellClass = _ColorWellClass{objc.GetClass("NSColorWell")}

The class instance for the ColorWell class.

View Source
var ComboBoxCellClass = _ComboBoxCellClass{objc.GetClass("NSComboBoxCell")}

The class instance for the ComboBoxCell class.

View Source
var ComboBoxClass = _ComboBoxClass{objc.GetClass("NSComboBox")}

The class instance for the ComboBox class.

View Source
var ControlClass = _ControlClass{objc.GetClass("NSControl")}

The class instance for the Control class.

View Source
var ControllerClass = _ControllerClass{objc.GetClass("NSController")}

The class instance for the Controller class.

View Source
var CursorClass = _CursorClass{objc.GetClass("NSCursor")}

The class instance for the Cursor class.

View Source
var CustomImageRepClass = _CustomImageRepClass{objc.GetClass("NSCustomImageRep")}

The class instance for the CustomImageRep class.

View Source
var CustomTouchBarItemClass = _CustomTouchBarItemClass{objc.GetClass("NSCustomTouchBarItem")}

The class instance for the CustomTouchBarItem class.

View Source
var DataAssetClass = _DataAssetClass{objc.GetClass("NSDataAsset")}

The class instance for the DataAsset class.

View Source
var DatePickerCellClass = _DatePickerCellClass{objc.GetClass("NSDatePickerCell")}

The class instance for the DatePickerCell class.

View Source
var DatePickerClass = _DatePickerClass{objc.GetClass("NSDatePicker")}

The class instance for the DatePicker class.

View Source
var DictionaryControllerClass = _DictionaryControllerClass{objc.GetClass("NSDictionaryController")}

The class instance for the DictionaryController class.

View Source
var DictionaryControllerKeyValuePairClass = _DictionaryControllerKeyValuePairClass{objc.GetClass("NSDictionaryControllerKeyValuePair")}

The class instance for the DictionaryControllerKeyValuePair class.

View Source
var DiffableDataSourceSnapshotClass = _DiffableDataSourceSnapshotClass{objc.GetClass("NSDiffableDataSourceSnapshot")}

The class instance for the DiffableDataSourceSnapshot class.

View Source
var DockTileClass = _DockTileClass{objc.GetClass("NSDockTile")}

The class instance for the DockTile class.

View Source
var DocumentClass = _DocumentClass{objc.GetClass("NSDocument")}

The class instance for the Document class.

View Source
var DocumentControllerClass = _DocumentControllerClass{objc.GetClass("NSDocumentController")}

The class instance for the DocumentController class.

View Source
var DraggingImageComponentClass = _DraggingImageComponentClass{objc.GetClass("NSDraggingImageComponent")}

The class instance for the DraggingImageComponent class.

View Source
var DraggingItemClass = _DraggingItemClass{objc.GetClass("NSDraggingItem")}

The class instance for the DraggingItem class.

View Source
var DraggingSessionClass = _DraggingSessionClass{objc.GetClass("NSDraggingSession")}

The class instance for the DraggingSession class.

View Source
var DrawerClass = _DrawerClass{objc.GetClass("NSDrawer")}

The class instance for the Drawer class.

View Source
var EPSImageRepClass = _EPSImageRepClass{objc.GetClass("NSEPSImageRep")}

The class instance for the EPSImageRep class.

View Source
var EventClass = _EventClass{objc.GetClass("NSEvent")}

The class instance for the Event class.

View Source
var FilePromiseProviderClass = _FilePromiseProviderClass{objc.GetClass("NSFilePromiseProvider")}

The class instance for the FilePromiseProvider class.

View Source
var FilePromiseReceiverClass = _FilePromiseReceiverClass{objc.GetClass("NSFilePromiseReceiver")}

The class instance for the FilePromiseReceiver class.

View Source
var FontAssetRequestClass = _FontAssetRequestClass{objc.GetClass("NSFontAssetRequest")}

The class instance for the FontAssetRequest class.

View Source
var FontClass = _FontClass{objc.GetClass("NSFont")}

The class instance for the Font class.

View Source
var FontCollectionClass = _FontCollectionClass{objc.GetClass("NSFontCollection")}

The class instance for the FontCollection class.

View Source
var FontDescriptorClass = _FontDescriptorClass{objc.GetClass("NSFontDescriptor")}

The class instance for the FontDescriptor class.

View Source
var FontManagerClass = _FontManagerClass{objc.GetClass("NSFontManager")}

The class instance for the FontManager class.

View Source
var FontPanelClass = _FontPanelClass{objc.GetClass("NSFontPanel")}

The class instance for the FontPanel class.

View Source
var FormCellClass = _FormCellClass{objc.GetClass("NSFormCell")}

The class instance for the FormCell class.

View Source
var FormClass = _FormClass{objc.GetClass("NSForm")}

The class instance for the Form class.

View Source
var GestureRecognizerClass = _GestureRecognizerClass{objc.GetClass("NSGestureRecognizer")}

The class instance for the GestureRecognizer class.

View Source
var GlyphGeneratorClass = _GlyphGeneratorClass{objc.GetClass("NSGlyphGenerator")}

The class instance for the GlyphGenerator class.

View Source
var GlyphInfoClass = _GlyphInfoClass{objc.GetClass("NSGlyphInfo")}

The class instance for the GlyphInfo class.

View Source
var GradientClass = _GradientClass{objc.GetClass("NSGradient")}

The class instance for the Gradient class.

View Source
var GraphicsContextClass = _GraphicsContextClass{objc.GetClass("NSGraphicsContext")}

The class instance for the GraphicsContext class.

View Source
var GridCellClass = _GridCellClass{objc.GetClass("NSGridCell")}

The class instance for the GridCell class.

View Source
var GridColumnClass = _GridColumnClass{objc.GetClass("NSGridColumn")}

The class instance for the GridColumn class.

View Source
var GridRowClass = _GridRowClass{objc.GetClass("NSGridRow")}

The class instance for the GridRow class.

View Source
var GridViewClass = _GridViewClass{objc.GetClass("NSGridView")}

The class instance for the GridView class.

View Source
var GroupTouchBarItemClass = _GroupTouchBarItemClass{objc.GetClass("NSGroupTouchBarItem")}

The class instance for the GroupTouchBarItem class.

View Source
var HapticFeedbackManagerClass = _HapticFeedbackManagerClass{objc.GetClass("NSHapticFeedbackManager")}

The class instance for the HapticFeedbackManager class.

View Source
var HelpManagerClass = _HelpManagerClass{objc.GetClass("NSHelpManager")}

The class instance for the HelpManager class.

View Source
var ImageCellClass = _ImageCellClass{objc.GetClass("NSImageCell")}

The class instance for the ImageCell class.

View Source
var ImageClass = _ImageClass{objc.GetClass("NSImage")}

The class instance for the Image class.

View Source
var ImageRepClass = _ImageRepClass{objc.GetClass("NSImageRep")}

The class instance for the ImageRep class.

View Source
var ImageSymbolConfigurationClass = _ImageSymbolConfigurationClass{objc.GetClass("NSImageSymbolConfiguration")}

The class instance for the ImageSymbolConfiguration class.

View Source
var ImageViewClass = _ImageViewClass{objc.GetClass("NSImageView")}

The class instance for the ImageView class.

View Source
var InputManagerClass = _InputManagerClass{objc.GetClass("NSInputManager")}

The class instance for the InputManager class.

View Source
var InputServerClass = _InputServerClass{objc.GetClass("NSInputServer")}

The class instance for the InputServer class.

View Source
var LayoutAnchorClass = _LayoutAnchorClass{objc.GetClass("NSLayoutAnchor")}

The class instance for the LayoutAnchor class.

View Source
var LayoutConstraintClass = _LayoutConstraintClass{objc.GetClass("NSLayoutConstraint")}

The class instance for the LayoutConstraint class.

View Source
var LayoutDimensionClass = _LayoutDimensionClass{objc.GetClass("NSLayoutDimension")}

The class instance for the LayoutDimension class.

View Source
var LayoutGuideClass = _LayoutGuideClass{objc.GetClass("NSLayoutGuide")}

The class instance for the LayoutGuide class.

View Source
var LayoutManagerClass = _LayoutManagerClass{objc.GetClass("NSLayoutManager")}

The class instance for the LayoutManager class.

View Source
var LayoutXAxisAnchorClass = _LayoutXAxisAnchorClass{objc.GetClass("NSLayoutXAxisAnchor")}

The class instance for the LayoutXAxisAnchor class.

View Source
var LayoutYAxisAnchorClass = _LayoutYAxisAnchorClass{objc.GetClass("NSLayoutYAxisAnchor")}

The class instance for the LayoutYAxisAnchor class.

View Source
var LevelIndicatorCellClass = _LevelIndicatorCellClass{objc.GetClass("NSLevelIndicatorCell")}

The class instance for the LevelIndicatorCell class.

View Source
var LevelIndicatorClass = _LevelIndicatorClass{objc.GetClass("NSLevelIndicator")}

The class instance for the LevelIndicator class.

View Source
var MagnificationGestureRecognizerClass = _MagnificationGestureRecognizerClass{objc.GetClass("NSMagnificationGestureRecognizer")}

The class instance for the MagnificationGestureRecognizer class.

View Source
var MatrixClass = _MatrixClass{objc.GetClass("NSMatrix")}

The class instance for the Matrix class.

View Source
var MediaLibraryBrowserControllerClass = _MediaLibraryBrowserControllerClass{objc.GetClass("NSMediaLibraryBrowserController")}

The class instance for the MediaLibraryBrowserController class.

View Source
var MenuClass = _MenuClass{objc.GetClass("NSMenu")}

The class instance for the Menu class.

View Source
var MenuItemCellClass = _MenuItemCellClass{objc.GetClass("NSMenuItemCell")}

The class instance for the MenuItemCell class.

View Source
var MenuItemClass = _MenuItemClass{objc.GetClass("NSMenuItem")}

The class instance for the MenuItem class.

View Source
var MenuToolbarItemClass = _MenuToolbarItemClass{objc.GetClass("NSMenuToolbarItem")}

The class instance for the MenuToolbarItem class.

View Source
var MutableFontCollectionClass = _MutableFontCollectionClass{objc.GetClass("NSMutableFontCollection")}

The class instance for the MutableFontCollection class.

View Source
var MutableParagraphStyleClass = _MutableParagraphStyleClass{objc.GetClass("NSMutableParagraphStyle")}

The class instance for the MutableParagraphStyle class.

View Source
var NibClass = _NibClass{objc.GetClass("NSNib")}

The class instance for the Nib class.

View Source
var NibConnectorClass = _NibConnectorClass{objc.GetClass("NSNibConnector")}

The class instance for the NibConnector class.

View Source
var NibControlConnectorClass = _NibControlConnectorClass{objc.GetClass("NSNibControlConnector")}

The class instance for the NibControlConnector class.

View Source
var NibOutletConnectorClass = _NibOutletConnectorClass{objc.GetClass("NSNibOutletConnector")}

The class instance for the NibOutletConnector class.

View Source
var ObjectControllerClass = _ObjectControllerClass{objc.GetClass("NSObjectController")}

The class instance for the ObjectController class.

View Source
var OpenGLContextClass = _OpenGLContextClass{objc.GetClass("NSOpenGLContext")}

The class instance for the OpenGLContext class.

View Source
var OpenGLLayerClass = _OpenGLLayerClass{objc.GetClass("NSOpenGLLayer")}

The class instance for the OpenGLLayer class.

View Source
var OpenGLPixelBufferClass = _OpenGLPixelBufferClass{objc.GetClass("NSOpenGLPixelBuffer")}

The class instance for the OpenGLPixelBuffer class.

View Source
var OpenGLPixelFormatClass = _OpenGLPixelFormatClass{objc.GetClass("NSOpenGLPixelFormat")}

The class instance for the OpenGLPixelFormat class.

View Source
var OpenGLViewClass = _OpenGLViewClass{objc.GetClass("NSOpenGLView")}

The class instance for the OpenGLView class.

View Source
var OpenPanelClass = _OpenPanelClass{objc.GetClass("NSOpenPanel")}

The class instance for the OpenPanel class.

View Source
var OutlineViewClass = _OutlineViewClass{objc.GetClass("NSOutlineView")}

The class instance for the OutlineView class.

View Source
var PDFImageRepClass = _PDFImageRepClass{objc.GetClass("NSPDFImageRep")}

The class instance for the PDFImageRep class.

View Source
var PDFInfoClass = _PDFInfoClass{objc.GetClass("NSPDFInfo")}

The class instance for the PDFInfo class.

View Source
var PDFPanelClass = _PDFPanelClass{objc.GetClass("NSPDFPanel")}

The class instance for the PDFPanel class.

View Source
var PICTImageRepClass = _PICTImageRepClass{objc.GetClass("NSPICTImageRep")}

The class instance for the PICTImageRep class.

View Source
var PageControllerClass = _PageControllerClass{objc.GetClass("NSPageController")}

The class instance for the PageController class.

View Source
var PageLayoutClass = _PageLayoutClass{objc.GetClass("NSPageLayout")}

The class instance for the PageLayout class.

View Source
var PanGestureRecognizerClass = _PanGestureRecognizerClass{objc.GetClass("NSPanGestureRecognizer")}

The class instance for the PanGestureRecognizer class.

View Source
var PanelClass = _PanelClass{objc.GetClass("NSPanel")}

The class instance for the Panel class.

View Source
var ParagraphStyleClass = _ParagraphStyleClass{objc.GetClass("NSParagraphStyle")}

The class instance for the ParagraphStyle class.

View Source
var PasteboardClass = _PasteboardClass{objc.GetClass("NSPasteboard")}

The class instance for the Pasteboard class.

View Source
var PasteboardItemClass = _PasteboardItemClass{objc.GetClass("NSPasteboardItem")}

The class instance for the PasteboardItem class.

View Source
var PathCellClass = _PathCellClass{objc.GetClass("NSPathCell")}

The class instance for the PathCell class.

View Source
var PathComponentCellClass = _PathComponentCellClass{objc.GetClass("NSPathComponentCell")}

The class instance for the PathComponentCell class.

View Source
var PathControlClass = _PathControlClass{objc.GetClass("NSPathControl")}

The class instance for the PathControl class.

View Source
var PathControlItemClass = _PathControlItemClass{objc.GetClass("NSPathControlItem")}

The class instance for the PathControlItem class.

View Source
var PersistentDocumentClass = _PersistentDocumentClass{objc.GetClass("NSPersistentDocument")}

The class instance for the PersistentDocument class.

View Source
var PickerTouchBarItemClass = _PickerTouchBarItemClass{objc.GetClass("NSPickerTouchBarItem")}

The class instance for the PickerTouchBarItem class.

View Source
var PopUpButtonCellClass = _PopUpButtonCellClass{objc.GetClass("NSPopUpButtonCell")}

The class instance for the PopUpButtonCell class.

View Source
var PopUpButtonClass = _PopUpButtonClass{objc.GetClass("NSPopUpButton")}

The class instance for the PopUpButton class.

View Source
var PopoverClass = _PopoverClass{objc.GetClass("NSPopover")}

The class instance for the Popover class.

View Source
var PopoverTouchBarItemClass = _PopoverTouchBarItemClass{objc.GetClass("NSPopoverTouchBarItem")}

The class instance for the PopoverTouchBarItem class.

View Source
var PredicateEditorClass = _PredicateEditorClass{objc.GetClass("NSPredicateEditor")}

The class instance for the PredicateEditor class.

View Source
var PredicateEditorRowTemplateClass = _PredicateEditorRowTemplateClass{objc.GetClass("NSPredicateEditorRowTemplate")}

The class instance for the PredicateEditorRowTemplate class.

View Source
var PressGestureRecognizerClass = _PressGestureRecognizerClass{objc.GetClass("NSPressGestureRecognizer")}

The class instance for the PressGestureRecognizer class.

View Source
var PressureConfigurationClass = _PressureConfigurationClass{objc.GetClass("NSPressureConfiguration")}

The class instance for the PressureConfiguration class.

View Source
var PrintInfoClass = _PrintInfoClass{objc.GetClass("NSPrintInfo")}

The class instance for the PrintInfo class.

View Source
var PrintOperationClass = _PrintOperationClass{objc.GetClass("NSPrintOperation")}

The class instance for the PrintOperation class.

View Source
var PrintPanelClass = _PrintPanelClass{objc.GetClass("NSPrintPanel")}

The class instance for the PrintPanel class.

View Source
var PrinterClass = _PrinterClass{objc.GetClass("NSPrinter")}

The class instance for the Printer class.

View Source
var ProgressIndicatorClass = _ProgressIndicatorClass{objc.GetClass("NSProgressIndicator")}

The class instance for the ProgressIndicator class.

View Source
var ResponderClass = _ResponderClass{objc.GetClass("NSResponder")}

The class instance for the Responder class.

View Source
var RotationGestureRecognizerClass = _RotationGestureRecognizerClass{objc.GetClass("NSRotationGestureRecognizer")}

The class instance for the RotationGestureRecognizer class.

View Source
var RuleEditorClass = _RuleEditorClass{objc.GetClass("NSRuleEditor")}

The class instance for the RuleEditor class.

View Source
var RulerMarkerClass = _RulerMarkerClass{objc.GetClass("NSRulerMarker")}

The class instance for the RulerMarker class.

View Source
var RulerViewClass = _RulerViewClass{objc.GetClass("NSRulerView")}

The class instance for the RulerView class.

View Source
var RunningApplicationClass = _RunningApplicationClass{objc.GetClass("NSRunningApplication")}

The class instance for the RunningApplication class.

View Source
var SavePanelClass = _SavePanelClass{objc.GetClass("NSSavePanel")}

The class instance for the SavePanel class.

View Source
var ScreenClass = _ScreenClass{objc.GetClass("NSScreen")}

The class instance for the Screen class.

View Source
var ScrollViewClass = _ScrollViewClass{objc.GetClass("NSScrollView")}

The class instance for the ScrollView class.

View Source
var ScrollerClass = _ScrollerClass{objc.GetClass("NSScroller")}

The class instance for the Scroller class.

View Source
var ScrubberArrangedViewClass = _ScrubberArrangedViewClass{objc.GetClass("NSScrubberArrangedView")}

The class instance for the ScrubberArrangedView class.

View Source
var ScrubberClass = _ScrubberClass{objc.GetClass("NSScrubber")}

The class instance for the Scrubber class.

View Source
var ScrubberFlowLayoutClass = _ScrubberFlowLayoutClass{objc.GetClass("NSScrubberFlowLayout")}

The class instance for the ScrubberFlowLayout class.

View Source
var ScrubberImageItemViewClass = _ScrubberImageItemViewClass{objc.GetClass("NSScrubberImageItemView")}

The class instance for the ScrubberImageItemView class.

View Source
var ScrubberItemViewClass = _ScrubberItemViewClass{objc.GetClass("NSScrubberItemView")}

The class instance for the ScrubberItemView class.

View Source
var ScrubberLayoutAttributesClass = _ScrubberLayoutAttributesClass{objc.GetClass("NSScrubberLayoutAttributes")}

The class instance for the ScrubberLayoutAttributes class.

View Source
var ScrubberLayoutClass = _ScrubberLayoutClass{objc.GetClass("NSScrubberLayout")}

The class instance for the ScrubberLayout class.

View Source
var ScrubberProportionalLayoutClass = _ScrubberProportionalLayoutClass{objc.GetClass("NSScrubberProportionalLayout")}

The class instance for the ScrubberProportionalLayout class.

View Source
var ScrubberSelectionStyleClass = _ScrubberSelectionStyleClass{objc.GetClass("NSScrubberSelectionStyle")}

The class instance for the ScrubberSelectionStyle class.

View Source
var ScrubberSelectionViewClass = _ScrubberSelectionViewClass{objc.GetClass("NSScrubberSelectionView")}

The class instance for the ScrubberSelectionView class.

View Source
var ScrubberTextItemViewClass = _ScrubberTextItemViewClass{objc.GetClass("NSScrubberTextItemView")}

The class instance for the ScrubberTextItemView class.

View Source
var SearchFieldCellClass = _SearchFieldCellClass{objc.GetClass("NSSearchFieldCell")}

The class instance for the SearchFieldCell class.

View Source
var SearchFieldClass = _SearchFieldClass{objc.GetClass("NSSearchField")}

The class instance for the SearchField class.

View Source
var SearchToolbarItemClass = _SearchToolbarItemClass{objc.GetClass("NSSearchToolbarItem")}

The class instance for the SearchToolbarItem class.

View Source
var SecureTextFieldCellClass = _SecureTextFieldCellClass{objc.GetClass("NSSecureTextFieldCell")}

The class instance for the SecureTextFieldCell class.

View Source
var SecureTextFieldClass = _SecureTextFieldClass{objc.GetClass("NSSecureTextField")}

The class instance for the SecureTextField class.

View Source
var SegmentedCellClass = _SegmentedCellClass{objc.GetClass("NSSegmentedCell")}

The class instance for the SegmentedCell class.

View Source
var SegmentedControlClass = _SegmentedControlClass{objc.GetClass("NSSegmentedControl")}

The class instance for the SegmentedControl class.

View Source
var ShadowClass = _ShadowClass{objc.GetClass("NSShadow")}

The class instance for the Shadow class.

View Source
var SharingServiceClass = _SharingServiceClass{objc.GetClass("NSSharingService")}

The class instance for the SharingService class.

View Source
var SharingServicePickerClass = _SharingServicePickerClass{objc.GetClass("NSSharingServicePicker")}

The class instance for the SharingServicePicker class.

View Source
var SharingServicePickerToolbarItemClass = _SharingServicePickerToolbarItemClass{objc.GetClass("NSSharingServicePickerToolbarItem")}

The class instance for the SharingServicePickerToolbarItem class.

View Source
var SharingServicePickerTouchBarItemClass = _SharingServicePickerTouchBarItemClass{objc.GetClass("NSSharingServicePickerTouchBarItem")}

The class instance for the SharingServicePickerTouchBarItem class.

View Source
var SliderAccessoryBehaviorClass = _SliderAccessoryBehaviorClass{objc.GetClass("NSSliderAccessoryBehavior")}

The class instance for the SliderAccessoryBehavior class.

View Source
var SliderAccessoryClass = _SliderAccessoryClass{objc.GetClass("NSSliderAccessory")}

The class instance for the SliderAccessory class.

View Source
var SliderCellClass = _SliderCellClass{objc.GetClass("NSSliderCell")}

The class instance for the SliderCell class.

View Source
var SliderClass = _SliderClass{objc.GetClass("NSSlider")}

The class instance for the Slider class.

View Source
var SliderTouchBarItemClass = _SliderTouchBarItemClass{objc.GetClass("NSSliderTouchBarItem")}

The class instance for the SliderTouchBarItem class.

View Source
var SoundClass = _SoundClass{objc.GetClass("NSSound")}

The class instance for the Sound class.

View Source
var SpeechRecognizerClass = _SpeechRecognizerClass{objc.GetClass("NSSpeechRecognizer")}

The class instance for the SpeechRecognizer class.

View Source
var SpeechSynthesizerClass = _SpeechSynthesizerClass{objc.GetClass("NSSpeechSynthesizer")}

The class instance for the SpeechSynthesizer class.

View Source
var SpellCheckerClass = _SpellCheckerClass{objc.GetClass("NSSpellChecker")}

The class instance for the SpellChecker class.

View Source
var SplitViewClass = _SplitViewClass{objc.GetClass("NSSplitView")}

The class instance for the SplitView class.

View Source
var SplitViewControllerClass = _SplitViewControllerClass{objc.GetClass("NSSplitViewController")}

The class instance for the SplitViewController class.

View Source
var SplitViewItemClass = _SplitViewItemClass{objc.GetClass("NSSplitViewItem")}

The class instance for the SplitViewItem class.

View Source
var StackViewClass = _StackViewClass{objc.GetClass("NSStackView")}

The class instance for the StackView class.

View Source
var StatusBarButtonClass = _StatusBarButtonClass{objc.GetClass("NSStatusBarButton")}

The class instance for the StatusBarButton class.

View Source
var StatusBarClass = _StatusBarClass{objc.GetClass("NSStatusBar")}

The class instance for the StatusBar class.

View Source
var StatusItemClass = _StatusItemClass{objc.GetClass("NSStatusItem")}

The class instance for the StatusItem class.

View Source
var StepperCellClass = _StepperCellClass{objc.GetClass("NSStepperCell")}

The class instance for the StepperCell class.

View Source
var StepperClass = _StepperClass{objc.GetClass("NSStepper")}

The class instance for the Stepper class.

View Source
var StepperTouchBarItemClass = _StepperTouchBarItemClass{objc.GetClass("NSStepperTouchBarItem")}

The class instance for the StepperTouchBarItem class.

View Source
var StoryboardClass = _StoryboardClass{objc.GetClass("NSStoryboard")}

The class instance for the Storyboard class.

View Source
var StoryboardSegueClass = _StoryboardSegueClass{objc.GetClass("NSStoryboardSegue")}

The class instance for the StoryboardSegue class.

View Source
var StringDrawingContextClass = _StringDrawingContextClass{objc.GetClass("NSStringDrawingContext")}

The class instance for the StringDrawingContext class.

View Source
var SwitchClass = _SwitchClass{objc.GetClass("NSSwitch")}

The class instance for the Switch class.

View Source
var TabViewClass = _TabViewClass{objc.GetClass("NSTabView")}

The class instance for the TabView class.

View Source
var TabViewControllerClass = _TabViewControllerClass{objc.GetClass("NSTabViewController")}

The class instance for the TabViewController class.

View Source
var TabViewItemClass = _TabViewItemClass{objc.GetClass("NSTabViewItem")}

The class instance for the TabViewItem class.

View Source
var TableCellViewClass = _TableCellViewClass{objc.GetClass("NSTableCellView")}

The class instance for the TableCellView class.

View Source
var TableColumnClass = _TableColumnClass{objc.GetClass("NSTableColumn")}

The class instance for the TableColumn class.

View Source
var TableHeaderCellClass = _TableHeaderCellClass{objc.GetClass("NSTableHeaderCell")}

The class instance for the TableHeaderCell class.

View Source
var TableHeaderViewClass = _TableHeaderViewClass{objc.GetClass("NSTableHeaderView")}

The class instance for the TableHeaderView class.

View Source
var TableRowViewClass = _TableRowViewClass{objc.GetClass("NSTableRowView")}

The class instance for the TableRowView class.

View Source
var TableViewClass = _TableViewClass{objc.GetClass("NSTableView")}

The class instance for the TableView class.

View Source
var TableViewDiffableDataSourceClass = _TableViewDiffableDataSourceClass{objc.GetClass("NSTableViewDiffableDataSource")}

The class instance for the TableViewDiffableDataSource class.

View Source
var TableViewRowActionClass = _TableViewRowActionClass{objc.GetClass("NSTableViewRowAction")}

The class instance for the TableViewRowAction class.

View Source
var TextAlternativesClass = _TextAlternativesClass{objc.GetClass("NSTextAlternatives")}

The class instance for the TextAlternatives class.

View Source
var TextAttachmentCellClass = _TextAttachmentCellClass{objc.GetClass("NSTextAttachmentCell")}

The class instance for the TextAttachmentCell class.

View Source
var TextAttachmentClass = _TextAttachmentClass{objc.GetClass("NSTextAttachment")}

The class instance for the TextAttachment class.

View Source
var TextAttachmentViewProviderClass = _TextAttachmentViewProviderClass{objc.GetClass("NSTextAttachmentViewProvider")}

The class instance for the TextAttachmentViewProvider class.

View Source
var TextBlockClass = _TextBlockClass{objc.GetClass("NSTextBlock")}

The class instance for the TextBlock class.

View Source
var TextCheckingControllerClass = _TextCheckingControllerClass{objc.GetClass("NSTextCheckingController")}

The class instance for the TextCheckingController class.

View Source
var TextClass = _TextClass{objc.GetClass("NSText")}

The class instance for the Text class.

View Source
var TextContainerClass = _TextContainerClass{objc.GetClass("NSTextContainer")}

The class instance for the TextContainer class.

View Source
var TextContentManagerClass = _TextContentManagerClass{objc.GetClass("NSTextContentManager")}

The class instance for the TextContentManager class.

View Source
var TextContentStorageClass = _TextContentStorageClass{objc.GetClass("NSTextContentStorage")}

The class instance for the TextContentStorage class.

View Source
var TextElementClass = _TextElementClass{objc.GetClass("NSTextElement")}

The class instance for the TextElement class.

View Source
var TextFieldCellClass = _TextFieldCellClass{objc.GetClass("NSTextFieldCell")}

The class instance for the TextFieldCell class.

View Source
var TextFieldClass = _TextFieldClass{objc.GetClass("NSTextField")}

The class instance for the TextField class.

View Source
var TextFinderClass = _TextFinderClass{objc.GetClass("NSTextFinder")}

The class instance for the TextFinder class.

View Source
var TextInputContextClass = _TextInputContextClass{objc.GetClass("NSTextInputContext")}

The class instance for the TextInputContext class.

View Source
var TextLayoutFragmentClass = _TextLayoutFragmentClass{objc.GetClass("NSTextLayoutFragment")}

The class instance for the TextLayoutFragment class.

View Source
var TextLayoutManagerClass = _TextLayoutManagerClass{objc.GetClass("NSTextLayoutManager")}

The class instance for the TextLayoutManager class.

View Source
var TextLineFragmentClass = _TextLineFragmentClass{objc.GetClass("NSTextLineFragment")}

The class instance for the TextLineFragment class.

View Source
var TextListClass = _TextListClass{objc.GetClass("NSTextList")}

The class instance for the TextList class.

View Source
var TextParagraphClass = _TextParagraphClass{objc.GetClass("NSTextParagraph")}

The class instance for the TextParagraph class.

View Source
var TextRangeClass = _TextRangeClass{objc.GetClass("NSTextRange")}

The class instance for the TextRange class.

View Source
var TextSelectionClass = _TextSelectionClass{objc.GetClass("NSTextSelection")}

The class instance for the TextSelection class.

View Source
var TextSelectionNavigationClass = _TextSelectionNavigationClass{objc.GetClass("NSTextSelectionNavigation")}

The class instance for the TextSelectionNavigation class.

View Source
var TextStorageClass = _TextStorageClass{objc.GetClass("NSTextStorage")}

The class instance for the TextStorage class.

View Source
var TextTabClass = _TextTabClass{objc.GetClass("NSTextTab")}

The class instance for the TextTab class.

View Source
var TextTableBlockClass = _TextTableBlockClass{objc.GetClass("NSTextTableBlock")}

The class instance for the TextTableBlock class.

View Source
var TextTableClass = _TextTableClass{objc.GetClass("NSTextTable")}

The class instance for the TextTable class.

View Source
var TextViewClass = _TextViewClass{objc.GetClass("NSTextView")}

The class instance for the TextView class.

View Source
var TextViewportLayoutControllerClass = _TextViewportLayoutControllerClass{objc.GetClass("NSTextViewportLayoutController")}

The class instance for the TextViewportLayoutController class.

View Source
var TintConfigurationClass = _TintConfigurationClass{objc.GetClass("NSTintConfiguration")}

The class instance for the TintConfiguration class.

View Source
var TitlebarAccessoryViewControllerClass = _TitlebarAccessoryViewControllerClass{objc.GetClass("NSTitlebarAccessoryViewController")}

The class instance for the TitlebarAccessoryViewController class.

View Source
var TokenFieldCellClass = _TokenFieldCellClass{objc.GetClass("NSTokenFieldCell")}

The class instance for the TokenFieldCell class.

View Source
var TokenFieldClass = _TokenFieldClass{objc.GetClass("NSTokenField")}

The class instance for the TokenField class.

View Source
var ToolbarClass = _ToolbarClass{objc.GetClass("NSToolbar")}

The class instance for the Toolbar class.

View Source
var ToolbarItemClass = _ToolbarItemClass{objc.GetClass("NSToolbarItem")}

The class instance for the ToolbarItem class.

View Source
var ToolbarItemGroupClass = _ToolbarItemGroupClass{objc.GetClass("NSToolbarItemGroup")}

The class instance for the ToolbarItemGroup class.

View Source
var TouchBarClass = _TouchBarClass{objc.GetClass("NSTouchBar")}

The class instance for the TouchBar class.

View Source
var TouchBarItemClass = _TouchBarItemClass{objc.GetClass("NSTouchBarItem")}

The class instance for the TouchBarItem class.

View Source
var TouchClass = _TouchClass{objc.GetClass("NSTouch")}

The class instance for the Touch class.

View Source
var TrackingAreaClass = _TrackingAreaClass{objc.GetClass("NSTrackingArea")}

The class instance for the TrackingArea class.

View Source
var TrackingSeparatorToolbarItemClass = _TrackingSeparatorToolbarItemClass{objc.GetClass("NSTrackingSeparatorToolbarItem")}

The class instance for the TrackingSeparatorToolbarItem class.

View Source
var TreeControllerClass = _TreeControllerClass{objc.GetClass("NSTreeController")}

The class instance for the TreeController class.

View Source
var TreeNodeClass = _TreeNodeClass{objc.GetClass("NSTreeNode")}

The class instance for the TreeNode class.

View Source
var TypesetterClass = _TypesetterClass{objc.GetClass("NSTypesetter")}

The class instance for the Typesetter class.

View Source
var UserDefaultsControllerClass = _UserDefaultsControllerClass{objc.GetClass("NSUserDefaultsController")}

The class instance for the UserDefaultsController class.

View Source
var UserInterfaceCompressionOptionsClass = _UserInterfaceCompressionOptionsClass{objc.GetClass("NSUserInterfaceCompressionOptions")}

The class instance for the UserInterfaceCompressionOptions class.

View Source
var ViewAnimationClass = _ViewAnimationClass{objc.GetClass("NSViewAnimation")}

The class instance for the ViewAnimation class.

View Source
var ViewClass = _ViewClass{objc.GetClass("NSView")}

The class instance for the View class.

View Source
var ViewControllerClass = _ViewControllerClass{objc.GetClass("NSViewController")}

The class instance for the ViewController class.

View Source
var VisualEffectViewClass = _VisualEffectViewClass{objc.GetClass("NSVisualEffectView")}

The class instance for the VisualEffectView class.

View Source
var WindowClass = _WindowClass{objc.GetClass("NSWindow")}

The class instance for the Window class.

View Source
var WindowControllerClass = _WindowControllerClass{objc.GetClass("NSWindowController")}

The class instance for the WindowController class.

View Source
var WindowTabClass = _WindowTabClass{objc.GetClass("NSWindowTab")}

The class instance for the WindowTab class.

View Source
var WindowTabGroupClass = _WindowTabGroupClass{objc.GetClass("NSWindowTabGroup")}

The class instance for the WindowTabGroup class.

View Source
var WorkspaceAuthorizationClass = _WorkspaceAuthorizationClass{objc.GetClass("NSWorkspaceAuthorization")}

The class instance for the WorkspaceAuthorization class.

View Source
var WorkspaceClass = _WorkspaceClass{objc.GetClass("NSWorkspace")}

The class instance for the Workspace class.

View Source
var WorkspaceOpenConfigurationClass = _WorkspaceOpenConfigurationClass{objc.GetClass("NSWorkspaceOpenConfiguration")}

The class instance for the WorkspaceOpenConfiguration class.

Functions

func AccessibilityElement_AccessibilityElementWithRoleFrameLabelParent

func AccessibilityElement_AccessibilityElementWithRoleFrameLabelParent(role AccessibilityRole, frame foundation.Rect, label string, parent objc.IObject) objc.Object

Instantiates and configures a new accessibility element. Full Topic

func AnimationContext_BeginGrouping

func AnimationContext_BeginGrouping()

Creates a new animation grouping. Full Topic

func AnimationContext_EndGrouping

func AnimationContext_EndGrouping()

Ends the current animation grouping. Full Topic

func AnimationContext_RunAnimationGroup

func AnimationContext_RunAnimationGroup(changes func(context AnimationContext))
[Full Topic]

func Application_DetachDrawingThreadToTargetWithObject

func Application_DetachDrawingThreadToTargetWithObject(selector objc.Selector, target objc.IObject, argument objc.IObject)

Creates and executes a new thread based on the specified target and selector. Full Topic

func BezierPath_ClipRect

func BezierPath_ClipRect(rect foundation.Rect)

Intersects the specified rectangle with the clipping path of the current graphics context and makes the resulting shape the current clipping path. Full Topic

func BezierPath_DefaultFlatness

func BezierPath_DefaultFlatness() float64

The default flatness value for all paths. Full Topic

func BezierPath_DefaultLineWidth

func BezierPath_DefaultLineWidth() float64

Returns the default line width for the all paths. Full Topic

func BezierPath_DefaultMiterLimit

func BezierPath_DefaultMiterLimit() float64

Returns the default miter limit for all paths. Full Topic

func BezierPath_DrawPackedGlyphsAtPoint

func BezierPath_DrawPackedGlyphsAtPoint(packedGlyphs *uint8, point foundation.Point)

Draws a set of packed glyphs at the specified point in the current coordinate system. Full Topic

func BezierPath_FillRect

func BezierPath_FillRect(rect foundation.Rect)

Fills the specified rectangular path with the current fill color. Full Topic

func BezierPath_SetDefaultFlatness

func BezierPath_SetDefaultFlatness(value float64)

The default flatness value for all paths. Full Topic

func BezierPath_SetDefaultLineCapStyle

func BezierPath_SetDefaultLineCapStyle(value LineCapStyle)

Returns the default line cap style for all paths. Full Topic

func BezierPath_SetDefaultLineJoinStyle

func BezierPath_SetDefaultLineJoinStyle(value LineJoinStyle)

Returns the default line join style for all paths. Full Topic

func BezierPath_SetDefaultLineWidth

func BezierPath_SetDefaultLineWidth(value float64)

Returns the default line width for the all paths. Full Topic

func BezierPath_SetDefaultMiterLimit

func BezierPath_SetDefaultMiterLimit(value float64)

Returns the default miter limit for all paths. Full Topic

func BezierPath_SetDefaultWindingRule

func BezierPath_SetDefaultWindingRule(value WindingRule)

Returns the default winding rule used to fill all paths. Full Topic

func BezierPath_StrokeLineFromPointToPoint

func BezierPath_StrokeLineFromPointToPoint(point1 foundation.Point, point2 foundation.Point)

Strokes a line between two points using the current stroke color and the default drawing attributes. Full Topic

func BezierPath_StrokeRect

func BezierPath_StrokeRect(rect foundation.Rect)

Strokes the path of the specified rectangle using the current stroke color and the default drawing attributes. Full Topic

func BindingSelectionMarker_DefaultPlaceholderForMarkerOnClassWithBinding

func BindingSelectionMarker_DefaultPlaceholderForMarkerOnClassWithBinding(marker IBindingSelectionMarker, objectClass objc.IClass, binding BindingName) objc.Object
[Full Topic]

func BindingSelectionMarker_SetDefaultPlaceholderForMarkerOnClassWithBinding

func BindingSelectionMarker_SetDefaultPlaceholderForMarkerOnClassWithBinding(placeholder objc.IObject, marker IBindingSelectionMarker, objectClass objc.IClass, binding BindingName)
[Full Topic]

func BitmapImageRep_GetTIFFCompressionTypesCount

func BitmapImageRep_GetTIFFCompressionTypesCount(list *TIFFCompression, numTypes *int)

Returns by indirection an array of all available compression types that can be used when writing a TIFF image. Full Topic

func BitmapImageRep_LocalizedNameForTIFFCompressionType

func BitmapImageRep_LocalizedNameForTIFFCompressionType(compression TIFFCompression) string

Returns an autoreleased string containing the localized name for the specified compression type. Full Topic

func BitmapImageRep_RepresentationOfImageRepsInArrayUsingTypeProperties

func BitmapImageRep_RepresentationOfImageRepsInArrayUsingTypeProperties(imageReps []IImageRep, storageType BitmapImageFileType, properties map[BitmapImageRepPropertyKey]objc.IObject) []byte

Formats the specified bitmap images using the specified storage type and properties and returns them in a data object. Full Topic

func BitmapImageRep_TIFFRepresentationOfImageRepsInArray

func BitmapImageRep_TIFFRepresentationOfImageRepsInArray(array []IImageRep) []byte

Returns a TIFF representation of the specified images. Full Topic

func Browser_CellClass

func Browser_CellClass() objc.Class

Returns the NSBrowserCell class. Full Topic

func Browser_RemoveSavedColumnsWithAutosaveName

func Browser_RemoveSavedColumnsWithAutosaveName(name BrowserColumnsAutosaveName)

Removes the column configuration data stored under the given name from the application’s user defaults. Full Topic

func Cell_PrefersTrackingUntilMouseUp

func Cell_PrefersTrackingUntilMouseUp() bool

Returns a Boolean value that indicates whether tracking stops when the cursor leaves the cell. Full Topic

func CollectionViewLayout_InvalidationContextClass

func CollectionViewLayout_InvalidationContextClass() objc.Class

Returns the class to use when creating an invalidation context object for the layout. Full Topic

func CollectionViewLayout_LayoutAttributesClass

func CollectionViewLayout_LayoutAttributesClass() objc.Class

Returns the class to use for layout attribute objects Full Topic

func ColorPanel_DragColorWithEventFromView

func ColorPanel_DragColorWithEventFromView(color IColor, event IEvent, sourceView IView) bool

Drags a color into a destination view from the specified source view. Full Topic

func ColorPanel_SetPickerMask

func ColorPanel_SetPickerMask(mask ColorPanelOptions)

Determines which color selection modes are available in an application’s NSColorPanel. Full Topic

func ColorPanel_SetPickerMode

func ColorPanel_SetPickerMode(mode ColorPanelMode)

Specifies the color panel’s initial picker. Full Topic

func ColorPanel_SharedColorPanelExists

func ColorPanel_SharedColorPanelExists() bool

Returns a Boolean value indicating whether the NSColorPanel has been created already. Full Topic

func Cursor_Hide

func Cursor_Hide()

Makes the current cursor invisible. Full Topic

func Cursor_Pop

func Cursor_Pop()

Pops the current cursor off the top of the stack. Full Topic

func Cursor_SetHiddenUntilMouseMoves

func Cursor_SetHiddenUntilMouseMoves(flag bool)

Sets whether the cursor is hidden until the mouse moves. Full Topic

func Cursor_Unhide

func Cursor_Unhide()

Negates an earlier call to hide by showing the current cursor. Full Topic

func DisableAutoresizingTranslate

func DisableAutoresizingTranslate[T IView](v T) T

func Document_AllowedClassesForRestorableStateKeyPath

func Document_AllowedClassesForRestorableStateKeyPath(keyPath string) []objc.Class

Returns the classes that support secure coding. Full Topic

func Document_AutosavesDrafts

func Document_AutosavesDrafts() bool

A Boolean value that indicates whether the document subclass supports autosaving of drafts. Full Topic

func Document_AutosavesInPlace

func Document_AutosavesInPlace() bool

Returns whether the receiver supports autosaving in place. Full Topic

func Document_CanConcurrentlyReadDocumentsOfType

func Document_CanConcurrentlyReadDocumentsOfType(typeName string) bool

Returns a Boolean value that indicates whether the receiver reads multiple documents of the given type concurrently. Full Topic

func Document_IsNativeType

func Document_IsNativeType(type_ string) bool

Returns a Boolean value that indicates whether the document can read and write the data natively. Full Topic

func Document_PreservesVersions

func Document_PreservesVersions() bool

Returns whether the document subclass supports version management. Full Topic

func Document_ReadableTypes

func Document_ReadableTypes() []string

Returns the types of data the receiver can read natively and any types filterable to that native type. Full Topic

func Document_RestorableStateKeyPaths

func Document_RestorableStateKeyPaths() []string

Returns an array of key paths that represent the restorable attributes of the document. Full Topic

func Document_UsesUbiquitousStorage

func Document_UsesUbiquitousStorage() bool

Returns whether the document object stores its contents in the user's iCloud document storage. Full Topic

func Document_WritableTypes

func Document_WritableTypes() []string

Returns the types of data the receiver can write natively and any types filterable to that native type. Full Topic

func Event_AddGlobalMonitorForEventsMatchingMaskHandler

func Event_AddGlobalMonitorForEventsMatchingMaskHandler(mask EventMask, block func(event Event)) objc.Object

Installs an event monitor that receives copies of events the system posts to other applications. Full Topic

func Event_AddLocalMonitorForEventsMatchingMaskHandler

func Event_AddLocalMonitorForEventsMatchingMaskHandler(mask EventMask, block func(event Event) Event) objc.Object

Installs an event monitor that receives copies of events the system posts to this app prior to their dispatch. Full Topic

func Event_DoubleClickInterval

func Event_DoubleClickInterval() foundation.TimeInterval

The maximum number of seconds in which a second mouse click must occur for an event to be a double-click event. Full Topic

func Event_KeyRepeatDelay

func Event_KeyRepeatDelay() foundation.TimeInterval

The number of seconds someone must hold down a key before the first key repeat event occurs. Full Topic

func Event_KeyRepeatInterval

func Event_KeyRepeatInterval() foundation.TimeInterval

The number of seconds someone must hold down a key to generate key-repeat events after the initial delay. Full Topic

func Event_MouseCoalescingEnabled

func Event_MouseCoalescingEnabled() bool

A Boolean value that indicates whether the system coalesces mouse movement events. Full Topic

func Event_MouseLocation

func Event_MouseLocation() foundation.Point

Reports the current mouse position in screen coordinates. Full Topic

func Event_PressedMouseButtons

func Event_PressedMouseButtons() uint

The indices of the currently pressed mouse buttons. Full Topic

func Event_RemoveMonitor

func Event_RemoveMonitor(eventMonitor objc.IObject)

Removes the specified event monitor. Full Topic

func Event_SetMouseCoalescingEnabled

func Event_SetMouseCoalescingEnabled(value bool)

A Boolean value that indicates whether the system coalesces mouse movement events. Full Topic

func Event_StartPeriodicEventsAfterDelayWithPeriod

func Event_StartPeriodicEventsAfterDelayWithPeriod(delay foundation.TimeInterval, period foundation.TimeInterval)

Begins generating periodic events for the current thread. Full Topic

func Event_StopPeriodicEvents

func Event_StopPeriodicEvents()

Stops generating periodic events for the current thread and discards any periodic events remaining in the queue. Full Topic

func Event_SwipeTrackingFromScrollEventsEnabled

func Event_SwipeTrackingFromScrollEventsEnabled() bool

A Boolean value that indicates whether to track fluid swipe gestures using scroll events. Full Topic

func FilePromiseReceiver_ReadableDraggedTypes

func FilePromiseReceiver_ReadableDraggedTypes() []string

An array containing dragged file types that are readable. Full Topic

func FontCollection_HideFontCollectionWithNameVisibilityError

func FontCollection_HideFontCollectionWithNameVisibilityError(name FontCollectionName, visibility FontCollectionVisibility, error foundation.IError) bool

Remove from view the named font collection with the specified visibility. Full Topic

func FontCollection_RenameFontCollectionWithNameVisibilityToNameError

func FontCollection_RenameFontCollectionWithNameVisibilityToNameError(oldName FontCollectionName, visibility FontCollectionVisibility, newName FontCollectionName, outError foundation.IError) bool

Renames the font collection with the specified name and visibility to the second name specified. Full Topic

func FontCollection_ShowFontCollectionWithNameVisibilityError

func FontCollection_ShowFontCollectionWithNameVisibilityError(collection IFontCollection, name FontCollectionName, visibility FontCollectionVisibility, error foundation.IError) bool

Make the given font collection visible by giving it a name. Full Topic

func FontManager_SetFontManagerFactory

func FontManager_SetFontManagerFactory(factoryId objc.IClass)

Sets the class that creates the shared font manager object. Full Topic

func FontManager_SetFontPanelFactory

func FontManager_SetFontPanelFactory(factoryId objc.IClass)

Sets the class that creates the shared Font panel object. Full Topic

func FontPanel_SharedFontPanelExists

func FontPanel_SharedFontPanelExists() bool

Returns YES if the shared Font panel has been created, NO if it hasn’t. Full Topic

func Font_LabelFontSize

func Font_LabelFontSize() float64

Returns the size of the standard label font. Full Topic

func Font_SetUserFixedPitchFont

func Font_SetUserFixedPitchFont(font IFont)

Sets the font used by default for documents and other text under the user’s control, when that font should be fixed-pitch, to the specified font. Full Topic

func Font_SetUserFont

func Font_SetUserFont(font IFont)

Sets the font used by default for documents and other text under the user’s control to the specified font. Full Topic

func Font_SmallSystemFontSize

func Font_SmallSystemFontSize() float64

Returns the size of the standard small system font. Full Topic

func Font_SystemFontSize

func Font_SystemFontSize() float64

Returns the size of the standard system font. Full Topic

func Font_SystemFontSizeForControlSize

func Font_SystemFontSizeForControlSize(controlSize ControlSize) float64

Returns the font size used for the specified control size. Full Topic

func GraphicsContext_CurrentContextDrawingToScreen

func GraphicsContext_CurrentContextDrawingToScreen() bool

Returns a Boolean value that indicates whether the current context is drawing to the screen. Full Topic

func GraphicsContext_RestoreGraphicsState

func GraphicsContext_RestoreGraphicsState()

Pops a graphics context from the per-thread stack, makes it current, and sends the context a restore graphics state message. Full Topic

func GraphicsContext_SaveGraphicsState

func GraphicsContext_SaveGraphicsState()

Saves the graphics state of the current graphics context. Full Topic

func GraphicsContext_SetCurrentContext

func GraphicsContext_SetCurrentContext(value IGraphicsContext)

Returns the current graphics context of the current thread. Full Topic

func HelpManager_ContextHelpModeActive

func HelpManager_ContextHelpModeActive() bool
[Full Topic]

func HelpManager_SetContextHelpModeActive

func HelpManager_SetContextHelpModeActive(value bool)
[Full Topic]

func ImageRep_CanInitWithData

func ImageRep_CanInitWithData(data []byte) bool

Returns a Boolean value that indicates whether the image representation can initialize itself from the specified data. Full Topic

func ImageRep_CanInitWithPasteboard

func ImageRep_CanInitWithPasteboard(pasteboard IPasteboard) bool

Returns a Boolean value that indicates whether the receiver can initialize itself from the data on the specified pasteboard. Full Topic

func ImageRep_ImageRepClassForData

func ImageRep_ImageRepClassForData(data []byte) objc.Class

Returns the image representation subclass that handles the specified type of data. Full Topic

func ImageRep_ImageRepClassForType

func ImageRep_ImageRepClassForType(type_ string) objc.Class

Returns the image representation subclass that handles image data for the specified UTI. Full Topic

func ImageRep_ImageTypes

func ImageRep_ImageTypes() []string

Returns an array of UTI strings identifying the image types supported by the image representation, either directly or through a user-installed filter service. Full Topic

func ImageRep_ImageUnfilteredTypes

func ImageRep_ImageUnfilteredTypes() []string

Returns an array of UTI strings identifying the image types supported directly by the ime representation. Full Topic

func ImageRep_RegisterImageRepClass

func ImageRep_RegisterImageRepClass(imageRepClass objc.IClass)

Adds the specified class to the registry of available image representation subclasses. Full Topic

func ImageRep_RegisteredImageRepClasses

func ImageRep_RegisteredImageRepClasses() []objc.Class

Returns an array containing the registered image representation classes. Full Topic

func ImageRep_UnregisterImageRepClass

func ImageRep_UnregisterImageRepClass(imageRepClass objc.IClass)

Removes the specified image representation subclass from the registry of available image representations. Full Topic

func Image_CanInitWithPasteboard

func Image_CanInitWithPasteboard(pasteboard IPasteboard) bool

Tests whether the image can create an instance of itself using pasteboard data. Full Topic

func Image_ImageTypes

func Image_ImageTypes() []string

Returns an array of UTI strings identifying the image types supported by the registered image representation objects, either directly or through a user-installed filter service. Full Topic

func Image_ImageUnfilteredTypes

func Image_ImageUnfilteredTypes() []string

Returns an array of UTI strings identifying the image types supported directly by the registered image representation objects. Full Topic

func LayoutConstraint_ActivateConstraints

func LayoutConstraint_ActivateConstraints(constraints []ILayoutConstraint)

Activates each constraint in the specified array. Full Topic

func LayoutConstraint_DeactivateConstraints

func LayoutConstraint_DeactivateConstraints(constraints []ILayoutConstraint)

Deactivates each constraint in the specified array. Full Topic

func MenuItem_SetUsesUserKeyEquivalents(value bool)

Returns a Boolean value that indicates whether menu items conform to user preferences for key equivalents. Full Topic

func MenuItem_UsesUserKeyEquivalents() bool

Returns a Boolean value that indicates whether menu items conform to user preferences for key equivalents. Full Topic

func Menu_MenuBarVisible() bool

Returns a Boolean value that indicates whether the menu bar is visible. Full Topic

func Menu_PopUpContextMenuWithEventForView(menu IMenu, event IEvent, view IView)

Displays a contextual menu over a view for an event. Full Topic

func Menu_SetMenuBarVisible(visible bool)

Sets whether the menu bar is visible and selectable by the user. Full Topic

func PathCell_PathComponentCellClass

func PathCell_PathComponentCellClass() objc.Class

Returns the class used to create pathComponentCell objects when automatically filling up the control. Full Topic

func PrintInfo_SetSharedPrintInfo

func PrintInfo_SetSharedPrintInfo(value IPrintInfo)

The shared printing information object. Full Topic

func PrintOperation_SetCurrentOperation

func PrintOperation_SetCurrentOperation(value IPrintOperation)

The current print operation for this thread. Full Topic

func Printer_PrinterNames

func Printer_PrinterNames() []string

Returns the names of all available printers. Full Topic

func Responder_AllowedClassesForRestorableStateKeyPath

func Responder_AllowedClassesForRestorableStateKeyPath(keyPath string) []objc.Class

Returns the classes that support secure coding. Full Topic

func Responder_RestorableStateKeyPaths

func Responder_RestorableStateKeyPaths() []string

Returns an array of key paths representing the restorable attributes of the responder. Full Topic

func RulerView_RegisterUnitWithNameAbbreviationUnitToPointsConversionFactorStepUpCycleStepDownCycle

func RulerView_RegisterUnitWithNameAbbreviationUnitToPointsConversionFactorStepUpCycleStepDownCycle(unitName RulerViewUnitName, abbreviation string, conversionFactor float64, stepUpCycle []foundation.INumber, stepDownCycle []foundation.INumber)

Registers a new unit of measurement with the NSRulerView class, making it available to all instances of NSRulerView. Full Topic

func RunningApplication_TerminateAutomaticallyTerminableApplications

func RunningApplication_TerminateAutomaticallyTerminableApplications()

Terminates invisibly running applications as if triggered by system memory pressure. Full Topic

func Screen_ScreensHaveSeparateSpaces

func Screen_ScreensHaveSeparateSpaces() bool

Returns a Boolean value indicating whether each screen can have its own set of spaces. Full Topic

func ScrollView_FrameSizeForContentSizeHorizontalScrollerClassVerticalScrollerClassBorderTypeControlSizeScrollerStyle

func ScrollView_FrameSizeForContentSizeHorizontalScrollerClassVerticalScrollerClassBorderTypeControlSizeScrollerStyle(cSize foundation.Size, horizontalScrollerClass objc.IClass, verticalScrollerClass objc.IClass, type_ BorderType, controlSize ControlSize, scrollerStyle ScrollerStyle) foundation.Size

Returns the frame size of a scroll view that contains a content view with the specified size. Full Topic

func ScrollView_RulerViewClass

func ScrollView_RulerViewClass() objc.Class

Returns the default class to be used for ruler objects in NSScrollViews. Full Topic

func ScrollView_SetRulerViewClass

func ScrollView_SetRulerViewClass(value objc.IClass)

Returns the default class to be used for ruler objects in NSScrollViews. Full Topic

func Scroller_CompatibleWithOverlayScrollers

func Scroller_CompatibleWithOverlayScrollers() bool
[Full Topic]

func ScrubberLayout_LayoutAttributesClass

func ScrubberLayout_LayoutAttributesClass() objc.Class

A property containing a class that describes layout attributes. Full Topic

func Sound_CanInitWithPasteboard

func Sound_CanInitWithPasteboard(pasteboard IPasteboard) bool

Indicates whether the receiver can create an instance of itself from the data in a pasteboard. Full Topic

func Sound_SoundUnfilteredTypes

func Sound_SoundUnfilteredTypes() []string

Provides the file types the NSSound class understands. Full Topic

func SpellChecker_AutomaticCapitalizationEnabled

func SpellChecker_AutomaticCapitalizationEnabled() bool
[Full Topic]

func SpellChecker_AutomaticDashSubstitutionEnabled

func SpellChecker_AutomaticDashSubstitutionEnabled() bool
[Full Topic]

func SpellChecker_AutomaticPeriodSubstitutionEnabled

func SpellChecker_AutomaticPeriodSubstitutionEnabled() bool
[Full Topic]

func SpellChecker_AutomaticQuoteSubstitutionEnabled

func SpellChecker_AutomaticQuoteSubstitutionEnabled() bool
[Full Topic]

func SpellChecker_AutomaticSpellingCorrectionEnabled

func SpellChecker_AutomaticSpellingCorrectionEnabled() bool
[Full Topic]

func SpellChecker_AutomaticTextCompletionEnabled

func SpellChecker_AutomaticTextCompletionEnabled() bool
[Full Topic]

func SpellChecker_AutomaticTextReplacementEnabled

func SpellChecker_AutomaticTextReplacementEnabled() bool
[Full Topic]

func SpellChecker_SharedSpellCheckerExists

func SpellChecker_SharedSpellCheckerExists() bool

Returns whether the application’s NSSpellChecker has already been created. Full Topic

func SpellChecker_UniqueSpellDocumentTag

func SpellChecker_UniqueSpellDocumentTag() int

Returns a guaranteed unique tag to use as the spell-document tag for a document. Full Topic

func TextAttachment_RegisterTextAttachmentViewProviderClassForFileType

func TextAttachment_RegisterTextAttachmentViewProviderClassForFileType(textAttachmentViewProviderClass objc.IClass, fileType string)

Registers a specific file type with the attachment view provider. Full Topic

func TextAttachment_TextAttachmentViewProviderClassForFileType

func TextAttachment_TextAttachmentViewProviderClassForFileType(fileType string) objc.Class

Returns the text attachment view provider class, if any, for the file type you specify. Full Topic

func TextFinder_DrawIncrementalMatchHighlightInRect

func TextFinder_DrawIncrementalMatchHighlightInRect(rect foundation.Rect)

Override this method to draw custom highlighting. Full Topic

func TextInputContext_LocalizedNameForInputSource

func TextInputContext_LocalizedNameForInputSource(inputSourceIdentifier TextInputSourceIdentifier) string

Returns the display name for the given text input source identifier. Full Topic

func TextLayoutManager_LinkRenderingAttributes

func TextLayoutManager_LinkRenderingAttributes() map[foundation.AttributedStringKey]objc.Object

Returns the default set of attributes for rendering a link. Full Topic

func TextTab_ColumnTerminatorsForLocale

func TextTab_ColumnTerminatorsForLocale(aLocale foundation.ILocale) foundation.CharacterSet

Returns the column terminators for the specified locale. Full Topic

func TextView_RegisterForServices

func TextView_RegisterForServices()

Registers send and return types for the Services facility. Full Topic

func TextView_StronglyReferencesTextStorage

func TextView_StronglyReferencesTextStorage() bool
[Full Topic]

func TokenFieldCell_DefaultCompletionDelay

func TokenFieldCell_DefaultCompletionDelay() foundation.TimeInterval

Returns the default completion delay. Full Topic

func TokenFieldCell_DefaultTokenizingCharacterSet

func TokenFieldCell_DefaultTokenizingCharacterSet() foundation.CharacterSet

Returns the default tokenizing character set. Full Topic

func TokenField_DefaultCompletionDelay

func TokenField_DefaultCompletionDelay() foundation.TimeInterval

Returns the default completion delay. Full Topic

func TokenField_DefaultTokenizingCharacterSet

func TokenField_DefaultTokenizingCharacterSet() foundation.CharacterSet

Returns the default tokenizing character set. Full Topic

func TouchBar_AutomaticCustomizeTouchBarMenuItemEnabled

func TouchBar_AutomaticCustomizeTouchBarMenuItemEnabled() bool

A Boolean value indicating whether the main menu contains an item for customizing the contents of the Touch Bar. Full Topic

func TouchBar_SetAutomaticCustomizeTouchBarMenuItemEnabled

func TouchBar_SetAutomaticCustomizeTouchBarMenuItemEnabled(value bool)

A Boolean value indicating whether the main menu contains an item for customizing the contents of the Touch Bar. Full Topic

func Typesetter_PrintingAdjustmentInLayoutManagerForNominallySpacedGlyphRangePackedGlyphsCount

func Typesetter_PrintingAdjustmentInLayoutManagerForNominallySpacedGlyphRangePackedGlyphsCount(layoutMgr ILayoutManager, nominallySpacedGlyphsRange foundation.Range, packedGlyphs *uint8, packedGlyphsCount uint) foundation.Size

Returns the interglyph spacing in the specified range when sent to a printer. Full Topic

func Typesetter_SharedSystemTypesetterForBehavior

func Typesetter_SharedSystemTypesetterForBehavior(behavior TypesetterBehavior) objc.Object

Returns a shared instance of a reentrant typesetter that implements typesetting with the specified behavior. Full Topic

func View_CompatibleWithResponsiveScrolling

func View_CompatibleWithResponsiveScrolling() bool

A Boolean value that indicates whether views support responsive scrolling. Full Topic

func View_RequiresConstraintBasedLayout

func View_RequiresConstraintBasedLayout() bool

Returns a Boolean value indicating whether the view depends on the constraint-based layout system. Full Topic

func Window_AllowsAutomaticWindowTabbing

func Window_AllowsAutomaticWindowTabbing() bool

A Boolean value that indicates whether the app can automatically organize windows into tabs. Full Topic

func Window_ContentRectForFrameRectStyleMask

func Window_ContentRectForFrameRectStyleMask(fRect foundation.Rect, style WindowStyleMask) foundation.Rect

Returns the content rectangle used by a window with a given frame rectangle and window style. Full Topic

func Window_FrameRectForContentRectStyleMask

func Window_FrameRectForContentRectStyleMask(cRect foundation.Rect, style WindowStyleMask) foundation.Rect

Returns the frame rectangle used by a window with a given content rectangle and window style. Full Topic

func Window_MinFrameWidthWithTitleStyleMask

func Window_MinFrameWidthWithTitleStyleMask(title string, style WindowStyleMask) float64

Returns the minimum width a window’s frame rectangle must have for it to display a title, with a given window style. Full Topic

func Window_RemoveFrameUsingName

func Window_RemoveFrameUsingName(name WindowFrameAutosaveName)

Removes the frame data stored under a given name from the application’s user defaults. Full Topic

func Window_SetAllowsAutomaticWindowTabbing

func Window_SetAllowsAutomaticWindowTabbing(value bool)

A Boolean value that indicates whether the app can automatically organize windows into tabs. Full Topic

func Window_WindowNumberAtPointBelowWindowWithWindowNumber

func Window_WindowNumberAtPointBelowWindowWithWindowNumber(point foundation.Point, windowNumber int) int

Returns the number of the frontmost window that would be hit by a mouse-down at the specified screen location. Full Topic

func Window_WindowNumbersWithOptions

func Window_WindowNumbersWithOptions(options WindowNumberListOptions) []foundation.Number

Returns the window numbers for all visible windows satisfying the specified options. Full Topic

Types

type ATSTypesetter

type ATSTypesetter struct {
	Typesetter
}

A concrete typesetter object that places glyphs during the text layout process. Full Topic

func ATSTypesetterFrom

func ATSTypesetterFrom(ptr unsafe.Pointer) ATSTypesetter

func ATSTypesetter_Alloc

func ATSTypesetter_Alloc() ATSTypesetter

func ATSTypesetter_SharedTypesetter

func ATSTypesetter_SharedTypesetter() ATSTypesetter

Returns a shared instance of the typesetter. Full Topic

func NewATSTypesetter

func NewATSTypesetter() ATSTypesetter

func (ATSTypesetter) GetLineFragmentRectUsedRectForParagraphSeparatorGlyphRangeAtProposedOrigin

func (a_ ATSTypesetter) GetLineFragmentRectUsedRectForParagraphSeparatorGlyphRangeAtProposedOrigin(lineFragmentRect *foundation.Rect, lineFragmentUsedRect *foundation.Rect, paragraphSeparatorGlyphRange foundation.Range, lineOrigin foundation.Point)

Calculates the line fragment rectangle and the portion of the rectangle that contains marks. Full Topic

func (ATSTypesetter) Init

func (a_ ATSTypesetter) Init() ATSTypesetter

type AboutPanelOptionKey

type AboutPanelOptionKey string

Keys to include in the options dictionary when displaying an About panel. Full Topic

const (
	AboutPanelOptionApplicationIcon    AboutPanelOptionKey = "ApplicationIcon"
	AboutPanelOptionApplicationName    AboutPanelOptionKey = "ApplicationName"
	AboutPanelOptionApplicationVersion AboutPanelOptionKey = "ApplicationVersion"
	AboutPanelOptionCredits            AboutPanelOptionKey = "Credits"
	AboutPanelOptionVersion            AboutPanelOptionKey = "Version"
)

type AccessibilityActionName

type AccessibilityActionName string

Constants that describe types of actions. Full Topic

const (
	AccessibilityCancelAction          AccessibilityActionName = "AXCancel"
	AccessibilityConfirmAction         AccessibilityActionName = "AXConfirm"
	AccessibilityDecrementAction       AccessibilityActionName = "AXDecrement"
	AccessibilityDeleteAction          AccessibilityActionName = "AXDelete"
	AccessibilityIncrementAction       AccessibilityActionName = "AXIncrement"
	AccessibilityPickAction            AccessibilityActionName = "AXPick"
	AccessibilityPressAction           AccessibilityActionName = "AXPress"
	AccessibilityRaiseAction           AccessibilityActionName = "AXRaise"
	AccessibilityShowAlternateUIAction AccessibilityActionName = "AXShowAlternateUI"
	AccessibilityShowDefaultUIAction   AccessibilityActionName = "AXShowDefaultUI"
	AccessibilityShowMenuAction        AccessibilityActionName = "AXShowMenu"
)

type AccessibilityAnnotationAttributeKey

type AccessibilityAnnotationAttributeKey string

Keys for annotation attributes. Full Topic

const (
	AccessibilityAnnotationElement  AccessibilityAnnotationAttributeKey = "AXAnnotationElement"
	AccessibilityAnnotationLabel    AccessibilityAnnotationAttributeKey = "AXAnnotationLabel"
	AccessibilityAnnotationLocation AccessibilityAnnotationAttributeKey = "AXAnnotationLocation"
)

type AccessibilityAnnotationPosition

type AccessibilityAnnotationPosition int

Constants that specify the position where the annotation applies. Full Topic

const (
	AccessibilityAnnotationPositionEnd       AccessibilityAnnotationPosition = 2
	AccessibilityAnnotationPositionFullRange AccessibilityAnnotationPosition = 0
	AccessibilityAnnotationPositionStart     AccessibilityAnnotationPosition = 1
)

type AccessibilityAttributeName

type AccessibilityAttributeName string

Constants that describe attributes. Full Topic

const (
	AccessibilityActivationPointAttribute            AccessibilityAttributeName = "AXActivationPoint"
	AccessibilityAllowedValuesAttribute              AccessibilityAttributeName = "AXAllowedValues"
	AccessibilityAlternateUIVisibleAttribute         AccessibilityAttributeName = "AXAlternateUIVisible"
	AccessibilityCancelButtonAttribute               AccessibilityAttributeName = "AXCancelButton"
	AccessibilityChildrenAttribute                   AccessibilityAttributeName = "AXChildren"
	AccessibilityClearButtonAttribute                AccessibilityAttributeName = "AXClearButton"
	AccessibilityCloseButtonAttribute                AccessibilityAttributeName = "AXCloseButton"
	AccessibilityColumnCountAttribute                AccessibilityAttributeName = "AXColumnCount"
	AccessibilityColumnHeaderUIElementsAttribute     AccessibilityAttributeName = "AXColumnHeaderUIElements"
	AccessibilityColumnIndexRangeAttribute           AccessibilityAttributeName = "AXColumnIndexRange"
	AccessibilityColumnTitlesAttribute               AccessibilityAttributeName = "AXColumnTitles"
	AccessibilityColumnsAttribute                    AccessibilityAttributeName = "AXColumns"
	AccessibilityContainsProtectedContentAttribute   AccessibilityAttributeName = "AXContainsProtectedContent"
	AccessibilityContentsAttribute                   AccessibilityAttributeName = "AXContents"
	AccessibilityCriticalValueAttribute              AccessibilityAttributeName = "AXCriticalValue"
	AccessibilityDecrementButtonAttribute            AccessibilityAttributeName = "AXDecrementButton"
	AccessibilityDefaultButtonAttribute              AccessibilityAttributeName = "AXDefaultButton"
	AccessibilityDescriptionAttribute                AccessibilityAttributeName = "AXDescription"
	AccessibilityDisclosedByRowAttribute             AccessibilityAttributeName = "AXDisclosedByRow"
	AccessibilityDisclosedRowsAttribute              AccessibilityAttributeName = "AXDisclosedRows"
	AccessibilityDisclosingAttribute                 AccessibilityAttributeName = "AXDisclosing"
	AccessibilityDisclosureLevelAttribute            AccessibilityAttributeName = "AXDisclosureLevel"
	AccessibilityDocumentAttribute                   AccessibilityAttributeName = "AXDocument"
	AccessibilityEditedAttribute                     AccessibilityAttributeName = "AXEdited"
	AccessibilityEnabledAttribute                    AccessibilityAttributeName = "AXEnabled"
	AccessibilityExpandedAttribute                   AccessibilityAttributeName = "AXExpanded"
	AccessibilityExtrasMenuBarAttribute              AccessibilityAttributeName = "AXExtrasMenuBar"
	AccessibilityFilenameAttribute                   AccessibilityAttributeName = "AXFilename"
	AccessibilityFocusedAttribute                    AccessibilityAttributeName = "AXFocused"
	AccessibilityFocusedUIElementAttribute           AccessibilityAttributeName = "AXFocusedUIElement"
	AccessibilityFocusedWindowAttribute              AccessibilityAttributeName = "AXFocusedWindow"
	AccessibilityFrontmostAttribute                  AccessibilityAttributeName = "AXFrontmost"
	AccessibilityFullScreenButtonAttribute           AccessibilityAttributeName = "AXFullScreenButton"
	AccessibilityGrowAreaAttribute                   AccessibilityAttributeName = "AXGrowArea"
	AccessibilityHandlesAttribute                    AccessibilityAttributeName = "AXHandles"
	AccessibilityHeaderAttribute                     AccessibilityAttributeName = "AXHeader"
	AccessibilityHelpAttribute                       AccessibilityAttributeName = "AXHelp"
	AccessibilityHiddenAttribute                     AccessibilityAttributeName = "AXHidden"
	AccessibilityHorizontalScrollBarAttribute        AccessibilityAttributeName = "AXHorizontalScrollBar"
	AccessibilityHorizontalUnitDescriptionAttribute  AccessibilityAttributeName = "AXHorizontalUnitDescription"
	AccessibilityHorizontalUnitsAttribute            AccessibilityAttributeName = "AXHorizontalUnits"
	AccessibilityIdentifierAttribute                 AccessibilityAttributeName = "AXIdentifier"
	AccessibilityIncrementButtonAttribute            AccessibilityAttributeName = "AXIncrementButton"
	AccessibilityIndexAttribute                      AccessibilityAttributeName = "AXIndex"
	AccessibilityInsertionPointLineNumberAttribute   AccessibilityAttributeName = "AXInsertionPointLineNumber"
	AccessibilityLabelUIElementsAttribute            AccessibilityAttributeName = "AXLabelUIElements"
	AccessibilityLabelValueAttribute                 AccessibilityAttributeName = "AXLabelValue"
	AccessibilityLinkedUIElementsAttribute           AccessibilityAttributeName = "AXLinkedUIElements"
	AccessibilityMainAttribute                       AccessibilityAttributeName = "AXMain"
	AccessibilityMainWindowAttribute                 AccessibilityAttributeName = "AXMainWindow"
	AccessibilityMarkerGroupUIElementAttribute       AccessibilityAttributeName = "AXMarkerGroupUIElement"
	AccessibilityMarkerTypeAttribute                 AccessibilityAttributeName = "AXMarkerType"
	AccessibilityMarkerTypeDescriptionAttribute      AccessibilityAttributeName = "AXMarkerTypeDescription"
	AccessibilityMarkerUIElementsAttribute           AccessibilityAttributeName = "AXMarkerUIElements"
	AccessibilityMarkerValuesAttribute               AccessibilityAttributeName = "AXMarkerValues"
	AccessibilityMatteContentUIElementAttribute      AccessibilityAttributeName = "AXMatteContentUIElement"
	AccessibilityMatteHoleAttribute                  AccessibilityAttributeName = "AXMatteHole"
	AccessibilityMaxValueAttribute                   AccessibilityAttributeName = "AXMaxValue"
	AccessibilityMenuBarAttribute                    AccessibilityAttributeName = "AXMenuBar"
	AccessibilityMinValueAttribute                   AccessibilityAttributeName = "AXMinValue"
	AccessibilityMinimizeButtonAttribute             AccessibilityAttributeName = "AXMinimizeButton"
	AccessibilityMinimizedAttribute                  AccessibilityAttributeName = "AXMinimized"
	AccessibilityModalAttribute                      AccessibilityAttributeName = "AXModal"
	AccessibilityNextContentsAttribute               AccessibilityAttributeName = "AXNextContents"
	AccessibilityNumberOfCharactersAttribute         AccessibilityAttributeName = "AXNumberOfCharacters"
	AccessibilityOrderedByRowAttribute               AccessibilityAttributeName = "AXOrderedByRow"
	AccessibilityOrientationAttribute                AccessibilityAttributeName = "AXOrientation"
	AccessibilityOverflowButtonAttribute             AccessibilityAttributeName = "AXOverflowButton"
	AccessibilityParentAttribute                     AccessibilityAttributeName = "AXParent"
	AccessibilityPlaceholderValueAttribute           AccessibilityAttributeName = "AXPlaceholderValue"
	AccessibilityPositionAttribute                   AccessibilityAttributeName = "AXPosition"
	AccessibilityPreviousContentsAttribute           AccessibilityAttributeName = "AXPreviousContents"
	AccessibilityProxyAttribute                      AccessibilityAttributeName = "AXProxy"
	AccessibilityRequiredAttribute                   AccessibilityAttributeName = "AXRequired"
	AccessibilityRoleAttribute                       AccessibilityAttributeName = "AXRole"
	AccessibilityRoleDescriptionAttribute            AccessibilityAttributeName = "AXRoleDescription"
	AccessibilityRowCountAttribute                   AccessibilityAttributeName = "AXRowCount"
	AccessibilityRowHeaderUIElementsAttribute        AccessibilityAttributeName = "AXRowHeaderUIElements"
	AccessibilityRowIndexRangeAttribute              AccessibilityAttributeName = "AXRowIndexRange"
	AccessibilityRowsAttribute                       AccessibilityAttributeName = "AXRows"
	AccessibilitySearchButtonAttribute               AccessibilityAttributeName = "AXSearchButton"
	AccessibilitySearchMenuAttribute                 AccessibilityAttributeName = "AXSearchMenu"
	AccessibilitySelectedAttribute                   AccessibilityAttributeName = "AXSelected"
	AccessibilitySelectedCellsAttribute              AccessibilityAttributeName = "AXSelectedCells"
	AccessibilitySelectedChildrenAttribute           AccessibilityAttributeName = "AXSelectedChildren"
	AccessibilitySelectedColumnsAttribute            AccessibilityAttributeName = "AXSelectedColumns"
	AccessibilitySelectedRowsAttribute               AccessibilityAttributeName = "AXSelectedRows"
	AccessibilitySelectedTextAttribute               AccessibilityAttributeName = "AXSelectedText"
	AccessibilitySelectedTextRangeAttribute          AccessibilityAttributeName = "AXSelectedTextRange"
	AccessibilitySelectedTextRangesAttribute         AccessibilityAttributeName = "AXSelectedTextRanges"
	AccessibilityServesAsTitleForUIElementsAttribute AccessibilityAttributeName = "AXServesAsTitleForUIElements"
	AccessibilitySharedCharacterRangeAttribute       AccessibilityAttributeName = "AXSharedCharacterRange"
	AccessibilitySharedFocusElementsAttribute        AccessibilityAttributeName = "AXSharedFocusElements"
	AccessibilitySharedTextUIElementsAttribute       AccessibilityAttributeName = "AXSharedTextUIElements"
	AccessibilityShownMenuAttribute                  AccessibilityAttributeName = "AXShownMenuUIElement"
	AccessibilitySizeAttribute                       AccessibilityAttributeName = "AXSize"
	AccessibilitySortDirectionAttribute              AccessibilityAttributeName = "AXSortDirection"
	AccessibilitySplittersAttribute                  AccessibilityAttributeName = "AXSplitters"
	AccessibilitySubroleAttribute                    AccessibilityAttributeName = "AXSubrole"
	AccessibilityTabsAttribute                       AccessibilityAttributeName = "AXTabs"
	AccessibilityTitleAttribute                      AccessibilityAttributeName = "AXTitle"
	AccessibilityTitleUIElementAttribute             AccessibilityAttributeName = "AXTitleUIElement"
	AccessibilityToolbarButtonAttribute              AccessibilityAttributeName = "AXToolbarButton"
	AccessibilityTopLevelUIElementAttribute          AccessibilityAttributeName = "AXTopLevelUIElement"
	AccessibilityURLAttribute                        AccessibilityAttributeName = "AXURL"
	AccessibilityUnitDescriptionAttribute            AccessibilityAttributeName = "AXUnitDescription"
	AccessibilityUnitsAttribute                      AccessibilityAttributeName = "AXUnits"
	AccessibilityValueAttribute                      AccessibilityAttributeName = "AXValue"
	AccessibilityValueDescriptionAttribute           AccessibilityAttributeName = "AXValueDescription"
	AccessibilityVerticalScrollBarAttribute          AccessibilityAttributeName = "AXVerticalScrollBar"
	AccessibilityVerticalUnitDescriptionAttribute    AccessibilityAttributeName = "AXVerticalUnitDescription"
	AccessibilityVerticalUnitsAttribute              AccessibilityAttributeName = "AXVerticalUnits"
	AccessibilityVisibleCellsAttribute               AccessibilityAttributeName = "AXVisibleCells"
	AccessibilityVisibleCharacterRangeAttribute      AccessibilityAttributeName = "AXVisibleCharacterRange"
	AccessibilityVisibleChildrenAttribute            AccessibilityAttributeName = "AXVisibleChildren"
	AccessibilityVisibleColumnsAttribute             AccessibilityAttributeName = "AXVisibleColumns"
	AccessibilityVisibleRowsAttribute                AccessibilityAttributeName = "AXVisibleRows"
	AccessibilityWarningValueAttribute               AccessibilityAttributeName = "AXWarningValue"
	AccessibilityWindowAttribute                     AccessibilityAttributeName = "AXWindow"
	AccessibilityWindowsAttribute                    AccessibilityAttributeName = "AXWindows"
	AccessibilityZoomButtonAttribute                 AccessibilityAttributeName = "AXZoomButton"
)

type AccessibilityButtonWrapper

type AccessibilityButtonWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityButton protocol.

func (AccessibilityButtonWrapper) AccessibilityLabel

func (a_ AccessibilityButtonWrapper) AccessibilityLabel() string

Returns a short description of the button. Full Topic

func (AccessibilityButtonWrapper) AccessibilityPerformPress

func (a_ AccessibilityButtonWrapper) AccessibilityPerformPress() bool

Simulates clicking the button. Full Topic

func (AccessibilityButtonWrapper) HasAccessibilityLabel

func (a_ AccessibilityButtonWrapper) HasAccessibilityLabel() bool

func (AccessibilityButtonWrapper) HasAccessibilityPerformPress

func (a_ AccessibilityButtonWrapper) HasAccessibilityPerformPress() bool

type AccessibilityCheckBoxWrapper

type AccessibilityCheckBoxWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityCheckBox protocol.

func (AccessibilityCheckBoxWrapper) AccessibilityValue

func (a_ AccessibilityCheckBoxWrapper) AccessibilityValue() foundation.Number

Returns the checkbox’s value. Full Topic

func (AccessibilityCheckBoxWrapper) HasAccessibilityValue

func (a_ AccessibilityCheckBoxWrapper) HasAccessibilityValue() bool

type AccessibilityContainsTransientUIWrapper

type AccessibilityContainsTransientUIWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityContainsTransientUI protocol.

func (AccessibilityContainsTransientUIWrapper) AccessibilityPerformShowAlternateUI

func (a_ AccessibilityContainsTransientUIWrapper) AccessibilityPerformShowAlternateUI() bool

Displays the accessibility element’s alternative UI. Full Topic

func (AccessibilityContainsTransientUIWrapper) AccessibilityPerformShowDefaultUI

func (a_ AccessibilityContainsTransientUIWrapper) AccessibilityPerformShowDefaultUI() bool

Returns to the accessibility element’s original UI. Full Topic

func (AccessibilityContainsTransientUIWrapper) HasAccessibilityPerformShowAlternateUI

func (a_ AccessibilityContainsTransientUIWrapper) HasAccessibilityPerformShowAlternateUI() bool

func (AccessibilityContainsTransientUIWrapper) HasAccessibilityPerformShowDefaultUI

func (a_ AccessibilityContainsTransientUIWrapper) HasAccessibilityPerformShowDefaultUI() bool

func (AccessibilityContainsTransientUIWrapper) HasIsAccessibilityAlternateUIVisible

func (a_ AccessibilityContainsTransientUIWrapper) HasIsAccessibilityAlternateUIVisible() bool

func (AccessibilityContainsTransientUIWrapper) IsAccessibilityAlternateUIVisible

func (a_ AccessibilityContainsTransientUIWrapper) IsAccessibilityAlternateUIVisible() bool

Returns a Boolean value that determines whether the accessibility element’s alternative UI is currently visible. Full Topic

type AccessibilityCustomAction

type AccessibilityCustomAction struct {
	objc.Object
}

A custom action to perform on an accessible object. Full Topic

func AccessibilityCustomActionFrom

func AccessibilityCustomActionFrom(ptr unsafe.Pointer) AccessibilityCustomAction

func AccessibilityCustomAction_Alloc

func AccessibilityCustomAction_Alloc() AccessibilityCustomAction

func NewAccessibilityCustomAction

func NewAccessibilityCustomAction() AccessibilityCustomAction

func NewAccessibilityCustomActionWithNameHandler

func NewAccessibilityCustomActionWithNameHandler(name string, handler func() bool) AccessibilityCustomAction

Creates a custom action object with the specified name and handler. Full Topic

func (AccessibilityCustomAction) Handler

func (a_ AccessibilityCustomAction) Handler() func() bool

The closure that handles the execution of the action. Full Topic

func (AccessibilityCustomAction) Init

func (AccessibilityCustomAction) InitWithNameHandler

func (a_ AccessibilityCustomAction) InitWithNameHandler(name string, handler func() bool) AccessibilityCustomAction

func (AccessibilityCustomAction) Name

A localized name that describes the action. Full Topic

func (AccessibilityCustomAction) Selector

func (a_ AccessibilityCustomAction) Selector() objc.Selector

The method to call on the target to perform the action. Full Topic

func (AccessibilityCustomAction) SetHandler

func (a_ AccessibilityCustomAction) SetHandler(value func() bool)

The closure that handles the execution of the action. Full Topic

func (AccessibilityCustomAction) SetName

func (a_ AccessibilityCustomAction) SetName(value string)

A localized name that describes the action. Full Topic

func (AccessibilityCustomAction) SetSelector

func (a_ AccessibilityCustomAction) SetSelector(value objc.Selector)

The method to call on the target to perform the action. Full Topic

func (AccessibilityCustomAction) SetTarget

func (a_ AccessibilityCustomAction) SetTarget(value objc.IObject)

The object that performs the action through a selector. Full Topic

func (AccessibilityCustomAction) Target

The object that performs the action through a selector. Full Topic

type AccessibilityCustomRotor

type AccessibilityCustomRotor struct {
	objc.Object
}

A context-sensitive function that helps VoiceOver users find the next instance of a related accessibility element. Full Topic

func AccessibilityCustomRotorFrom

func AccessibilityCustomRotorFrom(ptr unsafe.Pointer) AccessibilityCustomRotor

func AccessibilityCustomRotor_Alloc

func AccessibilityCustomRotor_Alloc() AccessibilityCustomRotor

func NewAccessibilityCustomRotor

func NewAccessibilityCustomRotor() AccessibilityCustomRotor

func NewAccessibilityCustomRotorWithLabelItemSearchDelegate

func NewAccessibilityCustomRotorWithLabelItemSearchDelegate(label string, itemSearchDelegate PAccessibilityCustomRotorItemSearchDelegate) AccessibilityCustomRotor

Creates a custom rotor with the specified label and item search delegate. Full Topic

func NewAccessibilityCustomRotorWithRotorTypeItemSearchDelegate

func NewAccessibilityCustomRotorWithRotorTypeItemSearchDelegate(rotorType AccessibilityCustomRotorType, itemSearchDelegate PAccessibilityCustomRotorItemSearchDelegate) AccessibilityCustomRotor

Creates a custom rotor with the specified rotor type and item search delegate. Full Topic

func (AccessibilityCustomRotor) Init

func (AccessibilityCustomRotor) InitWithLabelItemSearchDelegate

func (a_ AccessibilityCustomRotor) InitWithLabelItemSearchDelegate(label string, itemSearchDelegate PAccessibilityCustomRotorItemSearchDelegate) AccessibilityCustomRotor

func (AccessibilityCustomRotor) InitWithRotorTypeItemSearchDelegate

func (a_ AccessibilityCustomRotor) InitWithRotorTypeItemSearchDelegate(rotorType AccessibilityCustomRotorType, itemSearchDelegate PAccessibilityCustomRotorItemSearchDelegate) AccessibilityCustomRotor

func (AccessibilityCustomRotor) ItemLoadingDelegate

The delegate for loading item results that don’t have a backing UI element at loading time. Full Topic

func (AccessibilityCustomRotor) ItemSearchDelegate

The delegate for finding the next item result. Full Topic

func (AccessibilityCustomRotor) Label

func (a_ AccessibilityCustomRotor) Label() string

The localized label that assistive apps use to describe the custom rotor. Full Topic

func (AccessibilityCustomRotor) SetItemLoadingDelegate

func (a_ AccessibilityCustomRotor) SetItemLoadingDelegate(value PAccessibilityElementLoading)

The delegate for loading item results that don’t have a backing UI element at loading time. Full Topic

func (AccessibilityCustomRotor) SetItemLoadingDelegateObject

func (a_ AccessibilityCustomRotor) SetItemLoadingDelegateObject(valueObject objc.IObject)

The delegate for loading item results that don’t have a backing UI element at loading time. Full Topic

func (AccessibilityCustomRotor) SetItemSearchDelegate

The delegate for finding the next item result. Full Topic

func (AccessibilityCustomRotor) SetItemSearchDelegateObject

func (a_ AccessibilityCustomRotor) SetItemSearchDelegateObject(valueObject objc.IObject)

The delegate for finding the next item result. Full Topic

func (AccessibilityCustomRotor) SetLabel

func (a_ AccessibilityCustomRotor) SetLabel(value string)

The localized label that assistive apps use to describe the custom rotor. Full Topic

func (AccessibilityCustomRotor) SetType

The type of content that the rotor represents. Full Topic

func (AccessibilityCustomRotor) Type

The type of content that the rotor represents. Full Topic

type AccessibilityCustomRotorItemResult

type AccessibilityCustomRotorItemResult struct {
	objc.Object
}

A target accessibility element that a custom rotor references. Full Topic

func AccessibilityCustomRotorItemResultFrom

func AccessibilityCustomRotorItemResultFrom(ptr unsafe.Pointer) AccessibilityCustomRotorItemResult

func AccessibilityCustomRotorItemResult_Alloc

func AccessibilityCustomRotorItemResult_Alloc() AccessibilityCustomRotorItemResult

func NewAccessibilityCustomRotorItemResult

func NewAccessibilityCustomRotorItemResult() AccessibilityCustomRotorItemResult

func NewAccessibilityCustomRotorItemResultWithItemLoadingTokenCustomLabel

func NewAccessibilityCustomRotorItemResultWithItemLoadingTokenCustomLabel(itemLoadingToken AccessibilityLoadingToken, customLabel string) AccessibilityCustomRotorItemResult

Creates an item result with the specified item load token and custom label. Full Topic

func NewAccessibilityCustomRotorItemResultWithTargetElement

func NewAccessibilityCustomRotorItemResultWithTargetElement(targetElement objc.IObject) AccessibilityCustomRotorItemResult

Creates an item result with the specified target element. Full Topic

func (AccessibilityCustomRotorItemResult) CustomLabel

func (a_ AccessibilityCustomRotorItemResult) CustomLabel() string

A localized label to use instead of the default item label to describe the item result. Full Topic

func (AccessibilityCustomRotorItemResult) Init

func (AccessibilityCustomRotorItemResult) InitWithItemLoadingTokenCustomLabel

func (a_ AccessibilityCustomRotorItemResult) InitWithItemLoadingTokenCustomLabel(itemLoadingToken AccessibilityLoadingToken, customLabel string) AccessibilityCustomRotorItemResult

func (AccessibilityCustomRotorItemResult) InitWithTargetElement

func (AccessibilityCustomRotorItemResult) ItemLoadingToken

A token to determine which item to return. Full Topic

func (AccessibilityCustomRotorItemResult) SetCustomLabel

func (a_ AccessibilityCustomRotorItemResult) SetCustomLabel(value string)

A localized label to use instead of the default item label to describe the item result. Full Topic

func (AccessibilityCustomRotorItemResult) SetTargetRange

func (a_ AccessibilityCustomRotorItemResult) SetTargetRange(value foundation.Range)

A range that specifies the area of interest for text-based elements. Full Topic

func (AccessibilityCustomRotorItemResult) TargetElement

func (a_ AccessibilityCustomRotorItemResult) TargetElement() objc.Object

A target element that references an element to message for accessibility properties. Full Topic

func (AccessibilityCustomRotorItemResult) TargetRange

A range that specifies the area of interest for text-based elements. Full Topic

type AccessibilityCustomRotorItemSearchDelegate

type AccessibilityCustomRotorItemSearchDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PAccessibilityCustomRotorItemSearchDelegate protocol.

func (*AccessibilityCustomRotorItemSearchDelegate) HasRotorResultForSearchParameters

func (di *AccessibilityCustomRotorItemSearchDelegate) HasRotorResultForSearchParameters() bool

func (*AccessibilityCustomRotorItemSearchDelegate) RotorResultForSearchParameters

Performs a search with the specified search parameters and returns the item result. Full Topic

func (*AccessibilityCustomRotorItemSearchDelegate) SetRotorResultForSearchParameters

Performs a search with the specified search parameters and returns the item result. Full Topic

type AccessibilityCustomRotorItemSearchDelegateWrapper

type AccessibilityCustomRotorItemSearchDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityCustomRotorItemSearchDelegate protocol.

func (AccessibilityCustomRotorItemSearchDelegateWrapper) HasRotorResultForSearchParameters

func (a_ AccessibilityCustomRotorItemSearchDelegateWrapper) HasRotorResultForSearchParameters() bool

func (AccessibilityCustomRotorItemSearchDelegateWrapper) RotorResultForSearchParameters

Performs a search with the specified search parameters and returns the item result. Full Topic

type AccessibilityCustomRotorSearchDirection

type AccessibilityCustomRotorSearchDirection int

Constants that describe the direction to search for an item result. Full Topic

const (
	AccessibilityCustomRotorSearchDirectionNext     AccessibilityCustomRotorSearchDirection = 1
	AccessibilityCustomRotorSearchDirectionPrevious AccessibilityCustomRotorSearchDirection = 0
)

type AccessibilityCustomRotorSearchParameters

type AccessibilityCustomRotorSearchParameters struct {
	objc.Object
}

Search parameters for a custom rotor. Full Topic

func AccessibilityCustomRotorSearchParametersFrom

func AccessibilityCustomRotorSearchParametersFrom(ptr unsafe.Pointer) AccessibilityCustomRotorSearchParameters

func AccessibilityCustomRotorSearchParameters_Alloc

func AccessibilityCustomRotorSearchParameters_Alloc() AccessibilityCustomRotorSearchParameters

func NewAccessibilityCustomRotorSearchParameters

func NewAccessibilityCustomRotorSearchParameters() AccessibilityCustomRotorSearchParameters

func (AccessibilityCustomRotorSearchParameters) CurrentItem

The current item that determines where the search starts. Full Topic

func (AccessibilityCustomRotorSearchParameters) FilterString

A string of text to filter the results against. Full Topic

func (AccessibilityCustomRotorSearchParameters) Init

func (AccessibilityCustomRotorSearchParameters) SearchDirection

The direction to search for an item result. Full Topic

func (AccessibilityCustomRotorSearchParameters) SetCurrentItem

The current item that determines where the search starts. Full Topic

func (AccessibilityCustomRotorSearchParameters) SetFilterString

func (a_ AccessibilityCustomRotorSearchParameters) SetFilterString(value string)

A string of text to filter the results against. Full Topic

func (AccessibilityCustomRotorSearchParameters) SetSearchDirection

The direction to search for an item result. Full Topic

type AccessibilityCustomRotorType

type AccessibilityCustomRotorType int

Constants that indicate the type of content that the rotor represents. Full Topic

const (
	AccessibilityCustomRotorTypeAnnotation     AccessibilityCustomRotorType = 2
	AccessibilityCustomRotorTypeAny            AccessibilityCustomRotorType = 1
	AccessibilityCustomRotorTypeAudiograph     AccessibilityCustomRotorType = 21
	AccessibilityCustomRotorTypeBoldText       AccessibilityCustomRotorType = 3
	AccessibilityCustomRotorTypeCustom         AccessibilityCustomRotorType = 0
	AccessibilityCustomRotorTypeHeading        AccessibilityCustomRotorType = 4
	AccessibilityCustomRotorTypeHeadingLevel1  AccessibilityCustomRotorType = 5
	AccessibilityCustomRotorTypeHeadingLevel2  AccessibilityCustomRotorType = 6
	AccessibilityCustomRotorTypeHeadingLevel3  AccessibilityCustomRotorType = 7
	AccessibilityCustomRotorTypeHeadingLevel4  AccessibilityCustomRotorType = 8
	AccessibilityCustomRotorTypeHeadingLevel5  AccessibilityCustomRotorType = 9
	AccessibilityCustomRotorTypeHeadingLevel6  AccessibilityCustomRotorType = 10
	AccessibilityCustomRotorTypeImage          AccessibilityCustomRotorType = 11
	AccessibilityCustomRotorTypeItalicText     AccessibilityCustomRotorType = 12
	AccessibilityCustomRotorTypeLandmark       AccessibilityCustomRotorType = 13
	AccessibilityCustomRotorTypeLink           AccessibilityCustomRotorType = 14
	AccessibilityCustomRotorTypeList           AccessibilityCustomRotorType = 15
	AccessibilityCustomRotorTypeMisspelledWord AccessibilityCustomRotorType = 16
	AccessibilityCustomRotorTypeTable          AccessibilityCustomRotorType = 17
	AccessibilityCustomRotorTypeTextField      AccessibilityCustomRotorType = 18
	AccessibilityCustomRotorTypeUnderlinedText AccessibilityCustomRotorType = 19
	AccessibilityCustomRotorTypeVisitedLink    AccessibilityCustomRotorType = 20
)

type AccessibilityElement

type AccessibilityElement struct {
	objc.Object
}

The basic infrastructure necessary for interacting with an assistive app. Full Topic

func AccessibilityElementFrom

func AccessibilityElementFrom(ptr unsafe.Pointer) AccessibilityElement

func AccessibilityElement_Alloc

func AccessibilityElement_Alloc() AccessibilityElement

func NewAccessibilityElement

func NewAccessibilityElement() AccessibilityElement

func (AccessibilityElement) AccessibilityAddChildElement

func (a_ AccessibilityElement) AccessibilityAddChildElement(childElement IAccessibilityElement)

Adds a child to the accessibility element in the accessibility hierarchy. Full Topic

func (AccessibilityElement) AccessibilityFrame

func (a_ AccessibilityElement) AccessibilityFrame() foundation.Rect

Returns the accessibility element’s frame in screen coordinates. Full Topic

func (AccessibilityElement) AccessibilityFrameInParentSpace

func (a_ AccessibilityElement) AccessibilityFrameInParentSpace() foundation.Rect

The accessibility element’s frame in its parent’s coordinate system. Full Topic

func (AccessibilityElement) AccessibilityIdentifier

func (a_ AccessibilityElement) AccessibilityIdentifier() string

Returns the accessibility element’s identity. Full Topic

func (AccessibilityElement) AccessibilityParent

func (a_ AccessibilityElement) AccessibilityParent() objc.Object

Returns the accessibility element’s parent in the accessibility hierarchy. Full Topic

func (AccessibilityElement) Init

func (AccessibilityElement) IsAccessibilityFocused

func (a_ AccessibilityElement) IsAccessibilityFocused() bool

Returns a Boolean value that indicates whether the accessibility element has the keyboard focus. Full Topic

func (AccessibilityElement) SetAccessibilityFrameInParentSpace

func (a_ AccessibilityElement) SetAccessibilityFrameInParentSpace(value foundation.Rect)

The accessibility element’s frame in its parent’s coordinate system. Full Topic

type AccessibilityElementLoadingWrapper

type AccessibilityElementLoadingWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityElementLoading protocol.

func (AccessibilityElementLoadingWrapper) AccessibilityElementWithToken

func (a_ AccessibilityElementLoadingWrapper) AccessibilityElementWithToken(token AccessibilityLoadingToken) objc.Object

Loads the target accessibility element with the specified load token. Full Topic

func (AccessibilityElementLoadingWrapper) AccessibilityRangeInTargetElementWithToken

func (a_ AccessibilityElementLoadingWrapper) AccessibilityRangeInTargetElementWithToken(token AccessibilityLoadingToken) foundation.Range

Returns the range that specifies the area of interest in text-based accessibility elements with the specified load token. Full Topic

func (AccessibilityElementLoadingWrapper) HasAccessibilityElementWithToken

func (a_ AccessibilityElementLoadingWrapper) HasAccessibilityElementWithToken() bool

func (AccessibilityElementLoadingWrapper) HasAccessibilityRangeInTargetElementWithToken

func (a_ AccessibilityElementLoadingWrapper) HasAccessibilityRangeInTargetElementWithToken() bool

type AccessibilityFontAttributeKey

type AccessibilityFontAttributeKey string

Keys for font attributes. Full Topic

const (
	AccessibilityFontFamilyKey  AccessibilityFontAttributeKey = "AXFontFamily"
	AccessibilityFontNameKey    AccessibilityFontAttributeKey = "AXFontName"
	AccessibilityFontSizeKey    AccessibilityFontAttributeKey = "AXFontSize"
	AccessibilityVisibleNameKey AccessibilityFontAttributeKey = "AXVisibleName"
)

type AccessibilityGroupWrapper

type AccessibilityGroupWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityGroup protocol.

type AccessibilityImageWrapper

type AccessibilityImageWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityImage protocol.

func (AccessibilityImageWrapper) AccessibilityLabel

func (a_ AccessibilityImageWrapper) AccessibilityLabel() string

Returns a short description of the image’s label. Full Topic

func (AccessibilityImageWrapper) HasAccessibilityLabel

func (a_ AccessibilityImageWrapper) HasAccessibilityLabel() bool

type AccessibilityLayoutAreaWrapper

type AccessibilityLayoutAreaWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityLayoutArea protocol.

func (AccessibilityLayoutAreaWrapper) AccessibilityChildren

func (a_ AccessibilityLayoutAreaWrapper) AccessibilityChildren() []objc.Object

Returns the accessibility element’s children in the accessibility hierarchy. Full Topic

func (AccessibilityLayoutAreaWrapper) AccessibilityFocusedUIElement

func (a_ AccessibilityLayoutAreaWrapper) AccessibilityFocusedUIElement() objc.Object

The child accessibility element with the current focus. Full Topic

func (AccessibilityLayoutAreaWrapper) AccessibilityLabel

func (a_ AccessibilityLayoutAreaWrapper) AccessibilityLabel() string

Returns a short description of the layout area. Full Topic

func (AccessibilityLayoutAreaWrapper) AccessibilitySelectedChildren

func (a_ AccessibilityLayoutAreaWrapper) AccessibilitySelectedChildren() []objc.Object

Returns the layout area’s currently selected children. Full Topic

func (AccessibilityLayoutAreaWrapper) HasAccessibilityChildren

func (a_ AccessibilityLayoutAreaWrapper) HasAccessibilityChildren() bool

func (AccessibilityLayoutAreaWrapper) HasAccessibilityFocusedUIElement

func (a_ AccessibilityLayoutAreaWrapper) HasAccessibilityFocusedUIElement() bool

func (AccessibilityLayoutAreaWrapper) HasAccessibilityLabel

func (a_ AccessibilityLayoutAreaWrapper) HasAccessibilityLabel() bool

func (AccessibilityLayoutAreaWrapper) HasAccessibilitySelectedChildren

func (a_ AccessibilityLayoutAreaWrapper) HasAccessibilitySelectedChildren() bool

type AccessibilityLayoutItemWrapper

type AccessibilityLayoutItemWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityLayoutItem protocol.

func (AccessibilityLayoutItemWrapper) HasSetAccessibilityFrame

func (a_ AccessibilityLayoutItemWrapper) HasSetAccessibilityFrame() bool

func (AccessibilityLayoutItemWrapper) SetAccessibilityFrame

func (a_ AccessibilityLayoutItemWrapper) SetAccessibilityFrame(frame foundation.Rect)

Sets the accessibility element’s frame. Full Topic

type AccessibilityListWrapper

type AccessibilityListWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityList protocol.

type AccessibilityLoadingToken

type AccessibilityLoadingToken unsafe.Pointer

type AccessibilityNavigableStaticTextWrapper

type AccessibilityNavigableStaticTextWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityNavigableStaticText protocol.

func (AccessibilityNavigableStaticTextWrapper) AccessibilityFrameForRange

func (a_ AccessibilityNavigableStaticTextWrapper) AccessibilityFrameForRange(range_ foundation.Range) foundation.Rect

Returns the rectangle that encloses the specified range of characters. Full Topic

func (AccessibilityNavigableStaticTextWrapper) AccessibilityLineForIndex

func (a_ AccessibilityNavigableStaticTextWrapper) AccessibilityLineForIndex(index int) int

Returns the line number for the line that contains the specified character index. Full Topic

func (AccessibilityNavigableStaticTextWrapper) AccessibilityRangeForLine

func (a_ AccessibilityNavigableStaticTextWrapper) AccessibilityRangeForLine(lineNumber int) foundation.Range

Returns the range of characters in the specified line. Full Topic

func (AccessibilityNavigableStaticTextWrapper) AccessibilityStringForRange

func (a_ AccessibilityNavigableStaticTextWrapper) AccessibilityStringForRange(range_ foundation.Range) string

Returns the substring for the specified range. Full Topic

func (AccessibilityNavigableStaticTextWrapper) HasAccessibilityFrameForRange

func (a_ AccessibilityNavigableStaticTextWrapper) HasAccessibilityFrameForRange() bool

func (AccessibilityNavigableStaticTextWrapper) HasAccessibilityLineForIndex

func (a_ AccessibilityNavigableStaticTextWrapper) HasAccessibilityLineForIndex() bool

func (AccessibilityNavigableStaticTextWrapper) HasAccessibilityRangeForLine

func (a_ AccessibilityNavigableStaticTextWrapper) HasAccessibilityRangeForLine() bool

func (AccessibilityNavigableStaticTextWrapper) HasAccessibilityStringForRange

func (a_ AccessibilityNavigableStaticTextWrapper) HasAccessibilityStringForRange() bool

type AccessibilityNotificationName

type AccessibilityNotificationName string

The name of the notification. Full Topic

const (
	AccessibilityAnnouncementRequestedNotification   AccessibilityNotificationName = "AXAnnouncementRequested"
	AccessibilityApplicationActivatedNotification    AccessibilityNotificationName = "AXApplicationActivated"
	AccessibilityApplicationDeactivatedNotification  AccessibilityNotificationName = "AXApplicationDeactivated"
	AccessibilityApplicationHiddenNotification       AccessibilityNotificationName = "AXApplicationHidden"
	AccessibilityApplicationShownNotification        AccessibilityNotificationName = "AXApplicationShown"
	AccessibilityCreatedNotification                 AccessibilityNotificationName = "AXCreated"
	AccessibilityDrawerCreatedNotification           AccessibilityNotificationName = "AXDrawerCreated"
	AccessibilityFocusedUIElementChangedNotification AccessibilityNotificationName = "AXFocusedUIElementChanged"
	AccessibilityFocusedWindowChangedNotification    AccessibilityNotificationName = "AXFocusedWindowChanged"
	AccessibilityHelpTagCreatedNotification          AccessibilityNotificationName = "AXHelpTagCreated"
	AccessibilityLayoutChangedNotification           AccessibilityNotificationName = "AXLayoutChanged"
	AccessibilityMainWindowChangedNotification       AccessibilityNotificationName = "AXMainWindowChanged"
	AccessibilityMovedNotification                   AccessibilityNotificationName = "AXMoved"
	AccessibilityResizedNotification                 AccessibilityNotificationName = "AXResized"
	AccessibilityRowCollapsedNotification            AccessibilityNotificationName = "AXRowCollapsed"
	AccessibilityRowCountChangedNotification         AccessibilityNotificationName = "AXRowCountChanged"
	AccessibilityRowExpandedNotification             AccessibilityNotificationName = "AXRowExpanded"
	AccessibilitySelectedCellsChangedNotification    AccessibilityNotificationName = "AXSelectedCellsChanged"
	AccessibilitySelectedChildrenChangedNotification AccessibilityNotificationName = "AXSelectedChildrenChanged"
	AccessibilitySelectedChildrenMovedNotification   AccessibilityNotificationName = "AXSelectedChildrenMoved"
	AccessibilitySelectedColumnsChangedNotification  AccessibilityNotificationName = "AXSelectedColumnsChanged"
	AccessibilitySelectedRowsChangedNotification     AccessibilityNotificationName = "AXSelectedRowsChanged"
	AccessibilitySelectedTextChangedNotification     AccessibilityNotificationName = "AXSelectedTextChanged"
	AccessibilitySheetCreatedNotification            AccessibilityNotificationName = "AXSheetCreated"
	AccessibilityTitleChangedNotification            AccessibilityNotificationName = "AXTitleChanged"
	AccessibilityUIElementDestroyedNotification      AccessibilityNotificationName = "AXUIElementDestroyed"
	AccessibilityUnitsChangedNotification            AccessibilityNotificationName = "AXUnitsChanged"
	AccessibilityValueChangedNotification            AccessibilityNotificationName = "AXValueChanged"
	AccessibilityWindowCreatedNotification           AccessibilityNotificationName = "AXWindowCreated"
	AccessibilityWindowDeminiaturizedNotification    AccessibilityNotificationName = "AXWindowDeminiaturized"
	AccessibilityWindowMiniaturizedNotification      AccessibilityNotificationName = "AXWindowMiniaturized"
	AccessibilityWindowMovedNotification             AccessibilityNotificationName = "AXWindowMoved"
	AccessibilityWindowResizedNotification           AccessibilityNotificationName = "AXWindowResized"
)

type AccessibilityNotificationUserInfoKey

type AccessibilityNotificationUserInfoKey string

The key in the user info dictionary for a notification. Full Topic

const (
	AccessibilityAnnouncementKey AccessibilityNotificationUserInfoKey = "AXAnnouncementKey"
	AccessibilityPriorityKey     AccessibilityNotificationUserInfoKey = "AXPriorityKey"
	AccessibilityUIElementsKey   AccessibilityNotificationUserInfoKey = "AXUIElementsKey"
)

type AccessibilityOrientation

type AccessibilityOrientation int

Values that indicate the orientation of accessibility elements, such as scroll bars and split views. Full Topic

const (
	AccessibilityOrientationHorizontal AccessibilityOrientation = 2
	AccessibilityOrientationUnknown    AccessibilityOrientation = 0
	AccessibilityOrientationVertical   AccessibilityOrientation = 1
)

type AccessibilityOrientationValue

type AccessibilityOrientationValue string

Values that indicate the orientation of user interface elements, such as scroll bars and split views. Full Topic

const (
	AccessibilityHorizontalOrientationValue AccessibilityOrientationValue = "AXHorizontalOrientation"
	AccessibilityUnknownOrientationValue    AccessibilityOrientationValue = "AXUnknownOrientation"
	AccessibilityVerticalOrientationValue   AccessibilityOrientationValue = "AXVerticalOrientation"
)

type AccessibilityOutlineWrapper

type AccessibilityOutlineWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityOutline protocol.

type AccessibilityParameterizedAttributeName

type AccessibilityParameterizedAttributeName string

Values that describe parameterized attributes. Full Topic

const (
	AccessibilityAttributedStringForRangeParameterizedAttribute  AccessibilityParameterizedAttributeName = "AXAttributedStringForRange"
	AccessibilityBoundsForRangeParameterizedAttribute            AccessibilityParameterizedAttributeName = "AXBoundsForRange"
	AccessibilityCellForColumnAndRowParameterizedAttribute       AccessibilityParameterizedAttributeName = "AXCellForColumnAndRow"
	AccessibilityLayoutPointForScreenPointParameterizedAttribute AccessibilityParameterizedAttributeName = "AXLayoutPointForScreenPoint"
	AccessibilityLayoutSizeForScreenSizeParameterizedAttribute   AccessibilityParameterizedAttributeName = "AXLayoutSizeForScreenSize"
	AccessibilityLineForIndexParameterizedAttribute              AccessibilityParameterizedAttributeName = "AXLineForIndex"
	AccessibilityRTFForRangeParameterizedAttribute               AccessibilityParameterizedAttributeName = "AXRTFForRange"
	AccessibilityRangeForIndexParameterizedAttribute             AccessibilityParameterizedAttributeName = "AXRangeForIndex"
	AccessibilityRangeForLineParameterizedAttribute              AccessibilityParameterizedAttributeName = "AXRangeForLine"
	AccessibilityRangeForPositionParameterizedAttribute          AccessibilityParameterizedAttributeName = "AXRangeForPosition"
	AccessibilityScreenPointForLayoutPointParameterizedAttribute AccessibilityParameterizedAttributeName = "AXScreenPointForLayoutPoint"
	AccessibilityScreenSizeForLayoutSizeParameterizedAttribute   AccessibilityParameterizedAttributeName = "AXScreenSizeForLayoutSize"
	AccessibilityStringForRangeParameterizedAttribute            AccessibilityParameterizedAttributeName = "AXStringForRange"
	AccessibilityStyleRangeForIndexParameterizedAttribute        AccessibilityParameterizedAttributeName = "AXStyleRangeForIndex"
)

type AccessibilityPriorityLevel

type AccessibilityPriorityLevel int

A data type for notification priority levels. Full Topic

const (
	AccessibilityPriorityHigh   AccessibilityPriorityLevel = 90
	AccessibilityPriorityLow    AccessibilityPriorityLevel = 10
	AccessibilityPriorityMedium AccessibilityPriorityLevel = 50
)

type AccessibilityProgressIndicatorWrapper

type AccessibilityProgressIndicatorWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityProgressIndicator protocol.

func (AccessibilityProgressIndicatorWrapper) AccessibilityValue

Returns the progress indicator’s value. Full Topic

func (AccessibilityProgressIndicatorWrapper) HasAccessibilityValue

func (a_ AccessibilityProgressIndicatorWrapper) HasAccessibilityValue() bool

type AccessibilityRadioButtonWrapper

type AccessibilityRadioButtonWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityRadioButton protocol.

func (AccessibilityRadioButtonWrapper) AccessibilityValue

func (a_ AccessibilityRadioButtonWrapper) AccessibilityValue() foundation.Number

Returns the radio button’s value. Full Topic

func (AccessibilityRadioButtonWrapper) HasAccessibilityValue

func (a_ AccessibilityRadioButtonWrapper) HasAccessibilityValue() bool

type AccessibilityRole

type AccessibilityRole string

Values that describe types of objects that accessibility elements represent. Full Topic

const (
	AccessibilityApplicationRole        AccessibilityRole = "AXApplication"
	AccessibilityBrowserRole            AccessibilityRole = "AXBrowser"
	AccessibilityBusyIndicatorRole      AccessibilityRole = "AXBusyIndicator"
	AccessibilityButtonRole             AccessibilityRole = "AXButton"
	AccessibilityCellRole               AccessibilityRole = "AXCell"
	AccessibilityCheckBoxRole           AccessibilityRole = "AXCheckBox"
	AccessibilityColorWellRole          AccessibilityRole = "AXColorWell"
	AccessibilityColumnRole             AccessibilityRole = "AXColumn"
	AccessibilityComboBoxRole           AccessibilityRole = "AXComboBox"
	AccessibilityDisclosureTriangleRole AccessibilityRole = "AXDisclosureTriangle"
	AccessibilityDrawerRole             AccessibilityRole = "AXDrawer"
	AccessibilityGridRole               AccessibilityRole = "AXGrid"
	AccessibilityGroupRole              AccessibilityRole = "AXGroup"
	AccessibilityGrowAreaRole           AccessibilityRole = "AXGrowArea"
	AccessibilityHandleRole             AccessibilityRole = "AXHandle"
	AccessibilityHelpTagRole            AccessibilityRole = "AXHelpTag"
	AccessibilityImageRole              AccessibilityRole = "AXImage"
	AccessibilityIncrementorRole        AccessibilityRole = "AXIncrementor"
	AccessibilityLayoutAreaRole         AccessibilityRole = "AXLayoutArea"
	AccessibilityLayoutItemRole         AccessibilityRole = "AXLayoutItem"
	AccessibilityLevelIndicatorRole     AccessibilityRole = "AXLevelIndicator"
	AccessibilityLinkRole               AccessibilityRole = "AXLink"
	AccessibilityListRole               AccessibilityRole = "AXList"
	AccessibilityMatteRole              AccessibilityRole = "AXMatte"
	AccessibilityMenuBarItemRole        AccessibilityRole = "AXMenuBarItem"
	AccessibilityMenuBarRole            AccessibilityRole = "AXMenuBar"
	AccessibilityMenuButtonRole         AccessibilityRole = "AXMenuButton"
	AccessibilityMenuItemRole           AccessibilityRole = "AXMenuItem"
	AccessibilityMenuRole               AccessibilityRole = "AXMenu"
	AccessibilityOutlineRole            AccessibilityRole = "AXOutline"
	AccessibilityPageRole               AccessibilityRole = "AXPage"
	AccessibilityPopUpButtonRole        AccessibilityRole = "AXPopUpButton"
	AccessibilityPopoverRole            AccessibilityRole = "AXPopover"
	AccessibilityProgressIndicatorRole  AccessibilityRole = "AXProgressIndicator"
	AccessibilityRadioButtonRole        AccessibilityRole = "AXRadioButton"
	AccessibilityRadioGroupRole         AccessibilityRole = "AXRadioGroup"
	AccessibilityRelevanceIndicatorRole AccessibilityRole = "AXRelevanceIndicator"
	AccessibilityRowRole                AccessibilityRole = "AXRow"
	AccessibilityRulerMarkerRole        AccessibilityRole = "AXRulerMarker"
	AccessibilityRulerRole              AccessibilityRole = "AXRuler"
	AccessibilityScrollAreaRole         AccessibilityRole = "AXScrollArea"
	AccessibilityScrollBarRole          AccessibilityRole = "AXScrollBar"
	AccessibilitySheetRole              AccessibilityRole = "AXSheet"
	AccessibilitySliderRole             AccessibilityRole = "AXSlider"
	AccessibilitySortButtonRole         AccessibilityRole = "AXSortButton"
	AccessibilitySplitGroupRole         AccessibilityRole = "AXSplitGroup"
	AccessibilitySplitterRole           AccessibilityRole = "AXSplitter"
	AccessibilityStaticTextRole         AccessibilityRole = "AXStaticText"
	AccessibilitySystemWideRole         AccessibilityRole = "AXSystemWide"
	AccessibilityTabGroupRole           AccessibilityRole = "AXTabGroup"
	AccessibilityTableRole              AccessibilityRole = "AXTable"
	AccessibilityTextAreaRole           AccessibilityRole = "AXTextArea"
	AccessibilityTextFieldRole          AccessibilityRole = "AXTextField"
	AccessibilityToolbarRole            AccessibilityRole = "AXToolbar"
	AccessibilityUnknownRole            AccessibilityRole = "AXUnknown"
	AccessibilityValueIndicatorRole     AccessibilityRole = "AXValueIndicator"
	AccessibilityWindowRole             AccessibilityRole = "AXWindow"
)

type AccessibilityRowWrapper

type AccessibilityRowWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityRow protocol.

func (AccessibilityRowWrapper) AccessibilityDisclosureLevel

func (a_ AccessibilityRowWrapper) AccessibilityDisclosureLevel() int

Returns the indention level for the row. Full Topic

func (AccessibilityRowWrapper) AccessibilityIndex

func (a_ AccessibilityRowWrapper) AccessibilityIndex() int

Returns the index for the row. Full Topic

func (AccessibilityRowWrapper) HasAccessibilityDisclosureLevel

func (a_ AccessibilityRowWrapper) HasAccessibilityDisclosureLevel() bool

func (AccessibilityRowWrapper) HasAccessibilityIndex

func (a_ AccessibilityRowWrapper) HasAccessibilityIndex() bool

type AccessibilityRulerMarkerType

type AccessibilityRulerMarkerType int

Values that indicate the marker type of an accessibility element. Full Topic

const (
	AccessibilityRulerMarkerTypeIndentFirstLine AccessibilityRulerMarkerType = 7
	AccessibilityRulerMarkerTypeIndentHead      AccessibilityRulerMarkerType = 5
	AccessibilityRulerMarkerTypeIndentTail      AccessibilityRulerMarkerType = 6
	AccessibilityRulerMarkerTypeTabStopCenter   AccessibilityRulerMarkerType = 3
	AccessibilityRulerMarkerTypeTabStopDecimal  AccessibilityRulerMarkerType = 4
	AccessibilityRulerMarkerTypeTabStopLeft     AccessibilityRulerMarkerType = 1
	AccessibilityRulerMarkerTypeTabStopRight    AccessibilityRulerMarkerType = 2
	AccessibilityRulerMarkerTypeUnknown         AccessibilityRulerMarkerType = 0
)

type AccessibilityRulerMarkerTypeValue

type AccessibilityRulerMarkerTypeValue string

Values that describe ruler marker types. Full Topic

const (
	AccessibilityCenterTabStopMarkerTypeValue   AccessibilityRulerMarkerTypeValue = "AXCenterTabStopMarkerType"
	AccessibilityDecimalTabStopMarkerTypeValue  AccessibilityRulerMarkerTypeValue = "AXDecimalTabStopMarkerType"
	AccessibilityFirstLineIndentMarkerTypeValue AccessibilityRulerMarkerTypeValue = "AXFirstLineIndentMarkerType"
	AccessibilityHeadIndentMarkerTypeValue      AccessibilityRulerMarkerTypeValue = "AXHeadIndentMarkerType"
	AccessibilityLeftTabStopMarkerTypeValue     AccessibilityRulerMarkerTypeValue = "AXLeftTabStopMarkerType"
	AccessibilityRightTabStopMarkerTypeValue    AccessibilityRulerMarkerTypeValue = "AXRightTabStopMarkerType"
	AccessibilityTailIndentMarkerTypeValue      AccessibilityRulerMarkerTypeValue = "AXTailIndentMarkerType"
	AccessibilityUnknownMarkerTypeValue         AccessibilityRulerMarkerTypeValue = "AXUnknownMarkerType"
)

type AccessibilityRulerUnitValue

type AccessibilityRulerUnitValue string

Values that indicate the unit values of a ruler or layout area. Full Topic

const (
	AccessibilityCentimetersUnitValue AccessibilityRulerUnitValue = "AXCentimentersUnit"
	AccessibilityInchesUnitValue      AccessibilityRulerUnitValue = "AXInchesUnit"
	AccessibilityPicasUnitValue       AccessibilityRulerUnitValue = "AXPicasUnit"
	AccessibilityPointsUnitValue      AccessibilityRulerUnitValue = "AXPointsUnit"
	AccessibilityUnknownUnitValue     AccessibilityRulerUnitValue = "AXUnknownUnit"
)

type AccessibilitySliderWrapper

type AccessibilitySliderWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilitySlider protocol.

func (AccessibilitySliderWrapper) AccessibilityLabel

func (a_ AccessibilitySliderWrapper) AccessibilityLabel() string

Returns a short description of the slider. Full Topic

func (AccessibilitySliderWrapper) AccessibilityPerformDecrement

func (a_ AccessibilitySliderWrapper) AccessibilityPerformDecrement() bool

Decrements the slider’s value. Full Topic

func (AccessibilitySliderWrapper) AccessibilityPerformIncrement

func (a_ AccessibilitySliderWrapper) AccessibilityPerformIncrement() bool

Increments the slider’s value. Full Topic

func (AccessibilitySliderWrapper) AccessibilityValue

func (a_ AccessibilitySliderWrapper) AccessibilityValue() objc.Object

Returns the slider’s value. Full Topic

func (AccessibilitySliderWrapper) HasAccessibilityLabel

func (a_ AccessibilitySliderWrapper) HasAccessibilityLabel() bool

func (AccessibilitySliderWrapper) HasAccessibilityPerformDecrement

func (a_ AccessibilitySliderWrapper) HasAccessibilityPerformDecrement() bool

func (AccessibilitySliderWrapper) HasAccessibilityPerformIncrement

func (a_ AccessibilitySliderWrapper) HasAccessibilityPerformIncrement() bool

func (AccessibilitySliderWrapper) HasAccessibilityValue

func (a_ AccessibilitySliderWrapper) HasAccessibilityValue() bool

type AccessibilitySortDirection

type AccessibilitySortDirection int

Values that indicate the sort direction of a column. Full Topic

const (
	AccessibilitySortDirectionAscending  AccessibilitySortDirection = 1
	AccessibilitySortDirectionDescending AccessibilitySortDirection = 2
	AccessibilitySortDirectionUnknown    AccessibilitySortDirection = 0
)

type AccessibilitySortDirectionValue

type AccessibilitySortDirectionValue string

Values that indicate the sort direction of a column. Full Topic

const (
	AccessibilityAscendingSortDirectionValue  AccessibilitySortDirectionValue = "AXAscendingSortDirection"
	AccessibilityDescendingSortDirectionValue AccessibilitySortDirectionValue = "AXDescendingSortDirection"
	AccessibilityUnknownSortDirectionValue    AccessibilitySortDirectionValue = "AXUnknownSortDirection"
)

type AccessibilityStaticTextWrapper

type AccessibilityStaticTextWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityStaticText protocol.

func (AccessibilityStaticTextWrapper) AccessibilityAttributedStringForRange

func (a_ AccessibilityStaticTextWrapper) AccessibilityAttributedStringForRange(range_ foundation.Range) foundation.AttributedString

Returns the attributed substring for the specified range of characters. Full Topic

func (AccessibilityStaticTextWrapper) AccessibilityValue

func (a_ AccessibilityStaticTextWrapper) AccessibilityValue() string

Returns the text that the accessibility element displays. Full Topic

func (AccessibilityStaticTextWrapper) AccessibilityVisibleCharacterRange

func (a_ AccessibilityStaticTextWrapper) AccessibilityVisibleCharacterRange() foundation.Range

Returns the range of visible characters in the document. Full Topic

func (AccessibilityStaticTextWrapper) HasAccessibilityAttributedStringForRange

func (a_ AccessibilityStaticTextWrapper) HasAccessibilityAttributedStringForRange() bool

func (AccessibilityStaticTextWrapper) HasAccessibilityValue

func (a_ AccessibilityStaticTextWrapper) HasAccessibilityValue() bool

func (AccessibilityStaticTextWrapper) HasAccessibilityVisibleCharacterRange

func (a_ AccessibilityStaticTextWrapper) HasAccessibilityVisibleCharacterRange() bool

type AccessibilityStepperWrapper

type AccessibilityStepperWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityStepper protocol.

func (AccessibilityStepperWrapper) AccessibilityLabel

func (a_ AccessibilityStepperWrapper) AccessibilityLabel() string

Returns a short description of the stepper. Full Topic

func (AccessibilityStepperWrapper) AccessibilityPerformDecrement

func (a_ AccessibilityStepperWrapper) AccessibilityPerformDecrement() bool

Decrements the stepper’s value. Full Topic

func (AccessibilityStepperWrapper) AccessibilityPerformIncrement

func (a_ AccessibilityStepperWrapper) AccessibilityPerformIncrement() bool

Increments the stepper’s value. Full Topic

func (AccessibilityStepperWrapper) AccessibilityValue

func (a_ AccessibilityStepperWrapper) AccessibilityValue() objc.Object

Returns the stepper’s value. Full Topic

func (AccessibilityStepperWrapper) HasAccessibilityLabel

func (a_ AccessibilityStepperWrapper) HasAccessibilityLabel() bool

func (AccessibilityStepperWrapper) HasAccessibilityPerformDecrement

func (a_ AccessibilityStepperWrapper) HasAccessibilityPerformDecrement() bool

func (AccessibilityStepperWrapper) HasAccessibilityPerformIncrement

func (a_ AccessibilityStepperWrapper) HasAccessibilityPerformIncrement() bool

func (AccessibilityStepperWrapper) HasAccessibilityValue

func (a_ AccessibilityStepperWrapper) HasAccessibilityValue() bool

type AccessibilitySubrole

type AccessibilitySubrole string

Values that describe specialized object subtypes that accessibility elements represent. Full Topic

const (
	AccessibilityCloseButtonSubrole          AccessibilitySubrole = "AXCloseButton"
	AccessibilityCollectionListSubrole       AccessibilitySubrole = "AXCollectionList"
	AccessibilityContentListSubrole          AccessibilitySubrole = "AXContentList"
	AccessibilityDecrementArrowSubrole       AccessibilitySubrole = "AXDecrementArrow"
	AccessibilityDecrementPageSubrole        AccessibilitySubrole = "AXDecrementPage"
	AccessibilityDefinitionListSubrole       AccessibilitySubrole = "AXDefinitionList"
	AccessibilityDescriptionListSubrole      AccessibilitySubrole = "AXDescriptionList"
	AccessibilityDialogSubrole               AccessibilitySubrole = "AXDialog"
	AccessibilityFloatingWindowSubrole       AccessibilitySubrole = "AXFloatingWindow"
	AccessibilityFullScreenButtonSubrole     AccessibilitySubrole = "AXFullScreenButton"
	AccessibilityIncrementArrowSubrole       AccessibilitySubrole = "AXIncrementArrow"
	AccessibilityIncrementPageSubrole        AccessibilitySubrole = "AXIncrementPage"
	AccessibilityMinimizeButtonSubrole       AccessibilitySubrole = "AXMinimizeButton"
	AccessibilityOutlineRowSubrole           AccessibilitySubrole = "AXOutlineRow"
	AccessibilityRatingIndicatorSubrole      AccessibilitySubrole = "AXRatingIndicator"
	AccessibilitySearchFieldSubrole          AccessibilitySubrole = "AXSearchField"
	AccessibilitySectionListSubrole          AccessibilitySubrole = "AXSectionList"
	AccessibilitySecureTextFieldSubrole      AccessibilitySubrole = "AXSecureTextField"
	AccessibilitySortButtonSubrole           AccessibilitySubrole = "AXSortButton"
	AccessibilityStandardWindowSubrole       AccessibilitySubrole = "AXStandardWindow"
	AccessibilitySwitchSubrole               AccessibilitySubrole = "AXSwitch"
	AccessibilitySystemDialogSubrole         AccessibilitySubrole = "AXSystemDialog"
	AccessibilitySystemFloatingWindowSubrole AccessibilitySubrole = "AXSystemFloatingWindow"
	AccessibilityTabButtonSubrole            AccessibilitySubrole = "AXTabButton"
	AccessibilityTableRowSubrole             AccessibilitySubrole = "AXTableRow"
	AccessibilityTextAttachmentSubrole       AccessibilitySubrole = "AXTextAttachment"
	AccessibilityTextLinkSubrole             AccessibilitySubrole = "AXTextLink"
	AccessibilityTimelineSubrole             AccessibilitySubrole = "AXTimeline"
	AccessibilityToggleSubrole               AccessibilitySubrole = "AXToggle"
	AccessibilityToolbarButtonSubrole        AccessibilitySubrole = "AXToolbarButton"
	AccessibilityUnknownSubrole              AccessibilitySubrole = "AXUnknown"
	AccessibilityZoomButtonSubrole           AccessibilitySubrole = "AXZoomButton"
)

type AccessibilitySwitchWrapper

type AccessibilitySwitchWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilitySwitch protocol.

func (AccessibilitySwitchWrapper) AccessibilityPerformDecrement

func (a_ AccessibilitySwitchWrapper) AccessibilityPerformDecrement() bool

Decrements the switch’s value. Full Topic

func (AccessibilitySwitchWrapper) AccessibilityPerformIncrement

func (a_ AccessibilitySwitchWrapper) AccessibilityPerformIncrement() bool

Increments the switch’s value. Full Topic

func (AccessibilitySwitchWrapper) AccessibilityValue

func (a_ AccessibilitySwitchWrapper) AccessibilityValue() string

Returns the switch’s value. Full Topic

func (AccessibilitySwitchWrapper) HasAccessibilityPerformDecrement

func (a_ AccessibilitySwitchWrapper) HasAccessibilityPerformDecrement() bool

func (AccessibilitySwitchWrapper) HasAccessibilityPerformIncrement

func (a_ AccessibilitySwitchWrapper) HasAccessibilityPerformIncrement() bool

func (AccessibilitySwitchWrapper) HasAccessibilityValue

func (a_ AccessibilitySwitchWrapper) HasAccessibilityValue() bool

type AccessibilityTableWrapper

type AccessibilityTableWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibilityTable protocol.

func (AccessibilityTableWrapper) AccessibilityColumnHeaderUIElements

func (a_ AccessibilityTableWrapper) AccessibilityColumnHeaderUIElements() []objc.Object

Returns the column header accessibility elements for the table. Full Topic

func (AccessibilityTableWrapper) AccessibilityColumns

func (a_ AccessibilityTableWrapper) AccessibilityColumns() []objc.Object

Returns the column accessibility elements for the table. Full Topic

func (AccessibilityTableWrapper) AccessibilityLabel

func (a_ AccessibilityTableWrapper) AccessibilityLabel() string

Returns a short description of the table. Full Topic

func (AccessibilityTableWrapper) AccessibilityRowHeaderUIElements

func (a_ AccessibilityTableWrapper) AccessibilityRowHeaderUIElements() []objc.Object

Returns the row header accessibility elements for the table. Full Topic

func (AccessibilityTableWrapper) AccessibilityRows

func (a_ AccessibilityTableWrapper) AccessibilityRows() []AccessibilityRowWrapper

Returns the row accessibility elements for the table. Full Topic

func (AccessibilityTableWrapper) AccessibilitySelectedCells

func (a_ AccessibilityTableWrapper) AccessibilitySelectedCells() []objc.Object

The currently selected cells for the table. Full Topic

func (AccessibilityTableWrapper) AccessibilitySelectedColumns

func (a_ AccessibilityTableWrapper) AccessibilitySelectedColumns() []objc.Object

Returns the currently selected columns for the table. Full Topic

func (AccessibilityTableWrapper) AccessibilitySelectedRows

func (a_ AccessibilityTableWrapper) AccessibilitySelectedRows() []AccessibilityRowWrapper

Returns the currently selected rows for the table. Full Topic

func (AccessibilityTableWrapper) AccessibilityVisibleCells

func (a_ AccessibilityTableWrapper) AccessibilityVisibleCells() []objc.Object

Returns the visible cells for the table. Full Topic

func (AccessibilityTableWrapper) AccessibilityVisibleColumns

func (a_ AccessibilityTableWrapper) AccessibilityVisibleColumns() []objc.Object

Returns the visible columns for the table. Full Topic

func (AccessibilityTableWrapper) AccessibilityVisibleRows

func (a_ AccessibilityTableWrapper) AccessibilityVisibleRows() []AccessibilityRowWrapper

Returns the visible rows for the table. Full Topic

func (AccessibilityTableWrapper) HasAccessibilityColumnHeaderUIElements

func (a_ AccessibilityTableWrapper) HasAccessibilityColumnHeaderUIElements() bool

func (AccessibilityTableWrapper) HasAccessibilityColumns

func (a_ AccessibilityTableWrapper) HasAccessibilityColumns() bool

func (AccessibilityTableWrapper) HasAccessibilityLabel

func (a_ AccessibilityTableWrapper) HasAccessibilityLabel() bool

func (AccessibilityTableWrapper) HasAccessibilityRowHeaderUIElements

func (a_ AccessibilityTableWrapper) HasAccessibilityRowHeaderUIElements() bool

func (AccessibilityTableWrapper) HasAccessibilityRows

func (a_ AccessibilityTableWrapper) HasAccessibilityRows() bool

func (AccessibilityTableWrapper) HasAccessibilitySelectedCells

func (a_ AccessibilityTableWrapper) HasAccessibilitySelectedCells() bool

func (AccessibilityTableWrapper) HasAccessibilitySelectedColumns

func (a_ AccessibilityTableWrapper) HasAccessibilitySelectedColumns() bool

func (AccessibilityTableWrapper) HasAccessibilitySelectedRows

func (a_ AccessibilityTableWrapper) HasAccessibilitySelectedRows() bool

func (AccessibilityTableWrapper) HasAccessibilityVisibleCells

func (a_ AccessibilityTableWrapper) HasAccessibilityVisibleCells() bool

func (AccessibilityTableWrapper) HasAccessibilityVisibleColumns

func (a_ AccessibilityTableWrapper) HasAccessibilityVisibleColumns() bool

func (AccessibilityTableWrapper) HasAccessibilityVisibleRows

func (a_ AccessibilityTableWrapper) HasAccessibilityVisibleRows() bool

func (AccessibilityTableWrapper) HasSetAccessibilitySelectedRows

func (a_ AccessibilityTableWrapper) HasSetAccessibilitySelectedRows() bool

func (AccessibilityTableWrapper) SetAccessibilitySelectedRows

func (a_ AccessibilityTableWrapper) SetAccessibilitySelectedRows(selectedRows []PAccessibilityRow)

Sets the table’s currently selected rows. Full Topic

type AccessibilityUnits

type AccessibilityUnits int

Values that indicate the unit values of a ruler or layout area. Full Topic

const (
	AccessibilityUnitsCentimeters AccessibilityUnits = 2
	AccessibilityUnitsInches      AccessibilityUnits = 1
	AccessibilityUnitsPicas       AccessibilityUnits = 4
	AccessibilityUnitsPoints      AccessibilityUnits = 3
	AccessibilityUnitsUnknown     AccessibilityUnits = 0
)

type AccessibilityWrapper

type AccessibilityWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAccessibility protocol.

func (AccessibilityWrapper) AccessibilityActivationPoint

func (a_ AccessibilityWrapper) AccessibilityActivationPoint() foundation.Point

The activation point for the user interface element. Full Topic

func (AccessibilityWrapper) AccessibilityAllowedValues

func (a_ AccessibilityWrapper) AccessibilityAllowedValues() []foundation.Number

The allowed values for the slider accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityApplicationFocusedUIElement

func (a_ AccessibilityWrapper) AccessibilityApplicationFocusedUIElement() objc.Object

The child accessibility element with the current focus. Full Topic

func (AccessibilityWrapper) AccessibilityAttributedStringForRange

func (a_ AccessibilityWrapper) AccessibilityAttributedStringForRange(range_ foundation.Range) foundation.AttributedString

Returns the attributed substring for the specified range of characters. Full Topic

func (AccessibilityWrapper) AccessibilityCancelButton

func (a_ AccessibilityWrapper) AccessibilityCancelButton() objc.Object

The child accessibility element that represents the window’s cancel button. Full Topic

func (AccessibilityWrapper) AccessibilityCellForColumnRow

func (a_ AccessibilityWrapper) AccessibilityCellForColumnRow(column int, row int) objc.Object

Returns the cell at the specified column and row. Full Topic

func (AccessibilityWrapper) AccessibilityChildren

func (a_ AccessibilityWrapper) AccessibilityChildren() []objc.Object

The child accessibility elements in the accessibility hierarchy. Full Topic

func (AccessibilityWrapper) AccessibilityChildrenInNavigationOrder

func (a_ AccessibilityWrapper) AccessibilityChildrenInNavigationOrder() []objc.Object

An array of child accessibility elements in order for linear navigation. Full Topic

func (AccessibilityWrapper) AccessibilityClearButton

func (a_ AccessibilityWrapper) AccessibilityClearButton() objc.Object

The clear button for the search field. Full Topic

func (AccessibilityWrapper) AccessibilityCloseButton

func (a_ AccessibilityWrapper) AccessibilityCloseButton() objc.Object

The child accessibility element that represents the window’s close button. Full Topic

func (AccessibilityWrapper) AccessibilityColumnCount

func (a_ AccessibilityWrapper) AccessibilityColumnCount() int

The number of columns in the accessibility element’s grid. Full Topic

func (AccessibilityWrapper) AccessibilityColumnHeaderUIElements

func (a_ AccessibilityWrapper) AccessibilityColumnHeaderUIElements() []objc.Object

The column header accessibility elements for the table or outline. Full Topic

func (AccessibilityWrapper) AccessibilityColumnIndexRange

func (a_ AccessibilityWrapper) AccessibilityColumnIndexRange() foundation.Range

The column index range of the cell. Full Topic

func (AccessibilityWrapper) AccessibilityColumnTitles

func (a_ AccessibilityWrapper) AccessibilityColumnTitles() []objc.Object

The column titles for the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityColumns

func (a_ AccessibilityWrapper) AccessibilityColumns() []objc.Object

The column accessibility elements for the table or outline. Full Topic

func (AccessibilityWrapper) AccessibilityContents

func (a_ AccessibilityWrapper) AccessibilityContents() []objc.Object

The contents of the current accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityCriticalValue

func (a_ AccessibilityWrapper) AccessibilityCriticalValue() objc.Object

The critical value for the level indicator. Full Topic

func (AccessibilityWrapper) AccessibilityCustomActions

func (a_ AccessibilityWrapper) AccessibilityCustomActions() []AccessibilityCustomAction

The custom actions of the current accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityCustomRotors

func (a_ AccessibilityWrapper) AccessibilityCustomRotors() []AccessibilityCustomRotor

The custom rotors of the current accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityDecrementButton

func (a_ AccessibilityWrapper) AccessibilityDecrementButton() objc.Object

The decrement button for the stepper accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityDefaultButton

func (a_ AccessibilityWrapper) AccessibilityDefaultButton() objc.Object

The child accessibility element that represents the window’s default button. Full Topic

func (AccessibilityWrapper) AccessibilityDisclosedByRow

func (a_ AccessibilityWrapper) AccessibilityDisclosedByRow() objc.Object

The row disclosing the current row. Full Topic

func (AccessibilityWrapper) AccessibilityDisclosedRows

func (a_ AccessibilityWrapper) AccessibilityDisclosedRows() objc.Object

The rows that the current row discloses. Full Topic

func (AccessibilityWrapper) AccessibilityDisclosureLevel

func (a_ AccessibilityWrapper) AccessibilityDisclosureLevel() int

The indention level for the row. Full Topic

func (AccessibilityWrapper) AccessibilityDocument

func (a_ AccessibilityWrapper) AccessibilityDocument() string

The URL for the file that the accessibility element represents. Full Topic

func (AccessibilityWrapper) AccessibilityExtrasMenuBar

func (a_ AccessibilityWrapper) AccessibilityExtrasMenuBar() objc.Object

The icon for the app’s menu bar extra. Full Topic

func (AccessibilityWrapper) AccessibilityFilename

func (a_ AccessibilityWrapper) AccessibilityFilename() string

The filename for the file that the accessibility element represents. Full Topic

func (AccessibilityWrapper) AccessibilityFocusedWindow

func (a_ AccessibilityWrapper) AccessibilityFocusedWindow() objc.Object

The child window with the current focus. Full Topic

func (AccessibilityWrapper) AccessibilityFrame

func (a_ AccessibilityWrapper) AccessibilityFrame() foundation.Rect

The accessibility element’s frame in screen coordinates. Full Topic

func (AccessibilityWrapper) AccessibilityFrameForRange

func (a_ AccessibilityWrapper) AccessibilityFrameForRange(range_ foundation.Range) foundation.Rect

Returns the rectangle that encloses the specified range of characters. Full Topic

func (AccessibilityWrapper) AccessibilityFullScreenButton

func (a_ AccessibilityWrapper) AccessibilityFullScreenButton() objc.Object

The child accessibility element that represents the window’s full-screen button. Full Topic

func (AccessibilityWrapper) AccessibilityGrowArea

func (a_ AccessibilityWrapper) AccessibilityGrowArea() objc.Object

The child accessibility element that represents the window’s grow area. Full Topic

func (AccessibilityWrapper) AccessibilityHandles

func (a_ AccessibilityWrapper) AccessibilityHandles() []objc.Object

The drag handle accessibility elements for the layout item element. Full Topic

func (AccessibilityWrapper) AccessibilityHeader

func (a_ AccessibilityWrapper) AccessibilityHeader() objc.Object

The header for the table view. Full Topic

func (AccessibilityWrapper) AccessibilityHelp

func (a_ AccessibilityWrapper) AccessibilityHelp() string

The help text for the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityHorizontalScrollBar

func (a_ AccessibilityWrapper) AccessibilityHorizontalScrollBar() objc.Object

The horizontal scroll bar for the scroll view. Full Topic

func (AccessibilityWrapper) AccessibilityHorizontalUnitDescription

func (a_ AccessibilityWrapper) AccessibilityHorizontalUnitDescription() string

A description of the layout area’s horizontal units. Full Topic

func (AccessibilityWrapper) AccessibilityHorizontalUnits

func (a_ AccessibilityWrapper) AccessibilityHorizontalUnits() AccessibilityUnits

The units that the layout area uses for horizontal values. Full Topic

func (AccessibilityWrapper) AccessibilityIdentifier

func (a_ AccessibilityWrapper) AccessibilityIdentifier() string

The accessibility element’s identity. Full Topic

func (AccessibilityWrapper) AccessibilityIncrementButton

func (a_ AccessibilityWrapper) AccessibilityIncrementButton() objc.Object

The increment button for the stepper accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityIndex

func (a_ AccessibilityWrapper) AccessibilityIndex() int

The index of the row or column that the accessibility element represents. Full Topic

func (AccessibilityWrapper) AccessibilityInsertionPointLineNumber

func (a_ AccessibilityWrapper) AccessibilityInsertionPointLineNumber() int

The line number that contains the insertion point. Full Topic

func (AccessibilityWrapper) AccessibilityLabel

func (a_ AccessibilityWrapper) AccessibilityLabel() string

A short description of the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityLabelUIElements

func (a_ AccessibilityWrapper) AccessibilityLabelUIElements() []objc.Object

The child label elements for the slider accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityLabelValue

func (a_ AccessibilityWrapper) AccessibilityLabelValue() float64

The value of the label accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityLayoutPointForScreenPoint

func (a_ AccessibilityWrapper) AccessibilityLayoutPointForScreenPoint(point foundation.Point) foundation.Point

Converts the provided point in screen coordinates to a point in the layout area’s coordinate system. Full Topic

func (AccessibilityWrapper) AccessibilityLayoutSizeForScreenSize

func (a_ AccessibilityWrapper) AccessibilityLayoutSizeForScreenSize(size foundation.Size) foundation.Size

Converts the provided size in screen coordinates to a size in the layout area’s coordinate system. Full Topic

func (AccessibilityWrapper) AccessibilityLineForIndex

func (a_ AccessibilityWrapper) AccessibilityLineForIndex(index int) int

Returns the line number for the line that contains the specified character index. Full Topic

func (AccessibilityWrapper) AccessibilityLinkedUIElements

func (a_ AccessibilityWrapper) AccessibilityLinkedUIElements() []objc.Object

The elements that have links with the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityMainWindow

func (a_ AccessibilityWrapper) AccessibilityMainWindow() objc.Object

The app’s main window. Full Topic

func (AccessibilityWrapper) AccessibilityMarkerGroupUIElement

func (a_ AccessibilityWrapper) AccessibilityMarkerGroupUIElement() objc.Object

The user interface element that functions as a marker group for the ruler accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityMarkerTypeDescription

func (a_ AccessibilityWrapper) AccessibilityMarkerTypeDescription() string

A human-readable description of the marker type. Full Topic

func (AccessibilityWrapper) AccessibilityMarkerUIElements

func (a_ AccessibilityWrapper) AccessibilityMarkerUIElements() []objc.Object

An array of marker accessibility elements for the ruler. Full Topic

func (AccessibilityWrapper) AccessibilityMarkerValues

func (a_ AccessibilityWrapper) AccessibilityMarkerValues() objc.Object

The marker values for the ruler. Full Topic

func (AccessibilityWrapper) AccessibilityMaxValue

func (a_ AccessibilityWrapper) AccessibilityMaxValue() objc.Object

The maximum value for the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityMenuBar

func (a_ AccessibilityWrapper) AccessibilityMenuBar() objc.Object

The app’s menu bar. Full Topic

func (AccessibilityWrapper) AccessibilityMinValue

func (a_ AccessibilityWrapper) AccessibilityMinValue() objc.Object

The minimum value for the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityMinimizeButton

func (a_ AccessibilityWrapper) AccessibilityMinimizeButton() objc.Object

The child accessibility element that represents the window’s minimize button. Full Topic

func (AccessibilityWrapper) AccessibilityNextContents

func (a_ AccessibilityWrapper) AccessibilityNextContents() []objc.Object

The contents that follow the divider accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityNumberOfCharacters

func (a_ AccessibilityWrapper) AccessibilityNumberOfCharacters() int

The number of characters in the text. Full Topic

func (AccessibilityWrapper) AccessibilityOrientation

func (a_ AccessibilityWrapper) AccessibilityOrientation() AccessibilityOrientation

The orientation of the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityOverflowButton

func (a_ AccessibilityWrapper) AccessibilityOverflowButton() objc.Object

The overflow button for the toolbar. Full Topic

func (AccessibilityWrapper) AccessibilityParent

func (a_ AccessibilityWrapper) AccessibilityParent() objc.Object

The accessibility element’s parent in the accessibility hierarchy. Full Topic

func (AccessibilityWrapper) AccessibilityPerformCancel

func (a_ AccessibilityWrapper) AccessibilityPerformCancel() bool

Cancels the current operation. Full Topic

func (AccessibilityWrapper) AccessibilityPerformConfirm

func (a_ AccessibilityWrapper) AccessibilityPerformConfirm() bool

Simulates pressing Return in the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityPerformDecrement

func (a_ AccessibilityWrapper) AccessibilityPerformDecrement() bool

Decrements the accessibility element’s value. Full Topic

func (AccessibilityWrapper) AccessibilityPerformDelete

func (a_ AccessibilityWrapper) AccessibilityPerformDelete() bool

Deletes the accessibility element’s value. Full Topic

func (AccessibilityWrapper) AccessibilityPerformIncrement

func (a_ AccessibilityWrapper) AccessibilityPerformIncrement() bool

Increments the accessibility element’s value. Full Topic

func (AccessibilityWrapper) AccessibilityPerformPick

func (a_ AccessibilityWrapper) AccessibilityPerformPick() bool

Selects the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityPerformPress

func (a_ AccessibilityWrapper) AccessibilityPerformPress() bool

Simulates clicking the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityPerformRaise

func (a_ AccessibilityWrapper) AccessibilityPerformRaise() bool

Brings the window to the front. Full Topic

func (AccessibilityWrapper) AccessibilityPerformShowAlternateUI

func (a_ AccessibilityWrapper) AccessibilityPerformShowAlternateUI() bool

Displays the accessibility element’s alternative UI. Full Topic

func (AccessibilityWrapper) AccessibilityPerformShowDefaultUI

func (a_ AccessibilityWrapper) AccessibilityPerformShowDefaultUI() bool

Returns to the accessibility element’s original UI. Full Topic

func (AccessibilityWrapper) AccessibilityPerformShowMenu

func (a_ AccessibilityWrapper) AccessibilityPerformShowMenu() bool

Displays the menu accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityPlaceholderValue

func (a_ AccessibilityWrapper) AccessibilityPlaceholderValue() string

The placeholder value for the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityPreviousContents

func (a_ AccessibilityWrapper) AccessibilityPreviousContents() []objc.Object

The contents that precede the divider accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityProxy

func (a_ AccessibilityWrapper) AccessibilityProxy() objc.Object

The child accessibility element that represents the window’s proxy icon. Full Topic

func (AccessibilityWrapper) AccessibilityRTFForRange

func (a_ AccessibilityWrapper) AccessibilityRTFForRange(range_ foundation.Range) []byte

Returns the rich text format (RTF) data that describes the specified range of characters. Full Topic

func (AccessibilityWrapper) AccessibilityRangeForIndex

func (a_ AccessibilityWrapper) AccessibilityRangeForIndex(index int) foundation.Range

Returns the range of characters for the glyph that includes the specified character. Full Topic

func (AccessibilityWrapper) AccessibilityRangeForLine

func (a_ AccessibilityWrapper) AccessibilityRangeForLine(line int) foundation.Range

Returns the range of characters in the specified line. Full Topic

func (AccessibilityWrapper) AccessibilityRangeForPosition

func (a_ AccessibilityWrapper) AccessibilityRangeForPosition(point foundation.Point) foundation.Range

Returns the range of characters for the glyph at the specified point. Full Topic

func (AccessibilityWrapper) AccessibilityRole

func (a_ AccessibilityWrapper) AccessibilityRole() AccessibilityRole

The type of interface element that the accessibility element represents. Full Topic

func (AccessibilityWrapper) AccessibilityRoleDescription

func (a_ AccessibilityWrapper) AccessibilityRoleDescription() string

A localized, human-intelligible description of the accessibility element’s role, such as radio button. Full Topic

func (AccessibilityWrapper) AccessibilityRowCount

func (a_ AccessibilityWrapper) AccessibilityRowCount() int

The number of rows in the accessibility element’s grid. Full Topic

func (AccessibilityWrapper) AccessibilityRowHeaderUIElements

func (a_ AccessibilityWrapper) AccessibilityRowHeaderUIElements() []objc.Object

The row header accessibility elements for the table or outline. Full Topic

func (AccessibilityWrapper) AccessibilityRowIndexRange

func (a_ AccessibilityWrapper) AccessibilityRowIndexRange() foundation.Range

The row index range of the cell. Full Topic

func (AccessibilityWrapper) AccessibilityRows

func (a_ AccessibilityWrapper) AccessibilityRows() []objc.Object

The row accessibility elements for the table or outline. Full Topic

func (AccessibilityWrapper) AccessibilityRulerMarkerType

func (a_ AccessibilityWrapper) AccessibilityRulerMarkerType() AccessibilityRulerMarkerType

The type of markers for the ruler. Full Topic

func (AccessibilityWrapper) AccessibilityScreenPointForLayoutPoint

func (a_ AccessibilityWrapper) AccessibilityScreenPointForLayoutPoint(point foundation.Point) foundation.Point

Converts the provided point in the layout area’s coordinates to a point in the screen’s coordinate system. Full Topic

func (AccessibilityWrapper) AccessibilityScreenSizeForLayoutSize

func (a_ AccessibilityWrapper) AccessibilityScreenSizeForLayoutSize(size foundation.Size) foundation.Size

Converts the provided size in the layout area’s coordinates to a size in the screen’s coordinate system. Full Topic

func (AccessibilityWrapper) AccessibilitySearchButton

func (a_ AccessibilityWrapper) AccessibilitySearchButton() objc.Object

The search button for the search field. Full Topic

func (AccessibilityWrapper) AccessibilitySearchMenu

func (a_ AccessibilityWrapper) AccessibilitySearchMenu() objc.Object

The search menu for the search field. Full Topic

func (AccessibilityWrapper) AccessibilitySelectedCells

func (a_ AccessibilityWrapper) AccessibilitySelectedCells() []objc.Object

The currently selected cells for the table. Full Topic

func (AccessibilityWrapper) AccessibilitySelectedChildren

func (a_ AccessibilityWrapper) AccessibilitySelectedChildren() []objc.Object

The accessibility element’s currently selected children. Full Topic

func (AccessibilityWrapper) AccessibilitySelectedColumns

func (a_ AccessibilityWrapper) AccessibilitySelectedColumns() []objc.Object

The currently selected columns for the table or outline. Full Topic

func (AccessibilityWrapper) AccessibilitySelectedRows

func (a_ AccessibilityWrapper) AccessibilitySelectedRows() []objc.Object

The currently selected rows for the table or outline. Full Topic

func (AccessibilityWrapper) AccessibilitySelectedText

func (a_ AccessibilityWrapper) AccessibilitySelectedText() string

The currently selected text. Full Topic

func (AccessibilityWrapper) AccessibilitySelectedTextRange

func (a_ AccessibilityWrapper) AccessibilitySelectedTextRange() foundation.Range

The range of the currently selected text. Full Topic

func (AccessibilityWrapper) AccessibilitySelectedTextRanges

func (a_ AccessibilityWrapper) AccessibilitySelectedTextRanges() []foundation.Value

An array of ranges for the currently selected text. Full Topic

func (AccessibilityWrapper) AccessibilityServesAsTitleForUIElements

func (a_ AccessibilityWrapper) AccessibilityServesAsTitleForUIElements() []objc.Object

The list of elements that the accessibility element is a title for. Full Topic

func (AccessibilityWrapper) AccessibilitySharedCharacterRange

func (a_ AccessibilityWrapper) AccessibilitySharedCharacterRange() foundation.Range

The range of characters that the accessibility element displays. Full Topic

func (AccessibilityWrapper) AccessibilitySharedFocusElements

func (a_ AccessibilityWrapper) AccessibilitySharedFocusElements() []objc.Object

An array of elements that shares the keyboard focus with the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilitySharedTextUIElements

func (a_ AccessibilityWrapper) AccessibilitySharedTextUIElements() []objc.Object

Other elements that share text with the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityShownMenu

func (a_ AccessibilityWrapper) AccessibilityShownMenu() objc.Object

The menu currently displaying for the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilitySortDirection

func (a_ AccessibilityWrapper) AccessibilitySortDirection() AccessibilitySortDirection

The accessibility element’s sort direction. Full Topic

func (AccessibilityWrapper) AccessibilitySplitters

func (a_ AccessibilityWrapper) AccessibilitySplitters() []objc.Object

An array that contains the views and splitter bar from the split view. Full Topic

func (AccessibilityWrapper) AccessibilityStringForRange

func (a_ AccessibilityWrapper) AccessibilityStringForRange(range_ foundation.Range) string

Returns the substring for the specified range. Full Topic

func (AccessibilityWrapper) AccessibilityStyleRangeForIndex

func (a_ AccessibilityWrapper) AccessibilityStyleRangeForIndex(index int) foundation.Range

Returns a range of characters that all have the same style as the specified character. Full Topic

func (AccessibilityWrapper) AccessibilitySubrole

func (a_ AccessibilityWrapper) AccessibilitySubrole() AccessibilitySubrole

The specialized interface element type that the accessibility element represents. Full Topic

func (AccessibilityWrapper) AccessibilityTabs

func (a_ AccessibilityWrapper) AccessibilityTabs() []objc.Object

The tab accessibility elements for the tab view. Full Topic

func (AccessibilityWrapper) AccessibilityTitle

func (a_ AccessibilityWrapper) AccessibilityTitle() string

The title of the accessibility element—for example, a button’s visible text. Full Topic

func (AccessibilityWrapper) AccessibilityTitleUIElement

func (a_ AccessibilityWrapper) AccessibilityTitleUIElement() objc.Object

A static text element that represents the accessibility element’s title. Full Topic

func (AccessibilityWrapper) AccessibilityToolbarButton

func (a_ AccessibilityWrapper) AccessibilityToolbarButton() objc.Object

The child accessibility element that represents the window’s toolbar button. Full Topic

func (AccessibilityWrapper) AccessibilityTopLevelUIElement

func (a_ AccessibilityWrapper) AccessibilityTopLevelUIElement() objc.Object

The top-level element that contains the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityURL

func (a_ AccessibilityWrapper) AccessibilityURL() foundation.URL

The URL for the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityUnitDescription

func (a_ AccessibilityWrapper) AccessibilityUnitDescription() string

A human-readable description of the ruler’s units. Full Topic

func (AccessibilityWrapper) AccessibilityUnits

func (a_ AccessibilityWrapper) AccessibilityUnits() AccessibilityUnits

The units for the ruler. Full Topic

func (AccessibilityWrapper) AccessibilityValue

func (a_ AccessibilityWrapper) AccessibilityValue() objc.Object

The accessibility element’s value. Full Topic

func (AccessibilityWrapper) AccessibilityValueDescription

func (a_ AccessibilityWrapper) AccessibilityValueDescription() string

A human-readable description of the accessibility element’s value. Full Topic

func (AccessibilityWrapper) AccessibilityVerticalScrollBar

func (a_ AccessibilityWrapper) AccessibilityVerticalScrollBar() objc.Object

The vertical scroll bar for the scroll view. Full Topic

func (AccessibilityWrapper) AccessibilityVerticalUnitDescription

func (a_ AccessibilityWrapper) AccessibilityVerticalUnitDescription() string

A description of the layout area’s vertical units. Full Topic

func (AccessibilityWrapper) AccessibilityVerticalUnits

func (a_ AccessibilityWrapper) AccessibilityVerticalUnits() AccessibilityUnits

The units that the layout area uses for vertical values. Full Topic

func (AccessibilityWrapper) AccessibilityVisibleCells

func (a_ AccessibilityWrapper) AccessibilityVisibleCells() []objc.Object

The visible cells for the table. Full Topic

func (AccessibilityWrapper) AccessibilityVisibleCharacterRange

func (a_ AccessibilityWrapper) AccessibilityVisibleCharacterRange() foundation.Range

The range of visible characters in the document. Full Topic

func (AccessibilityWrapper) AccessibilityVisibleChildren

func (a_ AccessibilityWrapper) AccessibilityVisibleChildren() []objc.Object

The accessibility element’s visible child accessibility elements. Full Topic

func (AccessibilityWrapper) AccessibilityVisibleColumns

func (a_ AccessibilityWrapper) AccessibilityVisibleColumns() []objc.Object

The visible columns for the table or outline. Full Topic

func (AccessibilityWrapper) AccessibilityVisibleRows

func (a_ AccessibilityWrapper) AccessibilityVisibleRows() []objc.Object

The visible rows for the table or outline. Full Topic

func (AccessibilityWrapper) AccessibilityWarningValue

func (a_ AccessibilityWrapper) AccessibilityWarningValue() objc.Object

The warning value for the level indicator. Full Topic

func (AccessibilityWrapper) AccessibilityWindow

func (a_ AccessibilityWrapper) AccessibilityWindow() objc.Object

The window that contains the accessibility element. Full Topic

func (AccessibilityWrapper) AccessibilityWindows

func (a_ AccessibilityWrapper) AccessibilityWindows() []objc.Object

An array that contains all the app’s windows. Full Topic

func (AccessibilityWrapper) AccessibilityZoomButton

func (a_ AccessibilityWrapper) AccessibilityZoomButton() objc.Object

The child accessibility element that represents the window’s zoom button. Full Topic

func (AccessibilityWrapper) HasAccessibilityActivationPoint

func (a_ AccessibilityWrapper) HasAccessibilityActivationPoint() bool

func (AccessibilityWrapper) HasAccessibilityAllowedValues

func (a_ AccessibilityWrapper) HasAccessibilityAllowedValues() bool

func (AccessibilityWrapper) HasAccessibilityApplicationFocusedUIElement

func (a_ AccessibilityWrapper) HasAccessibilityApplicationFocusedUIElement() bool

func (AccessibilityWrapper) HasAccessibilityAttributedStringForRange

func (a_ AccessibilityWrapper) HasAccessibilityAttributedStringForRange() bool

func (AccessibilityWrapper) HasAccessibilityCancelButton

func (a_ AccessibilityWrapper) HasAccessibilityCancelButton() bool

func (AccessibilityWrapper) HasAccessibilityCellForColumnRow

func (a_ AccessibilityWrapper) HasAccessibilityCellForColumnRow() bool

func (AccessibilityWrapper) HasAccessibilityChildren

func (a_ AccessibilityWrapper) HasAccessibilityChildren() bool

func (AccessibilityWrapper) HasAccessibilityChildrenInNavigationOrder

func (a_ AccessibilityWrapper) HasAccessibilityChildrenInNavigationOrder() bool

func (AccessibilityWrapper) HasAccessibilityClearButton

func (a_ AccessibilityWrapper) HasAccessibilityClearButton() bool

func (AccessibilityWrapper) HasAccessibilityCloseButton

func (a_ AccessibilityWrapper) HasAccessibilityCloseButton() bool

func (AccessibilityWrapper) HasAccessibilityColumnCount

func (a_ AccessibilityWrapper) HasAccessibilityColumnCount() bool

func (AccessibilityWrapper) HasAccessibilityColumnHeaderUIElements

func (a_ AccessibilityWrapper) HasAccessibilityColumnHeaderUIElements() bool

func (AccessibilityWrapper) HasAccessibilityColumnIndexRange

func (a_ AccessibilityWrapper) HasAccessibilityColumnIndexRange() bool

func (AccessibilityWrapper) HasAccessibilityColumnTitles

func (a_ AccessibilityWrapper) HasAccessibilityColumnTitles() bool

func (AccessibilityWrapper) HasAccessibilityColumns

func (a_ AccessibilityWrapper) HasAccessibilityColumns() bool

func (AccessibilityWrapper) HasAccessibilityContents

func (a_ AccessibilityWrapper) HasAccessibilityContents() bool

func (AccessibilityWrapper) HasAccessibilityCriticalValue

func (a_ AccessibilityWrapper) HasAccessibilityCriticalValue() bool

func (AccessibilityWrapper) HasAccessibilityCustomActions

func (a_ AccessibilityWrapper) HasAccessibilityCustomActions() bool

func (AccessibilityWrapper) HasAccessibilityCustomRotors

func (a_ AccessibilityWrapper) HasAccessibilityCustomRotors() bool

func (AccessibilityWrapper) HasAccessibilityDecrementButton

func (a_ AccessibilityWrapper) HasAccessibilityDecrementButton() bool

func (AccessibilityWrapper) HasAccessibilityDefaultButton

func (a_ AccessibilityWrapper) HasAccessibilityDefaultButton() bool

func (AccessibilityWrapper) HasAccessibilityDisclosedByRow

func (a_ AccessibilityWrapper) HasAccessibilityDisclosedByRow() bool

func (AccessibilityWrapper) HasAccessibilityDisclosedRows

func (a_ AccessibilityWrapper) HasAccessibilityDisclosedRows() bool

func (AccessibilityWrapper) HasAccessibilityDisclosureLevel

func (a_ AccessibilityWrapper) HasAccessibilityDisclosureLevel() bool

func (AccessibilityWrapper) HasAccessibilityDocument

func (a_ AccessibilityWrapper) HasAccessibilityDocument() bool

func (AccessibilityWrapper) HasAccessibilityExtrasMenuBar

func (a_ AccessibilityWrapper) HasAccessibilityExtrasMenuBar() bool

func (AccessibilityWrapper) HasAccessibilityFilename

func (a_ AccessibilityWrapper) HasAccessibilityFilename() bool

func (AccessibilityWrapper) HasAccessibilityFocusedWindow

func (a_ AccessibilityWrapper) HasAccessibilityFocusedWindow() bool

func (AccessibilityWrapper) HasAccessibilityFrame

func (a_ AccessibilityWrapper) HasAccessibilityFrame() bool

func (AccessibilityWrapper) HasAccessibilityFrameForRange

func (a_ AccessibilityWrapper) HasAccessibilityFrameForRange() bool

func (AccessibilityWrapper) HasAccessibilityFullScreenButton

func (a_ AccessibilityWrapper) HasAccessibilityFullScreenButton() bool

func (AccessibilityWrapper) HasAccessibilityGrowArea

func (a_ AccessibilityWrapper) HasAccessibilityGrowArea() bool

func (AccessibilityWrapper) HasAccessibilityHandles

func (a_ AccessibilityWrapper) HasAccessibilityHandles() bool

func (AccessibilityWrapper) HasAccessibilityHeader

func (a_ AccessibilityWrapper) HasAccessibilityHeader() bool

func (AccessibilityWrapper) HasAccessibilityHelp

func (a_ AccessibilityWrapper) HasAccessibilityHelp() bool

func (AccessibilityWrapper) HasAccessibilityHorizontalScrollBar

func (a_ AccessibilityWrapper) HasAccessibilityHorizontalScrollBar() bool

func (AccessibilityWrapper) HasAccessibilityHorizontalUnitDescription

func (a_ AccessibilityWrapper) HasAccessibilityHorizontalUnitDescription() bool

func (AccessibilityWrapper) HasAccessibilityHorizontalUnits

func (a_ AccessibilityWrapper) HasAccessibilityHorizontalUnits() bool

func (AccessibilityWrapper) HasAccessibilityIdentifier

func (a_ AccessibilityWrapper) HasAccessibilityIdentifier() bool

func (AccessibilityWrapper) HasAccessibilityIncrementButton

func (a_ AccessibilityWrapper) HasAccessibilityIncrementButton() bool

func (AccessibilityWrapper) HasAccessibilityIndex

func (a_ AccessibilityWrapper) HasAccessibilityIndex() bool

func (AccessibilityWrapper) HasAccessibilityInsertionPointLineNumber

func (a_ AccessibilityWrapper) HasAccessibilityInsertionPointLineNumber() bool

func (AccessibilityWrapper) HasAccessibilityLabel

func (a_ AccessibilityWrapper) HasAccessibilityLabel() bool

func (AccessibilityWrapper) HasAccessibilityLabelUIElements

func (a_ AccessibilityWrapper) HasAccessibilityLabelUIElements() bool

func (AccessibilityWrapper) HasAccessibilityLabelValue

func (a_ AccessibilityWrapper) HasAccessibilityLabelValue() bool

func (AccessibilityWrapper) HasAccessibilityLayoutPointForScreenPoint

func (a_ AccessibilityWrapper) HasAccessibilityLayoutPointForScreenPoint() bool

func (AccessibilityWrapper) HasAccessibilityLayoutSizeForScreenSize

func (a_ AccessibilityWrapper) HasAccessibilityLayoutSizeForScreenSize() bool

func (AccessibilityWrapper) HasAccessibilityLineForIndex

func (a_ AccessibilityWrapper) HasAccessibilityLineForIndex() bool

func (AccessibilityWrapper) HasAccessibilityLinkedUIElements

func (a_ AccessibilityWrapper) HasAccessibilityLinkedUIElements() bool

func (AccessibilityWrapper) HasAccessibilityMainWindow

func (a_ AccessibilityWrapper) HasAccessibilityMainWindow() bool

func (AccessibilityWrapper) HasAccessibilityMarkerGroupUIElement

func (a_ AccessibilityWrapper) HasAccessibilityMarkerGroupUIElement() bool

func (AccessibilityWrapper) HasAccessibilityMarkerTypeDescription

func (a_ AccessibilityWrapper) HasAccessibilityMarkerTypeDescription() bool

func (AccessibilityWrapper) HasAccessibilityMarkerUIElements

func (a_ AccessibilityWrapper) HasAccessibilityMarkerUIElements() bool

func (AccessibilityWrapper) HasAccessibilityMarkerValues

func (a_ AccessibilityWrapper) HasAccessibilityMarkerValues() bool

func (AccessibilityWrapper) HasAccessibilityMaxValue

func (a_ AccessibilityWrapper) HasAccessibilityMaxValue() bool

func (AccessibilityWrapper) HasAccessibilityMenuBar

func (a_ AccessibilityWrapper) HasAccessibilityMenuBar() bool

func (AccessibilityWrapper) HasAccessibilityMinValue

func (a_ AccessibilityWrapper) HasAccessibilityMinValue() bool

func (AccessibilityWrapper) HasAccessibilityMinimizeButton

func (a_ AccessibilityWrapper) HasAccessibilityMinimizeButton() bool

func (AccessibilityWrapper) HasAccessibilityNextContents

func (a_ AccessibilityWrapper) HasAccessibilityNextContents() bool

func (AccessibilityWrapper) HasAccessibilityNumberOfCharacters

func (a_ AccessibilityWrapper) HasAccessibilityNumberOfCharacters() bool

func (AccessibilityWrapper) HasAccessibilityOrientation

func (a_ AccessibilityWrapper) HasAccessibilityOrientation() bool

func (AccessibilityWrapper) HasAccessibilityOverflowButton

func (a_ AccessibilityWrapper) HasAccessibilityOverflowButton() bool

func (AccessibilityWrapper) HasAccessibilityParent

func (a_ AccessibilityWrapper) HasAccessibilityParent() bool

func (AccessibilityWrapper) HasAccessibilityPerformCancel

func (a_ AccessibilityWrapper) HasAccessibilityPerformCancel() bool

func (AccessibilityWrapper) HasAccessibilityPerformConfirm

func (a_ AccessibilityWrapper) HasAccessibilityPerformConfirm() bool

func (AccessibilityWrapper) HasAccessibilityPerformDecrement

func (a_ AccessibilityWrapper) HasAccessibilityPerformDecrement() bool

func (AccessibilityWrapper) HasAccessibilityPerformDelete

func (a_ AccessibilityWrapper) HasAccessibilityPerformDelete() bool

func (AccessibilityWrapper) HasAccessibilityPerformIncrement

func (a_ AccessibilityWrapper) HasAccessibilityPerformIncrement() bool

func (AccessibilityWrapper) HasAccessibilityPerformPick

func (a_ AccessibilityWrapper) HasAccessibilityPerformPick() bool

func (AccessibilityWrapper) HasAccessibilityPerformPress

func (a_ AccessibilityWrapper) HasAccessibilityPerformPress() bool

func (AccessibilityWrapper) HasAccessibilityPerformRaise

func (a_ AccessibilityWrapper) HasAccessibilityPerformRaise() bool

func (AccessibilityWrapper) HasAccessibilityPerformShowAlternateUI

func (a_ AccessibilityWrapper) HasAccessibilityPerformShowAlternateUI() bool

func (AccessibilityWrapper) HasAccessibilityPerformShowDefaultUI

func (a_ AccessibilityWrapper) HasAccessibilityPerformShowDefaultUI() bool

func (AccessibilityWrapper) HasAccessibilityPerformShowMenu

func (a_ AccessibilityWrapper) HasAccessibilityPerformShowMenu() bool

func (AccessibilityWrapper) HasAccessibilityPlaceholderValue

func (a_ AccessibilityWrapper) HasAccessibilityPlaceholderValue() bool

func (AccessibilityWrapper) HasAccessibilityPreviousContents

func (a_ AccessibilityWrapper) HasAccessibilityPreviousContents() bool

func (AccessibilityWrapper) HasAccessibilityProxy

func (a_ AccessibilityWrapper) HasAccessibilityProxy() bool

func (AccessibilityWrapper) HasAccessibilityRTFForRange

func (a_ AccessibilityWrapper) HasAccessibilityRTFForRange() bool

func (AccessibilityWrapper) HasAccessibilityRangeForIndex

func (a_ AccessibilityWrapper) HasAccessibilityRangeForIndex() bool

func (AccessibilityWrapper) HasAccessibilityRangeForLine

func (a_ AccessibilityWrapper) HasAccessibilityRangeForLine() bool

func (AccessibilityWrapper) HasAccessibilityRangeForPosition

func (a_ AccessibilityWrapper) HasAccessibilityRangeForPosition() bool

func (AccessibilityWrapper) HasAccessibilityRole

func (a_ AccessibilityWrapper) HasAccessibilityRole() bool

func (AccessibilityWrapper) HasAccessibilityRoleDescription

func (a_ AccessibilityWrapper) HasAccessibilityRoleDescription() bool

func (AccessibilityWrapper) HasAccessibilityRowCount

func (a_ AccessibilityWrapper) HasAccessibilityRowCount() bool

func (AccessibilityWrapper) HasAccessibilityRowHeaderUIElements

func (a_ AccessibilityWrapper) HasAccessibilityRowHeaderUIElements() bool

func (AccessibilityWrapper) HasAccessibilityRowIndexRange

func (a_ AccessibilityWrapper) HasAccessibilityRowIndexRange() bool

func (AccessibilityWrapper) HasAccessibilityRows

func (a_ AccessibilityWrapper) HasAccessibilityRows() bool

func (AccessibilityWrapper) HasAccessibilityRulerMarkerType

func (a_ AccessibilityWrapper) HasAccessibilityRulerMarkerType() bool

func (AccessibilityWrapper) HasAccessibilityScreenPointForLayoutPoint

func (a_ AccessibilityWrapper) HasAccessibilityScreenPointForLayoutPoint() bool

func (AccessibilityWrapper) HasAccessibilityScreenSizeForLayoutSize

func (a_ AccessibilityWrapper) HasAccessibilityScreenSizeForLayoutSize() bool

func (AccessibilityWrapper) HasAccessibilitySearchButton

func (a_ AccessibilityWrapper) HasAccessibilitySearchButton() bool

func (AccessibilityWrapper) HasAccessibilitySearchMenu

func (a_ AccessibilityWrapper) HasAccessibilitySearchMenu() bool

func (AccessibilityWrapper) HasAccessibilitySelectedCells

func (a_ AccessibilityWrapper) HasAccessibilitySelectedCells() bool

func (AccessibilityWrapper) HasAccessibilitySelectedChildren

func (a_ AccessibilityWrapper) HasAccessibilitySelectedChildren() bool

func (AccessibilityWrapper) HasAccessibilitySelectedColumns

func (a_ AccessibilityWrapper) HasAccessibilitySelectedColumns() bool

func (AccessibilityWrapper) HasAccessibilitySelectedRows

func (a_ AccessibilityWrapper) HasAccessibilitySelectedRows() bool

func (AccessibilityWrapper) HasAccessibilitySelectedText

func (a_ AccessibilityWrapper) HasAccessibilitySelectedText() bool

func (AccessibilityWrapper) HasAccessibilitySelectedTextRange

func (a_ AccessibilityWrapper) HasAccessibilitySelectedTextRange() bool

func (AccessibilityWrapper) HasAccessibilitySelectedTextRanges

func (a_ AccessibilityWrapper) HasAccessibilitySelectedTextRanges() bool

func (AccessibilityWrapper) HasAccessibilityServesAsTitleForUIElements

func (a_ AccessibilityWrapper) HasAccessibilityServesAsTitleForUIElements() bool

func (AccessibilityWrapper) HasAccessibilitySharedCharacterRange

func (a_ AccessibilityWrapper) HasAccessibilitySharedCharacterRange() bool

func (AccessibilityWrapper) HasAccessibilitySharedFocusElements

func (a_ AccessibilityWrapper) HasAccessibilitySharedFocusElements() bool

func (AccessibilityWrapper) HasAccessibilitySharedTextUIElements

func (a_ AccessibilityWrapper) HasAccessibilitySharedTextUIElements() bool

func (AccessibilityWrapper) HasAccessibilityShownMenu

func (a_ AccessibilityWrapper) HasAccessibilityShownMenu() bool

func (AccessibilityWrapper) HasAccessibilitySortDirection

func (a_ AccessibilityWrapper) HasAccessibilitySortDirection() bool

func (AccessibilityWrapper) HasAccessibilitySplitters

func (a_ AccessibilityWrapper) HasAccessibilitySplitters() bool

func (AccessibilityWrapper) HasAccessibilityStringForRange

func (a_ AccessibilityWrapper) HasAccessibilityStringForRange() bool

func (AccessibilityWrapper) HasAccessibilityStyleRangeForIndex

func (a_ AccessibilityWrapper) HasAccessibilityStyleRangeForIndex() bool

func (AccessibilityWrapper) HasAccessibilitySubrole

func (a_ AccessibilityWrapper) HasAccessibilitySubrole() bool

func (AccessibilityWrapper) HasAccessibilityTabs

func (a_ AccessibilityWrapper) HasAccessibilityTabs() bool

func (AccessibilityWrapper) HasAccessibilityTitle

func (a_ AccessibilityWrapper) HasAccessibilityTitle() bool

func (AccessibilityWrapper) HasAccessibilityTitleUIElement

func (a_ AccessibilityWrapper) HasAccessibilityTitleUIElement() bool

func (AccessibilityWrapper) HasAccessibilityToolbarButton

func (a_ AccessibilityWrapper) HasAccessibilityToolbarButton() bool

func (AccessibilityWrapper) HasAccessibilityTopLevelUIElement

func (a_ AccessibilityWrapper) HasAccessibilityTopLevelUIElement() bool

func (AccessibilityWrapper) HasAccessibilityURL

func (a_ AccessibilityWrapper) HasAccessibilityURL() bool

func (AccessibilityWrapper) HasAccessibilityUnitDescription

func (a_ AccessibilityWrapper) HasAccessibilityUnitDescription() bool

func (AccessibilityWrapper) HasAccessibilityUnits

func (a_ AccessibilityWrapper) HasAccessibilityUnits() bool

func (AccessibilityWrapper) HasAccessibilityValue

func (a_ AccessibilityWrapper) HasAccessibilityValue() bool

func (AccessibilityWrapper) HasAccessibilityValueDescription

func (a_ AccessibilityWrapper) HasAccessibilityValueDescription() bool

func (AccessibilityWrapper) HasAccessibilityVerticalScrollBar

func (a_ AccessibilityWrapper) HasAccessibilityVerticalScrollBar() bool

func (AccessibilityWrapper) HasAccessibilityVerticalUnitDescription

func (a_ AccessibilityWrapper) HasAccessibilityVerticalUnitDescription() bool

func (AccessibilityWrapper) HasAccessibilityVerticalUnits

func (a_ AccessibilityWrapper) HasAccessibilityVerticalUnits() bool

func (AccessibilityWrapper) HasAccessibilityVisibleCells

func (a_ AccessibilityWrapper) HasAccessibilityVisibleCells() bool

func (AccessibilityWrapper) HasAccessibilityVisibleCharacterRange

func (a_ AccessibilityWrapper) HasAccessibilityVisibleCharacterRange() bool

func (AccessibilityWrapper) HasAccessibilityVisibleChildren

func (a_ AccessibilityWrapper) HasAccessibilityVisibleChildren() bool

func (AccessibilityWrapper) HasAccessibilityVisibleColumns

func (a_ AccessibilityWrapper) HasAccessibilityVisibleColumns() bool

func (AccessibilityWrapper) HasAccessibilityVisibleRows

func (a_ AccessibilityWrapper) HasAccessibilityVisibleRows() bool

func (AccessibilityWrapper) HasAccessibilityWarningValue

func (a_ AccessibilityWrapper) HasAccessibilityWarningValue() bool

func (AccessibilityWrapper) HasAccessibilityWindow

func (a_ AccessibilityWrapper) HasAccessibilityWindow() bool

func (AccessibilityWrapper) HasAccessibilityWindows

func (a_ AccessibilityWrapper) HasAccessibilityWindows() bool

func (AccessibilityWrapper) HasAccessibilityZoomButton

func (a_ AccessibilityWrapper) HasAccessibilityZoomButton() bool

func (AccessibilityWrapper) HasIsAccessibilityAlternateUIVisible

func (a_ AccessibilityWrapper) HasIsAccessibilityAlternateUIVisible() bool

func (AccessibilityWrapper) HasIsAccessibilityDisclosed

func (a_ AccessibilityWrapper) HasIsAccessibilityDisclosed() bool

func (AccessibilityWrapper) HasIsAccessibilityEdited

func (a_ AccessibilityWrapper) HasIsAccessibilityEdited() bool

func (AccessibilityWrapper) HasIsAccessibilityElement

func (a_ AccessibilityWrapper) HasIsAccessibilityElement() bool

func (AccessibilityWrapper) HasIsAccessibilityEnabled

func (a_ AccessibilityWrapper) HasIsAccessibilityEnabled() bool

func (AccessibilityWrapper) HasIsAccessibilityExpanded

func (a_ AccessibilityWrapper) HasIsAccessibilityExpanded() bool

func (AccessibilityWrapper) HasIsAccessibilityFocused

func (a_ AccessibilityWrapper) HasIsAccessibilityFocused() bool

func (AccessibilityWrapper) HasIsAccessibilityFrontmost

func (a_ AccessibilityWrapper) HasIsAccessibilityFrontmost() bool

func (AccessibilityWrapper) HasIsAccessibilityHidden

func (a_ AccessibilityWrapper) HasIsAccessibilityHidden() bool

func (AccessibilityWrapper) HasIsAccessibilityMain

func (a_ AccessibilityWrapper) HasIsAccessibilityMain() bool

func (AccessibilityWrapper) HasIsAccessibilityMinimized

func (a_ AccessibilityWrapper) HasIsAccessibilityMinimized() bool

func (AccessibilityWrapper) HasIsAccessibilityModal

func (a_ AccessibilityWrapper) HasIsAccessibilityModal() bool

func (AccessibilityWrapper) HasIsAccessibilityOrderedByRow

func (a_ AccessibilityWrapper) HasIsAccessibilityOrderedByRow() bool

func (AccessibilityWrapper) HasIsAccessibilityProtectedContent

func (a_ AccessibilityWrapper) HasIsAccessibilityProtectedContent() bool

func (AccessibilityWrapper) HasIsAccessibilityRequired

func (a_ AccessibilityWrapper) HasIsAccessibilityRequired() bool

func (AccessibilityWrapper) HasIsAccessibilitySelected

func (a_ AccessibilityWrapper) HasIsAccessibilitySelected() bool

func (AccessibilityWrapper) HasIsAccessibilitySelectorAllowed

func (a_ AccessibilityWrapper) HasIsAccessibilitySelectorAllowed() bool

func (AccessibilityWrapper) HasSetAccessibilityActivationPoint

func (a_ AccessibilityWrapper) HasSetAccessibilityActivationPoint() bool

func (AccessibilityWrapper) HasSetAccessibilityAllowedValues

func (a_ AccessibilityWrapper) HasSetAccessibilityAllowedValues() bool

func (AccessibilityWrapper) HasSetAccessibilityAlternateUIVisible

func (a_ AccessibilityWrapper) HasSetAccessibilityAlternateUIVisible() bool

func (AccessibilityWrapper) HasSetAccessibilityApplicationFocusedUIElement

func (a_ AccessibilityWrapper) HasSetAccessibilityApplicationFocusedUIElement() bool

func (AccessibilityWrapper) HasSetAccessibilityCancelButton

func (a_ AccessibilityWrapper) HasSetAccessibilityCancelButton() bool

func (AccessibilityWrapper) HasSetAccessibilityChildren

func (a_ AccessibilityWrapper) HasSetAccessibilityChildren() bool

func (AccessibilityWrapper) HasSetAccessibilityChildrenInNavigationOrder

func (a_ AccessibilityWrapper) HasSetAccessibilityChildrenInNavigationOrder() bool

func (AccessibilityWrapper) HasSetAccessibilityClearButton

func (a_ AccessibilityWrapper) HasSetAccessibilityClearButton() bool

func (AccessibilityWrapper) HasSetAccessibilityCloseButton

func (a_ AccessibilityWrapper) HasSetAccessibilityCloseButton() bool

func (AccessibilityWrapper) HasSetAccessibilityColumnCount

func (a_ AccessibilityWrapper) HasSetAccessibilityColumnCount() bool

func (AccessibilityWrapper) HasSetAccessibilityColumnHeaderUIElements

func (a_ AccessibilityWrapper) HasSetAccessibilityColumnHeaderUIElements() bool

func (AccessibilityWrapper) HasSetAccessibilityColumnIndexRange

func (a_ AccessibilityWrapper) HasSetAccessibilityColumnIndexRange() bool

func (AccessibilityWrapper) HasSetAccessibilityColumnTitles

func (a_ AccessibilityWrapper) HasSetAccessibilityColumnTitles() bool

func (AccessibilityWrapper) HasSetAccessibilityColumns

func (a_ AccessibilityWrapper) HasSetAccessibilityColumns() bool

func (AccessibilityWrapper) HasSetAccessibilityContents

func (a_ AccessibilityWrapper) HasSetAccessibilityContents() bool

func (AccessibilityWrapper) HasSetAccessibilityCriticalValue

func (a_ AccessibilityWrapper) HasSetAccessibilityCriticalValue() bool

func (AccessibilityWrapper) HasSetAccessibilityCustomActions

func (a_ AccessibilityWrapper) HasSetAccessibilityCustomActions() bool

func (AccessibilityWrapper) HasSetAccessibilityCustomRotors

func (a_ AccessibilityWrapper) HasSetAccessibilityCustomRotors() bool

func (AccessibilityWrapper) HasSetAccessibilityDecrementButton

func (a_ AccessibilityWrapper) HasSetAccessibilityDecrementButton() bool

func (AccessibilityWrapper) HasSetAccessibilityDefaultButton

func (a_ AccessibilityWrapper) HasSetAccessibilityDefaultButton() bool

func (AccessibilityWrapper) HasSetAccessibilityDisclosed

func (a_ AccessibilityWrapper) HasSetAccessibilityDisclosed() bool

func (AccessibilityWrapper) HasSetAccessibilityDisclosedByRow

func (a_ AccessibilityWrapper) HasSetAccessibilityDisclosedByRow() bool

func (AccessibilityWrapper) HasSetAccessibilityDisclosedRows

func (a_ AccessibilityWrapper) HasSetAccessibilityDisclosedRows() bool

func (AccessibilityWrapper) HasSetAccessibilityDisclosureLevel

func (a_ AccessibilityWrapper) HasSetAccessibilityDisclosureLevel() bool

func (AccessibilityWrapper) HasSetAccessibilityDocument

func (a_ AccessibilityWrapper) HasSetAccessibilityDocument() bool

func (AccessibilityWrapper) HasSetAccessibilityEdited

func (a_ AccessibilityWrapper) HasSetAccessibilityEdited() bool

func (AccessibilityWrapper) HasSetAccessibilityElement

func (a_ AccessibilityWrapper) HasSetAccessibilityElement() bool

func (AccessibilityWrapper) HasSetAccessibilityEnabled

func (a_ AccessibilityWrapper) HasSetAccessibilityEnabled() bool

func (AccessibilityWrapper) HasSetAccessibilityExpanded

func (a_ AccessibilityWrapper) HasSetAccessibilityExpanded() bool

func (AccessibilityWrapper) HasSetAccessibilityExtrasMenuBar

func (a_ AccessibilityWrapper) HasSetAccessibilityExtrasMenuBar() bool

func (AccessibilityWrapper) HasSetAccessibilityFilename

func (a_ AccessibilityWrapper) HasSetAccessibilityFilename() bool

func (AccessibilityWrapper) HasSetAccessibilityFocused

func (a_ AccessibilityWrapper) HasSetAccessibilityFocused() bool

func (AccessibilityWrapper) HasSetAccessibilityFocusedWindow

func (a_ AccessibilityWrapper) HasSetAccessibilityFocusedWindow() bool

func (AccessibilityWrapper) HasSetAccessibilityFrame

func (a_ AccessibilityWrapper) HasSetAccessibilityFrame() bool

func (AccessibilityWrapper) HasSetAccessibilityFrontmost

func (a_ AccessibilityWrapper) HasSetAccessibilityFrontmost() bool

func (AccessibilityWrapper) HasSetAccessibilityFullScreenButton

func (a_ AccessibilityWrapper) HasSetAccessibilityFullScreenButton() bool

func (AccessibilityWrapper) HasSetAccessibilityGrowArea

func (a_ AccessibilityWrapper) HasSetAccessibilityGrowArea() bool

func (AccessibilityWrapper) HasSetAccessibilityHandles

func (a_ AccessibilityWrapper) HasSetAccessibilityHandles() bool

func (AccessibilityWrapper) HasSetAccessibilityHeader

func (a_ AccessibilityWrapper) HasSetAccessibilityHeader() bool

func (AccessibilityWrapper) HasSetAccessibilityHelp

func (a_ AccessibilityWrapper) HasSetAccessibilityHelp() bool

func (AccessibilityWrapper) HasSetAccessibilityHidden

func (a_ AccessibilityWrapper) HasSetAccessibilityHidden() bool

func (AccessibilityWrapper) HasSetAccessibilityHorizontalScrollBar

func (a_ AccessibilityWrapper) HasSetAccessibilityHorizontalScrollBar() bool

func (AccessibilityWrapper) HasSetAccessibilityHorizontalUnitDescription

func (a_ AccessibilityWrapper) HasSetAccessibilityHorizontalUnitDescription() bool

func (AccessibilityWrapper) HasSetAccessibilityHorizontalUnits

func (a_ AccessibilityWrapper) HasSetAccessibilityHorizontalUnits() bool

func (AccessibilityWrapper) HasSetAccessibilityIdentifier

func (a_ AccessibilityWrapper) HasSetAccessibilityIdentifier() bool

func (AccessibilityWrapper) HasSetAccessibilityIncrementButton

func (a_ AccessibilityWrapper) HasSetAccessibilityIncrementButton() bool

func (AccessibilityWrapper) HasSetAccessibilityIndex

func (a_ AccessibilityWrapper) HasSetAccessibilityIndex() bool

func (AccessibilityWrapper) HasSetAccessibilityInsertionPointLineNumber

func (a_ AccessibilityWrapper) HasSetAccessibilityInsertionPointLineNumber() bool

func (AccessibilityWrapper) HasSetAccessibilityLabel

func (a_ AccessibilityWrapper) HasSetAccessibilityLabel() bool

func (AccessibilityWrapper) HasSetAccessibilityLabelUIElements

func (a_ AccessibilityWrapper) HasSetAccessibilityLabelUIElements() bool

func (AccessibilityWrapper) HasSetAccessibilityLabelValue

func (a_ AccessibilityWrapper) HasSetAccessibilityLabelValue() bool

func (AccessibilityWrapper) HasSetAccessibilityLinkedUIElements

func (a_ AccessibilityWrapper) HasSetAccessibilityLinkedUIElements() bool

func (AccessibilityWrapper) HasSetAccessibilityMain

func (a_ AccessibilityWrapper) HasSetAccessibilityMain() bool

func (AccessibilityWrapper) HasSetAccessibilityMainWindow

func (a_ AccessibilityWrapper) HasSetAccessibilityMainWindow() bool

func (AccessibilityWrapper) HasSetAccessibilityMarkerGroupUIElement

func (a_ AccessibilityWrapper) HasSetAccessibilityMarkerGroupUIElement() bool

func (AccessibilityWrapper) HasSetAccessibilityMarkerTypeDescription

func (a_ AccessibilityWrapper) HasSetAccessibilityMarkerTypeDescription() bool

func (AccessibilityWrapper) HasSetAccessibilityMarkerUIElements

func (a_ AccessibilityWrapper) HasSetAccessibilityMarkerUIElements() bool

func (AccessibilityWrapper) HasSetAccessibilityMarkerValues

func (a_ AccessibilityWrapper) HasSetAccessibilityMarkerValues() bool

func (AccessibilityWrapper) HasSetAccessibilityMaxValue

func (a_ AccessibilityWrapper) HasSetAccessibilityMaxValue() bool

func (AccessibilityWrapper) HasSetAccessibilityMenuBar

func (a_ AccessibilityWrapper) HasSetAccessibilityMenuBar() bool

func (AccessibilityWrapper) HasSetAccessibilityMinValue

func (a_ AccessibilityWrapper) HasSetAccessibilityMinValue() bool

func (AccessibilityWrapper) HasSetAccessibilityMinimizeButton

func (a_ AccessibilityWrapper) HasSetAccessibilityMinimizeButton() bool

func (AccessibilityWrapper) HasSetAccessibilityMinimized

func (a_ AccessibilityWrapper) HasSetAccessibilityMinimized() bool

func (AccessibilityWrapper) HasSetAccessibilityModal

func (a_ AccessibilityWrapper) HasSetAccessibilityModal() bool

func (AccessibilityWrapper) HasSetAccessibilityNextContents

func (a_ AccessibilityWrapper) HasSetAccessibilityNextContents() bool

func (AccessibilityWrapper) HasSetAccessibilityNumberOfCharacters

func (a_ AccessibilityWrapper) HasSetAccessibilityNumberOfCharacters() bool

func (AccessibilityWrapper) HasSetAccessibilityOrderedByRow

func (a_ AccessibilityWrapper) HasSetAccessibilityOrderedByRow() bool

func (AccessibilityWrapper) HasSetAccessibilityOrientation

func (a_ AccessibilityWrapper) HasSetAccessibilityOrientation() bool

func (AccessibilityWrapper) HasSetAccessibilityOverflowButton

func (a_ AccessibilityWrapper) HasSetAccessibilityOverflowButton() bool

func (AccessibilityWrapper) HasSetAccessibilityParent

func (a_ AccessibilityWrapper) HasSetAccessibilityParent() bool

func (AccessibilityWrapper) HasSetAccessibilityPlaceholderValue

func (a_ AccessibilityWrapper) HasSetAccessibilityPlaceholderValue() bool

func (AccessibilityWrapper) HasSetAccessibilityPreviousContents

func (a_ AccessibilityWrapper) HasSetAccessibilityPreviousContents() bool

func (AccessibilityWrapper) HasSetAccessibilityProtectedContent

func (a_ AccessibilityWrapper) HasSetAccessibilityProtectedContent() bool

func (AccessibilityWrapper) HasSetAccessibilityProxy

func (a_ AccessibilityWrapper) HasSetAccessibilityProxy() bool

func (AccessibilityWrapper) HasSetAccessibilityRequired

func (a_ AccessibilityWrapper) HasSetAccessibilityRequired() bool

func (AccessibilityWrapper) HasSetAccessibilityRole

func (a_ AccessibilityWrapper) HasSetAccessibilityRole() bool

func (AccessibilityWrapper) HasSetAccessibilityRoleDescription

func (a_ AccessibilityWrapper) HasSetAccessibilityRoleDescription() bool

func (AccessibilityWrapper) HasSetAccessibilityRowCount

func (a_ AccessibilityWrapper) HasSetAccessibilityRowCount() bool

func (AccessibilityWrapper) HasSetAccessibilityRowHeaderUIElements

func (a_ AccessibilityWrapper) HasSetAccessibilityRowHeaderUIElements() bool

func (AccessibilityWrapper) HasSetAccessibilityRowIndexRange

func (a_ AccessibilityWrapper) HasSetAccessibilityRowIndexRange() bool

func (AccessibilityWrapper) HasSetAccessibilityRows

func (a_ AccessibilityWrapper) HasSetAccessibilityRows() bool

func (AccessibilityWrapper) HasSetAccessibilityRulerMarkerType

func (a_ AccessibilityWrapper) HasSetAccessibilityRulerMarkerType() bool

func (AccessibilityWrapper) HasSetAccessibilitySearchButton

func (a_ AccessibilityWrapper) HasSetAccessibilitySearchButton() bool

func (AccessibilityWrapper) HasSetAccessibilitySearchMenu

func (a_ AccessibilityWrapper) HasSetAccessibilitySearchMenu() bool

func (AccessibilityWrapper) HasSetAccessibilitySelected

func (a_ AccessibilityWrapper) HasSetAccessibilitySelected() bool

func (AccessibilityWrapper) HasSetAccessibilitySelectedCells

func (a_ AccessibilityWrapper) HasSetAccessibilitySelectedCells() bool

func (AccessibilityWrapper) HasSetAccessibilitySelectedChildren

func (a_ AccessibilityWrapper) HasSetAccessibilitySelectedChildren() bool

func (AccessibilityWrapper) HasSetAccessibilitySelectedColumns

func (a_ AccessibilityWrapper) HasSetAccessibilitySelectedColumns() bool

func (AccessibilityWrapper) HasSetAccessibilitySelectedRows

func (a_ AccessibilityWrapper) HasSetAccessibilitySelectedRows() bool

func (AccessibilityWrapper) HasSetAccessibilitySelectedText

func (a_ AccessibilityWrapper) HasSetAccessibilitySelectedText() bool

func (AccessibilityWrapper) HasSetAccessibilitySelectedTextRange

func (a_ AccessibilityWrapper) HasSetAccessibilitySelectedTextRange() bool

func (AccessibilityWrapper) HasSetAccessibilitySelectedTextRanges

func (a_ AccessibilityWrapper) HasSetAccessibilitySelectedTextRanges() bool

func (AccessibilityWrapper) HasSetAccessibilityServesAsTitleForUIElements

func (a_ AccessibilityWrapper) HasSetAccessibilityServesAsTitleForUIElements() bool

func (AccessibilityWrapper) HasSetAccessibilitySharedCharacterRange

func (a_ AccessibilityWrapper) HasSetAccessibilitySharedCharacterRange() bool

func (AccessibilityWrapper) HasSetAccessibilitySharedFocusElements

func (a_ AccessibilityWrapper) HasSetAccessibilitySharedFocusElements() bool

func (AccessibilityWrapper) HasSetAccessibilitySharedTextUIElements

func (a_ AccessibilityWrapper) HasSetAccessibilitySharedTextUIElements() bool

func (AccessibilityWrapper) HasSetAccessibilityShownMenu

func (a_ AccessibilityWrapper) HasSetAccessibilityShownMenu() bool

func (AccessibilityWrapper) HasSetAccessibilitySortDirection

func (a_ AccessibilityWrapper) HasSetAccessibilitySortDirection() bool

func (AccessibilityWrapper) HasSetAccessibilitySplitters

func (a_ AccessibilityWrapper) HasSetAccessibilitySplitters() bool

func (AccessibilityWrapper) HasSetAccessibilitySubrole

func (a_ AccessibilityWrapper) HasSetAccessibilitySubrole() bool

func (AccessibilityWrapper) HasSetAccessibilityTabs

func (a_ AccessibilityWrapper) HasSetAccessibilityTabs() bool

func (AccessibilityWrapper) HasSetAccessibilityTitle

func (a_ AccessibilityWrapper) HasSetAccessibilityTitle() bool

func (AccessibilityWrapper) HasSetAccessibilityTitleUIElement

func (a_ AccessibilityWrapper) HasSetAccessibilityTitleUIElement() bool

func (AccessibilityWrapper) HasSetAccessibilityToolbarButton

func (a_ AccessibilityWrapper) HasSetAccessibilityToolbarButton() bool

func (AccessibilityWrapper) HasSetAccessibilityTopLevelUIElement

func (a_ AccessibilityWrapper) HasSetAccessibilityTopLevelUIElement() bool

func (AccessibilityWrapper) HasSetAccessibilityURL

func (a_ AccessibilityWrapper) HasSetAccessibilityURL() bool

func (AccessibilityWrapper) HasSetAccessibilityUnitDescription

func (a_ AccessibilityWrapper) HasSetAccessibilityUnitDescription() bool

func (AccessibilityWrapper) HasSetAccessibilityUnits

func (a_ AccessibilityWrapper) HasSetAccessibilityUnits() bool

func (AccessibilityWrapper) HasSetAccessibilityValue

func (a_ AccessibilityWrapper) HasSetAccessibilityValue() bool

func (AccessibilityWrapper) HasSetAccessibilityValueDescription

func (a_ AccessibilityWrapper) HasSetAccessibilityValueDescription() bool

func (AccessibilityWrapper) HasSetAccessibilityVerticalScrollBar

func (a_ AccessibilityWrapper) HasSetAccessibilityVerticalScrollBar() bool

func (AccessibilityWrapper) HasSetAccessibilityVerticalUnitDescription

func (a_ AccessibilityWrapper) HasSetAccessibilityVerticalUnitDescription() bool

func (AccessibilityWrapper) HasSetAccessibilityVerticalUnits

func (a_ AccessibilityWrapper) HasSetAccessibilityVerticalUnits() bool

func (AccessibilityWrapper) HasSetAccessibilityVisibleCells

func (a_ AccessibilityWrapper) HasSetAccessibilityVisibleCells() bool

func (AccessibilityWrapper) HasSetAccessibilityVisibleCharacterRange

func (a_ AccessibilityWrapper) HasSetAccessibilityVisibleCharacterRange() bool

func (AccessibilityWrapper) HasSetAccessibilityVisibleChildren

func (a_ AccessibilityWrapper) HasSetAccessibilityVisibleChildren() bool

func (AccessibilityWrapper) HasSetAccessibilityVisibleColumns

func (a_ AccessibilityWrapper) HasSetAccessibilityVisibleColumns() bool

func (AccessibilityWrapper) HasSetAccessibilityVisibleRows

func (a_ AccessibilityWrapper) HasSetAccessibilityVisibleRows() bool

func (AccessibilityWrapper) HasSetAccessibilityWarningValue

func (a_ AccessibilityWrapper) HasSetAccessibilityWarningValue() bool

func (AccessibilityWrapper) HasSetAccessibilityWindow

func (a_ AccessibilityWrapper) HasSetAccessibilityWindow() bool

func (AccessibilityWrapper) HasSetAccessibilityWindows

func (a_ AccessibilityWrapper) HasSetAccessibilityWindows() bool

func (AccessibilityWrapper) HasSetAccessibilityZoomButton

func (a_ AccessibilityWrapper) HasSetAccessibilityZoomButton() bool

func (AccessibilityWrapper) IsAccessibilityAlternateUIVisible

func (a_ AccessibilityWrapper) IsAccessibilityAlternateUIVisible() bool

A Boolean value that determines whether the accessibility element’s alternative UI is currently visible. Full Topic

func (AccessibilityWrapper) IsAccessibilityDisclosed

func (a_ AccessibilityWrapper) IsAccessibilityDisclosed() bool

A Boolean value that determines whether the row is disclosing other rows. Full Topic

func (AccessibilityWrapper) IsAccessibilityEdited

func (a_ AccessibilityWrapper) IsAccessibilityEdited() bool

A Boolean value that indicates whether the accessibility element is in an edited state. Full Topic

func (AccessibilityWrapper) IsAccessibilityElement

func (a_ AccessibilityWrapper) IsAccessibilityElement() bool

A Boolean value that determines whether the accessibility element participates in the accessibility hierarchy. Full Topic

func (AccessibilityWrapper) IsAccessibilityEnabled

func (a_ AccessibilityWrapper) IsAccessibilityEnabled() bool

A Boolean value that determines whether the accessibility element responds to user events. Full Topic

func (AccessibilityWrapper) IsAccessibilityExpanded

func (a_ AccessibilityWrapper) IsAccessibilityExpanded() bool

A Boolean value that determines whether the accessibility element is in an expanded state. Full Topic

func (AccessibilityWrapper) IsAccessibilityFocused

func (a_ AccessibilityWrapper) IsAccessibilityFocused() bool

A Boolean value that determines whether the accessibility element has the keyboard focus. Full Topic

func (AccessibilityWrapper) IsAccessibilityFrontmost

func (a_ AccessibilityWrapper) IsAccessibilityFrontmost() bool

A Boolean value that determines whether the app is the frontmost app. Full Topic

func (AccessibilityWrapper) IsAccessibilityHidden

func (a_ AccessibilityWrapper) IsAccessibilityHidden() bool

A Boolean value that determines whether the app is in a hidden state. Full Topic

func (AccessibilityWrapper) IsAccessibilityMain

func (a_ AccessibilityWrapper) IsAccessibilityMain() bool

A Boolean value that determines whether the window is the app’s main window. Full Topic

func (AccessibilityWrapper) IsAccessibilityMinimized

func (a_ AccessibilityWrapper) IsAccessibilityMinimized() bool

A Boolean value that determines whether this window is in a minimized state. Full Topic

func (AccessibilityWrapper) IsAccessibilityModal

func (a_ AccessibilityWrapper) IsAccessibilityModal() bool

A Boolean value that determines whether the window is modal. Full Topic

func (AccessibilityWrapper) IsAccessibilityOrderedByRow

func (a_ AccessibilityWrapper) IsAccessibilityOrderedByRow() bool

A Boolean value that determines whether the accessibility element’s grid is in row major order or in column major order. Full Topic

func (AccessibilityWrapper) IsAccessibilityProtectedContent

func (a_ AccessibilityWrapper) IsAccessibilityProtectedContent() bool

A Boolean value that determines whether the accessibility element contains protected content. Full Topic

func (AccessibilityWrapper) IsAccessibilityRequired

func (a_ AccessibilityWrapper) IsAccessibilityRequired() bool

A Boolean value that determines whether the accessibility element must have content for successful submission of a form. Full Topic

func (AccessibilityWrapper) IsAccessibilitySelected

func (a_ AccessibilityWrapper) IsAccessibilitySelected() bool

A Boolean value that determines whether the accessibility element is currently in a selected state. Full Topic

func (AccessibilityWrapper) IsAccessibilitySelectorAllowed

func (a_ AccessibilityWrapper) IsAccessibilitySelectorAllowed(selector objc.Selector) bool

Returns a Boolean value that indicates whether assistive apps can invoke the specified selector on the accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityActivationPoint

func (a_ AccessibilityWrapper) SetAccessibilityActivationPoint(value foundation.Point)

The activation point for the user interface element. Full Topic

func (AccessibilityWrapper) SetAccessibilityAllowedValues

func (a_ AccessibilityWrapper) SetAccessibilityAllowedValues(value []foundation.INumber)

The allowed values for the slider accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityAlternateUIVisible

func (a_ AccessibilityWrapper) SetAccessibilityAlternateUIVisible(value bool)

A Boolean value that determines whether the accessibility element’s alternative UI is currently visible. Full Topic

func (AccessibilityWrapper) SetAccessibilityApplicationFocusedUIElement

func (a_ AccessibilityWrapper) SetAccessibilityApplicationFocusedUIElement(value objc.IObject)

The child accessibility element with the current focus. Full Topic

func (AccessibilityWrapper) SetAccessibilityCancelButton

func (a_ AccessibilityWrapper) SetAccessibilityCancelButton(value objc.IObject)

The child accessibility element that represents the window’s cancel button. Full Topic

func (AccessibilityWrapper) SetAccessibilityChildren

func (a_ AccessibilityWrapper) SetAccessibilityChildren(value []objc.IObject)

The child accessibility elements in the accessibility hierarchy. Full Topic

func (AccessibilityWrapper) SetAccessibilityChildrenInNavigationOrder

func (a_ AccessibilityWrapper) SetAccessibilityChildrenInNavigationOrder(value []objc.IObject)

An array of child accessibility elements in order for linear navigation. Full Topic

func (AccessibilityWrapper) SetAccessibilityClearButton

func (a_ AccessibilityWrapper) SetAccessibilityClearButton(value objc.IObject)

The clear button for the search field. Full Topic

func (AccessibilityWrapper) SetAccessibilityCloseButton

func (a_ AccessibilityWrapper) SetAccessibilityCloseButton(value objc.IObject)

The child accessibility element that represents the window’s close button. Full Topic

func (AccessibilityWrapper) SetAccessibilityColumnCount

func (a_ AccessibilityWrapper) SetAccessibilityColumnCount(value int)

The number of columns in the accessibility element’s grid. Full Topic

func (AccessibilityWrapper) SetAccessibilityColumnHeaderUIElements

func (a_ AccessibilityWrapper) SetAccessibilityColumnHeaderUIElements(value []objc.IObject)

The column header accessibility elements for the table or outline. Full Topic

func (AccessibilityWrapper) SetAccessibilityColumnIndexRange

func (a_ AccessibilityWrapper) SetAccessibilityColumnIndexRange(value foundation.Range)

The column index range of the cell. Full Topic

func (AccessibilityWrapper) SetAccessibilityColumnTitles

func (a_ AccessibilityWrapper) SetAccessibilityColumnTitles(value []objc.IObject)

The column titles for the accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityColumns

func (a_ AccessibilityWrapper) SetAccessibilityColumns(value []objc.IObject)

The column accessibility elements for the table or outline. Full Topic

func (AccessibilityWrapper) SetAccessibilityContents

func (a_ AccessibilityWrapper) SetAccessibilityContents(value []objc.IObject)

The contents of the current accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityCriticalValue

func (a_ AccessibilityWrapper) SetAccessibilityCriticalValue(value objc.IObject)

The critical value for the level indicator. Full Topic

func (AccessibilityWrapper) SetAccessibilityCustomActions

func (a_ AccessibilityWrapper) SetAccessibilityCustomActions(value []IAccessibilityCustomAction)

The custom actions of the current accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityCustomRotors

func (a_ AccessibilityWrapper) SetAccessibilityCustomRotors(value []IAccessibilityCustomRotor)

The custom rotors of the current accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityDecrementButton

func (a_ AccessibilityWrapper) SetAccessibilityDecrementButton(value objc.IObject)

The decrement button for the stepper accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityDefaultButton

func (a_ AccessibilityWrapper) SetAccessibilityDefaultButton(value objc.IObject)

The child accessibility element that represents the window’s default button. Full Topic

func (AccessibilityWrapper) SetAccessibilityDisclosed

func (a_ AccessibilityWrapper) SetAccessibilityDisclosed(value bool)

A Boolean value that determines whether the row is disclosing other rows. Full Topic

func (AccessibilityWrapper) SetAccessibilityDisclosedByRow

func (a_ AccessibilityWrapper) SetAccessibilityDisclosedByRow(value objc.IObject)

The row disclosing the current row. Full Topic

func (AccessibilityWrapper) SetAccessibilityDisclosedRows

func (a_ AccessibilityWrapper) SetAccessibilityDisclosedRows(value objc.IObject)

The rows that the current row discloses. Full Topic

func (AccessibilityWrapper) SetAccessibilityDisclosureLevel

func (a_ AccessibilityWrapper) SetAccessibilityDisclosureLevel(value int)

The indention level for the row. Full Topic

func (AccessibilityWrapper) SetAccessibilityDocument

func (a_ AccessibilityWrapper) SetAccessibilityDocument(value string)

The URL for the file that the accessibility element represents. Full Topic

func (AccessibilityWrapper) SetAccessibilityEdited

func (a_ AccessibilityWrapper) SetAccessibilityEdited(value bool)

A Boolean value that indicates whether the accessibility element is in an edited state. Full Topic

func (AccessibilityWrapper) SetAccessibilityElement

func (a_ AccessibilityWrapper) SetAccessibilityElement(value bool)

A Boolean value that determines whether the accessibility element participates in the accessibility hierarchy. Full Topic

func (AccessibilityWrapper) SetAccessibilityEnabled

func (a_ AccessibilityWrapper) SetAccessibilityEnabled(value bool)

A Boolean value that determines whether the accessibility element responds to user events. Full Topic

func (AccessibilityWrapper) SetAccessibilityExpanded

func (a_ AccessibilityWrapper) SetAccessibilityExpanded(value bool)

A Boolean value that determines whether the accessibility element is in an expanded state. Full Topic

func (AccessibilityWrapper) SetAccessibilityExtrasMenuBar

func (a_ AccessibilityWrapper) SetAccessibilityExtrasMenuBar(value objc.IObject)

The icon for the app’s menu bar extra. Full Topic

func (AccessibilityWrapper) SetAccessibilityFilename

func (a_ AccessibilityWrapper) SetAccessibilityFilename(value string)

The filename for the file that the accessibility element represents. Full Topic

func (AccessibilityWrapper) SetAccessibilityFocused

func (a_ AccessibilityWrapper) SetAccessibilityFocused(value bool)

A Boolean value that determines whether the accessibility element has the keyboard focus. Full Topic

func (AccessibilityWrapper) SetAccessibilityFocusedWindow

func (a_ AccessibilityWrapper) SetAccessibilityFocusedWindow(value objc.IObject)

The child window with the current focus. Full Topic

func (AccessibilityWrapper) SetAccessibilityFrame

func (a_ AccessibilityWrapper) SetAccessibilityFrame(value foundation.Rect)

The accessibility element’s frame in screen coordinates. Full Topic

func (AccessibilityWrapper) SetAccessibilityFrontmost

func (a_ AccessibilityWrapper) SetAccessibilityFrontmost(value bool)

A Boolean value that determines whether the app is the frontmost app. Full Topic

func (AccessibilityWrapper) SetAccessibilityFullScreenButton

func (a_ AccessibilityWrapper) SetAccessibilityFullScreenButton(value objc.IObject)

The child accessibility element that represents the window’s full-screen button. Full Topic

func (AccessibilityWrapper) SetAccessibilityGrowArea

func (a_ AccessibilityWrapper) SetAccessibilityGrowArea(value objc.IObject)

The child accessibility element that represents the window’s grow area. Full Topic

func (AccessibilityWrapper) SetAccessibilityHandles

func (a_ AccessibilityWrapper) SetAccessibilityHandles(value []objc.IObject)

The drag handle accessibility elements for the layout item element. Full Topic

func (AccessibilityWrapper) SetAccessibilityHeader

func (a_ AccessibilityWrapper) SetAccessibilityHeader(value objc.IObject)

The header for the table view. Full Topic

func (AccessibilityWrapper) SetAccessibilityHelp

func (a_ AccessibilityWrapper) SetAccessibilityHelp(value string)

The help text for the accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityHidden

func (a_ AccessibilityWrapper) SetAccessibilityHidden(value bool)

A Boolean value that determines whether the app is in a hidden state. Full Topic

func (AccessibilityWrapper) SetAccessibilityHorizontalScrollBar

func (a_ AccessibilityWrapper) SetAccessibilityHorizontalScrollBar(value objc.IObject)

The horizontal scroll bar for the scroll view. Full Topic

func (AccessibilityWrapper) SetAccessibilityHorizontalUnitDescription

func (a_ AccessibilityWrapper) SetAccessibilityHorizontalUnitDescription(value string)

A description of the layout area’s horizontal units. Full Topic

func (AccessibilityWrapper) SetAccessibilityHorizontalUnits

func (a_ AccessibilityWrapper) SetAccessibilityHorizontalUnits(value AccessibilityUnits)

The units that the layout area uses for horizontal values. Full Topic

func (AccessibilityWrapper) SetAccessibilityIdentifier

func (a_ AccessibilityWrapper) SetAccessibilityIdentifier(value string)

The accessibility element’s identity. Full Topic

func (AccessibilityWrapper) SetAccessibilityIncrementButton

func (a_ AccessibilityWrapper) SetAccessibilityIncrementButton(value objc.IObject)

The increment button for the stepper accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityIndex

func (a_ AccessibilityWrapper) SetAccessibilityIndex(value int)

The index of the row or column that the accessibility element represents. Full Topic

func (AccessibilityWrapper) SetAccessibilityInsertionPointLineNumber

func (a_ AccessibilityWrapper) SetAccessibilityInsertionPointLineNumber(value int)

The line number that contains the insertion point. Full Topic

func (AccessibilityWrapper) SetAccessibilityLabel

func (a_ AccessibilityWrapper) SetAccessibilityLabel(value string)

A short description of the accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityLabelUIElements

func (a_ AccessibilityWrapper) SetAccessibilityLabelUIElements(value []objc.IObject)

The child label elements for the slider accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityLabelValue

func (a_ AccessibilityWrapper) SetAccessibilityLabelValue(value float64)

The value of the label accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityLinkedUIElements

func (a_ AccessibilityWrapper) SetAccessibilityLinkedUIElements(value []objc.IObject)

The elements that have links with the accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityMain

func (a_ AccessibilityWrapper) SetAccessibilityMain(value bool)

A Boolean value that determines whether the window is the app’s main window. Full Topic

func (AccessibilityWrapper) SetAccessibilityMainWindow

func (a_ AccessibilityWrapper) SetAccessibilityMainWindow(value objc.IObject)

The app’s main window. Full Topic

func (AccessibilityWrapper) SetAccessibilityMarkerGroupUIElement

func (a_ AccessibilityWrapper) SetAccessibilityMarkerGroupUIElement(value objc.IObject)

The user interface element that functions as a marker group for the ruler accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityMarkerTypeDescription

func (a_ AccessibilityWrapper) SetAccessibilityMarkerTypeDescription(value string)

A human-readable description of the marker type. Full Topic

func (AccessibilityWrapper) SetAccessibilityMarkerUIElements

func (a_ AccessibilityWrapper) SetAccessibilityMarkerUIElements(value []objc.IObject)

An array of marker accessibility elements for the ruler. Full Topic

func (AccessibilityWrapper) SetAccessibilityMarkerValues

func (a_ AccessibilityWrapper) SetAccessibilityMarkerValues(value objc.IObject)

The marker values for the ruler. Full Topic

func (AccessibilityWrapper) SetAccessibilityMaxValue

func (a_ AccessibilityWrapper) SetAccessibilityMaxValue(value objc.IObject)

The maximum value for the accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityMenuBar

func (a_ AccessibilityWrapper) SetAccessibilityMenuBar(value objc.IObject)

The app’s menu bar. Full Topic

func (AccessibilityWrapper) SetAccessibilityMinValue

func (a_ AccessibilityWrapper) SetAccessibilityMinValue(value objc.IObject)

The minimum value for the accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityMinimizeButton

func (a_ AccessibilityWrapper) SetAccessibilityMinimizeButton(value objc.IObject)

The child accessibility element that represents the window’s minimize button. Full Topic

func (AccessibilityWrapper) SetAccessibilityMinimized

func (a_ AccessibilityWrapper) SetAccessibilityMinimized(value bool)

A Boolean value that determines whether this window is in a minimized state. Full Topic

func (AccessibilityWrapper) SetAccessibilityModal

func (a_ AccessibilityWrapper) SetAccessibilityModal(value bool)

A Boolean value that determines whether the window is modal. Full Topic

func (AccessibilityWrapper) SetAccessibilityNextContents

func (a_ AccessibilityWrapper) SetAccessibilityNextContents(value []objc.IObject)

The contents that follow the divider accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityNumberOfCharacters

func (a_ AccessibilityWrapper) SetAccessibilityNumberOfCharacters(value int)

The number of characters in the text. Full Topic

func (AccessibilityWrapper) SetAccessibilityOrderedByRow

func (a_ AccessibilityWrapper) SetAccessibilityOrderedByRow(value bool)

A Boolean value that determines whether the accessibility element’s grid is in row major order or in column major order. Full Topic

func (AccessibilityWrapper) SetAccessibilityOrientation

func (a_ AccessibilityWrapper) SetAccessibilityOrientation(value AccessibilityOrientation)

The orientation of the accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityOverflowButton

func (a_ AccessibilityWrapper) SetAccessibilityOverflowButton(value objc.IObject)

The overflow button for the toolbar. Full Topic

func (AccessibilityWrapper) SetAccessibilityParent

func (a_ AccessibilityWrapper) SetAccessibilityParent(value objc.IObject)

The accessibility element’s parent in the accessibility hierarchy. Full Topic

func (AccessibilityWrapper) SetAccessibilityPlaceholderValue

func (a_ AccessibilityWrapper) SetAccessibilityPlaceholderValue(value string)

The placeholder value for the accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityPreviousContents

func (a_ AccessibilityWrapper) SetAccessibilityPreviousContents(value []objc.IObject)

The contents that precede the divider accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityProtectedContent

func (a_ AccessibilityWrapper) SetAccessibilityProtectedContent(value bool)

A Boolean value that determines whether the accessibility element contains protected content. Full Topic

func (AccessibilityWrapper) SetAccessibilityProxy

func (a_ AccessibilityWrapper) SetAccessibilityProxy(value objc.IObject)

The child accessibility element that represents the window’s proxy icon. Full Topic

func (AccessibilityWrapper) SetAccessibilityRequired

func (a_ AccessibilityWrapper) SetAccessibilityRequired(value bool)

A Boolean value that determines whether the accessibility element must have content for successful submission of a form. Full Topic

func (AccessibilityWrapper) SetAccessibilityRole

func (a_ AccessibilityWrapper) SetAccessibilityRole(value AccessibilityRole)

The type of interface element that the accessibility element represents. Full Topic

func (AccessibilityWrapper) SetAccessibilityRoleDescription

func (a_ AccessibilityWrapper) SetAccessibilityRoleDescription(value string)

A localized, human-intelligible description of the accessibility element’s role, such as radio button. Full Topic

func (AccessibilityWrapper) SetAccessibilityRowCount

func (a_ AccessibilityWrapper) SetAccessibilityRowCount(value int)

The number of rows in the accessibility element’s grid. Full Topic

func (AccessibilityWrapper) SetAccessibilityRowHeaderUIElements

func (a_ AccessibilityWrapper) SetAccessibilityRowHeaderUIElements(value []objc.IObject)

The row header accessibility elements for the table or outline. Full Topic

func (AccessibilityWrapper) SetAccessibilityRowIndexRange

func (a_ AccessibilityWrapper) SetAccessibilityRowIndexRange(value foundation.Range)

The row index range of the cell. Full Topic

func (AccessibilityWrapper) SetAccessibilityRows

func (a_ AccessibilityWrapper) SetAccessibilityRows(value []objc.IObject)

The row accessibility elements for the table or outline. Full Topic

func (AccessibilityWrapper) SetAccessibilityRulerMarkerType

func (a_ AccessibilityWrapper) SetAccessibilityRulerMarkerType(value AccessibilityRulerMarkerType)

The type of markers for the ruler. Full Topic

func (AccessibilityWrapper) SetAccessibilitySearchButton

func (a_ AccessibilityWrapper) SetAccessibilitySearchButton(value objc.IObject)

The search button for the search field. Full Topic

func (AccessibilityWrapper) SetAccessibilitySearchMenu

func (a_ AccessibilityWrapper) SetAccessibilitySearchMenu(value objc.IObject)

The search menu for the search field. Full Topic

func (AccessibilityWrapper) SetAccessibilitySelected

func (a_ AccessibilityWrapper) SetAccessibilitySelected(value bool)

A Boolean value that determines whether the accessibility element is currently in a selected state. Full Topic

func (AccessibilityWrapper) SetAccessibilitySelectedCells

func (a_ AccessibilityWrapper) SetAccessibilitySelectedCells(value []objc.IObject)

The currently selected cells for the table. Full Topic

func (AccessibilityWrapper) SetAccessibilitySelectedChildren

func (a_ AccessibilityWrapper) SetAccessibilitySelectedChildren(value []objc.IObject)

The accessibility element’s currently selected children. Full Topic

func (AccessibilityWrapper) SetAccessibilitySelectedColumns

func (a_ AccessibilityWrapper) SetAccessibilitySelectedColumns(value []objc.IObject)

The currently selected columns for the table or outline. Full Topic

func (AccessibilityWrapper) SetAccessibilitySelectedRows

func (a_ AccessibilityWrapper) SetAccessibilitySelectedRows(value []objc.IObject)

The currently selected rows for the table or outline. Full Topic

func (AccessibilityWrapper) SetAccessibilitySelectedText

func (a_ AccessibilityWrapper) SetAccessibilitySelectedText(value string)

The currently selected text. Full Topic

func (AccessibilityWrapper) SetAccessibilitySelectedTextRange

func (a_ AccessibilityWrapper) SetAccessibilitySelectedTextRange(value foundation.Range)

The range of the currently selected text. Full Topic

func (AccessibilityWrapper) SetAccessibilitySelectedTextRanges

func (a_ AccessibilityWrapper) SetAccessibilitySelectedTextRanges(value []foundation.IValue)

An array of ranges for the currently selected text. Full Topic

func (AccessibilityWrapper) SetAccessibilityServesAsTitleForUIElements

func (a_ AccessibilityWrapper) SetAccessibilityServesAsTitleForUIElements(value []objc.IObject)

The list of elements that the accessibility element is a title for. Full Topic

func (AccessibilityWrapper) SetAccessibilitySharedCharacterRange

func (a_ AccessibilityWrapper) SetAccessibilitySharedCharacterRange(value foundation.Range)

The range of characters that the accessibility element displays. Full Topic

func (AccessibilityWrapper) SetAccessibilitySharedFocusElements

func (a_ AccessibilityWrapper) SetAccessibilitySharedFocusElements(value []objc.IObject)

An array of elements that shares the keyboard focus with the accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilitySharedTextUIElements

func (a_ AccessibilityWrapper) SetAccessibilitySharedTextUIElements(value []objc.IObject)

Other elements that share text with the accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityShownMenu

func (a_ AccessibilityWrapper) SetAccessibilityShownMenu(value objc.IObject)

The menu currently displaying for the accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilitySortDirection

func (a_ AccessibilityWrapper) SetAccessibilitySortDirection(value AccessibilitySortDirection)

The accessibility element’s sort direction. Full Topic

func (AccessibilityWrapper) SetAccessibilitySplitters

func (a_ AccessibilityWrapper) SetAccessibilitySplitters(value []objc.IObject)

An array that contains the views and splitter bar from the split view. Full Topic

func (AccessibilityWrapper) SetAccessibilitySubrole

func (a_ AccessibilityWrapper) SetAccessibilitySubrole(value AccessibilitySubrole)

The specialized interface element type that the accessibility element represents. Full Topic

func (AccessibilityWrapper) SetAccessibilityTabs

func (a_ AccessibilityWrapper) SetAccessibilityTabs(value []objc.IObject)

The tab accessibility elements for the tab view. Full Topic

func (AccessibilityWrapper) SetAccessibilityTitle

func (a_ AccessibilityWrapper) SetAccessibilityTitle(value string)

The title of the accessibility element—for example, a button’s visible text. Full Topic

func (AccessibilityWrapper) SetAccessibilityTitleUIElement

func (a_ AccessibilityWrapper) SetAccessibilityTitleUIElement(value objc.IObject)

A static text element that represents the accessibility element’s title. Full Topic

func (AccessibilityWrapper) SetAccessibilityToolbarButton

func (a_ AccessibilityWrapper) SetAccessibilityToolbarButton(value objc.IObject)

The child accessibility element that represents the window’s toolbar button. Full Topic

func (AccessibilityWrapper) SetAccessibilityTopLevelUIElement

func (a_ AccessibilityWrapper) SetAccessibilityTopLevelUIElement(value objc.IObject)

The top-level element that contains the accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityURL

func (a_ AccessibilityWrapper) SetAccessibilityURL(value foundation.IURL)

The URL for the accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityUnitDescription

func (a_ AccessibilityWrapper) SetAccessibilityUnitDescription(value string)

A human-readable description of the ruler’s units. Full Topic

func (AccessibilityWrapper) SetAccessibilityUnits

func (a_ AccessibilityWrapper) SetAccessibilityUnits(value AccessibilityUnits)

The units for the ruler. Full Topic

func (AccessibilityWrapper) SetAccessibilityValue

func (a_ AccessibilityWrapper) SetAccessibilityValue(value objc.IObject)

The accessibility element’s value. Full Topic

func (AccessibilityWrapper) SetAccessibilityValueDescription

func (a_ AccessibilityWrapper) SetAccessibilityValueDescription(value string)

A human-readable description of the accessibility element’s value. Full Topic

func (AccessibilityWrapper) SetAccessibilityVerticalScrollBar

func (a_ AccessibilityWrapper) SetAccessibilityVerticalScrollBar(value objc.IObject)

The vertical scroll bar for the scroll view. Full Topic

func (AccessibilityWrapper) SetAccessibilityVerticalUnitDescription

func (a_ AccessibilityWrapper) SetAccessibilityVerticalUnitDescription(value string)

A description of the layout area’s vertical units. Full Topic

func (AccessibilityWrapper) SetAccessibilityVerticalUnits

func (a_ AccessibilityWrapper) SetAccessibilityVerticalUnits(value AccessibilityUnits)

The units that the layout area uses for vertical values. Full Topic

func (AccessibilityWrapper) SetAccessibilityVisibleCells

func (a_ AccessibilityWrapper) SetAccessibilityVisibleCells(value []objc.IObject)

The visible cells for the table. Full Topic

func (AccessibilityWrapper) SetAccessibilityVisibleCharacterRange

func (a_ AccessibilityWrapper) SetAccessibilityVisibleCharacterRange(value foundation.Range)

The range of visible characters in the document. Full Topic

func (AccessibilityWrapper) SetAccessibilityVisibleChildren

func (a_ AccessibilityWrapper) SetAccessibilityVisibleChildren(value []objc.IObject)

The accessibility element’s visible child accessibility elements. Full Topic

func (AccessibilityWrapper) SetAccessibilityVisibleColumns

func (a_ AccessibilityWrapper) SetAccessibilityVisibleColumns(value []objc.IObject)

The visible columns for the table or outline. Full Topic

func (AccessibilityWrapper) SetAccessibilityVisibleRows

func (a_ AccessibilityWrapper) SetAccessibilityVisibleRows(value []objc.IObject)

The visible rows for the table or outline. Full Topic

func (AccessibilityWrapper) SetAccessibilityWarningValue

func (a_ AccessibilityWrapper) SetAccessibilityWarningValue(value objc.IObject)

The warning value for the level indicator. Full Topic

func (AccessibilityWrapper) SetAccessibilityWindow

func (a_ AccessibilityWrapper) SetAccessibilityWindow(value objc.IObject)

The window that contains the accessibility element. Full Topic

func (AccessibilityWrapper) SetAccessibilityWindows

func (a_ AccessibilityWrapper) SetAccessibilityWindows(value []objc.IObject)

An array that contains all the app’s windows. Full Topic

func (AccessibilityWrapper) SetAccessibilityZoomButton

func (a_ AccessibilityWrapper) SetAccessibilityZoomButton(value objc.IObject)

The child accessibility element that represents the window’s zoom button. Full Topic

type ActionCell

type ActionCell struct {
	Cell
}

An active area inside a control. Full Topic

func ActionCellFrom

func ActionCellFrom(ptr unsafe.Pointer) ActionCell

func ActionCell_Alloc

func ActionCell_Alloc() ActionCell

func NewActionCell

func NewActionCell() ActionCell

func NewActionCellImageCell

func NewActionCellImageCell(image IImage) ActionCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewActionCellTextCell

func NewActionCellTextCell(string_ string) ActionCell

Returns an NSCell object initialized with the specified string and set to have the cell’s default menu. Full Topic

func (ActionCell) Init

func (a_ ActionCell) Init() ActionCell

func (ActionCell) InitImageCell

func (a_ ActionCell) InitImageCell(image IImage) ActionCell

func (ActionCell) InitTextCell

func (a_ ActionCell) InitTextCell(string_ string) ActionCell

type Alert

type Alert struct {
	objc.Object
}

A modal dialog or sheet attached to a document window. Full Topic

func AlertFrom

func AlertFrom(ptr unsafe.Pointer) Alert

func Alert_AlertWithError

func Alert_AlertWithError(error foundation.IError) Alert

Returns an alert initialized from information in an error object. Full Topic

func Alert_Alloc

func Alert_Alloc() Alert

func NewAlert

func NewAlert() Alert

func (Alert) AccessoryView

func (a_ Alert) AccessoryView() View

The alert’s accessory view. Full Topic

func (Alert) AddButtonWithTitle

func (a_ Alert) AddButtonWithTitle(title string) Button

Adds a button with a given title to the alert. Full Topic

func (Alert) AlertStyle

func (a_ Alert) AlertStyle() AlertStyle

Indicates the alert’s severity level. Full Topic

func (Alert) BeginSheetModalForWindowCompletionHandler

func (a_ Alert) BeginSheetModalForWindowCompletionHandler(sheetWindow IWindow, handler func(returnCode ModalResponse))

Runs the alert modally as a sheet attached to the specified window. Full Topic

func (Alert) Buttons

func (a_ Alert) Buttons() []Button

The array of response buttons for the alert. Full Topic

func (Alert) Delegate

func (a_ Alert) Delegate() AlertDelegateWrapper

The alert’s delegate. Full Topic

func (Alert) HelpAnchor

func (a_ Alert) HelpAnchor() HelpAnchorName

The alert’s HTML help anchor. Full Topic

func (Alert) Icon

func (a_ Alert) Icon() Image

The custom icon displayed in the alert. Full Topic

func (Alert) InformativeText

func (a_ Alert) InformativeText() string

The alert’s informative text. Full Topic

func (Alert) Init

func (a_ Alert) Init() Alert

func (Alert) Layout

func (a_ Alert) Layout()

Specifies that the alert must do immediate layout instead of lazily just before display. Full Topic

func (Alert) MessageText

func (a_ Alert) MessageText() string

The alert’s message text or title. Full Topic

func (Alert) RunModal

func (a_ Alert) RunModal() ModalResponse

Runs the alert as an app-modal dialog and returns the constant that identifies the button clicked. Full Topic

func (Alert) SetAccessoryView

func (a_ Alert) SetAccessoryView(value IView)

The alert’s accessory view. Full Topic

func (Alert) SetAlertStyle

func (a_ Alert) SetAlertStyle(value AlertStyle)

Indicates the alert’s severity level. Full Topic

func (Alert) SetDelegate

func (a_ Alert) SetDelegate(value PAlertDelegate)

The alert’s delegate. Full Topic

func (Alert) SetDelegateObject

func (a_ Alert) SetDelegateObject(valueObject objc.IObject)

The alert’s delegate. Full Topic

func (Alert) SetHelpAnchor

func (a_ Alert) SetHelpAnchor(value HelpAnchorName)

The alert’s HTML help anchor. Full Topic

func (Alert) SetIcon

func (a_ Alert) SetIcon(value IImage)

The custom icon displayed in the alert. Full Topic

func (Alert) SetInformativeText

func (a_ Alert) SetInformativeText(value string)

The alert’s informative text. Full Topic

func (Alert) SetMessageText

func (a_ Alert) SetMessageText(value string)

The alert’s message text or title. Full Topic

func (Alert) SetShowsHelp

func (a_ Alert) SetShowsHelp(value bool)

Specifies whether the alert has a help button. Full Topic

func (Alert) SetShowsSuppressionButton

func (a_ Alert) SetShowsSuppressionButton(value bool)

Specifies whether the alert includes a suppression checkbox, which you can employ to allow a user to opt out of seeing the alert again. Full Topic

func (Alert) ShowsHelp

func (a_ Alert) ShowsHelp() bool

Specifies whether the alert has a help button. Full Topic

func (Alert) ShowsSuppressionButton

func (a_ Alert) ShowsSuppressionButton() bool

Specifies whether the alert includes a suppression checkbox, which you can employ to allow a user to opt out of seeing the alert again. Full Topic

func (Alert) SuppressionButton

func (a_ Alert) SuppressionButton() Button

The alert’s suppression checkbox. Full Topic

func (Alert) Window

func (a_ Alert) Window() Window

The app-modal panel or document-modal sheet that corresponds to the alert. Full Topic

type AlertDelegate

type AlertDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PAlertDelegate protocol.

func (*AlertDelegate) AlertShowHelp

func (di *AlertDelegate) AlertShowHelp(alert Alert) bool

Sent to the delegate when the user clicks the alert’s help button. The delegate causes help to be displayed for an alert, directly or indirectly. Full Topic

func (*AlertDelegate) HasAlertShowHelp

func (di *AlertDelegate) HasAlertShowHelp() bool

func (*AlertDelegate) SetAlertShowHelp

func (di *AlertDelegate) SetAlertShowHelp(f func(alert Alert) bool)

Sent to the delegate when the user clicks the alert’s help button. The delegate causes help to be displayed for an alert, directly or indirectly. Full Topic

type AlertDelegateWrapper

type AlertDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAlertDelegate protocol.

func (AlertDelegateWrapper) AlertShowHelp

func (a_ AlertDelegateWrapper) AlertShowHelp(alert IAlert) bool

Sent to the delegate when the user clicks the alert’s help button. The delegate causes help to be displayed for an alert, directly or indirectly. Full Topic

func (AlertDelegateWrapper) HasAlertShowHelp

func (a_ AlertDelegateWrapper) HasAlertShowHelp() bool

type AlertStyle

type AlertStyle uint

The NSAlert class defines the alert styles used by the alertStyle property. Full Topic

const (
	AlertStyleCritical      AlertStyle = 2
	AlertStyleInformational AlertStyle = 1
	AlertStyleWarning       AlertStyle = 0
	CriticalAlertStyle      AlertStyle = 2
	InformationalAlertStyle AlertStyle = 1
	WarningAlertStyle       AlertStyle = 0
)

type AlignmentFeedbackFilter

type AlignmentFeedbackFilter struct {
	objc.Object
}

An object that can filter the movement of an object and provides haptic feedback when alignment occurs. Full Topic

func AlignmentFeedbackFilterFrom

func AlignmentFeedbackFilterFrom(ptr unsafe.Pointer) AlignmentFeedbackFilter

func AlignmentFeedbackFilter_Alloc

func AlignmentFeedbackFilter_Alloc() AlignmentFeedbackFilter

func NewAlignmentFeedbackFilter

func NewAlignmentFeedbackFilter() AlignmentFeedbackFilter

func (AlignmentFeedbackFilter) AlignmentFeedbackTokenForHorizontalMovementInViewPreviousXAlignedXDefaultX

func (a_ AlignmentFeedbackFilter) AlignmentFeedbackTokenForHorizontalMovementInViewPreviousXAlignedXDefaultX(view IView, previousX float64, alignedX float64, defaultX float64) AlignmentFeedbackTokenWrapper

Requests a feedback token for the alignment of an object requiring horizontal movement only. Full Topic

func (AlignmentFeedbackFilter) AlignmentFeedbackTokenForMovementInViewPreviousPointAlignedPointDefaultPoint

func (a_ AlignmentFeedbackFilter) AlignmentFeedbackTokenForMovementInViewPreviousPointAlignedPointDefaultPoint(view IView, previousPoint foundation.Point, alignedPoint foundation.Point, defaultPoint foundation.Point) AlignmentFeedbackTokenWrapper

Requests a feedback token for the alignment of an object requiring horizontal and vertical movement. Full Topic

func (AlignmentFeedbackFilter) AlignmentFeedbackTokenForVerticalMovementInViewPreviousYAlignedYDefaultY

func (a_ AlignmentFeedbackFilter) AlignmentFeedbackTokenForVerticalMovementInViewPreviousYAlignedYDefaultY(view IView, previousY float64, alignedY float64, defaultY float64) AlignmentFeedbackTokenWrapper

Requests a feedback token for the alignment of an object requiring vertical movement only. Full Topic

func (AlignmentFeedbackFilter) Init

func (AlignmentFeedbackFilter) PerformFeedbackPerformanceTime

func (a_ AlignmentFeedbackFilter) PerformFeedbackPerformanceTime(alignmentFeedbackTokens []PAlignmentFeedbackToken, performanceTime HapticFeedbackPerformanceTime)

Performs the haptic feedback described by one or more alignment feedback tokens. Full Topic

func (AlignmentFeedbackFilter) UpdateWithEvent

func (a_ AlignmentFeedbackFilter) UpdateWithEvent(event IEvent)

Informs the feedback filter about a new event. Full Topic

func (AlignmentFeedbackFilter) UpdateWithPanRecognizer

func (a_ AlignmentFeedbackFilter) UpdateWithPanRecognizer(panRecognizer IPanGestureRecognizer)

Informs the feedback filter about a new pan (drag) gesture recognizer event. Full Topic

type AlignmentFeedbackTokenWrapper

type AlignmentFeedbackTokenWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAlignmentFeedbackToken protocol.

type AnimatablePropertyContainerWrapper

type AnimatablePropertyContainerWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAnimatablePropertyContainer protocol.

func (AnimatablePropertyContainerWrapper) AnimationForKey

Returns the animation that should be performed for the specified key. Full Topic

func (AnimatablePropertyContainerWrapper) Animations

Sets the option dictionary that maps event trigger keys to animation objects. Full Topic

func (AnimatablePropertyContainerWrapper) Animator

Returns a proxy object for the receiver that can be used to initiate implied animation for property changes. Full Topic

func (AnimatablePropertyContainerWrapper) HasAnimationForKey

func (a_ AnimatablePropertyContainerWrapper) HasAnimationForKey() bool

func (AnimatablePropertyContainerWrapper) HasAnimations

func (a_ AnimatablePropertyContainerWrapper) HasAnimations() bool

func (AnimatablePropertyContainerWrapper) HasAnimator

func (a_ AnimatablePropertyContainerWrapper) HasAnimator() bool

func (AnimatablePropertyContainerWrapper) HasSetAnimations

func (a_ AnimatablePropertyContainerWrapper) HasSetAnimations() bool

func (AnimatablePropertyContainerWrapper) SetAnimations

Sets the option dictionary that maps event trigger keys to animation objects. Full Topic

type AnimatablePropertyKey

type AnimatablePropertyKey string
[Full Topic]
const (
	AnimationTriggerOrderIn  AnimatablePropertyKey = "NSAnimationTriggerOrderIn"
	AnimationTriggerOrderOut AnimatablePropertyKey = "NSAnimationTriggerOrderOut"
)

type Animation

type Animation struct {
	objc.Object
}

An object that manages the timing and progress of animations in the user interface. Full Topic

func AnimationFrom

func AnimationFrom(ptr unsafe.Pointer) Animation

func Animation_Alloc

func Animation_Alloc() Animation

func NewAnimation

func NewAnimation() Animation

func NewAnimationWithDurationAnimationCurve

func NewAnimationWithDurationAnimationCurve(duration foundation.TimeInterval, animationCurve AnimationCurve) Animation

Returns an NSAnimation object initialized with the specified duration and animation-curve values. Full Topic

func (Animation) AddProgressMark

func (a_ Animation) AddProgressMark(progressMark AnimationProgress)

Adds the progress mark to the receiver. Full Topic

func (Animation) AnimationBlockingMode

func (a_ Animation) AnimationBlockingMode() AnimationBlockingMode

The blocking mode of the animation. Full Topic

func (Animation) AnimationCurve

func (a_ Animation) AnimationCurve() AnimationCurve

The timing curve for the animation. Full Topic

func (Animation) ClearStartAnimation

func (a_ Animation) ClearStartAnimation()

Clears linkage to another animation that causes the receiver to start. Full Topic

func (Animation) ClearStopAnimation

func (a_ Animation) ClearStopAnimation()

Clears linkage to another animation that causes the receiver to stop. Full Topic

func (Animation) CurrentProgress

func (a_ Animation) CurrentProgress() AnimationProgress

The current progress of the animation. Full Topic

func (Animation) CurrentValue

func (a_ Animation) CurrentValue() float64

The current value of the animation effect, based on the current progress Full Topic

func (Animation) Delegate

func (a_ Animation) Delegate() AnimationDelegateWrapper

The animation delegate. Full Topic

func (Animation) Duration

func (a_ Animation) Duration() foundation.TimeInterval

The duration of the animation, in seconds. Full Topic

func (Animation) FrameRate

func (a_ Animation) FrameRate() float64

The number of frame updates per second to generate for the animation. Full Topic

func (Animation) Init

func (a_ Animation) Init() Animation

func (Animation) InitWithDurationAnimationCurve

func (a_ Animation) InitWithDurationAnimationCurve(duration foundation.TimeInterval, animationCurve AnimationCurve) Animation

func (Animation) IsAnimating

func (a_ Animation) IsAnimating() bool

A Boolean value indicating whether the animation is in progress. Full Topic

func (Animation) ProgressMarks

func (a_ Animation) ProgressMarks() []foundation.Number

An array of floating-point numbers representing current progress marks. Full Topic

func (Animation) RemoveProgressMark

func (a_ Animation) RemoveProgressMark(progressMark AnimationProgress)

Removes progress mark from the receiver. Full Topic

func (Animation) RunLoopModesForAnimating

func (a_ Animation) RunLoopModesForAnimating() []foundation.RunLoopMode

An array of strings representing the run loop modes in which the animation can run. Full Topic

func (Animation) SetAnimationBlockingMode

func (a_ Animation) SetAnimationBlockingMode(value AnimationBlockingMode)

The blocking mode of the animation. Full Topic

func (Animation) SetAnimationCurve

func (a_ Animation) SetAnimationCurve(value AnimationCurve)

The timing curve for the animation. Full Topic

func (Animation) SetCurrentProgress

func (a_ Animation) SetCurrentProgress(value AnimationProgress)

The current progress of the animation. Full Topic

func (Animation) SetDelegate

func (a_ Animation) SetDelegate(value PAnimationDelegate)

The animation delegate. Full Topic

func (Animation) SetDelegateObject

func (a_ Animation) SetDelegateObject(valueObject objc.IObject)

The animation delegate. Full Topic

func (Animation) SetDuration

func (a_ Animation) SetDuration(value foundation.TimeInterval)

The duration of the animation, in seconds. Full Topic

func (Animation) SetFrameRate

func (a_ Animation) SetFrameRate(value float64)

The number of frame updates per second to generate for the animation. Full Topic

func (Animation) SetProgressMarks

func (a_ Animation) SetProgressMarks(value []foundation.INumber)

An array of floating-point numbers representing current progress marks. Full Topic

func (Animation) StartAnimation

func (a_ Animation) StartAnimation()

Starts the animation represented by the receiver. Full Topic

func (Animation) StartWhenAnimationReachesProgress

func (a_ Animation) StartWhenAnimationReachesProgress(animation IAnimation, startProgress AnimationProgress)

Starts running the animation represented by the receiver when another animation reaches a specific progress mark. Full Topic

func (Animation) StopAnimation

func (a_ Animation) StopAnimation()

Stops the animation represented by the receiver. Full Topic

func (Animation) StopWhenAnimationReachesProgress

func (a_ Animation) StopWhenAnimationReachesProgress(animation IAnimation, stopProgress AnimationProgress)

Stops running the animation represented by the receiver when another animation reaches a specific progress mark. Full Topic

type AnimationBlockingMode

type AnimationBlockingMode uint

These constants indicate the blocking mode of an NSAnimation object when it is running. Full Topic

const (
	AnimationBlocking            AnimationBlockingMode = 0
	AnimationNonblocking         AnimationBlockingMode = 1
	AnimationNonblockingThreaded AnimationBlockingMode = 2
)

type AnimationContext

type AnimationContext struct {
	objc.Object
}

An animation context, which contains information about environment and state. Full Topic

func AnimationContextFrom

func AnimationContextFrom(ptr unsafe.Pointer) AnimationContext

func AnimationContext_Alloc

func AnimationContext_Alloc() AnimationContext

func AnimationContext_CurrentContext

func AnimationContext_CurrentContext() AnimationContext

Returns the current animation context. Full Topic

func NewAnimationContext

func NewAnimationContext() AnimationContext

func (AnimationContext) AllowsImplicitAnimation

func (a_ AnimationContext) AllowsImplicitAnimation() bool

Determine if animations are enabled or not for animations that occur as a result of another property change. Full Topic

func (AnimationContext) CompletionHandler

func (a_ AnimationContext) CompletionHandler() func()

A completion Block that is called when the animations in the grouping are completed. Full Topic

func (AnimationContext) Duration

The duration used by animations created as a result of setting new values for an animatable property. Full Topic

func (AnimationContext) Init

func (AnimationContext) SetAllowsImplicitAnimation

func (a_ AnimationContext) SetAllowsImplicitAnimation(value bool)

Determine if animations are enabled or not for animations that occur as a result of another property change. Full Topic

func (AnimationContext) SetCompletionHandler

func (a_ AnimationContext) SetCompletionHandler(value func())

A completion Block that is called when the animations in the grouping are completed. Full Topic

func (AnimationContext) SetDuration

func (a_ AnimationContext) SetDuration(value foundation.TimeInterval)

The duration used by animations created as a result of setting new values for an animatable property. Full Topic

func (AnimationContext) SetTimingFunction

func (a_ AnimationContext) SetTimingFunction(value quartzcore.IMediaTimingFunction)

The timing function used for all animations within this animation proxy group. Full Topic

func (AnimationContext) TimingFunction

func (a_ AnimationContext) TimingFunction() quartzcore.MediaTimingFunction

The timing function used for all animations within this animation proxy group. Full Topic

type AnimationCurve

type AnimationCurve uint

These constants describe the curve of an animation—that is, the relative speed of an animation from start to finish. Full Topic

const (
	AnimationEaseIn    AnimationCurve = 1
	AnimationEaseInOut AnimationCurve = 0
	AnimationEaseOut   AnimationCurve = 2
	AnimationLinear    AnimationCurve = 3
)

type AnimationDelegate

type AnimationDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PAnimationDelegate protocol.

func (*AnimationDelegate) AnimationDidEnd

func (di *AnimationDelegate) AnimationDidEnd(animation Animation)

Sent to the delegate when the specified animation completes its run. Full Topic

func (*AnimationDelegate) AnimationDidReachProgressMark

func (di *AnimationDelegate) AnimationDidReachProgressMark(animation Animation, progress AnimationProgress)

Sent to the delegate when an animation reaches a specific progress mark. Full Topic

func (*AnimationDelegate) AnimationDidStop

func (di *AnimationDelegate) AnimationDidStop(animation Animation)

Sent to the delegate when the specified animation is stopped before it completes its run. Full Topic

func (*AnimationDelegate) AnimationShouldStart

func (di *AnimationDelegate) AnimationShouldStart(animation Animation) bool

Sent to the delegate just after an animation is started. Full Topic

func (*AnimationDelegate) HasAnimationDidEnd

func (di *AnimationDelegate) HasAnimationDidEnd() bool

func (*AnimationDelegate) HasAnimationDidReachProgressMark

func (di *AnimationDelegate) HasAnimationDidReachProgressMark() bool

func (*AnimationDelegate) HasAnimationDidStop

func (di *AnimationDelegate) HasAnimationDidStop() bool

func (*AnimationDelegate) HasAnimationShouldStart

func (di *AnimationDelegate) HasAnimationShouldStart() bool

func (*AnimationDelegate) SetAnimationDidEnd

func (di *AnimationDelegate) SetAnimationDidEnd(f func(animation Animation))

Sent to the delegate when the specified animation completes its run. Full Topic

func (*AnimationDelegate) SetAnimationDidReachProgressMark

func (di *AnimationDelegate) SetAnimationDidReachProgressMark(f func(animation Animation, progress AnimationProgress))

Sent to the delegate when an animation reaches a specific progress mark. Full Topic

func (*AnimationDelegate) SetAnimationDidStop

func (di *AnimationDelegate) SetAnimationDidStop(f func(animation Animation))

Sent to the delegate when the specified animation is stopped before it completes its run. Full Topic

func (*AnimationDelegate) SetAnimationShouldStart

func (di *AnimationDelegate) SetAnimationShouldStart(f func(animation Animation) bool)

Sent to the delegate just after an animation is started. Full Topic

type AnimationDelegateWrapper

type AnimationDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAnimationDelegate protocol.

func (AnimationDelegateWrapper) AnimationDidEnd

func (a_ AnimationDelegateWrapper) AnimationDidEnd(animation IAnimation)

Sent to the delegate when the specified animation completes its run. Full Topic

func (AnimationDelegateWrapper) AnimationDidReachProgressMark

func (a_ AnimationDelegateWrapper) AnimationDidReachProgressMark(animation IAnimation, progress AnimationProgress)

Sent to the delegate when an animation reaches a specific progress mark. Full Topic

func (AnimationDelegateWrapper) AnimationDidStop

func (a_ AnimationDelegateWrapper) AnimationDidStop(animation IAnimation)

Sent to the delegate when the specified animation is stopped before it completes its run. Full Topic

func (AnimationDelegateWrapper) AnimationShouldStart

func (a_ AnimationDelegateWrapper) AnimationShouldStart(animation IAnimation) bool

Sent to the delegate just after an animation is started. Full Topic

func (AnimationDelegateWrapper) HasAnimationDidEnd

func (a_ AnimationDelegateWrapper) HasAnimationDidEnd() bool

func (AnimationDelegateWrapper) HasAnimationDidReachProgressMark

func (a_ AnimationDelegateWrapper) HasAnimationDidReachProgressMark() bool

func (AnimationDelegateWrapper) HasAnimationDidStop

func (a_ AnimationDelegateWrapper) HasAnimationDidStop() bool

func (AnimationDelegateWrapper) HasAnimationShouldStart

func (a_ AnimationDelegateWrapper) HasAnimationShouldStart() bool

type AnimationEffect

type AnimationEffect uint

The type for standard system animation effects, which include both display and sound. Full Topic

const (
	AnimationEffectDisappearingItemDefault AnimationEffect = 0
	AnimationEffectPoof                    AnimationEffect = 10
)

type AnimationProgress

type AnimationProgress float64

The animation progress, as a floating-point number between 0.0 and 1.0. Full Topic

type AppKitVersion

type AppKitVersion float64

Constants for determining which version of AppKit is available. Full Topic

const (
	AppKitVersionNumber                                 AppKitVersion = 2113.600098
	AppKitVersionNumber10_0                             AppKitVersion = 577.000000
	AppKitVersionNumber10_1                             AppKitVersion = 620.000000
	AppKitVersionNumber10_10                            AppKitVersion = 1343.000000
	AppKitVersionNumber10_10_2                          AppKitVersion = 1344.000000
	AppKitVersionNumber10_10_3                          AppKitVersion = 1347.000000
	AppKitVersionNumber10_10_4                          AppKitVersion = 1348.000000
	AppKitVersionNumber10_10_5                          AppKitVersion = 1348.000000
	AppKitVersionNumber10_10_Max                        AppKitVersion = 1349.000000
	AppKitVersionNumber10_11                            AppKitVersion = 1404.000000
	AppKitVersionNumber10_11_1                          AppKitVersion = 1404.130005
	AppKitVersionNumber10_11_2                          AppKitVersion = 1404.339966
	AppKitVersionNumber10_11_3                          AppKitVersion = 1404.339966
	AppKitVersionNumber10_12                            AppKitVersion = 1504.000000
	AppKitVersionNumber10_12_1                          AppKitVersion = 1504.599976
	AppKitVersionNumber10_12_2                          AppKitVersion = 1504.760010
	AppKitVersionNumber10_13                            AppKitVersion = 1561.000000
	AppKitVersionNumber10_13_1                          AppKitVersion = 1561.099976
	AppKitVersionNumber10_13_2                          AppKitVersion = 1561.199951
	AppKitVersionNumber10_13_4                          AppKitVersion = 1561.400024
	AppKitVersionNumber10_14                            AppKitVersion = 1671.000000
	AppKitVersionNumber10_14_1                          AppKitVersion = 1671.099976
	AppKitVersionNumber10_14_2                          AppKitVersion = 1671.199951
	AppKitVersionNumber10_14_3                          AppKitVersion = 1671.300049
	AppKitVersionNumber10_14_4                          AppKitVersion = 1671.400024
	AppKitVersionNumber10_14_5                          AppKitVersion = 1671.500000
	AppKitVersionNumber10_15                            AppKitVersion = 1894.000000
	AppKitVersionNumber10_15_1                          AppKitVersion = 1894.099976
	AppKitVersionNumber10_15_2                          AppKitVersion = 1894.199951
	AppKitVersionNumber10_15_3                          AppKitVersion = 1894.300049
	AppKitVersionNumber10_15_4                          AppKitVersion = 1894.400024
	AppKitVersionNumber10_15_5                          AppKitVersion = 1894.500000
	AppKitVersionNumber10_15_6                          AppKitVersion = 1894.599976
	AppKitVersionNumber10_2                             AppKitVersion = 663.000000
	AppKitVersionNumber10_2_3                           AppKitVersion = 663.599976
	AppKitVersionNumber10_3                             AppKitVersion = 743.000000
	AppKitVersionNumber10_3_2                           AppKitVersion = 743.140015
	AppKitVersionNumber10_3_3                           AppKitVersion = 743.200012
	AppKitVersionNumber10_3_5                           AppKitVersion = 743.239990
	AppKitVersionNumber10_3_7                           AppKitVersion = 743.330017
	AppKitVersionNumber10_3_9                           AppKitVersion = 743.359985
	AppKitVersionNumber10_4                             AppKitVersion = 824.000000
	AppKitVersionNumber10_4_1                           AppKitVersion = 824.099976
	AppKitVersionNumber10_4_3                           AppKitVersion = 824.229980
	AppKitVersionNumber10_4_4                           AppKitVersion = 824.330017
	AppKitVersionNumber10_4_7                           AppKitVersion = 824.409973
	AppKitVersionNumber10_5                             AppKitVersion = 949.000000
	AppKitVersionNumber10_5_2                           AppKitVersion = 949.270020
	AppKitVersionNumber10_5_3                           AppKitVersion = 949.330017
	AppKitVersionNumber10_6                             AppKitVersion = 1038.000000
	AppKitVersionNumber10_7                             AppKitVersion = 1138.000000
	AppKitVersionNumber10_7_2                           AppKitVersion = 1138.229980
	AppKitVersionNumber10_7_3                           AppKitVersion = 1138.319946
	AppKitVersionNumber10_7_4                           AppKitVersion = 1138.469971
	AppKitVersionNumber10_8                             AppKitVersion = 1187.000000
	AppKitVersionNumber10_9                             AppKitVersion = 1265.000000
	AppKitVersionNumber11_0                             AppKitVersion = 2022.000000
	AppKitVersionNumber11_1                             AppKitVersion = 2022.199951
	AppKitVersionNumber11_2                             AppKitVersion = 2022.300049
	AppKitVersionNumber11_3                             AppKitVersion = 2022.400024
	AppKitVersionNumber11_4                             AppKitVersion = 2022.500000
	AppKitVersionNumberWithColumnResizingBrowser        AppKitVersion = 685.000000
	AppKitVersionNumberWithContinuousScrollingBrowser   AppKitVersion = 680.000000
	AppKitVersionNumberWithCursorSizeSupport            AppKitVersion = 682.000000
	AppKitVersionNumberWithCustomSheetPosition          AppKitVersion = 686.000000
	AppKitVersionNumberWithDeferredWindowDisplaySupport AppKitVersion = 1019.000000
	AppKitVersionNumberWithDirectionalTabs              AppKitVersion = 631.000000
	AppKitVersionNumberWithDockTilePlugInSupport        AppKitVersion = 1001.000000
	AppKitVersionNumberWithPatternColorLeakFix          AppKitVersion = 641.000000
)

type Appearance

type Appearance struct {
	objc.Object
}

An object that manages standard appearance attributes for UI elements in an app. Full Topic

func AppearanceFrom

func AppearanceFrom(ptr unsafe.Pointer) Appearance

func Appearance_Alloc

func Appearance_Alloc() Appearance

func Appearance_AppearanceNamed

func Appearance_AppearanceNamed(name AppearanceName) Appearance

Creates an appearance object based on the name of one of the standard system appearances. Full Topic

func Appearance_CurrentDrawingAppearance

func Appearance_CurrentDrawingAppearance() Appearance

The appearance that the system uses for color and asset resolution, and that’s active for drawing, usually from locking focus on a view. Full Topic

func NewAppearance

func NewAppearance() Appearance

func NewAppearanceWithAppearanceNamedBundle

func NewAppearanceWithAppearanceNamedBundle(name AppearanceName, bundle foundation.IBundle) Appearance

Creates an appearance object from the named appearance file located in the specified bundle. Full Topic

func (Appearance) AllowsVibrancy

func (a_ Appearance) AllowsVibrancy() bool

Specifies whether the current appearance allows vibrancy. Full Topic

func (Appearance) BestMatchFromAppearancesWithNames

func (a_ Appearance) BestMatchFromAppearancesWithNames(appearances []AppearanceName) AppearanceName

Returns the appearance name that most closely matches the current appearance object. Full Topic

func (Appearance) Init

func (a_ Appearance) Init() Appearance

func (Appearance) InitWithAppearanceNamedBundle

func (a_ Appearance) InitWithAppearanceNamedBundle(name AppearanceName, bundle foundation.IBundle) Appearance

func (Appearance) Name

func (a_ Appearance) Name() AppearanceName

The name of the appearance. Full Topic

func (Appearance) PerformAsCurrentDrawingAppearance

func (a_ Appearance) PerformAsCurrentDrawingAppearance(block func())

Sets the appearance to be the active drawing appearance and perform the specified block. Full Topic

type AppearanceCustomizationWrapper

type AppearanceCustomizationWrapper struct {
	objc.Object
}

A concrete type wrapper for the PAppearanceCustomization protocol.

func (AppearanceCustomizationWrapper) Appearance

The appearance of the receiver, in an NSAppearance object. Full Topic

func (AppearanceCustomizationWrapper) EffectiveAppearance

func (a_ AppearanceCustomizationWrapper) EffectiveAppearance() Appearance

The appearance that will be used when the receiver is drawn onscreen, in an NSAppearance object. (read-only) Full Topic

func (AppearanceCustomizationWrapper) HasAppearance

func (a_ AppearanceCustomizationWrapper) HasAppearance() bool

func (AppearanceCustomizationWrapper) HasEffectiveAppearance

func (a_ AppearanceCustomizationWrapper) HasEffectiveAppearance() bool

func (AppearanceCustomizationWrapper) HasSetAppearance

func (a_ AppearanceCustomizationWrapper) HasSetAppearance() bool

func (AppearanceCustomizationWrapper) SetAppearance

func (a_ AppearanceCustomizationWrapper) SetAppearance(value IAppearance)

The appearance of the receiver, in an NSAppearance object. Full Topic

type AppearanceName

type AppearanceName string
[Full Topic]
const (
	AppearanceNameAccessibilityHighContrastAqua         AppearanceName = "NSAppearanceNameAccessibilityAqua"
	AppearanceNameAccessibilityHighContrastDarkAqua     AppearanceName = "NSAppearanceNameAccessibilityDarkAqua"
	AppearanceNameAccessibilityHighContrastVibrantDark  AppearanceName = "NSAppearanceNameAccessibilityVibrantDark"
	AppearanceNameAccessibilityHighContrastVibrantLight AppearanceName = "NSAppearanceNameAccessibilityVibrantLight"
	AppearanceNameAqua                                  AppearanceName = "NSAppearanceNameAqua"
	AppearanceNameDarkAqua                              AppearanceName = "NSAppearanceNameDarkAqua"
	AppearanceNameLightContent                          AppearanceName = "NSAppearanceNameLightContent"
	AppearanceNameVibrantDark                           AppearanceName = "NSAppearanceNameVibrantDark"
	AppearanceNameVibrantLight                          AppearanceName = "NSAppearanceNameVibrantLight"
)

type Application

type Application struct {
	Responder
}

An object that manages an app’s main event loop and resources used by all of that app’s objects. Full Topic

func ApplicationFrom

func ApplicationFrom(ptr unsafe.Pointer) Application

func Application_Alloc

func Application_Alloc() Application

func Application_SharedApplication

func Application_SharedApplication() Application

Returns the application instance, creating it if it doesn’t exist yet. Full Topic

func NewApplication

func NewApplication() Application

func (Application) AbortModal

func (a_ Application) AbortModal()

Aborts the event loop started by runModalForWindow:relativeToWindow: or runModalSession:. Full Topic

func (Application) ActivateContextHelpMode

func (a_ Application) ActivateContextHelpMode(sender objc.IObject)

Places the receiver in context-sensitive help mode. Full Topic

func (Application) ActivateIgnoringOtherApps

func (a_ Application) ActivateIgnoringOtherApps(flag bool)

func (Application) ActivationPolicy

func (a_ Application) ActivationPolicy() ApplicationActivationPolicy

Returns the app’s activation policy. Full Topic

func (Application) AddWindowsItemTitleFilename

func (a_ Application) AddWindowsItemTitleFilename(win IWindow, string_ string, isFilename bool)

Adds an item to the Window menu for a given window. Full Topic

func (Application) Appearance

func (a_ Application) Appearance() Appearance

The appearance associated with the app’s windows. Full Topic

func (Application) ApplicationIconImage

func (a_ Application) ApplicationIconImage() Image

The image used for the app’s icon. Full Topic

func (Application) ArrangeInFront

func (a_ Application) ArrangeInFront(sender objc.IObject)

Arranges windows listed in the Window menu in front of all other windows. Full Topic

func (Application) CancelUserAttentionRequest

func (a_ Application) CancelUserAttentionRequest(request int)

Cancels a previous user attention request. Full Topic

func (Application) ChangeWindowsItemTitleFilename

func (a_ Application) ChangeWindowsItemTitleFilename(win IWindow, string_ string, isFilename bool)

Changes the item for a given window in the Window menu to a given string. Full Topic

func (Application) CompleteStateRestoration

func (a_ Application) CompleteStateRestoration()

Completes the extended state restoration. Full Topic

func (Application) CurrentEvent

func (a_ Application) CurrentEvent() Event

The last event object that the app retrieved from the event queue. Full Topic

func (Application) CurrentSystemPresentationOptions

func (a_ Application) CurrentSystemPresentationOptions() ApplicationPresentationOptions

The set of app presentation options that are currently in effect for the system. Full Topic

func (Application) Deactivate

func (a_ Application) Deactivate()

Deactivates the receiver. Full Topic

func (Application) Delegate

The app delegate object. Full Topic

func (Application) DisableRelaunchOnLogin

func (a_ Application) DisableRelaunchOnLogin()

Disables relaunching the app on login. Full Topic

func (Application) DiscardEventsMatchingMaskBeforeEvent

func (a_ Application) DiscardEventsMatchingMaskBeforeEvent(mask EventMask, lastEvent IEvent)

Removes all events matching the given mask and generated before the specified event. Full Topic

func (Application) DockTile

func (a_ Application) DockTile() DockTile

The app’s Dock tile. Full Topic

func (Application) EffectiveAppearance

func (a_ Application) EffectiveAppearance() Appearance

The appearance that AppKit uses to draw the app’s interface. Full Topic

func (Application) EnableRelaunchOnLogin

func (a_ Application) EnableRelaunchOnLogin()

Enables relaunching the app on login. Full Topic

func (Application) EnabledRemoteNotificationTypes

func (a_ Application) EnabledRemoteNotificationTypes() RemoteNotificationType

The types of push notifications that the app accepts. Full Topic

func (Application) EndModalSession

func (a_ Application) EndModalSession(session ModalSession)

Finishes a modal session. Full Topic

func (Application) EnumerateWindowsWithOptionsUsingBlock

func (a_ Application) EnumerateWindowsWithOptionsUsingBlock(options WindowListOptions, block func(window Window, stop *bool))

Executes a block for each of the app's windows. Full Topic

func (Application) ExtendStateRestoration

func (a_ Application) ExtendStateRestoration()

Allows an app to extend its state restoration period. Full Topic

func (Application) FinishLaunching

func (a_ Application) FinishLaunching()

Activates the app, opens any files specified by the NSOpen user default, and unhighlights the app’s icon. Full Topic

func (Application) HelpMenu

func (a_ Application) HelpMenu() Menu

The help menu used by the app. Full Topic

func (Application) Hide

func (a_ Application) Hide(sender objc.IObject)

Hides all the receiver’s windows, and the next app in line is activated. Full Topic

func (Application) HideOtherApplications

func (a_ Application) HideOtherApplications(sender objc.IObject)

Hides all apps, except the receiver. Full Topic

func (Application) Init

func (a_ Application) Init() Application

func (Application) IsActive

func (a_ Application) IsActive() bool

A Boolean value indicating whether this is the active app. Full Topic

func (Application) IsAutomaticCustomizeTouchBarMenuItemEnabled

func (a_ Application) IsAutomaticCustomizeTouchBarMenuItemEnabled() bool

A Boolean value indicating whether the main menu contains an item for customizing the contents of the Touch Bar. Full Topic

func (Application) IsFullKeyboardAccessEnabled

func (a_ Application) IsFullKeyboardAccessEnabled() bool

A Boolean value indicating whether Full Keyboard Access is enabled in the Keyboard preference pane. Full Topic

func (Application) IsHidden

func (a_ Application) IsHidden() bool

A Boolean value indicating whether the app is hidden. Full Topic

func (Application) IsProtectedDataAvailable

func (a_ Application) IsProtectedDataAvailable() bool
[Full Topic]

func (Application) IsRegisteredForRemoteNotifications

func (a_ Application) IsRegisteredForRemoteNotifications() bool

A Boolean value indicating whether the app is registered with Apple Push Notification service (APNs). Full Topic

func (Application) IsRunning

func (a_ Application) IsRunning() bool

A Boolean value indicating whether the main event loop is running. Full Topic

func (Application) KeyWindow

func (a_ Application) KeyWindow() Window

The window that currently receives keyboard events. Full Topic

func (Application) MainMenu

func (a_ Application) MainMenu() Menu

The app’s main menu bar. Full Topic

func (Application) MainWindow

func (a_ Application) MainWindow() Window

The app’s main window. Full Topic

func (Application) MiniaturizeAll

func (a_ Application) MiniaturizeAll(sender objc.IObject)

Miniaturizes all the receiver’s windows. Full Topic

func (Application) ModalWindow

func (a_ Application) ModalWindow() Window

The modal window displayed by the app. Full Topic

func (Application) NextEventMatchingMaskUntilDateInModeDequeue

func (a_ Application) NextEventMatchingMaskUntilDateInModeDequeue(mask EventMask, expiration foundation.IDate, mode foundation.RunLoopMode, deqFlag bool) Event

Returns the next event matching a given mask, or nil if no such event is found before a specified expiration date. Full Topic

func (Application) OcclusionState

func (a_ Application) OcclusionState() ApplicationOcclusionState

The occlusion state of the app. Full Topic

func (Application) OrderFrontCharacterPalette

func (a_ Application) OrderFrontCharacterPalette(sender objc.IObject)

Opens the character palette. Full Topic

func (Application) OrderFrontColorPanel

func (a_ Application) OrderFrontColorPanel(sender objc.IObject)

Brings up the color panel, an instance of NSColorPanel. Full Topic

func (Application) OrderFrontStandardAboutPanel

func (a_ Application) OrderFrontStandardAboutPanel(sender objc.IObject)

Displays a standard About window. Full Topic

func (Application) OrderFrontStandardAboutPanelWithOptions

func (a_ Application) OrderFrontStandardAboutPanelWithOptions(optionsDictionary map[AboutPanelOptionKey]objc.IObject)

Displays a standard About window with information from a given options dictionary. Full Topic

func (Application) OrderedDocuments

func (a_ Application) OrderedDocuments() []Document

An array of document objects arranged according to the front-to-back ordering of their associated windows. Full Topic

func (Application) OrderedWindows

func (a_ Application) OrderedWindows() []Window

An array of window objects arranged according to their front-to-back ordering on the screen. Full Topic

func (Application) PostEventAtStart

func (a_ Application) PostEventAtStart(event IEvent, flag bool)

Adds a given event to the receiver’s event queue. Full Topic

func (Application) PresentationOptions

func (a_ Application) PresentationOptions() ApplicationPresentationOptions

The presentation options that should be in effect for the system when this app is active. Full Topic

func (Application) PreventWindowOrdering

func (a_ Application) PreventWindowOrdering()

Suppresses the usual window ordering in handling the most recent mouse-down event. Full Topic

func (Application) RegisterForRemoteNotifications

func (a_ Application) RegisterForRemoteNotifications()

Register for notifications sent by Apple Push Notification service (APNs). Full Topic

func (Application) RegisterServicesMenuSendTypesReturnTypes

func (a_ Application) RegisterServicesMenuSendTypesReturnTypes(sendTypes []PasteboardType, returnTypes []PasteboardType)

Registers the pasteboard types the receiver can send and receive in response to service requests. Full Topic

func (Application) RegisterUserInterfaceItemSearchHandler

func (a_ Application) RegisterUserInterfaceItemSearchHandler(handler PUserInterfaceItemSearching)

Register an object that provides help data to your app. Full Topic

func (Application) RegisterUserInterfaceItemSearchHandlerObject

func (a_ Application) RegisterUserInterfaceItemSearchHandlerObject(handlerObject objc.IObject)

Register an object that provides help data to your app. Full Topic

func (Application) RemoveWindowsItem

func (a_ Application) RemoveWindowsItem(win IWindow)

Removes the Window menu item for a given window. Full Topic

func (Application) ReplyToApplicationShouldTerminate

func (a_ Application) ReplyToApplicationShouldTerminate(shouldTerminate bool)

Responds to NSTerminateLater once the app knows whether it can terminate. Full Topic

func (Application) ReplyToOpenOrPrint

func (a_ Application) ReplyToOpenOrPrint(reply ApplicationDelegateReply)

Handles errors that might occur when the user attempts to open or print files. Full Topic

func (Application) ReportException

func (a_ Application) ReportException(exception foundation.IException)

Logs a given exception by calling NSLog(). Full Topic

func (Application) RequestUserAttention

func (a_ Application) RequestUserAttention(requestType RequestUserAttentionType) int

Starts a user attention request. Full Topic

func (Application) RestoreWindowWithIdentifierStateCompletionHandler

func (a_ Application) RestoreWindowWithIdentifierStateCompletionHandler(identifier UserInterfaceItemIdentifier, state foundation.ICoder, completionHandler func(arg0 Window, arg1 foundation.Error)) bool

Invoked to request that a window be restored. Full Topic

func (Application) Run

func (a_ Application) Run()

Starts the main event loop. Full Topic

func (Application) RunModalSession

func (a_ Application) RunModalSession(session ModalSession) ModalResponse

Runs a given modal session, as defined in a previous invocation of beginModalSessionForWindow:relativeToWindow:. Full Topic

func (Application) RunPageLayout

func (a_ Application) RunPageLayout(sender objc.IObject)

Displays the receiver’s page layout panel, an instance of NSPageLayout. Full Topic

func (Application) SearchStringInUserInterfaceItemStringSearchRangeFoundRange

func (a_ Application) SearchStringInUserInterfaceItemStringSearchRangeFoundRange(searchString string, stringToSearch string, searchRange foundation.Range, foundRange *foundation.Range) bool

Searches for the string in the user interface. Full Topic

func (Application) SendActionToFrom

func (a_ Application) SendActionToFrom(action objc.Selector, target objc.IObject, sender objc.IObject) bool

Sends the given action message to the given target. Full Topic

func (Application) SendEvent

func (a_ Application) SendEvent(event IEvent)

Dispatches an event to other objects. Full Topic

func (Application) ServicesMenu

func (a_ Application) ServicesMenu() Menu

The app’s Services menu. Full Topic

func (Application) ServicesProvider

func (a_ Application) ServicesProvider() objc.Object

The object that provides the services the current app advertises in the Services menu of other apps. Full Topic

func (Application) SetActivationPolicy

func (a_ Application) SetActivationPolicy(activationPolicy ApplicationActivationPolicy) bool

Attempts to modify the app’s activation policy. Full Topic

func (Application) SetAppearance

func (a_ Application) SetAppearance(value IAppearance)

The appearance associated with the app’s windows. Full Topic

func (Application) SetApplicationIconImage

func (a_ Application) SetApplicationIconImage(value IImage)

The image used for the app’s icon. Full Topic

func (Application) SetAutomaticCustomizeTouchBarMenuItemEnabled

func (a_ Application) SetAutomaticCustomizeTouchBarMenuItemEnabled(value bool)

A Boolean value indicating whether the main menu contains an item for customizing the contents of the Touch Bar. Full Topic

func (Application) SetDelegate

func (a_ Application) SetDelegate(value PApplicationDelegate)

The app delegate object. Full Topic

func (Application) SetDelegateObject

func (a_ Application) SetDelegateObject(valueObject objc.IObject)

The app delegate object. Full Topic

func (Application) SetHelpMenu

func (a_ Application) SetHelpMenu(value IMenu)

The help menu used by the app. Full Topic

func (Application) SetMainMenu

func (a_ Application) SetMainMenu(value IMenu)

The app’s main menu bar. Full Topic

func (Application) SetPresentationOptions

func (a_ Application) SetPresentationOptions(value ApplicationPresentationOptions)

The presentation options that should be in effect for the system when this app is active. Full Topic

func (Application) SetServicesMenu

func (a_ Application) SetServicesMenu(value IMenu)

The app’s Services menu. Full Topic

func (Application) SetServicesProvider

func (a_ Application) SetServicesProvider(value objc.IObject)

The object that provides the services the current app advertises in the Services menu of other apps. Full Topic

func (Application) SetWindowsMenu

func (a_ Application) SetWindowsMenu(value IMenu)

The Window menu of the app. Full Topic

func (Application) SetWindowsNeedUpdate

func (a_ Application) SetWindowsNeedUpdate(needUpdate bool)

Sets whether the receiver’s windows need updating when the receiver has finished processing the current event. Full Topic

func (Application) ShowHelp

func (a_ Application) ShowHelp(sender objc.IObject)

If your project is properly registered, and the necessary keys have been set in the property list, this method launches Help Viewer and displays the first page of your app’s help book. Full Topic

func (Application) Stop

func (a_ Application) Stop(sender objc.IObject)

Stops the main event loop. Full Topic

func (Application) StopModal

func (a_ Application) StopModal()

Stops a modal event loop. Full Topic

func (Application) StopModalWithCode

func (a_ Application) StopModalWithCode(returnCode ModalResponse)

Stops a modal event loop, allowing you to return a custom result code. Full Topic

func (Application) TargetForActionToFrom

func (a_ Application) TargetForActionToFrom(action objc.Selector, target objc.IObject, sender objc.IObject) objc.Object

Searches for an object that can receive the message specified by the given selector. Full Topic

func (Application) Terminate

func (a_ Application) Terminate(sender objc.IObject)

Terminates the receiver. Full Topic

func (Application) ToggleTouchBarCustomizationPalette

func (a_ Application) ToggleTouchBarCustomizationPalette(sender objc.IObject) objc.Object

Show or hides the interface for customizing the Touch Bar. Full Topic

func (Application) Unhide

func (a_ Application) Unhide(sender objc.IObject)

Restores hidden windows to the screen and makes the receiver active. Full Topic

func (Application) UnhideAllApplications

func (a_ Application) UnhideAllApplications(sender objc.IObject)

Unhides all apps, including the receiver. Full Topic

func (Application) UnhideWithoutActivation

func (a_ Application) UnhideWithoutActivation()

Restores hidden windows without activating their owner (the receiver). Full Topic

func (Application) UnregisterForRemoteNotifications

func (a_ Application) UnregisterForRemoteNotifications()

Unregister for notifications received from Apple Push Notification service. Full Topic

func (Application) UnregisterUserInterfaceItemSearchHandler

func (a_ Application) UnregisterUserInterfaceItemSearchHandler(handler PUserInterfaceItemSearching)

Unregister an object that provides help data to your app. Full Topic

func (Application) UnregisterUserInterfaceItemSearchHandlerObject

func (a_ Application) UnregisterUserInterfaceItemSearchHandlerObject(handlerObject objc.IObject)

Unregister an object that provides help data to your app. Full Topic

func (Application) UpdateWindows

func (a_ Application) UpdateWindows()

Sends an update message to each onscreen window. Full Topic

func (Application) UpdateWindowsItem

func (a_ Application) UpdateWindowsItem(win IWindow)

Updates the Window menu item for a given window to reflect the edited status of that window. Full Topic

func (Application) UserInterfaceLayoutDirection

func (a_ Application) UserInterfaceLayoutDirection() UserInterfaceLayoutDirection

The layout direction of the user interface. Full Topic

func (Application) WindowWithWindowNumber

func (a_ Application) WindowWithWindowNumber(windowNum int) Window

Returns the window corresponding to the specified window number. Full Topic

func (Application) Windows

func (a_ Application) Windows() []Window

An array of the app’s window objects. Full Topic

func (Application) WindowsMenu

func (a_ Application) WindowsMenu() Menu

The Window menu of the app. Full Topic

type ApplicationActivationOptions

type ApplicationActivationOptions uint

The following flags are for activateWithOptions:. Full Topic

const (
	ApplicationActivateAllWindows        ApplicationActivationOptions = 1
	ApplicationActivateIgnoringOtherApps ApplicationActivationOptions = 2
)

type ApplicationActivationPolicy

type ApplicationActivationPolicy int

Activation policies (used by activationPolicy) that control whether and how an app may be activated. Full Topic

const (
	ApplicationActivationPolicyAccessory  ApplicationActivationPolicy = 1
	ApplicationActivationPolicyProhibited ApplicationActivationPolicy = 2
	ApplicationActivationPolicyRegular    ApplicationActivationPolicy = 0
)

type ApplicationDelegate

type ApplicationDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PApplicationDelegate protocol.

func (*ApplicationDelegate) ApplicationDidBecomeActive

func (di *ApplicationDelegate) ApplicationDidBecomeActive(notification foundation.Notification)

Tells the delegate that the app is now active. Full Topic

func (*ApplicationDelegate) ApplicationDidChangeOcclusionState

func (di *ApplicationDelegate) ApplicationDidChangeOcclusionState(notification foundation.Notification)

Tells the delegate about changes to the app’s occlusion state. Full Topic

func (*ApplicationDelegate) ApplicationDidChangeScreenParameters

func (di *ApplicationDelegate) ApplicationDidChangeScreenParameters(notification foundation.Notification)

Tells the delegate about changes to the configuration of any attached displays. Full Topic

func (*ApplicationDelegate) ApplicationDidDecodeRestorableState

func (di *ApplicationDelegate) ApplicationDidDecodeRestorableState(app Application, coder foundation.Coder)

Tells the delegate when the app finished decoding its restorable state. Full Topic

func (*ApplicationDelegate) ApplicationDidFinishLaunching

func (di *ApplicationDelegate) ApplicationDidFinishLaunching(notification foundation.Notification)

Tells the delegate that the app’s initialization is complete but it hasn’t received its first event. Full Topic

func (*ApplicationDelegate) ApplicationDidHide

func (di *ApplicationDelegate) ApplicationDidHide(notification foundation.Notification)

Tells the delegate that the app is now hidden. Full Topic

func (*ApplicationDelegate) ApplicationDidResignActive

func (di *ApplicationDelegate) ApplicationDidResignActive(notification foundation.Notification)

Tells the delegate that the app is no longer active and doesn’t have focus. Full Topic

func (*ApplicationDelegate) ApplicationDidUnhide

func (di *ApplicationDelegate) ApplicationDidUnhide(notification foundation.Notification)

Tells the delegate that the app is now visible. Full Topic

func (*ApplicationDelegate) ApplicationDidUpdate

func (di *ApplicationDelegate) ApplicationDidUpdate(notification foundation.Notification)

Tells the delegate that the app’s windows did update. Full Topic

func (*ApplicationDelegate) ApplicationDockMenu

func (di *ApplicationDelegate) ApplicationDockMenu(sender Application) IMenu

Returns the app’s dock menu. Full Topic

func (*ApplicationDelegate) ApplicationOpenUntitledFile

func (di *ApplicationDelegate) ApplicationOpenUntitledFile(sender Application) bool

Returns a Boolean value that indicates if the app opens an untitled file. Full Topic

func (*ApplicationDelegate) ApplicationProtectedDataDidBecomeAvailable

func (di *ApplicationDelegate) ApplicationProtectedDataDidBecomeAvailable(notification foundation.Notification)

Tells the delegate that protected data is now available. Full Topic

func (*ApplicationDelegate) ApplicationProtectedDataWillBecomeUnavailable

func (di *ApplicationDelegate) ApplicationProtectedDataWillBecomeUnavailable(notification foundation.Notification)

Tells the delegate that protected data is about to become unavailable. Full Topic

func (*ApplicationDelegate) ApplicationShouldAutomaticallyLocalizeKeyEquivalents

func (di *ApplicationDelegate) ApplicationShouldAutomaticallyLocalizeKeyEquivalents(application Application) bool

Returns a Boolean value that tells the system whether to remap menu shortcuts to support localized keyboards. Full Topic

func (*ApplicationDelegate) ApplicationShouldHandleReopenHasVisibleWindows

func (di *ApplicationDelegate) ApplicationShouldHandleReopenHasVisibleWindows(sender Application, flag bool) bool

Returns a Boolean value that indicates if the app responds to reopen AppleEvents. Full Topic

func (*ApplicationDelegate) ApplicationShouldOpenUntitledFile

func (di *ApplicationDelegate) ApplicationShouldOpenUntitledFile(sender Application) bool

Returns a Boolean value that indicates if the app can open an untitled file. Full Topic

func (*ApplicationDelegate) ApplicationShouldTerminate

func (di *ApplicationDelegate) ApplicationShouldTerminate(sender Application) ApplicationTerminateReply

Returns a value that indicates if the app should terminate. Full Topic

func (*ApplicationDelegate) ApplicationShouldTerminateAfterLastWindowClosed

func (di *ApplicationDelegate) ApplicationShouldTerminateAfterLastWindowClosed(sender Application) bool

Returns a Boolean value that indicates if the app terminates once the last window closes. Full Topic

func (*ApplicationDelegate) ApplicationSupportsSecureRestorableState

func (di *ApplicationDelegate) ApplicationSupportsSecureRestorableState(app Application) bool

Returns a Boolean value that indicates if the app supports secure state restoration. Full Topic

func (*ApplicationDelegate) ApplicationWillBecomeActive

func (di *ApplicationDelegate) ApplicationWillBecomeActive(notification foundation.Notification)

Tells the delegate that the app is about to become active. Full Topic

func (*ApplicationDelegate) ApplicationWillFinishLaunching

func (di *ApplicationDelegate) ApplicationWillFinishLaunching(notification foundation.Notification)

Tells the delegate that the app’s initialization is about to complete. Full Topic

func (*ApplicationDelegate) ApplicationWillHide

func (di *ApplicationDelegate) ApplicationWillHide(notification foundation.Notification)

Tells the delegate that the app is about to be hidden. Full Topic

func (*ApplicationDelegate) ApplicationWillResignActive

func (di *ApplicationDelegate) ApplicationWillResignActive(notification foundation.Notification)

Tells the delegate that the app is about to become inactive and will lose focus. Full Topic

func (*ApplicationDelegate) ApplicationWillTerminate

func (di *ApplicationDelegate) ApplicationWillTerminate(notification foundation.Notification)

Tells the delegate that the app is about to terminate. Full Topic

func (*ApplicationDelegate) ApplicationWillUnhide

func (di *ApplicationDelegate) ApplicationWillUnhide(notification foundation.Notification)

Tells the delegate that the app is about to become visible. Full Topic

func (*ApplicationDelegate) ApplicationWillUpdate

func (di *ApplicationDelegate) ApplicationWillUpdate(notification foundation.Notification)

Tells the delegate that the app is about to update its windows. Full Topic

func (*ApplicationDelegate) HasApplicationDidBecomeActive

func (di *ApplicationDelegate) HasApplicationDidBecomeActive() bool

func (*ApplicationDelegate) HasApplicationDidChangeOcclusionState

func (di *ApplicationDelegate) HasApplicationDidChangeOcclusionState() bool

func (*ApplicationDelegate) HasApplicationDidChangeScreenParameters

func (di *ApplicationDelegate) HasApplicationDidChangeScreenParameters() bool

func (*ApplicationDelegate) HasApplicationDidDecodeRestorableState

func (di *ApplicationDelegate) HasApplicationDidDecodeRestorableState() bool

func (*ApplicationDelegate) HasApplicationDidFinishLaunching

func (di *ApplicationDelegate) HasApplicationDidFinishLaunching() bool

func (*ApplicationDelegate) HasApplicationDidHide

func (di *ApplicationDelegate) HasApplicationDidHide() bool

func (*ApplicationDelegate) HasApplicationDidResignActive

func (di *ApplicationDelegate) HasApplicationDidResignActive() bool

func (*ApplicationDelegate) HasApplicationDidUnhide

func (di *ApplicationDelegate) HasApplicationDidUnhide() bool

func (*ApplicationDelegate) HasApplicationDidUpdate

func (di *ApplicationDelegate) HasApplicationDidUpdate() bool

func (*ApplicationDelegate) HasApplicationDockMenu

func (di *ApplicationDelegate) HasApplicationDockMenu() bool

func (*ApplicationDelegate) HasApplicationOpenUntitledFile

func (di *ApplicationDelegate) HasApplicationOpenUntitledFile() bool

func (*ApplicationDelegate) HasApplicationProtectedDataDidBecomeAvailable

func (di *ApplicationDelegate) HasApplicationProtectedDataDidBecomeAvailable() bool

func (*ApplicationDelegate) HasApplicationProtectedDataWillBecomeUnavailable

func (di *ApplicationDelegate) HasApplicationProtectedDataWillBecomeUnavailable() bool

func (*ApplicationDelegate) HasApplicationShouldAutomaticallyLocalizeKeyEquivalents

func (di *ApplicationDelegate) HasApplicationShouldAutomaticallyLocalizeKeyEquivalents() bool

func (*ApplicationDelegate) HasApplicationShouldHandleReopenHasVisibleWindows

func (di *ApplicationDelegate) HasApplicationShouldHandleReopenHasVisibleWindows() bool

func (*ApplicationDelegate) HasApplicationShouldOpenUntitledFile

func (di *ApplicationDelegate) HasApplicationShouldOpenUntitledFile() bool

func (*ApplicationDelegate) HasApplicationShouldTerminate

func (di *ApplicationDelegate) HasApplicationShouldTerminate() bool

func (*ApplicationDelegate) HasApplicationShouldTerminateAfterLastWindowClosed

func (di *ApplicationDelegate) HasApplicationShouldTerminateAfterLastWindowClosed() bool

func (*ApplicationDelegate) HasApplicationSupportsSecureRestorableState

func (di *ApplicationDelegate) HasApplicationSupportsSecureRestorableState() bool

func (*ApplicationDelegate) HasApplicationWillBecomeActive

func (di *ApplicationDelegate) HasApplicationWillBecomeActive() bool

func (*ApplicationDelegate) HasApplicationWillFinishLaunching

func (di *ApplicationDelegate) HasApplicationWillFinishLaunching() bool

func (*ApplicationDelegate) HasApplicationWillHide

func (di *ApplicationDelegate) HasApplicationWillHide() bool

func (*ApplicationDelegate) HasApplicationWillResignActive

func (di *ApplicationDelegate) HasApplicationWillResignActive() bool

func (*ApplicationDelegate) HasApplicationWillTerminate

func (di *ApplicationDelegate) HasApplicationWillTerminate() bool

func (*ApplicationDelegate) HasApplicationWillUnhide

func (di *ApplicationDelegate) HasApplicationWillUnhide() bool

func (*ApplicationDelegate) HasApplicationWillUpdate

func (di *ApplicationDelegate) HasApplicationWillUpdate() bool

func (*ApplicationDelegate) SetApplicationDidBecomeActive

func (di *ApplicationDelegate) SetApplicationDidBecomeActive(f func(notification foundation.Notification))

Tells the delegate that the app is now active. Full Topic

func (*ApplicationDelegate) SetApplicationDidChangeOcclusionState

func (di *ApplicationDelegate) SetApplicationDidChangeOcclusionState(f func(notification foundation.Notification))

Tells the delegate about changes to the app’s occlusion state. Full Topic

func (*ApplicationDelegate) SetApplicationDidChangeScreenParameters

func (di *ApplicationDelegate) SetApplicationDidChangeScreenParameters(f func(notification foundation.Notification))

Tells the delegate about changes to the configuration of any attached displays. Full Topic

func (*ApplicationDelegate) SetApplicationDidDecodeRestorableState

func (di *ApplicationDelegate) SetApplicationDidDecodeRestorableState(f func(app Application, coder foundation.Coder))

Tells the delegate when the app finished decoding its restorable state. Full Topic

func (*ApplicationDelegate) SetApplicationDidFinishLaunching

func (di *ApplicationDelegate) SetApplicationDidFinishLaunching(f func(notification foundation.Notification))

Tells the delegate that the app’s initialization is complete but it hasn’t received its first event. Full Topic

func (*ApplicationDelegate) SetApplicationDidHide

func (di *ApplicationDelegate) SetApplicationDidHide(f func(notification foundation.Notification))

Tells the delegate that the app is now hidden. Full Topic

func (*ApplicationDelegate) SetApplicationDidResignActive

func (di *ApplicationDelegate) SetApplicationDidResignActive(f func(notification foundation.Notification))

Tells the delegate that the app is no longer active and doesn’t have focus. Full Topic

func (*ApplicationDelegate) SetApplicationDidUnhide

func (di *ApplicationDelegate) SetApplicationDidUnhide(f func(notification foundation.Notification))

Tells the delegate that the app is now visible. Full Topic

func (*ApplicationDelegate) SetApplicationDidUpdate

func (di *ApplicationDelegate) SetApplicationDidUpdate(f func(notification foundation.Notification))

Tells the delegate that the app’s windows did update. Full Topic

func (*ApplicationDelegate) SetApplicationDockMenu

func (di *ApplicationDelegate) SetApplicationDockMenu(f func(sender Application) IMenu)

Returns the app’s dock menu. Full Topic

func (*ApplicationDelegate) SetApplicationOpenUntitledFile

func (di *ApplicationDelegate) SetApplicationOpenUntitledFile(f func(sender Application) bool)

Returns a Boolean value that indicates if the app opens an untitled file. Full Topic

func (*ApplicationDelegate) SetApplicationProtectedDataDidBecomeAvailable

func (di *ApplicationDelegate) SetApplicationProtectedDataDidBecomeAvailable(f func(notification foundation.Notification))

Tells the delegate that protected data is now available. Full Topic

func (*ApplicationDelegate) SetApplicationProtectedDataWillBecomeUnavailable

func (di *ApplicationDelegate) SetApplicationProtectedDataWillBecomeUnavailable(f func(notification foundation.Notification))

Tells the delegate that protected data is about to become unavailable. Full Topic

func (*ApplicationDelegate) SetApplicationShouldAutomaticallyLocalizeKeyEquivalents

func (di *ApplicationDelegate) SetApplicationShouldAutomaticallyLocalizeKeyEquivalents(f func(application Application) bool)

Returns a Boolean value that tells the system whether to remap menu shortcuts to support localized keyboards. Full Topic

func (*ApplicationDelegate) SetApplicationShouldHandleReopenHasVisibleWindows

func (di *ApplicationDelegate) SetApplicationShouldHandleReopenHasVisibleWindows(f func(sender Application, flag bool) bool)

Returns a Boolean value that indicates if the app responds to reopen AppleEvents. Full Topic

func (*ApplicationDelegate) SetApplicationShouldOpenUntitledFile

func (di *ApplicationDelegate) SetApplicationShouldOpenUntitledFile(f func(sender Application) bool)

Returns a Boolean value that indicates if the app can open an untitled file. Full Topic

func (*ApplicationDelegate) SetApplicationShouldTerminate

func (di *ApplicationDelegate) SetApplicationShouldTerminate(f func(sender Application) ApplicationTerminateReply)

Returns a value that indicates if the app should terminate. Full Topic

func (*ApplicationDelegate) SetApplicationShouldTerminateAfterLastWindowClosed

func (di *ApplicationDelegate) SetApplicationShouldTerminateAfterLastWindowClosed(f func(sender Application) bool)

Returns a Boolean value that indicates if the app terminates once the last window closes. Full Topic

func (*ApplicationDelegate) SetApplicationSupportsSecureRestorableState

func (di *ApplicationDelegate) SetApplicationSupportsSecureRestorableState(f func(app Application) bool)

Returns a Boolean value that indicates if the app supports secure state restoration. Full Topic

func (*ApplicationDelegate) SetApplicationWillBecomeActive

func (di *ApplicationDelegate) SetApplicationWillBecomeActive(f func(notification foundation.Notification))

Tells the delegate that the app is about to become active. Full Topic

func (*ApplicationDelegate) SetApplicationWillFinishLaunching

func (di *ApplicationDelegate) SetApplicationWillFinishLaunching(f func(notification foundation.Notification))

Tells the delegate that the app’s initialization is about to complete. Full Topic

func (*ApplicationDelegate) SetApplicationWillHide

func (di *ApplicationDelegate) SetApplicationWillHide(f func(notification foundation.Notification))

Tells the delegate that the app is about to be hidden. Full Topic

func (*ApplicationDelegate) SetApplicationWillResignActive

func (di *ApplicationDelegate) SetApplicationWillResignActive(f func(notification foundation.Notification))

Tells the delegate that the app is about to become inactive and will lose focus. Full Topic

func (*ApplicationDelegate) SetApplicationWillTerminate

func (di *ApplicationDelegate) SetApplicationWillTerminate(f func(notification foundation.Notification))

Tells the delegate that the app is about to terminate. Full Topic

func (*ApplicationDelegate) SetApplicationWillUnhide

func (di *ApplicationDelegate) SetApplicationWillUnhide(f func(notification foundation.Notification))

Tells the delegate that the app is about to become visible. Full Topic

func (*ApplicationDelegate) SetApplicationWillUpdate

func (di *ApplicationDelegate) SetApplicationWillUpdate(f func(notification foundation.Notification))

Tells the delegate that the app is about to update its windows. Full Topic

type ApplicationDelegateReply

type ApplicationDelegateReply uint

Constants that indicate whether a copy or print operation was successful, was canceled, or failed. Full Topic

const (
	ApplicationDelegateReplyCancel  ApplicationDelegateReply = 1
	ApplicationDelegateReplyFailure ApplicationDelegateReply = 2
	ApplicationDelegateReplySuccess ApplicationDelegateReply = 0
)

type ApplicationDelegateWrapper

type ApplicationDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PApplicationDelegate protocol.

func (ApplicationDelegateWrapper) ApplicationDidBecomeActive

func (a_ ApplicationDelegateWrapper) ApplicationDidBecomeActive(notification foundation.INotification)

Tells the delegate that the app is now active. Full Topic

func (ApplicationDelegateWrapper) ApplicationDidChangeOcclusionState

func (a_ ApplicationDelegateWrapper) ApplicationDidChangeOcclusionState(notification foundation.INotification)

Tells the delegate about changes to the app’s occlusion state. Full Topic

func (ApplicationDelegateWrapper) ApplicationDidChangeScreenParameters

func (a_ ApplicationDelegateWrapper) ApplicationDidChangeScreenParameters(notification foundation.INotification)

Tells the delegate about changes to the configuration of any attached displays. Full Topic

func (ApplicationDelegateWrapper) ApplicationDidDecodeRestorableState

func (a_ ApplicationDelegateWrapper) ApplicationDidDecodeRestorableState(app IApplication, coder foundation.ICoder)

Tells the delegate when the app finished decoding its restorable state. Full Topic

func (ApplicationDelegateWrapper) ApplicationDidFinishLaunching

func (a_ ApplicationDelegateWrapper) ApplicationDidFinishLaunching(notification foundation.INotification)

Tells the delegate that the app’s initialization is complete but it hasn’t received its first event. Full Topic

func (ApplicationDelegateWrapper) ApplicationDidHide

func (a_ ApplicationDelegateWrapper) ApplicationDidHide(notification foundation.INotification)

Tells the delegate that the app is now hidden. Full Topic

func (ApplicationDelegateWrapper) ApplicationDidResignActive

func (a_ ApplicationDelegateWrapper) ApplicationDidResignActive(notification foundation.INotification)

Tells the delegate that the app is no longer active and doesn’t have focus. Full Topic

func (ApplicationDelegateWrapper) ApplicationDidUnhide

func (a_ ApplicationDelegateWrapper) ApplicationDidUnhide(notification foundation.INotification)

Tells the delegate that the app is now visible. Full Topic

func (ApplicationDelegateWrapper) ApplicationDidUpdate

func (a_ ApplicationDelegateWrapper) ApplicationDidUpdate(notification foundation.INotification)

Tells the delegate that the app’s windows did update. Full Topic

func (ApplicationDelegateWrapper) ApplicationDockMenu

func (a_ ApplicationDelegateWrapper) ApplicationDockMenu(sender IApplication) Menu

Returns the app’s dock menu. Full Topic

func (ApplicationDelegateWrapper) ApplicationOpenUntitledFile

func (a_ ApplicationDelegateWrapper) ApplicationOpenUntitledFile(sender IApplication) bool

Returns a Boolean value that indicates if the app opens an untitled file. Full Topic

func (ApplicationDelegateWrapper) ApplicationProtectedDataDidBecomeAvailable

func (a_ ApplicationDelegateWrapper) ApplicationProtectedDataDidBecomeAvailable(notification foundation.INotification)

Tells the delegate that protected data is now available. Full Topic

func (ApplicationDelegateWrapper) ApplicationProtectedDataWillBecomeUnavailable

func (a_ ApplicationDelegateWrapper) ApplicationProtectedDataWillBecomeUnavailable(notification foundation.INotification)

Tells the delegate that protected data is about to become unavailable. Full Topic

func (ApplicationDelegateWrapper) ApplicationShouldAutomaticallyLocalizeKeyEquivalents

func (a_ ApplicationDelegateWrapper) ApplicationShouldAutomaticallyLocalizeKeyEquivalents(application IApplication) bool

Returns a Boolean value that tells the system whether to remap menu shortcuts to support localized keyboards. Full Topic

func (ApplicationDelegateWrapper) ApplicationShouldHandleReopenHasVisibleWindows

func (a_ ApplicationDelegateWrapper) ApplicationShouldHandleReopenHasVisibleWindows(sender IApplication, flag bool) bool

Returns a Boolean value that indicates if the app responds to reopen AppleEvents. Full Topic

func (ApplicationDelegateWrapper) ApplicationShouldOpenUntitledFile

func (a_ ApplicationDelegateWrapper) ApplicationShouldOpenUntitledFile(sender IApplication) bool

Returns a Boolean value that indicates if the app can open an untitled file. Full Topic

func (ApplicationDelegateWrapper) ApplicationShouldTerminate

func (a_ ApplicationDelegateWrapper) ApplicationShouldTerminate(sender IApplication) ApplicationTerminateReply

Returns a value that indicates if the app should terminate. Full Topic

func (ApplicationDelegateWrapper) ApplicationShouldTerminateAfterLastWindowClosed

func (a_ ApplicationDelegateWrapper) ApplicationShouldTerminateAfterLastWindowClosed(sender IApplication) bool

Returns a Boolean value that indicates if the app terminates once the last window closes. Full Topic

func (ApplicationDelegateWrapper) ApplicationSupportsSecureRestorableState

func (a_ ApplicationDelegateWrapper) ApplicationSupportsSecureRestorableState(app IApplication) bool

Returns a Boolean value that indicates if the app supports secure state restoration. Full Topic

func (ApplicationDelegateWrapper) ApplicationWillBecomeActive

func (a_ ApplicationDelegateWrapper) ApplicationWillBecomeActive(notification foundation.INotification)

Tells the delegate that the app is about to become active. Full Topic

func (ApplicationDelegateWrapper) ApplicationWillFinishLaunching

func (a_ ApplicationDelegateWrapper) ApplicationWillFinishLaunching(notification foundation.INotification)

Tells the delegate that the app’s initialization is about to complete. Full Topic

func (ApplicationDelegateWrapper) ApplicationWillHide

func (a_ ApplicationDelegateWrapper) ApplicationWillHide(notification foundation.INotification)

Tells the delegate that the app is about to be hidden. Full Topic

func (ApplicationDelegateWrapper) ApplicationWillResignActive

func (a_ ApplicationDelegateWrapper) ApplicationWillResignActive(notification foundation.INotification)

Tells the delegate that the app is about to become inactive and will lose focus. Full Topic

func (ApplicationDelegateWrapper) ApplicationWillTerminate

func (a_ ApplicationDelegateWrapper) ApplicationWillTerminate(notification foundation.INotification)

Tells the delegate that the app is about to terminate. Full Topic

func (ApplicationDelegateWrapper) ApplicationWillUnhide

func (a_ ApplicationDelegateWrapper) ApplicationWillUnhide(notification foundation.INotification)

Tells the delegate that the app is about to become visible. Full Topic

func (ApplicationDelegateWrapper) ApplicationWillUpdate

func (a_ ApplicationDelegateWrapper) ApplicationWillUpdate(notification foundation.INotification)

Tells the delegate that the app is about to update its windows. Full Topic

func (ApplicationDelegateWrapper) HasApplicationDidBecomeActive

func (a_ ApplicationDelegateWrapper) HasApplicationDidBecomeActive() bool

func (ApplicationDelegateWrapper) HasApplicationDidChangeOcclusionState

func (a_ ApplicationDelegateWrapper) HasApplicationDidChangeOcclusionState() bool

func (ApplicationDelegateWrapper) HasApplicationDidChangeScreenParameters

func (a_ ApplicationDelegateWrapper) HasApplicationDidChangeScreenParameters() bool

func (ApplicationDelegateWrapper) HasApplicationDidDecodeRestorableState

func (a_ ApplicationDelegateWrapper) HasApplicationDidDecodeRestorableState() bool

func (ApplicationDelegateWrapper) HasApplicationDidFinishLaunching

func (a_ ApplicationDelegateWrapper) HasApplicationDidFinishLaunching() bool

func (ApplicationDelegateWrapper) HasApplicationDidHide

func (a_ ApplicationDelegateWrapper) HasApplicationDidHide() bool

func (ApplicationDelegateWrapper) HasApplicationDidResignActive

func (a_ ApplicationDelegateWrapper) HasApplicationDidResignActive() bool

func (ApplicationDelegateWrapper) HasApplicationDidUnhide

func (a_ ApplicationDelegateWrapper) HasApplicationDidUnhide() bool

func (ApplicationDelegateWrapper) HasApplicationDidUpdate

func (a_ ApplicationDelegateWrapper) HasApplicationDidUpdate() bool

func (ApplicationDelegateWrapper) HasApplicationDockMenu

func (a_ ApplicationDelegateWrapper) HasApplicationDockMenu() bool

func (ApplicationDelegateWrapper) HasApplicationOpenUntitledFile

func (a_ ApplicationDelegateWrapper) HasApplicationOpenUntitledFile() bool

func (ApplicationDelegateWrapper) HasApplicationProtectedDataDidBecomeAvailable

func (a_ ApplicationDelegateWrapper) HasApplicationProtectedDataDidBecomeAvailable() bool

func (ApplicationDelegateWrapper) HasApplicationProtectedDataWillBecomeUnavailable

func (a_ ApplicationDelegateWrapper) HasApplicationProtectedDataWillBecomeUnavailable() bool

func (ApplicationDelegateWrapper) HasApplicationShouldAutomaticallyLocalizeKeyEquivalents

func (a_ ApplicationDelegateWrapper) HasApplicationShouldAutomaticallyLocalizeKeyEquivalents() bool

func (ApplicationDelegateWrapper) HasApplicationShouldHandleReopenHasVisibleWindows

func (a_ ApplicationDelegateWrapper) HasApplicationShouldHandleReopenHasVisibleWindows() bool

func (ApplicationDelegateWrapper) HasApplicationShouldOpenUntitledFile

func (a_ ApplicationDelegateWrapper) HasApplicationShouldOpenUntitledFile() bool

func (ApplicationDelegateWrapper) HasApplicationShouldTerminate

func (a_ ApplicationDelegateWrapper) HasApplicationShouldTerminate() bool

func (ApplicationDelegateWrapper) HasApplicationShouldTerminateAfterLastWindowClosed

func (a_ ApplicationDelegateWrapper) HasApplicationShouldTerminateAfterLastWindowClosed() bool

func (ApplicationDelegateWrapper) HasApplicationSupportsSecureRestorableState

func (a_ ApplicationDelegateWrapper) HasApplicationSupportsSecureRestorableState() bool

func (ApplicationDelegateWrapper) HasApplicationWillBecomeActive

func (a_ ApplicationDelegateWrapper) HasApplicationWillBecomeActive() bool

func (ApplicationDelegateWrapper) HasApplicationWillFinishLaunching

func (a_ ApplicationDelegateWrapper) HasApplicationWillFinishLaunching() bool

func (ApplicationDelegateWrapper) HasApplicationWillHide

func (a_ ApplicationDelegateWrapper) HasApplicationWillHide() bool

func (ApplicationDelegateWrapper) HasApplicationWillResignActive

func (a_ ApplicationDelegateWrapper) HasApplicationWillResignActive() bool

func (ApplicationDelegateWrapper) HasApplicationWillTerminate

func (a_ ApplicationDelegateWrapper) HasApplicationWillTerminate() bool

func (ApplicationDelegateWrapper) HasApplicationWillUnhide

func (a_ ApplicationDelegateWrapper) HasApplicationWillUnhide() bool

func (ApplicationDelegateWrapper) HasApplicationWillUpdate

func (a_ ApplicationDelegateWrapper) HasApplicationWillUpdate() bool

type ApplicationOcclusionState

type ApplicationOcclusionState uint

This constant indicates whether at least part of any window owned by this app is visible. Full Topic

const (
	ApplicationOcclusionStateVisible ApplicationOcclusionState = 2
)

type ApplicationPresentationOptions

type ApplicationPresentationOptions uint

Constants that control the presentation of the app, typically for fullscreen apps such as games or kiosks. Full Topic

const (
	ApplicationPresentationAutoHideDock                    ApplicationPresentationOptions = 1
	ApplicationPresentationAutoHideMenuBar                 ApplicationPresentationOptions = 4
	ApplicationPresentationAutoHideToolbar                 ApplicationPresentationOptions = 2048
	ApplicationPresentationDefault                         ApplicationPresentationOptions = 0
	ApplicationPresentationDisableAppleMenu                ApplicationPresentationOptions = 16
	ApplicationPresentationDisableCursorLocationAssistance ApplicationPresentationOptions = 4096
	ApplicationPresentationDisableForceQuit                ApplicationPresentationOptions = 64
	ApplicationPresentationDisableHideApplication          ApplicationPresentationOptions = 256
	ApplicationPresentationDisableMenuBarTransparency      ApplicationPresentationOptions = 512
	ApplicationPresentationDisableProcessSwitching         ApplicationPresentationOptions = 32
	ApplicationPresentationDisableSessionTermination       ApplicationPresentationOptions = 128
	ApplicationPresentationFullScreen                      ApplicationPresentationOptions = 1024
	ApplicationPresentationHideDock                        ApplicationPresentationOptions = 2
	ApplicationPresentationHideMenuBar                     ApplicationPresentationOptions = 8
)

type ApplicationPrintReply

type ApplicationPrintReply uint

Constants that indicate the outcome of a print request. Full Topic

const (
	PrintingCancelled  ApplicationPrintReply = 0
	PrintingFailure    ApplicationPrintReply = 3
	PrintingReplyLater ApplicationPrintReply = 2
	PrintingSuccess    ApplicationPrintReply = 1
)

type ApplicationTerminateReply

type ApplicationTerminateReply uint

Constants that determine whether an app should terminate. Full Topic

const (
	TerminateCancel ApplicationTerminateReply = 0
	TerminateLater  ApplicationTerminateReply = 2
	TerminateNow    ApplicationTerminateReply = 1
)

type ArrayController

type ArrayController struct {
	ObjectController
}

A bindings-compatible controller that manages a collection of objects. Full Topic

func ArrayControllerFrom

func ArrayControllerFrom(ptr unsafe.Pointer) ArrayController

func ArrayController_Alloc

func ArrayController_Alloc() ArrayController

func NewArrayController

func NewArrayController() ArrayController

func NewArrayControllerWithContent

func NewArrayControllerWithContent(content objc.IObject) ArrayController

Initializes and returns an NSObjectController object with the given content. Full Topic

func (ArrayController) AddObjects

func (a_ ArrayController) AddObjects(objects []objc.IObject)

Adds objects to the receiver’s content collection. Full Topic

func (ArrayController) AddSelectedObjects

func (a_ ArrayController) AddSelectedObjects(objects []objc.IObject) bool

Adds objects from the receiver’s content array to the current selection, returning YES if the selection was changed. Full Topic

func (ArrayController) AddSelectionIndexes

func (a_ ArrayController) AddSelectionIndexes(indexes foundation.IIndexSet) bool

Adds the objects at the specified indexes in the receiver’s content array to the current selection, returning YES if the selection was changed. Full Topic

func (ArrayController) AlwaysUsesMultipleValuesMarker

func (a_ ArrayController) AlwaysUsesMultipleValuesMarker() bool

A Boolean value that indicates whether the receiver always returns the multiple values marker when multiple objects are selected Full Topic

func (ArrayController) ArrangeObjects

func (a_ ArrayController) ArrangeObjects(objects []objc.IObject) []objc.Object

Returns a given array, appropriately sorted and filtered. Full Topic

func (ArrayController) ArrangedObjects

func (a_ ArrayController) ArrangedObjects() objc.Object

An array containing the receiver’s content objects arranged using arrangeObjects:. Full Topic

func (ArrayController) AutomaticRearrangementKeyPaths

func (a_ ArrayController) AutomaticRearrangementKeyPaths() []string

An array of key paths that trigger automatic content sorting or filtering Full Topic

func (ArrayController) AutomaticallyRearrangesObjects

func (a_ ArrayController) AutomaticallyRearrangesObjects() bool

A Boolean that indicates if the receiver automatically rearranges its content to correspond to the current sort descriptors and filter predicates Full Topic

func (ArrayController) AvoidsEmptySelection

func (a_ ArrayController) AvoidsEmptySelection() bool

A Boolean value that indicates whether the receiver requires that the content array attempt to maintain a selection Full Topic

func (ArrayController) CanInsert

func (a_ ArrayController) CanInsert() bool

Returns a Boolean value that indicates whether an object can be inserted into the receiver’s content collection. Full Topic

func (ArrayController) CanSelectNext

func (a_ ArrayController) CanSelectNext() bool

A Boolean value indicating whether the next object, relative to the current selection, in the receiver’s content array can be selected Full Topic

func (ArrayController) CanSelectPrevious

func (a_ ArrayController) CanSelectPrevious() bool

A Boolean value indicating whether the previous object, relative to the current selection, in the receiver’s content array can be selected Full Topic

func (ArrayController) ClearsFilterPredicateOnInsertion

func (a_ ArrayController) ClearsFilterPredicateOnInsertion() bool

A Boolean value that indicates whether the receiver automatically clears an existing filter predicate when new items are inserted or added to the content Full Topic

func (ArrayController) DidChangeArrangementCriteria

func (a_ ArrayController) DidChangeArrangementCriteria()

Invoked when any criteria for arranging objects change. Full Topic

func (ArrayController) FilterPredicate

func (a_ ArrayController) FilterPredicate() foundation.Predicate

A predicate used by the receiver to filter the array controller contents Full Topic

func (ArrayController) Init

func (a_ ArrayController) Init() ArrayController

func (ArrayController) InitWithContent

func (a_ ArrayController) InitWithContent(content objc.IObject) ArrayController

func (ArrayController) Insert

func (a_ ArrayController) Insert(sender objc.IObject) objc.Object

Creates a new object and inserts it into the receiver’s content array. Full Topic

func (ArrayController) InsertObjectAtArrangedObjectIndex

func (a_ ArrayController) InsertObjectAtArrangedObjectIndex(object objc.IObject, index uint)

Inserts object into the receiver’s arranged objects array at the location specified by index, and adds it to the receiver’s content collection. Full Topic

func (ArrayController) InsertObjectsAtArrangedObjectIndexes

func (a_ ArrayController) InsertObjectsAtArrangedObjectIndexes(objects []objc.IObject, indexes foundation.IIndexSet)

Inserts objects into the receiver’s arranged objects array at the locations specified in indexes, and adds it to the receiver’s content collection. Full Topic

func (ArrayController) PreservesSelection

func (a_ ArrayController) PreservesSelection() bool

A Boolean value that indicates whether the receiver will attempt to preserve the current selection when the content changes Full Topic

func (ArrayController) RearrangeObjects

func (a_ ArrayController) RearrangeObjects()

Triggers filtering of the receiver’s content. Full Topic

func (ArrayController) RemoveObjectAtArrangedObjectIndex

func (a_ ArrayController) RemoveObjectAtArrangedObjectIndex(index uint)

Removes the object at the specified index in the receiver’s arranged objects from the receiver’s content array. Full Topic

func (ArrayController) RemoveObjects

func (a_ ArrayController) RemoveObjects(objects []objc.IObject)

Removes objects from the receiver’s content collection. Full Topic

func (ArrayController) RemoveObjectsAtArrangedObjectIndexes

func (a_ ArrayController) RemoveObjectsAtArrangedObjectIndexes(indexes foundation.IIndexSet)

Removes the objects at the specified indexes in the receiver’s arranged objects from the content array. Full Topic

func (ArrayController) RemoveSelectedObjects

func (a_ ArrayController) RemoveSelectedObjects(objects []objc.IObject) bool

Removes objects from the receiver’s current selection, returning YES if the selection was changed. Full Topic

func (ArrayController) RemoveSelectionIndexes

func (a_ ArrayController) RemoveSelectionIndexes(indexes foundation.IIndexSet) bool

Removes the object as the specified indexes from the receiver’s current selection, returning YES if the selection was changed. Full Topic

func (ArrayController) SelectNext

func (a_ ArrayController) SelectNext(sender objc.IObject) objc.Object

Selects the next object, relative to the current selection, in the receiver’s arranged content. Full Topic

func (ArrayController) SelectPrevious

func (a_ ArrayController) SelectPrevious(sender objc.IObject) objc.Object

Selects the previous object, relative to the current selection, in the receiver’s arranged content. Full Topic

func (ArrayController) SelectionIndex

func (a_ ArrayController) SelectionIndex() uint

The index of the first object in the receiver’s selection Full Topic

func (ArrayController) SelectionIndexes

func (a_ ArrayController) SelectionIndexes() foundation.IndexSet

An index set containing the indexes of the receiver’s currently selected objects in the content array Full Topic

func (ArrayController) SelectsInsertedObjects

func (a_ ArrayController) SelectsInsertedObjects() bool

A Boolean value that indicates whether the receiver automatically selects inserted objects Full Topic

func (ArrayController) SetAlwaysUsesMultipleValuesMarker

func (a_ ArrayController) SetAlwaysUsesMultipleValuesMarker(value bool)

A Boolean value that indicates whether the receiver always returns the multiple values marker when multiple objects are selected Full Topic

func (ArrayController) SetAutomaticallyRearrangesObjects

func (a_ ArrayController) SetAutomaticallyRearrangesObjects(value bool)

A Boolean that indicates if the receiver automatically rearranges its content to correspond to the current sort descriptors and filter predicates Full Topic

func (ArrayController) SetAvoidsEmptySelection

func (a_ ArrayController) SetAvoidsEmptySelection(value bool)

A Boolean value that indicates whether the receiver requires that the content array attempt to maintain a selection Full Topic

func (ArrayController) SetClearsFilterPredicateOnInsertion

func (a_ ArrayController) SetClearsFilterPredicateOnInsertion(value bool)

A Boolean value that indicates whether the receiver automatically clears an existing filter predicate when new items are inserted or added to the content Full Topic

func (ArrayController) SetFilterPredicate

func (a_ ArrayController) SetFilterPredicate(value foundation.IPredicate)

A predicate used by the receiver to filter the array controller contents Full Topic

func (ArrayController) SetPreservesSelection

func (a_ ArrayController) SetPreservesSelection(value bool)

A Boolean value that indicates whether the receiver will attempt to preserve the current selection when the content changes Full Topic

func (ArrayController) SetSelectedObjects

func (a_ ArrayController) SetSelectedObjects(objects []objc.IObject) bool

Sets objects as the receiver’s current selection, returning YES if the selection was changed. Full Topic

func (ArrayController) SetSelectionIndex

func (a_ ArrayController) SetSelectionIndex(index uint) bool

Sets the receiver’s selection to the given index, and returns a Boolean value that indicates whether the selection was changed. Full Topic

func (ArrayController) SetSelectionIndexes

func (a_ ArrayController) SetSelectionIndexes(indexes foundation.IIndexSet) bool

Sets the receiver’s selection indexes and returns a Boolean value that indicates whether the selection changed. Full Topic

func (ArrayController) SetSelectsInsertedObjects

func (a_ ArrayController) SetSelectsInsertedObjects(value bool)

A Boolean value that indicates whether the receiver automatically selects inserted objects Full Topic

func (ArrayController) SetSortDescriptors

func (a_ ArrayController) SetSortDescriptors(value []foundation.ISortDescriptor)

An array of NSSortDescriptor objects, used by the receiver to arrange its content. Full Topic

func (ArrayController) SortDescriptors

func (a_ ArrayController) SortDescriptors() []foundation.SortDescriptor

An array of NSSortDescriptor objects, used by the receiver to arrange its content. Full Topic

type AttributedStringDocumentAttributeKey

type AttributedStringDocumentAttributeKey string

Attributes that apply to a document. Full Topic

const (
	AppearanceDocumentAttribute         AttributedStringDocumentAttributeKey = "NSAppearanceDocumentAttribute"
	AuthorDocumentAttribute             AttributedStringDocumentAttributeKey = "NSAuthorDocumentAttribute"
	BackgroundColorDocumentAttribute    AttributedStringDocumentAttributeKey = "BackgroundColor"
	BottomMarginDocumentAttribute       AttributedStringDocumentAttributeKey = "BottomMargin"
	CategoryDocumentAttribute           AttributedStringDocumentAttributeKey = "NSCategoryDocumentAttribute"
	CharacterEncodingDocumentAttribute  AttributedStringDocumentAttributeKey = "CharacterEncoding"
	CocoaVersionDocumentAttribute       AttributedStringDocumentAttributeKey = "CocoaRTFVersion"
	CommentDocumentAttribute            AttributedStringDocumentAttributeKey = "NSCommentDocumentAttribute"
	CompanyDocumentAttribute            AttributedStringDocumentAttributeKey = "NSCompanyDocumentAttribute"
	ConvertedDocumentAttribute          AttributedStringDocumentAttributeKey = "Converted"
	CopyrightDocumentAttribute          AttributedStringDocumentAttributeKey = "NSCopyrightDocumentAttribute"
	CreationTimeDocumentAttribute       AttributedStringDocumentAttributeKey = "NSCreationTimeDocumentAttribute"
	DefaultAttributesDocumentAttribute  AttributedStringDocumentAttributeKey = "DefaultAttributes"
	DefaultTabIntervalDocumentAttribute AttributedStringDocumentAttributeKey = "DefaultTabInterval"
	DocumentTypeDocumentAttribute       AttributedStringDocumentAttributeKey = "DocumentType"
	EditorDocumentAttribute             AttributedStringDocumentAttributeKey = "NSEditorDocumentAttribute"
	ExcludedElementsDocumentAttribute   AttributedStringDocumentAttributeKey = "ExcludedElements"
	FileTypeDocumentAttribute           AttributedStringDocumentAttributeKey = "UTI"
	HyphenationFactorDocumentAttribute  AttributedStringDocumentAttributeKey = "HyphenationFactor"
	KeywordsDocumentAttribute           AttributedStringDocumentAttributeKey = "NSKeywordsDocumentAttribute"
	LeftMarginDocumentAttribute         AttributedStringDocumentAttributeKey = "LeftMargin"
	ManagerDocumentAttribute            AttributedStringDocumentAttributeKey = "NSManagerDocumentAttribute"
	ModificationTimeDocumentAttribute   AttributedStringDocumentAttributeKey = "NSModificationTimeDocumentAttribute"
	PaperSizeDocumentAttribute          AttributedStringDocumentAttributeKey = "PaperSize"
	PrefixSpacesDocumentAttribute       AttributedStringDocumentAttributeKey = "PrefixSpaces"
	ReadOnlyDocumentAttribute           AttributedStringDocumentAttributeKey = "ReadOnly"
	RightMarginDocumentAttribute        AttributedStringDocumentAttributeKey = "RightMargin"
	SourceTextScalingDocumentAttribute  AttributedStringDocumentAttributeKey = "SourceTextScaling"
	SubjectDocumentAttribute            AttributedStringDocumentAttributeKey = "NSSubjectDocumentAttribute"
	TextEncodingNameDocumentAttribute   AttributedStringDocumentAttributeKey = "TextEncodingName"
	TextLayoutSectionsAttribute         AttributedStringDocumentAttributeKey = "NSTextLayoutSectionsAttribute"
	TextScalingDocumentAttribute        AttributedStringDocumentAttributeKey = "TextScaling"
	TitleDocumentAttribute              AttributedStringDocumentAttributeKey = "NSTitleDocumentAttribute"
	TopMarginDocumentAttribute          AttributedStringDocumentAttributeKey = "TopMargin"
	ViewModeDocumentAttribute           AttributedStringDocumentAttributeKey = "ViewMode"
	ViewSizeDocumentAttribute           AttributedStringDocumentAttributeKey = "ViewSize"
	ViewZoomDocumentAttribute           AttributedStringDocumentAttributeKey = "ViewZoom"
)

type AttributedStringDocumentReadingOptionKey

type AttributedStringDocumentReadingOptionKey string

Options for importing documents. Full Topic

const (
	BaseURLDocumentOption                 AttributedStringDocumentReadingOptionKey = "BaseURL"
	CharacterEncodingDocumentOption       AttributedStringDocumentReadingOptionKey = "CharacterEncoding"
	DefaultAttributesDocumentOption       AttributedStringDocumentReadingOptionKey = "DefaultAttributes"
	DocumentTypeDocumentOption            AttributedStringDocumentReadingOptionKey = "DocumentType"
	FileTypeDocumentOption                AttributedStringDocumentReadingOptionKey = "UTI"
	SourceTextScalingDocumentOption       AttributedStringDocumentReadingOptionKey = "SourceTextScaling"
	TargetTextScalingDocumentOption       AttributedStringDocumentReadingOptionKey = "TargetTextScaling"
	TextEncodingNameDocumentOption        AttributedStringDocumentReadingOptionKey = "TextEncodingName"
	TextSizeMultiplierDocumentOption      AttributedStringDocumentReadingOptionKey = "TextSizeMultiplier"
	TimeoutDocumentOption                 AttributedStringDocumentReadingOptionKey = "Timeout"
	WebPreferencesDocumentOption          AttributedStringDocumentReadingOptionKey = "WebPreferences"
	WebResourceLoadDelegateDocumentOption AttributedStringDocumentReadingOptionKey = "WebResourceLoadDelegate"
)

type AttributedStringDocumentType

type AttributedStringDocumentType string

Constants for the document type document attribute key. Full Topic

const (
	DocFormatTextDocumentType     AttributedStringDocumentType = "NSDocFormat"
	HTMLTextDocumentType          AttributedStringDocumentType = "NSHTML"
	MacSimpleTextDocumentType     AttributedStringDocumentType = "NSMacSimpleText"
	OfficeOpenXMLTextDocumentType AttributedStringDocumentType = "NSOfficeOpenXML"
	OpenDocumentTextDocumentType  AttributedStringDocumentType = "NSOpenDocument"
	PlainTextDocumentType         AttributedStringDocumentType = "NSPlainText"
	RTFDTextDocumentType          AttributedStringDocumentType = "NSRTFD"
	RTFTextDocumentType           AttributedStringDocumentType = "NSRTF"
	WebArchiveTextDocumentType    AttributedStringDocumentType = "NSWebArchive"
	WordMLTextDocumentType        AttributedStringDocumentType = "NSWordML"
)

type AutoresizingMaskOptions

type AutoresizingMaskOptions uint

Constants that specify the autoresizing behaviors for views. Full Topic

const (
	ViewHeightSizable AutoresizingMaskOptions = 16
	ViewMaxXMargin    AutoresizingMaskOptions = 4
	ViewMaxYMargin    AutoresizingMaskOptions = 32
	ViewMinXMargin    AutoresizingMaskOptions = 1
	ViewMinYMargin    AutoresizingMaskOptions = 8
	ViewNotSizable    AutoresizingMaskOptions = 0
	ViewWidthSizable  AutoresizingMaskOptions = 2
)

type BackgroundStyle

type BackgroundStyle int

Background styles to apply to a view’s cell. Full Topic

const (
	BackgroundStyleDark       BackgroundStyle = 1
	BackgroundStyleEmphasized BackgroundStyle = 1
	BackgroundStyleLight      BackgroundStyle = 0
	BackgroundStyleLowered    BackgroundStyle = 3
	BackgroundStyleNormal     BackgroundStyle = 0
	BackgroundStyleRaised     BackgroundStyle = 2
)

type BackingStoreType

type BackingStoreType uint

Constants that specify how the window device buffers the drawing done in a window. Full Topic

const (
	BackingStoreBuffered    BackingStoreType = 2
	BackingStoreNonretained BackingStoreType = 1
	BackingStoreRetained    BackingStoreType = 0
)

type BezelStyle

type BezelStyle uint

Bezel styles used by the bezelStyle property. Full Topic

const (
	BezelStyleCircular          BezelStyle = 7
	BezelStyleDisclosure        BezelStyle = 5
	BezelStyleHelpButton        BezelStyle = 9
	BezelStyleInline            BezelStyle = 15
	BezelStyleRecessed          BezelStyle = 13
	BezelStyleRegularSquare     BezelStyle = 2
	BezelStyleRoundRect         BezelStyle = 12
	BezelStyleRounded           BezelStyle = 1
	BezelStyleRoundedDisclosure BezelStyle = 14
	BezelStyleShadowlessSquare  BezelStyle = 6
	BezelStyleSmallSquare       BezelStyle = 10
	BezelStyleTexturedRounded   BezelStyle = 11
	BezelStyleTexturedSquare    BezelStyle = 8
	CircularBezelStyle          BezelStyle = 7
	DisclosureBezelStyle        BezelStyle = 5
	HelpButtonBezelStyle        BezelStyle = 9
	InlineBezelStyle            BezelStyle = 15
	RecessedBezelStyle          BezelStyle = 13
	RegularSquareBezelStyle     BezelStyle = 2
	RoundRectBezelStyle         BezelStyle = 12
	RoundedBezelStyle           BezelStyle = 1
	RoundedDisclosureBezelStyle BezelStyle = 14
	ShadowlessSquareBezelStyle  BezelStyle = 6
	SmallIconButtonBezelStyle   BezelStyle = 2
	SmallSquareBezelStyle       BezelStyle = 10
	TexturedRoundedBezelStyle   BezelStyle = 11
	TexturedSquareBezelStyle    BezelStyle = 8
	ThickSquareBezelStyle       BezelStyle = 3
	ThickerSquareBezelStyle     BezelStyle = 4
)

type BezierPath

type BezierPath struct {
	objc.Object
}

An object that can create paths using PostScript-style commands. Full Topic

func BezierPathFrom

func BezierPathFrom(ptr unsafe.Pointer) BezierPath

func BezierPath_Alloc

func BezierPath_Alloc() BezierPath

func BezierPath_BezierPath

func BezierPath_BezierPath() BezierPath

Creates and returns a new Bézier path object. Full Topic

func BezierPath_BezierPathWithOvalInRect

func BezierPath_BezierPathWithOvalInRect(rect foundation.Rect) BezierPath

Creates and returns a new Bézier path object initialized with an oval path inscribed in the specified rectangle. Full Topic

func BezierPath_BezierPathWithRect

func BezierPath_BezierPathWithRect(rect foundation.Rect) BezierPath

Creates and returns a new Bézier path object initialized with a rectangular path. Full Topic

func BezierPath_BezierPathWithRoundedRectXRadiusYRadius

func BezierPath_BezierPathWithRoundedRectXRadiusYRadius(rect foundation.Rect, xRadius float64, yRadius float64) BezierPath

Creates and returns a new Bézier path object initialized with a rounded rectangular path. Full Topic

func NewBezierPath

func NewBezierPath() BezierPath

func (BezierPath) AddClip

func (b_ BezierPath) AddClip()

Intersects the area enclosed by the path with the clipping path of the current graphics context and makes the resulting shape the current clipping path. Full Topic

func (BezierPath) AppendBezierPath

func (b_ BezierPath) AppendBezierPath(path IBezierPath)

Appends the contents of the specified path object to the path. Full Topic

func (BezierPath) AppendBezierPathWithArcFromPointToPointRadius

func (b_ BezierPath) AppendBezierPathWithArcFromPointToPointRadius(point1 foundation.Point, point2 foundation.Point, radius float64)

Appends an arc to the path. Full Topic

func (BezierPath) AppendBezierPathWithArcWithCenterRadiusStartAngleEndAngle

func (b_ BezierPath) AppendBezierPathWithArcWithCenterRadiusStartAngleEndAngle(center foundation.Point, radius float64, startAngle float64, endAngle float64)

Appends an arc of a circle to the path. Full Topic

func (BezierPath) AppendBezierPathWithCGGlyphInFont

func (b_ BezierPath) AppendBezierPathWithCGGlyphInFont(glyph coregraphics.Glyph, font IFont)

Appends an outline of the specified glyph to the path. Full Topic

func (BezierPath) AppendBezierPathWithCGGlyphsCountInFont

func (b_ BezierPath) AppendBezierPathWithCGGlyphsCountInFont(glyphs *coregraphics.Glyph, count int, font IFont)

Appends the outlines of the specified glyphs to the path. Full Topic

func (BezierPath) AppendBezierPathWithOvalInRect

func (b_ BezierPath) AppendBezierPathWithOvalInRect(rect foundation.Rect)

Appends an oval path to the path, inscribing the oval in the specified rectangle. Full Topic

func (BezierPath) AppendBezierPathWithPointsCount

func (b_ BezierPath) AppendBezierPathWithPointsCount(points foundation.PointArray, count int)

Appends a series of line segments to the path. Full Topic

func (BezierPath) AppendBezierPathWithRect

func (b_ BezierPath) AppendBezierPathWithRect(rect foundation.Rect)

Appends a rectangular path to the path. Full Topic

func (BezierPath) AppendBezierPathWithRoundedRectXRadiusYRadius

func (b_ BezierPath) AppendBezierPathWithRoundedRectXRadiusYRadius(rect foundation.Rect, xRadius float64, yRadius float64)

Appends a rounded rectangular path to the path. Full Topic

func (BezierPath) BezierPathByFlatteningPath

func (b_ BezierPath) BezierPathByFlatteningPath() BezierPath

A flattened version of the path object. Full Topic

func (BezierPath) BezierPathByReversingPath

func (b_ BezierPath) BezierPathByReversingPath() BezierPath

A path containing the reversed contents of the current path object. Full Topic

func (BezierPath) Bounds

func (b_ BezierPath) Bounds() foundation.Rect

The bounding box of the path. Full Topic

func (BezierPath) ClosePath

func (b_ BezierPath) ClosePath()

Closes the most recently added subpath. Full Topic

func (BezierPath) ContainsPoint

func (b_ BezierPath) ContainsPoint(point foundation.Point) bool

Returns a Boolean value that indicates whether the path contains the specified point. Full Topic

func (BezierPath) ControlPointBounds

func (b_ BezierPath) ControlPointBounds() foundation.Rect

The bounding box of the path, including any control points. Full Topic

func (BezierPath) CurrentPoint

func (b_ BezierPath) CurrentPoint() foundation.Point

The current point (the trailing point or ending point in the most recently added segment). Full Topic

func (BezierPath) CurveToPointControlPoint1ControlPoint2

func (b_ BezierPath) CurveToPointControlPoint1ControlPoint2(endPoint foundation.Point, controlPoint1 foundation.Point, controlPoint2 foundation.Point)

Adds a Bezier cubic curve to the path. Full Topic

func (BezierPath) ElementAtIndex

func (b_ BezierPath) ElementAtIndex(index int) BezierPathElement

Returns the type of path element at the specified index. Full Topic

func (BezierPath) ElementCount

func (b_ BezierPath) ElementCount() int

The total number of path elements in the path. Full Topic

func (BezierPath) Fill

func (b_ BezierPath) Fill()

Paints the region enclosed by the path. Full Topic

func (BezierPath) Flatness

func (b_ BezierPath) Flatness() float64

The accuracy with which curves are rendered. Full Topic

func (BezierPath) GetLineDashCountPhase

func (b_ BezierPath) GetLineDashCountPhase(pattern *float64, count *int, phase *float64)

Returns the line-stroking pattern for the receiver. Full Topic

func (BezierPath) Init

func (b_ BezierPath) Init() BezierPath

func (BezierPath) IsEmpty

func (b_ BezierPath) IsEmpty() bool

A Boolean value that indicates whether the path is empty. Full Topic

func (BezierPath) LineCapStyle

func (b_ BezierPath) LineCapStyle() LineCapStyle

The line cap style for the path. Full Topic

func (BezierPath) LineJoinStyle

func (b_ BezierPath) LineJoinStyle() LineJoinStyle

The line join style for the path. Full Topic

func (BezierPath) LineToPoint

func (b_ BezierPath) LineToPoint(point foundation.Point)

Appends a straight line to the path. Full Topic

func (BezierPath) LineWidth

func (b_ BezierPath) LineWidth() float64

The width of stroked path lines. Full Topic

func (BezierPath) MiterLimit

func (b_ BezierPath) MiterLimit() float64

The limit at which miter joins are converted to bevel joins. Full Topic

func (BezierPath) MoveToPoint

func (b_ BezierPath) MoveToPoint(point foundation.Point)

Moves the path’s current point to the specified location. Full Topic

func (BezierPath) RelativeCurveToPointControlPoint1ControlPoint2

func (b_ BezierPath) RelativeCurveToPointControlPoint1ControlPoint2(endPoint foundation.Point, controlPoint1 foundation.Point, controlPoint2 foundation.Point)

Adds a Bezier cubic curve to the path from the current point to a new location, which is specified as a relative distance from the current point. Full Topic

func (BezierPath) RelativeLineToPoint

func (b_ BezierPath) RelativeLineToPoint(point foundation.Point)

Appends a straight line segment to the path starting at the current point and moving towards the specified point, relative to the current location. Full Topic

func (BezierPath) RelativeMoveToPoint

func (b_ BezierPath) RelativeMoveToPoint(point foundation.Point)

Moves the path’s current point to a new point whose location is the specified distance from the current point. Full Topic

func (BezierPath) RemoveAllPoints

func (b_ BezierPath) RemoveAllPoints()

Removes all path elements from the path, effectively clearing the path. Full Topic

func (BezierPath) SetAssociatedPointsAtIndex

func (b_ BezierPath) SetAssociatedPointsAtIndex(points foundation.PointArray, index int)

Changes the points associated with the specified path element. Full Topic

func (BezierPath) SetClip

func (b_ BezierPath) SetClip()

Replaces the clipping path of the current graphics context with the area inside the path. Full Topic

func (BezierPath) SetFlatness

func (b_ BezierPath) SetFlatness(value float64)

The accuracy with which curves are rendered. Full Topic

func (BezierPath) SetLineCapStyle

func (b_ BezierPath) SetLineCapStyle(value LineCapStyle)

The line cap style for the path. Full Topic

func (BezierPath) SetLineDashCountPhase

func (b_ BezierPath) SetLineDashCountPhase(pattern *float64, count int, phase float64)

Sets the line-stroking pattern for the path. Full Topic

func (BezierPath) SetLineJoinStyle

func (b_ BezierPath) SetLineJoinStyle(value LineJoinStyle)

The line join style for the path. Full Topic

func (BezierPath) SetLineWidth

func (b_ BezierPath) SetLineWidth(value float64)

The width of stroked path lines. Full Topic

func (BezierPath) SetMiterLimit

func (b_ BezierPath) SetMiterLimit(value float64)

The limit at which miter joins are converted to bevel joins. Full Topic

func (BezierPath) SetWindingRule

func (b_ BezierPath) SetWindingRule(value WindingRule)

The winding rule used to fill the path. Full Topic

func (BezierPath) Stroke

func (b_ BezierPath) Stroke()

Draws a line along the path using the current stroke color and drawing attributes. Full Topic

func (BezierPath) TransformUsingAffineTransform

func (b_ BezierPath) TransformUsingAffineTransform(transform foundation.IAffineTransform)

Transforms all points in the path using the specified transform. Full Topic

func (BezierPath) WindingRule

func (b_ BezierPath) WindingRule() WindingRule

The winding rule used to fill the path. Full Topic

type BezierPathElement

type BezierPathElement uint

Constants that specify basic path element commands. Full Topic

const (
	BezierPathElementClosePath BezierPathElement = 3
	BezierPathElementCurveTo   BezierPathElement = 2
	BezierPathElementLineTo    BezierPathElement = 1
	BezierPathElementMoveTo    BezierPathElement = 0
	ClosePathBezierPathElement BezierPathElement = 3
	CurveToBezierPathElement   BezierPathElement = 2
	LineToBezierPathElement    BezierPathElement = 1
	MoveToBezierPathElement    BezierPathElement = 0
)

type BindingInfoKey

type BindingInfoKey string
[Full Topic]
const (
	ObservedKeyPathKey BindingInfoKey = "NSObservedKeyPath"
	ObservedObjectKey  BindingInfoKey = "NSObservedObject"
	OptionsKey         BindingInfoKey = "NSOptions"
)

type BindingName

type BindingName string

Values that specify a binding for certain methods. Full Topic

const (
	AlignmentBinding                        BindingName = "alignment"
	AlternateImageBinding                   BindingName = "alternateImage"
	AlternateTitleBinding                   BindingName = "alternateTitle"
	AnimateBinding                          BindingName = "animate"
	AnimationDelayBinding                   BindingName = "animationDelay"
	ArgumentBinding                         BindingName = "argument"
	AttributedStringBinding                 BindingName = "attributedString"
	ContentArrayBinding                     BindingName = "contentArray"
	ContentArrayForMultipleSelectionBinding BindingName = "contentArrayForMultipleSelection"
	ContentBinding                          BindingName = "content"
	ContentDictionaryBinding                BindingName = "contentDictionary"
	ContentHeightBinding                    BindingName = "contentHeight"
	ContentObjectBinding                    BindingName = "contentObject"
	ContentObjectsBinding                   BindingName = "contentObjects"
	ContentSetBinding                       BindingName = "contentSet"
	ContentValuesBinding                    BindingName = "contentValues"
	ContentWidthBinding                     BindingName = "contentWidth"
	CriticalValueBinding                    BindingName = "criticalValue"
	DataBinding                             BindingName = "data"
	DisplayPatternTitleBinding              BindingName = "displayPatternTitle"
	DisplayPatternValueBinding              BindingName = "displayPatternValue"
	DocumentEditedBinding                   BindingName = "documentEdited"
	DoubleClickArgumentBinding              BindingName = "doubleClickArgument"
	DoubleClickTargetBinding                BindingName = "doubleClickTarget"
	EditableBinding                         BindingName = "editable"
	EnabledBinding                          BindingName = "enabled"
	ExcludedKeysBinding                     BindingName = "excludedKeys"
	FilterPredicateBinding                  BindingName = "filterPredicate"
	FontBinding                             BindingName = "font"
	FontBoldBinding                         BindingName = "fontBold"
	FontFamilyNameBinding                   BindingName = "fontFamilyName"
	FontItalicBinding                       BindingName = "fontItalic"
	FontNameBinding                         BindingName = "fontName"
	FontSizeBinding                         BindingName = "fontSize"
	HeaderTitleBinding                      BindingName = "headerTitle"
	HiddenBinding                           BindingName = "hidden"
	ImageBinding                            BindingName = "image"
	IncludedKeysBinding                     BindingName = "includedKeys"
	InitialKeyBinding                       BindingName = "initialKey"
	InitialValueBinding                     BindingName = "initialValue"
	IsIndeterminateBinding                  BindingName = "isIndeterminate"
	LabelBinding                            BindingName = "label"
	LocalizedKeyDictionaryBinding           BindingName = "localizedKeyDictionary"
	ManagedObjectContextBinding             BindingName = "managedObjectContext"
	MaxValueBinding                         BindingName = "maxValue"
	MaxWidthBinding                         BindingName = "maxWidth"
	MaximumRecentsBinding                   BindingName = "maximumRecents"
	MinValueBinding                         BindingName = "minValue"
	MinWidthBinding                         BindingName = "minWidth"
	MixedStateImageBinding                  BindingName = "mixedStateImage"
	OffStateImageBinding                    BindingName = "offStateImage"
	OnStateImageBinding                     BindingName = "onStateImage"
	PositioningRectBinding                  BindingName = "positioningRect"
	PredicateBinding                        BindingName = "predicate"
	RecentSearchesBinding                   BindingName = "recentSearches"
	RepresentedFilenameBinding              BindingName = "representedFilename"
	RowHeightBinding                        BindingName = "rowHeight"
	SelectedIdentifierBinding               BindingName = "selectedIdentifier"
	SelectedIndexBinding                    BindingName = "selectedIndex"
	SelectedLabelBinding                    BindingName = "selectedLabel"
	SelectedObjectBinding                   BindingName = "selectedObject"
	SelectedObjectsBinding                  BindingName = "selectedObjects"
	SelectedTagBinding                      BindingName = "selectedTag"
	SelectedValueBinding                    BindingName = "selectedValue"
	SelectedValuesBinding                   BindingName = "selectedValues"
	SelectionIndexPathsBinding              BindingName = "selectionIndexPaths"
	SelectionIndexesBinding                 BindingName = "selectionIndexes"
	SortDescriptorsBinding                  BindingName = "sortDescriptors"
	TargetBinding                           BindingName = "target"
	TextColorBinding                        BindingName = "textColor"
	TitleBinding                            BindingName = "title"
	ToolTipBinding                          BindingName = "toolTip"
	TransparentBinding                      BindingName = "transparent"
	ValueBinding                            BindingName = "value"
	ValuePathBinding                        BindingName = "valuePath"
	ValueURLBinding                         BindingName = "valueURL"
	VisibleBinding                          BindingName = "visible"
	WarningValueBinding                     BindingName = "warningValue"
	WidthBinding                            BindingName = "width"
)

type BindingOption

type BindingOption string

Values that are used as keys in the options dictionary passed to the bind:toObject:withKeyPath:options: method. Full Topic

const (
	AllowsEditingMultipleValuesSelectionBindingOption BindingOption = "NSAllowsEditingMultipleValuesSelection"
	AllowsNullArgumentBindingOption                   BindingOption = "NSAllowsNullArgument"
	AlwaysPresentsApplicationModalAlertsBindingOption BindingOption = "NSAlwaysPresentsApplicationModalAlerts"
	ConditionallySetsEditableBindingOption            BindingOption = "NSConditionallySetsEditable"
	ConditionallySetsEnabledBindingOption             BindingOption = "NSConditionallySetsEnabled"
	ConditionallySetsHiddenBindingOption              BindingOption = "NSConditionallySetsHidden"
	ContentPlacementTagBindingOption                  BindingOption = "NSContentPlacementTag"
	ContinuouslyUpdatesValueBindingOption             BindingOption = "NSContinuouslyUpdatesValue"
	CreatesSortDescriptorBindingOption                BindingOption = "NSCreatesSortDescriptor"
	DeletesObjectsOnRemoveBindingsOption              BindingOption = "NSDeletesObjectsOnRemove"
	DisplayNameBindingOption                          BindingOption = "NSDisplayName"
	DisplayPatternBindingOption                       BindingOption = "NSDisplayPattern"
	HandlesContentAsCompoundValueBindingOption        BindingOption = "NSHandlesContentAsCompoundValue"
	InsertsNullPlaceholderBindingOption               BindingOption = "NSInsertsNullPlaceholder"
	InvokesSeparatelyWithArrayObjectsBindingOption    BindingOption = "NSInvokesSeparatelyWithArrayObjects"
	MultipleValuesPlaceholderBindingOption            BindingOption = "NSMultipleValuesPlaceholder"
	NoSelectionPlaceholderBindingOption               BindingOption = "NSNoSelectionPlaceholder"
	NotApplicablePlaceholderBindingOption             BindingOption = "NSNotApplicablePlaceholder"
	NullPlaceholderBindingOption                      BindingOption = "NSNullPlaceholder"
	PredicateFormatBindingOption                      BindingOption = "NSPredicateFormat"
	RaisesForNotApplicableKeysBindingOption           BindingOption = "NSRaisesForNotApplicableKeys"
	SelectorNameBindingOption                         BindingOption = "NSSelectorName"
	SelectsAllWhenSettingContentBindingOption         BindingOption = "NSSelectsAllWhenSettingContent"
	ValidatesImmediatelyBindingOption                 BindingOption = "NSValidatesImmediately"
	ValueTransformerBindingOption                     BindingOption = "NSValueTransformer"
	ValueTransformerNameBindingOption                 BindingOption = "NSValueTransformerName"
)

type BindingSelectionMarker

type BindingSelectionMarker struct {
	objc.Object
}
[Full Topic]

func BindingSelectionMarkerFrom

func BindingSelectionMarkerFrom(ptr unsafe.Pointer) BindingSelectionMarker

func BindingSelectionMarker_Alloc

func BindingSelectionMarker_Alloc() BindingSelectionMarker

func BindingSelectionMarker_MultipleValuesSelectionMarker

func BindingSelectionMarker_MultipleValuesSelectionMarker() BindingSelectionMarker
[Full Topic]

func BindingSelectionMarker_NoSelectionMarker

func BindingSelectionMarker_NoSelectionMarker() BindingSelectionMarker
[Full Topic]

func BindingSelectionMarker_NotApplicableSelectionMarker

func BindingSelectionMarker_NotApplicableSelectionMarker() BindingSelectionMarker
[Full Topic]

func NewBindingSelectionMarker

func NewBindingSelectionMarker() BindingSelectionMarker

func (BindingSelectionMarker) Init

type BitmapFormat

type BitmapFormat uint

Constants that represent bitmap component formats. Full Topic

const (
	AlphaFirstBitmapFormat               BitmapFormat = 1
	AlphaNonpremultipliedBitmapFormat    BitmapFormat = 2
	BitmapFormatAlphaFirst               BitmapFormat = 1
	BitmapFormatAlphaNonpremultiplied    BitmapFormat = 2
	BitmapFormatFloatingPointSamples     BitmapFormat = 4
	BitmapFormatSixteenBitBigEndian      BitmapFormat = 1024
	BitmapFormatSixteenBitLittleEndian   BitmapFormat = 256
	BitmapFormatThirtyTwoBitBigEndian    BitmapFormat = 2048
	BitmapFormatThirtyTwoBitLittleEndian BitmapFormat = 512
	FloatingPointSamplesBitmapFormat     BitmapFormat = 4
)

type BitmapImageFileType

type BitmapImageFileType uint

Constants that specify bitmap file types. Full Topic

const (
	BMPFileType                 BitmapImageFileType = 1
	BitmapImageFileTypeBMP      BitmapImageFileType = 1
	BitmapImageFileTypeGIF      BitmapImageFileType = 2
	BitmapImageFileTypeJPEG     BitmapImageFileType = 3
	BitmapImageFileTypeJPEG2000 BitmapImageFileType = 5
	BitmapImageFileTypePNG      BitmapImageFileType = 4
	BitmapImageFileTypeTIFF     BitmapImageFileType = 0
	GIFFileType                 BitmapImageFileType = 2
	JPEG2000FileType            BitmapImageFileType = 5
	JPEGFileType                BitmapImageFileType = 3
	PNGFileType                 BitmapImageFileType = 4
	TIFFFileType                BitmapImageFileType = 0
)

type BitmapImageRep

type BitmapImageRep struct {
	ImageRep
}

An object that renders an image from bitmap data. Full Topic

func BitmapImageRepFrom

func BitmapImageRepFrom(ptr unsafe.Pointer) BitmapImageRep

func BitmapImageRep_Alloc

func BitmapImageRep_Alloc() BitmapImageRep

func BitmapImageRep_ImageRepWithData

func BitmapImageRep_ImageRepWithData(data []byte) BitmapImageRep

Creates and returns a bitmap image representation with the first image in the specified data. Full Topic

func NewBitmapImageRep

func NewBitmapImageRep() BitmapImageRep

func NewBitmapImageRepForIncrementalLoad

func NewBitmapImageRepForIncrementalLoad() BitmapImageRep

Initializes a newly allocated bitmap image representation for incremental loading. Full Topic

func NewBitmapImageRepWithBitmapDataPlanesPixelsWidePixelsHighBitsPerSampleSamplesPerPixelHasAlphaIsPlanarColorSpaceNameBytesPerRowBitsPerPixel

func NewBitmapImageRepWithBitmapDataPlanesPixelsWidePixelsHighBitsPerSampleSamplesPerPixelHasAlphaIsPlanarColorSpaceNameBytesPerRowBitsPerPixel(planes *uint8, width int, height int, bps int, spp int, alpha bool, isPlanar bool, colorSpaceName ColorSpaceName, rBytes int, pBits int) BitmapImageRep

Initializes a newly allocated bitmap image representation so it can render the specified image. Full Topic

func NewBitmapImageRepWithCGImage

func NewBitmapImageRepWithCGImage(cgImage coregraphics.ImageRef) BitmapImageRep

Returns a bitmap image representation from a Core Graphics image object. Full Topic

func NewBitmapImageRepWithCIImage

func NewBitmapImageRepWithCIImage(ciImage coreimage.IImage) BitmapImageRep

Returns a bitmap image representation from a Core Image object. Full Topic

func NewBitmapImageRepWithData

func NewBitmapImageRepWithData(data []byte) BitmapImageRep

Initializes a newly allocated bitmap image representation from the specified data. Full Topic

func (BitmapImageRep) BitmapData

func (b_ BitmapImageRep) BitmapData() *uint8

A pointer to the bitmap data. Full Topic

func (BitmapImageRep) BitmapFormat

func (b_ BitmapImageRep) BitmapFormat() BitmapFormat

The format of the bitmap image representation. Full Topic

func (BitmapImageRep) BitmapImageRepByConvertingToColorSpaceRenderingIntent

func (b_ BitmapImageRep) BitmapImageRepByConvertingToColorSpaceRenderingIntent(targetSpace IColorSpace, renderingIntent ColorRenderingIntent) BitmapImageRep

Converts the bitmap image representation to the specified color space. Full Topic

func (BitmapImageRep) BitmapImageRepByRetaggingWithColorSpace

func (b_ BitmapImageRep) BitmapImageRepByRetaggingWithColorSpace(newSpace IColorSpace) BitmapImageRep

Changes the color space tag of the bitmap image representation. Full Topic

func (BitmapImageRep) BitsPerPixel

func (b_ BitmapImageRep) BitsPerPixel() int

The number of bits allocated for each pixel in each plane of data. Full Topic

func (BitmapImageRep) BytesPerPlane

func (b_ BitmapImageRep) BytesPerPlane() int

The number of bytes in each plane or channel of data. Full Topic

func (BitmapImageRep) BytesPerRow

func (b_ BitmapImageRep) BytesPerRow() int

The minimum number of bytes required to specify a scan line in each data plane. Full Topic

func (BitmapImageRep) CGImage

func (b_ BitmapImageRep) CGImage() coregraphics.ImageRef

A Core Graphics image object based on the bitmap image representation’s data. Full Topic

func (BitmapImageRep) CanBeCompressedUsing

func (b_ BitmapImageRep) CanBeCompressedUsing(compression TIFFCompression) bool

Tests whether the bitmap image representation can be compressed by the specified compression scheme. Full Topic

func (BitmapImageRep) ColorAtXY

func (b_ BitmapImageRep) ColorAtXY(x int, y int) Color

Returns the color of the pixel at the specified coordinates. Full Topic

func (BitmapImageRep) ColorSpace

func (b_ BitmapImageRep) ColorSpace() ColorSpace

The color space of the bitmap. Full Topic

func (BitmapImageRep) ColorizeByMappingGrayToColorBlackMappingWhiteMapping

func (b_ BitmapImageRep) ColorizeByMappingGrayToColorBlackMappingWhiteMapping(midPoint float64, midPointColor IColor, shadowColor IColor, lightColor IColor)

Colorizes a grayscale image. Full Topic

func (BitmapImageRep) GetBitmapDataPlanes

func (b_ BitmapImageRep) GetBitmapDataPlanes(data *uint8)

Returns by indirection bitmap data of the bitmap image representation separated into planes. Full Topic

func (BitmapImageRep) GetCompressionFactor

func (b_ BitmapImageRep) GetCompressionFactor(compression *TIFFCompression, factor *float64)

Returns by indirection the bitmap image representation’s compression type and compression factor. Full Topic

func (BitmapImageRep) GetPixelAtXY

func (b_ BitmapImageRep) GetPixelAtXY(p *uint, x int, y int)

Returns by indirection the pixel data for the specified location in the bitmap image representation. Full Topic

func (BitmapImageRep) IncrementalLoadFromDataComplete

func (b_ BitmapImageRep) IncrementalLoadFromDataComplete(data []byte, complete bool) int

Loads the current image data into an incrementally-loaded image representation and returns the current status of the image. Full Topic

func (BitmapImageRep) Init

func (b_ BitmapImageRep) Init() BitmapImageRep

func (BitmapImageRep) InitForIncrementalLoad

func (b_ BitmapImageRep) InitForIncrementalLoad() BitmapImageRep

func (BitmapImageRep) InitWithBitmapDataPlanesPixelsWidePixelsHighBitsPerSampleSamplesPerPixelHasAlphaIsPlanarColorSpaceNameBytesPerRowBitsPerPixel

func (b_ BitmapImageRep) InitWithBitmapDataPlanesPixelsWidePixelsHighBitsPerSampleSamplesPerPixelHasAlphaIsPlanarColorSpaceNameBytesPerRowBitsPerPixel(planes *uint8, width int, height int, bps int, spp int, alpha bool, isPlanar bool, colorSpaceName ColorSpaceName, rBytes int, pBits int) BitmapImageRep

func (BitmapImageRep) InitWithCGImage

func (b_ BitmapImageRep) InitWithCGImage(cgImage coregraphics.ImageRef) BitmapImageRep

func (BitmapImageRep) InitWithCIImage

func (b_ BitmapImageRep) InitWithCIImage(ciImage coreimage.IImage) BitmapImageRep

func (BitmapImageRep) InitWithData

func (b_ BitmapImageRep) InitWithData(data []byte) BitmapImageRep

func (BitmapImageRep) IsPlanar

func (b_ BitmapImageRep) IsPlanar() bool

A Boolean value that indicates whether the image data is in a planar configuration. Full Topic

func (BitmapImageRep) NumberOfPlanes

func (b_ BitmapImageRep) NumberOfPlanes() int

The number of separate planes into which the image data is organized. Full Topic

func (BitmapImageRep) RepresentationUsingTypeProperties

func (b_ BitmapImageRep) RepresentationUsingTypeProperties(storageType BitmapImageFileType, properties map[BitmapImageRepPropertyKey]objc.IObject) []byte

Formats the bitmap representation’s image data using the specified storage type and properties and returns it in a data object. Full Topic

func (BitmapImageRep) SamplesPerPixel

func (b_ BitmapImageRep) SamplesPerPixel() int

The number of components for each pixel. Full Topic

func (BitmapImageRep) SetColorAtXY

func (b_ BitmapImageRep) SetColorAtXY(color IColor, x int, y int)

Changes the color of the pixel at the specified coordinates. Full Topic

func (BitmapImageRep) SetCompressionFactor

func (b_ BitmapImageRep) SetCompressionFactor(compression TIFFCompression, factor float64)

Sets the bitmap image representation’s compression type and compression factor. Full Topic

func (BitmapImageRep) SetPixelAtXY

func (b_ BitmapImageRep) SetPixelAtXY(p *uint, x int, y int)

Sets the bitmap image representation’s pixel at the specified coordinates to the specified raw pixel values. Full Topic

func (BitmapImageRep) SetPropertyWithValue

func (b_ BitmapImageRep) SetPropertyWithValue(property BitmapImageRepPropertyKey, value objc.IObject)

Sets the specified property of the bitmap image representation to the specified value. Full Topic

func (BitmapImageRep) TIFFRepresentation

func (b_ BitmapImageRep) TIFFRepresentation() []byte

A TIFF representation of the bitmap image data. Full Topic

func (BitmapImageRep) TIFFRepresentationUsingCompressionFactor

func (b_ BitmapImageRep) TIFFRepresentationUsingCompressionFactor(comp TIFFCompression, factor float64) []byte

Returns a TIFF representation of the image using the specified compression. Full Topic

func (BitmapImageRep) ValueForProperty

func (b_ BitmapImageRep) ValueForProperty(property BitmapImageRepPropertyKey) objc.Object

Returns the value for the specified property. Full Topic

type BitmapImageRepPropertyKey

type BitmapImageRepPropertyKey string

Constants that identify bitmap image representation properties. Full Topic

const (
	ImageColorSyncProfileData    BitmapImageRepPropertyKey = "NSImageColorSyncProfileData"
	ImageCompressionFactor       BitmapImageRepPropertyKey = "NSImageCompressionFactor"
	ImageCompressionMethod       BitmapImageRepPropertyKey = "NSImageCompressionMethod"
	ImageCurrentFrame            BitmapImageRepPropertyKey = "NSImageCurrentFrame"
	ImageCurrentFrameDuration    BitmapImageRepPropertyKey = "NSImageCurrentFrameDuration"
	ImageDitherTransparency      BitmapImageRepPropertyKey = "NSImageDitherTransparency"
	ImageEXIFData                BitmapImageRepPropertyKey = "NSImageEXIFData"
	ImageFallbackBackgroundColor BitmapImageRepPropertyKey = "NSImageFallbackBackgroundColor"
	ImageFrameCount              BitmapImageRepPropertyKey = "NSImageFrameCount"
	ImageGamma                   BitmapImageRepPropertyKey = "NSImageGamma"
	ImageIPTCData                BitmapImageRepPropertyKey = "NSImageIPTCData"
	ImageInterlaced              BitmapImageRepPropertyKey = "NSImageInterlaced"
	ImageLoopCount               BitmapImageRepPropertyKey = "NSImageLoopCount"
	ImageProgressive             BitmapImageRepPropertyKey = "NSImageProgressive"
	ImageRGBColorTable           BitmapImageRepPropertyKey = "NSImageRGBColorTable"
)

type BorderType

type BorderType uint

These constants specify the type of a view’s border. Full Topic

const (
	BezelBorder  BorderType = 2
	GrooveBorder BorderType = 3
	LineBorder   BorderType = 1
	NoBorder     BorderType = 0
)

type Box

type Box struct {
	View
}

A stylized rectangular box with an optional title. Full Topic

func BoxFrom

func BoxFrom(ptr unsafe.Pointer) Box

func Box_Alloc

func Box_Alloc() Box

func NewBox

func NewBox() Box

func NewBoxWithFrame

func NewBoxWithFrame(frameRect foundation.Rect) Box

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func (Box) BorderColor

func (b_ Box) BorderColor() Color

The color of the receiver’s border when the receiver is a custom box with a simple line border. Full Topic

func (Box) BorderRect

func (b_ Box) BorderRect() foundation.Rect

The rectangle in which the receiver’s border is drawn. Full Topic

func (Box) BorderWidth

func (b_ Box) BorderWidth() float64

The width of the receiver’s border when the receiver is a custom box with a simple line border. Full Topic

func (Box) BoxType

func (b_ Box) BoxType() BoxType

The receiver’s box type. Full Topic

func (Box) ContentView

func (b_ Box) ContentView() View

The receiver’s content view. Full Topic

func (Box) ContentViewMargins

func (b_ Box) ContentViewMargins() foundation.Size

The distances between the border and the content view. Full Topic

func (Box) CornerRadius

func (b_ Box) CornerRadius() float64

The radius of the receiver’s corners when the receiver is a custom box with a simple line border. Full Topic

func (Box) FillColor

func (b_ Box) FillColor() Color

The color of the receiver’s background when the receiver is a custom box with a simple line border. Full Topic

func (Box) Init

func (b_ Box) Init() Box

func (Box) InitWithFrame

func (b_ Box) InitWithFrame(frameRect foundation.Rect) Box

func (Box) IsTransparent

func (b_ Box) IsTransparent() bool

A Boolean value that indicates whether the receiver is transparent. Full Topic

func (Box) SetBorderColor

func (b_ Box) SetBorderColor(value IColor)

The color of the receiver’s border when the receiver is a custom box with a simple line border. Full Topic

func (Box) SetBorderWidth

func (b_ Box) SetBorderWidth(value float64)

The width of the receiver’s border when the receiver is a custom box with a simple line border. Full Topic

func (Box) SetBoxType

func (b_ Box) SetBoxType(value BoxType)

The receiver’s box type. Full Topic

func (Box) SetContentView

func (b_ Box) SetContentView(value IView)

The receiver’s content view. Full Topic

func (Box) SetContentViewMargins

func (b_ Box) SetContentViewMargins(value foundation.Size)

The distances between the border and the content view. Full Topic

func (Box) SetCornerRadius

func (b_ Box) SetCornerRadius(value float64)

The radius of the receiver’s corners when the receiver is a custom box with a simple line border. Full Topic

func (Box) SetFillColor

func (b_ Box) SetFillColor(value IColor)

The color of the receiver’s background when the receiver is a custom box with a simple line border. Full Topic

func (Box) SetFrameFromContentFrame

func (b_ Box) SetFrameFromContentFrame(contentFrame foundation.Rect)

Places the receiver so its content view lies on the specified frame. Full Topic

func (Box) SetTitle

func (b_ Box) SetTitle(value string)

The receiver’s title. Full Topic

func (Box) SetTitleFont

func (b_ Box) SetTitleFont(value IFont)

The font object used to draw the receiver’s title. Full Topic

func (Box) SetTitlePosition

func (b_ Box) SetTitlePosition(value TitlePosition)

A constant representing the title position. Full Topic

func (Box) SetTransparent

func (b_ Box) SetTransparent(value bool)

A Boolean value that indicates whether the receiver is transparent. Full Topic

func (Box) SizeToFit

func (b_ Box) SizeToFit()

Resizes and moves the receiver’s content view so it just encloses its subviews. Full Topic

func (Box) Title

func (b_ Box) Title() string

The receiver’s title. Full Topic

func (Box) TitleCell

func (b_ Box) TitleCell() objc.Object

The cell used to display the receiver’s title. Full Topic

func (Box) TitleFont

func (b_ Box) TitleFont() Font

The font object used to draw the receiver’s title. Full Topic

func (Box) TitlePosition

func (b_ Box) TitlePosition() TitlePosition

A constant representing the title position. Full Topic

func (Box) TitleRect

func (b_ Box) TitleRect() foundation.Rect

The rectangle in which the receiver’s title is drawn. Full Topic

type BoxType

type BoxType uint

These constants and data type identifies box types, which, in conjunction with a box's border type, define the appearance of the box. Full Topic

const (
	BoxCustom    BoxType = 4
	BoxOldStyle  BoxType = 3
	BoxPrimary   BoxType = 0
	BoxSecondary BoxType = 1
	BoxSeparator BoxType = 2
)

type Browser

type Browser struct {
	Control
}

An interface that displays a hierarchically organized list of data items that can be navigated and selected. Full Topic

func BrowserFrom

func BrowserFrom(ptr unsafe.Pointer) Browser

func Browser_Alloc

func Browser_Alloc() Browser

func NewBrowser

func NewBrowser() Browser

func NewBrowserWithFrame

func NewBrowserWithFrame(frameRect foundation.Rect) Browser

Initializes a control with the specified frame rectangle. Full Topic

func (Browser) AddColumn

func (b_ Browser) AddColumn()

Adds a column to the right of the last column. Full Topic

func (Browser) AllowsBranchSelection

func (b_ Browser) AllowsBranchSelection() bool

A Boolean that indicates whether the user can select branch items. Full Topic

func (Browser) AllowsEmptySelection

func (b_ Browser) AllowsEmptySelection() bool

A Boolean that indicates whether there can be nothing selected. Full Topic

func (Browser) AllowsMultipleSelection

func (b_ Browser) AllowsMultipleSelection() bool

A Boolean that indicates whether the user can select multiple items. Full Topic

func (Browser) AllowsTypeSelect

func (b_ Browser) AllowsTypeSelect() bool

A Boolean that indicates whether the browser allows keystroke-based selection (type select). Full Topic

func (Browser) AutohidesScroller

func (b_ Browser) AutohidesScroller() bool

A Boolean that indicates whether the browser automatically hides its scroller. Full Topic

func (Browser) BackgroundColor

func (b_ Browser) BackgroundColor() Color

The browser’s background color. Full Topic

func (Browser) CanDragRowsWithIndexesInColumnWithEvent

func (b_ Browser) CanDragRowsWithIndexesInColumnWithEvent(rowIndexes foundation.IIndexSet, column int, event IEvent) bool

Indicates whether the browser can attempt to initiate a drag of the given rows for the given event. Full Topic

func (Browser) CellPrototype

func (b_ Browser) CellPrototype() objc.Object

The prototype NSCell for displaying items in the matrices in the columns of the browser. Full Topic

func (Browser) ClickedColumn

func (b_ Browser) ClickedColumn() int

The column number of the cell that the user clicked to display a context menu. Full Topic

func (Browser) ClickedRow

func (b_ Browser) ClickedRow() int

The row number of the cell that the user clicked to display a context menu. Full Topic

func (Browser) ColumnContentWidthForColumnWidth

func (b_ Browser) ColumnContentWidthForColumnWidth(columnWidth float64) float64

Returns the content width for a given column width. Full Topic

func (Browser) ColumnResizingType

func (b_ Browser) ColumnResizingType() BrowserColumnResizingType

A constant indicating the browser’s column resizing type. Full Topic

func (Browser) ColumnWidthForColumnContentWidth

func (b_ Browser) ColumnWidthForColumnContentWidth(columnContentWidth float64) float64

Returns the column width for the width of the given column’s content. Full Topic

func (Browser) ColumnsAutosaveName

func (b_ Browser) ColumnsAutosaveName() BrowserColumnsAutosaveName

The name used to automatically save the browser’s column configuration. Full Topic

func (Browser) DefaultColumnWidth

func (b_ Browser) DefaultColumnWidth() float64

Returns the default column width of the browser’s columns. Full Topic

func (Browser) Delegate

func (b_ Browser) Delegate() BrowserDelegateWrapper

The browser’s delegate. Full Topic

func (Browser) DoClick

func (b_ Browser) DoClick(sender objc.IObject)

Responds to (single) mouse clicks in a column of the browser. Full Topic

func (Browser) DoDoubleClick

func (b_ Browser) DoDoubleClick(sender objc.IObject)

Responds to double clicks in a column of the browser. Full Topic

func (Browser) DoubleAction

func (b_ Browser) DoubleAction() objc.Selector

The browser’s double-click action method. Full Topic

func (Browser) DraggingImageForRowsWithIndexesInColumnWithEventOffset

func (b_ Browser) DraggingImageForRowsWithIndexesInColumnWithEventOffset(rowIndexes foundation.IIndexSet, column int, event IEvent, dragImageOffset foundation.PointPointer) Image

Provides an image to represent dragged rows during a drag operation on the browser. Full Topic

func (Browser) DrawTitleOfColumnInRect

func (b_ Browser) DrawTitleOfColumnInRect(column int, rect foundation.Rect)

Draws the title for the specified column within the given rectangle. Full Topic

func (Browser) EditItemAtIndexPathWithEventSelect

func (b_ Browser) EditItemAtIndexPathWithEventSelect(indexPath foundation.IIndexPath, event IEvent, select_ bool)

Begins editing the item at the specified path. Full Topic

func (Browser) FirstVisibleColumn

func (b_ Browser) FirstVisibleColumn() int

The index of the first visible column. Full Topic

func (Browser) FrameOfColumn

func (b_ Browser) FrameOfColumn(column int) foundation.Rect

Returns the rectangle containing the given column. Full Topic

func (Browser) FrameOfInsideOfColumn

func (b_ Browser) FrameOfInsideOfColumn(column int) foundation.Rect

Returns the rectangle containing the specified column, not including borders. Full Topic

func (Browser) FrameOfRowInColumn

func (b_ Browser) FrameOfRowInColumn(row int, column int) foundation.Rect

Returns the frame of the cell at the specified location, including the expandable arrow. Full Topic

func (Browser) GetRowColumnForPoint

func (b_ Browser) GetRowColumnForPoint(row *int, column *int, point foundation.Point) bool

Gets the row and column coordinates for the specified point, if a cell exists at that point. Full Topic

func (Browser) HasHorizontalScroller

func (b_ Browser) HasHorizontalScroller() bool

A Boolean that indicates whether the browser has a horizontal scroller. Full Topic

func (Browser) IndexPathForColumn

func (b_ Browser) IndexPathForColumn(column int) foundation.IndexPath

Returns the index path of the item whose children are displayed in the given column. Full Topic

func (Browser) Init

func (b_ Browser) Init() Browser

func (Browser) InitWithFrame

func (b_ Browser) InitWithFrame(frameRect foundation.Rect) Browser

func (Browser) IsLeafItem

func (b_ Browser) IsLeafItem(item objc.IObject) bool

Returns whether the specified item is a leaf item. Full Topic

func (Browser) IsLoaded

func (b_ Browser) IsLoaded() bool

A Boolean that indicates whether column 0 is loaded. Full Topic

func (Browser) IsTitled

func (b_ Browser) IsTitled() bool

A Boolean that indicates whether columns display titles. Full Topic

func (Browser) ItemAtIndexPath

func (b_ Browser) ItemAtIndexPath(indexPath foundation.IIndexPath) objc.Object

Returns the item at the specified index path. Full Topic

func (Browser) ItemAtRowInColumn

func (b_ Browser) ItemAtRowInColumn(row int, column int) objc.Object

Returns the item located at the specified row and column. Full Topic

func (Browser) LastColumn

func (b_ Browser) LastColumn() int

The index of the last column loaded. Full Topic

func (Browser) LastVisibleColumn

func (b_ Browser) LastVisibleColumn() int

The index of the last visible column. Full Topic

func (Browser) LoadColumnZero

func (b_ Browser) LoadColumnZero()

Loads column 0; unloads previously loaded columns. Full Topic

func (Browser) LoadedCellAtRowColumn

func (b_ Browser) LoadedCellAtRowColumn(row int, col int) objc.Object

Loads, if necessary, and returns the cell at the specified row and column location. Full Topic

func (Browser) MaxVisibleColumns

func (b_ Browser) MaxVisibleColumns() int

The maximum number of visible columns. Full Topic

func (Browser) MinColumnWidth

func (b_ Browser) MinColumnWidth() float64

The minimum column width, in pixels. Full Topic

func (Browser) NoteHeightOfRowsWithIndexesChangedInColumn

func (b_ Browser) NoteHeightOfRowsWithIndexesChangedInColumn(indexSet foundation.IIndexSet, columnIndex int)

Immediately retiles the browser’s columns using row heights specified by the browser’s delegate. Full Topic

func (Browser) NumberOfVisibleColumns

func (b_ Browser) NumberOfVisibleColumns() int

The number of visible columns. Full Topic

func (Browser) ParentForItemsInColumn

func (b_ Browser) ParentForItemsInColumn(column int) objc.Object

Returns the item that contains the children located in the specified column. Full Topic

func (Browser) Path

func (b_ Browser) Path() string

Returns a string representing the browser’s current path. Full Topic

func (Browser) PathSeparator

func (b_ Browser) PathSeparator() string

The path separator. Full Topic

func (Browser) PathToColumn

func (b_ Browser) PathToColumn(column int) string

Returns a string representing the path from the first column up to, but not including, the column at the given index. Full Topic

func (Browser) PrefersAllColumnUserResizing

func (b_ Browser) PrefersAllColumnUserResizing() bool

A Boolean that indicates whether the browser is set to resize all columns simultaneously rather than resizing a single column at a time. Full Topic

func (Browser) ReloadColumn

func (b_ Browser) ReloadColumn(column int)

Reloads the given column. Full Topic

func (Browser) ReloadDataForRowIndexesInColumn

func (b_ Browser) ReloadDataForRowIndexesInColumn(rowIndexes foundation.IIndexSet, column int)

Updates the rows in the column with the specified column index with indexes in the specified set. Full Topic

func (Browser) ReusesColumns

func (b_ Browser) ReusesColumns() bool

A Boolean that indicates whether the browser reuses matrix objects after their columns are unloaded. Full Topic

func (Browser) RowHeight

func (b_ Browser) RowHeight() float64

The height of the browser’s rows. Full Topic

func (Browser) ScrollColumnToVisible

func (b_ Browser) ScrollColumnToVisible(column int)

Scrolls to make the specified column visible. Full Topic

func (Browser) ScrollColumnsLeftBy

func (b_ Browser) ScrollColumnsLeftBy(shiftAmount int)

Scrolls columns left by the specified number of columns. Full Topic

func (Browser) ScrollColumnsRightBy

func (b_ Browser) ScrollColumnsRightBy(shiftAmount int)

Scrolls columns right by the specified number of columns. Full Topic

func (Browser) ScrollRowToVisibleInColumn

func (b_ Browser) ScrollRowToVisibleInColumn(row int, column int)

Scrolls the specified row to be visible within the specified column. Full Topic

func (Browser) SelectAll

func (b_ Browser) SelectAll(sender objc.IObject)

Selects all cells in the last column of the browser. Full Topic

func (Browser) SelectRowInColumn

func (b_ Browser) SelectRowInColumn(row int, column int)

Selects the cell at the specified row and column index. Full Topic

func (Browser) SelectRowIndexesInColumn

func (b_ Browser) SelectRowIndexesInColumn(indexes foundation.IIndexSet, column int)

Specifies the selected rows in a given column of the browser. Full Topic

func (Browser) SelectedCell

func (b_ Browser) SelectedCell() objc.Object

The last (rightmost and lowest) selected cell. Full Topic

func (Browser) SelectedCellInColumn

func (b_ Browser) SelectedCellInColumn(column int) objc.Object

Returns the last (lowest) cell selected in the given column. Full Topic

func (Browser) SelectedCells

func (b_ Browser) SelectedCells() []Cell

All cells selected in the rightmost column. Full Topic

func (Browser) SelectedColumn

func (b_ Browser) SelectedColumn() int

The index of the last column with a selected item. Full Topic

func (Browser) SelectedRowInColumn

func (b_ Browser) SelectedRowInColumn(column int) int

Returns the row index of the selected cell in the specified column. Full Topic

func (Browser) SelectedRowIndexesInColumn

func (b_ Browser) SelectedRowIndexesInColumn(column int) foundation.IndexSet

Provides the indexes of the selected rows in a given column of the browser. Full Topic

func (Browser) SelectionIndexPath

func (b_ Browser) SelectionIndexPath() foundation.IndexPath

The index path of the item selected in the browser. Full Topic

func (Browser) SelectionIndexPaths

func (b_ Browser) SelectionIndexPaths() []foundation.IndexPath

An array containing the index paths of all items selected in the browser. Full Topic

func (Browser) SendAction

func (b_ Browser) SendAction() bool

Sends the action message to the target. Full Topic

func (Browser) SendsActionOnArrowKeys

func (b_ Browser) SendsActionOnArrowKeys() bool

A Boolean that indicates whether pressing an arrow key causes an action message to be sent. Full Topic

func (Browser) SeparatesColumns

func (b_ Browser) SeparatesColumns() bool

A Boolean that indicates whether columns are separated by bezeled borders. Full Topic

func (Browser) SetAllowsBranchSelection

func (b_ Browser) SetAllowsBranchSelection(value bool)

A Boolean that indicates whether the user can select branch items. Full Topic

func (Browser) SetAllowsEmptySelection

func (b_ Browser) SetAllowsEmptySelection(value bool)

A Boolean that indicates whether there can be nothing selected. Full Topic

func (Browser) SetAllowsMultipleSelection

func (b_ Browser) SetAllowsMultipleSelection(value bool)

A Boolean that indicates whether the user can select multiple items. Full Topic

func (Browser) SetAllowsTypeSelect

func (b_ Browser) SetAllowsTypeSelect(value bool)

A Boolean that indicates whether the browser allows keystroke-based selection (type select). Full Topic

func (Browser) SetAutohidesScroller

func (b_ Browser) SetAutohidesScroller(value bool)

A Boolean that indicates whether the browser automatically hides its scroller. Full Topic

func (Browser) SetBackgroundColor

func (b_ Browser) SetBackgroundColor(value IColor)

The browser’s background color. Full Topic

func (Browser) SetCellClass

func (b_ Browser) SetCellClass(factoryId objc.IClass)

Sets the class of the cell to be used by the matrices in the columns of the browser. Full Topic

func (Browser) SetCellPrototype

func (b_ Browser) SetCellPrototype(value objc.IObject)

The prototype NSCell for displaying items in the matrices in the columns of the browser. Full Topic

func (Browser) SetColumnResizingType

func (b_ Browser) SetColumnResizingType(value BrowserColumnResizingType)

A constant indicating the browser’s column resizing type. Full Topic

func (Browser) SetColumnsAutosaveName

func (b_ Browser) SetColumnsAutosaveName(value BrowserColumnsAutosaveName)

The name used to automatically save the browser’s column configuration. Full Topic

func (Browser) SetDefaultColumnWidth

func (b_ Browser) SetDefaultColumnWidth(columnWidth float64)

Sets the default column width for new browser columns that do not otherwise have an initial width from defaults or the browser’s delegate. Full Topic

func (Browser) SetDelegate

func (b_ Browser) SetDelegate(value PBrowserDelegate)

The browser’s delegate. Full Topic

func (Browser) SetDelegateObject

func (b_ Browser) SetDelegateObject(valueObject objc.IObject)

The browser’s delegate. Full Topic

func (Browser) SetDoubleAction

func (b_ Browser) SetDoubleAction(value objc.Selector)

The browser’s double-click action method. Full Topic

func (Browser) SetDraggingSourceOperationMaskForLocal

func (b_ Browser) SetDraggingSourceOperationMaskForLocal(mask DragOperation, isLocal bool)

Specifies the drag-operation mask for dragging operations with local or external destinations. Full Topic

func (Browser) SetHasHorizontalScroller

func (b_ Browser) SetHasHorizontalScroller(value bool)

A Boolean that indicates whether the browser has a horizontal scroller. Full Topic

func (Browser) SetLastColumn

func (b_ Browser) SetLastColumn(value int)

The index of the last column loaded. Full Topic

func (Browser) SetMaxVisibleColumns

func (b_ Browser) SetMaxVisibleColumns(value int)

The maximum number of visible columns. Full Topic

func (Browser) SetMinColumnWidth

func (b_ Browser) SetMinColumnWidth(value float64)

The minimum column width, in pixels. Full Topic

func (Browser) SetPath

func (b_ Browser) SetPath(path string) bool

Sets the path to be displayed by the browser. Full Topic

func (Browser) SetPathSeparator

func (b_ Browser) SetPathSeparator(value string)

The path separator. Full Topic

func (Browser) SetPrefersAllColumnUserResizing

func (b_ Browser) SetPrefersAllColumnUserResizing(value bool)

A Boolean that indicates whether the browser is set to resize all columns simultaneously rather than resizing a single column at a time. Full Topic

func (Browser) SetReusesColumns

func (b_ Browser) SetReusesColumns(value bool)

A Boolean that indicates whether the browser reuses matrix objects after their columns are unloaded. Full Topic

func (Browser) SetRowHeight

func (b_ Browser) SetRowHeight(value float64)

The height of the browser’s rows. Full Topic

func (Browser) SetSelectionIndexPath

func (b_ Browser) SetSelectionIndexPath(value foundation.IIndexPath)

The index path of the item selected in the browser. Full Topic

func (Browser) SetSelectionIndexPaths

func (b_ Browser) SetSelectionIndexPaths(value []foundation.IIndexPath)

An array containing the index paths of all items selected in the browser. Full Topic

func (Browser) SetSendsActionOnArrowKeys

func (b_ Browser) SetSendsActionOnArrowKeys(value bool)

A Boolean that indicates whether pressing an arrow key causes an action message to be sent. Full Topic

func (Browser) SetSeparatesColumns

func (b_ Browser) SetSeparatesColumns(value bool)

A Boolean that indicates whether columns are separated by bezeled borders. Full Topic

func (Browser) SetTakesTitleFromPreviousColumn

func (b_ Browser) SetTakesTitleFromPreviousColumn(value bool)

A Boolean that indicates whether a column takes its title from the selected cell in the previous column. Full Topic

func (Browser) SetTitleOfColumn

func (b_ Browser) SetTitleOfColumn(string_ string, column int)

Sets the title of the given column. Full Topic

func (Browser) SetTitled

func (b_ Browser) SetTitled(value bool)

A Boolean that indicates whether columns display titles. Full Topic

func (Browser) SetWidthOfColumn

func (b_ Browser) SetWidthOfColumn(columnWidth float64, columnIndex int)

Sets the width of the specified column. Full Topic

func (Browser) TakesTitleFromPreviousColumn

func (b_ Browser) TakesTitleFromPreviousColumn() bool

A Boolean that indicates whether a column takes its title from the selected cell in the previous column. Full Topic

func (Browser) Tile

func (b_ Browser) Tile()

Adjusts the various subviews of the browser—scrollers, columns, titles, and so on—without redrawing. Full Topic

func (Browser) TitleFrameOfColumn

func (b_ Browser) TitleFrameOfColumn(column int) foundation.Rect

Returns the bounds of the title frame for the specified column. Full Topic

func (Browser) TitleHeight

func (b_ Browser) TitleHeight() float64

The height of the column titles for the browser. Full Topic

func (Browser) TitleOfColumn

func (b_ Browser) TitleOfColumn(column int) string

Returns the title displayed for the given column. Full Topic

func (Browser) ValidateVisibleColumns

func (b_ Browser) ValidateVisibleColumns()

Validates the browser’s visible columns. Full Topic

func (Browser) WidthOfColumn

func (b_ Browser) WidthOfColumn(column int) float64

Returns the width of the specified column. Full Topic

type BrowserCell

type BrowserCell struct {
	Cell
}

The user interface of a browser. Full Topic

func BrowserCellFrom

func BrowserCellFrom(ptr unsafe.Pointer) BrowserCell

func BrowserCell_Alloc

func BrowserCell_Alloc() BrowserCell

func NewBrowserCell

func NewBrowserCell() BrowserCell

func NewBrowserCellImageCell

func NewBrowserCellImageCell(image IImage) BrowserCell
[Full Topic]

func NewBrowserCellTextCell

func NewBrowserCellTextCell(string_ string) BrowserCell
[Full Topic]

func (BrowserCell) AlternateImage

func (b_ BrowserCell) AlternateImage() Image

The browser cell’s image for the highlighted state. Full Topic

func (BrowserCell) HighlightColorInView

func (b_ BrowserCell) HighlightColorInView(controlView IView) Color

Returns the highlight color that the receiver wants to display. Full Topic

func (BrowserCell) Init

func (b_ BrowserCell) Init() BrowserCell

func (BrowserCell) InitImageCell

func (b_ BrowserCell) InitImageCell(image IImage) BrowserCell

func (BrowserCell) InitTextCell

func (b_ BrowserCell) InitTextCell(string_ string) BrowserCell

func (BrowserCell) IsLeaf

func (b_ BrowserCell) IsLeaf() bool

A Boolean that indicates whether the browser cell is a leaf or a branch cell. Full Topic

func (BrowserCell) IsLoaded

func (b_ BrowserCell) IsLoaded() bool

A Boolean that indicates whether the cell is ready to display. Full Topic

func (BrowserCell) Reset

func (b_ BrowserCell) Reset()

Unhighlights the receiver and unsets its state. Full Topic

func (BrowserCell) Set

func (b_ BrowserCell) Set()

Highlights the receiver and sets its state. Full Topic

func (BrowserCell) SetAlternateImage

func (b_ BrowserCell) SetAlternateImage(value IImage)

The browser cell’s image for the highlighted state. Full Topic

func (BrowserCell) SetLeaf

func (b_ BrowserCell) SetLeaf(value bool)

A Boolean that indicates whether the browser cell is a leaf or a branch cell. Full Topic

func (BrowserCell) SetLoaded

func (b_ BrowserCell) SetLoaded(value bool)

A Boolean that indicates whether the cell is ready to display. Full Topic

type BrowserColumnResizingType

type BrowserColumnResizingType uint

Types of browser column resizing. Full Topic

const (
	BrowserAutoColumnResizing BrowserColumnResizingType = 1
	BrowserNoColumnResizing   BrowserColumnResizingType = 0
	BrowserUserColumnResizing BrowserColumnResizingType = 2
)

type BrowserColumnsAutosaveName

type BrowserColumnsAutosaveName string
[Full Topic]

type BrowserDelegate

type BrowserDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PBrowserDelegate protocol.

func (*BrowserDelegate) BrowserColumnConfigurationDidChange

func (di *BrowserDelegate) BrowserColumnConfigurationDidChange(notification foundation.Notification)

Used by clients to implement their own column width persistence. Full Topic

func (*BrowserDelegate) BrowserDidScroll

func (di *BrowserDelegate) BrowserDidScroll(sender Browser)

Notifies the delegate when the browser has scrolled. Full Topic

func (*BrowserDelegate) BrowserObjectValueForItem

func (di *BrowserDelegate) BrowserObjectValueForItem(browser Browser, item objc.Object) objc.IObject

Returns the object that the specified item uses to draw its contents. Full Topic

func (*BrowserDelegate) BrowserWillScroll

func (di *BrowserDelegate) BrowserWillScroll(sender Browser)

Notifies the delegate when the browser will scroll. Full Topic

func (*BrowserDelegate) HasBrowserColumnConfigurationDidChange

func (di *BrowserDelegate) HasBrowserColumnConfigurationDidChange() bool

func (*BrowserDelegate) HasBrowserDidScroll

func (di *BrowserDelegate) HasBrowserDidScroll() bool

func (*BrowserDelegate) HasBrowserObjectValueForItem

func (di *BrowserDelegate) HasBrowserObjectValueForItem() bool

func (*BrowserDelegate) HasBrowserWillScroll

func (di *BrowserDelegate) HasBrowserWillScroll() bool

func (*BrowserDelegate) HasRootItemForBrowser

func (di *BrowserDelegate) HasRootItemForBrowser() bool

func (*BrowserDelegate) RootItemForBrowser

func (di *BrowserDelegate) RootItemForBrowser(browser Browser) objc.IObject

Asks the delegate to return the root item of the browser. Full Topic

func (*BrowserDelegate) SetBrowserColumnConfigurationDidChange

func (di *BrowserDelegate) SetBrowserColumnConfigurationDidChange(f func(notification foundation.Notification))

Used by clients to implement their own column width persistence. Full Topic

func (*BrowserDelegate) SetBrowserDidScroll

func (di *BrowserDelegate) SetBrowserDidScroll(f func(sender Browser))

Notifies the delegate when the browser has scrolled. Full Topic

func (*BrowserDelegate) SetBrowserObjectValueForItem

func (di *BrowserDelegate) SetBrowserObjectValueForItem(f func(browser Browser, item objc.Object) objc.IObject)

Returns the object that the specified item uses to draw its contents. Full Topic

func (*BrowserDelegate) SetBrowserWillScroll

func (di *BrowserDelegate) SetBrowserWillScroll(f func(sender Browser))

Notifies the delegate when the browser will scroll. Full Topic

func (*BrowserDelegate) SetRootItemForBrowser

func (di *BrowserDelegate) SetRootItemForBrowser(f func(browser Browser) objc.IObject)

Asks the delegate to return the root item of the browser. Full Topic

type BrowserDelegateWrapper

type BrowserDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PBrowserDelegate protocol.

func (BrowserDelegateWrapper) BrowserColumnConfigurationDidChange

func (b_ BrowserDelegateWrapper) BrowserColumnConfigurationDidChange(notification foundation.INotification)

Used by clients to implement their own column width persistence. Full Topic

func (BrowserDelegateWrapper) BrowserDidScroll

func (b_ BrowserDelegateWrapper) BrowserDidScroll(sender IBrowser)

Notifies the delegate when the browser has scrolled. Full Topic

func (BrowserDelegateWrapper) BrowserObjectValueForItem

func (b_ BrowserDelegateWrapper) BrowserObjectValueForItem(browser IBrowser, item objc.IObject) objc.Object

Returns the object that the specified item uses to draw its contents. Full Topic

func (BrowserDelegateWrapper) BrowserWillScroll

func (b_ BrowserDelegateWrapper) BrowserWillScroll(sender IBrowser)

Notifies the delegate when the browser will scroll. Full Topic

func (BrowserDelegateWrapper) HasBrowserColumnConfigurationDidChange

func (b_ BrowserDelegateWrapper) HasBrowserColumnConfigurationDidChange() bool

func (BrowserDelegateWrapper) HasBrowserDidScroll

func (b_ BrowserDelegateWrapper) HasBrowserDidScroll() bool

func (BrowserDelegateWrapper) HasBrowserObjectValueForItem

func (b_ BrowserDelegateWrapper) HasBrowserObjectValueForItem() bool

func (BrowserDelegateWrapper) HasBrowserWillScroll

func (b_ BrowserDelegateWrapper) HasBrowserWillScroll() bool

func (BrowserDelegateWrapper) HasRootItemForBrowser

func (b_ BrowserDelegateWrapper) HasRootItemForBrowser() bool

func (BrowserDelegateWrapper) RootItemForBrowser

func (b_ BrowserDelegateWrapper) RootItemForBrowser(browser IBrowser) objc.Object

Asks the delegate to return the root item of the browser. Full Topic

type BrowserDropOperation

type BrowserDropOperation uint

The type used to specify the drop type of a drag-and-drop operation. See browser:objectValueForItem: for more information. Full Topic

const (
	BrowserDropAbove BrowserDropOperation = 1
	BrowserDropOn    BrowserDropOperation = 0
)

type Button

type Button struct {
	Control
}

A control that defines an area on the screen that a user clicks to trigger an action. Full Topic

func ButtonFrom

func ButtonFrom(ptr unsafe.Pointer) Button

func Button_Alloc

func Button_Alloc() Button

func Button_ButtonWithImageTargetAction

func Button_ButtonWithImageTargetAction(image IImage, target objc.IObject, action objc.Selector) Button

Creates a standard push button with the image you specify. Full Topic

func Button_ButtonWithTitleTargetAction

func Button_ButtonWithTitleTargetAction(title string, target objc.IObject, action objc.Selector) Button

Creates a standard push button with the title you specify. Full Topic

func Button_CheckboxWithTitleTargetAction

func Button_CheckboxWithTitleTargetAction(title string, target objc.IObject, action objc.Selector) Button

Creates a standard checkbox with the title you specify. Full Topic

func Button_RadioButtonWithTitleTargetAction

func Button_RadioButtonWithTitleTargetAction(title string, target objc.IObject, action objc.Selector) Button

Creates a standard radio button with the title you specify. Full Topic

func NewButton

func NewButton() Button

func NewButtonWithFrame

func NewButtonWithFrame(frameRect foundation.Rect) Button

Initializes a control with the specified frame rectangle. Full Topic

func NewButtonWithImage

func NewButtonWithImage(image Image) Button

NewButtonWithImage return a new common used Button with image

func NewButtonWithTitle

func NewButtonWithTitle(title string) Button

NewButton return a new common used Button

func NewCheckBox

func NewCheckBox(title string) Button

NewCheckBox return a new common used checkbox Button

func NewPushButton

func NewPushButton(title string) Button

NewPushButton return a button that switches between on and off states with each click.

func NewRadioButton

func NewRadioButton(title string) Button

NewRadioButton return a new common used radio Button

func (Button) ActiveCompressionOptions

func (b_ Button) ActiveCompressionOptions() UserInterfaceCompressionOptions

The compression options active for this button. Full Topic

func (Button) AllowsMixedState

func (b_ Button) AllowsMixedState() bool

A Boolean value that indicates whether the button allows a mixed state. Full Topic

func (Button) AlternateImage

func (b_ Button) AlternateImage() Image

An alternate image that appears on the button when the button is in an on state. Full Topic

func (Button) AlternateTitle

func (b_ Button) AlternateTitle() string

The title that the button displays when the button is in an on state. Full Topic

func (Button) AttributedAlternateTitle

func (b_ Button) AttributedAlternateTitle() foundation.AttributedString

The title that the button displays as an attributed string when the button is in an on state. Full Topic

func (Button) AttributedTitle

func (b_ Button) AttributedTitle() foundation.AttributedString

The title that the button displays in an off state, as an attributed string. Full Topic

func (Button) BezelColor

func (b_ Button) BezelColor() Color

The color of the button's bezel, in appearances that support it. Full Topic

func (Button) BezelStyle

func (b_ Button) BezelStyle() BezelStyle

The appearance of the button’s border. Full Topic

func (Button) CompressWithPrioritizedCompressionOptions

func (b_ Button) CompressWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions)

Sets the priority compression options for this button. Full Topic

func (Button) ContentTintColor

func (b_ Button) ContentTintColor() Color

A tint color to use for the template image and text content. Full Topic

func (Button) GetPeriodicDelayInterval

func (b_ Button) GetPeriodicDelayInterval(delay *float64, interval *float64)

Returns by reference the delay and interval periods for a continuous button. Full Topic

func (Button) HasDestructiveAction

func (b_ Button) HasDestructiveAction() bool

A Boolean value that defines whether a button’s action has a destructive effect. Full Topic

func (Button) Highlight

func (b_ Button) Highlight(flag bool)

Highlights (or unhighlights) the button. Full Topic

func (Button) Image

func (b_ Button) Image() Image

The image that appears on the button when it’s in an off state, or nil if there is no such image. Full Topic

func (Button) ImageHugsTitle

func (b_ Button) ImageHugsTitle() bool

A Boolean value that determines how the button’s image and title are positioned together within the button bezel. Full Topic

func (Button) ImagePosition

func (b_ Button) ImagePosition() CellImagePosition

The position of the button’s image relative to its title. Full Topic

func (Button) ImageScaling

func (b_ Button) ImageScaling() ImageScaling

The scaling mode applied to make the cell’s image fit the frame of the image view. Full Topic

func (Button) Init

func (b_ Button) Init() Button

func (Button) InitWithFrame

func (b_ Button) InitWithFrame(frameRect foundation.Rect) Button

func (Button) IsBordered

func (b_ Button) IsBordered() bool

A Boolean value that determines whether the button has a border. Full Topic

func (Button) IsSpringLoaded

func (b_ Button) IsSpringLoaded() bool

A Boolean value that indicates whether spring loading is enabled for the button. Full Topic

func (Button) IsTransparent

func (b_ Button) IsTransparent() bool

A Boolean value that indicates whether the button is transparent. Full Topic

func (Button) KeyEquivalent

func (b_ Button) KeyEquivalent() string

The key-equivalent character of the button. Full Topic

func (Button) KeyEquivalentModifierMask

func (b_ Button) KeyEquivalentModifierMask() EventModifierFlags

The mask specifying the modifier keys for the button’s key equivalent. Full Topic

func (Button) MaxAcceleratorLevel

func (b_ Button) MaxAcceleratorLevel() int

An integer value indicating the maximum pressure level for a button of type NSMultiLevelAcceleratorButton. Full Topic

func (Button) MinimumSizeWithPrioritizedCompressionOptions

func (b_ Button) MinimumSizeWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions) foundation.Size

Returns the minimum size of the button by using the compression options. Full Topic

func (Button) SetAllowsMixedState

func (b_ Button) SetAllowsMixedState(value bool)

A Boolean value that indicates whether the button allows a mixed state. Full Topic

func (Button) SetAlternateImage

func (b_ Button) SetAlternateImage(value IImage)

An alternate image that appears on the button when the button is in an on state. Full Topic

func (Button) SetAlternateTitle

func (b_ Button) SetAlternateTitle(value string)

The title that the button displays when the button is in an on state. Full Topic

func (Button) SetAttributedAlternateTitle

func (b_ Button) SetAttributedAlternateTitle(value foundation.IAttributedString)

The title that the button displays as an attributed string when the button is in an on state. Full Topic

func (Button) SetAttributedTitle

func (b_ Button) SetAttributedTitle(value foundation.IAttributedString)

The title that the button displays in an off state, as an attributed string. Full Topic

func (Button) SetBezelColor

func (b_ Button) SetBezelColor(value IColor)

The color of the button's bezel, in appearances that support it. Full Topic

func (Button) SetBezelStyle

func (b_ Button) SetBezelStyle(value BezelStyle)

The appearance of the button’s border. Full Topic

func (Button) SetBordered

func (b_ Button) SetBordered(value bool)

A Boolean value that determines whether the button has a border. Full Topic

func (Button) SetButtonType

func (b_ Button) SetButtonType(type_ ButtonType)

Sets the button’s type, which affects its user interface and behavior when clicked. Full Topic

func (Button) SetContentTintColor

func (b_ Button) SetContentTintColor(value IColor)

A tint color to use for the template image and text content. Full Topic

func (Button) SetHasDestructiveAction

func (b_ Button) SetHasDestructiveAction(value bool)

A Boolean value that defines whether a button’s action has a destructive effect. Full Topic

func (Button) SetImage

func (b_ Button) SetImage(value IImage)

The image that appears on the button when it’s in an off state, or nil if there is no such image. Full Topic

func (Button) SetImageHugsTitle

func (b_ Button) SetImageHugsTitle(value bool)

A Boolean value that determines how the button’s image and title are positioned together within the button bezel. Full Topic

func (Button) SetImagePosition

func (b_ Button) SetImagePosition(value CellImagePosition)

The position of the button’s image relative to its title. Full Topic

func (Button) SetImageScaling

func (b_ Button) SetImageScaling(value ImageScaling)

The scaling mode applied to make the cell’s image fit the frame of the image view. Full Topic

func (Button) SetKeyEquivalent

func (b_ Button) SetKeyEquivalent(value string)

The key-equivalent character of the button. Full Topic

func (Button) SetKeyEquivalentModifierMask

func (b_ Button) SetKeyEquivalentModifierMask(value EventModifierFlags)

The mask specifying the modifier keys for the button’s key equivalent. Full Topic

func (Button) SetMaxAcceleratorLevel

func (b_ Button) SetMaxAcceleratorLevel(value int)

An integer value indicating the maximum pressure level for a button of type NSMultiLevelAcceleratorButton. Full Topic

func (Button) SetNextState

func (b_ Button) SetNextState()

Sets the button to its next state. Full Topic

func (Button) SetPeriodicDelayInterval

func (b_ Button) SetPeriodicDelayInterval(delay float64, interval float64)

Sets the message delay and interval periods for a continuous button. Full Topic

func (Button) SetShowsBorderOnlyWhileMouseInside

func (b_ Button) SetShowsBorderOnlyWhileMouseInside(value bool)

A Boolean value that determines whether the button displays its border only when the pointer is over it. Full Topic

func (Button) SetSound

func (b_ Button) SetSound(value ISound)

The sound that plays when the user clicks the button. Full Topic

func (Button) SetSpringLoaded

func (b_ Button) SetSpringLoaded(value bool)

A Boolean value that indicates whether spring loading is enabled for the button. Full Topic

func (Button) SetState

func (b_ Button) SetState(value ControlStateValue)

The button’s state. Full Topic

func (Button) SetSymbolConfiguration

func (b_ Button) SetSymbolConfiguration(value IImageSymbolConfiguration)

The combination of point size, weight, and scale to use when sizing and displaying symbol images. Full Topic

func (Button) SetTitle

func (b_ Button) SetTitle(value string)

The title displayed on the button when it’s in an off state. Full Topic

func (Button) SetTransparent

func (b_ Button) SetTransparent(value bool)

A Boolean value that indicates whether the button is transparent. Full Topic

func (Button) ShowsBorderOnlyWhileMouseInside

func (b_ Button) ShowsBorderOnlyWhileMouseInside() bool

A Boolean value that determines whether the button displays its border only when the pointer is over it. Full Topic

func (Button) Sound

func (b_ Button) Sound() Sound

The sound that plays when the user clicks the button. Full Topic

func (Button) State

func (b_ Button) State() ControlStateValue

The button’s state. Full Topic

func (Button) SymbolConfiguration

func (b_ Button) SymbolConfiguration() ImageSymbolConfiguration

The combination of point size, weight, and scale to use when sizing and displaying symbol images. Full Topic

func (Button) Title

func (b_ Button) Title() string

The title displayed on the button when it’s in an off state. Full Topic

type ButtonCell

type ButtonCell struct {
	ActionCell
}

An object that defines the user interface of a button or other clickable region of a view. Full Topic

func ButtonCellFrom

func ButtonCellFrom(ptr unsafe.Pointer) ButtonCell

func ButtonCell_Alloc

func ButtonCell_Alloc() ButtonCell

func NewButtonCell

func NewButtonCell() ButtonCell

func NewButtonCellImageCell

func NewButtonCellImageCell(image IImage) ButtonCell
[Full Topic]

func NewButtonCellTextCell

func NewButtonCellTextCell(string_ string) ButtonCell
[Full Topic]

func (ButtonCell) AlternateImage

func (b_ ButtonCell) AlternateImage() Image

The image the button displays in its alternate state. Full Topic

func (ButtonCell) AlternateTitle

func (b_ ButtonCell) AlternateTitle() string

The string displayed by the button when it’s in its alternate state. Full Topic

func (ButtonCell) AttributedAlternateTitle

func (b_ ButtonCell) AttributedAlternateTitle() foundation.AttributedString

The title displayed by the button when it’s in its alternate state, as an attributed string. Full Topic

func (ButtonCell) AttributedTitle

func (b_ ButtonCell) AttributedTitle() foundation.AttributedString

The title displayed by the button when it’s in its normal state as an attributed string. Full Topic

func (ButtonCell) BackgroundColor

func (b_ ButtonCell) BackgroundColor() Color

The background color of the button. Full Topic

func (ButtonCell) BezelStyle

func (b_ ButtonCell) BezelStyle() BezelStyle

The appearance of the button’s border, if it has one. Full Topic

func (ButtonCell) DrawBezelWithFrameInView

func (b_ ButtonCell) DrawBezelWithFrameInView(frame foundation.Rect, controlView IView)

Draws the border of the button using the current bezel style. Full Topic

func (ButtonCell) DrawImageWithFrameInView

func (b_ ButtonCell) DrawImageWithFrameInView(image IImage, frame foundation.Rect, controlView IView)

Draws the image associated with the button’s current state. Full Topic

func (ButtonCell) DrawTitleWithFrameInView

func (b_ ButtonCell) DrawTitleWithFrameInView(title foundation.IAttributedString, frame foundation.Rect, controlView IView) foundation.Rect

Draws the button’s title centered vertically in a specified rectangle. Full Topic

func (ButtonCell) HighlightsBy

func (b_ ButtonCell) HighlightsBy() CellStyleMask

A set of flags that indicate how the button highlights when it receives a mouse-down event (that is, when the button is pressed). Full Topic

func (ButtonCell) ImageDimsWhenDisabled

func (b_ ButtonCell) ImageDimsWhenDisabled() bool

A Boolean value that indicates if the button’s image and text appear “dim” when the button is disabled. Full Topic

func (ButtonCell) ImagePosition

func (b_ ButtonCell) ImagePosition() CellImagePosition

The position of the button’s image relative to its title. Full Topic

func (ButtonCell) ImageScaling

func (b_ ButtonCell) ImageScaling() ImageScaling

The scale factor for the button’s image. Full Topic

func (ButtonCell) Init

func (b_ ButtonCell) Init() ButtonCell

func (ButtonCell) InitImageCell

func (b_ ButtonCell) InitImageCell(image IImage) ButtonCell

func (ButtonCell) InitTextCell

func (b_ ButtonCell) InitTextCell(string_ string) ButtonCell

func (ButtonCell) IsTransparent

func (b_ ButtonCell) IsTransparent() bool

A Boolean value that indicates if the button is transparent. Full Topic

func (ButtonCell) KeyEquivalentModifierMask

func (b_ ButtonCell) KeyEquivalentModifierMask() EventModifierFlags

The mask that identifies the modifier keys for the button's key equivalent. Full Topic

func (ButtonCell) MouseEntered

func (b_ ButtonCell) MouseEntered(event IEvent)

Draws the button’s border. Full Topic

func (ButtonCell) MouseExited

func (b_ ButtonCell) MouseExited(event IEvent)

Erases the button’s border. Full Topic

func (ButtonCell) SetAlternateImage

func (b_ ButtonCell) SetAlternateImage(value IImage)

The image the button displays in its alternate state. Full Topic

func (ButtonCell) SetAlternateTitle

func (b_ ButtonCell) SetAlternateTitle(value string)

The string displayed by the button when it’s in its alternate state. Full Topic

func (ButtonCell) SetAttributedAlternateTitle

func (b_ ButtonCell) SetAttributedAlternateTitle(value foundation.IAttributedString)

The title displayed by the button when it’s in its alternate state, as an attributed string. Full Topic

func (ButtonCell) SetAttributedTitle

func (b_ ButtonCell) SetAttributedTitle(value foundation.IAttributedString)

The title displayed by the button when it’s in its normal state as an attributed string. Full Topic

func (ButtonCell) SetBackgroundColor

func (b_ ButtonCell) SetBackgroundColor(value IColor)

The background color of the button. Full Topic

func (ButtonCell) SetBezelStyle

func (b_ ButtonCell) SetBezelStyle(value BezelStyle)

The appearance of the button’s border, if it has one. Full Topic

func (ButtonCell) SetButtonType

func (b_ ButtonCell) SetButtonType(type_ ButtonType)

Sets how the button highlights while pressed and how it shows its state. Full Topic

func (ButtonCell) SetHighlightsBy

func (b_ ButtonCell) SetHighlightsBy(value CellStyleMask)

A set of flags that indicate how the button highlights when it receives a mouse-down event (that is, when the button is pressed). Full Topic

func (ButtonCell) SetImageDimsWhenDisabled

func (b_ ButtonCell) SetImageDimsWhenDisabled(value bool)

A Boolean value that indicates if the button’s image and text appear “dim” when the button is disabled. Full Topic

func (ButtonCell) SetImagePosition

func (b_ ButtonCell) SetImagePosition(value CellImagePosition)

The position of the button’s image relative to its title. Full Topic

func (ButtonCell) SetImageScaling

func (b_ ButtonCell) SetImageScaling(value ImageScaling)

The scale factor for the button’s image. Full Topic

func (ButtonCell) SetKeyEquivalent

func (b_ ButtonCell) SetKeyEquivalent(value string)

The button’s key-equivalent character. Full Topic

func (ButtonCell) SetKeyEquivalentModifierMask

func (b_ ButtonCell) SetKeyEquivalentModifierMask(value EventModifierFlags)

The mask that identifies the modifier keys for the button's key equivalent. Full Topic

func (ButtonCell) SetPeriodicDelayInterval

func (b_ ButtonCell) SetPeriodicDelayInterval(delay float64, interval float64)

Sets the message delay and interval for the button. Full Topic

func (ButtonCell) SetShowsBorderOnlyWhileMouseInside

func (b_ ButtonCell) SetShowsBorderOnlyWhileMouseInside(value bool)

A Boolean value that indicates if the button displays its border only when the pointer is over it. Full Topic

func (ButtonCell) SetShowsStateBy

func (b_ ButtonCell) SetShowsStateBy(value CellStyleMask)

The flags that indicate how the button cell shows its alternate state. Full Topic

func (ButtonCell) SetSound

func (b_ ButtonCell) SetSound(value ISound)

The sound that’s played when the user presses the button (that is during a mouse-down event). Full Topic

func (ButtonCell) SetTransparent

func (b_ ButtonCell) SetTransparent(value bool)

A Boolean value that indicates if the button is transparent. Full Topic

func (ButtonCell) ShowsBorderOnlyWhileMouseInside

func (b_ ButtonCell) ShowsBorderOnlyWhileMouseInside() bool

A Boolean value that indicates if the button displays its border only when the pointer is over it. Full Topic

func (ButtonCell) ShowsStateBy

func (b_ ButtonCell) ShowsStateBy() CellStyleMask

The flags that indicate how the button cell shows its alternate state. Full Topic

func (ButtonCell) Sound

func (b_ ButtonCell) Sound() Sound

The sound that’s played when the user presses the button (that is during a mouse-down event). Full Topic

type ButtonTouchBarItem

type ButtonTouchBarItem struct {
	TouchBarItem
}

A bar item that provides a button. Full Topic

func ButtonTouchBarItemFrom

func ButtonTouchBarItemFrom(ptr unsafe.Pointer) ButtonTouchBarItem

func ButtonTouchBarItem_Alloc

func ButtonTouchBarItem_Alloc() ButtonTouchBarItem

func ButtonTouchBarItem_ButtonTouchBarItemWithIdentifierTitleTargetAction

func ButtonTouchBarItem_ButtonTouchBarItemWithIdentifierTitleTargetAction(identifier TouchBarItemIdentifier, title string, target objc.IObject, action objc.Selector) ButtonTouchBarItem
[Full Topic]

func NewButtonTouchBarItem

func NewButtonTouchBarItem() ButtonTouchBarItem

func NewButtonTouchBarItemWithIdentifier

func NewButtonTouchBarItemWithIdentifier(identifier TouchBarItemIdentifier) ButtonTouchBarItem

Creates a new item with the specified identifier. Full Topic

func (ButtonTouchBarItem) Action

func (b_ ButtonTouchBarItem) Action() objc.Selector
[Full Topic]

func (ButtonTouchBarItem) BezelColor

func (b_ ButtonTouchBarItem) BezelColor() Color
[Full Topic]

func (ButtonTouchBarItem) Image

func (b_ ButtonTouchBarItem) Image() Image
[Full Topic]

func (ButtonTouchBarItem) Init

func (ButtonTouchBarItem) InitWithIdentifier

func (b_ ButtonTouchBarItem) InitWithIdentifier(identifier TouchBarItemIdentifier) ButtonTouchBarItem

func (ButtonTouchBarItem) IsEnabled

func (b_ ButtonTouchBarItem) IsEnabled() bool
[Full Topic]

func (ButtonTouchBarItem) SetAction

func (b_ ButtonTouchBarItem) SetAction(value objc.Selector)
[Full Topic]

func (ButtonTouchBarItem) SetBezelColor

func (b_ ButtonTouchBarItem) SetBezelColor(value IColor)
[Full Topic]

func (ButtonTouchBarItem) SetCustomizationLabel

func (b_ ButtonTouchBarItem) SetCustomizationLabel(value string)
[Full Topic]

func (ButtonTouchBarItem) SetEnabled

func (b_ ButtonTouchBarItem) SetEnabled(value bool)
[Full Topic]

func (ButtonTouchBarItem) SetImage

func (b_ ButtonTouchBarItem) SetImage(value IImage)
[Full Topic]

func (ButtonTouchBarItem) SetTarget

func (b_ ButtonTouchBarItem) SetTarget(value objc.IObject)
[Full Topic]

func (ButtonTouchBarItem) SetTitle

func (b_ ButtonTouchBarItem) SetTitle(value string)
[Full Topic]

func (ButtonTouchBarItem) Target

func (b_ ButtonTouchBarItem) Target() objc.Object
[Full Topic]

func (ButtonTouchBarItem) Title

func (b_ ButtonTouchBarItem) Title() string
[Full Topic]

type ButtonType

type ButtonType uint

Button types that you can specify using setButtonType:. Full Topic

const (
	AcceleratorButton               ButtonType = 8
	ButtonTypeAccelerator           ButtonType = 8
	ButtonTypeMomentaryChange       ButtonType = 5
	ButtonTypeMomentaryLight        ButtonType = 0
	ButtonTypeMomentaryPushIn       ButtonType = 7
	ButtonTypeMultiLevelAccelerator ButtonType = 9
	ButtonTypeOnOff                 ButtonType = 6
	ButtonTypePushOnPushOff         ButtonType = 1
	ButtonTypeRadio                 ButtonType = 4
	ButtonTypeSwitch                ButtonType = 3
	ButtonTypeToggle                ButtonType = 2
	MomentaryChangeButton           ButtonType = 5
	MomentaryLight                  ButtonType = 7
	MomentaryLightButton            ButtonType = 0
	MomentaryPushButton             ButtonType = 0
	MomentaryPushInButton           ButtonType = 7
	MultiLevelAcceleratorButton     ButtonType = 9
	OnOffButton                     ButtonType = 6
	PushOnPushOffButton             ButtonType = 1
	RadioButton                     ButtonType = 4
	SwitchButton                    ButtonType = 3
	ToggleButton                    ButtonType = 2
)

type CIImageRep

type CIImageRep struct {
	ImageRep
}

An object that can render an image from a Core Image object. Full Topic

func CIImageRepFrom

func CIImageRepFrom(ptr unsafe.Pointer) CIImageRep

func CIImageRep_Alloc

func CIImageRep_Alloc() CIImageRep

func CIImageRep_ImageRepWithCIImage

func CIImageRep_ImageRepWithCIImage(image coreimage.IImage) CIImageRep

Creates and returns a representation of an image initialized to the specified Core Image instance. Full Topic

func NewCIImageRep

func NewCIImageRep() CIImageRep

func NewCIImageRepWithCIImage

func NewCIImageRepWithCIImage(image coreimage.IImage) CIImageRep

Returns a representation of an image initialized to the specified Core Image instance. Full Topic

func (CIImageRep) CIImage

func (c_ CIImageRep) CIImage() coreimage.Image

The Core Image instance. Full Topic

func (CIImageRep) Init

func (c_ CIImageRep) Init() CIImageRep

func (CIImageRep) InitWithCIImage

func (c_ CIImageRep) InitWithCIImage(image coreimage.IImage) CIImageRep

type CachedImageRep

type CachedImageRep struct {
	ImageRep
}

An object that stores image data in a form that can be readily transferred to the screen. Full Topic

func CachedImageRepFrom

func CachedImageRepFrom(ptr unsafe.Pointer) CachedImageRep

func CachedImageRep_Alloc

func CachedImageRep_Alloc() CachedImageRep

func NewCachedImageRep

func NewCachedImageRep() CachedImageRep

func (CachedImageRep) Init

func (c_ CachedImageRep) Init() CachedImageRep

type CandidateListTouchBarItem

type CandidateListTouchBarItem struct {
	TouchBarItem
}

A bar item that, along with its delegate, provides a list of textual suggestions for the current text view. Full Topic

func CandidateListTouchBarItemFrom

func CandidateListTouchBarItemFrom(ptr unsafe.Pointer) CandidateListTouchBarItem

func CandidateListTouchBarItem_Alloc

func CandidateListTouchBarItem_Alloc() CandidateListTouchBarItem

func NewCandidateListTouchBarItem

func NewCandidateListTouchBarItem() CandidateListTouchBarItem

func NewCandidateListTouchBarItemWithIdentifier

func NewCandidateListTouchBarItemWithIdentifier(identifier TouchBarItemIdentifier) CandidateListTouchBarItem

Creates a new item with the specified identifier. Full Topic

func (CandidateListTouchBarItem) AllowsCollapsing

func (c_ CandidateListTouchBarItem) AllowsCollapsing() bool

A Boolean value that specifies whether the item can be collapsed. Full Topic

func (CandidateListTouchBarItem) AllowsTextInputContextCandidates

func (c_ CandidateListTouchBarItem) AllowsTextInputContextCandidates() bool

A Boolean value that specifies whether a candidate list item displays candidates from text input providers. Full Topic

func (CandidateListTouchBarItem) AttributedStringForCandidate

func (c_ CandidateListTouchBarItem) AttributedStringForCandidate() func(candidate objc.Object, index int) foundation.AttributedString

A block that converts a candidate object into an attributed string for display in the candidate list item. Full Topic

func (CandidateListTouchBarItem) Candidates

func (c_ CandidateListTouchBarItem) Candidates() []objc.Object

The array of candidate objects previously set by setCandidates:forSelectedRange:inString:. Full Topic

func (CandidateListTouchBarItem) Client

func (c_ CandidateListTouchBarItem) Client() View

The client object for the candidate list item. Full Topic

func (CandidateListTouchBarItem) Delegate

The delegate of the candidate list item. Full Topic

func (CandidateListTouchBarItem) Init

func (CandidateListTouchBarItem) InitWithIdentifier

func (CandidateListTouchBarItem) IsCandidateListVisible

func (c_ CandidateListTouchBarItem) IsCandidateListVisible() bool

A Boolean value that represents the visibility of this item's candidate list. Full Topic

func (CandidateListTouchBarItem) IsCollapsed

func (c_ CandidateListTouchBarItem) IsCollapsed() bool

A Boolean value that controls the visibility of the candidate list. Full Topic

func (CandidateListTouchBarItem) SetAllowsCollapsing

func (c_ CandidateListTouchBarItem) SetAllowsCollapsing(value bool)

A Boolean value that specifies whether the item can be collapsed. Full Topic

func (CandidateListTouchBarItem) SetAllowsTextInputContextCandidates

func (c_ CandidateListTouchBarItem) SetAllowsTextInputContextCandidates(value bool)

A Boolean value that specifies whether a candidate list item displays candidates from text input providers. Full Topic

func (CandidateListTouchBarItem) SetAttributedStringForCandidate

func (c_ CandidateListTouchBarItem) SetAttributedStringForCandidate(value func(candidate objc.Object, index int) foundation.AttributedString)

A block that converts a candidate object into an attributed string for display in the candidate list item. Full Topic

func (CandidateListTouchBarItem) SetCandidatesForSelectedRangeInString

func (c_ CandidateListTouchBarItem) SetCandidatesForSelectedRangeInString(candidates []objc.IObject, selectedRange foundation.Range, originalString string)

Sets an array of candidate objects to be displayed in the candidate list bar item. Full Topic

func (CandidateListTouchBarItem) SetClient

func (c_ CandidateListTouchBarItem) SetClient(value IView)

The client object for the candidate list item. Full Topic

func (CandidateListTouchBarItem) SetCollapsed

func (c_ CandidateListTouchBarItem) SetCollapsed(value bool)

A Boolean value that controls the visibility of the candidate list. Full Topic

func (CandidateListTouchBarItem) SetCustomizationLabel

func (c_ CandidateListTouchBarItem) SetCustomizationLabel(value string)

The user-visible string identifying this item during bar customization. Full Topic

func (CandidateListTouchBarItem) SetDelegate

The delegate of the candidate list item. Full Topic

func (CandidateListTouchBarItem) SetDelegateObject

func (c_ CandidateListTouchBarItem) SetDelegateObject(valueObject objc.IObject)

The delegate of the candidate list item. Full Topic

func (CandidateListTouchBarItem) UpdateWithInsertionPointVisibility

func (c_ CandidateListTouchBarItem) UpdateWithInsertionPointVisibility(isVisible bool)

Updates the candidate list visibility configuration based on the client's insertion point state. Full Topic

type CandidateListTouchBarItemDelegate

type CandidateListTouchBarItemDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PCandidateListTouchBarItemDelegate protocol.

func (*CandidateListTouchBarItemDelegate) CandidateListTouchBarItemBeginSelectingCandidateAtIndex

func (di *CandidateListTouchBarItemDelegate) CandidateListTouchBarItemBeginSelectingCandidateAtIndex(anItem CandidateListTouchBarItem, index int)

Tells the delegate that the user has started touching one of the candidates in the candidate list item. Full Topic

func (*CandidateListTouchBarItemDelegate) HasCandidateListTouchBarItemBeginSelectingCandidateAtIndex

func (di *CandidateListTouchBarItemDelegate) HasCandidateListTouchBarItemBeginSelectingCandidateAtIndex() bool

func (*CandidateListTouchBarItemDelegate) SetCandidateListTouchBarItemBeginSelectingCandidateAtIndex

func (di *CandidateListTouchBarItemDelegate) SetCandidateListTouchBarItemBeginSelectingCandidateAtIndex(f func(anItem CandidateListTouchBarItem, index int))

Tells the delegate that the user has started touching one of the candidates in the candidate list item. Full Topic

type CandidateListTouchBarItemDelegateWrapper

type CandidateListTouchBarItemDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PCandidateListTouchBarItemDelegate protocol.

func (CandidateListTouchBarItemDelegateWrapper) CandidateListTouchBarItemBeginSelectingCandidateAtIndex

func (c_ CandidateListTouchBarItemDelegateWrapper) CandidateListTouchBarItemBeginSelectingCandidateAtIndex(anItem ICandidateListTouchBarItem, index int)

Tells the delegate that the user has started touching one of the candidates in the candidate list item. Full Topic

func (CandidateListTouchBarItemDelegateWrapper) HasCandidateListTouchBarItemBeginSelectingCandidateAtIndex

func (c_ CandidateListTouchBarItemDelegateWrapper) HasCandidateListTouchBarItemBeginSelectingCandidateAtIndex() bool

type Cell

type Cell struct {
	objc.Object
}

A mechanism for displaying text or images in a view object without the overhead of a full NSView subclass. Full Topic

func CellFrom

func CellFrom(ptr unsafe.Pointer) Cell

func Cell_Alloc

func Cell_Alloc() Cell

func NewCell

func NewCell() Cell

func NewCellImageCell

func NewCellImageCell(image IImage) Cell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewCellTextCell

func NewCellTextCell(string_ string) Cell

Returns an NSCell object initialized with the specified string and set to have the cell’s default menu. Full Topic

func (Cell) AcceptsFirstResponder

func (c_ Cell) AcceptsFirstResponder() bool

A Boolean value indicating whether the cell accepts first responder status. Full Topic

func (Cell) Action

func (c_ Cell) Action() objc.Selector

The action performed by the cell. Full Topic

func (Cell) Alignment

func (c_ Cell) Alignment() TextAlignment

The alignment of the cell’s text. Full Topic

func (Cell) AllowsEditingTextAttributes

func (c_ Cell) AllowsEditingTextAttributes() bool

A Boolean value indicating whether the cell allows the editing of its content’s text attributes by the user. Full Topic

func (Cell) AllowsMixedState

func (c_ Cell) AllowsMixedState() bool

A Boolean value indicating whether the cell supports three states instead of two. Full Topic

func (Cell) AllowsUndo

func (c_ Cell) AllowsUndo() bool

A Boolean value indicating whether the cell assumes responsibility for undo operations. Full Topic

func (Cell) AttributedStringValue

func (c_ Cell) AttributedStringValue() foundation.AttributedString

The cell’s value as an attributed string. Full Topic

func (Cell) BackgroundStyle

func (c_ Cell) BackgroundStyle() BackgroundStyle

The cell’s background style. Full Topic

func (Cell) BaseWritingDirection

func (c_ Cell) BaseWritingDirection() WritingDirection

The initial writing direction used to determine the actual writing direction for text. Full Topic

func (Cell) CalcDrawInfo

func (c_ Cell) CalcDrawInfo(rect foundation.Rect)

Recalculates the cell geometry. Full Topic

func (Cell) CellAttribute

func (c_ Cell) CellAttribute(parameter CellAttribute) int

Returns the value for the specified cell attribute. Full Topic

func (Cell) CellSize

func (c_ Cell) CellSize() foundation.Size

The minimum size needed to display the cell. Full Topic

func (Cell) CellSizeForBounds

func (c_ Cell) CellSizeForBounds(rect foundation.Rect) foundation.Size

Returns the minimum size needed to display the receiver, constraining it to the specified rectangle. Full Topic

func (Cell) Compare

func (c_ Cell) Compare(otherCell objc.IObject) foundation.ComparisonResult

Compares the string values of the receiver another cell, disregarding case. Full Topic

func (Cell) ContinueTrackingAtInView

func (c_ Cell) ContinueTrackingAtInView(lastPoint foundation.Point, currentPoint foundation.Point, controlView IView) bool

Returns a Boolean value that indicates whether mouse tracking should continue in the receiving cell. Full Topic

func (Cell) ControlSize

func (c_ Cell) ControlSize() ControlSize

The size of the cell. Full Topic

func (Cell) ControlView

func (c_ Cell) ControlView() View

The view associated with the cell. Full Topic

func (Cell) DoubleValue

func (c_ Cell) DoubleValue() float64

The cell’s value as a double-precision floating-point number. Full Topic

func (Cell) DraggingImageComponentsWithFrameInView

func (c_ Cell) DraggingImageComponentsWithFrameInView(frame foundation.Rect, view IView) []DraggingImageComponent

Generates dragging image components with the specified frame in the view. Full Topic

func (Cell) DrawFocusRingMaskWithFrameInView

func (c_ Cell) DrawFocusRingMaskWithFrameInView(cellFrame foundation.Rect, controlView IView)

Draws the focus ring for the control. Full Topic

func (Cell) DrawInteriorWithFrameInView

func (c_ Cell) DrawInteriorWithFrameInView(cellFrame foundation.Rect, controlView IView)

Draws the interior portion of the receiver, which includes the image or text portion but does not include the border. Full Topic

func (Cell) DrawWithExpansionFrameInView

func (c_ Cell) DrawWithExpansionFrameInView(cellFrame foundation.Rect, view IView)

Instructs the receiver to draw in an expansion frame. Full Topic

func (Cell) DrawWithFrameInView

func (c_ Cell) DrawWithFrameInView(cellFrame foundation.Rect, controlView IView)

Draws the receiver’s border and then draws the interior of the cell. Full Topic

func (Cell) DrawingRectForBounds

func (c_ Cell) DrawingRectForBounds(rect foundation.Rect) foundation.Rect

Returns the rectangle within which the receiver draws itself Full Topic

func (Cell) EditWithFrameInViewEditorDelegateEvent

func (c_ Cell) EditWithFrameInViewEditorDelegateEvent(rect foundation.Rect, controlView IView, textObj IText, delegate objc.IObject, event IEvent)

Begins editing of the receiver’s text using the specified field editor. Full Topic

func (Cell) EndEditing

func (c_ Cell) EndEditing(textObj IText)

Ends the editing of text in the receiver using the specified field editor. Full Topic

func (Cell) ExpansionFrameWithFrameInView

func (c_ Cell) ExpansionFrameWithFrameInView(cellFrame foundation.Rect, view IView) foundation.Rect

Returns the expansion cell frame for the receiver. Full Topic

func (Cell) FieldEditorForView

func (c_ Cell) FieldEditorForView(controlView IView) TextView

Returns a custom field editor for editing in the view. Full Topic

func (Cell) FloatValue

func (c_ Cell) FloatValue() float64

The cell’s value as a single-precision floating-point number. Full Topic

func (Cell) FocusRingMaskBoundsForFrameInView

func (c_ Cell) FocusRingMaskBoundsForFrameInView(cellFrame foundation.Rect, controlView IView) foundation.Rect

Returns the bounds of the focus ring mask. Full Topic

func (Cell) FocusRingType

func (c_ Cell) FocusRingType() FocusRingType

The type of focus ring to use with the associated view. Full Topic

func (Cell) Font

func (c_ Cell) Font() Font

The font that the cell uses to display text. Full Topic

func (Cell) Formatter

func (c_ Cell) Formatter() foundation.Formatter

The cell’s formatter object. Full Topic

func (Cell) GetPeriodicDelayInterval

func (c_ Cell) GetPeriodicDelayInterval(delay *float64, interval *float64)

Returns the initial delay and repeat values for continuous sending of action messages to target objects. Full Topic

func (Cell) HasValidObjectValue

func (c_ Cell) HasValidObjectValue() bool

A Boolean value that indicates whether the cell has a valid object value. Full Topic

func (Cell) HighlightColorWithFrameInView

func (c_ Cell) HighlightColorWithFrameInView(cellFrame foundation.Rect, controlView IView) Color

Returns the color the receiver uses when drawing the selection highlight. Full Topic

func (Cell) HighlightWithFrameInView

func (c_ Cell) HighlightWithFrameInView(flag bool, cellFrame foundation.Rect, controlView IView)

Redraws the receiver with the specified highlight setting. Full Topic

func (Cell) HitTestForEventInRectOfView

func (c_ Cell) HitTestForEventInRectOfView(event IEvent, cellFrame foundation.Rect, controlView IView) CellHitResult

Returns hit testing information for the receiver. Full Topic

func (Cell) Image

func (c_ Cell) Image() Image

The image displayed by the cell, if any. Full Topic

func (Cell) ImageRectForBounds

func (c_ Cell) ImageRectForBounds(rect foundation.Rect) foundation.Rect

Returns the rectangle in which the receiver draws its image. Full Topic

func (Cell) ImportsGraphics

func (c_ Cell) ImportsGraphics() bool

A Boolean value indicating whether the cell supports the importation of images into its text. Full Topic

func (Cell) Init

func (c_ Cell) Init() Cell

func (Cell) InitImageCell

func (c_ Cell) InitImageCell(image IImage) Cell

func (Cell) InitTextCell

func (c_ Cell) InitTextCell(string_ string) Cell

func (Cell) IntValue

func (c_ Cell) IntValue() int

The cell’s value as an integer. Full Topic

func (Cell) IntegerValue

func (c_ Cell) IntegerValue() int

The cell’s value as an NSInteger type. Full Topic

func (Cell) InteriorBackgroundStyle

func (c_ Cell) InteriorBackgroundStyle() BackgroundStyle

The cell’s interior background style. Full Topic

func (Cell) IsBezeled

func (c_ Cell) IsBezeled() bool

A Boolean value indicating whether the cell has a bezeled border. Full Topic

func (Cell) IsBordered

func (c_ Cell) IsBordered() bool

A Boolean value indicating whether the cell draws itself outlined with a plain border. Full Topic

func (Cell) IsContinuous

func (c_ Cell) IsContinuous() bool

A Boolean value indicating whether the cell sends its action message continuously during mouse tracking. Full Topic

func (Cell) IsEditable

func (c_ Cell) IsEditable() bool

A Boolean value indicating whether the cell is editable. Full Topic

func (Cell) IsEnabled

func (c_ Cell) IsEnabled() bool

A Boolean value indicating whether the cell is currently enabled. Full Topic

func (Cell) IsHighlighted

func (c_ Cell) IsHighlighted() bool

A Boolean value indicating whether the cell has a highlighted appearance. Full Topic

func (Cell) IsOpaque

func (c_ Cell) IsOpaque() bool

A Boolean value indicating whether the cell is completely opaque. Full Topic

func (Cell) IsScrollable

func (c_ Cell) IsScrollable() bool

A Boolean value indicating whether excess text scrolls past the cell’s bounds. Full Topic

func (Cell) IsSelectable

func (c_ Cell) IsSelectable() bool

A Boolean value indicating whether the cell’s text can be selected. Full Topic

func (Cell) KeyEquivalent

func (c_ Cell) KeyEquivalent() string

The key equivalent associated with clicking the cell. Full Topic

func (Cell) Menu

func (c_ Cell) Menu() Menu

The cell’s contextual menu. Full Topic

func (Cell) MenuForEventInRectOfView

func (c_ Cell) MenuForEventInRectOfView(event IEvent, cellFrame foundation.Rect, view IView) Menu

Returns the menu associated with the cell and related to the specified event and frame. Full Topic

func (Cell) MouseDownFlags

func (c_ Cell) MouseDownFlags() int

The modifier flags for the last (left) mouse-down event. Full Topic

func (Cell) NextState

func (c_ Cell) NextState() int

The cell’s next state. Full Topic

func (Cell) ObjectValue

func (c_ Cell) ObjectValue() objc.Object

The cell’s value as an Objective-C object. Full Topic

func (Cell) PerformClick

func (c_ Cell) PerformClick(sender objc.IObject)

Simulates a single mouse click on the receiver. Full Topic

func (Cell) RefusesFirstResponder

func (c_ Cell) RefusesFirstResponder() bool

A Boolean value indicating whether the cell refuses the first responder status. Full Topic

func (Cell) RepresentedObject

func (c_ Cell) RepresentedObject() objc.Object

The object represented by the cell. Full Topic

func (Cell) ResetCursorRectInView

func (c_ Cell) ResetCursorRectInView(cellFrame foundation.Rect, controlView IView)

Sets the receiver to show the I-beam cursor while it tracks the mouse. Full Topic

func (Cell) SelectWithFrameInViewEditorDelegateStartLength

func (c_ Cell) SelectWithFrameInViewEditorDelegateStartLength(rect foundation.Rect, controlView IView, textObj IText, delegate objc.IObject, selStart int, selLength int)

Selects the specified text range in the cell's field editor. Full Topic

func (Cell) SendActionOn

func (c_ Cell) SendActionOn(mask EventMask) int

Sets the conditions on which the receiver sends action messages to its target. Full Topic

func (Cell) SendsActionOnEndEditing

func (c_ Cell) SendsActionOnEndEditing() bool

A Boolean value indicating whether the cell’s control object sends its action message when the user finishes editing the cell’s text. Full Topic

func (Cell) SetAction

func (c_ Cell) SetAction(value objc.Selector)

The action performed by the cell. Full Topic

func (Cell) SetAlignment

func (c_ Cell) SetAlignment(value TextAlignment)

The alignment of the cell’s text. Full Topic

func (Cell) SetAllowsEditingTextAttributes

func (c_ Cell) SetAllowsEditingTextAttributes(value bool)

A Boolean value indicating whether the cell allows the editing of its content’s text attributes by the user. Full Topic

func (Cell) SetAllowsMixedState

func (c_ Cell) SetAllowsMixedState(value bool)

A Boolean value indicating whether the cell supports three states instead of two. Full Topic

func (Cell) SetAllowsUndo

func (c_ Cell) SetAllowsUndo(value bool)

A Boolean value indicating whether the cell assumes responsibility for undo operations. Full Topic

func (Cell) SetAttributedStringValue

func (c_ Cell) SetAttributedStringValue(value foundation.IAttributedString)

The cell’s value as an attributed string. Full Topic

func (Cell) SetBackgroundStyle

func (c_ Cell) SetBackgroundStyle(value BackgroundStyle)

The cell’s background style. Full Topic

func (Cell) SetBaseWritingDirection

func (c_ Cell) SetBaseWritingDirection(value WritingDirection)

The initial writing direction used to determine the actual writing direction for text. Full Topic

func (Cell) SetBezeled

func (c_ Cell) SetBezeled(value bool)

A Boolean value indicating whether the cell has a bezeled border. Full Topic

func (Cell) SetBordered

func (c_ Cell) SetBordered(value bool)

A Boolean value indicating whether the cell draws itself outlined with a plain border. Full Topic

func (Cell) SetCellAttributeTo

func (c_ Cell) SetCellAttributeTo(parameter CellAttribute, value int)

Sets the value for the specified cell attribute. Full Topic

func (Cell) SetContinuous

func (c_ Cell) SetContinuous(value bool)

A Boolean value indicating whether the cell sends its action message continuously during mouse tracking. Full Topic

func (Cell) SetControlSize

func (c_ Cell) SetControlSize(value ControlSize)

The size of the cell. Full Topic

func (Cell) SetControlView

func (c_ Cell) SetControlView(value IView)

The view associated with the cell. Full Topic

func (Cell) SetDoubleValue

func (c_ Cell) SetDoubleValue(value float64)

The cell’s value as a double-precision floating-point number. Full Topic

func (Cell) SetEditable

func (c_ Cell) SetEditable(value bool)

A Boolean value indicating whether the cell is editable. Full Topic

func (Cell) SetEnabled

func (c_ Cell) SetEnabled(value bool)

A Boolean value indicating whether the cell is currently enabled. Full Topic

func (Cell) SetFloatValue

func (c_ Cell) SetFloatValue(value float64)

The cell’s value as a single-precision floating-point number. Full Topic

func (Cell) SetFocusRingType

func (c_ Cell) SetFocusRingType(value FocusRingType)

The type of focus ring to use with the associated view. Full Topic

func (Cell) SetFont

func (c_ Cell) SetFont(value IFont)

The font that the cell uses to display text. Full Topic

func (Cell) SetFormatter

func (c_ Cell) SetFormatter(value foundation.IFormatter)

The cell’s formatter object. Full Topic

func (Cell) SetHighlighted

func (c_ Cell) SetHighlighted(value bool)

A Boolean value indicating whether the cell has a highlighted appearance. Full Topic

func (Cell) SetImage

func (c_ Cell) SetImage(value IImage)

The image displayed by the cell, if any. Full Topic

func (Cell) SetImportsGraphics

func (c_ Cell) SetImportsGraphics(value bool)

A Boolean value indicating whether the cell supports the importation of images into its text. Full Topic

func (Cell) SetIntValue

func (c_ Cell) SetIntValue(value int)

The cell’s value as an integer. Full Topic

func (Cell) SetIntegerValue

func (c_ Cell) SetIntegerValue(value int)

The cell’s value as an NSInteger type. Full Topic

func (Cell) SetMenu

func (c_ Cell) SetMenu(value IMenu)

The cell’s contextual menu. Full Topic

func (Cell) SetNextState

func (c_ Cell) SetNextState()

Changes cell’s state to the next value in the sequence. Full Topic

func (Cell) SetObjectValue

func (c_ Cell) SetObjectValue(value objc.IObject)

The cell’s value as an Objective-C object. Full Topic

func (Cell) SetRefusesFirstResponder

func (c_ Cell) SetRefusesFirstResponder(value bool)

A Boolean value indicating whether the cell refuses the first responder status. Full Topic

func (Cell) SetRepresentedObject

func (c_ Cell) SetRepresentedObject(value objc.IObject)

The object represented by the cell. Full Topic

func (Cell) SetScrollable

func (c_ Cell) SetScrollable(value bool)

A Boolean value indicating whether excess text scrolls past the cell’s bounds. Full Topic

func (Cell) SetSelectable

func (c_ Cell) SetSelectable(value bool)

A Boolean value indicating whether the cell’s text can be selected. Full Topic

func (Cell) SetSendsActionOnEndEditing

func (c_ Cell) SetSendsActionOnEndEditing(value bool)

A Boolean value indicating whether the cell’s control object sends its action message when the user finishes editing the cell’s text. Full Topic

func (Cell) SetShowsFirstResponder

func (c_ Cell) SetShowsFirstResponder(value bool)

A Boolean value indicating whether the cell provides a visual indication that it is the first responder. Full Topic

func (Cell) SetState

func (c_ Cell) SetState(value ControlStateValue)

The cell’s current state. Full Topic

func (Cell) SetStringValue

func (c_ Cell) SetStringValue(value string)

The cell’s value as a string. Full Topic

func (Cell) SetTag

func (c_ Cell) SetTag(value int)

A tag for identifying the cell. Full Topic

func (Cell) SetTarget

func (c_ Cell) SetTarget(value objc.IObject)

The object that receives the cell’s action messages. Full Topic

func (Cell) SetTitle

func (c_ Cell) SetTitle(value string)

The cell’s title text. Full Topic

func (Cell) SetTruncatesLastVisibleLine

func (c_ Cell) SetTruncatesLastVisibleLine(value bool)

A Boolean value indicating whether the cell truncates text that does not fit within the cell’s bounds. Full Topic

func (Cell) SetType

func (c_ Cell) SetType(value CellType)

The type of the cell. Full Topic

func (Cell) SetUpFieldEditorAttributes

func (c_ Cell) SetUpFieldEditorAttributes(textObj IText) Text

Configures the textual and background attributes of the receiver's field editor. Full Topic

func (Cell) SetUserInterfaceLayoutDirection

func (c_ Cell) SetUserInterfaceLayoutDirection(value UserInterfaceLayoutDirection)

The layout direction of the user interface. Full Topic

func (Cell) SetUsesSingleLineMode

func (c_ Cell) SetUsesSingleLineMode(value bool)

A Boolean value indicating whether the cell restricts layout and rendering of text to a single line. Full Topic

func (Cell) SetWraps

func (c_ Cell) SetWraps(value bool)

A Boolean value indicating whether the cell wraps text whose length that exceeds the cell’s frame. Full Topic

func (Cell) ShowsFirstResponder

func (c_ Cell) ShowsFirstResponder() bool

A Boolean value indicating whether the cell provides a visual indication that it is the first responder. Full Topic

func (Cell) StartTrackingAtInView

func (c_ Cell) StartTrackingAtInView(startPoint foundation.Point, controlView IView) bool

Begins tracking mouse events within the receiver. Full Topic

func (Cell) State

func (c_ Cell) State() ControlStateValue

The cell’s current state. Full Topic

func (Cell) StopTrackingAtInViewMouseIsUp

func (c_ Cell) StopTrackingAtInViewMouseIsUp(lastPoint foundation.Point, stopPoint foundation.Point, controlView IView, flag bool)

Stops tracking mouse events within the receiver. Full Topic

func (Cell) StringValue

func (c_ Cell) StringValue() string

The cell’s value as a string. Full Topic

func (Cell) Tag

func (c_ Cell) Tag() int

A tag for identifying the cell. Full Topic

func (Cell) TakeDoubleValueFrom

func (c_ Cell) TakeDoubleValueFrom(sender objc.IObject)

Sets the value of the receiver’s cell to a double-precision floating-point value obtained from the specified object. Full Topic

func (Cell) TakeFloatValueFrom

func (c_ Cell) TakeFloatValueFrom(sender objc.IObject)

Sets the value of the receiver’s cell to a single-precision floating-point value obtained from the specified object. Full Topic

func (Cell) TakeIntValueFrom

func (c_ Cell) TakeIntValueFrom(sender objc.IObject)

Sets the value of the receiver’s cell to an integer value obtained from the specified object. Full Topic

func (Cell) TakeIntegerValueFrom

func (c_ Cell) TakeIntegerValueFrom(sender objc.IObject)

Sets the value of the receiver’s cell to an integer value obtained from the specified object. Full Topic

func (Cell) TakeObjectValueFrom

func (c_ Cell) TakeObjectValueFrom(sender objc.IObject)

Sets the value of the receiver’s cell to the object value obtained from the specified object. Full Topic

func (Cell) TakeStringValueFrom

func (c_ Cell) TakeStringValueFrom(sender objc.IObject)

Sets the value of the receiver’s cell to the string value obtained from the specified object. Full Topic

func (Cell) Target

func (c_ Cell) Target() objc.Object

The object that receives the cell’s action messages. Full Topic

func (Cell) Title

func (c_ Cell) Title() string

The cell’s title text. Full Topic

func (Cell) TitleRectForBounds

func (c_ Cell) TitleRectForBounds(rect foundation.Rect) foundation.Rect

Returns the rectangle in which the receiver draws its title text. Full Topic

func (Cell) TrackMouseInRectOfViewUntilMouseUp

func (c_ Cell) TrackMouseInRectOfViewUntilMouseUp(event IEvent, cellFrame foundation.Rect, controlView IView, flag bool) bool

Initiates the mouse tracking behavior in a cell. Full Topic

func (Cell) TruncatesLastVisibleLine

func (c_ Cell) TruncatesLastVisibleLine() bool

A Boolean value indicating whether the cell truncates text that does not fit within the cell’s bounds. Full Topic

func (Cell) Type

func (c_ Cell) Type() CellType

The type of the cell. Full Topic

func (Cell) UserInterfaceLayoutDirection

func (c_ Cell) UserInterfaceLayoutDirection() UserInterfaceLayoutDirection

The layout direction of the user interface. Full Topic

func (Cell) UsesSingleLineMode

func (c_ Cell) UsesSingleLineMode() bool

A Boolean value indicating whether the cell restricts layout and rendering of text to a single line. Full Topic

func (Cell) WantsNotificationForMarkedText

func (c_ Cell) WantsNotificationForMarkedText() bool

A Boolean value indicating whether the cell’s field editor should post text change notifications. Full Topic

func (Cell) Wraps

func (c_ Cell) Wraps() bool

A Boolean value indicating whether the cell wraps text whose length that exceeds the cell’s frame. Full Topic

type CellAttribute

type CellAttribute uint

Constants for specifying how a button behaves when pressed and how it displays its state. Full Topic

const (
	CellAllowsMixedState       CellAttribute = 16
	CellChangesContents        CellAttribute = 14
	CellDisabled               CellAttribute = 0
	CellEditable               CellAttribute = 3
	CellHasImageHorizontal     CellAttribute = 12
	CellHasImageOnLeftOrBottom CellAttribute = 13
	CellHasOverlappingImage    CellAttribute = 11
	CellHighlighted            CellAttribute = 5
	CellIsBordered             CellAttribute = 10
	CellIsInsetButton          CellAttribute = 15
	CellLightsByBackground     CellAttribute = 9
	CellLightsByContents       CellAttribute = 6
	CellLightsByGray           CellAttribute = 7
	CellState                  CellAttribute = 1
	ChangeBackgroundCell       CellAttribute = 8
	ChangeGrayCell             CellAttribute = 4
	PushInCell                 CellAttribute = 2
)

type CellHitResult

type CellHitResult uint

Constants used by the hitTestForEvent:inRect:ofView: method to determine the effect of an event. Full Topic

const (
	CellHitContentArea      CellHitResult = 1
	CellHitEditableTextArea CellHitResult = 2
	CellHitNone             CellHitResult = 0
	CellHitTrackableArea    CellHitResult = 4
)

type CellImagePosition

type CellImagePosition uint

A constant for specifying the position of a button’s image relative to its title. Full Topic

const (
	ImageAbove    CellImagePosition = 5
	ImageBelow    CellImagePosition = 4
	ImageLeading  CellImagePosition = 7
	ImageLeft     CellImagePosition = 2
	ImageOnly     CellImagePosition = 1
	ImageOverlaps CellImagePosition = 6
	ImageRight    CellImagePosition = 3
	ImageTrailing CellImagePosition = 8
	NoImage       CellImagePosition = 0
)

type CellStateValue

type CellStateValue ControlStateValue

Constants for specifying a cell’s state and are used mostly for buttons. Full Topic

type CellStyleMask

type CellStyleMask uint

Constants for specifying what happens when a button is pressed or is displaying its alternate state. Full Topic

const (
	ChangeBackgroundCellMask CellStyleMask = 8
	ChangeGrayCellMask       CellStyleMask = 4
	ContentsCellMask         CellStyleMask = 1
	NoCellMask               CellStyleMask = 0
	PushInCellMask           CellStyleMask = 2
)

type CellType

type CellType uint

Constants for specifying how a cell represents its data (as text or as an image). Full Topic

const (
	ImageCellType CellType = 2
	NullCellType  CellType = 0
	TextCellType  CellType = 1
)

type ChangeSpellingWrapper

type ChangeSpellingWrapper struct {
	objc.Object
}

A concrete type wrapper for the PChangeSpelling protocol.

func (ChangeSpellingWrapper) ChangeSpelling

func (c_ ChangeSpellingWrapper) ChangeSpelling(sender objc.IObject)

Replaces the selected word in the receiver with a corrected version from the Spelling panel. Full Topic

func (ChangeSpellingWrapper) HasChangeSpelling

func (c_ ChangeSpellingWrapper) HasChangeSpelling() bool

type CharacterCollection

type CharacterCollection uint

Values that map character identifiers to glyphs. Full Topic

const (
	AdobeCNS1CharacterCollection       CharacterCollection = 1
	AdobeGB1CharacterCollection        CharacterCollection = 2
	AdobeJapan1CharacterCollection     CharacterCollection = 3
	AdobeJapan2CharacterCollection     CharacterCollection = 4
	AdobeKorea1CharacterCollection     CharacterCollection = 5
	IdentityMappingCharacterCollection CharacterCollection = 0
)

type ClickGestureRecognizer

type ClickGestureRecognizer struct {
	GestureRecognizer
}

A discrete gesture recognizer that tracks a specified number of mouse clicks. Full Topic

func ClickGestureRecognizerFrom

func ClickGestureRecognizerFrom(ptr unsafe.Pointer) ClickGestureRecognizer

func ClickGestureRecognizer_Alloc

func ClickGestureRecognizer_Alloc() ClickGestureRecognizer

func NewClickGestureRecognizer

func NewClickGestureRecognizer() ClickGestureRecognizer

func NewClickGestureRecognizerWithTargetAction

func NewClickGestureRecognizerWithTargetAction(target objc.IObject, action objc.Selector) ClickGestureRecognizer

Initializes the gesture recognizer with the specified target and action information. Full Topic

func (ClickGestureRecognizer) ButtonMask

func (c_ ClickGestureRecognizer) ButtonMask() uint

A bit mask of the button (or buttons) required to recognize this click. Full Topic

func (ClickGestureRecognizer) Init

func (ClickGestureRecognizer) InitWithTargetAction

func (c_ ClickGestureRecognizer) InitWithTargetAction(target objc.IObject, action objc.Selector) ClickGestureRecognizer

func (ClickGestureRecognizer) NumberOfClicksRequired

func (c_ ClickGestureRecognizer) NumberOfClicksRequired() int

The number of clicks required to match. Full Topic

func (ClickGestureRecognizer) NumberOfTouchesRequired

func (c_ ClickGestureRecognizer) NumberOfTouchesRequired() int

The number of touches required in an NSTouchBar object for the gesture recognizer to match. Full Topic

func (ClickGestureRecognizer) SetButtonMask

func (c_ ClickGestureRecognizer) SetButtonMask(value uint)

A bit mask of the button (or buttons) required to recognize this click. Full Topic

func (ClickGestureRecognizer) SetNumberOfClicksRequired

func (c_ ClickGestureRecognizer) SetNumberOfClicksRequired(value int)

The number of clicks required to match. Full Topic

func (ClickGestureRecognizer) SetNumberOfTouchesRequired

func (c_ ClickGestureRecognizer) SetNumberOfTouchesRequired(value int)

The number of touches required in an NSTouchBar object for the gesture recognizer to match. Full Topic

type ClipView

type ClipView struct {
	View
}

An object that clips a document view to a scroll view's frame. Full Topic

func ClipViewFrom

func ClipViewFrom(ptr unsafe.Pointer) ClipView

func ClipView_Alloc

func ClipView_Alloc() ClipView

func NewClipView

func NewClipView() ClipView

func NewClipViewWithFrame

func NewClipViewWithFrame(frameRect foundation.Rect) ClipView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func (ClipView) AutomaticallyAdjustsContentInsets

func (c_ ClipView) AutomaticallyAdjustsContentInsets() bool

A Boolean value that indicates if the clip view automatically accounts for other scroll view subviews. Full Topic

func (ClipView) BackgroundColor

func (c_ ClipView) BackgroundColor() Color

The color of the clip view’s background. Full Topic

func (ClipView) ConstrainBoundsRect

func (c_ ClipView) ConstrainBoundsRect(proposedBounds foundation.Rect) foundation.Rect

Constrains the bounds of the clip view while the user is magnifying and scrolling. Full Topic

func (ClipView) ContentInsets

func (c_ ClipView) ContentInsets() foundation.EdgeInsets

The distance that the content view is inset from the enclosing scroll view. Full Topic

func (ClipView) DocumentCursor

func (c_ ClipView) DocumentCursor() Cursor

The cursor object used when the pointer lies over the view. Full Topic

func (ClipView) DocumentRect

func (c_ ClipView) DocumentRect() foundation.Rect

The rectangle defining the document view’s frame, adjusted to the size of the clip view if the document view is smaller. Full Topic

func (ClipView) DocumentView

func (c_ ClipView) DocumentView() View

The clip view’s document view. Full Topic

func (ClipView) DocumentVisibleRect

func (c_ ClipView) DocumentVisibleRect() foundation.Rect

The exposed rectangle of the clip view’s document view, in the document view’s own coordinate system. Full Topic

func (ClipView) DrawsBackground

func (c_ ClipView) DrawsBackground() bool

A Boolean value that indicates if the clip view draws its background color. Full Topic

func (ClipView) Init

func (c_ ClipView) Init() ClipView

func (ClipView) InitWithFrame

func (c_ ClipView) InitWithFrame(frameRect foundation.Rect) ClipView

func (ClipView) ScrollToPoint

func (c_ ClipView) ScrollToPoint(newOrigin foundation.Point)

Changes the origin of the clip view’s bounds rectangle to newOrigin. Full Topic

func (ClipView) SetAutomaticallyAdjustsContentInsets

func (c_ ClipView) SetAutomaticallyAdjustsContentInsets(value bool)

A Boolean value that indicates if the clip view automatically accounts for other scroll view subviews. Full Topic

func (ClipView) SetBackgroundColor

func (c_ ClipView) SetBackgroundColor(value IColor)

The color of the clip view’s background. Full Topic

func (ClipView) SetContentInsets

func (c_ ClipView) SetContentInsets(value foundation.EdgeInsets)

The distance that the content view is inset from the enclosing scroll view. Full Topic

func (ClipView) SetDocumentCursor

func (c_ ClipView) SetDocumentCursor(value ICursor)

The cursor object used when the pointer lies over the view. Full Topic

func (ClipView) SetDocumentView

func (c_ ClipView) SetDocumentView(value IView)

The clip view’s document view. Full Topic

func (ClipView) SetDrawsBackground

func (c_ ClipView) SetDrawsBackground(value bool)

A Boolean value that indicates if the clip view draws its background color. Full Topic

func (ClipView) ViewBoundsChanged

func (c_ ClipView) ViewBoundsChanged(notification foundation.INotification)

Handles an NSViewBoundsDidChangeNotification, passed in the aNotification argument, by updating a containing NSScrollView based on the new bounds. Full Topic

func (ClipView) ViewFrameChanged

func (c_ ClipView) ViewFrameChanged(notification foundation.INotification)

Handles an NSViewFrameDidChangeNotification, passed in the aNotification argument, by updating a containing NSScrollView based on the new frame. Full Topic

type CloudKitSharingServiceOptions

type CloudKitSharingServiceOptions uint

Constants that describe how a participant can configure a CloudKit share. Full Topic

const (
	CloudKitSharingServiceAllowPrivate   CloudKitSharingServiceOptions = 2
	CloudKitSharingServiceAllowPublic    CloudKitSharingServiceOptions = 1
	CloudKitSharingServiceAllowReadOnly  CloudKitSharingServiceOptions = 16
	CloudKitSharingServiceAllowReadWrite CloudKitSharingServiceOptions = 32
	CloudKitSharingServiceStandard       CloudKitSharingServiceOptions = 0
)

type CloudSharingServiceDelegate

type CloudSharingServiceDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PCloudSharingServiceDelegate protocol.

func (*CloudSharingServiceDelegate) HasOptionsForSharingServiceShareProvider

func (di *CloudSharingServiceDelegate) HasOptionsForSharingServiceShareProvider() bool

func (*CloudSharingServiceDelegate) HasSharingServiceDidSaveShare

func (di *CloudSharingServiceDelegate) HasSharingServiceDidSaveShare() bool

func (*CloudSharingServiceDelegate) OptionsForSharingServiceShareProvider

func (di *CloudSharingServiceDelegate) OptionsForSharingServiceShareProvider(cloudKitSharingService SharingService, provider foundation.ItemProvider) CloudKitSharingServiceOptions

Asks the delegate for the participant options for the cloud-sharing service. Full Topic

func (*CloudSharingServiceDelegate) SetOptionsForSharingServiceShareProvider

func (di *CloudSharingServiceDelegate) SetOptionsForSharingServiceShareProvider(f func(cloudKitSharingService SharingService, provider foundation.ItemProvider) CloudKitSharingServiceOptions)

Asks the delegate for the participant options for the cloud-sharing service. Full Topic

func (*CloudSharingServiceDelegate) SetSharingServiceDidSaveShare

func (di *CloudSharingServiceDelegate) SetSharingServiceDidSaveShare(f func(sharingService SharingService, share objc.Object))

Tells the delegate when the cloud-sharing service saves the CloudKit share. Full Topic

func (*CloudSharingServiceDelegate) SharingServiceDidSaveShare

func (di *CloudSharingServiceDelegate) SharingServiceDidSaveShare(sharingService SharingService, share objc.Object)

Tells the delegate when the cloud-sharing service saves the CloudKit share. Full Topic

type CloudSharingServiceDelegateWrapper

type CloudSharingServiceDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PCloudSharingServiceDelegate protocol.

func (CloudSharingServiceDelegateWrapper) HasOptionsForSharingServiceShareProvider

func (c_ CloudSharingServiceDelegateWrapper) HasOptionsForSharingServiceShareProvider() bool

func (CloudSharingServiceDelegateWrapper) HasSharingServiceDidSaveShare

func (c_ CloudSharingServiceDelegateWrapper) HasSharingServiceDidSaveShare() bool

func (CloudSharingServiceDelegateWrapper) OptionsForSharingServiceShareProvider

func (c_ CloudSharingServiceDelegateWrapper) OptionsForSharingServiceShareProvider(cloudKitSharingService ISharingService, provider foundation.IItemProvider) CloudKitSharingServiceOptions

Asks the delegate for the participant options for the cloud-sharing service. Full Topic

func (CloudSharingServiceDelegateWrapper) SharingServiceDidSaveShare

func (c_ CloudSharingServiceDelegateWrapper) SharingServiceDidSaveShare(sharingService ISharingService, share objc.IObject)

Tells the delegate when the cloud-sharing service saves the CloudKit share. Full Topic

type CloudSharingValidationWrapper

type CloudSharingValidationWrapper struct {
	objc.Object
}

A concrete type wrapper for the PCloudSharingValidation protocol.

func (CloudSharingValidationWrapper) CloudShareForUserInterfaceItem

func (c_ CloudSharingValidationWrapper) CloudShareForUserInterfaceItem(item PValidatedUserInterfaceItem) objc.Object

Returns the Cloud share object that corresponds to the specified item, if one exists. Full Topic

func (CloudSharingValidationWrapper) HasCloudShareForUserInterfaceItem

func (c_ CloudSharingValidationWrapper) HasCloudShareForUserInterfaceItem() bool

type CollectionElementCategory

type CollectionElementCategory int

Constants specifying the type of element in the collection view. Full Topic

const (
	CollectionElementCategoryDecorationView    CollectionElementCategory = 2
	CollectionElementCategoryInterItemGap      CollectionElementCategory = 3
	CollectionElementCategoryItem              CollectionElementCategory = 0
	CollectionElementCategorySupplementaryView CollectionElementCategory = 1
)

type CollectionLayoutAnchor

type CollectionLayoutAnchor struct {
	objc.Object
}

An object that defines how to attach a supplementary item to an item in a collection view. Full Topic

func CollectionLayoutAnchorFrom

func CollectionLayoutAnchorFrom(ptr unsafe.Pointer) CollectionLayoutAnchor

func CollectionLayoutAnchor_Alloc

func CollectionLayoutAnchor_Alloc() CollectionLayoutAnchor

func CollectionLayoutAnchor_LayoutAnchorWithEdges

func CollectionLayoutAnchor_LayoutAnchorWithEdges(edges DirectionalRectEdge) CollectionLayoutAnchor

Creates an anchor with the specified edges to attach to. Full Topic

func NewCollectionLayoutAnchor

func NewCollectionLayoutAnchor() CollectionLayoutAnchor

func (CollectionLayoutAnchor) Edges

The edges of the item an anchor is attached to. Full Topic

func (CollectionLayoutAnchor) Init

func (CollectionLayoutAnchor) IsAbsoluteOffset

func (c_ CollectionLayoutAnchor) IsAbsoluteOffset() bool

A Boolean value that indicates whether the anchor's offset is expressed as an absolute value. Full Topic

func (CollectionLayoutAnchor) IsFractionalOffset

func (c_ CollectionLayoutAnchor) IsFractionalOffset() bool

A Boolean value that indicates whether the anchor's offset is expressed as a fraction of its supplementary item's dimension. Full Topic

func (CollectionLayoutAnchor) Offset

The floating-point value of the anchor's offset from the item it's attached to. Full Topic

type CollectionLayoutBoundarySupplementaryItem

type CollectionLayoutBoundarySupplementaryItem struct {
	CollectionLayoutSupplementaryItem
}

An object used to add headers or footers to a collection view. Full Topic

func CollectionLayoutBoundarySupplementaryItem_Alloc

func CollectionLayoutBoundarySupplementaryItem_Alloc() CollectionLayoutBoundarySupplementaryItem

func CollectionLayoutBoundarySupplementaryItem_BoundarySupplementaryItemWithLayoutSizeElementKindAlignment

func CollectionLayoutBoundarySupplementaryItem_BoundarySupplementaryItemWithLayoutSizeElementKindAlignment(layoutSize ICollectionLayoutSize, elementKind string, alignment RectAlignment) CollectionLayoutBoundarySupplementaryItem

Creates a boundary supplementary item of the specified size and element kind, with an alignment relative to a section or layout. Full Topic

func CollectionLayoutBoundarySupplementaryItem_ItemWithLayoutSize

func CollectionLayoutBoundarySupplementaryItem_ItemWithLayoutSize(layoutSize ICollectionLayoutSize) CollectionLayoutBoundarySupplementaryItem

Creates an item of the specified size. Full Topic

func CollectionLayoutBoundarySupplementaryItem_SupplementaryItemWithLayoutSizeElementKindContainerAnchorItemAnchor

func CollectionLayoutBoundarySupplementaryItem_SupplementaryItemWithLayoutSizeElementKindContainerAnchorItemAnchor(layoutSize ICollectionLayoutSize, elementKind string, containerAnchor ICollectionLayoutAnchor, itemAnchor ICollectionLayoutAnchor) CollectionLayoutBoundarySupplementaryItem

Creates a supplementary item of the specified size and element kind, an anchor relative to a container, and an anchor relative to an item. Full Topic

func NewCollectionLayoutBoundarySupplementaryItem

func NewCollectionLayoutBoundarySupplementaryItem() CollectionLayoutBoundarySupplementaryItem

func (CollectionLayoutBoundarySupplementaryItem) Alignment

The alignment of the boundary supplementary item relative to the section or layout it’s attached to. Full Topic

func (CollectionLayoutBoundarySupplementaryItem) ExtendsBoundary

func (c_ CollectionLayoutBoundarySupplementaryItem) ExtendsBoundary() bool

A Boolean value that indicates whether a boundary supplementary item extends the content area of the section or layout it’s attached to. Full Topic

func (CollectionLayoutBoundarySupplementaryItem) Init

func (CollectionLayoutBoundarySupplementaryItem) Offset

The floating-point value of the boundary supplementary item’s offset from the section or layout it’s attached to. Full Topic

func (CollectionLayoutBoundarySupplementaryItem) PinToVisibleBounds

func (c_ CollectionLayoutBoundarySupplementaryItem) PinToVisibleBounds() bool

A Boolean value that indicates whether a header or footer is pinned to the top or bottom visible boundary of the section or layout it’s attached to. Full Topic

func (CollectionLayoutBoundarySupplementaryItem) SetExtendsBoundary

func (c_ CollectionLayoutBoundarySupplementaryItem) SetExtendsBoundary(value bool)

A Boolean value that indicates whether a boundary supplementary item extends the content area of the section or layout it’s attached to. Full Topic

func (CollectionLayoutBoundarySupplementaryItem) SetPinToVisibleBounds

func (c_ CollectionLayoutBoundarySupplementaryItem) SetPinToVisibleBounds(value bool)

A Boolean value that indicates whether a header or footer is pinned to the top or bottom visible boundary of the section or layout it’s attached to. Full Topic

type CollectionLayoutContainerWrapper

type CollectionLayoutContainerWrapper struct {
	objc.Object
}

A concrete type wrapper for the PCollectionLayoutContainer protocol.

func (CollectionLayoutContainerWrapper) ContentInsets

The amount of space added around the content of the container to adjust its final size. Full Topic

func (CollectionLayoutContainerWrapper) ContentSize

The size of the container before content insets are applied. Full Topic

func (CollectionLayoutContainerWrapper) EffectiveContentInsets

func (c_ CollectionLayoutContainerWrapper) EffectiveContentInsets() DirectionalEdgeInsets

The amount of space added around the content of the container to adjust its final size after item content insets are applied. Full Topic

func (CollectionLayoutContainerWrapper) EffectiveContentSize

func (c_ CollectionLayoutContainerWrapper) EffectiveContentSize() coregraphics.Size

The size of the container after content insets are applied. Full Topic

func (CollectionLayoutContainerWrapper) HasContentInsets

func (c_ CollectionLayoutContainerWrapper) HasContentInsets() bool

func (CollectionLayoutContainerWrapper) HasContentSize

func (c_ CollectionLayoutContainerWrapper) HasContentSize() bool

func (CollectionLayoutContainerWrapper) HasEffectiveContentInsets

func (c_ CollectionLayoutContainerWrapper) HasEffectiveContentInsets() bool

func (CollectionLayoutContainerWrapper) HasEffectiveContentSize

func (c_ CollectionLayoutContainerWrapper) HasEffectiveContentSize() bool

type CollectionLayoutDecorationItem

type CollectionLayoutDecorationItem struct {
	CollectionLayoutItem
}

An object used to add a background to a section of a collection view. Full Topic

func CollectionLayoutDecorationItemFrom

func CollectionLayoutDecorationItemFrom(ptr unsafe.Pointer) CollectionLayoutDecorationItem

func CollectionLayoutDecorationItem_Alloc

func CollectionLayoutDecorationItem_Alloc() CollectionLayoutDecorationItem

func CollectionLayoutDecorationItem_BackgroundDecorationItemWithElementKind

func CollectionLayoutDecorationItem_BackgroundDecorationItemWithElementKind(elementKind string) CollectionLayoutDecorationItem

Creates a section background with a string to identify the element kind. Full Topic

func CollectionLayoutDecorationItem_ItemWithLayoutSize

func CollectionLayoutDecorationItem_ItemWithLayoutSize(layoutSize ICollectionLayoutSize) CollectionLayoutDecorationItem

Creates an item of the specified size. Full Topic

func NewCollectionLayoutDecorationItem

func NewCollectionLayoutDecorationItem() CollectionLayoutDecorationItem

func (CollectionLayoutDecorationItem) ElementKind

func (c_ CollectionLayoutDecorationItem) ElementKind() string

A string that identifies the type of decoration item. Full Topic

func (CollectionLayoutDecorationItem) Init

func (CollectionLayoutDecorationItem) SetZIndex

func (c_ CollectionLayoutDecorationItem) SetZIndex(value int)

The vertical stacking order of the decoration item in relation to other items in the section. Full Topic

func (CollectionLayoutDecorationItem) ZIndex

func (c_ CollectionLayoutDecorationItem) ZIndex() int

The vertical stacking order of the decoration item in relation to other items in the section. Full Topic

type CollectionLayoutDimension

type CollectionLayoutDimension struct {
	objc.Object
}

An individual dimension representing an item’s width or height in a collection view. Full Topic

func CollectionLayoutDimensionFrom

func CollectionLayoutDimensionFrom(ptr unsafe.Pointer) CollectionLayoutDimension

func CollectionLayoutDimension_AbsoluteDimension

func CollectionLayoutDimension_AbsoluteDimension(absoluteDimension float64) CollectionLayoutDimension

Creates a dimension with an absolute point value. Full Topic

func CollectionLayoutDimension_Alloc

func CollectionLayoutDimension_Alloc() CollectionLayoutDimension

func CollectionLayoutDimension_EstimatedDimension

func CollectionLayoutDimension_EstimatedDimension(estimatedDimension float64) CollectionLayoutDimension

Creates a dimension with an estimated point value. Full Topic

func CollectionLayoutDimension_FractionalHeightDimension

func CollectionLayoutDimension_FractionalHeightDimension(fractionalHeight float64) CollectionLayoutDimension

Creates a dimension that is computed as a fraction of the height of the containing group. Full Topic

func CollectionLayoutDimension_FractionalWidthDimension

func CollectionLayoutDimension_FractionalWidthDimension(fractionalWidth float64) CollectionLayoutDimension

Creates a dimension that is computed as a fraction of the width of the containing group. Full Topic

func NewCollectionLayoutDimension

func NewCollectionLayoutDimension() CollectionLayoutDimension

func (CollectionLayoutDimension) Dimension

func (c_ CollectionLayoutDimension) Dimension() float64

The floating-point value of the dimension. Full Topic

func (CollectionLayoutDimension) Init

func (CollectionLayoutDimension) IsAbsolute

func (c_ CollectionLayoutDimension) IsAbsolute() bool

A Boolean value that indicates whether the dimension is expressed as an absolute value. Full Topic

func (CollectionLayoutDimension) IsEstimated

func (c_ CollectionLayoutDimension) IsEstimated() bool

A Boolean value that indicates whether the dimension is expressed as an estimated value. Full Topic

func (CollectionLayoutDimension) IsFractionalHeight

func (c_ CollectionLayoutDimension) IsFractionalHeight() bool

A Boolean value that indicates whether the dimension is expressed as a fraction of its container’s height. Full Topic

func (CollectionLayoutDimension) IsFractionalWidth

func (c_ CollectionLayoutDimension) IsFractionalWidth() bool

A Boolean value that indicates whether the dimension is expressed as a fraction of its container’s width. Full Topic

type CollectionLayoutEdgeSpacing

type CollectionLayoutEdgeSpacing struct {
	objc.Object
}

An object that defines the space around the edges of items in a collection view. Full Topic

func CollectionLayoutEdgeSpacingFrom

func CollectionLayoutEdgeSpacingFrom(ptr unsafe.Pointer) CollectionLayoutEdgeSpacing

func CollectionLayoutEdgeSpacing_Alloc

func CollectionLayoutEdgeSpacing_Alloc() CollectionLayoutEdgeSpacing

func CollectionLayoutEdgeSpacing_SpacingForLeadingTopTrailingBottom

func CollectionLayoutEdgeSpacing_SpacingForLeadingTopTrailingBottom(leading ICollectionLayoutSpacing, top ICollectionLayoutSpacing, trailing ICollectionLayoutSpacing, bottom ICollectionLayoutSpacing) CollectionLayoutEdgeSpacing

Creates an edge spacing object with the specified leading, top, trailing, and bottom spacing. Full Topic

func NewCollectionLayoutEdgeSpacing

func NewCollectionLayoutEdgeSpacing() CollectionLayoutEdgeSpacing

func (CollectionLayoutEdgeSpacing) Bottom

The bottom edge spacing value. Full Topic

func (CollectionLayoutEdgeSpacing) Init

func (CollectionLayoutEdgeSpacing) Leading

The leading edge spacing value. Full Topic

func (CollectionLayoutEdgeSpacing) Top

The top edge spacing value. Full Topic

func (CollectionLayoutEdgeSpacing) Trailing

The trailing edge spacing value. Full Topic

type CollectionLayoutEnvironmentWrapper

type CollectionLayoutEnvironmentWrapper struct {
	objc.Object
}

A concrete type wrapper for the PCollectionLayoutEnvironment protocol.

func (CollectionLayoutEnvironmentWrapper) Container

Information about the layout's container, such as its size and content insets. Full Topic

func (CollectionLayoutEnvironmentWrapper) HasContainer

func (c_ CollectionLayoutEnvironmentWrapper) HasContainer() bool

type CollectionLayoutGroup

type CollectionLayoutGroup struct {
	CollectionLayoutItem
}

A container for a set of items that lays out the items along a path. Full Topic

func CollectionLayoutGroupFrom

func CollectionLayoutGroupFrom(ptr unsafe.Pointer) CollectionLayoutGroup

func CollectionLayoutGroup_Alloc

func CollectionLayoutGroup_Alloc() CollectionLayoutGroup

func CollectionLayoutGroup_CustomGroupWithLayoutSizeItemProvider

func CollectionLayoutGroup_CustomGroupWithLayoutSizeItemProvider(layoutSize ICollectionLayoutSize, itemProvider CollectionLayoutGroupCustomItemProvider) CollectionLayoutGroup

Creates a group of the specified size, with an item provider that creates a custom arrangement for those items. Full Topic

func CollectionLayoutGroup_HorizontalGroupWithLayoutSizeSubitems

func CollectionLayoutGroup_HorizontalGroupWithLayoutSizeSubitems(layoutSize ICollectionLayoutSize, subitems []ICollectionLayoutItem) CollectionLayoutGroup

Creates a group of the specified size, containing an array of items arranged in a horizontal line. Full Topic

func CollectionLayoutGroup_ItemWithLayoutSize

func CollectionLayoutGroup_ItemWithLayoutSize(layoutSize ICollectionLayoutSize) CollectionLayoutGroup

Creates an item of the specified size. Full Topic

func CollectionLayoutGroup_VerticalGroupWithLayoutSizeSubitems

func CollectionLayoutGroup_VerticalGroupWithLayoutSizeSubitems(layoutSize ICollectionLayoutSize, subitems []ICollectionLayoutItem) CollectionLayoutGroup

Creates a group of the specified size, containing an array of items arranged in a vertical line. Full Topic

func NewCollectionLayoutGroup

func NewCollectionLayoutGroup() CollectionLayoutGroup

func (CollectionLayoutGroup) Init

func (CollectionLayoutGroup) InterItemSpacing

func (c_ CollectionLayoutGroup) InterItemSpacing() CollectionLayoutSpacing

The amount of space between the items in the group. Full Topic

func (CollectionLayoutGroup) SetInterItemSpacing

func (c_ CollectionLayoutGroup) SetInterItemSpacing(value ICollectionLayoutSpacing)

The amount of space between the items in the group. Full Topic

func (CollectionLayoutGroup) SetSupplementaryItems

func (c_ CollectionLayoutGroup) SetSupplementaryItems(value []ICollectionLayoutSupplementaryItem)

An array of the supplementary items that are anchored to the group. Full Topic

func (CollectionLayoutGroup) Subitems

An array of the items contained in the group. Full Topic

func (CollectionLayoutGroup) VisualDescription

func (c_ CollectionLayoutGroup) VisualDescription() string

Returns a string with an ASCII representation of the group. Full Topic

type CollectionLayoutGroupCustomItem

type CollectionLayoutGroupCustomItem struct {
	objc.Object
}

An item used in a group with a custom layout arrangement. Full Topic

func CollectionLayoutGroupCustomItemFrom

func CollectionLayoutGroupCustomItemFrom(ptr unsafe.Pointer) CollectionLayoutGroupCustomItem

func CollectionLayoutGroupCustomItem_Alloc

func CollectionLayoutGroupCustomItem_Alloc() CollectionLayoutGroupCustomItem

func CollectionLayoutGroupCustomItem_CustomItemWithFrame

func CollectionLayoutGroupCustomItem_CustomItemWithFrame(frame coregraphics.Rect) CollectionLayoutGroupCustomItem

Creates a custom item with the specified frame. Full Topic

func NewCollectionLayoutGroupCustomItem

func NewCollectionLayoutGroupCustomItem() CollectionLayoutGroupCustomItem

func (CollectionLayoutGroupCustomItem) Frame

The frame of the custom item. Full Topic

func (CollectionLayoutGroupCustomItem) Init

func (CollectionLayoutGroupCustomItem) ZIndex

The vertical stacking order of the custom item in relation to other items in the group. Full Topic

type CollectionLayoutGroupCustomItemProvider

type CollectionLayoutGroupCustomItemProvider = func(layoutEnvironment CollectionLayoutEnvironmentWrapper) []CollectionLayoutGroupCustomItem

A closure that creates and returns each of the custom group’s items. Full Topic

type CollectionLayoutItem

type CollectionLayoutItem struct {
	objc.Object
}

The most basic component of a collection view’s layout. Full Topic

func CollectionLayoutItemFrom

func CollectionLayoutItemFrom(ptr unsafe.Pointer) CollectionLayoutItem

func CollectionLayoutItem_Alloc

func CollectionLayoutItem_Alloc() CollectionLayoutItem

func CollectionLayoutItem_ItemWithLayoutSize

func CollectionLayoutItem_ItemWithLayoutSize(layoutSize ICollectionLayoutSize) CollectionLayoutItem

Creates an item of the specified size. Full Topic

func NewCollectionLayoutItem

func NewCollectionLayoutItem() CollectionLayoutItem

func (CollectionLayoutItem) ContentInsets

func (c_ CollectionLayoutItem) ContentInsets() DirectionalEdgeInsets

The amount of space added around the content of the item to adjust its final size after its position is computed. Full Topic

func (CollectionLayoutItem) EdgeSpacing

The amount of space added around the boundaries of the item between other items and this item's container. Full Topic

func (CollectionLayoutItem) Init

func (CollectionLayoutItem) LayoutSize

The item's size expressed in width and height dimensions. Full Topic

func (CollectionLayoutItem) SetContentInsets

func (c_ CollectionLayoutItem) SetContentInsets(value DirectionalEdgeInsets)

The amount of space added around the content of the item to adjust its final size after its position is computed. Full Topic

func (CollectionLayoutItem) SetEdgeSpacing

func (c_ CollectionLayoutItem) SetEdgeSpacing(value ICollectionLayoutEdgeSpacing)

The amount of space added around the boundaries of the item between other items and this item's container. Full Topic

func (CollectionLayoutItem) SupplementaryItems

func (c_ CollectionLayoutItem) SupplementaryItems() []CollectionLayoutSupplementaryItem

An array of the supplementary items attached to the item. Full Topic

type CollectionLayoutSection

type CollectionLayoutSection struct {
	objc.Object
}

A container that combines a set of groups into distinct visual groupings. Full Topic

func CollectionLayoutSectionFrom

func CollectionLayoutSectionFrom(ptr unsafe.Pointer) CollectionLayoutSection

func CollectionLayoutSection_Alloc

func CollectionLayoutSection_Alloc() CollectionLayoutSection

func CollectionLayoutSection_SectionWithGroup

func CollectionLayoutSection_SectionWithGroup(group ICollectionLayoutGroup) CollectionLayoutSection

Creates a section containing the specified group. Full Topic

func NewCollectionLayoutSection

func NewCollectionLayoutSection() CollectionLayoutSection

func (CollectionLayoutSection) BoundarySupplementaryItems

func (c_ CollectionLayoutSection) BoundarySupplementaryItems() []CollectionLayoutBoundarySupplementaryItem

An array of the supplementary items that are associated with the boundary edges of the section, such as headers and footers. Full Topic

func (CollectionLayoutSection) ContentInsets

The amount of space between the content of the section and its boundaries. Full Topic

func (CollectionLayoutSection) DecorationItems

An array of the decoration items that are anchored to the section, such as background decoration views. Full Topic

func (CollectionLayoutSection) Init

func (CollectionLayoutSection) InterGroupSpacing

func (c_ CollectionLayoutSection) InterGroupSpacing() float64

The amount of space between the groups in the section. Full Topic

func (CollectionLayoutSection) OrthogonalScrollingBehavior

The section’s scrolling behavior in relation to the main layout axis. Full Topic

func (CollectionLayoutSection) SetBoundarySupplementaryItems

func (c_ CollectionLayoutSection) SetBoundarySupplementaryItems(value []ICollectionLayoutBoundarySupplementaryItem)

An array of the supplementary items that are associated with the boundary edges of the section, such as headers and footers. Full Topic

func (CollectionLayoutSection) SetContentInsets

func (c_ CollectionLayoutSection) SetContentInsets(value DirectionalEdgeInsets)

The amount of space between the content of the section and its boundaries. Full Topic

func (CollectionLayoutSection) SetDecorationItems

func (c_ CollectionLayoutSection) SetDecorationItems(value []ICollectionLayoutDecorationItem)

An array of the decoration items that are anchored to the section, such as background decoration views. Full Topic

func (CollectionLayoutSection) SetInterGroupSpacing

func (c_ CollectionLayoutSection) SetInterGroupSpacing(value float64)

The amount of space between the groups in the section. Full Topic

func (CollectionLayoutSection) SetOrthogonalScrollingBehavior

func (c_ CollectionLayoutSection) SetOrthogonalScrollingBehavior(value CollectionLayoutSectionOrthogonalScrollingBehavior)

The section’s scrolling behavior in relation to the main layout axis. Full Topic

func (CollectionLayoutSection) SetSupplementariesFollowContentInsets

func (c_ CollectionLayoutSection) SetSupplementariesFollowContentInsets(value bool)

A Boolean value that indicates whether the section’s supplementary items follow the specified content insets for the section. Full Topic

func (CollectionLayoutSection) SetVisibleItemsInvalidationHandler

func (c_ CollectionLayoutSection) SetVisibleItemsInvalidationHandler(value CollectionLayoutSectionVisibleItemsInvalidationHandler)

A closure called before each layout cycle to allow modification of the items in the section immediately before they’re displayed. Full Topic

func (CollectionLayoutSection) SupplementariesFollowContentInsets

func (c_ CollectionLayoutSection) SupplementariesFollowContentInsets() bool

A Boolean value that indicates whether the section’s supplementary items follow the specified content insets for the section. Full Topic

func (CollectionLayoutSection) VisibleItemsInvalidationHandler

A closure called before each layout cycle to allow modification of the items in the section immediately before they’re displayed. Full Topic

type CollectionLayoutSectionOrthogonalScrollingBehavior

type CollectionLayoutSectionOrthogonalScrollingBehavior int

The scrolling behavior of the layout's sections in relation to the main layout axis. Full Topic

const (
	CollectionLayoutSectionOrthogonalScrollingBehaviorContinuous                     CollectionLayoutSectionOrthogonalScrollingBehavior = 1
	CollectionLayoutSectionOrthogonalScrollingBehaviorContinuousGroupLeadingBoundary CollectionLayoutSectionOrthogonalScrollingBehavior = 2
	CollectionLayoutSectionOrthogonalScrollingBehaviorGroupPaging                    CollectionLayoutSectionOrthogonalScrollingBehavior = 4
	CollectionLayoutSectionOrthogonalScrollingBehaviorGroupPagingCentered            CollectionLayoutSectionOrthogonalScrollingBehavior = 5
	CollectionLayoutSectionOrthogonalScrollingBehaviorNone                           CollectionLayoutSectionOrthogonalScrollingBehavior = 0
	CollectionLayoutSectionOrthogonalScrollingBehaviorPaging                         CollectionLayoutSectionOrthogonalScrollingBehavior = 3
)

type CollectionLayoutSectionVisibleItemsInvalidationHandler

type CollectionLayoutSectionVisibleItemsInvalidationHandler = func(visibleItems []CollectionLayoutVisibleItemWrapper, contentOffset coregraphics.Point, layoutEnvironment CollectionLayoutEnvironmentWrapper)

A closure called before each layout cycle to allow modification of items in a section immediately before they’re displayed. Full Topic

type CollectionLayoutSize

type CollectionLayoutSize struct {
	objc.Object
}

The width and the height of an item in a collection view. Full Topic

func CollectionLayoutSizeFrom

func CollectionLayoutSizeFrom(ptr unsafe.Pointer) CollectionLayoutSize

func CollectionLayoutSize_Alloc

func CollectionLayoutSize_Alloc() CollectionLayoutSize

func CollectionLayoutSize_SizeWithWidthDimensionHeightDimension

func CollectionLayoutSize_SizeWithWidthDimensionHeightDimension(width ICollectionLayoutDimension, height ICollectionLayoutDimension) CollectionLayoutSize

Creates a size with the specified width and height dimensions. Full Topic

func NewCollectionLayoutSize

func NewCollectionLayoutSize() CollectionLayoutSize

func (CollectionLayoutSize) HeightDimension

func (c_ CollectionLayoutSize) HeightDimension() CollectionLayoutDimension

The height dimension of an item in a collection view layout. Full Topic

func (CollectionLayoutSize) Init

func (CollectionLayoutSize) WidthDimension

func (c_ CollectionLayoutSize) WidthDimension() CollectionLayoutDimension

The width dimension of an item in a collection view layout. Full Topic

type CollectionLayoutSpacing

type CollectionLayoutSpacing struct {
	objc.Object
}

An object that defines the space between or around items in a collection view. Full Topic

func CollectionLayoutSpacingFrom

func CollectionLayoutSpacingFrom(ptr unsafe.Pointer) CollectionLayoutSpacing

func CollectionLayoutSpacing_Alloc

func CollectionLayoutSpacing_Alloc() CollectionLayoutSpacing

func CollectionLayoutSpacing_FixedSpacing

func CollectionLayoutSpacing_FixedSpacing(fixedSpacing float64) CollectionLayoutSpacing

Creates a space equivalent to the specified number of points. Full Topic

func CollectionLayoutSpacing_FlexibleSpacing

func CollectionLayoutSpacing_FlexibleSpacing(flexibleSpacing float64) CollectionLayoutSpacing

Creates a space equivalent to or greater than the specified number of points, depending on the available space. Full Topic

func NewCollectionLayoutSpacing

func NewCollectionLayoutSpacing() CollectionLayoutSpacing

func (CollectionLayoutSpacing) Init

func (CollectionLayoutSpacing) IsFixedSpacing

func (c_ CollectionLayoutSpacing) IsFixedSpacing() bool

A Boolean value that indicates whether the space is fixed to a specific number of points. Full Topic

func (CollectionLayoutSpacing) IsFlexibleSpacing

func (c_ CollectionLayoutSpacing) IsFlexibleSpacing() bool

A Boolean value that indicates whether the space is flexible. Full Topic

func (CollectionLayoutSpacing) Spacing

func (c_ CollectionLayoutSpacing) Spacing() float64

The floating-point value of the space. Full Topic

type CollectionLayoutSupplementaryItem

type CollectionLayoutSupplementaryItem struct {
	CollectionLayoutItem
}

An object used to add an extra visual decoration to an item in a collection view. Full Topic

func CollectionLayoutSupplementaryItemFrom

func CollectionLayoutSupplementaryItemFrom(ptr unsafe.Pointer) CollectionLayoutSupplementaryItem

func CollectionLayoutSupplementaryItem_Alloc

func CollectionLayoutSupplementaryItem_Alloc() CollectionLayoutSupplementaryItem

func CollectionLayoutSupplementaryItem_ItemWithLayoutSize

func CollectionLayoutSupplementaryItem_ItemWithLayoutSize(layoutSize ICollectionLayoutSize) CollectionLayoutSupplementaryItem

Creates an item of the specified size. Full Topic

func CollectionLayoutSupplementaryItem_SupplementaryItemWithLayoutSizeElementKindContainerAnchorItemAnchor

func CollectionLayoutSupplementaryItem_SupplementaryItemWithLayoutSizeElementKindContainerAnchorItemAnchor(layoutSize ICollectionLayoutSize, elementKind string, containerAnchor ICollectionLayoutAnchor, itemAnchor ICollectionLayoutAnchor) CollectionLayoutSupplementaryItem

Creates a supplementary item of the specified size and element kind, an anchor relative to a container, and an anchor relative to an item. Full Topic

func NewCollectionLayoutSupplementaryItem

func NewCollectionLayoutSupplementaryItem() CollectionLayoutSupplementaryItem

func (CollectionLayoutSupplementaryItem) ContainerAnchor

The anchor between the supplementary item and the container it's attached to. Full Topic

func (CollectionLayoutSupplementaryItem) ElementKind

func (c_ CollectionLayoutSupplementaryItem) ElementKind() string

A string that identifies the type of supplementary item. Full Topic

func (CollectionLayoutSupplementaryItem) Init

func (CollectionLayoutSupplementaryItem) ItemAnchor

The anchor between the supplementary item and the item it's attached to. Full Topic

func (CollectionLayoutSupplementaryItem) SetZIndex

func (c_ CollectionLayoutSupplementaryItem) SetZIndex(value int)

The vertical stacking order of the supplementary item in relation to other items in the section. Full Topic

func (CollectionLayoutSupplementaryItem) ZIndex

The vertical stacking order of the supplementary item in relation to other items in the section. Full Topic

type CollectionLayoutVisibleItemWrapper

type CollectionLayoutVisibleItemWrapper struct {
	objc.Object
}

A concrete type wrapper for the PCollectionLayoutVisibleItem protocol.

func (CollectionLayoutVisibleItemWrapper) Alpha

The transparency of the item. Full Topic

func (CollectionLayoutVisibleItemWrapper) Bounds

The bounds rectangle, which describes the item's location and size in its own coordinate system. Full Topic

func (CollectionLayoutVisibleItemWrapper) Center

The center point of the item's frame rectangle. Full Topic

func (CollectionLayoutVisibleItemWrapper) Frame

The frame rectangle, which describes the item's location and size in its section's coordinate system. Full Topic

func (CollectionLayoutVisibleItemWrapper) HasAlpha

func (CollectionLayoutVisibleItemWrapper) HasBounds

func (CollectionLayoutVisibleItemWrapper) HasCenter

func (CollectionLayoutVisibleItemWrapper) HasFrame

func (CollectionLayoutVisibleItemWrapper) HasIndexPath

func (c_ CollectionLayoutVisibleItemWrapper) HasIndexPath() bool

func (CollectionLayoutVisibleItemWrapper) HasIsHidden

func (c_ CollectionLayoutVisibleItemWrapper) HasIsHidden() bool

func (CollectionLayoutVisibleItemWrapper) HasName

func (CollectionLayoutVisibleItemWrapper) HasRepresentedElementCategory

func (c_ CollectionLayoutVisibleItemWrapper) HasRepresentedElementCategory() bool

func (CollectionLayoutVisibleItemWrapper) HasRepresentedElementKind

func (c_ CollectionLayoutVisibleItemWrapper) HasRepresentedElementKind() bool

func (CollectionLayoutVisibleItemWrapper) HasSetAlpha

func (c_ CollectionLayoutVisibleItemWrapper) HasSetAlpha() bool

func (CollectionLayoutVisibleItemWrapper) HasSetCenter

func (c_ CollectionLayoutVisibleItemWrapper) HasSetCenter() bool

func (CollectionLayoutVisibleItemWrapper) HasSetHidden

func (c_ CollectionLayoutVisibleItemWrapper) HasSetHidden() bool

func (CollectionLayoutVisibleItemWrapper) HasSetZIndex

func (c_ CollectionLayoutVisibleItemWrapper) HasSetZIndex() bool

func (CollectionLayoutVisibleItemWrapper) HasZIndex

func (CollectionLayoutVisibleItemWrapper) IndexPath

The index path of the item. Full Topic

func (CollectionLayoutVisibleItemWrapper) IsHidden

A Boolean value that determines whether the item is hidden. Full Topic

func (CollectionLayoutVisibleItemWrapper) Name

The name of the item. Full Topic

func (CollectionLayoutVisibleItemWrapper) RepresentedElementCategory

func (c_ CollectionLayoutVisibleItemWrapper) RepresentedElementCategory() CollectionElementCategory

A category that identifies the item, such as decoration or supplementary view. Full Topic

func (CollectionLayoutVisibleItemWrapper) RepresentedElementKind

func (c_ CollectionLayoutVisibleItemWrapper) RepresentedElementKind() string

A string that identifies the type of item. Full Topic

func (CollectionLayoutVisibleItemWrapper) SetAlpha

func (c_ CollectionLayoutVisibleItemWrapper) SetAlpha(value float64)

The transparency of the item. Full Topic

func (CollectionLayoutVisibleItemWrapper) SetCenter

The center point of the item's frame rectangle. Full Topic

func (CollectionLayoutVisibleItemWrapper) SetHidden

func (c_ CollectionLayoutVisibleItemWrapper) SetHidden(value bool)

A Boolean value that determines whether the item is hidden. Full Topic

func (CollectionLayoutVisibleItemWrapper) SetZIndex

func (c_ CollectionLayoutVisibleItemWrapper) SetZIndex(value int)

The vertical stacking order of the item in relation to other items in the section. Full Topic

func (CollectionLayoutVisibleItemWrapper) ZIndex

The vertical stacking order of the item in relation to other items in the section. Full Topic

type CollectionUpdateAction

type CollectionUpdateAction int

Constants indicating the type of action being performed on an item. Full Topic

const (
	CollectionUpdateActionDelete CollectionUpdateAction = 1
	CollectionUpdateActionInsert CollectionUpdateAction = 0
	CollectionUpdateActionMove   CollectionUpdateAction = 3
	CollectionUpdateActionNone   CollectionUpdateAction = 4
	CollectionUpdateActionReload CollectionUpdateAction = 2
)

type CollectionView

type CollectionView struct {
	View
}

An ordered collection of data items displayed in a customizable layout. Full Topic

func CollectionViewFrom

func CollectionViewFrom(ptr unsafe.Pointer) CollectionView

func CollectionView_Alloc

func CollectionView_Alloc() CollectionView

func NewCollectionView

func NewCollectionView() CollectionView

func NewCollectionViewWithFrame

func NewCollectionViewWithFrame(frameRect foundation.Rect) CollectionView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func (CollectionView) AllowsEmptySelection

func (c_ CollectionView) AllowsEmptySelection() bool

A Boolean value indicating whether the collection view may have no selected items. Full Topic

func (CollectionView) AllowsMultipleSelection

func (c_ CollectionView) AllowsMultipleSelection() bool

A Boolean value that indicates whether the user may select more than one item in the collection view. Full Topic

func (CollectionView) BackgroundColors

func (c_ CollectionView) BackgroundColors() []Color

An array containing the collection view’s background colors. Full Topic

func (CollectionView) BackgroundView

func (c_ CollectionView) BackgroundView() View

The background view placed behind all items and supplementary views. Full Topic

func (CollectionView) BackgroundViewScrollsWithContent

func (c_ CollectionView) BackgroundViewScrollsWithContent() bool

A Boolean value that indicates whether the collection view’s background view scrolls with the items and other content. Full Topic

func (CollectionView) CollectionViewLayout

func (c_ CollectionView) CollectionViewLayout() CollectionViewLayout

The layout object used to organize the collection view’s content. Full Topic

func (CollectionView) Content

func (c_ CollectionView) Content() []objc.Object

An array that provides data for the collection view. Full Topic

func (CollectionView) DataSource

An object that provides data for the collection view. Full Topic

func (CollectionView) Delegate

The collection view’s delegate object. Full Topic

func (CollectionView) DeleteItemsAtIndexPaths

func (c_ CollectionView) DeleteItemsAtIndexPaths(indexPaths foundation.ISet)

Deletes the items at the specified index paths. Full Topic

func (CollectionView) DeleteSections

func (c_ CollectionView) DeleteSections(sections foundation.IIndexSet)

Deletes the specified sections and their contained items. Full Topic

func (CollectionView) DeselectAll

func (c_ CollectionView) DeselectAll(sender objc.IObject) objc.Object

Deselects all items in the collection view. Full Topic

func (CollectionView) DeselectItemsAtIndexPaths

func (c_ CollectionView) DeselectItemsAtIndexPaths(indexPaths foundation.ISet)

Removes the specified items from the current selection. Full Topic

func (CollectionView) DraggingImageForItemsAtIndexPathsWithEventOffset

func (c_ CollectionView) DraggingImageForItemsAtIndexPathsWithEventOffset(indexPaths foundation.ISet, event IEvent, dragImageOffset foundation.PointPointer) Image

Returns an image to use for dragging the specified items. Full Topic

func (CollectionView) DraggingImageForItemsAtIndexesWithEventOffset

func (c_ CollectionView) DraggingImageForItemsAtIndexesWithEventOffset(indexes foundation.IIndexSet, event IEvent, dragImageOffset foundation.PointPointer) Image

This method computes and returns an image to use for dragging. Full Topic

func (CollectionView) FrameForItemAtIndexWithNumberOfItems

func (c_ CollectionView) FrameForItemAtIndexWithNumberOfItems(index uint, numberOfItems uint) foundation.Rect

Returns the frame of an item based on the number of items in the collection view. Full Topic

func (CollectionView) IndexPathForItem

func (c_ CollectionView) IndexPathForItem(item ICollectionViewItem) foundation.IndexPath

Returns the index path of the specified item. Full Topic

func (CollectionView) IndexPathForItemAtPoint

func (c_ CollectionView) IndexPathForItemAtPoint(point foundation.Point) foundation.IndexPath

Returns the index path of the item at the specified point. Full Topic

func (CollectionView) IndexPathsForVisibleItems

func (c_ CollectionView) IndexPathsForVisibleItems() foundation.Set

Returns the index paths of the currently active items. Full Topic

func (CollectionView) IndexPathsForVisibleSupplementaryElementsOfKind

func (c_ CollectionView) IndexPathsForVisibleSupplementaryElementsOfKind(elementKind CollectionViewSupplementaryElementKind) foundation.Set

Returns the index paths of the currently active supplementary views. Full Topic

func (CollectionView) Init

func (c_ CollectionView) Init() CollectionView

func (CollectionView) InitWithFrame

func (c_ CollectionView) InitWithFrame(frameRect foundation.Rect) CollectionView

func (CollectionView) InsertItemsAtIndexPaths

func (c_ CollectionView) InsertItemsAtIndexPaths(indexPaths foundation.ISet)

Inserts new items into the collection view at the specified locations. Full Topic

func (CollectionView) InsertSections

func (c_ CollectionView) InsertSections(sections foundation.IIndexSet)

Inserts new sections at the specified indexes. Full Topic

func (CollectionView) IsFirstResponder

func (c_ CollectionView) IsFirstResponder() bool

A Boolean value indicating whether the collection view is the first responder. Full Topic

func (CollectionView) IsSelectable

func (c_ CollectionView) IsSelectable() bool

A Boolean value that indicates whether the user may select items in the collection view. Full Topic

func (CollectionView) ItemAtIndex

func (c_ CollectionView) ItemAtIndex(index uint) CollectionViewItem

Returns the collection view item for the represented object at the specified index. Full Topic

func (CollectionView) ItemAtIndexPath

func (c_ CollectionView) ItemAtIndexPath(indexPath foundation.IIndexPath) CollectionViewItem

Returns the item associated with the specified index path. Full Topic

func (CollectionView) LayoutAttributesForItemAtIndexPath

func (c_ CollectionView) LayoutAttributesForItemAtIndexPath(indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

Returns the layout information for the item at the specified index path. Full Topic

func (CollectionView) LayoutAttributesForSupplementaryElementOfKindAtIndexPath

func (c_ CollectionView) LayoutAttributesForSupplementaryElementOfKindAtIndexPath(kind CollectionViewSupplementaryElementKind, indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

Returns the layout information for the supplementary view at the specified index path. Full Topic

func (CollectionView) MakeItemWithIdentifierForIndexPath

func (c_ CollectionView) MakeItemWithIdentifierForIndexPath(identifier UserInterfaceItemIdentifier, indexPath foundation.IIndexPath) CollectionViewItem

Creates or returns a reusable item object of the specified type. Full Topic

func (CollectionView) MakeSupplementaryViewOfKindWithIdentifierForIndexPath

func (c_ CollectionView) MakeSupplementaryViewOfKindWithIdentifierForIndexPath(elementKind CollectionViewSupplementaryElementKind, identifier UserInterfaceItemIdentifier, indexPath foundation.IIndexPath) View

Creates or returns a reusable supplementary view of the specified type. Full Topic

func (CollectionView) MoveItemAtIndexPathToIndexPath

func (c_ CollectionView) MoveItemAtIndexPathToIndexPath(indexPath foundation.IIndexPath, newIndexPath foundation.IIndexPath)

Moves an item from one location to another in the collection view. Full Topic

func (CollectionView) MoveSectionToSection

func (c_ CollectionView) MoveSectionToSection(section int, newSection int)

Moves a section from its current location to a new location. Full Topic

func (CollectionView) NumberOfItemsInSection

func (c_ CollectionView) NumberOfItemsInSection(section int) int

Returns the number of items in the specified section. Full Topic

func (CollectionView) NumberOfSections

func (c_ CollectionView) NumberOfSections() int

The number of sections in the collection view. Full Topic

func (CollectionView) PerformBatchUpdatesCompletionHandler

func (c_ CollectionView) PerformBatchUpdatesCompletionHandler(updates func(), completionHandler func(finished bool))

Encapsulates multiple insert, delete, reload, and move operations into a single animated operation. Full Topic

func (CollectionView) PrefetchDataSource

func (c_ CollectionView) PrefetchDataSource() CollectionViewPrefetchingWrapper
[Full Topic]

func (CollectionView) RegisterClassForItemWithIdentifier

func (c_ CollectionView) RegisterClassForItemWithIdentifier(itemClass objc.IClass, identifier UserInterfaceItemIdentifier)

Registers a class to use when creating new items in the collection view. Full Topic

func (CollectionView) RegisterNibForItemWithIdentifier

func (c_ CollectionView) RegisterNibForItemWithIdentifier(nib INib, identifier UserInterfaceItemIdentifier)

Registers a nib file to use when creating items in the collection view. Full Topic

func (CollectionView) ReloadData

func (c_ CollectionView) ReloadData()

Reloads all of the data for the collection view. Full Topic

func (CollectionView) ReloadItemsAtIndexPaths

func (c_ CollectionView) ReloadItemsAtIndexPaths(indexPaths foundation.ISet)

Reloads only the specified items. Full Topic

func (CollectionView) ReloadSections

func (c_ CollectionView) ReloadSections(sections foundation.IIndexSet)

Reloads the data in the specified sections of the collection view. Full Topic

func (CollectionView) ScrollToItemsAtIndexPathsScrollPosition

func (c_ CollectionView) ScrollToItemsAtIndexPathsScrollPosition(indexPaths foundation.ISet, scrollPosition CollectionViewScrollPosition)

Scrolls the collection view contents until the specified items are visible. Full Topic

func (CollectionView) SelectAll

func (c_ CollectionView) SelectAll(sender objc.IObject) objc.Object

Selects all items in the collection view, if doing so is possible. Full Topic

func (CollectionView) SelectItemsAtIndexPathsScrollPosition

func (c_ CollectionView) SelectItemsAtIndexPathsScrollPosition(indexPaths foundation.ISet, scrollPosition CollectionViewScrollPosition)

Adds the specified items to the current selection and optionally scrolls the items into position. Full Topic

func (CollectionView) SelectionIndexPaths

func (c_ CollectionView) SelectionIndexPaths() foundation.Set

The set of index paths representing the currently selected items. Full Topic

func (CollectionView) SelectionIndexes

func (c_ CollectionView) SelectionIndexes() foundation.IndexSet

The indexes of the currently selected items. Full Topic

func (CollectionView) SetAllowsEmptySelection

func (c_ CollectionView) SetAllowsEmptySelection(value bool)

A Boolean value indicating whether the collection view may have no selected items. Full Topic

func (CollectionView) SetAllowsMultipleSelection

func (c_ CollectionView) SetAllowsMultipleSelection(value bool)

A Boolean value that indicates whether the user may select more than one item in the collection view. Full Topic

func (CollectionView) SetBackgroundColors

func (c_ CollectionView) SetBackgroundColors(value []IColor)

An array containing the collection view’s background colors. Full Topic

func (CollectionView) SetBackgroundView

func (c_ CollectionView) SetBackgroundView(value IView)

The background view placed behind all items and supplementary views. Full Topic

func (CollectionView) SetBackgroundViewScrollsWithContent

func (c_ CollectionView) SetBackgroundViewScrollsWithContent(value bool)

A Boolean value that indicates whether the collection view’s background view scrolls with the items and other content. Full Topic

func (CollectionView) SetCollectionViewLayout

func (c_ CollectionView) SetCollectionViewLayout(value ICollectionViewLayout)

The layout object used to organize the collection view’s content. Full Topic

func (CollectionView) SetContent

func (c_ CollectionView) SetContent(value []objc.IObject)

An array that provides data for the collection view. Full Topic

func (CollectionView) SetDataSource

func (c_ CollectionView) SetDataSource(value PCollectionViewDataSource)

An object that provides data for the collection view. Full Topic

func (CollectionView) SetDataSourceObject

func (c_ CollectionView) SetDataSourceObject(valueObject objc.IObject)

An object that provides data for the collection view. Full Topic

func (CollectionView) SetDelegate

func (c_ CollectionView) SetDelegate(value PCollectionViewDelegate)

The collection view’s delegate object. Full Topic

func (CollectionView) SetDelegateObject

func (c_ CollectionView) SetDelegateObject(valueObject objc.IObject)

The collection view’s delegate object. Full Topic

func (CollectionView) SetDraggingSourceOperationMaskForLocal

func (c_ CollectionView) SetDraggingSourceOperationMaskForLocal(dragOperationMask DragOperation, localDestination bool)

Configures the default value returned from draggingSourceOperationMaskForLocal:. Full Topic

func (CollectionView) SetPrefetchDataSource

func (c_ CollectionView) SetPrefetchDataSource(value PCollectionViewPrefetching)
[Full Topic]

func (CollectionView) SetPrefetchDataSourceObject

func (c_ CollectionView) SetPrefetchDataSourceObject(valueObject objc.IObject)
[Full Topic]

func (CollectionView) SetSelectable

func (c_ CollectionView) SetSelectable(value bool)

A Boolean value that indicates whether the user may select items in the collection view. Full Topic

func (CollectionView) SetSelectionIndexPaths

func (c_ CollectionView) SetSelectionIndexPaths(value foundation.ISet)

The set of index paths representing the currently selected items. Full Topic

func (CollectionView) SetSelectionIndexes

func (c_ CollectionView) SetSelectionIndexes(value foundation.IIndexSet)

The indexes of the currently selected items. Full Topic

func (CollectionView) SupplementaryViewForElementKindAtIndexPath

func (c_ CollectionView) SupplementaryViewForElementKindAtIndexPath(elementKind CollectionViewSupplementaryElementKind, indexPath foundation.IIndexPath) View

Returns the supplementary view associated with the specified index path. Full Topic

func (CollectionView) ToggleSectionCollapse

func (c_ CollectionView) ToggleSectionCollapse(sender objc.IObject) objc.Object

Collapses the section in which the sender resides into a single horizontally scrollable row. Full Topic

func (CollectionView) VisibleItems

func (c_ CollectionView) VisibleItems() []CollectionViewItem

Returns an array of the actively managed items in the collection view. Full Topic

func (CollectionView) VisibleSupplementaryViewsOfKind

func (c_ CollectionView) VisibleSupplementaryViewsOfKind(elementKind CollectionViewSupplementaryElementKind) []View

Returns an array of the actively managed supplementary views in the collection view. Full Topic

type CollectionViewCompositionalLayout

type CollectionViewCompositionalLayout struct {
	CollectionViewLayout
}

A layout object that lets you combine items in highly adaptive and flexible visual arrangements. Full Topic

func CollectionViewCompositionalLayoutFrom

func CollectionViewCompositionalLayoutFrom(ptr unsafe.Pointer) CollectionViewCompositionalLayout

func CollectionViewCompositionalLayout_Alloc

func CollectionViewCompositionalLayout_Alloc() CollectionViewCompositionalLayout

func NewCollectionViewCompositionalLayout

func NewCollectionViewCompositionalLayout() CollectionViewCompositionalLayout

func NewCollectionViewCompositionalLayoutWithSection

func NewCollectionViewCompositionalLayoutWithSection(section ICollectionLayoutSection) CollectionViewCompositionalLayout

Creates a compositional layout object with a single section. Full Topic

func NewCollectionViewCompositionalLayoutWithSectionProvider

func NewCollectionViewCompositionalLayoutWithSectionProvider(sectionProvider CollectionViewCompositionalLayoutSectionProvider) CollectionViewCompositionalLayout

Creates a compositional layout object with a section provider to supply the layout's sections. Full Topic

func (CollectionViewCompositionalLayout) Configuration

The layout's configuration, such as its scroll direction and section spacing. Full Topic

func (CollectionViewCompositionalLayout) Init

func (CollectionViewCompositionalLayout) InitWithSection

func (CollectionViewCompositionalLayout) InitWithSectionProvider

func (CollectionViewCompositionalLayout) SetConfiguration

The layout's configuration, such as its scroll direction and section spacing. Full Topic

type CollectionViewCompositionalLayoutConfiguration

type CollectionViewCompositionalLayoutConfiguration struct {
	objc.Object
}

An object that defines scroll direction, section spacing, and headers or footers for the layout. Full Topic

func CollectionViewCompositionalLayoutConfiguration_Alloc

func CollectionViewCompositionalLayoutConfiguration_Alloc() CollectionViewCompositionalLayoutConfiguration

func NewCollectionViewCompositionalLayoutConfiguration

func NewCollectionViewCompositionalLayoutConfiguration() CollectionViewCompositionalLayoutConfiguration

func (CollectionViewCompositionalLayoutConfiguration) BoundarySupplementaryItems

An array of the supplementary items that are associated with the boundary edges of the entire layout, such as global headers and footers. Full Topic

func (CollectionViewCompositionalLayoutConfiguration) Init

func (CollectionViewCompositionalLayoutConfiguration) InterSectionSpacing

The amount of space between the sections in the layout. Full Topic

func (CollectionViewCompositionalLayoutConfiguration) ScrollDirection

The axis that the content in the collection view layout scrolls along. Full Topic

func (CollectionViewCompositionalLayoutConfiguration) SetBoundarySupplementaryItems

An array of the supplementary items that are associated with the boundary edges of the entire layout, such as global headers and footers. Full Topic

func (CollectionViewCompositionalLayoutConfiguration) SetInterSectionSpacing

func (c_ CollectionViewCompositionalLayoutConfiguration) SetInterSectionSpacing(value float64)

The amount of space between the sections in the layout. Full Topic

func (CollectionViewCompositionalLayoutConfiguration) SetScrollDirection

The axis that the content in the collection view layout scrolls along. Full Topic

type CollectionViewCompositionalLayoutSectionProvider

type CollectionViewCompositionalLayoutSectionProvider = func(section int, arg1 CollectionLayoutEnvironmentWrapper) CollectionLayoutSection

A closure that creates and returns each of the layout's sections. Full Topic

type CollectionViewDataSourceWrapper

type CollectionViewDataSourceWrapper struct {
	objc.Object
}

A concrete type wrapper for the PCollectionViewDataSource protocol.

func (CollectionViewDataSourceWrapper) CollectionViewNumberOfItemsInSection

func (c_ CollectionViewDataSourceWrapper) CollectionViewNumberOfItemsInSection(collectionView ICollectionView, section int) int

Asks your data source object to provide the number of items in the specified section. Full Topic

func (CollectionViewDataSourceWrapper) HasCollectionViewNumberOfItemsInSection

func (c_ CollectionViewDataSourceWrapper) HasCollectionViewNumberOfItemsInSection() bool

func (CollectionViewDataSourceWrapper) HasNumberOfSectionsInCollectionView

func (c_ CollectionViewDataSourceWrapper) HasNumberOfSectionsInCollectionView() bool

func (CollectionViewDataSourceWrapper) NumberOfSectionsInCollectionView

func (c_ CollectionViewDataSourceWrapper) NumberOfSectionsInCollectionView(collectionView ICollectionView) int

Asks your data source object to provide the total number of sections. Full Topic

type CollectionViewDecorationElementKind

type CollectionViewDecorationElementKind string
[Full Topic]

type CollectionViewDelegate

type CollectionViewDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PCollectionViewDelegate protocol.

func (*CollectionViewDelegate) CollectionViewDidEndDisplayingItemForRepresentedObjectAtIndexPath

func (di *CollectionViewDelegate) CollectionViewDidEndDisplayingItemForRepresentedObjectAtIndexPath(collectionView CollectionView, item CollectionViewItem, indexPath foundation.IndexPath)

Notifies the delegate that the specified item was removed from the collection view. Full Topic

func (*CollectionViewDelegate) HasCollectionViewDidEndDisplayingItemForRepresentedObjectAtIndexPath

func (di *CollectionViewDelegate) HasCollectionViewDidEndDisplayingItemForRepresentedObjectAtIndexPath() bool

func (*CollectionViewDelegate) SetCollectionViewDidEndDisplayingItemForRepresentedObjectAtIndexPath

func (di *CollectionViewDelegate) SetCollectionViewDidEndDisplayingItemForRepresentedObjectAtIndexPath(f func(collectionView CollectionView, item CollectionViewItem, indexPath foundation.IndexPath))

Notifies the delegate that the specified item was removed from the collection view. Full Topic

type CollectionViewDelegateFlowLayout

type CollectionViewDelegateFlowLayout struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PCollectionViewDelegateFlowLayout protocol.

func (*CollectionViewDelegateFlowLayout) CollectionViewLayoutInsetForSectionAtIndex

func (di *CollectionViewDelegateFlowLayout) CollectionViewLayoutInsetForSectionAtIndex(collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) foundation.EdgeInsets

Asks the delegate for the margins to apply to content in the specified section. Full Topic

func (*CollectionViewDelegateFlowLayout) HasCollectionViewLayoutInsetForSectionAtIndex

func (di *CollectionViewDelegateFlowLayout) HasCollectionViewLayoutInsetForSectionAtIndex() bool

func (*CollectionViewDelegateFlowLayout) SetCollectionViewLayoutInsetForSectionAtIndex

func (di *CollectionViewDelegateFlowLayout) SetCollectionViewLayoutInsetForSectionAtIndex(f func(collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) foundation.EdgeInsets)

Asks the delegate for the margins to apply to content in the specified section. Full Topic

type CollectionViewDelegateFlowLayoutWrapper

type CollectionViewDelegateFlowLayoutWrapper struct {
	objc.Object
}

A concrete type wrapper for the PCollectionViewDelegateFlowLayout protocol.

func (CollectionViewDelegateFlowLayoutWrapper) CollectionViewLayoutInsetForSectionAtIndex

func (c_ CollectionViewDelegateFlowLayoutWrapper) CollectionViewLayoutInsetForSectionAtIndex(collectionView ICollectionView, collectionViewLayout ICollectionViewLayout, section int) foundation.EdgeInsets

Asks the delegate for the margins to apply to content in the specified section. Full Topic

func (CollectionViewDelegateFlowLayoutWrapper) HasCollectionViewLayoutInsetForSectionAtIndex

func (c_ CollectionViewDelegateFlowLayoutWrapper) HasCollectionViewLayoutInsetForSectionAtIndex() bool

type CollectionViewDelegateWrapper

type CollectionViewDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PCollectionViewDelegate protocol.

func (CollectionViewDelegateWrapper) CollectionViewDidEndDisplayingItemForRepresentedObjectAtIndexPath

func (c_ CollectionViewDelegateWrapper) CollectionViewDidEndDisplayingItemForRepresentedObjectAtIndexPath(collectionView ICollectionView, item ICollectionViewItem, indexPath foundation.IIndexPath)

Notifies the delegate that the specified item was removed from the collection view. Full Topic

func (CollectionViewDelegateWrapper) HasCollectionViewDidEndDisplayingItemForRepresentedObjectAtIndexPath

func (c_ CollectionViewDelegateWrapper) HasCollectionViewDidEndDisplayingItemForRepresentedObjectAtIndexPath() bool

type CollectionViewDiffableDataSource

type CollectionViewDiffableDataSource struct {
	objc.Object
}

The object you use to manage data and provide items for a collection view. Full Topic

func CollectionViewDiffableDataSourceFrom

func CollectionViewDiffableDataSourceFrom(ptr unsafe.Pointer) CollectionViewDiffableDataSource

func CollectionViewDiffableDataSource_Alloc

func CollectionViewDiffableDataSource_Alloc() CollectionViewDiffableDataSource

func NewCollectionViewDiffableDataSource

func NewCollectionViewDiffableDataSource() CollectionViewDiffableDataSource

func NewCollectionViewDiffableDataSourceWithCollectionViewItemProvider

func NewCollectionViewDiffableDataSourceWithCollectionViewItemProvider(collectionView ICollectionView, itemProvider CollectionViewDiffableDataSourceItemProvider) CollectionViewDiffableDataSource

Creates a diffable data source with the specified item provider, and connects it to the specified collection view. Full Topic

func (CollectionViewDiffableDataSource) IndexPathForItemIdentifier

func (c_ CollectionViewDiffableDataSource) IndexPathForItemIdentifier(identifier objc.IObject) foundation.IndexPath

Returns an index path for the item with the specified identifier in the collection view. Full Topic

func (CollectionViewDiffableDataSource) Init

func (CollectionViewDiffableDataSource) InitWithCollectionViewItemProvider

func (CollectionViewDiffableDataSource) ItemIdentifierForIndexPath

func (c_ CollectionViewDiffableDataSource) ItemIdentifierForIndexPath(indexPath foundation.IIndexPath) objc.Object

Returns an identifier for the item at the specified index path in the collection view. Full Topic

func (CollectionViewDiffableDataSource) SetSupplementaryViewProvider

The closure that configures and returns the collection view’s supplementary views, such as headers and footers, from the diffable data source. Full Topic

func (CollectionViewDiffableDataSource) SupplementaryViewProvider

The closure that configures and returns the collection view’s supplementary views, such as headers and footers, from the diffable data source. Full Topic

type CollectionViewDiffableDataSourceItemProvider

type CollectionViewDiffableDataSourceItemProvider = func(arg0 CollectionView, arg1 foundation.IndexPath, arg2 objc.Object) CollectionViewItem

A closure that configures and returns an item for a collection view from its diffable data source. Full Topic

type CollectionViewDiffableDataSourceSupplementaryViewProvider

type CollectionViewDiffableDataSourceSupplementaryViewProvider = func(arg0 CollectionView, arg1 string, arg2 foundation.IndexPath) View

A closure that configures and returns a collection view’s supplementary view, such as a header or footer, from a diffable data source. Full Topic

type CollectionViewDropOperation

type CollectionViewDropOperation int

These constants specify if acceptance of a drop should be at the item it is dropped on or before the item. These constants are used by the collectionView:didEndDisplayingItem:forRepresentedObjectAtIndexPath: and collectionView:didEndDisplayingItem:forRepresentedObjectAtIndexPath: methods in NSCollectionViewDelegate Full Topic

const (
	CollectionViewDropBefore CollectionViewDropOperation = 1
	CollectionViewDropOn     CollectionViewDropOperation = 0
)

type CollectionViewElementWrapper

type CollectionViewElementWrapper struct {
	objc.Object
}

A concrete type wrapper for the PCollectionViewElement protocol.

func (CollectionViewElementWrapper) ApplyLayoutAttributes

func (c_ CollectionViewElementWrapper) ApplyLayoutAttributes(layoutAttributes ICollectionViewLayoutAttributes)

Applies the specified layout attributes to the element. Full Topic

func (CollectionViewElementWrapper) DidTransitionFromLayoutToLayout

func (c_ CollectionViewElementWrapper) DidTransitionFromLayoutToLayout(oldLayout ICollectionViewLayout, newLayout ICollectionViewLayout)

Tells the element that the layout object of the collection view changed. Full Topic

func (CollectionViewElementWrapper) HasApplyLayoutAttributes

func (c_ CollectionViewElementWrapper) HasApplyLayoutAttributes() bool

func (CollectionViewElementWrapper) HasDidTransitionFromLayoutToLayout

func (c_ CollectionViewElementWrapper) HasDidTransitionFromLayoutToLayout() bool

func (CollectionViewElementWrapper) HasPreferredLayoutAttributesFittingAttributes

func (c_ CollectionViewElementWrapper) HasPreferredLayoutAttributesFittingAttributes() bool

func (CollectionViewElementWrapper) HasPrepareForReuse

func (c_ CollectionViewElementWrapper) HasPrepareForReuse() bool

func (CollectionViewElementWrapper) HasWillTransitionFromLayoutToLayout

func (c_ CollectionViewElementWrapper) HasWillTransitionFromLayoutToLayout() bool

func (CollectionViewElementWrapper) PreferredLayoutAttributesFittingAttributes

func (c_ CollectionViewElementWrapper) PreferredLayoutAttributesFittingAttributes(layoutAttributes ICollectionViewLayoutAttributes) CollectionViewLayoutAttributes

Asks your element if it wants to modify any layout attributes before they are applied. Full Topic

func (CollectionViewElementWrapper) PrepareForReuse

func (c_ CollectionViewElementWrapper) PrepareForReuse()

Performs any necessary cleanup to prepare the element for use again. Full Topic

func (CollectionViewElementWrapper) WillTransitionFromLayoutToLayout

func (c_ CollectionViewElementWrapper) WillTransitionFromLayoutToLayout(oldLayout ICollectionViewLayout, newLayout ICollectionViewLayout)

Tells the element that the layout object of the collection view is about to change. Full Topic

type CollectionViewFlowLayout

type CollectionViewFlowLayout struct {
	CollectionViewLayout
}

A layout that organizes items into a flexible and configurable arrangement. Full Topic

func CollectionViewFlowLayoutFrom

func CollectionViewFlowLayoutFrom(ptr unsafe.Pointer) CollectionViewFlowLayout

func CollectionViewFlowLayout_Alloc

func CollectionViewFlowLayout_Alloc() CollectionViewFlowLayout

func NewCollectionViewFlowLayout

func NewCollectionViewFlowLayout() CollectionViewFlowLayout

func (CollectionViewFlowLayout) CollapseSectionAtIndex

func (c_ CollectionViewFlowLayout) CollapseSectionAtIndex(sectionIndex uint)
[Full Topic]

func (CollectionViewFlowLayout) EstimatedItemSize

func (c_ CollectionViewFlowLayout) EstimatedItemSize() foundation.Size

The estimated size of items in the collection view. Full Topic

func (CollectionViewFlowLayout) ExpandSectionAtIndex

func (c_ CollectionViewFlowLayout) ExpandSectionAtIndex(sectionIndex uint)
[Full Topic]

func (CollectionViewFlowLayout) FooterReferenceSize

func (c_ CollectionViewFlowLayout) FooterReferenceSize() foundation.Size

The default size to use for section footers. Full Topic

func (CollectionViewFlowLayout) HeaderReferenceSize

func (c_ CollectionViewFlowLayout) HeaderReferenceSize() foundation.Size

The default size to use for section headers. Full Topic

func (CollectionViewFlowLayout) Init

func (CollectionViewFlowLayout) ItemSize

The default size to use for items. Full Topic

func (CollectionViewFlowLayout) MinimumInteritemSpacing

func (c_ CollectionViewFlowLayout) MinimumInteritemSpacing() float64

The minimum spacing (in points) to use between items in the same row or column. Full Topic

func (CollectionViewFlowLayout) MinimumLineSpacing

func (c_ CollectionViewFlowLayout) MinimumLineSpacing() float64

The minimum spacing (in points) to use between rows or columns. Full Topic

func (CollectionViewFlowLayout) ScrollDirection

The scroll direction of the layout. Full Topic

func (CollectionViewFlowLayout) SectionAtIndexIsCollapsed

func (c_ CollectionViewFlowLayout) SectionAtIndexIsCollapsed(sectionIndex uint) bool
[Full Topic]

func (CollectionViewFlowLayout) SectionFootersPinToVisibleBounds

func (c_ CollectionViewFlowLayout) SectionFootersPinToVisibleBounds() bool
[Full Topic]

func (CollectionViewFlowLayout) SectionHeadersPinToVisibleBounds

func (c_ CollectionViewFlowLayout) SectionHeadersPinToVisibleBounds() bool
[Full Topic]

func (CollectionViewFlowLayout) SectionInset

The margins used to lay out content in a section. Full Topic

func (CollectionViewFlowLayout) SetEstimatedItemSize

func (c_ CollectionViewFlowLayout) SetEstimatedItemSize(value foundation.Size)

The estimated size of items in the collection view. Full Topic

func (CollectionViewFlowLayout) SetFooterReferenceSize

func (c_ CollectionViewFlowLayout) SetFooterReferenceSize(value foundation.Size)

The default size to use for section footers. Full Topic

func (CollectionViewFlowLayout) SetHeaderReferenceSize

func (c_ CollectionViewFlowLayout) SetHeaderReferenceSize(value foundation.Size)

The default size to use for section headers. Full Topic

func (CollectionViewFlowLayout) SetItemSize

func (c_ CollectionViewFlowLayout) SetItemSize(value foundation.Size)

The default size to use for items. Full Topic

func (CollectionViewFlowLayout) SetMinimumInteritemSpacing

func (c_ CollectionViewFlowLayout) SetMinimumInteritemSpacing(value float64)

The minimum spacing (in points) to use between items in the same row or column. Full Topic

func (CollectionViewFlowLayout) SetMinimumLineSpacing

func (c_ CollectionViewFlowLayout) SetMinimumLineSpacing(value float64)

The minimum spacing (in points) to use between rows or columns. Full Topic

func (CollectionViewFlowLayout) SetScrollDirection

func (c_ CollectionViewFlowLayout) SetScrollDirection(value CollectionViewScrollDirection)

The scroll direction of the layout. Full Topic

func (CollectionViewFlowLayout) SetSectionFootersPinToVisibleBounds

func (c_ CollectionViewFlowLayout) SetSectionFootersPinToVisibleBounds(value bool)
[Full Topic]

func (CollectionViewFlowLayout) SetSectionHeadersPinToVisibleBounds

func (c_ CollectionViewFlowLayout) SetSectionHeadersPinToVisibleBounds(value bool)
[Full Topic]

func (CollectionViewFlowLayout) SetSectionInset

func (c_ CollectionViewFlowLayout) SetSectionInset(value foundation.EdgeInsets)

The margins used to lay out content in a section. Full Topic

type CollectionViewFlowLayoutInvalidationContext

type CollectionViewFlowLayoutInvalidationContext struct {
	CollectionViewLayoutInvalidationContext
}

An object that identifies the portions of a flow layout object that need to be updated. Full Topic

func CollectionViewFlowLayoutInvalidationContext_Alloc

func CollectionViewFlowLayoutInvalidationContext_Alloc() CollectionViewFlowLayoutInvalidationContext

func NewCollectionViewFlowLayoutInvalidationContext

func NewCollectionViewFlowLayoutInvalidationContext() CollectionViewFlowLayoutInvalidationContext

func (CollectionViewFlowLayoutInvalidationContext) Init

func (CollectionViewFlowLayoutInvalidationContext) InvalidateFlowLayoutAttributes

func (c_ CollectionViewFlowLayoutInvalidationContext) InvalidateFlowLayoutAttributes() bool

A Boolean value indicating whether the flow layout object should invalidate its current attributes. Full Topic

func (CollectionViewFlowLayoutInvalidationContext) InvalidateFlowLayoutDelegateMetrics

func (c_ CollectionViewFlowLayoutInvalidationContext) InvalidateFlowLayoutDelegateMetrics() bool

A Boolean value indicating whether the flow layout object should fetch new size information from its delegate. Full Topic

func (CollectionViewFlowLayoutInvalidationContext) SetInvalidateFlowLayoutAttributes

func (c_ CollectionViewFlowLayoutInvalidationContext) SetInvalidateFlowLayoutAttributes(value bool)

A Boolean value indicating whether the flow layout object should invalidate its current attributes. Full Topic

func (CollectionViewFlowLayoutInvalidationContext) SetInvalidateFlowLayoutDelegateMetrics

func (c_ CollectionViewFlowLayoutInvalidationContext) SetInvalidateFlowLayoutDelegateMetrics(value bool)

A Boolean value indicating whether the flow layout object should fetch new size information from its delegate. Full Topic

type CollectionViewGridLayout

type CollectionViewGridLayout struct {
	CollectionViewLayout
}

A layout that displays a single section of items in a row and column grid. Full Topic

func CollectionViewGridLayoutFrom

func CollectionViewGridLayoutFrom(ptr unsafe.Pointer) CollectionViewGridLayout

func CollectionViewGridLayout_Alloc

func CollectionViewGridLayout_Alloc() CollectionViewGridLayout

func NewCollectionViewGridLayout

func NewCollectionViewGridLayout() CollectionViewGridLayout

func (CollectionViewGridLayout) BackgroundColors

func (c_ CollectionViewGridLayout) BackgroundColors() []Color

The array of background colors to use when drawing the grid. Full Topic

func (CollectionViewGridLayout) Init

func (CollectionViewGridLayout) Margins

The amount of empty space (in points) around the grid’s content. Full Topic

func (CollectionViewGridLayout) MaximumItemSize

func (c_ CollectionViewGridLayout) MaximumItemSize() foundation.Size

The largest allowable size for an item’s view. Full Topic

func (CollectionViewGridLayout) MaximumNumberOfColumns

func (c_ CollectionViewGridLayout) MaximumNumberOfColumns() uint

The maximum number of columns to display in the collection view’s visible area. Full Topic

func (CollectionViewGridLayout) MaximumNumberOfRows

func (c_ CollectionViewGridLayout) MaximumNumberOfRows() uint

The maximum number of rows to display in the collection view’s visible area. Full Topic

func (CollectionViewGridLayout) MinimumInteritemSpacing

func (c_ CollectionViewGridLayout) MinimumInteritemSpacing() float64

The minimum spacing (in points) to use between items in the same row or column. Full Topic

func (CollectionViewGridLayout) MinimumItemSize

func (c_ CollectionViewGridLayout) MinimumItemSize() foundation.Size

The smallest allowable size for an item’s view. Full Topic

func (CollectionViewGridLayout) MinimumLineSpacing

func (c_ CollectionViewGridLayout) MinimumLineSpacing() float64

The minimum spacing (in points) to use between rows or columns. Full Topic

func (CollectionViewGridLayout) SetBackgroundColors

func (c_ CollectionViewGridLayout) SetBackgroundColors(value []IColor)

The array of background colors to use when drawing the grid. Full Topic

func (CollectionViewGridLayout) SetMargins

func (c_ CollectionViewGridLayout) SetMargins(value foundation.EdgeInsets)

The amount of empty space (in points) around the grid’s content. Full Topic

func (CollectionViewGridLayout) SetMaximumItemSize

func (c_ CollectionViewGridLayout) SetMaximumItemSize(value foundation.Size)

The largest allowable size for an item’s view. Full Topic

func (CollectionViewGridLayout) SetMaximumNumberOfColumns

func (c_ CollectionViewGridLayout) SetMaximumNumberOfColumns(value uint)

The maximum number of columns to display in the collection view’s visible area. Full Topic

func (CollectionViewGridLayout) SetMaximumNumberOfRows

func (c_ CollectionViewGridLayout) SetMaximumNumberOfRows(value uint)

The maximum number of rows to display in the collection view’s visible area. Full Topic

func (CollectionViewGridLayout) SetMinimumInteritemSpacing

func (c_ CollectionViewGridLayout) SetMinimumInteritemSpacing(value float64)

The minimum spacing (in points) to use between items in the same row or column. Full Topic

func (CollectionViewGridLayout) SetMinimumItemSize

func (c_ CollectionViewGridLayout) SetMinimumItemSize(value foundation.Size)

The smallest allowable size for an item’s view. Full Topic

func (CollectionViewGridLayout) SetMinimumLineSpacing

func (c_ CollectionViewGridLayout) SetMinimumLineSpacing(value float64)

The minimum spacing (in points) to use between rows or columns. Full Topic

type CollectionViewItem

type CollectionViewItem struct {
	ViewController
}

The visual representation for a single data element in a collection view. Full Topic

func CollectionViewItemFrom

func CollectionViewItemFrom(ptr unsafe.Pointer) CollectionViewItem

func CollectionViewItem_Alloc

func CollectionViewItem_Alloc() CollectionViewItem

func NewCollectionViewItem

func NewCollectionViewItem() CollectionViewItem

func NewCollectionViewItemWithNibNameBundle

func NewCollectionViewItemWithNibNameBundle(nibNameOrNil NibName, nibBundleOrNil foundation.IBundle) CollectionViewItem

Returns a view controller object initialized to the nib file in the specified bundle. Full Topic

func (CollectionViewItem) CollectionView

func (c_ CollectionViewItem) CollectionView() CollectionView

The collection view that owns the item. Full Topic

func (CollectionViewItem) DraggingImageComponents

func (c_ CollectionViewItem) DraggingImageComponents() []DraggingImageComponent

Dragging images for multi-image drag and drop support. Full Topic

func (CollectionViewItem) HighlightState

The highlight state currently applied to the item. Full Topic

func (CollectionViewItem) ImageView

func (c_ CollectionViewItem) ImageView() ImageView

An image view outlet that you can use to display images. Full Topic

func (CollectionViewItem) Init

func (CollectionViewItem) InitWithNibNameBundle

func (c_ CollectionViewItem) InitWithNibNameBundle(nibNameOrNil NibName, nibBundleOrNil foundation.IBundle) CollectionViewItem

func (CollectionViewItem) IsSelected

func (c_ CollectionViewItem) IsSelected() bool

A Boolean indicating whether the item is currently selected. Full Topic

func (CollectionViewItem) SetHighlightState

func (c_ CollectionViewItem) SetHighlightState(value CollectionViewItemHighlightState)

The highlight state currently applied to the item. Full Topic

func (CollectionViewItem) SetImageView

func (c_ CollectionViewItem) SetImageView(value IImageView)

An image view outlet that you can use to display images. Full Topic

func (CollectionViewItem) SetSelected

func (c_ CollectionViewItem) SetSelected(value bool)

A Boolean indicating whether the item is currently selected. Full Topic

func (CollectionViewItem) SetTextField

func (c_ CollectionViewItem) SetTextField(value ITextField)

A text field outlet that you can use to display a string. Full Topic

func (CollectionViewItem) TextField

func (c_ CollectionViewItem) TextField() TextField

A text field outlet that you can use to display a string. Full Topic

type CollectionViewItemHighlightState

type CollectionViewItemHighlightState int

Constants indicating the type of highlight applied to an item. Full Topic

const (
	CollectionViewItemHighlightAsDropTarget   CollectionViewItemHighlightState = 3
	CollectionViewItemHighlightForDeselection CollectionViewItemHighlightState = 2
	CollectionViewItemHighlightForSelection   CollectionViewItemHighlightState = 1
	CollectionViewItemHighlightNone           CollectionViewItemHighlightState = 0
)

type CollectionViewLayout

type CollectionViewLayout struct {
	objc.Object
}

An abstract base class that you subclass and use to generate layout information for a collection view. Full Topic

func CollectionViewLayoutFrom

func CollectionViewLayoutFrom(ptr unsafe.Pointer) CollectionViewLayout

func CollectionViewLayout_Alloc

func CollectionViewLayout_Alloc() CollectionViewLayout

func NewCollectionViewLayout

func NewCollectionViewLayout() CollectionViewLayout

func (CollectionViewLayout) CollectionView

func (c_ CollectionViewLayout) CollectionView() CollectionView

The collection view object currently using this layout. Full Topic

func (CollectionViewLayout) CollectionViewContentSize

func (c_ CollectionViewLayout) CollectionViewContentSize() foundation.Size

The width and height of the collection view’s contents. Full Topic

func (CollectionViewLayout) FinalLayoutAttributesForDisappearingDecorationElementOfKindAtIndexPath

func (c_ CollectionViewLayout) FinalLayoutAttributesForDisappearingDecorationElementOfKindAtIndexPath(elementKind CollectionViewDecorationElementKind, decorationIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes

Returns the ending layout information for a decoration view being removed from the collection view. Full Topic

func (CollectionViewLayout) FinalizeAnimatedBoundsChange

func (c_ CollectionViewLayout) FinalizeAnimatedBoundsChange()

Cleans up after any animated changes to the collection view’s bounds or after the insertion or deletion of items. Full Topic

func (CollectionViewLayout) FinalizeCollectionViewUpdates

func (c_ CollectionViewLayout) FinalizeCollectionViewUpdates()

Performs needed steps after items are inserted, deleted, or moved within a collection view. Full Topic

func (CollectionViewLayout) FinalizeLayoutTransition

func (c_ CollectionViewLayout) FinalizeLayoutTransition()

Performs any final steps related to a layout transition before the transition animations actually occur. Full Topic

func (CollectionViewLayout) IndexPathsToDeleteForDecorationViewOfKind

func (c_ CollectionViewLayout) IndexPathsToDeleteForDecorationViewOfKind(elementKind CollectionViewDecorationElementKind) foundation.Set

Returns index paths for any decoration views that the layout object wants to remove from the collection view. Full Topic

func (CollectionViewLayout) IndexPathsToDeleteForSupplementaryViewOfKind

func (c_ CollectionViewLayout) IndexPathsToDeleteForSupplementaryViewOfKind(elementKind CollectionViewSupplementaryElementKind) foundation.Set

Returns the index paths for any supplementary views that the layout object wants to remove from the collection view. Full Topic

func (CollectionViewLayout) IndexPathsToInsertForDecorationViewOfKind

func (c_ CollectionViewLayout) IndexPathsToInsertForDecorationViewOfKind(elementKind CollectionViewDecorationElementKind) foundation.Set

Returns the index paths for any decoration views that the layout object wants to add to the collection view. Full Topic

func (CollectionViewLayout) IndexPathsToInsertForSupplementaryViewOfKind

func (c_ CollectionViewLayout) IndexPathsToInsertForSupplementaryViewOfKind(elementKind CollectionViewSupplementaryElementKind) foundation.Set

Returns the index paths for any supplementary views that the layout object wants to add to the collection view. Full Topic

func (CollectionViewLayout) Init

func (CollectionViewLayout) InitialLayoutAttributesForAppearingDecorationElementOfKindAtIndexPath

func (c_ CollectionViewLayout) InitialLayoutAttributesForAppearingDecorationElementOfKindAtIndexPath(elementKind CollectionViewDecorationElementKind, decorationIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes

Returns the starting layout information for a decoration view being added to the collection view. Full Topic

func (CollectionViewLayout) InvalidateLayout

func (c_ CollectionViewLayout) InvalidateLayout()

Invalidates all layout information and triggers a layout update. Full Topic

func (CollectionViewLayout) InvalidateLayoutWithContext

func (c_ CollectionViewLayout) InvalidateLayoutWithContext(context ICollectionViewLayoutInvalidationContext)

Invalidates specific parts of the layout using the specified context object. Full Topic

func (CollectionViewLayout) InvalidationContextForBoundsChange

func (c_ CollectionViewLayout) InvalidationContextForBoundsChange(newBounds foundation.Rect) CollectionViewLayoutInvalidationContext

Returns an invalidation context object that defines the portions of the layout that need to be updated. Full Topic

func (CollectionViewLayout) InvalidationContextForPreferredLayoutAttributesWithOriginalAttributes

func (c_ CollectionViewLayout) InvalidationContextForPreferredLayoutAttributesWithOriginalAttributes(preferredAttributes ICollectionViewLayoutAttributes, originalAttributes ICollectionViewLayoutAttributes) CollectionViewLayoutInvalidationContext

Returns an invalidation context object that defines the portions of the layout that need to be updated. Full Topic

func (CollectionViewLayout) LayoutAttributesForDecorationViewOfKindAtIndexPath

func (c_ CollectionViewLayout) LayoutAttributesForDecorationViewOfKindAtIndexPath(elementKind CollectionViewDecorationElementKind, indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

Returns the layout attributes of the decoration view at the specified location in your layout. Full Topic

func (CollectionViewLayout) LayoutAttributesForDropTargetAtPoint

func (c_ CollectionViewLayout) LayoutAttributesForDropTargetAtPoint(pointInCollectionView foundation.Point) CollectionViewLayoutAttributes

Returns layout attributes for the drop target at the specified point. Full Topic

func (CollectionViewLayout) LayoutAttributesForElementsInRect

func (c_ CollectionViewLayout) LayoutAttributesForElementsInRect(rect foundation.Rect) []CollectionViewLayoutAttributes

Returns the layout attribute objects for all items and views in the specified rectangle. Full Topic

func (CollectionViewLayout) LayoutAttributesForInterItemGapBeforeIndexPath

func (c_ CollectionViewLayout) LayoutAttributesForInterItemGapBeforeIndexPath(indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

Returns layout attributes for the inter-item gap at the specified location in your layout. Full Topic

func (CollectionViewLayout) LayoutAttributesForItemAtIndexPath

func (c_ CollectionViewLayout) LayoutAttributesForItemAtIndexPath(indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

Returns the layout attributes for the item at the specified index path. Full Topic

func (CollectionViewLayout) LayoutAttributesForSupplementaryViewOfKindAtIndexPath

func (c_ CollectionViewLayout) LayoutAttributesForSupplementaryViewOfKindAtIndexPath(elementKind CollectionViewSupplementaryElementKind, indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

Returns the layout attributes of the supplementary view at the specified location in your layout. Full Topic

func (CollectionViewLayout) PrepareForAnimatedBoundsChange

func (c_ CollectionViewLayout) PrepareForAnimatedBoundsChange(oldBounds foundation.Rect)

Prepares the layout object for animated changes to the collection view’s bounds or for the insertion or deletion of items. Full Topic

func (CollectionViewLayout) PrepareForCollectionViewUpdates

func (c_ CollectionViewLayout) PrepareForCollectionViewUpdates(updateItems []ICollectionViewUpdateItem)

Performs needed tasks before items are inserted, deleted, or moved within the collection view. Full Topic

func (CollectionViewLayout) PrepareForTransitionFromLayout

func (c_ CollectionViewLayout) PrepareForTransitionFromLayout(oldLayout ICollectionViewLayout)

Prepares the layout object to be installed in the collection view. Full Topic

func (CollectionViewLayout) PrepareForTransitionToLayout

func (c_ CollectionViewLayout) PrepareForTransitionToLayout(newLayout ICollectionViewLayout)

Prepares the layout object to be uninstalled from the collection view. Full Topic

func (CollectionViewLayout) PrepareLayout

func (c_ CollectionViewLayout) PrepareLayout()

Prepares the layout object to begin laying out content. Full Topic

func (CollectionViewLayout) RegisterClassForDecorationViewOfKind

func (c_ CollectionViewLayout) RegisterClassForDecorationViewOfKind(viewClass objc.IClass, elementKind CollectionViewDecorationElementKind)

Registers a class to use when creating the layout’s decoration views. Full Topic

func (CollectionViewLayout) RegisterNibForDecorationViewOfKind

func (c_ CollectionViewLayout) RegisterNibForDecorationViewOfKind(nib INib, elementKind CollectionViewDecorationElementKind)

Registers a nib file to use when creating the layout’s decoration views. Full Topic

func (CollectionViewLayout) ShouldInvalidateLayoutForBoundsChange

func (c_ CollectionViewLayout) ShouldInvalidateLayoutForBoundsChange(newBounds foundation.Rect) bool

Returns a Boolean indicating whether a bounds change triggers a layout update. Full Topic

func (CollectionViewLayout) ShouldInvalidateLayoutForPreferredLayoutAttributesWithOriginalAttributes

func (c_ CollectionViewLayout) ShouldInvalidateLayoutForPreferredLayoutAttributesWithOriginalAttributes(preferredAttributes ICollectionViewLayoutAttributes, originalAttributes ICollectionViewLayoutAttributes) bool

Returns a Boolean indicating whether changes to a cell’s layout attributes trigger a larger layout update. Full Topic

func (CollectionViewLayout) TargetContentOffsetForProposedContentOffset

func (c_ CollectionViewLayout) TargetContentOffsetForProposedContentOffset(proposedContentOffset foundation.Point) foundation.Point

Returns the offset value to use after an animated layout update or change. Full Topic

type CollectionViewLayoutAttributes

type CollectionViewLayoutAttributes struct {
	objc.Object
}

An object that contains layout-related attributes for an element in a collection view. Full Topic

func CollectionViewLayoutAttributesFrom

func CollectionViewLayoutAttributesFrom(ptr unsafe.Pointer) CollectionViewLayoutAttributes

func CollectionViewLayoutAttributes_Alloc

func CollectionViewLayoutAttributes_Alloc() CollectionViewLayoutAttributes

func CollectionViewLayoutAttributes_LayoutAttributesForDecorationViewOfKindWithIndexPath

func CollectionViewLayoutAttributes_LayoutAttributesForDecorationViewOfKindWithIndexPath(decorationViewKind CollectionViewDecorationElementKind, indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

Creates and returns a layout attributes object for a decoration view based on the specified information. Full Topic

func CollectionViewLayoutAttributes_LayoutAttributesForInterItemGapBeforeIndexPath

func CollectionViewLayoutAttributes_LayoutAttributesForInterItemGapBeforeIndexPath(indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

Creates and returns a layout attributes object for an inter-item gap view at the specified index path. Full Topic

func CollectionViewLayoutAttributes_LayoutAttributesForItemWithIndexPath

func CollectionViewLayoutAttributes_LayoutAttributesForItemWithIndexPath(indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

Creates and returns a layout attributes object for the item at the specified index path. Full Topic

func CollectionViewLayoutAttributes_LayoutAttributesForSupplementaryViewOfKindWithIndexPath

func CollectionViewLayoutAttributes_LayoutAttributesForSupplementaryViewOfKindWithIndexPath(elementKind CollectionViewSupplementaryElementKind, indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

Creates and returns a layout attributes object for a supplementary view based on the specified information. Full Topic

func NewCollectionViewLayoutAttributes

func NewCollectionViewLayoutAttributes() CollectionViewLayoutAttributes

func (CollectionViewLayoutAttributes) Alpha

The transparency of the element. Full Topic

func (CollectionViewLayoutAttributes) Frame

The frame rectangle of the element. Full Topic

func (CollectionViewLayoutAttributes) IndexPath

The index path of the element. Full Topic

func (CollectionViewLayoutAttributes) Init

func (CollectionViewLayoutAttributes) IsHidden

func (c_ CollectionViewLayoutAttributes) IsHidden() bool

A Boolean value indicating whether the element is hidden. Full Topic

func (CollectionViewLayoutAttributes) RepresentedElementCategory

func (c_ CollectionViewLayoutAttributes) RepresentedElementCategory() CollectionElementCategory

The type of the element. Full Topic

func (CollectionViewLayoutAttributes) RepresentedElementKind

func (c_ CollectionViewLayoutAttributes) RepresentedElementKind() string

The identifier for specific elements of your collection view interface. Full Topic

func (CollectionViewLayoutAttributes) SetAlpha

func (c_ CollectionViewLayoutAttributes) SetAlpha(value float64)

The transparency of the element. Full Topic

func (CollectionViewLayoutAttributes) SetFrame

func (c_ CollectionViewLayoutAttributes) SetFrame(value foundation.Rect)

The frame rectangle of the element. Full Topic

func (CollectionViewLayoutAttributes) SetHidden

func (c_ CollectionViewLayoutAttributes) SetHidden(value bool)

A Boolean value indicating whether the element is hidden. Full Topic

func (CollectionViewLayoutAttributes) SetIndexPath

func (c_ CollectionViewLayoutAttributes) SetIndexPath(value foundation.IIndexPath)

The index path of the element. Full Topic

func (CollectionViewLayoutAttributes) SetSize

The size of the element. Full Topic

func (CollectionViewLayoutAttributes) SetZIndex

func (c_ CollectionViewLayoutAttributes) SetZIndex(value int)

The element’s position on the z axis. Full Topic

func (CollectionViewLayoutAttributes) Size

The size of the element. Full Topic

func (CollectionViewLayoutAttributes) ZIndex

func (c_ CollectionViewLayoutAttributes) ZIndex() int

The element’s position on the z axis. Full Topic

type CollectionViewLayoutInvalidationContext

type CollectionViewLayoutInvalidationContext struct {
	objc.Object
}

An object that identifies the portions of your layout that need to be updated. Full Topic

func CollectionViewLayoutInvalidationContextFrom

func CollectionViewLayoutInvalidationContextFrom(ptr unsafe.Pointer) CollectionViewLayoutInvalidationContext

func CollectionViewLayoutInvalidationContext_Alloc

func CollectionViewLayoutInvalidationContext_Alloc() CollectionViewLayoutInvalidationContext

func NewCollectionViewLayoutInvalidationContext

func NewCollectionViewLayoutInvalidationContext() CollectionViewLayoutInvalidationContext

func (CollectionViewLayoutInvalidationContext) ContentOffsetAdjustment

func (c_ CollectionViewLayoutInvalidationContext) ContentOffsetAdjustment() foundation.Point

The delta value to add to the collection view’s content offset. Full Topic

func (CollectionViewLayoutInvalidationContext) ContentSizeAdjustment

func (c_ CollectionViewLayoutInvalidationContext) ContentSizeAdjustment() foundation.Size

The delta value to add to the collection view’s content size. Full Topic

func (CollectionViewLayoutInvalidationContext) Init

func (CollectionViewLayoutInvalidationContext) InvalidateDataSourceCounts

func (c_ CollectionViewLayoutInvalidationContext) InvalidateDataSourceCounts() bool

A Boolean that indicates whether the layout object should ask for new section and item counts. Full Topic

func (CollectionViewLayoutInvalidationContext) InvalidateDecorationElementsOfKindAtIndexPaths

func (c_ CollectionViewLayoutInvalidationContext) InvalidateDecorationElementsOfKindAtIndexPaths(elementKind CollectionViewDecorationElementKind, indexPaths foundation.ISet)

Marks the specified decoration views as invalid so that their layout information can be updated. Full Topic

func (CollectionViewLayoutInvalidationContext) InvalidateEverything

func (c_ CollectionViewLayoutInvalidationContext) InvalidateEverything() bool

A Boolean that indicates whether all layout data should be marked as invalid. Full Topic

func (CollectionViewLayoutInvalidationContext) InvalidateItemsAtIndexPaths

func (c_ CollectionViewLayoutInvalidationContext) InvalidateItemsAtIndexPaths(indexPaths foundation.ISet)

Marks the specified items as invalid so that their layout information can be updated. Full Topic

func (CollectionViewLayoutInvalidationContext) InvalidateSupplementaryElementsOfKindAtIndexPaths

func (c_ CollectionViewLayoutInvalidationContext) InvalidateSupplementaryElementsOfKindAtIndexPaths(elementKind CollectionViewSupplementaryElementKind, indexPaths foundation.ISet)

Marks the specified supplementary views as invalid so that their layout information can be updated. Full Topic

func (CollectionViewLayoutInvalidationContext) InvalidatedDecorationIndexPaths

A dictionary containing the decoration views whose layout attributes are invalid. Full Topic

func (CollectionViewLayoutInvalidationContext) InvalidatedItemIndexPaths

func (c_ CollectionViewLayoutInvalidationContext) InvalidatedItemIndexPaths() foundation.Set

The set of items whose layout attributes are invalid. Full Topic

func (CollectionViewLayoutInvalidationContext) InvalidatedSupplementaryIndexPaths

A dictionary containing the supplementary views whose layout attributes are invalid. Full Topic

func (CollectionViewLayoutInvalidationContext) SetContentOffsetAdjustment

func (c_ CollectionViewLayoutInvalidationContext) SetContentOffsetAdjustment(value foundation.Point)

The delta value to add to the collection view’s content offset. Full Topic

func (CollectionViewLayoutInvalidationContext) SetContentSizeAdjustment

func (c_ CollectionViewLayoutInvalidationContext) SetContentSizeAdjustment(value foundation.Size)

The delta value to add to the collection view’s content size. Full Topic

type CollectionViewPrefetchingWrapper

type CollectionViewPrefetchingWrapper struct {
	objc.Object
}

A concrete type wrapper for the PCollectionViewPrefetching protocol.

func (CollectionViewPrefetchingWrapper) CollectionViewPrefetchItemsAtIndexPaths

func (c_ CollectionViewPrefetchingWrapper) CollectionViewPrefetchItemsAtIndexPaths(collectionView ICollectionView, indexPaths []foundation.IIndexPath)
[Full Topic]

func (CollectionViewPrefetchingWrapper) HasCollectionViewPrefetchItemsAtIndexPaths

func (c_ CollectionViewPrefetchingWrapper) HasCollectionViewPrefetchItemsAtIndexPaths() bool

type CollectionViewScrollDirection

type CollectionViewScrollDirection int

Constants indicating the scrolling direction for the layout. Full Topic

const (
	CollectionViewScrollDirectionHorizontal CollectionViewScrollDirection = 1
	CollectionViewScrollDirectionVertical   CollectionViewScrollDirection = 0
)

type CollectionViewScrollPosition

type CollectionViewScrollPosition uint

Constants indicating the options for scrolling the collection view’s content. Full Topic

const (
	CollectionViewScrollPositionBottom                CollectionViewScrollPosition = 4
	CollectionViewScrollPositionCenteredHorizontally  CollectionViewScrollPosition = 16
	CollectionViewScrollPositionCenteredVertically    CollectionViewScrollPosition = 2
	CollectionViewScrollPositionLeadingEdge           CollectionViewScrollPosition = 64
	CollectionViewScrollPositionLeft                  CollectionViewScrollPosition = 8
	CollectionViewScrollPositionNearestHorizontalEdge CollectionViewScrollPosition = 512
	CollectionViewScrollPositionNearestVerticalEdge   CollectionViewScrollPosition = 256
	CollectionViewScrollPositionNone                  CollectionViewScrollPosition = 0
	CollectionViewScrollPositionRight                 CollectionViewScrollPosition = 32
	CollectionViewScrollPositionTop                   CollectionViewScrollPosition = 1
	CollectionViewScrollPositionTrailingEdge          CollectionViewScrollPosition = 128
)

type CollectionViewSectionHeaderViewWrapper

type CollectionViewSectionHeaderViewWrapper struct {
	objc.Object
}

A concrete type wrapper for the PCollectionViewSectionHeaderView protocol.

func (CollectionViewSectionHeaderViewWrapper) HasSectionCollapseButton

func (c_ CollectionViewSectionHeaderViewWrapper) HasSectionCollapseButton() bool

func (CollectionViewSectionHeaderViewWrapper) HasSetSectionCollapseButton

func (c_ CollectionViewSectionHeaderViewWrapper) HasSetSectionCollapseButton() bool

func (CollectionViewSectionHeaderViewWrapper) SectionCollapseButton

func (c_ CollectionViewSectionHeaderViewWrapper) SectionCollapseButton() Button

A control that lets users collapse and open a collection view section. Full Topic

func (CollectionViewSectionHeaderViewWrapper) SetSectionCollapseButton

func (c_ CollectionViewSectionHeaderViewWrapper) SetSectionCollapseButton(value IButton)

A control that lets users collapse and open a collection view section. Full Topic

type CollectionViewSupplementaryElementKind

type CollectionViewSupplementaryElementKind string
[Full Topic]
const (
	CollectionElementKindInterItemGapIndicator CollectionViewSupplementaryElementKind = "NSCollectionElementKindInterItemGapIndicator"
	CollectionElementKindSectionFooter         CollectionViewSupplementaryElementKind = "UICollectionElementKindSectionFooter"
	CollectionElementKindSectionHeader         CollectionViewSupplementaryElementKind = "UICollectionElementKindSectionHeader"
)

type CollectionViewTransitionLayout

type CollectionViewTransitionLayout struct {
	CollectionViewLayout
}

An object that implements custom behaviors when changing from one layout to another in a collection view. Full Topic

func CollectionViewTransitionLayoutFrom

func CollectionViewTransitionLayoutFrom(ptr unsafe.Pointer) CollectionViewTransitionLayout

func CollectionViewTransitionLayout_Alloc

func CollectionViewTransitionLayout_Alloc() CollectionViewTransitionLayout

func NewCollectionViewTransitionLayout

func NewCollectionViewTransitionLayout() CollectionViewTransitionLayout

func NewCollectionViewTransitionLayoutWithCurrentLayoutNextLayout

func NewCollectionViewTransitionLayoutWithCurrentLayoutNextLayout(currentLayout ICollectionViewLayout, newLayout ICollectionViewLayout) CollectionViewTransitionLayout

Initializes and returns the transition layout object. Full Topic

func (CollectionViewTransitionLayout) CurrentLayout

The collection view’s current layout object. Full Topic

func (CollectionViewTransitionLayout) Init

func (CollectionViewTransitionLayout) InitWithCurrentLayoutNextLayout

func (c_ CollectionViewTransitionLayout) InitWithCurrentLayoutNextLayout(currentLayout ICollectionViewLayout, newLayout ICollectionViewLayout) CollectionViewTransitionLayout

func (CollectionViewTransitionLayout) NextLayout

The collection view’s new layout object. Full Topic

func (CollectionViewTransitionLayout) SetTransitionProgress

func (c_ CollectionViewTransitionLayout) SetTransitionProgress(value float64)

The completion percentage of the transition. Full Topic

func (CollectionViewTransitionLayout) TransitionProgress

func (c_ CollectionViewTransitionLayout) TransitionProgress() float64

The completion percentage of the transition. Full Topic

func (CollectionViewTransitionLayout) UpdateValueForAnimatedKey

func (c_ CollectionViewTransitionLayout) UpdateValueForAnimatedKey(value float64, key CollectionViewTransitionLayoutAnimatedKey)

Sets the value of a key whose value you use during the animation. Full Topic

func (CollectionViewTransitionLayout) ValueForAnimatedKey

Returns the most recently set value for the specified key. Full Topic

type CollectionViewTransitionLayoutAnimatedKey

type CollectionViewTransitionLayoutAnimatedKey string
[Full Topic]

type CollectionViewUpdateItem

type CollectionViewUpdateItem struct {
	objc.Object
}

A description of a single change to make to an item in a collection view. Full Topic

func CollectionViewUpdateItemFrom

func CollectionViewUpdateItemFrom(ptr unsafe.Pointer) CollectionViewUpdateItem

func CollectionViewUpdateItem_Alloc

func CollectionViewUpdateItem_Alloc() CollectionViewUpdateItem

func NewCollectionViewUpdateItem

func NewCollectionViewUpdateItem() CollectionViewUpdateItem

func (CollectionViewUpdateItem) IndexPathAfterUpdate

func (c_ CollectionViewUpdateItem) IndexPathAfterUpdate() foundation.IndexPath

The index path of the item after the update. Full Topic

func (CollectionViewUpdateItem) IndexPathBeforeUpdate

func (c_ CollectionViewUpdateItem) IndexPathBeforeUpdate() foundation.IndexPath

The index path of the item before the update. Full Topic

func (CollectionViewUpdateItem) Init

func (CollectionViewUpdateItem) UpdateAction

The action being performed on the item. Full Topic

type Color

type Color struct {
	objc.Object
}

An object that stores color data and sometimes opacity (alpha value). Full Topic

func ColorFrom

func ColorFrom(ptr unsafe.Pointer) Color

func Color_Alloc

func Color_Alloc() Color

func Color_AlternateSelectedControlTextColor

func Color_AlternateSelectedControlTextColor() Color

The color to use for text in a selected control. Full Topic

func Color_AlternatingContentBackgroundColors

func Color_AlternatingContentBackgroundColors() []Color

The colors to use for alternating content, typically found in table views and collection views. Full Topic

func Color_BlackColor

func Color_BlackColor() Color

Returns a color object whose grayscale value is 0.0 and whose alpha value is 1.0. Full Topic

func Color_BlueColor

func Color_BlueColor() Color

Returns a color object whose RGB value is 0.0, 0.0, 1.0 and whose alpha value is 1.0. Full Topic

func Color_BrownColor

func Color_BrownColor() Color

Returns a color object whose RGB value is 0.6, 0.4, 0.2 and whose alpha value is 1.0. Full Topic

func Color_ClearColor

func Color_ClearColor() Color

Returns a color object whose grayscale and alpha values are both 0.0. Full Topic

func Color_ColorFromPasteboard

func Color_ColorFromPasteboard(pasteBoard IPasteboard) Color

Creates a color object from color data currently on the pasteboard. Full Topic

func Color_ColorNamed

func Color_ColorNamed(name ColorName) Color

Creates a color object from the provided name, which corresponds to a color in the default asset catalog of the app's main bundle. Full Topic

func Color_ColorWithCGColor

func Color_ColorWithCGColor(cgColor coregraphics.ColorRef) Color

Creates a color object using the specified Core Graphics color. Full Topic

func Color_ColorWithCIColor

func Color_ColorWithCIColor(color coreimage.IColor) Color

Creates a color object from the specified Core Image color. Full Topic

func Color_ColorWithCalibratedHueSaturationBrightnessAlpha

func Color_ColorWithCalibratedHueSaturationBrightnessAlpha(hue float64, saturation float64, brightness float64, alpha float64) Color

Creates a color object using the given opacity and HSB color space components. Full Topic

func Color_ColorWithCalibratedRedGreenBlueAlpha

func Color_ColorWithCalibratedRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) Color

Creates a color object using the given opacity and RGB components. Full Topic

func Color_ColorWithCalibratedWhiteAlpha

func Color_ColorWithCalibratedWhiteAlpha(white float64, alpha float64) Color

Creates a color object using the given opacity and grayscale values. Full Topic

func Color_ColorWithCatalogNameColorName

func Color_ColorWithCatalogNameColorName(listName ColorListName, colorName ColorName) Color

Creates a color object using the specified asset catalog and color names. Full Topic

func Color_ColorWithColorSpaceHueSaturationBrightnessAlpha

func Color_ColorWithColorSpaceHueSaturationBrightnessAlpha(space IColorSpace, hue float64, saturation float64, brightness float64, alpha float64) Color

Creates a color object with the specified color space, hue, saturation, brightness, and alpha channel values. Full Topic

func Color_ColorWithDeviceCyanMagentaYellowBlackAlpha

func Color_ColorWithDeviceCyanMagentaYellowBlackAlpha(cyan float64, magenta float64, yellow float64, black float64, alpha float64) Color

Creates a color object using the given opacity value and CMYK components. Full Topic

func Color_ColorWithDeviceHueSaturationBrightnessAlpha

func Color_ColorWithDeviceHueSaturationBrightnessAlpha(hue float64, saturation float64, brightness float64, alpha float64) Color

Creates a color object using the given opacity value and HSB color space components. Full Topic

func Color_ColorWithDeviceRedGreenBlueAlpha

func Color_ColorWithDeviceRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) Color

Creates a color object using the given opacity value and RGB components. Full Topic

func Color_ColorWithDeviceWhiteAlpha

func Color_ColorWithDeviceWhiteAlpha(white float64, alpha float64) Color

Creates a color object using the given opacity and grayscale values. Full Topic

func Color_ColorWithDisplayP3RedGreenBlueAlpha

func Color_ColorWithDisplayP3RedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) Color

Creates a color object from the specified components in the Display P3 color space. Full Topic

func Color_ColorWithGenericGamma22WhiteAlpha

func Color_ColorWithGenericGamma22WhiteAlpha(white float64, alpha float64) Color

Returns a color object with the specified white and alpha values in the GenericGamma22 colorspace. Full Topic

func Color_ColorWithHueSaturationBrightnessAlpha

func Color_ColorWithHueSaturationBrightnessAlpha(hue float64, saturation float64, brightness float64, alpha float64) Color

Creates a color object with the specified hue, saturation, brightness, and alpha channel values. Full Topic

func Color_ColorWithNameDynamicProvider

func Color_ColorWithNameDynamicProvider(colorName ColorName, dynamicProvider func(arg0 Appearance) Color) Color

Creates a dynamic catalog color with a provider that’s used to resolve the exact color value, calculated on first use. Full Topic

func Color_ColorWithPatternImage

func Color_ColorWithPatternImage(image IImage) Color

Creates a color object that uses the specified image pattern to paint the target area. Full Topic

func Color_ColorWithRedGreenBlueAlpha

func Color_ColorWithRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) Color

Creates a color object with the specified red, green, blue, and alpha channel values. Full Topic

func Color_ColorWithSRGBRedGreenBlueAlpha

func Color_ColorWithSRGBRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) Color

Creates a color object from the specified components in the sRGB colorspace. Full Topic

func Color_ColorWithWhiteAlpha

func Color_ColorWithWhiteAlpha(white float64, alpha float64) Color

Creates a color object with the specified brightness and alpha channel values. Full Topic

func Color_ControlAccentColor

func Color_ControlAccentColor() Color

The user's current accent color preference. Full Topic

func Color_ControlBackgroundColor

func Color_ControlBackgroundColor() Color

The color to use for the background of large controls, such as scroll views or table views. Full Topic

func Color_ControlColor

func Color_ControlColor() Color

The color to use for the flat surfaces of a control. Full Topic

func Color_ControlTextColor

func Color_ControlTextColor() Color

The color to use for text on enabled controls. Full Topic

func Color_CyanColor

func Color_CyanColor() Color

Returns a color object whose RGB value is 0.0, 1.0, 1.0 and whose alpha value is 1.0. Full Topic

func Color_DarkGrayColor

func Color_DarkGrayColor() Color

Returns a color object whose grayscale value is 1/3 and whose alpha value is 1.0. Full Topic

func Color_DisabledControlTextColor

func Color_DisabledControlTextColor() Color

The color to use for text on disabled controls. Full Topic

func Color_FindHighlightColor

func Color_FindHighlightColor() Color

The highlight color to use for the bubble that shows inline search result values. Full Topic

func Color_GrayColor

func Color_GrayColor() Color

Returns a color object whose grayscale value is 0.5 and whose alpha value is 1.0. Full Topic

func Color_GreenColor

func Color_GreenColor() Color

Returns a color object whose RGB value is 0.0, 1.0, 0.0 and whose alpha value is 1.0. Full Topic

func Color_GridColor

func Color_GridColor() Color

The color to use for the optional gridlines, such as those in a table view. Full Topic

func Color_HeaderTextColor

func Color_HeaderTextColor() Color

The color to use for text in header cells in table views and outline views. Full Topic

func Color_HighlightColor

func Color_HighlightColor() Color

The color to use as a virtual light source on the screen. Full Topic

func Color_KeyboardFocusIndicatorColor

func Color_KeyboardFocusIndicatorColor() Color

The color to use for the keyboard focus ring around controls. Full Topic

func Color_LabelColor

func Color_LabelColor() Color

The primary color to use for text labels. Full Topic

func Color_LightGrayColor

func Color_LightGrayColor() Color

Returns a color object whose grayscale value is 2/3 and whose alpha value is 1.0. Full Topic

func Color_LinkColor

func Color_LinkColor() Color

The color to use for links. Full Topic

func Color_MagentaColor

func Color_MagentaColor() Color

Returns a color object whose RGB value is 1.0, 0.0, 1.0 and whose alpha value is 1.0. Full Topic

func Color_OrangeColor

func Color_OrangeColor() Color

Returns a color object whose RGB value is 1.0, 0.5, 0.0 and whose alpha value is 1.0. Full Topic

func Color_PlaceholderTextColor

func Color_PlaceholderTextColor() Color

The color to use for placeholder text in controls or text views. Full Topic

func Color_PurpleColor

func Color_PurpleColor() Color

Returns a color object whose RGB value is 0.5, 0.0, 0.5 and whose alpha value is 1.0. Full Topic

func Color_QuaternaryLabelColor

func Color_QuaternaryLabelColor() Color

The quaternary color to use for text labels and separators. Full Topic

func Color_RedColor

func Color_RedColor() Color

Returns a color object whose RGB value is 1.0, 0.0, 0.0 and whose alpha value is 1.0. Full Topic

func Color_ScrubberTexturedBackgroundColor

func Color_ScrubberTexturedBackgroundColor() Color

The patterned color to use for the background of a scrubber control. Full Topic

func Color_SecondaryLabelColor

func Color_SecondaryLabelColor() Color

The secondary color to use for text labels. Full Topic

func Color_SelectedContentBackgroundColor

func Color_SelectedContentBackgroundColor() Color

The color to use for the background of selected and emphasized content. Full Topic

func Color_SelectedControlColor

func Color_SelectedControlColor() Color

The color to use for the face of a selected control—that is, a control that has been clicked or is being dragged. Full Topic

func Color_SelectedControlTextColor

func Color_SelectedControlTextColor() Color

The color to use for text in a selected control—that is, a control being clicked or dragged. Full Topic

func Color_SelectedMenuItemTextColor

func Color_SelectedMenuItemTextColor() Color

The color to use for the text in menu items. Full Topic

func Color_SelectedTextBackgroundColor

func Color_SelectedTextBackgroundColor() Color

The color to use for the background of selected text. Full Topic

func Color_SelectedTextColor

func Color_SelectedTextColor() Color

The color to use for selected text. Full Topic

func Color_SeparatorColor

func Color_SeparatorColor() Color

The color to use for separators between different sections of content. Full Topic

func Color_ShadowColor

func Color_ShadowColor() Color

The color to use for virtual shadows cast by raised objects on the screen. Full Topic

func Color_SystemBlueColor

func Color_SystemBlueColor() Color

Returns a color object for blue that automatically adapts to vibrancy and accessibility settings. Full Topic

func Color_SystemBrownColor

func Color_SystemBrownColor() Color

Returns a color object for brown that automatically adapts to vibrancy and accessibility settings. Full Topic

func Color_SystemCyanColor

func Color_SystemCyanColor() Color

Returns a color object for cyan that automatically adapts to vibrancy and accessibility settings. Full Topic

func Color_SystemGrayColor

func Color_SystemGrayColor() Color

Returns a color object for gray that automatically adapts to vibrancy and accessibility settings. Full Topic

func Color_SystemGreenColor

func Color_SystemGreenColor() Color

Returns a color object for green that automatically adapts to vibrancy and accessibility settings. Full Topic

func Color_SystemIndigoColor

func Color_SystemIndigoColor() Color

Returns a color object for indigo that automatically adapts to vibrancy and accessibility settings. Full Topic

func Color_SystemMintColor

func Color_SystemMintColor() Color

Returns a color object for mint that automatically adapts to vibrancy and accessibility settings. Full Topic

func Color_SystemOrangeColor

func Color_SystemOrangeColor() Color

Returns a color object for orange that automatically adapts to vibrancy and accessibility settings. Full Topic

func Color_SystemPinkColor

func Color_SystemPinkColor() Color

Returns a color object for pink that automatically adapts to vibrancy and accessibility settings. Full Topic

func Color_SystemPurpleColor

func Color_SystemPurpleColor() Color

Returns a color object for purple that automatically adapts to vibrancy and accessibility settings. Full Topic

func Color_SystemRedColor

func Color_SystemRedColor() Color

Returns a color object for red that automatically adapts to vibrancy and accessibility settings. Full Topic

func Color_SystemTealColor

func Color_SystemTealColor() Color

Returns a color object for teal that automatically adapts to vibrancy and accessibility settings. Full Topic

func Color_SystemYellowColor

func Color_SystemYellowColor() Color

Returns a color object for yellow that automatically adapts to vibrancy and accessibility settings. Full Topic

func Color_TertiaryLabelColor

func Color_TertiaryLabelColor() Color

The tertiary color to use for text labels. Full Topic

func Color_TextBackgroundColor

func Color_TextBackgroundColor() Color

The color to use for the background area behind text. Full Topic

func Color_TextColor

func Color_TextColor() Color

The color to use for text. Full Topic

func Color_UnderPageBackgroundColor

func Color_UnderPageBackgroundColor() Color

The color to use in the area beneath your window's views. Full Topic

func Color_UnemphasizedSelectedContentBackgroundColor

func Color_UnemphasizedSelectedContentBackgroundColor() Color

The color to use for selected and unemphasized content. Full Topic

func Color_UnemphasizedSelectedTextBackgroundColor

func Color_UnemphasizedSelectedTextBackgroundColor() Color

The color to use for the text background in an unemphasized context. Full Topic

func Color_UnemphasizedSelectedTextColor

func Color_UnemphasizedSelectedTextColor() Color

The color to use for selected text in an unemphasized context. Full Topic

func Color_WhiteColor

func Color_WhiteColor() Color

Returns a color object whose grayscale and alpha values are both 1.0. Full Topic

func Color_WindowBackgroundColor

func Color_WindowBackgroundColor() Color

The color to use for the window background. Full Topic

func Color_WindowFrameTextColor

func Color_WindowFrameTextColor() Color

The color to use for text in a window's frame. Full Topic

func Color_YellowColor

func Color_YellowColor() Color

Returns a color object whose RGB value is 1.0, 1.0, 0.0 and whose alpha value is 1.0. Full Topic

func NewColor

func NewColor() Color

func (Color) AlphaComponent

func (c_ Color) AlphaComponent() float64

The alpha (opacity) component value of the color. Full Topic

func (Color) BlackComponent

func (c_ Color) BlackComponent() float64

The black component value of the color. Full Topic

func (Color) BlendedColorWithFractionOfColor

func (c_ Color) BlendedColorWithFractionOfColor(fraction float64, color IColor) Color

Creates a new color object whose component values are a weighted sum of the current color object and the specified color object's. Full Topic

func (Color) BlueComponent

func (c_ Color) BlueComponent() float64

The blue component value of the color. Full Topic

func (Color) BrightnessComponent

func (c_ Color) BrightnessComponent() float64

The brightness component value of the color. Full Topic

func (Color) CGColor

func (c_ Color) CGColor() coregraphics.ColorRef

The Core Graphics color object corresponding to the color. Full Topic

func (Color) CatalogNameComponent

func (c_ Color) CatalogNameComponent() ColorListName

The catalog containing the color’s name. Full Topic

func (Color) ColorNameComponent

func (c_ Color) ColorNameComponent() ColorName

The name of the color. Full Topic

func (Color) ColorSpace

func (c_ Color) ColorSpace() ColorSpace

The color space associated with the color. Full Topic

func (Color) ColorUsingColorSpace

func (c_ Color) ColorUsingColorSpace(space IColorSpace) Color

Creates a new color object representing the color of the current color object in the specified color space. Full Topic

func (Color) ColorUsingType

func (c_ Color) ColorUsingType(type_ ColorType) Color

Returns a version of the color object that is compatible with the specified color type. Full Topic

func (Color) ColorWithAlphaComponent

func (c_ Color) ColorWithAlphaComponent(alpha float64) Color

Creates a new color object that has the same color space and component values as the current color object, but the specified alpha component. Full Topic

func (Color) ColorWithSystemEffect

func (c_ Color) ColorWithSystemEffect(systemEffect ColorSystemEffect) Color

Returns a new color object that represents the current color modified to include the specified visual effect. Full Topic

func (Color) CyanComponent

func (c_ Color) CyanComponent() float64

The cyan component value of the color. Full Topic

func (Color) DrawSwatchInRect

func (c_ Color) DrawSwatchInRect(rect foundation.Rect)

Draws the current color in the specified rectangle. Full Topic

func (Color) GetComponents

func (c_ Color) GetComponents(components *float64)

Returns the components of the color as an array. Full Topic

func (Color) GetCyanMagentaYellowBlackAlpha

func (c_ Color) GetCyanMagentaYellowBlackAlpha(cyan *float64, magenta *float64, yellow *float64, black *float64, alpha *float64)

Returns the color object’s CMYK and opacity values. Full Topic

func (Color) GetHueSaturationBrightnessAlpha

func (c_ Color) GetHueSaturationBrightnessAlpha(hue *float64, saturation *float64, brightness *float64, alpha *float64)

Returns the color object’s HSB component and opacity values in the respective arguments. Full Topic

func (Color) GetRedGreenBlueAlpha

func (c_ Color) GetRedGreenBlueAlpha(red *float64, green *float64, blue *float64, alpha *float64)

Returns the color object’s RGB component and opacity values in the respective arguments. Full Topic

func (Color) GetWhiteAlpha

func (c_ Color) GetWhiteAlpha(white *float64, alpha *float64)

Returns the grayscale and alpha values of the color. Full Topic

func (Color) GreenComponent

func (c_ Color) GreenComponent() float64

The green component value of the color. Full Topic

func (Color) HighlightWithLevel

func (c_ Color) HighlightWithLevel(val float64) Color

Creates a new color object that represents a blend between the current color and the highlight color. Full Topic

func (Color) HueComponent

func (c_ Color) HueComponent() float64

The hue component value of the color. Full Topic

func (Color) Init

func (c_ Color) Init() Color

func (Color) LocalizedCatalogNameComponent

func (c_ Color) LocalizedCatalogNameComponent() string

The localized version of the catalog name containing the color. Full Topic

func (Color) LocalizedColorNameComponent

func (c_ Color) LocalizedColorNameComponent() string

The localized version of the color name. Full Topic

func (Color) MagentaComponent

func (c_ Color) MagentaComponent() float64

The magenta component value of the color. Full Topic

func (Color) NumberOfComponents

func (c_ Color) NumberOfComponents() int

The number of components in the color. Full Topic

func (Color) PatternImage

func (c_ Color) PatternImage() Image

The pattern image used to paint the target area. Full Topic

func (Color) RedComponent

func (c_ Color) RedComponent() float64

The red component value of the color. Full Topic

func (Color) SaturationComponent

func (c_ Color) SaturationComponent() float64

The saturation component value of the color. Full Topic

func (Color) Set

func (c_ Color) Set()

Sets the color of subsequent drawing to the color that the color object represents. Full Topic

func (Color) SetFill

func (c_ Color) SetFill()

Sets the fill color of subsequent drawing to the color object’s color. Full Topic

func (Color) SetStroke

func (c_ Color) SetStroke()

Sets the stroke color of subsequent drawing to the color object’s color. Full Topic

func (Color) ShadowWithLevel

func (c_ Color) ShadowWithLevel(val float64) Color

Creates a new color object that represents a blend between the current color and the shadow color. Full Topic

func (Color) Type

func (c_ Color) Type() ColorType

The type of the color object. Full Topic

func (Color) WhiteComponent

func (c_ Color) WhiteComponent() float64

The white component value of the color. Full Topic

func (Color) WriteToPasteboard

func (c_ Color) WriteToPasteboard(pasteBoard IPasteboard)

Writes the color object’s data to the specified pasteboard. Full Topic

func (Color) YellowComponent

func (c_ Color) YellowComponent() float64

The yellow component value of the color. Full Topic

type ColorChangingWrapper

type ColorChangingWrapper struct {
	objc.Object
}

A concrete type wrapper for the PColorChanging protocol.

func (ColorChangingWrapper) ChangeColor

func (c_ ColorChangingWrapper) ChangeColor(sender IColorPanel)

Sent to the first responder when the user selects a color in an NSColorPanel object. Full Topic

func (ColorChangingWrapper) HasChangeColor

func (c_ ColorChangingWrapper) HasChangeColor() bool

type ColorList

type ColorList struct {
	objc.Object
}

An ordered list of color objects, identified by keys. Full Topic

func ColorListFrom

func ColorListFrom(ptr unsafe.Pointer) ColorList

func ColorList_Alloc

func ColorList_Alloc() ColorList

func ColorList_AvailableColorLists

func ColorList_AvailableColorLists() []ColorList

Returns an array of all color lists found in the standard color list directories. Full Topic

func ColorList_ColorListNamed

func ColorList_ColorListNamed(name ColorListName) ColorList

Searches the available color lists array and returns the color list with the specified name. Full Topic

func NewColorList

func NewColorList() ColorList

func NewColorListWithNameFromFile

func NewColorListWithNameFromFile(name ColorListName, path string) ColorList

Initializes and returns a color list from the specified file, registering it under the specified name if it isn’t in use already. Full Topic

func (ColorList) AllKeys

func (c_ ColorList) AllKeys() []ColorName

An array of the keys by which the color objects are stored in the color list. Full Topic

func (ColorList) ColorWithKey

func (c_ ColorList) ColorWithKey(key ColorName) Color

Returns the color object associated with the specified key. Full Topic

func (ColorList) Init

func (c_ ColorList) Init() ColorList

func (ColorList) InitWithNameFromFile

func (c_ ColorList) InitWithNameFromFile(name ColorListName, path string) ColorList

func (ColorList) InsertColorKeyAtIndex

func (c_ ColorList) InsertColorKeyAtIndex(color IColor, key ColorName, loc uint)

Inserts the specified color at the specified location in the color list. Full Topic

func (ColorList) IsEditable

func (c_ ColorList) IsEditable() bool

A Boolean value that indicates whether the color list can be modified. Full Topic

func (ColorList) Name

func (c_ ColorList) Name() ColorListName

The name of the color list. Full Topic

func (ColorList) RemoveColorWithKey

func (c_ ColorList) RemoveColorWithKey(key ColorName)

Removes the color associated with the specified key from the color list. Full Topic

func (ColorList) RemoveFile

func (c_ ColorList) RemoveFile()

Removes the file from which the list was created, if the file is in a standard search path and owned by the user. Full Topic

func (ColorList) SetColorForKey

func (c_ ColorList) SetColorForKey(color IColor, key ColorName)

Associates the specified color object with the specified key. Full Topic

func (ColorList) WriteToURLError

func (c_ ColorList) WriteToURLError(url foundation.IURL, errPtr foundation.IError) bool

Saves the color list to the file at the specified URL. Full Topic

type ColorListName

type ColorListName string

The name assigned to a color list. Full Topic

type ColorName

type ColorName string

The name of a color. Full Topic

type ColorPanel

type ColorPanel struct {
	Panel
}

A standard user interface for selecting color in an app. Full Topic

func ColorPanelFrom

func ColorPanelFrom(ptr unsafe.Pointer) ColorPanel

func ColorPanel_Alloc

func ColorPanel_Alloc() ColorPanel

func ColorPanel_SharedColorPanel

func ColorPanel_SharedColorPanel() ColorPanel

Returns the shared NSColorPanel instance, creating it if necessary. Full Topic

func ColorPanel_WindowWithContentViewController

func ColorPanel_WindowWithContentViewController(contentViewController IViewController) ColorPanel

Creates a titled window that contains the specified content view controller. Full Topic

func NewColorPanel

func NewColorPanel() ColorPanel

func NewColorPanelWithContentRectStyleMaskBackingDeferScreen

func NewColorPanelWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) ColorPanel

Initializes an allocated window with the specified values. Full Topic

func (ColorPanel) AccessoryView

func (c_ ColorPanel) AccessoryView() View

The accessory view. Full Topic

func (ColorPanel) Alpha

func (c_ ColorPanel) Alpha() float64

The receiver’s current alpha value based on its opacity slider. Full Topic

func (ColorPanel) AttachColorList

func (c_ ColorPanel) AttachColorList(colorList IColorList)

Adds the list of NSColor objects specified to all the color pickers in the receiver that display color lists by invoking attachColorList: on all color pickers in the application. Full Topic

func (ColorPanel) Color

func (c_ ColorPanel) Color() Color

The color of the receiver. Full Topic

func (ColorPanel) DetachColorList

func (c_ ColorPanel) DetachColorList(colorList IColorList)

Removes the list of colors from all the color pickers in the receiver that display color lists by invoking detachColorList: on all color pickers in the application. Full Topic

func (ColorPanel) Init

func (c_ ColorPanel) Init() ColorPanel

func (ColorPanel) InitWithContentRectStyleMaskBackingDeferScreen

func (c_ ColorPanel) InitWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) ColorPanel

func (ColorPanel) IsContinuous

func (c_ ColorPanel) IsContinuous() bool

A Boolean value indicating whether the receiver continuously sends the action message to the target. Full Topic

func (ColorPanel) Mode

func (c_ ColorPanel) Mode() ColorPanelMode

The mode of the receiver the mode is one of the modes allowed by the color mask. Full Topic

func (ColorPanel) SetAccessoryView

func (c_ ColorPanel) SetAccessoryView(value IView)

The accessory view. Full Topic

func (ColorPanel) SetAction

func (c_ ColorPanel) SetAction(selector objc.Selector)

Sets the color panel's action message. Full Topic

func (ColorPanel) SetColor

func (c_ ColorPanel) SetColor(value IColor)

The color of the receiver. Full Topic

func (ColorPanel) SetContinuous

func (c_ ColorPanel) SetContinuous(value bool)

A Boolean value indicating whether the receiver continuously sends the action message to the target. Full Topic

func (ColorPanel) SetMode

func (c_ ColorPanel) SetMode(value ColorPanelMode)

The mode of the receiver the mode is one of the modes allowed by the color mask. Full Topic

func (ColorPanel) SetShowsAlpha

func (c_ ColorPanel) SetShowsAlpha(value bool)

A Boolean value that indicates whether the receiver shows alpha values and an opacity slider. Full Topic

func (ColorPanel) SetTarget

func (c_ ColorPanel) SetTarget(target objc.IObject)

Sets the target of the receiver. Full Topic

func (ColorPanel) ShowsAlpha

func (c_ ColorPanel) ShowsAlpha() bool

A Boolean value that indicates whether the receiver shows alpha values and an opacity slider. Full Topic

type ColorPanelMode

type ColorPanelMode int

A type defined for the enum constants specifying color panel modes. Full Topic

const (
	CMYKModeColorPanel          ColorPanelMode = 2
	ColorListModeColorPanel     ColorPanelMode = 5
	ColorPanelModeCMYK          ColorPanelMode = 2
	ColorPanelModeColorList     ColorPanelMode = 5
	ColorPanelModeCrayon        ColorPanelMode = 7
	ColorPanelModeCustomPalette ColorPanelMode = 4
	ColorPanelModeGray          ColorPanelMode = 0
	ColorPanelModeHSB           ColorPanelMode = 3
	ColorPanelModeNone          ColorPanelMode = -1
	ColorPanelModeRGB           ColorPanelMode = 1
	ColorPanelModeWheel         ColorPanelMode = 6
	CrayonModeColorPanel        ColorPanelMode = 7
	CustomPaletteModeColorPanel ColorPanelMode = 4
	GrayModeColorPanel          ColorPanelMode = 0
	HSBModeColorPanel           ColorPanelMode = 3
	NoModeColorPanel            ColorPanelMode = -1
	RGBModeColorPanel           ColorPanelMode = 1
	WheelModeColorPanel         ColorPanelMode = 6
)

type ColorPanelOptions

type ColorPanelOptions uint

The color modes that are enabled for a color panel. Full Topic

const (
	ColorPanelAllModesMask          ColorPanelOptions = 65535
	ColorPanelCMYKModeMask          ColorPanelOptions = 4
	ColorPanelColorListModeMask     ColorPanelOptions = 32
	ColorPanelCrayonModeMask        ColorPanelOptions = 128
	ColorPanelCustomPaletteModeMask ColorPanelOptions = 16
	ColorPanelGrayModeMask          ColorPanelOptions = 1
	ColorPanelHSBModeMask           ColorPanelOptions = 8
	ColorPanelRGBModeMask           ColorPanelOptions = 2
	ColorPanelWheelModeMask         ColorPanelOptions = 64
)

type ColorPicker

type ColorPicker struct {
	objc.Object
}

An abstract superclass that implements the default color picking protocol. Full Topic

func ColorPickerFrom

func ColorPickerFrom(ptr unsafe.Pointer) ColorPicker

func ColorPicker_Alloc

func ColorPicker_Alloc() ColorPicker

func NewColorPicker

func NewColorPicker() ColorPicker

func NewColorPickerWithPickerMaskColorPanel

func NewColorPickerWithPickerMaskColorPanel(mask uint, owningColorPanel IColorPanel) ColorPicker

Initializes the color picker with the specified color panel and color picker mode mask. Full Topic

func (ColorPicker) AttachColorList

func (c_ ColorPicker) AttachColorList(colorList IColorList)

Overriden to attach a color list to a color picker. Full Topic

func (ColorPicker) ButtonToolTip

func (c_ ColorPicker) ButtonToolTip() string

The tool tip that is shown when the mouse cursor is over the color picker’s button image. Full Topic

func (ColorPicker) ColorPanel

func (c_ ColorPicker) ColorPanel() ColorPanel

The color panel instance that owns the color picker. Full Topic

func (ColorPicker) DetachColorList

func (c_ ColorPicker) DetachColorList(colorList IColorList)

Overriden to detach a color list from a color picker. Full Topic

func (ColorPicker) Init

func (c_ ColorPicker) Init() ColorPicker

func (ColorPicker) InitWithPickerMaskColorPanel

func (c_ ColorPicker) InitWithPickerMaskColorPanel(mask uint, owningColorPanel IColorPanel) ColorPicker

func (ColorPicker) InsertNewButtonImageIn

func (c_ ColorPicker) InsertNewButtonImageIn(newButtonImage IImage, buttonCell IButtonCell)

Sets the image used for the specified button cell. Full Topic

func (ColorPicker) MinContentSize

func (c_ ColorPicker) MinContentSize() foundation.Size

The minimum content size. Full Topic

func (ColorPicker) ProvideNewButtonImage

func (c_ ColorPicker) ProvideNewButtonImage() Image

The button image used by the color picker. Full Topic

func (ColorPicker) SetMode

func (c_ ColorPicker) SetMode(mode ColorPanelMode)

Overriden to set the color picker’s mode. Full Topic

func (ColorPicker) ViewSizeChanged

func (c_ ColorPicker) ViewSizeChanged(sender objc.IObject)

Overriden to respond to a size change. Full Topic

type ColorPickerTouchBarItem

type ColorPickerTouchBarItem struct {
	TouchBarItem
}

A bar item that provides a system-defined color picker. Full Topic

func ColorPickerTouchBarItemFrom

func ColorPickerTouchBarItemFrom(ptr unsafe.Pointer) ColorPickerTouchBarItem

func ColorPickerTouchBarItem_Alloc

func ColorPickerTouchBarItem_Alloc() ColorPickerTouchBarItem

func ColorPickerTouchBarItem_ColorPickerWithIdentifier

func ColorPickerTouchBarItem_ColorPickerWithIdentifier(identifier TouchBarItemIdentifier) ColorPickerTouchBarItem

Creates a bar item with the standard color picker icon. Full Topic

func ColorPickerTouchBarItem_StrokeColorPickerWithIdentifier

func ColorPickerTouchBarItem_StrokeColorPickerWithIdentifier(identifier TouchBarItemIdentifier) ColorPickerTouchBarItem

Creates a bar item with the standard stroke color picker icon. Full Topic

func ColorPickerTouchBarItem_TextColorPickerWithIdentifier

func ColorPickerTouchBarItem_TextColorPickerWithIdentifier(identifier TouchBarItemIdentifier) ColorPickerTouchBarItem

Creates a bar item with the standard text color picker icon. Full Topic

func NewColorPickerTouchBarItem

func NewColorPickerTouchBarItem() ColorPickerTouchBarItem

func NewColorPickerTouchBarItemWithIdentifier

func NewColorPickerTouchBarItemWithIdentifier(identifier TouchBarItemIdentifier) ColorPickerTouchBarItem

Creates a new item with the specified identifier. Full Topic

func (ColorPickerTouchBarItem) Action

The selector on the target object that is invoked when a user interacts with the color picker. Full Topic

func (ColorPickerTouchBarItem) AllowedColorSpaces

func (c_ ColorPickerTouchBarItem) AllowedColorSpaces() []ColorSpace

Controls the color spaces that the color picker can produce. Full Topic

func (ColorPickerTouchBarItem) Color

func (c_ ColorPickerTouchBarItem) Color() Color

The picker's currently selected color. Full Topic

func (ColorPickerTouchBarItem) ColorList

func (c_ ColorPickerTouchBarItem) ColorList() ColorList

The list of colors displayed in the color picker. Full Topic

func (ColorPickerTouchBarItem) Init

func (ColorPickerTouchBarItem) InitWithIdentifier

func (ColorPickerTouchBarItem) IsEnabled

func (c_ ColorPickerTouchBarItem) IsEnabled() bool

A Boolean value that determines whether the color picker is enabled. Full Topic

func (ColorPickerTouchBarItem) SetAction

func (c_ ColorPickerTouchBarItem) SetAction(value objc.Selector)

The selector on the target object that is invoked when a user interacts with the color picker. Full Topic

func (ColorPickerTouchBarItem) SetAllowedColorSpaces

func (c_ ColorPickerTouchBarItem) SetAllowedColorSpaces(value []IColorSpace)

Controls the color spaces that the color picker can produce. Full Topic

func (ColorPickerTouchBarItem) SetColor

func (c_ ColorPickerTouchBarItem) SetColor(value IColor)

The picker's currently selected color. Full Topic

func (ColorPickerTouchBarItem) SetColorList

func (c_ ColorPickerTouchBarItem) SetColorList(value IColorList)

The list of colors displayed in the color picker. Full Topic

func (ColorPickerTouchBarItem) SetCustomizationLabel

func (c_ ColorPickerTouchBarItem) SetCustomizationLabel(value string)

The user-visible string identifying this item during touch bar customization. Full Topic

func (ColorPickerTouchBarItem) SetEnabled

func (c_ ColorPickerTouchBarItem) SetEnabled(value bool)

A Boolean value that determines whether the color picker is enabled. Full Topic

func (ColorPickerTouchBarItem) SetShowsAlpha

func (c_ ColorPickerTouchBarItem) SetShowsAlpha(value bool)

A Boolean value that controls whether the color picker allows picking of colors with alpha values other than 1.0. Full Topic

func (ColorPickerTouchBarItem) SetTarget

func (c_ ColorPickerTouchBarItem) SetTarget(value objc.IObject)

An object that is notified when a user interacts with the color picker. Full Topic

func (ColorPickerTouchBarItem) ShowsAlpha

func (c_ ColorPickerTouchBarItem) ShowsAlpha() bool

A Boolean value that controls whether the color picker allows picking of colors with alpha values other than 1.0. Full Topic

func (ColorPickerTouchBarItem) Target

func (c_ ColorPickerTouchBarItem) Target() objc.Object

An object that is notified when a user interacts with the color picker. Full Topic

type ColorPickingCustomWrapper

type ColorPickingCustomWrapper struct {
	objc.Object
}

A concrete type wrapper for the PColorPickingCustom protocol.

func (ColorPickingCustomWrapper) CurrentMode

func (c_ ColorPickingCustomWrapper) CurrentMode() ColorPanelMode

Returns the receiver’s current mode (or submode, if applicable). Full Topic

func (ColorPickingCustomWrapper) HasCurrentMode

func (c_ ColorPickingCustomWrapper) HasCurrentMode() bool

func (ColorPickingCustomWrapper) HasProvideNewView

func (c_ ColorPickingCustomWrapper) HasProvideNewView() bool

func (ColorPickingCustomWrapper) HasSetColor

func (c_ ColorPickingCustomWrapper) HasSetColor() bool

func (ColorPickingCustomWrapper) HasSupportsMode

func (c_ ColorPickingCustomWrapper) HasSupportsMode() bool

func (ColorPickingCustomWrapper) ProvideNewView

func (c_ ColorPickingCustomWrapper) ProvideNewView(initialRequest bool) View

Returns the view containing the receiver’s user interface. Full Topic

func (ColorPickingCustomWrapper) SetColor

func (c_ ColorPickingCustomWrapper) SetColor(newColor IColor)

Adjusts the receiver to make the specified color the currently selected color. Full Topic

func (ColorPickingCustomWrapper) SupportsMode

func (c_ ColorPickingCustomWrapper) SupportsMode(mode ColorPanelMode) bool

Returns a Boolean value indicating whether or not the receiver supports the specified picking mode. Full Topic

type ColorPickingDefaultWrapper

type ColorPickingDefaultWrapper struct {
	objc.Object
}

A concrete type wrapper for the PColorPickingDefault protocol.

func (ColorPickingDefaultWrapper) AlphaControlAddedOrRemoved

func (c_ ColorPickingDefaultWrapper) AlphaControlAddedOrRemoved(sender objc.IObject)

Sent when the color panel's opacity controls have been hidden or displayed. Full Topic

func (ColorPickingDefaultWrapper) AttachColorList

func (c_ ColorPickingDefaultWrapper) AttachColorList(colorList IColorList)

Tells the receiver to attach the given color list, if it isn’t already displaying the list. Full Topic

func (ColorPickingDefaultWrapper) ButtonToolTip

func (c_ ColorPickingDefaultWrapper) ButtonToolTip() string

Provides the toolbar button help tag. Full Topic

func (ColorPickingDefaultWrapper) DetachColorList

func (c_ ColorPickingDefaultWrapper) DetachColorList(colorList IColorList)

Tells the receiver to detach the given color list, unless the receiver isn’t displaying the list. Full Topic

func (ColorPickingDefaultWrapper) HasAlphaControlAddedOrRemoved

func (c_ ColorPickingDefaultWrapper) HasAlphaControlAddedOrRemoved() bool

func (ColorPickingDefaultWrapper) HasAttachColorList

func (c_ ColorPickingDefaultWrapper) HasAttachColorList() bool

func (ColorPickingDefaultWrapper) HasButtonToolTip

func (c_ ColorPickingDefaultWrapper) HasButtonToolTip() bool

func (ColorPickingDefaultWrapper) HasDetachColorList

func (c_ ColorPickingDefaultWrapper) HasDetachColorList() bool

func (ColorPickingDefaultWrapper) HasInitWithPickerMaskColorPanel

func (c_ ColorPickingDefaultWrapper) HasInitWithPickerMaskColorPanel() bool

func (ColorPickingDefaultWrapper) HasInsertNewButtonImageIn

func (c_ ColorPickingDefaultWrapper) HasInsertNewButtonImageIn() bool

func (ColorPickingDefaultWrapper) HasMinContentSize

func (c_ ColorPickingDefaultWrapper) HasMinContentSize() bool

func (ColorPickingDefaultWrapper) HasProvideNewButtonImage

func (c_ ColorPickingDefaultWrapper) HasProvideNewButtonImage() bool

func (ColorPickingDefaultWrapper) HasSetMode

func (c_ ColorPickingDefaultWrapper) HasSetMode() bool

func (ColorPickingDefaultWrapper) HasViewSizeChanged

func (c_ ColorPickingDefaultWrapper) HasViewSizeChanged() bool

func (ColorPickingDefaultWrapper) InitWithPickerMaskColorPanel

func (c_ ColorPickingDefaultWrapper) InitWithPickerMaskColorPanel(mask uint, owningColorPanel IColorPanel) objc.Object

Initializes the receiver with a given color panel and its mode. Full Topic

func (ColorPickingDefaultWrapper) InsertNewButtonImageIn

func (c_ ColorPickingDefaultWrapper) InsertNewButtonImageIn(newButtonImage IImage, buttonCell IButtonCell)

Sets the image of a given button cell. Full Topic

func (ColorPickingDefaultWrapper) MinContentSize

func (c_ ColorPickingDefaultWrapper) MinContentSize() foundation.Size

Indicates the receiver’s minimum content size. Full Topic

func (ColorPickingDefaultWrapper) ProvideNewButtonImage

func (c_ ColorPickingDefaultWrapper) ProvideNewButtonImage() Image

Provides the image of the button used to select the receiver in the color panel. Full Topic

func (ColorPickingDefaultWrapper) SetMode

func (c_ ColorPickingDefaultWrapper) SetMode(mode ColorPanelMode)

Specifies the receiver’s mode. Full Topic

func (ColorPickingDefaultWrapper) ViewSizeChanged

func (c_ ColorPickingDefaultWrapper) ViewSizeChanged(sender objc.IObject)

Tells the recever when the color panel's view size changes in a way that might affect the color picker. Full Topic

type ColorRenderingIntent

type ColorRenderingIntent int

Constants that specify how Cocoa should handle colors that are not located within the destination color space of a graphics context. Full Topic

const (
	ColorRenderingIntentAbsoluteColorimetric ColorRenderingIntent = 1
	ColorRenderingIntentDefault              ColorRenderingIntent = 0
	ColorRenderingIntentPerceptual           ColorRenderingIntent = 3
	ColorRenderingIntentRelativeColorimetric ColorRenderingIntent = 2
	ColorRenderingIntentSaturation           ColorRenderingIntent = 4
)

type ColorSampler

type ColorSampler struct {
	objc.Object
}

An object that displays the system's color-sampling interface and returns the selected color to your app. Full Topic

func ColorSamplerFrom

func ColorSamplerFrom(ptr unsafe.Pointer) ColorSampler

func ColorSampler_Alloc

func ColorSampler_Alloc() ColorSampler

func NewColorSampler

func NewColorSampler() ColorSampler

func (ColorSampler) Init

func (c_ ColorSampler) Init() ColorSampler

func (ColorSampler) ShowSamplerWithSelectionHandler

func (c_ ColorSampler) ShowSamplerWithSelectionHandler(selectionHandler func(selectedColor Color))

Displays the system color-sampling interface asynchronously and reports the selected color back to your app. Full Topic

type ColorSpace

type ColorSpace struct {
	objc.Object
}

An object that represents a custom color space. Full Topic

func ColorSpaceFrom

func ColorSpaceFrom(ptr unsafe.Pointer) ColorSpace

func ColorSpace_AdobeRGB1998ColorSpace

func ColorSpace_AdobeRGB1998ColorSpace() ColorSpace

A color space object that represents an Adobe RGB (1998) color space. Full Topic

func ColorSpace_Alloc

func ColorSpace_Alloc() ColorSpace

func ColorSpace_AvailableColorSpacesWithModel

func ColorSpace_AvailableColorSpacesWithModel(model ColorSpaceModel) []ColorSpace

Returns the list of color spaces available on the system that are displayed in the color panel, in the order they are displayed in the color panel. Full Topic

func ColorSpace_DeviceCMYKColorSpace

func ColorSpace_DeviceCMYKColorSpace() ColorSpace

A color space object that represents a calibrated or device-dependent CMYK color space. Full Topic

func ColorSpace_DeviceGrayColorSpace

func ColorSpace_DeviceGrayColorSpace() ColorSpace

A color space object that represents a calibrated or device-dependent gray color space. Full Topic

func ColorSpace_DeviceRGBColorSpace

func ColorSpace_DeviceRGBColorSpace() ColorSpace

A color space object that represents a calibrated or device-dependent RGB color space. Full Topic

func ColorSpace_DisplayP3ColorSpace

func ColorSpace_DisplayP3ColorSpace() ColorSpace

A color space object that represents a P3 Display color space. Full Topic

func ColorSpace_ExtendedGenericGamma22GrayColorSpace

func ColorSpace_ExtendedGenericGamma22GrayColorSpace() ColorSpace

A color space object that represents an extended gray color space with a gamma value of 2.2. Full Topic

func ColorSpace_ExtendedSRGBColorSpace

func ColorSpace_ExtendedSRGBColorSpace() ColorSpace

A color space object that represents an extended sRGB color space. Full Topic

func ColorSpace_GenericCMYKColorSpace

func ColorSpace_GenericCMYKColorSpace() ColorSpace

A color space object that represents a device-independent CMYK color space. Full Topic

func ColorSpace_GenericGamma22GrayColorSpace

func ColorSpace_GenericGamma22GrayColorSpace() ColorSpace

A color space object that represents a gray color space with a gamma value of 2.2. Full Topic

func ColorSpace_GenericGrayColorSpace

func ColorSpace_GenericGrayColorSpace() ColorSpace

A color space object that represents a device-independent gray color space. Full Topic

func ColorSpace_GenericRGBColorSpace

func ColorSpace_GenericRGBColorSpace() ColorSpace

A color space object that represents a device-independent RGB color space. Full Topic

func ColorSpace_SRGBColorSpace

func ColorSpace_SRGBColorSpace() ColorSpace

A color space object that represents an sRGB color space. Full Topic

func NewColorSpace

func NewColorSpace() ColorSpace

func NewColorSpaceWithCGColorSpace

func NewColorSpaceWithCGColorSpace(cgColorSpace coregraphics.ColorSpaceRef) ColorSpace

Initializes and returns a color space object initialized from a Core Graphics color-space object. Full Topic

func NewColorSpaceWithColorSyncProfile

func NewColorSpaceWithColorSyncProfile(prof unsafe.Pointer) ColorSpace

Initializes and returns a color space object from the specified ColorSync profile. Full Topic

func NewColorSpaceWithICCProfileData

func NewColorSpaceWithICCProfileData(iccData []byte) ColorSpace

Initializes and returns a color space object from the specified ICC profile. Full Topic

func (ColorSpace) CGColorSpace

func (c_ ColorSpace) CGColorSpace() coregraphics.ColorSpaceRef

The Core Graphics color-space object that represents a color space equivalent to the color space’s. Full Topic

func (ColorSpace) ColorSpaceModel

func (c_ ColorSpace) ColorSpaceModel() ColorSpaceModel

The model on which the color space is based. Full Topic

func (ColorSpace) ColorSyncProfile

func (c_ ColorSpace) ColorSyncProfile() unsafe.Pointer

The ColorSync profile from which the color space was created. Full Topic

func (ColorSpace) ICCProfileData

func (c_ ColorSpace) ICCProfileData() []byte

The ICC profile data from which the color space was created. Full Topic

func (ColorSpace) Init

func (c_ ColorSpace) Init() ColorSpace

func (ColorSpace) InitWithCGColorSpace

func (c_ ColorSpace) InitWithCGColorSpace(cgColorSpace coregraphics.ColorSpaceRef) ColorSpace

func (ColorSpace) InitWithColorSyncProfile

func (c_ ColorSpace) InitWithColorSyncProfile(prof unsafe.Pointer) ColorSpace

func (ColorSpace) InitWithICCProfileData

func (c_ ColorSpace) InitWithICCProfileData(iccData []byte) ColorSpace

func (ColorSpace) LocalizedName

func (c_ ColorSpace) LocalizedName() string

The localized name of the color space. Full Topic

func (ColorSpace) NumberOfColorComponents

func (c_ ColorSpace) NumberOfColorComponents() int

The number of components, excluding alpha, the color space supports. Full Topic

type ColorSpaceModel

type ColorSpaceModel int

Constants that describe the abstract model on which color space objects are based. Full Topic

const (
	CMYKColorSpaceModel      ColorSpaceModel = 2
	ColorSpaceModelCMYK      ColorSpaceModel = 2
	ColorSpaceModelDeviceN   ColorSpaceModel = 4
	ColorSpaceModelGray      ColorSpaceModel = 0
	ColorSpaceModelIndexed   ColorSpaceModel = 5
	ColorSpaceModelLAB       ColorSpaceModel = 3
	ColorSpaceModelPatterned ColorSpaceModel = 6
	ColorSpaceModelRGB       ColorSpaceModel = 1
	ColorSpaceModelUnknown   ColorSpaceModel = -1
	DeviceNColorSpaceModel   ColorSpaceModel = 4
	GrayColorSpaceModel      ColorSpaceModel = 0
	IndexedColorSpaceModel   ColorSpaceModel = 5
	LABColorSpaceModel       ColorSpaceModel = 3
	PatternColorSpaceModel   ColorSpaceModel = 6
	RGBColorSpaceModel       ColorSpaceModel = 1
	UnknownColorSpaceModel   ColorSpaceModel = -1
)

type ColorSpaceName

type ColorSpaceName string

Constants that specify color space names. Full Topic

const (
	CalibratedBlackColorSpace ColorSpaceName = "NSCalibratedBlackColorSpace"
	CalibratedRGBColorSpace   ColorSpaceName = "NSCalibratedRGBColorSpace"
	CalibratedWhiteColorSpace ColorSpaceName = "NSCalibratedWhiteColorSpace"
	CustomColorSpace          ColorSpaceName = "NSCustomColorSpace"
	DeviceBlackColorSpace     ColorSpaceName = "NSDeviceBlackColorSpace"
	DeviceCMYKColorSpace      ColorSpaceName = "NSDeviceCMYKColorSpace"
	DeviceRGBColorSpace       ColorSpaceName = "NSDeviceRGBColorSpace"
	DeviceWhiteColorSpace     ColorSpaceName = "NSDeviceWhiteColorSpace"
	NamedColorSpace           ColorSpaceName = "NSNamedColorSpace"
	PatternColorSpace         ColorSpaceName = "NSPatternColorSpace"
)

type ColorSystemEffect

type ColorSystemEffect int

Constants for user interactions that change the appearance of a view or control. Full Topic

const (
	ColorSystemEffectDeepPressed ColorSystemEffect = 2
	ColorSystemEffectDisabled    ColorSystemEffect = 3
	ColorSystemEffectNone        ColorSystemEffect = 0
	ColorSystemEffectPressed     ColorSystemEffect = 1
	ColorSystemEffectRollover    ColorSystemEffect = 4
)

type ColorType

type ColorType int

Constants that indicate the color's type, and which methods may be called on the color object. Full Topic

const (
	ColorTypeCatalog        ColorType = 2
	ColorTypeComponentBased ColorType = 0
	ColorTypePattern        ColorType = 1
)

type ColorWell

type ColorWell struct {
	Control
}

A control that displays a color value and lets the user change that color value. Full Topic

func ColorWellFrom

func ColorWellFrom(ptr unsafe.Pointer) ColorWell

func ColorWell_Alloc

func ColorWell_Alloc() ColorWell

func NewColorWell

func NewColorWell() ColorWell

func NewColorWellWithFrame

func NewColorWellWithFrame(frameRect foundation.Rect) ColorWell

Initializes a control with the specified frame rectangle. Full Topic

func (ColorWell) Activate

func (c_ ColorWell) Activate(exclusive bool)

Activates the color well, displays the color panel, and synchronizes the two UI elements. Full Topic

func (ColorWell) Color

func (c_ ColorWell) Color() Color

The currently selected color for the color well. Full Topic

func (ColorWell) Deactivate

func (c_ ColorWell) Deactivate()

Deactivates the color well. Full Topic

func (ColorWell) DrawWellInside

func (c_ ColorWell) DrawWellInside(insideRect foundation.Rect)

Draws the area inside the color well at the specified location without drawing borders. Full Topic

func (ColorWell) Init

func (c_ ColorWell) Init() ColorWell

func (ColorWell) InitWithFrame

func (c_ ColorWell) InitWithFrame(frameRect foundation.Rect) ColorWell

func (ColorWell) IsActive

func (c_ ColorWell) IsActive() bool

A Boolean value that indicates whether the color well is currently active. Full Topic

func (ColorWell) SetColor

func (c_ ColorWell) SetColor(value IColor)

The currently selected color for the color well. Full Topic

func (ColorWell) TakeColorFrom

func (c_ ColorWell) TakeColorFrom(sender objc.IObject)

Changes the currently selected color to the color of the specified object. Full Topic

type ComboBox

type ComboBox struct {
	TextField
}

A view that displays a list of values in a pop-up menu where the user selects a value or types in a custom value. Full Topic

func ComboBoxFrom

func ComboBoxFrom(ptr unsafe.Pointer) ComboBox

func ComboBox_Alloc

func ComboBox_Alloc() ComboBox

func ComboBox_LabelWithAttributedString

func ComboBox_LabelWithAttributedString(attributedStringValue foundation.IAttributedString) ComboBox

Creates a text field for use as a static label that displays styled text, doesn’t wrap, and doesn’t have selectable text. Full Topic

func ComboBox_LabelWithString

func ComboBox_LabelWithString(stringValue string) ComboBox

Initializes a text field for use as a static label that uses the system default font, doesn’t wrap, and doesn’t have selectable text. Full Topic

func ComboBox_TextFieldWithString

func ComboBox_TextFieldWithString(stringValue string) ComboBox

Initializes a single-line editable text field for user input using the system default font and standard visual appearance. Full Topic

func ComboBox_WrappingLabelWithString

func ComboBox_WrappingLabelWithString(stringValue string) ComboBox

Initializes a text field for use as a multiline static label with selectable text that uses the system default font. Full Topic

func NewComboBox

func NewComboBox() ComboBox

func NewComboBoxWithFrame

func NewComboBoxWithFrame(frameRect foundation.Rect) ComboBox

Initializes a control with the specified frame rectangle. Full Topic

func (ComboBox) AddItemWithObjectValue

func (c_ ComboBox) AddItemWithObjectValue(object objc.IObject)

Adds an object to the end of the receiver’s internal item list. Full Topic

func (ComboBox) AddItemsWithObjectValues

func (c_ ComboBox) AddItemsWithObjectValues(objects []objc.IObject)

Adds multiple objects to the end of the receiver’s internal item list. Full Topic

func (ComboBox) Completes

func (c_ ComboBox) Completes() bool

A Boolean value indicating whether the combo box tries to complete what the user types. Full Topic

func (ComboBox) DataSource

func (c_ ComboBox) DataSource() ComboBoxDataSourceWrapper

The object that provides the item data for the combo box. Full Topic

func (ComboBox) DeselectItemAtIndex

func (c_ ComboBox) DeselectItemAtIndex(index int)

Deselects the pop-up list item at the specified index if it’s selected. Full Topic

func (ComboBox) HasVerticalScroller

func (c_ ComboBox) HasVerticalScroller() bool

A Boolean value indicating whether the combo box has a vertical scroller. Full Topic

func (ComboBox) IndexOfItemWithObjectValue

func (c_ ComboBox) IndexOfItemWithObjectValue(object objc.IObject) int

Searches the receiver’s internal item list for the specified object and returns the lowest matching index. Full Topic

func (ComboBox) IndexOfSelectedItem

func (c_ ComboBox) IndexOfSelectedItem() int

The index of the last item selected from the pop-up list. Full Topic

func (ComboBox) Init

func (c_ ComboBox) Init() ComboBox

func (ComboBox) InitWithFrame

func (c_ ComboBox) InitWithFrame(frameRect foundation.Rect) ComboBox

func (ComboBox) InsertItemWithObjectValueAtIndex

func (c_ ComboBox) InsertItemWithObjectValueAtIndex(object objc.IObject, index int)

Inserts an object at the specified location in the receiver’s internal item list. Full Topic

func (ComboBox) IntercellSpacing

func (c_ ComboBox) IntercellSpacing() foundation.Size

The horizontal and vertical spacing between cells in the pop-up list. Full Topic

func (ComboBox) IsButtonBordered

func (c_ ComboBox) IsButtonBordered() bool

A Boolean value indicating whether the combo box displays a border. Full Topic

func (ComboBox) ItemHeight

func (c_ ComboBox) ItemHeight() float64

The height of each item in the pop-up list. Full Topic

func (ComboBox) ItemObjectValueAtIndex

func (c_ ComboBox) ItemObjectValueAtIndex(index int) objc.Object

Returns the object located at the given index within the receiver’s internal item list. Full Topic

func (ComboBox) NoteNumberOfItemsChanged

func (c_ ComboBox) NoteNumberOfItemsChanged()

Informs the receiver that the number of items in its data source has changed. Full Topic

func (ComboBox) NumberOfItems

func (c_ ComboBox) NumberOfItems() int

The total number of items in the pop-up list. Full Topic

func (ComboBox) NumberOfVisibleItems

func (c_ ComboBox) NumberOfVisibleItems() int

The maximum number of visible items to display in the pop-up list at one time. Full Topic

func (ComboBox) ObjectValueOfSelectedItem

func (c_ ComboBox) ObjectValueOfSelectedItem() objc.Object

The object corresponding to the last item selected from the pop-up list. Full Topic

func (ComboBox) ObjectValues

func (c_ ComboBox) ObjectValues() []objc.Object

An array of the items from the combo box’s internal list. Full Topic

func (ComboBox) ReloadData

func (c_ ComboBox) ReloadData()

Marks the receiver as needing redisplay, so that it will reload the data for visible pop-up items and draw the new values. Full Topic

func (ComboBox) RemoveAllItems

func (c_ ComboBox) RemoveAllItems()

Removes all items from the receiver’s internal item list. Full Topic

func (ComboBox) RemoveItemAtIndex

func (c_ ComboBox) RemoveItemAtIndex(index int)

Removes the object at the specified location from the receiver’s internal item list. Full Topic

func (ComboBox) RemoveItemWithObjectValue

func (c_ ComboBox) RemoveItemWithObjectValue(object objc.IObject)

Removes all occurrences of the given object from the receiver’s internal item list. Full Topic

func (ComboBox) ScrollItemAtIndexToTop

func (c_ ComboBox) ScrollItemAtIndexToTop(index int)

Scrolls the receiver’s pop-up list vertically so that the item at the specified index is as close to the top as possible. Full Topic

func (ComboBox) ScrollItemAtIndexToVisible

func (c_ ComboBox) ScrollItemAtIndexToVisible(index int)

Scrolls the receiver’s pop-up list vertically so that the item at the specified index is visible. Full Topic

func (ComboBox) SelectItemAtIndex

func (c_ ComboBox) SelectItemAtIndex(index int)

Selects the pop-up list row at the given index. Full Topic

func (ComboBox) SelectItemWithObjectValue

func (c_ ComboBox) SelectItemWithObjectValue(object objc.IObject)

Selects the first pop-up list item that corresponds to the given object. Full Topic

func (ComboBox) SetButtonBordered

func (c_ ComboBox) SetButtonBordered(value bool)

A Boolean value indicating whether the combo box displays a border. Full Topic

func (ComboBox) SetCompletes

func (c_ ComboBox) SetCompletes(value bool)

A Boolean value indicating whether the combo box tries to complete what the user types. Full Topic

func (ComboBox) SetDataSource

func (c_ ComboBox) SetDataSource(value PComboBoxDataSource)

The object that provides the item data for the combo box. Full Topic

func (ComboBox) SetDataSourceObject

func (c_ ComboBox) SetDataSourceObject(valueObject objc.IObject)

The object that provides the item data for the combo box. Full Topic

func (ComboBox) SetHasVerticalScroller

func (c_ ComboBox) SetHasVerticalScroller(value bool)

A Boolean value indicating whether the combo box has a vertical scroller. Full Topic

func (ComboBox) SetIntercellSpacing

func (c_ ComboBox) SetIntercellSpacing(value foundation.Size)

The horizontal and vertical spacing between cells in the pop-up list. Full Topic

func (ComboBox) SetItemHeight

func (c_ ComboBox) SetItemHeight(value float64)

The height of each item in the pop-up list. Full Topic

func (ComboBox) SetNumberOfVisibleItems

func (c_ ComboBox) SetNumberOfVisibleItems(value int)

The maximum number of visible items to display in the pop-up list at one time. Full Topic

func (ComboBox) SetUsesDataSource

func (c_ ComboBox) SetUsesDataSource(value bool)

A Boolean value indicating whether the combo box retrieves its items from a data source object. Full Topic

func (ComboBox) UsesDataSource

func (c_ ComboBox) UsesDataSource() bool

A Boolean value indicating whether the combo box retrieves its items from a data source object. Full Topic

type ComboBoxCell

type ComboBoxCell struct {
	TextFieldCell
}

The user interface of a combo box. Full Topic

func ComboBoxCellFrom

func ComboBoxCellFrom(ptr unsafe.Pointer) ComboBoxCell

func ComboBoxCell_Alloc

func ComboBoxCell_Alloc() ComboBoxCell

func NewComboBoxCell

func NewComboBoxCell() ComboBoxCell

func NewComboBoxCellImageCell

func NewComboBoxCellImageCell(image IImage) ComboBoxCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewComboBoxCellTextCell

func NewComboBoxCellTextCell(string_ string) ComboBoxCell

Initializes a text field cell that displays the specified string. Full Topic

func (ComboBoxCell) AddItemWithObjectValue

func (c_ ComboBoxCell) AddItemWithObjectValue(object objc.IObject)

Adds the specified object to the internal item list. Full Topic

func (ComboBoxCell) AddItemsWithObjectValues

func (c_ ComboBoxCell) AddItemsWithObjectValues(objects []objc.IObject)

Adds multiple objects to the internal item list. Full Topic

func (ComboBoxCell) CompletedString

func (c_ ComboBoxCell) CompletedString(string_ string) string

Returns a string from the combo box’s pop-up list that starts with the given substring. Full Topic

func (ComboBoxCell) Completes

func (c_ ComboBoxCell) Completes() bool

A Boolean value that indicates if the combo box tries to complete text entered by the user. Full Topic

func (ComboBoxCell) DataSource

The object that provides the data displayed in the combo box’s pop-up list. Full Topic

func (ComboBoxCell) DeselectItemAtIndex

func (c_ ComboBoxCell) DeselectItemAtIndex(index int)

Deselects the pop-up list item at the given index if it’s selected. Full Topic

func (ComboBoxCell) HasVerticalScroller

func (c_ ComboBoxCell) HasVerticalScroller() bool

A Boolean value that indicates if the combo box displays a vertical scroller. Full Topic

func (ComboBoxCell) IndexOfItemWithObjectValue

func (c_ ComboBoxCell) IndexOfItemWithObjectValue(object objc.IObject) int

Searches the combo box’s internal item list for the given object and returns the matching index number. Full Topic

func (ComboBoxCell) IndexOfSelectedItem

func (c_ ComboBoxCell) IndexOfSelectedItem() int

The index of the last item selected from the pop-up list. Full Topic

func (ComboBoxCell) Init

func (c_ ComboBoxCell) Init() ComboBoxCell

func (ComboBoxCell) InitImageCell

func (c_ ComboBoxCell) InitImageCell(image IImage) ComboBoxCell

func (ComboBoxCell) InitTextCell

func (c_ ComboBoxCell) InitTextCell(string_ string) ComboBoxCell

func (ComboBoxCell) InsertItemWithObjectValueAtIndex

func (c_ ComboBoxCell) InsertItemWithObjectValueAtIndex(object objc.IObject, index int)

Inserts an object at the specified location in the internal item list. Full Topic

func (ComboBoxCell) IntercellSpacing

func (c_ ComboBoxCell) IntercellSpacing() foundation.Size

The spacing between cells in the combo box’s pop-up list. Full Topic

func (ComboBoxCell) IsButtonBordered

func (c_ ComboBoxCell) IsButtonBordered() bool

A Boolean value that indicates whether the combo box button displays a border. Full Topic

func (ComboBoxCell) ItemHeight

func (c_ ComboBoxCell) ItemHeight() float64

The height of each item in the combo box’s pop-up list. Full Topic

func (ComboBoxCell) ItemObjectValueAtIndex

func (c_ ComboBoxCell) ItemObjectValueAtIndex(index int) objc.Object

Returns the object located at the specified location in the internal item list. Full Topic

func (ComboBoxCell) NoteNumberOfItemsChanged

func (c_ ComboBoxCell) NoteNumberOfItemsChanged()

Informs the combo box that the number of items in its data source has changed. Full Topic

func (ComboBoxCell) NumberOfItems

func (c_ ComboBoxCell) NumberOfItems() int

The total number of items in the pop-up list. Full Topic

func (ComboBoxCell) NumberOfVisibleItems

func (c_ ComboBoxCell) NumberOfVisibleItems() int

The maximum number of items visible in the pop-up list at any one time. Full Topic

func (ComboBoxCell) ObjectValueOfSelectedItem

func (c_ ComboBoxCell) ObjectValueOfSelectedItem() objc.Object

The object corresponding to the last item selected from the pop-up list. Full Topic

func (ComboBoxCell) ObjectValues

func (c_ ComboBoxCell) ObjectValues() []objc.Object

The combo box’s internal item list in an array. Full Topic

func (ComboBoxCell) ReloadData

func (c_ ComboBoxCell) ReloadData()

Marks the combo box as needing redisplay, so that it will reload the data for visible pop-up items and draw the new values. Full Topic

func (ComboBoxCell) RemoveAllItems

func (c_ ComboBoxCell) RemoveAllItems()

Removes all items from the combo box’s internal item list. Full Topic

func (ComboBoxCell) RemoveItemAtIndex

func (c_ ComboBoxCell) RemoveItemAtIndex(index int)

Removes the object at the specified location from the combo box’s internal item list. Full Topic

func (ComboBoxCell) RemoveItemWithObjectValue

func (c_ ComboBoxCell) RemoveItemWithObjectValue(object objc.IObject)

Removes all occurrences of the specified object from the combo box’s internal item list. Full Topic

func (ComboBoxCell) ScrollItemAtIndexToTop

func (c_ ComboBoxCell) ScrollItemAtIndexToTop(index int)

Scrolls the combo box’s pop-up list vertically so that the item at the given index is as close to the top as possible. Full Topic

func (ComboBoxCell) ScrollItemAtIndexToVisible

func (c_ ComboBoxCell) ScrollItemAtIndexToVisible(index int)

Scrolls the combo box’s pop-up list vertically so that the item at the given index is visible. Full Topic

func (ComboBoxCell) SelectItemAtIndex

func (c_ ComboBoxCell) SelectItemAtIndex(index int)

Selects the pop-up list row at the given index. Full Topic

func (ComboBoxCell) SelectItemWithObjectValue

func (c_ ComboBoxCell) SelectItemWithObjectValue(object objc.IObject)

Selects the first pop-up list item that corresponds to the specified object. Full Topic

func (ComboBoxCell) SetButtonBordered

func (c_ ComboBoxCell) SetButtonBordered(value bool)

A Boolean value that indicates whether the combo box button displays a border. Full Topic

func (ComboBoxCell) SetCompletes

func (c_ ComboBoxCell) SetCompletes(value bool)

A Boolean value that indicates if the combo box tries to complete text entered by the user. Full Topic

func (ComboBoxCell) SetDataSource

func (c_ ComboBoxCell) SetDataSource(value PComboBoxCellDataSource)

The object that provides the data displayed in the combo box’s pop-up list. Full Topic

func (ComboBoxCell) SetDataSourceObject

func (c_ ComboBoxCell) SetDataSourceObject(valueObject objc.IObject)

The object that provides the data displayed in the combo box’s pop-up list. Full Topic

func (ComboBoxCell) SetHasVerticalScroller

func (c_ ComboBoxCell) SetHasVerticalScroller(value bool)

A Boolean value that indicates if the combo box displays a vertical scroller. Full Topic

func (ComboBoxCell) SetIntercellSpacing

func (c_ ComboBoxCell) SetIntercellSpacing(value foundation.Size)

The spacing between cells in the combo box’s pop-up list. Full Topic

func (ComboBoxCell) SetItemHeight

func (c_ ComboBoxCell) SetItemHeight(value float64)

The height of each item in the combo box’s pop-up list. Full Topic

func (ComboBoxCell) SetNumberOfVisibleItems

func (c_ ComboBoxCell) SetNumberOfVisibleItems(value int)

The maximum number of items visible in the pop-up list at any one time. Full Topic

func (ComboBoxCell) SetUsesDataSource

func (c_ ComboBoxCell) SetUsesDataSource(value bool)

A Boolean value that indicates if the combo box uses an external data source to populate its pop-up list. Full Topic

func (ComboBoxCell) UsesDataSource

func (c_ ComboBoxCell) UsesDataSource() bool

A Boolean value that indicates if the combo box uses an external data source to populate its pop-up list. Full Topic

type ComboBoxCellDataSourceWrapper

type ComboBoxCellDataSourceWrapper struct {
	objc.Object
}

A concrete type wrapper for the PComboBoxCellDataSource protocol.

func (ComboBoxCellDataSourceWrapper) ComboBoxCellObjectValueForItemAtIndex

func (c_ ComboBoxCellDataSourceWrapper) ComboBoxCellObjectValueForItemAtIndex(comboBoxCell IComboBoxCell, index int) objc.Object

Returns the object that corresponds to the item at the given index in the combo box cell. Full Topic

func (ComboBoxCellDataSourceWrapper) HasComboBoxCellObjectValueForItemAtIndex

func (c_ ComboBoxCellDataSourceWrapper) HasComboBoxCellObjectValueForItemAtIndex() bool

func (ComboBoxCellDataSourceWrapper) HasNumberOfItemsInComboBoxCell

func (c_ ComboBoxCellDataSourceWrapper) HasNumberOfItemsInComboBoxCell() bool

func (ComboBoxCellDataSourceWrapper) NumberOfItemsInComboBoxCell

func (c_ ComboBoxCellDataSourceWrapper) NumberOfItemsInComboBoxCell(comboBoxCell IComboBoxCell) int

Returns the number of items managed for the combo box cell by your data source object. Full Topic

type ComboBoxDataSourceWrapper

type ComboBoxDataSourceWrapper struct {
	objc.Object
}

A concrete type wrapper for the PComboBoxDataSource protocol.

func (ComboBoxDataSourceWrapper) ComboBoxObjectValueForItemAtIndex

func (c_ ComboBoxDataSourceWrapper) ComboBoxObjectValueForItemAtIndex(comboBox IComboBox, index int) objc.Object

Returns the object that corresponds to the item at the specified index in the combo box. Full Topic

func (ComboBoxDataSourceWrapper) HasComboBoxObjectValueForItemAtIndex

func (c_ ComboBoxDataSourceWrapper) HasComboBoxObjectValueForItemAtIndex() bool

func (ComboBoxDataSourceWrapper) HasNumberOfItemsInComboBox

func (c_ ComboBoxDataSourceWrapper) HasNumberOfItemsInComboBox() bool

func (ComboBoxDataSourceWrapper) NumberOfItemsInComboBox

func (c_ ComboBoxDataSourceWrapper) NumberOfItemsInComboBox(comboBox IComboBox) int

Returns the number of items that the data source manages for the combo box. Full Topic

type ComboBoxDelegate

type ComboBoxDelegate struct {
	TextFieldDelegate
	// contains filtered or unexported fields
}

A delegate implementation builder for the PComboBoxDelegate protocol.

func (*ComboBoxDelegate) ComboBoxSelectionDidChange

func (di *ComboBoxDelegate) ComboBoxSelectionDidChange(notification foundation.Notification)

Informs the delegate that the pop-up list selection has finished changing. Full Topic

func (*ComboBoxDelegate) ComboBoxSelectionIsChanging

func (di *ComboBoxDelegate) ComboBoxSelectionIsChanging(notification foundation.Notification)

Informs the delegate that the pop-up list selection is changing. Full Topic

func (*ComboBoxDelegate) ComboBoxWillDismiss

func (di *ComboBoxDelegate) ComboBoxWillDismiss(notification foundation.Notification)

Informs the delegate that the pop-up list is about to be dismissed. Full Topic

func (*ComboBoxDelegate) ComboBoxWillPopUp

func (di *ComboBoxDelegate) ComboBoxWillPopUp(notification foundation.Notification)

Informs the delegate that the pop-up list is about to be displayed. Full Topic

func (*ComboBoxDelegate) HasComboBoxSelectionDidChange

func (di *ComboBoxDelegate) HasComboBoxSelectionDidChange() bool

func (*ComboBoxDelegate) HasComboBoxSelectionIsChanging

func (di *ComboBoxDelegate) HasComboBoxSelectionIsChanging() bool

func (*ComboBoxDelegate) HasComboBoxWillDismiss

func (di *ComboBoxDelegate) HasComboBoxWillDismiss() bool

func (*ComboBoxDelegate) HasComboBoxWillPopUp

func (di *ComboBoxDelegate) HasComboBoxWillPopUp() bool

func (*ComboBoxDelegate) SetComboBoxSelectionDidChange

func (di *ComboBoxDelegate) SetComboBoxSelectionDidChange(f func(notification foundation.Notification))

Informs the delegate that the pop-up list selection has finished changing. Full Topic

func (*ComboBoxDelegate) SetComboBoxSelectionIsChanging

func (di *ComboBoxDelegate) SetComboBoxSelectionIsChanging(f func(notification foundation.Notification))

Informs the delegate that the pop-up list selection is changing. Full Topic

func (*ComboBoxDelegate) SetComboBoxWillDismiss

func (di *ComboBoxDelegate) SetComboBoxWillDismiss(f func(notification foundation.Notification))

Informs the delegate that the pop-up list is about to be dismissed. Full Topic

func (*ComboBoxDelegate) SetComboBoxWillPopUp

func (di *ComboBoxDelegate) SetComboBoxWillPopUp(f func(notification foundation.Notification))

Informs the delegate that the pop-up list is about to be displayed. Full Topic

type ComboBoxDelegateWrapper

type ComboBoxDelegateWrapper struct {
	TextFieldDelegateWrapper
}

A concrete type wrapper for the PComboBoxDelegate protocol.

func (ComboBoxDelegateWrapper) ComboBoxSelectionDidChange

func (c_ ComboBoxDelegateWrapper) ComboBoxSelectionDidChange(notification foundation.INotification)

Informs the delegate that the pop-up list selection has finished changing. Full Topic

func (ComboBoxDelegateWrapper) ComboBoxSelectionIsChanging

func (c_ ComboBoxDelegateWrapper) ComboBoxSelectionIsChanging(notification foundation.INotification)

Informs the delegate that the pop-up list selection is changing. Full Topic

func (ComboBoxDelegateWrapper) ComboBoxWillDismiss

func (c_ ComboBoxDelegateWrapper) ComboBoxWillDismiss(notification foundation.INotification)

Informs the delegate that the pop-up list is about to be dismissed. Full Topic

func (ComboBoxDelegateWrapper) ComboBoxWillPopUp

func (c_ ComboBoxDelegateWrapper) ComboBoxWillPopUp(notification foundation.INotification)

Informs the delegate that the pop-up list is about to be displayed. Full Topic

func (ComboBoxDelegateWrapper) HasComboBoxSelectionDidChange

func (c_ ComboBoxDelegateWrapper) HasComboBoxSelectionDidChange() bool

func (ComboBoxDelegateWrapper) HasComboBoxSelectionIsChanging

func (c_ ComboBoxDelegateWrapper) HasComboBoxSelectionIsChanging() bool

func (ComboBoxDelegateWrapper) HasComboBoxWillDismiss

func (c_ ComboBoxDelegateWrapper) HasComboBoxWillDismiss() bool

func (ComboBoxDelegateWrapper) HasComboBoxWillPopUp

func (c_ ComboBoxDelegateWrapper) HasComboBoxWillPopUp() bool

type CompositingOperation

type CompositingOperation uint

Constants that describe compositing operators in terms of source and destination images, each having an opaque and transparent region. Full Topic

const (
	CompositeClear                      CompositingOperation = 0
	CompositeColor                      CompositingOperation = 27
	CompositeColorBurn                  CompositingOperation = 20
	CompositeColorDodge                 CompositingOperation = 19
	CompositeCopy                       CompositingOperation = 1
	CompositeDarken                     CompositingOperation = 17
	CompositeDestinationAtop            CompositingOperation = 9
	CompositeDestinationIn              CompositingOperation = 7
	CompositeDestinationOut             CompositingOperation = 8
	CompositeDestinationOver            CompositingOperation = 6
	CompositeDifference                 CompositingOperation = 23
	CompositeExclusion                  CompositingOperation = 24
	CompositeHardLight                  CompositingOperation = 22
	CompositeHighlight                  CompositingOperation = 12
	CompositeHue                        CompositingOperation = 25
	CompositeLighten                    CompositingOperation = 18
	CompositeLuminosity                 CompositingOperation = 28
	CompositeMultiply                   CompositingOperation = 14
	CompositeOverlay                    CompositingOperation = 16
	CompositePlusDarker                 CompositingOperation = 11
	CompositePlusLighter                CompositingOperation = 13
	CompositeSaturation                 CompositingOperation = 26
	CompositeScreen                     CompositingOperation = 15
	CompositeSoftLight                  CompositingOperation = 21
	CompositeSourceAtop                 CompositingOperation = 5
	CompositeSourceIn                   CompositingOperation = 3
	CompositeSourceOut                  CompositingOperation = 4
	CompositeSourceOver                 CompositingOperation = 2
	CompositeXOR                        CompositingOperation = 10
	CompositingOperationClear           CompositingOperation = 0
	CompositingOperationColor           CompositingOperation = 27
	CompositingOperationColorBurn       CompositingOperation = 20
	CompositingOperationColorDodge      CompositingOperation = 19
	CompositingOperationCopy            CompositingOperation = 1
	CompositingOperationDarken          CompositingOperation = 17
	CompositingOperationDestinationAtop CompositingOperation = 9
	CompositingOperationDestinationIn   CompositingOperation = 7
	CompositingOperationDestinationOut  CompositingOperation = 8
	CompositingOperationDestinationOver CompositingOperation = 6
	CompositingOperationDifference      CompositingOperation = 23
	CompositingOperationExclusion       CompositingOperation = 24
	CompositingOperationHardLight       CompositingOperation = 22
	CompositingOperationHighlight       CompositingOperation = 12
	CompositingOperationHue             CompositingOperation = 25
	CompositingOperationLighten         CompositingOperation = 18
	CompositingOperationLuminosity      CompositingOperation = 28
	CompositingOperationMultiply        CompositingOperation = 14
	CompositingOperationOverlay         CompositingOperation = 16
	CompositingOperationPlusDarker      CompositingOperation = 11
	CompositingOperationPlusLighter     CompositingOperation = 13
	CompositingOperationSaturation      CompositingOperation = 26
	CompositingOperationScreen          CompositingOperation = 15
	CompositingOperationSoftLight       CompositingOperation = 21
	CompositingOperationSourceAtop      CompositingOperation = 5
	CompositingOperationSourceIn        CompositingOperation = 3
	CompositingOperationSourceOut       CompositingOperation = 4
	CompositingOperationSourceOver      CompositingOperation = 2
	CompositingOperationXOR             CompositingOperation = 10
)

type Control

type Control struct {
	View
}

A specialized view, such as a button or text field, that notifies your app of relevant events using the target-action design pattern. Full Topic

func ControlFrom

func ControlFrom(ptr unsafe.Pointer) Control

func Control_Alloc

func Control_Alloc() Control

func NewControl

func NewControl() Control

func NewControlWithFrame

func NewControlWithFrame(frameRect foundation.Rect) Control

Initializes a control with the specified frame rectangle. Full Topic

func (Control) AbortEditing

func (c_ Control) AbortEditing() bool

Terminates the current editing operation and discards any edited text. Full Topic

func (Control) Action

func (c_ Control) Action() objc.Selector

The default action-message selector associated with the control. Full Topic

func (Control) Alignment

func (c_ Control) Alignment() TextAlignment

The alignment mode of the text in the receiver’s cell. Full Topic

func (Control) AllowsExpansionToolTips

func (c_ Control) AllowsExpansionToolTips() bool

A Boolean value that indicates whether expansion tool tips are shown when the control is hovered over. Full Topic

func (Control) AttributedStringValue

func (c_ Control) AttributedStringValue() foundation.AttributedString

The value of the receiver’s cell as an attributed string. Full Topic

func (Control) BaseWritingDirection

func (c_ Control) BaseWritingDirection() WritingDirection

The initial writing direction used to determine the actual writing direction for text. Full Topic

func (Control) ControlSize

func (c_ Control) ControlSize() ControlSize

The size of the control. Full Topic

func (Control) CurrentEditor

func (c_ Control) CurrentEditor() Text

Returns the current field editor for the control. Full Topic

func (Control) DoubleValue

func (c_ Control) DoubleValue() float64

The value of the receiver’s cell as a double-precision floating-point number. Full Topic

func (Control) DrawWithExpansionFrameInView

func (c_ Control) DrawWithExpansionFrameInView(contentFrame foundation.Rect, view IView)

Performs custom expansion tool tip drawing. Full Topic

func (Control) EditWithFrameEditorDelegateEvent

func (c_ Control) EditWithFrameEditorDelegateEvent(rect foundation.Rect, textObj IText, delegate objc.IObject, event IEvent)

Begins editing of the receiver’s text using the specified field editor. Full Topic

func (Control) EndEditing

func (c_ Control) EndEditing(textObj IText)

Ends the editing of text in the receiver using the specified field editor. Full Topic

func (Control) ExpansionFrameWithFrame

func (c_ Control) ExpansionFrameWithFrame(contentFrame foundation.Rect) foundation.Rect

The frame in which a tool tip can be displayed, if needed. Full Topic

func (Control) FloatValue

func (c_ Control) FloatValue() float64

The value of the receiver’s cell as a single-precision floating-point number. Full Topic

func (Control) Font

func (c_ Control) Font() Font

The font used to draw text in the receiver’s cell. Full Topic

func (Control) Formatter

func (c_ Control) Formatter() foundation.Formatter

The receiver’s formatter. Full Topic

func (Control) IgnoresMultiClick

func (c_ Control) IgnoresMultiClick() bool

A Boolean value indicating whether the receiver ignores multiple clicks made in rapid succession. Full Topic

func (Control) Init

func (c_ Control) Init() Control

func (Control) InitWithFrame

func (c_ Control) InitWithFrame(frameRect foundation.Rect) Control

func (Control) IntValue

func (c_ Control) IntValue() int

The value of the receiver’s cell as an integer. Full Topic

func (Control) IntegerValue

func (c_ Control) IntegerValue() int

The value of the receiver’s cell as an NSInteger value. Full Topic

func (Control) InvalidateIntrinsicContentSizeForCell

func (c_ Control) InvalidateIntrinsicContentSizeForCell(cell ICell)

Notifies the control that the intrinsic content size for its cell is no longer valid. Full Topic

func (Control) IsContinuous

func (c_ Control) IsContinuous() bool

A Boolean value indicating whether the receiver’s cell sends its action message continuously to its target during mouse tracking. Full Topic

func (Control) IsEnabled

func (c_ Control) IsEnabled() bool

A Boolean value that indicates whether the receiver reacts to mouse events. Full Topic

func (Control) IsHighlighted

func (c_ Control) IsHighlighted() bool

A Boolean value that indicates whether the cell is highlighted. Full Topic

func (Control) ObjectValue

func (c_ Control) ObjectValue() objc.Object

The value of the receiver’s cell as an Objective-C object. Full Topic

func (Control) PerformClick

func (c_ Control) PerformClick(sender objc.IObject)

Simulates a single mouse click on the receiver. Full Topic

func (Control) RefusesFirstResponder

func (c_ Control) RefusesFirstResponder() bool

A Boolean value indicating whether the receiver refuses the first responder role. Full Topic

func (Control) SelectWithFrameEditorDelegateStartLength

func (c_ Control) SelectWithFrameEditorDelegateStartLength(rect foundation.Rect, textObj IText, delegate objc.IObject, selStart int, selLength int)

Selects the specified text range in the receiver's field editor. Full Topic

func (Control) SendActionOn

func (c_ Control) SendActionOn(mask EventMask) int

Sets the conditions on which the receiver sends action messages to its target. Full Topic

func (Control) SendActionTo

func (c_ Control) SendActionTo(action objc.Selector, target objc.IObject) bool

Causes the specified action to be sent to the target. Full Topic

func (Control) SetAction

func (c_ Control) SetAction(value objc.Selector)

The default action-message selector associated with the control. Full Topic

func (Control) SetAlignment

func (c_ Control) SetAlignment(value TextAlignment)

The alignment mode of the text in the receiver’s cell. Full Topic

func (Control) SetAllowsExpansionToolTips

func (c_ Control) SetAllowsExpansionToolTips(value bool)

A Boolean value that indicates whether expansion tool tips are shown when the control is hovered over. Full Topic

func (Control) SetAttributedStringValue

func (c_ Control) SetAttributedStringValue(value foundation.IAttributedString)

The value of the receiver’s cell as an attributed string. Full Topic

func (Control) SetBaseWritingDirection

func (c_ Control) SetBaseWritingDirection(value WritingDirection)

The initial writing direction used to determine the actual writing direction for text. Full Topic

func (Control) SetContinuous

func (c_ Control) SetContinuous(value bool)

A Boolean value indicating whether the receiver’s cell sends its action message continuously to its target during mouse tracking. Full Topic

func (Control) SetControlSize

func (c_ Control) SetControlSize(value ControlSize)

The size of the control. Full Topic

func (Control) SetDoubleValue

func (c_ Control) SetDoubleValue(value float64)

The value of the receiver’s cell as a double-precision floating-point number. Full Topic

func (Control) SetEnabled

func (c_ Control) SetEnabled(value bool)

A Boolean value that indicates whether the receiver reacts to mouse events. Full Topic

func (Control) SetFloatValue

func (c_ Control) SetFloatValue(value float64)

The value of the receiver’s cell as a single-precision floating-point number. Full Topic

func (Control) SetFont

func (c_ Control) SetFont(value IFont)

The font used to draw text in the receiver’s cell. Full Topic

func (Control) SetFormatter

func (c_ Control) SetFormatter(value foundation.IFormatter)

The receiver’s formatter. Full Topic

func (Control) SetHighlighted

func (c_ Control) SetHighlighted(value bool)

A Boolean value that indicates whether the cell is highlighted. Full Topic

func (Control) SetIgnoresMultiClick

func (c_ Control) SetIgnoresMultiClick(value bool)

A Boolean value indicating whether the receiver ignores multiple clicks made in rapid succession. Full Topic

func (Control) SetIntValue

func (c_ Control) SetIntValue(value int)

The value of the receiver’s cell as an integer. Full Topic

func (Control) SetIntegerValue

func (c_ Control) SetIntegerValue(value int)

The value of the receiver’s cell as an NSInteger value. Full Topic

func (Control) SetObjectValue

func (c_ Control) SetObjectValue(value objc.IObject)

The value of the receiver’s cell as an Objective-C object. Full Topic

func (Control) SetRefusesFirstResponder

func (c_ Control) SetRefusesFirstResponder(value bool)

A Boolean value indicating whether the receiver refuses the first responder role. Full Topic

func (Control) SetStringValue

func (c_ Control) SetStringValue(value string)

The value of the receiver’s cell as an NSString object. Full Topic

func (Control) SetTag

func (c_ Control) SetTag(value int)

The tag identifying the receiver (not the tag of the receiver’s cell). Full Topic

func (Control) SetTarget

func (c_ Control) SetTarget(value objc.IObject)

The target object that receives action messages from the cell. Full Topic

func (Control) SetUsesSingleLineMode

func (c_ Control) SetUsesSingleLineMode(value bool)

A Boolean value that indicates whether the text in the control’s cell uses single line mode. Full Topic

func (Control) SizeThatFits

func (c_ Control) SizeThatFits(size foundation.Size) foundation.Size

Asks the control to calculate and return the size that best fits the specified size. Full Topic

func (Control) SizeToFit

func (c_ Control) SizeToFit()

Resizes the receiver’s frame so that it’s the minimum size needed to contain its cell. Full Topic

func (Control) StringValue

func (c_ Control) StringValue() string

The value of the receiver’s cell as an NSString object. Full Topic

func (Control) TakeDoubleValueFrom

func (c_ Control) TakeDoubleValueFrom(sender objc.IObject)

Sets the value of the receiver’s cell to a double-precision floating-point value obtained from the specified object. Full Topic

func (Control) TakeFloatValueFrom

func (c_ Control) TakeFloatValueFrom(sender objc.IObject)

Sets the value of the receiver’s cell to a single-precision floating-point value obtained from the specified object. Full Topic

func (Control) TakeIntValueFrom

func (c_ Control) TakeIntValueFrom(sender objc.IObject)

Sets the value of the receiver’s cell to an integer value obtained from the specified object. Full Topic

func (Control) TakeIntegerValueFrom

func (c_ Control) TakeIntegerValueFrom(sender objc.IObject)

Sets the value of the receiver’s cell to an NSInteger value obtained from the specified object. Full Topic

func (Control) TakeObjectValueFrom

func (c_ Control) TakeObjectValueFrom(sender objc.IObject)

Sets the value of the receiver’s cell to the object value obtained from the specified object. Full Topic

func (Control) TakeStringValueFrom

func (c_ Control) TakeStringValueFrom(sender objc.IObject)

Sets the value of the receiver’s cell to the string value obtained from the specified object. Full Topic

func (Control) Target

func (c_ Control) Target() objc.Object

The target object that receives action messages from the cell. Full Topic

func (Control) UsesSingleLineMode

func (c_ Control) UsesSingleLineMode() bool

A Boolean value that indicates whether the text in the control’s cell uses single line mode. Full Topic

func (Control) ValidateEditing

func (c_ Control) ValidateEditing()

Validates changes to any user-typed text. Full Topic

type ControlCharacterAction

type ControlCharacterAction int

Constants that describe actions for control characters. Full Topic

const (
	ControlCharacterActionContainerBreak  ControlCharacterAction = 32
	ControlCharacterActionHorizontalTab   ControlCharacterAction = 4
	ControlCharacterActionLineBreak       ControlCharacterAction = 8
	ControlCharacterActionParagraphBreak  ControlCharacterAction = 16
	ControlCharacterActionWhitespace      ControlCharacterAction = 2
	ControlCharacterActionZeroAdvancement ControlCharacterAction = 1
)

type ControlSize

type ControlSize uint

A constant for specifying a cell’s size. Full Topic

const (
	ControlSizeLarge   ControlSize = 3
	ControlSizeMini    ControlSize = 2
	ControlSizeRegular ControlSize = 0
	ControlSizeSmall   ControlSize = 1
	MiniControlSize    ControlSize = 2
	RegularControlSize ControlSize = 0
	SmallControlSize   ControlSize = 1
)

type ControlStateValue

type ControlStateValue int

A constant that indicates whether a control is on, off, or in a mixed state. Full Topic

const (
	ControlStateValueMixed ControlStateValue = -1
	ControlStateValueOff   ControlStateValue = 0
	ControlStateValueOn    ControlStateValue = 1
	MixedState             ControlStateValue = -1
	OffState               ControlStateValue = 0
	OnState                ControlStateValue = 1
)

type ControlTextEditingDelegate

type ControlTextEditingDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PControlTextEditingDelegate protocol.

func (*ControlTextEditingDelegate) ControlTextDidBeginEditing

func (di *ControlTextEditingDelegate) ControlTextDidBeginEditing(obj foundation.Notification)

Tells the delegate that the control started editing its text content. Full Topic

func (*ControlTextEditingDelegate) ControlTextDidChange

func (di *ControlTextEditingDelegate) ControlTextDidChange(obj foundation.Notification)

Tells the delegate that the control made changes to its text content. Full Topic

func (*ControlTextEditingDelegate) ControlTextDidEndEditing

func (di *ControlTextEditingDelegate) ControlTextDidEndEditing(obj foundation.Notification)

Tells the delegate that the control finished editing its text content and committed the changes. Full Topic

func (*ControlTextEditingDelegate) ControlTextShouldEndEditing

func (di *ControlTextEditingDelegate) ControlTextShouldEndEditing(control Control, fieldEditor Text) bool

Invoked when the insertion point tries to leave a cell of the control that has been edited. Full Topic

func (*ControlTextEditingDelegate) HasControlTextDidBeginEditing

func (di *ControlTextEditingDelegate) HasControlTextDidBeginEditing() bool

func (*ControlTextEditingDelegate) HasControlTextDidChange

func (di *ControlTextEditingDelegate) HasControlTextDidChange() bool

func (*ControlTextEditingDelegate) HasControlTextDidEndEditing

func (di *ControlTextEditingDelegate) HasControlTextDidEndEditing() bool

func (*ControlTextEditingDelegate) HasControlTextShouldEndEditing

func (di *ControlTextEditingDelegate) HasControlTextShouldEndEditing() bool

func (*ControlTextEditingDelegate) SetControlTextDidBeginEditing

func (di *ControlTextEditingDelegate) SetControlTextDidBeginEditing(f func(obj foundation.Notification))

Tells the delegate that the control started editing its text content. Full Topic

func (*ControlTextEditingDelegate) SetControlTextDidChange

func (di *ControlTextEditingDelegate) SetControlTextDidChange(f func(obj foundation.Notification))

Tells the delegate that the control made changes to its text content. Full Topic

func (*ControlTextEditingDelegate) SetControlTextDidEndEditing

func (di *ControlTextEditingDelegate) SetControlTextDidEndEditing(f func(obj foundation.Notification))

Tells the delegate that the control finished editing its text content and committed the changes. Full Topic

func (*ControlTextEditingDelegate) SetControlTextShouldEndEditing

func (di *ControlTextEditingDelegate) SetControlTextShouldEndEditing(f func(control Control, fieldEditor Text) bool)

Invoked when the insertion point tries to leave a cell of the control that has been edited. Full Topic

type ControlTextEditingDelegateWrapper

type ControlTextEditingDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PControlTextEditingDelegate protocol.

func (ControlTextEditingDelegateWrapper) ControlTextDidBeginEditing

func (c_ ControlTextEditingDelegateWrapper) ControlTextDidBeginEditing(obj foundation.INotification)

Tells the delegate that the control started editing its text content. Full Topic

func (ControlTextEditingDelegateWrapper) ControlTextDidChange

func (c_ ControlTextEditingDelegateWrapper) ControlTextDidChange(obj foundation.INotification)

Tells the delegate that the control made changes to its text content. Full Topic

func (ControlTextEditingDelegateWrapper) ControlTextDidEndEditing

func (c_ ControlTextEditingDelegateWrapper) ControlTextDidEndEditing(obj foundation.INotification)

Tells the delegate that the control finished editing its text content and committed the changes. Full Topic

func (ControlTextEditingDelegateWrapper) ControlTextShouldEndEditing

func (c_ ControlTextEditingDelegateWrapper) ControlTextShouldEndEditing(control IControl, fieldEditor IText) bool

Invoked when the insertion point tries to leave a cell of the control that has been edited. Full Topic

func (ControlTextEditingDelegateWrapper) HasControlTextDidBeginEditing

func (c_ ControlTextEditingDelegateWrapper) HasControlTextDidBeginEditing() bool

func (ControlTextEditingDelegateWrapper) HasControlTextDidChange

func (c_ ControlTextEditingDelegateWrapper) HasControlTextDidChange() bool

func (ControlTextEditingDelegateWrapper) HasControlTextDidEndEditing

func (c_ ControlTextEditingDelegateWrapper) HasControlTextDidEndEditing() bool

func (ControlTextEditingDelegateWrapper) HasControlTextShouldEndEditing

func (c_ ControlTextEditingDelegateWrapper) HasControlTextShouldEndEditing() bool

type ControlTint

type ControlTint uint

Constants for specifying a cell’s tint color. Full Topic

const (
	BlueControlTint     ControlTint = 1
	ClearControlTint    ControlTint = 7
	DefaultControlTint  ControlTint = 0
	GraphiteControlTint ControlTint = 6
)

func Color_CurrentControlTint

func Color_CurrentControlTint() ControlTint

The current system control tint color. Full Topic

type Controller

type Controller struct {
	objc.Object
}

An abstract class that implements the appkit/deprecated_symbols/nseditor and appkit/deprecated_symbols/nseditorregistration informal protocols required for controller classes. Full Topic

func ControllerFrom

func ControllerFrom(ptr unsafe.Pointer) Controller

func Controller_Alloc

func Controller_Alloc() Controller

func NewController

func NewController() Controller

func (Controller) CommitEditing

func (c_ Controller) CommitEditing() bool

Causes the receiver to attempt to commit any pending edits, returning YES if successful or no edits were pending. Full Topic

func (Controller) CommitEditingWithDelegateDidCommitSelectorContextInfo

func (c_ Controller) CommitEditingWithDelegateDidCommitSelectorContextInfo(delegate objc.IObject, didCommitSelector objc.Selector, contextInfo unsafe.Pointer)

Attempts to commit any pending changes in known editors of the receiver. Full Topic

func (Controller) DiscardEditing

func (c_ Controller) DiscardEditing()

Discards any pending changes by registered editors. Full Topic

func (Controller) Init

func (c_ Controller) Init() Controller

func (Controller) IsEditing

func (c_ Controller) IsEditing() bool

A Boolean value indicating if any editors are registered with the controller. Full Topic

func (Controller) ObjectDidBeginEditing

func (c_ Controller) ObjectDidBeginEditing(editor PEditor)

Invoked to inform the receiver that editor has uncommitted changes that can affect the receiver. Full Topic

func (Controller) ObjectDidBeginEditingObject

func (c_ Controller) ObjectDidBeginEditingObject(editorObject objc.IObject)

Invoked to inform the receiver that editor has uncommitted changes that can affect the receiver. Full Topic

func (Controller) ObjectDidEndEditing

func (c_ Controller) ObjectDidEndEditing(editor PEditor)

Invoked to inform the receiver that editor has committed or discarded its changes. Full Topic

func (Controller) ObjectDidEndEditingObject

func (c_ Controller) ObjectDidEndEditingObject(editorObject objc.IObject)

Invoked to inform the receiver that editor has committed or discarded its changes. Full Topic

type CorrectionIndicatorType

type CorrectionIndicatorType int

Constants that allow an app to specify the correction indicator type displayed. Full Topic

const (
	CorrectionIndicatorTypeDefault   CorrectionIndicatorType = 0
	CorrectionIndicatorTypeGuesses   CorrectionIndicatorType = 2
	CorrectionIndicatorTypeReversion CorrectionIndicatorType = 1
)

type CorrectionResponse

type CorrectionResponse int

The correction response passed to therecordResponse:toCorrection:forWord:language:inSpellDocumentWithTag: method. Full Topic

const (
	CorrectionResponseAccepted CorrectionResponse = 1
	CorrectionResponseEdited   CorrectionResponse = 4
	CorrectionResponseIgnored  CorrectionResponse = 3
	CorrectionResponseNone     CorrectionResponse = 0
	CorrectionResponseRejected CorrectionResponse = 2
	CorrectionResponseReverted CorrectionResponse = 5
)

type Cursor

type Cursor struct {
	objc.Object
}

A pointer (also called a cursor). Full Topic

func CursorFrom

func CursorFrom(ptr unsafe.Pointer) Cursor

func Cursor_Alloc

func Cursor_Alloc() Cursor

func Cursor_ArrowCursor

func Cursor_ArrowCursor() Cursor

Returns the default cursor, the arrow cursor. Full Topic

func Cursor_ClosedHandCursor

func Cursor_ClosedHandCursor() Cursor

Returns the closed-hand system cursor. Full Topic

func Cursor_ContextualMenuCursor

func Cursor_ContextualMenuCursor() Cursor

Returns the contextual menu system cursor. Full Topic

func Cursor_CrosshairCursor

func Cursor_CrosshairCursor() Cursor

Returns the cross-hair system cursor. Full Topic

func Cursor_CurrentCursor

func Cursor_CurrentCursor() Cursor

Returns the application’s current cursor. Full Topic

func Cursor_CurrentSystemCursor

func Cursor_CurrentSystemCursor() Cursor

Returns the current system cursor. Full Topic

func Cursor_DisappearingItemCursor

func Cursor_DisappearingItemCursor() Cursor

Returns a cursor indicating that the current operation will result in a disappearing item. Full Topic

func Cursor_DragCopyCursor

func Cursor_DragCopyCursor() Cursor

Returns a cursor indicating that the current operation will result in a copy action. Full Topic

func Cursor_DragLinkCursor

func Cursor_DragLinkCursor() Cursor

Returns a cursor indicating that the current operation will result in a link action. Full Topic

func Cursor_IBeamCursor

func Cursor_IBeamCursor() Cursor

Returns a cursor that looks like a capital I with a tiny crossbeam at its middle. Full Topic

func Cursor_IBeamCursorForVerticalLayout

func Cursor_IBeamCursorForVerticalLayout() Cursor

Returns the cursor for editing vertical layout text. Full Topic

func Cursor_OpenHandCursor

func Cursor_OpenHandCursor() Cursor

Returns the open-hand system cursor. Full Topic

func Cursor_OperationNotAllowedCursor

func Cursor_OperationNotAllowedCursor() Cursor

Returns the operation not allowed cursor. Full Topic

func Cursor_PointingHandCursor

func Cursor_PointingHandCursor() Cursor

Returns the pointing-hand system cursor. Full Topic

func Cursor_ResizeDownCursor

func Cursor_ResizeDownCursor() Cursor

Returns the resize-down system cursor. Full Topic

func Cursor_ResizeLeftCursor

func Cursor_ResizeLeftCursor() Cursor

Returns the resize-left system cursor. Full Topic

func Cursor_ResizeLeftRightCursor

func Cursor_ResizeLeftRightCursor() Cursor

Returns the resize-left-and-right system cursor. Full Topic

func Cursor_ResizeRightCursor

func Cursor_ResizeRightCursor() Cursor

Returns the resize-right system cursor. Full Topic

func Cursor_ResizeUpCursor

func Cursor_ResizeUpCursor() Cursor

Returns the resize-up system cursor. Full Topic

func Cursor_ResizeUpDownCursor

func Cursor_ResizeUpDownCursor() Cursor

Returns the resize-up-and-down system cursor. Full Topic

func NewCursor

func NewCursor() Cursor

func (Cursor) HotSpot

func (c_ Cursor) HotSpot() foundation.Point

The position of the cursor's hot spot. Full Topic

func (Cursor) Image

func (c_ Cursor) Image() Image

The cursor’s image. Full Topic

func (Cursor) Init

func (c_ Cursor) Init() Cursor

func (Cursor) Push

func (c_ Cursor) Push()

Puts the receiver on top of the cursor stack and makes it the current cursor. Full Topic

func (Cursor) Set

func (c_ Cursor) Set()

Makes the receiver the current cursor. Full Topic

type CustomImageRep

type CustomImageRep struct {
	ImageRep
}

An object that uses a delegate object to render an image from a custom format. Full Topic

func CustomImageRepFrom

func CustomImageRepFrom(ptr unsafe.Pointer) CustomImageRep

func CustomImageRep_Alloc

func CustomImageRep_Alloc() CustomImageRep

func NewCustomImageRep

func NewCustomImageRep() CustomImageRep

func NewCustomImageRepWithDrawSelectorDelegate

func NewCustomImageRepWithDrawSelectorDelegate(selector objc.Selector, delegate objc.IObject) CustomImageRep

Returns a representation of an image initialized with the specified delegate information. Full Topic

func NewCustomImageRepWithSizeFlippedDrawingHandler

func NewCustomImageRepWithSizeFlippedDrawingHandler(size foundation.Size, drawingHandlerShouldBeCalledWithFlippedContext bool, drawingHandler func(dstRect foundation.Rect) bool) CustomImageRep

Initializes a representation of an image of the specified size and flipped status, using a block to draw its content. Full Topic

func (CustomImageRep) Delegate

func (c_ CustomImageRep) Delegate() objc.Object

The delegate object that renders the image for the image representation. Full Topic

func (CustomImageRep) DrawSelector

func (c_ CustomImageRep) DrawSelector() objc.Selector

The selector for the delegate's drawing method. Full Topic

func (CustomImageRep) DrawingHandler

func (c_ CustomImageRep) DrawingHandler() func(arg0 foundation.Rect) bool

The destination rectangle of the drawing handler block. Full Topic

func (CustomImageRep) Init

func (c_ CustomImageRep) Init() CustomImageRep

func (CustomImageRep) InitWithDrawSelectorDelegate

func (c_ CustomImageRep) InitWithDrawSelectorDelegate(selector objc.Selector, delegate objc.IObject) CustomImageRep

func (CustomImageRep) InitWithSizeFlippedDrawingHandler

func (c_ CustomImageRep) InitWithSizeFlippedDrawingHandler(size foundation.Size, drawingHandlerShouldBeCalledWithFlippedContext bool, drawingHandler func(dstRect foundation.Rect) bool) CustomImageRep

type CustomTouchBarItem

type CustomTouchBarItem struct {
	TouchBarItem
}

A bar item that contains a responder of your choice, such as a view, a button, or a scrubber. Full Topic

func CustomTouchBarItemFrom

func CustomTouchBarItemFrom(ptr unsafe.Pointer) CustomTouchBarItem

func CustomTouchBarItem_Alloc

func CustomTouchBarItem_Alloc() CustomTouchBarItem

func NewCustomTouchBarItem

func NewCustomTouchBarItem() CustomTouchBarItem

func NewCustomTouchBarItemWithIdentifier

func NewCustomTouchBarItemWithIdentifier(identifier TouchBarItemIdentifier) CustomTouchBarItem

Creates a new item with the specified identifier. Full Topic

func (CustomTouchBarItem) Init

func (CustomTouchBarItem) InitWithIdentifier

func (c_ CustomTouchBarItem) InitWithIdentifier(identifier TouchBarItemIdentifier) CustomTouchBarItem

func (CustomTouchBarItem) SetCustomizationLabel

func (c_ CustomTouchBarItem) SetCustomizationLabel(value string)

The user-visible string identifying this item during bar customization. Full Topic

func (CustomTouchBarItem) SetView

func (c_ CustomTouchBarItem) SetView(value IView)

The view displayed in the bar to represent this item. Full Topic

func (CustomTouchBarItem) SetViewController

func (c_ CustomTouchBarItem) SetViewController(value IViewController)

A view controller whose view is displayed in the bar to represent this item. Full Topic

type DataAsset

type DataAsset struct {
	objc.Object
}

An object from a data set type stored in an asset catalog. Full Topic

func DataAssetFrom

func DataAssetFrom(ptr unsafe.Pointer) DataAsset

func DataAsset_Alloc

func DataAsset_Alloc() DataAsset

func NewDataAsset

func NewDataAsset() DataAsset

func NewDataAssetWithName

func NewDataAssetWithName(name DataAssetName) DataAsset

Initializes and returns an object with a reference to the named data asset in an asset catalog. Full Topic

func (DataAsset) Data

func (d_ DataAsset) Data() []byte

The raw data values in the data asset. Full Topic

func (DataAsset) Init

func (d_ DataAsset) Init() DataAsset

func (DataAsset) InitWithName

func (d_ DataAsset) InitWithName(name DataAssetName) DataAsset

func (DataAsset) Name

func (d_ DataAsset) Name() DataAssetName

The name of the data set in the asset catalog. Full Topic

func (DataAsset) TypeIdentifier

func (d_ DataAsset) TypeIdentifier() string

The uniform type identifier for the data asset. Full Topic

type DataAssetName

type DataAssetName string

The name of a data asset. Full Topic

type DatePicker

type DatePicker struct {
	Control
}

A display of a calendar date with controls for editing the date value. Full Topic

func DatePickerFrom

func DatePickerFrom(ptr unsafe.Pointer) DatePicker

func DatePicker_Alloc

func DatePicker_Alloc() DatePicker

func NewDatePicker

func NewDatePicker() DatePicker

func NewDatePickerWithFrame

func NewDatePickerWithFrame(frameRect foundation.Rect) DatePicker

Initializes a control with the specified frame rectangle. Full Topic

func (DatePicker) BackgroundColor

func (d_ DatePicker) BackgroundColor() Color

The date picker’s background color. Full Topic

func (DatePicker) Calendar

func (d_ DatePicker) Calendar() foundation.Calendar

The calendar used by the date picker. Full Topic

func (DatePicker) DatePickerElements

func (d_ DatePicker) DatePickerElements() DatePickerElementFlags

A bitmask that indicates which visual elements of the date picker are currently shown, and which won't be usable because they are hidden. Full Topic

func (DatePicker) DatePickerMode

func (d_ DatePicker) DatePickerMode() DatePickerMode

The date picker’s mode. Full Topic

func (DatePicker) DatePickerStyle

func (d_ DatePicker) DatePickerStyle() DatePickerStyle

The date picker’s style. Full Topic

func (DatePicker) DateValue

func (d_ DatePicker) DateValue() foundation.Date

The date selected by the date picker. Full Topic

func (DatePicker) Delegate

A delegate for the date picker’s cell Full Topic

func (DatePicker) DrawsBackground

func (d_ DatePicker) DrawsBackground() bool

A Boolean value that indicates whether the date picker draws the background. Full Topic

func (DatePicker) Init

func (d_ DatePicker) Init() DatePicker

func (DatePicker) InitWithFrame

func (d_ DatePicker) InitWithFrame(frameRect foundation.Rect) DatePicker

func (DatePicker) IsBezeled

func (d_ DatePicker) IsBezeled() bool

A Boolean value that indicates whether the date picker draws a bezeled border. Full Topic

func (DatePicker) IsBordered

func (d_ DatePicker) IsBordered() bool

A Boolean value that indicates whether the date picker has a plain border. Full Topic

func (DatePicker) Locale

func (d_ DatePicker) Locale() foundation.Locale

The date picker’s locale. Full Topic

func (DatePicker) MaxDate

func (d_ DatePicker) MaxDate() foundation.Date

The date picker’s maximum date value. Full Topic

func (DatePicker) MinDate

func (d_ DatePicker) MinDate() foundation.Date

The date picker’s minimum date value. Full Topic

func (DatePicker) PresentsCalendarOverlay

func (d_ DatePicker) PresentsCalendarOverlay() bool

A Boolean value that indicates whether to present a graphical calendar overlay when editing a calendar element within a text-field style date picker. Full Topic

func (DatePicker) SetBackgroundColor

func (d_ DatePicker) SetBackgroundColor(value IColor)

The date picker’s background color. Full Topic

func (DatePicker) SetBezeled

func (d_ DatePicker) SetBezeled(value bool)

A Boolean value that indicates whether the date picker draws a bezeled border. Full Topic

func (DatePicker) SetBordered

func (d_ DatePicker) SetBordered(value bool)

A Boolean value that indicates whether the date picker has a plain border. Full Topic

func (DatePicker) SetCalendar

func (d_ DatePicker) SetCalendar(value foundation.ICalendar)

The calendar used by the date picker. Full Topic

func (DatePicker) SetDatePickerElements

func (d_ DatePicker) SetDatePickerElements(value DatePickerElementFlags)

A bitmask that indicates which visual elements of the date picker are currently shown, and which won't be usable because they are hidden. Full Topic

func (DatePicker) SetDatePickerMode

func (d_ DatePicker) SetDatePickerMode(value DatePickerMode)

The date picker’s mode. Full Topic

func (DatePicker) SetDatePickerStyle

func (d_ DatePicker) SetDatePickerStyle(value DatePickerStyle)

The date picker’s style. Full Topic

func (DatePicker) SetDateValue

func (d_ DatePicker) SetDateValue(value foundation.IDate)

The date selected by the date picker. Full Topic

func (DatePicker) SetDelegate

func (d_ DatePicker) SetDelegate(value PDatePickerCellDelegate)

A delegate for the date picker’s cell Full Topic

func (DatePicker) SetDelegateObject

func (d_ DatePicker) SetDelegateObject(valueObject objc.IObject)

A delegate for the date picker’s cell Full Topic

func (DatePicker) SetDrawsBackground

func (d_ DatePicker) SetDrawsBackground(value bool)

A Boolean value that indicates whether the date picker draws the background. Full Topic

func (DatePicker) SetLocale

func (d_ DatePicker) SetLocale(value foundation.ILocale)

The date picker’s locale. Full Topic

func (DatePicker) SetMaxDate

func (d_ DatePicker) SetMaxDate(value foundation.IDate)

The date picker’s maximum date value. Full Topic

func (DatePicker) SetMinDate

func (d_ DatePicker) SetMinDate(value foundation.IDate)

The date picker’s minimum date value. Full Topic

func (DatePicker) SetPresentsCalendarOverlay

func (d_ DatePicker) SetPresentsCalendarOverlay(value bool)

A Boolean value that indicates whether to present a graphical calendar overlay when editing a calendar element within a text-field style date picker. Full Topic

func (DatePicker) SetTextColor

func (d_ DatePicker) SetTextColor(value IColor)

The date picker’s text color. Full Topic

func (DatePicker) SetTimeInterval

func (d_ DatePicker) SetTimeInterval(value foundation.TimeInterval)

The time interval selected by the date picker. Full Topic

func (DatePicker) SetTimeZone

func (d_ DatePicker) SetTimeZone(value foundation.ITimeZone)

The time zone for the date picker. Full Topic

func (DatePicker) TextColor

func (d_ DatePicker) TextColor() Color

The date picker’s text color. Full Topic

func (DatePicker) TimeInterval

func (d_ DatePicker) TimeInterval() foundation.TimeInterval

The time interval selected by the date picker. Full Topic

func (DatePicker) TimeZone

func (d_ DatePicker) TimeZone() foundation.TimeZone

The time zone for the date picker. Full Topic

type DatePickerCell

type DatePickerCell struct {
	ActionCell
}

An object that controls the behavior of a date picker, or of a single date picker cell in a matrix. Full Topic

func DatePickerCellFrom

func DatePickerCellFrom(ptr unsafe.Pointer) DatePickerCell

func DatePickerCell_Alloc

func DatePickerCell_Alloc() DatePickerCell

func NewDatePickerCell

func NewDatePickerCell() DatePickerCell

func NewDatePickerCellImageCell

func NewDatePickerCellImageCell(image IImage) DatePickerCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewDatePickerCellTextCell

func NewDatePickerCellTextCell(string_ string) DatePickerCell
[Full Topic]

func (DatePickerCell) BackgroundColor

func (d_ DatePickerCell) BackgroundColor() Color

The cell’s background color. Full Topic

func (DatePickerCell) Calendar

func (d_ DatePickerCell) Calendar() foundation.Calendar

The calendar used by the date picker. Full Topic

func (DatePickerCell) DatePickerElements

func (d_ DatePickerCell) DatePickerElements() DatePickerElementFlags

A bitmask that indicates which visual elements are shown by the date picker. Full Topic

func (DatePickerCell) DatePickerMode

func (d_ DatePickerCell) DatePickerMode() DatePickerMode

The mode in use by the date picker. Full Topic

func (DatePickerCell) DatePickerStyle

func (d_ DatePickerCell) DatePickerStyle() DatePickerStyle

The date picker style to use. Full Topic

func (DatePickerCell) DateValue

func (d_ DatePickerCell) DateValue() foundation.Date

The date currently specified in the picker. Full Topic

func (DatePickerCell) Delegate

The delegate associated with the date picker. Full Topic

func (DatePickerCell) DrawsBackground

func (d_ DatePickerCell) DrawsBackground() bool

A Boolean value indicating whether the cell draws its background. Full Topic

func (DatePickerCell) Init

func (d_ DatePickerCell) Init() DatePickerCell

func (DatePickerCell) InitImageCell

func (d_ DatePickerCell) InitImageCell(image IImage) DatePickerCell

func (DatePickerCell) InitTextCell

func (d_ DatePickerCell) InitTextCell(string_ string) DatePickerCell

func (DatePickerCell) Locale

func (d_ DatePickerCell) Locale() foundation.Locale

The locale used to display dates. Full Topic

func (DatePickerCell) MaxDate

func (d_ DatePickerCell) MaxDate() foundation.Date

The maximum date that the picker allows as input. Full Topic

func (DatePickerCell) MinDate

func (d_ DatePickerCell) MinDate() foundation.Date

The minimum date that the picker allows as input. Full Topic

func (DatePickerCell) SetBackgroundColor

func (d_ DatePickerCell) SetBackgroundColor(value IColor)

The cell’s background color. Full Topic

func (DatePickerCell) SetCalendar

func (d_ DatePickerCell) SetCalendar(value foundation.ICalendar)

The calendar used by the date picker. Full Topic

func (DatePickerCell) SetDatePickerElements

func (d_ DatePickerCell) SetDatePickerElements(value DatePickerElementFlags)

A bitmask that indicates which visual elements are shown by the date picker. Full Topic

func (DatePickerCell) SetDatePickerMode

func (d_ DatePickerCell) SetDatePickerMode(value DatePickerMode)

The mode in use by the date picker. Full Topic

func (DatePickerCell) SetDatePickerStyle

func (d_ DatePickerCell) SetDatePickerStyle(value DatePickerStyle)

The date picker style to use. Full Topic

func (DatePickerCell) SetDateValue

func (d_ DatePickerCell) SetDateValue(value foundation.IDate)

The date currently specified in the picker. Full Topic

func (DatePickerCell) SetDelegate

func (d_ DatePickerCell) SetDelegate(value PDatePickerCellDelegate)

The delegate associated with the date picker. Full Topic

func (DatePickerCell) SetDelegateObject

func (d_ DatePickerCell) SetDelegateObject(valueObject objc.IObject)

The delegate associated with the date picker. Full Topic

func (DatePickerCell) SetDrawsBackground

func (d_ DatePickerCell) SetDrawsBackground(value bool)

A Boolean value indicating whether the cell draws its background. Full Topic

func (DatePickerCell) SetLocale

func (d_ DatePickerCell) SetLocale(value foundation.ILocale)

The locale used to display dates. Full Topic

func (DatePickerCell) SetMaxDate

func (d_ DatePickerCell) SetMaxDate(value foundation.IDate)

The maximum date that the picker allows as input. Full Topic

func (DatePickerCell) SetMinDate

func (d_ DatePickerCell) SetMinDate(value foundation.IDate)

The minimum date that the picker allows as input. Full Topic

func (DatePickerCell) SetTextColor

func (d_ DatePickerCell) SetTextColor(value IColor)

The cell’s text color. Full Topic

func (DatePickerCell) SetTimeInterval

func (d_ DatePickerCell) SetTimeInterval(value foundation.TimeInterval)

The time interval that represents the date range. Full Topic

func (DatePickerCell) SetTimeZone

func (d_ DatePickerCell) SetTimeZone(value foundation.ITimeZone)

The time zone used to display time-related values. Full Topic

func (DatePickerCell) TextColor

func (d_ DatePickerCell) TextColor() Color

The cell’s text color. Full Topic

func (DatePickerCell) TimeInterval

func (d_ DatePickerCell) TimeInterval() foundation.TimeInterval

The time interval that represents the date range. Full Topic

func (DatePickerCell) TimeZone

func (d_ DatePickerCell) TimeZone() foundation.TimeZone

The time zone used to display time-related values. Full Topic

type DatePickerCellDelegate

type DatePickerCellDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PDatePickerCellDelegate protocol.

func (*DatePickerCellDelegate) DatePickerCellValidateProposedDateValueTimeInterval

func (di *DatePickerCellDelegate) DatePickerCellValidateProposedDateValueTimeInterval(datePickerCell DatePickerCell, proposedDateValue foundation.Date, proposedTimeInterval *foundation.TimeInterval)

The delegate receives this message each time the user attempts to change the receiver‘s value, allowing the delegate the opportunity to override the change. Full Topic

func (*DatePickerCellDelegate) HasDatePickerCellValidateProposedDateValueTimeInterval

func (di *DatePickerCellDelegate) HasDatePickerCellValidateProposedDateValueTimeInterval() bool

func (*DatePickerCellDelegate) SetDatePickerCellValidateProposedDateValueTimeInterval

func (di *DatePickerCellDelegate) SetDatePickerCellValidateProposedDateValueTimeInterval(f func(datePickerCell DatePickerCell, proposedDateValue foundation.Date, proposedTimeInterval *foundation.TimeInterval))

The delegate receives this message each time the user attempts to change the receiver‘s value, allowing the delegate the opportunity to override the change. Full Topic

type DatePickerCellDelegateWrapper

type DatePickerCellDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PDatePickerCellDelegate protocol.

func (DatePickerCellDelegateWrapper) DatePickerCellValidateProposedDateValueTimeInterval

func (d_ DatePickerCellDelegateWrapper) DatePickerCellValidateProposedDateValueTimeInterval(datePickerCell IDatePickerCell, proposedDateValue foundation.IDate, proposedTimeInterval *foundation.TimeInterval)

The delegate receives this message each time the user attempts to change the receiver‘s value, allowing the delegate the opportunity to override the change. Full Topic

func (DatePickerCellDelegateWrapper) HasDatePickerCellValidateProposedDateValueTimeInterval

func (d_ DatePickerCellDelegateWrapper) HasDatePickerCellValidateProposedDateValueTimeInterval() bool

type DatePickerElementFlags

type DatePickerElementFlags uint

Constants that specify the date and time elements displayed by the picker. Full Topic

const (
	DatePickerElementFlagEra              DatePickerElementFlags = 256
	DatePickerElementFlagHourMinute       DatePickerElementFlags = 12
	DatePickerElementFlagHourMinuteSecond DatePickerElementFlags = 14
	DatePickerElementFlagTimeZone         DatePickerElementFlags = 16
	DatePickerElementFlagYearMonth        DatePickerElementFlags = 192
	DatePickerElementFlagYearMonthDay     DatePickerElementFlags = 224
	EraDatePickerElementFlag              DatePickerElementFlags = 256
	HourMinuteDatePickerElementFlag       DatePickerElementFlags = 12
	HourMinuteSecondDatePickerElementFlag DatePickerElementFlags = 14
	TimeZoneDatePickerElementFlag         DatePickerElementFlags = 16
	YearMonthDatePickerElementFlag        DatePickerElementFlags = 192
	YearMonthDayDatePickerElementFlag     DatePickerElementFlags = 224
)

type DatePickerMode

type DatePickerMode uint

Constants that define whether the picker provides a single date, or a range of dates. Full Topic

const (
	DatePickerModeRange  DatePickerMode = 1
	DatePickerModeSingle DatePickerMode = 0
	RangeDateMode        DatePickerMode = 1
	SingleDateMode       DatePickerMode = 0
)

type DatePickerStyle

type DatePickerStyle uint

Constants that define the visual appearance of the date picker cell. Full Topic

const (
	ClockAndCalendarDatePickerStyle    DatePickerStyle = 1
	DatePickerStyleClockAndCalendar    DatePickerStyle = 1
	DatePickerStyleTextField           DatePickerStyle = 2
	DatePickerStyleTextFieldAndStepper DatePickerStyle = 0
	TextFieldAndStepperDatePickerStyle DatePickerStyle = 0
	TextFieldDatePickerStyle           DatePickerStyle = 2
)

type DefinitionOptionKey

type DefinitionOptionKey string

Keys to include in your definition. Full Topic

const (
	DefinitionPresentationTypeKey DefinitionOptionKey = "NSDefinitionPresentationTypeKey"
)

type DefinitionPresentationType

type DefinitionPresentationType string

Presentation options for the window. Full Topic

const (
	DefinitionPresentationTypeDictionaryApplication DefinitionPresentationType = "NSDefinitionPresentationTypeDictionaryApplication"
	DefinitionPresentationTypeOverlay               DefinitionPresentationType = "NSDefinitionPresentationTypeOverlay"
)

type DeviceDescriptionKey

type DeviceDescriptionKey string

These constants are the keys for device description dictionaries. Full Topic

const (
	DeviceBitsPerSample  DeviceDescriptionKey = "NSDeviceBitsPerSample"
	DeviceColorSpaceName DeviceDescriptionKey = "NSDeviceColorSpaceName"
	DeviceIsPrinter      DeviceDescriptionKey = "NSDeviceIsPrinter"
	DeviceIsScreen       DeviceDescriptionKey = "NSDeviceIsScreen"
	DeviceResolution     DeviceDescriptionKey = "NSDeviceResolution"
	DeviceSize           DeviceDescriptionKey = "NSDeviceSize"
)

type DictionaryController

type DictionaryController struct {
	ArrayController
}

A bindings-compatible controller that manages the display and editing of a dictionary of key-value pairs. Full Topic

func DictionaryControllerFrom

func DictionaryControllerFrom(ptr unsafe.Pointer) DictionaryController

func DictionaryController_Alloc

func DictionaryController_Alloc() DictionaryController

func NewDictionaryController

func NewDictionaryController() DictionaryController

func NewDictionaryControllerWithContent

func NewDictionaryControllerWithContent(content objc.IObject) DictionaryController

Initializes and returns an NSObjectController object with the given content. Full Topic

func (DictionaryController) ExcludedKeys

func (d_ DictionaryController) ExcludedKeys() []string

The key names that are never displayed in the user interface items bound to the receiver. Full Topic

func (DictionaryController) IncludedKeys

func (d_ DictionaryController) IncludedKeys() []string

The key names that are represented by a key-value pair, even if they are not present in the receiver’s content dictionary. Full Topic

func (DictionaryController) Init

func (DictionaryController) InitWithContent

func (d_ DictionaryController) InitWithContent(content objc.IObject) DictionaryController

func (DictionaryController) InitialKey

func (d_ DictionaryController) InitialKey() string

The string used as the initial key name for a newly inserted item. Full Topic

func (DictionaryController) InitialValue

func (d_ DictionaryController) InitialValue() objc.Object

The string used as the initial value for a newly inserted item. Full Topic

func (DictionaryController) LocalizedKeyDictionary

func (d_ DictionaryController) LocalizedKeyDictionary() map[string]string

The localized key names that are displayed by the receiver in place of the key names. Full Topic

func (DictionaryController) LocalizedKeyTable

func (d_ DictionaryController) LocalizedKeyTable() string

the strings file used to localize key names. Full Topic

func (DictionaryController) SetExcludedKeys

func (d_ DictionaryController) SetExcludedKeys(value []string)

The key names that are never displayed in the user interface items bound to the receiver. Full Topic

func (DictionaryController) SetIncludedKeys

func (d_ DictionaryController) SetIncludedKeys(value []string)

The key names that are represented by a key-value pair, even if they are not present in the receiver’s content dictionary. Full Topic

func (DictionaryController) SetInitialKey

func (d_ DictionaryController) SetInitialKey(value string)

The string used as the initial key name for a newly inserted item. Full Topic

func (DictionaryController) SetInitialValue

func (d_ DictionaryController) SetInitialValue(value objc.IObject)

The string used as the initial value for a newly inserted item. Full Topic

func (DictionaryController) SetLocalizedKeyDictionary

func (d_ DictionaryController) SetLocalizedKeyDictionary(value map[string]string)

The localized key names that are displayed by the receiver in place of the key names. Full Topic

func (DictionaryController) SetLocalizedKeyTable

func (d_ DictionaryController) SetLocalizedKeyTable(value string)

the strings file used to localize key names. Full Topic

type DictionaryControllerKeyValuePair

type DictionaryControllerKeyValuePair struct {
	objc.Object
}

A set of methods implemented by arranged objects to give access to information about those objects. Full Topic

func DictionaryControllerKeyValuePairFrom

func DictionaryControllerKeyValuePairFrom(ptr unsafe.Pointer) DictionaryControllerKeyValuePair

func DictionaryControllerKeyValuePair_Alloc

func DictionaryControllerKeyValuePair_Alloc() DictionaryControllerKeyValuePair

func NewDictionaryControllerKeyValuePair

func NewDictionaryControllerKeyValuePair() DictionaryControllerKeyValuePair

func (DictionaryControllerKeyValuePair) Init

func (DictionaryControllerKeyValuePair) IsExplicitlyIncluded

func (d_ DictionaryControllerKeyValuePair) IsExplicitlyIncluded() bool
[Full Topic]

func (DictionaryControllerKeyValuePair) Key

[Full Topic]

func (DictionaryControllerKeyValuePair) LocalizedKey

func (d_ DictionaryControllerKeyValuePair) LocalizedKey() string
[Full Topic]

func (DictionaryControllerKeyValuePair) SetKey

func (d_ DictionaryControllerKeyValuePair) SetKey(value string)
[Full Topic]

func (DictionaryControllerKeyValuePair) SetLocalizedKey

func (d_ DictionaryControllerKeyValuePair) SetLocalizedKey(value string)
[Full Topic]

func (DictionaryControllerKeyValuePair) SetValue

func (d_ DictionaryControllerKeyValuePair) SetValue(value objc.IObject)
[Full Topic]

func (DictionaryControllerKeyValuePair) Value

[Full Topic]

type DiffableDataSourceSnapshot

type DiffableDataSourceSnapshot struct {
	objc.Object
}

A representation of the state of the data in a view at a specific point in time. Full Topic

func DiffableDataSourceSnapshotFrom

func DiffableDataSourceSnapshotFrom(ptr unsafe.Pointer) DiffableDataSourceSnapshot

func DiffableDataSourceSnapshot_Alloc

func DiffableDataSourceSnapshot_Alloc() DiffableDataSourceSnapshot

func NewDiffableDataSourceSnapshot

func NewDiffableDataSourceSnapshot() DiffableDataSourceSnapshot

func (DiffableDataSourceSnapshot) AppendItemsWithIdentifiers

func (d_ DiffableDataSourceSnapshot) AppendItemsWithIdentifiers(identifiers []objc.IObject)

Adds the items with the specified identifiers to the last section of the snapshot. Full Topic

func (DiffableDataSourceSnapshot) AppendSectionsWithIdentifiers

func (d_ DiffableDataSourceSnapshot) AppendSectionsWithIdentifiers(sectionIdentifiers []objc.IObject)

Adds the sections with the specified identifiers to the snapshot. Full Topic

func (DiffableDataSourceSnapshot) DeleteAllItems

func (d_ DiffableDataSourceSnapshot) DeleteAllItems()

Deletes all of the items from the snapshot. Full Topic

func (DiffableDataSourceSnapshot) DeleteItemsWithIdentifiers

func (d_ DiffableDataSourceSnapshot) DeleteItemsWithIdentifiers(identifiers []objc.IObject)

Deletes the items with the specified identifiers from the snapshot. Full Topic

func (DiffableDataSourceSnapshot) DeleteSectionsWithIdentifiers

func (d_ DiffableDataSourceSnapshot) DeleteSectionsWithIdentifiers(sectionIdentifiers []objc.IObject)

Deletes the sections with the specified identifiers from the snapshot. Full Topic

func (DiffableDataSourceSnapshot) IndexOfItemIdentifier

func (d_ DiffableDataSourceSnapshot) IndexOfItemIdentifier(itemIdentifier objc.IObject) int

Returns the index of the item in the snapshot with the specified identifier. Full Topic

func (DiffableDataSourceSnapshot) IndexOfSectionIdentifier

func (d_ DiffableDataSourceSnapshot) IndexOfSectionIdentifier(sectionIdentifier objc.IObject) int

Returns the index of the section of the snapshot with the specified identifier. Full Topic

func (DiffableDataSourceSnapshot) Init

func (DiffableDataSourceSnapshot) InsertItemsWithIdentifiersAfterItemWithIdentifier

func (d_ DiffableDataSourceSnapshot) InsertItemsWithIdentifiersAfterItemWithIdentifier(identifiers []objc.IObject, itemIdentifier objc.IObject)

Inserts the provided items immediately after the item with the specified identifier in the snapshot. Full Topic

func (DiffableDataSourceSnapshot) InsertSectionsWithIdentifiersAfterSectionWithIdentifier

func (d_ DiffableDataSourceSnapshot) InsertSectionsWithIdentifiersAfterSectionWithIdentifier(sectionIdentifiers []objc.IObject, toSectionIdentifier objc.IObject)

Inserts the provided sections immediately after the section with the specified identifier in the snapshot. Full Topic

func (DiffableDataSourceSnapshot) ItemIdentifiers

func (d_ DiffableDataSourceSnapshot) ItemIdentifiers() []objc.Object

The identifiers of all of the items in the snapshot. Full Topic

func (DiffableDataSourceSnapshot) ItemIdentifiersInSectionWithIdentifier

func (d_ DiffableDataSourceSnapshot) ItemIdentifiersInSectionWithIdentifier(sectionIdentifier objc.IObject) []objc.Object

Returns the identifiers of all of the items in the specified section of the snapshot. Full Topic

func (DiffableDataSourceSnapshot) MoveItemWithIdentifierAfterItemWithIdentifier

func (d_ DiffableDataSourceSnapshot) MoveItemWithIdentifierAfterItemWithIdentifier(fromIdentifier objc.IObject, toIdentifier objc.IObject)

Moves the item from its current position in the snapshot to the position immediately after the specified item. Full Topic

func (DiffableDataSourceSnapshot) MoveSectionWithIdentifierAfterSectionWithIdentifier

func (d_ DiffableDataSourceSnapshot) MoveSectionWithIdentifierAfterSectionWithIdentifier(fromSectionIdentifier objc.IObject, toSectionIdentifier objc.IObject)

Moves the section from its current position in the snapshot to the position immediately after the specified section. Full Topic

func (DiffableDataSourceSnapshot) NumberOfItems

func (d_ DiffableDataSourceSnapshot) NumberOfItems() int

The number of items in the snapshot. Full Topic

func (DiffableDataSourceSnapshot) NumberOfItemsInSection

func (d_ DiffableDataSourceSnapshot) NumberOfItemsInSection(sectionIdentifier objc.IObject) int

Returns the number of items in the specified section of the snapshot. Full Topic

func (DiffableDataSourceSnapshot) NumberOfSections

func (d_ DiffableDataSourceSnapshot) NumberOfSections() int

The number of sections in the snapshot. Full Topic

func (DiffableDataSourceSnapshot) ReloadItemsWithIdentifiers

func (d_ DiffableDataSourceSnapshot) ReloadItemsWithIdentifiers(identifiers []objc.IObject)

Reloads the data within the specified items in the snapshot. Full Topic

func (DiffableDataSourceSnapshot) ReloadSectionsWithIdentifiers

func (d_ DiffableDataSourceSnapshot) ReloadSectionsWithIdentifiers(sectionIdentifiers []objc.IObject)

Reloads the data within the specified sections of the snapshot. Full Topic

func (DiffableDataSourceSnapshot) SectionIdentifierForSectionContainingItemIdentifier

func (d_ DiffableDataSourceSnapshot) SectionIdentifierForSectionContainingItemIdentifier(itemIdentifier objc.IObject) objc.Object

Returns the identifier of the section containing the specified item in the snapshot. Full Topic

func (DiffableDataSourceSnapshot) SectionIdentifiers

func (d_ DiffableDataSourceSnapshot) SectionIdentifiers() []objc.Object

The identifiers of all of the sections in the snapshot. Full Topic

type DirectionalEdgeInsets

type DirectionalEdgeInsets struct {
	Top      coregraphics.Float
	Leading  coregraphics.Float
	Bottom   coregraphics.Float
	Trailing coregraphics.Float
}

type DirectionalRectEdge

type DirectionalRectEdge uint

Constants that specify an edge or a set of edges, taking the user interface layout direction into account. Full Topic

const (
	DirectionalRectEdgeAll      DirectionalRectEdge = 15
	DirectionalRectEdgeBottom   DirectionalRectEdge = 4
	DirectionalRectEdgeLeading  DirectionalRectEdge = 2
	DirectionalRectEdgeNone     DirectionalRectEdge = 0
	DirectionalRectEdgeTop      DirectionalRectEdge = 1
	DirectionalRectEdgeTrailing DirectionalRectEdge = 8
)

type DisplayGamut

type DisplayGamut int
[Full Topic]
const (
	DisplayGamutP3   DisplayGamut = 2
	DisplayGamutSRGB DisplayGamut = 1
)

type DockTile

type DockTile struct {
	objc.Object
}

The visual representation of your app’s miniaturized windows and app icon as they appear in the Dock. Full Topic

func DockTileFrom

func DockTileFrom(ptr unsafe.Pointer) DockTile

func DockTile_Alloc

func DockTile_Alloc() DockTile

func NewDockTile

func NewDockTile() DockTile

func (DockTile) BadgeLabel

func (d_ DockTile) BadgeLabel() string

The string to be displayed in the tile’s badging area. Full Topic

func (DockTile) ContentView

func (d_ DockTile) ContentView() View

The view to use for drawing the dock tile contents. Full Topic

func (DockTile) Display

func (d_ DockTile) Display()

Redraws the dock tile’s content. Full Topic

func (DockTile) Init

func (d_ DockTile) Init() DockTile

func (DockTile) Owner

func (d_ DockTile) Owner() objc.Object

The object represented by the dock tile. Full Topic

func (DockTile) SetBadgeLabel

func (d_ DockTile) SetBadgeLabel(value string)

The string to be displayed in the tile’s badging area. Full Topic

func (DockTile) SetContentView

func (d_ DockTile) SetContentView(value IView)

The view to use for drawing the dock tile contents. Full Topic

func (DockTile) SetShowsApplicationBadge

func (d_ DockTile) SetShowsApplicationBadge(value bool)

A Boolean showing whether the tile is badged with the application’s icon Full Topic

func (DockTile) ShowsApplicationBadge

func (d_ DockTile) ShowsApplicationBadge() bool

A Boolean showing whether the tile is badged with the application’s icon Full Topic

func (DockTile) Size

func (d_ DockTile) Size() foundation.Size

The size of the tile. Full Topic

type DockTilePlugInWrapper

type DockTilePlugInWrapper struct {
	objc.Object
}

A concrete type wrapper for the PDockTilePlugIn protocol.

func (DockTilePlugInWrapper) DockMenu

func (d_ DockTilePlugInWrapper) DockMenu() Menu

Invoked when the user causes the application's dock menu to be shown. Full Topic

func (DockTilePlugInWrapper) HasDockMenu

func (d_ DockTilePlugInWrapper) HasDockMenu() bool

func (DockTilePlugInWrapper) HasSetDockTile

func (d_ DockTilePlugInWrapper) HasSetDockTile() bool

func (DockTilePlugInWrapper) SetDockTile

func (d_ DockTilePlugInWrapper) SetDockTile(dockTile IDockTile)

Invoked when the plug-in is first loaded and when the application is removed from the Dock. Full Topic

type Document

type Document struct {
	objc.Object
}

An abstract class that defines the interface for macOS documents. Full Topic

func DocumentFrom

func DocumentFrom(ptr unsafe.Pointer) Document

func Document_Alloc

func Document_Alloc() Document

func NewDocument

func NewDocument() Document

func NewDocumentForURLWithContentsOfURLOfTypeError

func NewDocumentForURLWithContentsOfURLOfTypeError(urlOrNil foundation.IURL, contentsURL foundation.IURL, typeName string, outError foundation.IError) Document

Initializes a document with the specified contents, and places the resulting document's file at the designated location. Full Topic

func NewDocumentWithTypeError

func NewDocumentWithTypeError(typeName string, outError foundation.IError) Document

Initializes a document of a specified type. Full Topic

func (Document) AddWindowController

func (d_ Document) AddWindowController(windowController IWindowController)

Adds the specified window controller to the current document. Full Topic

func (Document) AllowsDocumentSharing

func (d_ Document) AllowsDocumentSharing() bool

A Boolean value that indicates whether the document is shareable from the standard Share menu. Full Topic

func (Document) AutosaveDocumentWithDelegateDidAutosaveSelectorContextInfo

func (d_ Document) AutosaveDocumentWithDelegateDidAutosaveSelectorContextInfo(delegate objc.IObject, didAutosaveSelector objc.Selector, contextInfo unsafe.Pointer)

Autosaves the document’s contents to an appropriate location in the file system. Full Topic

func (Document) AutosaveWithImplicitCancellabilityCompletionHandler

func (d_ Document) AutosaveWithImplicitCancellabilityCompletionHandler(autosavingIsImplicitlyCancellable bool, completionHandler func(errorOrNil foundation.Error))

Autosaves the document’s contents to an appropriate file-system location, as needed. Full Topic

func (Document) AutosavedContentsFileURL

func (d_ Document) AutosavedContentsFileURL() foundation.URL

The location of the most recently autosaved document contents. Full Topic

func (Document) AutosavingFileType

func (d_ Document) AutosavingFileType() string

Returns the document type to use for an autosave operation. Full Topic

func (Document) AutosavingIsImplicitlyCancellable

func (d_ Document) AutosavingIsImplicitlyCancellable() bool

Returns a Boolean value that indicates whether you can cancel an in-progress autosave operation. Full Topic

func (Document) BackupFileURL

func (d_ Document) BackupFileURL() foundation.URL

The URL for the document’s backup file that was created during an autosave operation. Full Topic

func (Document) BrowseDocumentVersions

func (d_ Document) BrowseDocumentVersions(sender objc.IObject) objc.Object

Opens the Versions browser in the document’s main window. Full Topic

func (Document) CanAsynchronouslyWriteToURLOfTypeForSaveOperation

func (d_ Document) CanAsynchronouslyWriteToURLOfTypeForSaveOperation(url foundation.IURL, typeName string, saveOperation SaveOperationType) bool

Returns whether the receiver can concurrently write to a file or file package located by a URL, that is formatted for a specific type, for a specific kind of save operation. Full Topic

func (Document) CanCloseDocumentWithDelegateShouldCloseSelectorContextInfo

func (d_ Document) CanCloseDocumentWithDelegateShouldCloseSelectorContextInfo(delegate objc.IObject, shouldCloseSelector objc.Selector, contextInfo unsafe.Pointer)

Determines whether to close the document, prompting the user as needed to choose a course of action. Full Topic

func (Document) ChangeCountTokenForSaveOperation

func (d_ Document) ChangeCountTokenForSaveOperation(saveOperation SaveOperationType) objc.Object

Returns an object that encapsulates the current record of document changes at the beginning of a save operation. Full Topic

func (Document) CheckAutosavingSafetyAndReturnError

func (d_ Document) CheckAutosavingSafetyAndReturnError(outError foundation.IError) bool

Returns a Boolean value that indicates whether it is safe to autosave document changes. Full Topic

func (Document) Close

func (d_ Document) Close()

Closes all of the document's windows and removes the document from its document controller. Full Topic

func (Document) ContinueActivityUsingBlock

func (d_ Document) ContinueActivityUsingBlock(block func())

Continues to perform the task for a user activity object using a different block. Full Topic

func (Document) ContinueAsynchronousWorkOnMainThreadUsingBlock

func (d_ Document) ContinueAsynchronousWorkOnMainThreadUsingBlock(block func())

Invokes the passed-in block on the main thread. Full Topic

func (Document) DataOfTypeError

func (d_ Document) DataOfTypeError(typeName string, outError foundation.IError) []byte

Creates and returns a data object that contains the contents of the document, formatted to a specified type. Full Topic

func (Document) DefaultDraftName

func (d_ Document) DefaultDraftName() string

Returns the default draft name for the document subclass. Full Topic

func (Document) DisplayName

func (d_ Document) DisplayName() string

The name of the document as displayed in the title bars of the document’s windows and in alert dialogs related to the document. Full Topic

func (Document) DuplicateAndReturnError

func (d_ Document) DuplicateAndReturnError(outError foundation.IError) Document

Creates a new document whose contents are the same as the receiver and returns an error object if unsuccessful. Full Topic

func (Document) DuplicateDocument

func (d_ Document) DuplicateDocument(sender objc.IObject) objc.Object

Creates a copy of the receiving document in response to the user choosing Duplicate from the File menu. Full Topic

func (Document) DuplicateDocumentWithDelegateDidDuplicateSelectorContextInfo

func (d_ Document) DuplicateDocumentWithDelegateDidDuplicateSelectorContextInfo(delegate objc.IObject, didDuplicateSelector objc.Selector, contextInfo unsafe.Pointer)

Creates a new document whose contents are the same as the current document. Full Topic

func (Document) EncodeRestorableStateWithCoder

func (d_ Document) EncodeRestorableStateWithCoder(coder foundation.ICoder)

Saves the interface-related state of the document. Full Topic

func (Document) FileAttributesToWriteToURLOfTypeForSaveOperationOriginalContentsURLError

func (d_ Document) FileAttributesToWriteToURLOfTypeForSaveOperationOriginalContentsURLError(url foundation.IURL, typeName string, saveOperation SaveOperationType, absoluteOriginalContentsURL foundation.IURL, outError foundation.IError) map[string]objc.Object

Returns the attributes to write to the file or file package at the specified URL, and targeting the specified type of save operation. Full Topic

func (Document) FileModificationDate

func (d_ Document) FileModificationDate() foundation.Date

The last-known modification date of the document’s on-disk representation. Full Topic

func (Document) FileNameExtensionForTypeSaveOperation

func (d_ Document) FileNameExtensionForTypeSaveOperation(typeName string, saveOperation SaveOperationType) string

Returns a filename extension that can be appended to a base filename, for a specified file type and kind of save operation. Full Topic

func (Document) FileNameExtensionWasHiddenInLastRunSavePanel

func (d_ Document) FileNameExtensionWasHiddenInLastRunSavePanel() bool

A Boolean value that indicates whether the user chose to hide the document's filename extension. Full Topic

func (Document) FileType

func (d_ Document) FileType() string

The name of the document type, as specified in the app’s information property-list file. Full Topic

func (Document) FileTypeFromLastRunSavePanel

func (d_ Document) FileTypeFromLastRunSavePanel() string

The file type that was last selected in the Save panel. Full Topic

func (Document) FileURL

func (d_ Document) FileURL() foundation.URL

The location of the document’s on-disk representation. Full Topic

func (Document) FileWrapperOfTypeError

func (d_ Document) FileWrapperOfTypeError(typeName string, outError foundation.IError) foundation.FileWrapper

Creates and returns a file wrapper that contains the contents of the document, formatted to the specified type. Full Topic

func (Document) HandleCloseScriptCommand

func (d_ Document) HandleCloseScriptCommand(command foundation.ICloseCommand) objc.Object

Handles the Close AppleScript command by attempting to close the document. Full Topic

func (Document) HandlePrintScriptCommand

func (d_ Document) HandlePrintScriptCommand(command foundation.IScriptCommand) objc.Object

Handles the Print AppleScript command by attempting to print the document. Full Topic

func (Document) HandleSaveScriptCommand

func (d_ Document) HandleSaveScriptCommand(command foundation.IScriptCommand) objc.Object

Handles the Save AppleScript command by attempting to save the document. Full Topic

func (Document) HasUnautosavedChanges

func (d_ Document) HasUnautosavedChanges() bool

A Boolean value that indicates whether the document has changes that have not been autosaved. Full Topic

func (Document) HasUndoManager

func (d_ Document) HasUndoManager() bool

A Boolean value that indicates whether the document owns an undo manager object. Full Topic

func (Document) Init

func (d_ Document) Init() Document

func (Document) InitForURLWithContentsOfURLOfTypeError

func (d_ Document) InitForURLWithContentsOfURLOfTypeError(urlOrNil foundation.IURL, contentsURL foundation.IURL, typeName string, outError foundation.IError) Document

func (Document) InitWithTypeError

func (d_ Document) InitWithTypeError(typeName string, outError foundation.IError) Document

func (Document) InvalidateRestorableState

func (d_ Document) InvalidateRestorableState()

Marks the document’s interface-related state as dirty. Full Topic

func (Document) IsBrowsingVersions

func (d_ Document) IsBrowsingVersions() bool

A Boolean value that indicates whether the document is currently displaying the Versions browser. Full Topic

func (Document) IsDocumentEdited

func (d_ Document) IsDocumentEdited() bool

A Boolean value that indicates whether the document has unsaved changes. Full Topic

func (Document) IsDraft

func (d_ Document) IsDraft() bool

A Boolean value that indicates whether the document is a draft that the user has not yet saved. Full Topic

func (Document) IsEntireFileLoaded

func (d_ Document) IsEntireFileLoaded() bool

A Boolean value that indicates whether the document’s file is completely loaded into memory. Full Topic

func (Document) IsInViewingMode

func (d_ Document) IsInViewingMode() bool

A Boolean value that indicates whether the document is in read-only mode. Full Topic

func (Document) IsLocked

func (d_ Document) IsLocked() bool

A Boolean value that indicates whether or not the file can be written to. Full Topic

func (Document) KeepBackupFile

func (d_ Document) KeepBackupFile() bool

A Boolean value that indicates whether the document archives previously saved versions of the document. Full Topic

func (Document) LastComponentOfFileName

func (d_ Document) LastComponentOfFileName() string

The name of the document seen by the user in AppleScript. Full Topic

func (Document) LockDocument

func (d_ Document) LockDocument(sender objc.IObject) objc.Object

Locks the document in response to the user choosing the Lock menu item. Full Topic

func (Document) LockDocumentWithCompletionHandler

func (d_ Document) LockDocumentWithCompletionHandler(completionHandler func(didLock bool))

Prevents the user from making further changes to the document. Full Topic

func (Document) LockWithCompletionHandler

func (d_ Document) LockWithCompletionHandler(completionHandler func(arg0 foundation.Error))

Prevents the user from making changes to the document's file. Full Topic

func (Document) MakeWindowControllers

func (d_ Document) MakeWindowControllers()

Creates the window controller objects that the document uses to display its content. Full Topic

func (Document) MoveDocument

func (d_ Document) MoveDocument(sender objc.IObject) objc.Object

Moves the document to a new location in response to the user choosing the Move To… menu item. Full Topic

func (Document) MoveDocumentToUbiquityContainer

func (d_ Document) MoveDocumentToUbiquityContainer(sender objc.IObject) objc.Object

Moves the document to the user’s iCloud storage. Full Topic

func (Document) MoveDocumentWithCompletionHandler

func (d_ Document) MoveDocumentWithCompletionHandler(completionHandler func(didMove bool))

Moves the document to a user-selected location. Full Topic

func (Document) MoveToURLCompletionHandler

func (d_ Document) MoveToURLCompletionHandler(url foundation.IURL, completionHandler func(arg0 foundation.Error))

Moves the document’s file to the given URL. Full Topic

func (Document) ObjectSpecifier

func (d_ Document) ObjectSpecifier() foundation.ScriptObjectSpecifier

Returns the object specifier that represents the document. Full Topic

func (Document) PDFPrintOperation

func (d_ Document) PDFPrintOperation() PrintOperation

A print operation you can use to create a PDF representation of the document’s current contents. Full Topic

func (Document) PerformActivityWithSynchronousWaitingUsingBlock

func (d_ Document) PerformActivityWithSynchronousWaitingUsingBlock(waitSynchronously bool, block func(arg0 func()))

Waits for any work scheduled by previous invocations of this method to complete, then invokes the passed-in block. Full Topic

func (Document) PerformAsynchronousFileAccessUsingBlock

func (d_ Document) PerformAsynchronousFileAccessUsingBlock(block func(arg0 func()))

Waits for any scheduled file access to complete but without blocking the main thread, then invokes the passed-in block. Full Topic

func (Document) PerformSynchronousFileAccessUsingBlock

func (d_ Document) PerformSynchronousFileAccessUsingBlock(block func())

Waits for any scheduled file access to complete, then invokes the passed-in block. Full Topic

func (Document) PreparePageLayout

func (d_ Document) PreparePageLayout(pageLayout IPageLayout) bool

Adds document-specific content to the Page Layout panel. Full Topic

func (Document) PrepareSavePanel

func (d_ Document) PrepareSavePanel(savePanel ISavePanel) bool

Tells the document to customize the specified Save panel. Full Topic

func (Document) PrepareSharingServicePicker

func (d_ Document) PrepareSharingServicePicker(sharingServicePicker ISharingServicePicker)

Perform any custom setup associated with a sharing service picker. Full Topic

func (Document) PresentError

func (d_ Document) PresentError(error foundation.IError) bool

Presents an error alert to the user as a modal panel. Full Topic

func (Document) PrintDocument

func (d_ Document) PrintDocument(sender objc.IObject) objc.Object

Prints the receiver in response to the user choosing the Print menu command. Full Topic

func (Document) PrintDocumentWithSettingsShowPrintPanelDelegateDidPrintSelectorContextInfo

func (d_ Document) PrintDocumentWithSettingsShowPrintPanelDelegateDidPrintSelectorContextInfo(printSettings map[PrintInfoAttributeKey]objc.IObject, showPrintPanel bool, delegate objc.IObject, didPrintSelector objc.Selector, contextInfo unsafe.Pointer)

Prints the document's contents, optionally displaying a print panel to the user. Full Topic

func (Document) PrintInfo

func (d_ Document) PrintInfo() PrintInfo

The printing information associated with the document. Full Topic

func (Document) PrintOperationWithSettingsError

func (d_ Document) PrintOperationWithSettingsError(printSettings map[PrintInfoAttributeKey]objc.IObject, outError foundation.IError) PrintOperation

Creates and returns a print operation for the document's contents. Full Topic

func (Document) ReadFromDataOfTypeError

func (d_ Document) ReadFromDataOfTypeError(data []byte, typeName string, outError foundation.IError) bool

Sets the contents of this document by reading from data of a specified type. Full Topic

func (Document) ReadFromFileWrapperOfTypeError

func (d_ Document) ReadFromFileWrapperOfTypeError(fileWrapper foundation.IFileWrapper, typeName string, outError foundation.IError) bool

Sets the contents of this document by reading from a file wrapper of a specified type. Full Topic

func (Document) ReadFromURLOfTypeError

func (d_ Document) ReadFromURLOfTypeError(url foundation.IURL, typeName string, outError foundation.IError) bool

Sets the contents of this document by reading from a file or file package, of a specified type, located by a URL. Full Topic

func (Document) RemoveWindowController

func (d_ Document) RemoveWindowController(windowController IWindowController)

Removes the specified window controller from the receiver’s array of window controllers. Full Topic

func (Document) RenameDocument

func (d_ Document) RenameDocument(sender objc.IObject) objc.Object

Renames the current document in response to the user choosing the Rename menu item. Full Topic

func (Document) RestoreDocumentWindowWithIdentifierStateCompletionHandler

func (d_ Document) RestoreDocumentWindowWithIdentifierStateCompletionHandler(identifier UserInterfaceItemIdentifier, state foundation.ICoder, completionHandler func(arg0 Window, arg1 foundation.Error))

Restores a window that was associated with a document, after that document is reopened. Full Topic

func (Document) RestoreStateWithCoder

func (d_ Document) RestoreStateWithCoder(coder foundation.ICoder)

Restores the interface-related state of the document. Full Topic

func (Document) RevertDocumentToSaved

func (d_ Document) RevertDocumentToSaved(sender objc.IObject) objc.Object

The action of the File menu item Revert in a document-based app. Full Topic

func (Document) RevertToContentsOfURLOfTypeError

func (d_ Document) RevertToContentsOfURLOfTypeError(url foundation.IURL, typeName string, outError foundation.IError) bool

Discards all unsaved document modifications and replaces the document’s contents by reading a file or file package located by a URL of a specified type. Full Topic

func (Document) RunModalPrintOperationDelegateDidRunSelectorContextInfo

func (d_ Document) RunModalPrintOperationDelegateDidRunSelectorContextInfo(printOperation IPrintOperation, delegate objc.IObject, didRunSelector objc.Selector, contextInfo unsafe.Pointer)

Runs the specified print operation modally. Full Topic

func (Document) RunModalSavePanelForSaveOperationDelegateDidSaveSelectorContextInfo

func (d_ Document) RunModalSavePanelForSaveOperationDelegateDidSaveSelectorContextInfo(saveOperation SaveOperationType, delegate objc.IObject, didSaveSelector objc.Selector, contextInfo unsafe.Pointer)

Presents a modal Save panel to the user, then tries to save the document if the user approves the operation. Full Topic

func (Document) RunPageLayout

func (d_ Document) RunPageLayout(sender objc.IObject) objc.Object

The action method invoked in the receiver as first responder when the user chooses the Page Setup menu command. Full Topic

func (Document) SaveDocument

func (d_ Document) SaveDocument(sender objc.IObject) objc.Object

The action method invoked in the receiver as first responder when the user chooses the Save menu command. Full Topic

func (Document) SaveDocumentAs

func (d_ Document) SaveDocumentAs(sender objc.IObject) objc.Object

The action method invoked in the receiver as first responder when the user chooses the Save As menu command. Full Topic

func (Document) SaveDocumentTo

func (d_ Document) SaveDocumentTo(sender objc.IObject) objc.Object

The action method invoked in the receiver as first responder when the user chooses the Save To menu command. Full Topic

func (Document) SaveDocumentToPDF

func (d_ Document) SaveDocumentToPDF(sender objc.IObject) objc.Object

Exports a PDF representation of the document’s current contents. Full Topic

func (Document) SaveDocumentWithDelegateDidSaveSelectorContextInfo

func (d_ Document) SaveDocumentWithDelegateDidSaveSelectorContextInfo(delegate objc.IObject, didSaveSelector objc.Selector, contextInfo unsafe.Pointer)

Saves the document and delivers the results to the provided delegate object. Full Topic

func (Document) ScheduleAutosaving

func (d_ Document) ScheduleAutosaving()

Schedules periodic autosaving for the purpose of crash protection. Full Topic

func (Document) SetAutosavedContentsFileURL

func (d_ Document) SetAutosavedContentsFileURL(value foundation.IURL)

The location of the most recently autosaved document contents. Full Topic

func (Document) SetDisplayName

func (d_ Document) SetDisplayName(displayNameOrNil string)

Sets the name of this document for presentation to the user. Full Topic

func (Document) SetDraft

func (d_ Document) SetDraft(value bool)

A Boolean value that indicates whether the document is a draft that the user has not yet saved. Full Topic

func (Document) SetFileModificationDate

func (d_ Document) SetFileModificationDate(value foundation.IDate)

The last-known modification date of the document’s on-disk representation. Full Topic

func (Document) SetFileType

func (d_ Document) SetFileType(value string)

The name of the document type, as specified in the app’s information property-list file. Full Topic

func (Document) SetFileURL

func (d_ Document) SetFileURL(value foundation.IURL)

The location of the document’s on-disk representation. Full Topic

func (Document) SetHasUndoManager

func (d_ Document) SetHasUndoManager(value bool)

A Boolean value that indicates whether the document owns an undo manager object. Full Topic

func (Document) SetLastComponentOfFileName

func (d_ Document) SetLastComponentOfFileName(value string)

The name of the document seen by the user in AppleScript. Full Topic

func (Document) SetPrintInfo

func (d_ Document) SetPrintInfo(value IPrintInfo)

The printing information associated with the document. Full Topic

func (Document) SetUndoManager

func (d_ Document) SetUndoManager(value foundation.IUndoManager)

The object that the document uses to support undo/redo operations. Full Topic

func (Document) SetUserActivity

func (d_ Document) SetUserActivity(value foundation.IUserActivity)

An object that encapsulates a user activity supported by this document. Full Topic

func (Document) SetWindow

func (d_ Document) SetWindow(window IWindow)

Sets the window outlet of this document to the specified value. Full Topic

func (Document) ShareDocumentWithSharingServiceCompletionHandler

func (d_ Document) ShareDocumentWithSharingServiceCompletionHandler(sharingService ISharingService, completionHandler func(success bool))

Share the document's file using the specified sharing service. Full Topic

func (Document) ShouldChangePrintInfo

func (d_ Document) ShouldChangePrintInfo(newPrintInfo IPrintInfo) bool

Returns a Boolean value that indicates whether the document allows changes to the default printing information. Full Topic

func (Document) ShouldCloseWindowControllerDelegateShouldCloseSelectorContextInfo

func (d_ Document) ShouldCloseWindowControllerDelegateShouldCloseSelectorContextInfo(windowController IWindowController, delegate objc.IObject, shouldCloseSelector objc.Selector, contextInfo unsafe.Pointer)

Determines whether the system should close the document and its associated window. Full Topic

func (Document) ShouldRunSavePanelWithAccessoryView

func (d_ Document) ShouldRunSavePanelWithAccessoryView() bool

A Boolean value that indicates whether the document’s Save panel displays a list of supported writable document types. Full Topic

func (Document) ShowWindows

func (d_ Document) ShowWindows()

Displays all of the document’s windows, bringing them to the front and making them main or key as necessary. Full Topic

func (Document) StopBrowsingVersionsWithCompletionHandler

func (d_ Document) StopBrowsingVersionsWithCompletionHandler(completionHandler func())

Dismiss the Versions browser for the current document. Full Topic

func (Document) UnblockUserInteraction

func (d_ Document) UnblockUserInteraction()

Unblocks the main thread during asynchronous saving. Full Topic

func (Document) UndoManager

func (d_ Document) UndoManager() foundation.UndoManager

The object that the document uses to support undo/redo operations. Full Topic

func (Document) UnlockDocument

func (d_ Document) UnlockDocument(sender objc.IObject) objc.Object

Unlocks the document in response to the user choosing the Unlock menu item. Full Topic

func (Document) UnlockDocumentWithCompletionHandler

func (d_ Document) UnlockDocumentWithCompletionHandler(completionHandler func(didUnlock bool))

Allows the user to make modifications to the document. Full Topic

func (Document) UnlockWithCompletionHandler

func (d_ Document) UnlockWithCompletionHandler(completionHandler func(arg0 foundation.Error))

Allows the user to make modifications to the document's file. Full Topic

func (Document) UpdateChangeCount

func (d_ Document) UpdateChangeCount(change DocumentChangeType)

Updates the receiver’s change count according to the given change type. Full Topic

func (Document) UpdateChangeCountWithTokenForSaveOperation

func (d_ Document) UpdateChangeCountWithTokenForSaveOperation(changeCountToken objc.IObject, saveOperation SaveOperationType)

Updates the document's change count settings after a successful save operation. Full Topic

func (Document) UpdateUserActivityState

func (d_ Document) UpdateUserActivityState(activity foundation.IUserActivity)

Updates the state of the given user activity. Full Topic

func (Document) UserActivity

func (d_ Document) UserActivity() foundation.UserActivity

An object that encapsulates a user activity supported by this document. Full Topic

func (Document) ValidateUserInterfaceItem

func (d_ Document) ValidateUserInterfaceItem(item PValidatedUserInterfaceItem) bool

Validates the specified user interface item that the receiver manages. Full Topic

func (Document) ValidateUserInterfaceItemObject

func (d_ Document) ValidateUserInterfaceItemObject(itemObject objc.IObject) bool

Validates the specified user interface item that the receiver manages. Full Topic

func (Document) WillNotPresentError

func (d_ Document) WillNotPresentError(error foundation.IError)

Confirms that the error object is not to be presented to the user and the error cannot be recovered from, so cleanup can be done. Full Topic

func (Document) WillPresentError

func (d_ Document) WillPresentError(error foundation.IError) foundation.Error

Called when the receiver is about to present an error. Full Topic

func (Document) WindowControllerDidLoadNib

func (d_ Document) WindowControllerDidLoadNib(windowController IWindowController)

Called after one of the document's window controllers loads its nib file. Full Topic

func (Document) WindowControllerWillLoadNib

func (d_ Document) WindowControllerWillLoadNib(windowController IWindowController)

Called before one of the document's window controllers loads its nib file. Full Topic

func (Document) WindowControllers

func (d_ Document) WindowControllers() []WindowController

The document’s current window controllers. Full Topic

func (Document) WindowForSheet

func (d_ Document) WindowForSheet() Window

Returns the document window to use as the parent of a document-modal sheet. Full Topic

func (Document) WindowNibName

func (d_ Document) WindowNibName() NibName

The name of the document’s sole nib file. Full Topic

func (Document) WritableTypesForSaveOperation

func (d_ Document) WritableTypesForSaveOperation(saveOperation SaveOperationType) []string

Returns the names of the types to which this document can be saved for a specified kind of save operation. Full Topic

func (Document) WriteSafelyToURLOfTypeForSaveOperationError

func (d_ Document) WriteSafelyToURLOfTypeForSaveOperationError(url foundation.IURL, typeName string, saveOperation SaveOperationType, outError foundation.IError) bool

Writes the contents of the document to a file or file package located by a URL. Full Topic

func (Document) WriteToURLOfTypeForSaveOperationOriginalContentsURLError

func (d_ Document) WriteToURLOfTypeForSaveOperationOriginalContentsURLError(url foundation.IURL, typeName string, saveOperation SaveOperationType, absoluteOriginalContentsURL foundation.IURL, outError foundation.IError) bool

Writes the contents of the document to a file or file package located by a URL. Full Topic

type DocumentChangeType

type DocumentChangeType uint

Values that indicate a document’s edit status. Full Topic

const (
	ChangeAutosaved         DocumentChangeType = 4
	ChangeCleared           DocumentChangeType = 2
	ChangeDiscardable       DocumentChangeType = 256
	ChangeDone              DocumentChangeType = 0
	ChangeReadOtherContents DocumentChangeType = 3
	ChangeRedone            DocumentChangeType = 5
	ChangeUndone            DocumentChangeType = 1
)

type DocumentController

type DocumentController struct {
	objc.Object
}

An object that manages an app’s documents. Full Topic

func DocumentControllerFrom

func DocumentControllerFrom(ptr unsafe.Pointer) DocumentController

func DocumentController_Alloc

func DocumentController_Alloc() DocumentController

func DocumentController_SharedDocumentController

func DocumentController_SharedDocumentController() DocumentController

Returns the shared NSDocumentController instance. Full Topic

func NewDocumentController

func NewDocumentController() DocumentController

func (DocumentController) AddDocument

func (d_ DocumentController) AddDocument(document IDocument)

Adds the given document to the list of open documents. Full Topic

func (DocumentController) AllowsAutomaticShareMenu

func (d_ DocumentController) AllowsAutomaticShareMenu() bool

A Boolean value that the system uses to insert a Share menu in the File menu. Full Topic

func (DocumentController) AutosavingDelay

func (d_ DocumentController) AutosavingDelay() foundation.TimeInterval

The time interval (in seconds) for periodic autosaving. Full Topic

func (DocumentController) BeginOpenPanelForTypesCompletionHandler

func (d_ DocumentController) BeginOpenPanelForTypesCompletionHandler(openPanel IOpenPanel, inTypes []string, completionHandler func(result int))

Presents a nonmodal Open dialog that displays files you can open from a list of UTIs. Full Topic

func (DocumentController) BeginOpenPanelWithCompletionHandler

func (d_ DocumentController) BeginOpenPanelWithCompletionHandler(completionHandler func(arg0 []foundation.URL))

Presents an Open dialog and delivers the results to a completion handler as an array of URLs for the chosen files (or nil). Full Topic

func (DocumentController) ClearRecentDocuments

func (d_ DocumentController) ClearRecentDocuments(sender objc.IObject) objc.Object

Empties the recent documents list for the application. Full Topic

func (DocumentController) CloseAllDocumentsWithDelegateDidCloseAllSelectorContextInfo

func (d_ DocumentController) CloseAllDocumentsWithDelegateDidCloseAllSelectorContextInfo(delegate objc.IObject, didCloseAllSelector objc.Selector, contextInfo unsafe.Pointer)

Iterates through all the open documents and tries to close them one by one using the specified delegate. Full Topic

func (DocumentController) CurrentDirectory

func (d_ DocumentController) CurrentDirectory() string

The directory path to be used as the starting point in the Open panel. Full Topic

func (DocumentController) CurrentDocument

func (d_ DocumentController) CurrentDocument() Document

The document object associated with the main window. Full Topic

func (DocumentController) DefaultType

func (d_ DocumentController) DefaultType() string

Returns the name of the document type that should be used when creating new documents. Full Topic

func (DocumentController) DisplayNameForType

func (d_ DocumentController) DisplayNameForType(typeName string) string

Returns the descriptive name for the specified document type, which is used in the File Format pop-up menu of the Save As dialog. Full Topic

func (DocumentController) DocumentClassForType

func (d_ DocumentController) DocumentClassForType(typeName string) objc.Class

Returns the NSDocument subclass associated with a given document type. Full Topic

func (DocumentController) DocumentClassNames

func (d_ DocumentController) DocumentClassNames() []string

An array of strings representing the custom document classes supported by this app. Full Topic

func (DocumentController) DocumentForURL

func (d_ DocumentController) DocumentForURL(url foundation.IURL) Document

Returns, for a given URL, the open document whose file or file package is located by the URL, or nil if there is no such open document. Full Topic

func (DocumentController) DocumentForWindow

func (d_ DocumentController) DocumentForWindow(window IWindow) Document

Returns the document object whose window controller owns a specified window. Full Topic

func (DocumentController) Documents

func (d_ DocumentController) Documents() []Document

The document objects managed by the receiver. Full Topic

func (DocumentController) DuplicateDocumentWithContentsOfURLCopyingDisplayNameError

func (d_ DocumentController) DuplicateDocumentWithContentsOfURLCopyingDisplayNameError(url foundation.IURL, duplicateByCopying bool, displayNameOrNil string, outError foundation.IError) Document

Creates a new document by reading the contents for the document from another URL, presents its user interface, and returns the document if successful. Full Topic

func (DocumentController) HasEditedDocuments

func (d_ DocumentController) HasEditedDocuments() bool

A Boolean value indicating whether the receiver has any documents with unsaved changes. Full Topic

func (DocumentController) Init

func (DocumentController) MakeDocumentForURLWithContentsOfURLOfTypeError

func (d_ DocumentController) MakeDocumentForURLWithContentsOfURLOfTypeError(urlOrNil foundation.IURL, contentsURL foundation.IURL, typeName string, outError foundation.IError) Document

Instantiates a document located by a URL, of a specified type, but by reading the contents for the document from another URL, and returns it if successful. Full Topic

func (DocumentController) MaximumRecentDocumentCount

func (d_ DocumentController) MaximumRecentDocumentCount() uint

The maximum number of items that may be presented in the standard Open Recent menu. Full Topic

func (DocumentController) NewDocument

func (d_ DocumentController) NewDocument(sender objc.IObject) objc.Object

An action method called by the New menu command, this method creates a new NSDocument object and adds it to the list of such objects managed by the document controller. Full Topic

func (DocumentController) NoteNewRecentDocument

func (d_ DocumentController) NoteNewRecentDocument(document IDocument)

Adds or replaces an Open Recent menu item corresponding to the document. Full Topic

func (DocumentController) NoteNewRecentDocumentURL

func (d_ DocumentController) NoteNewRecentDocumentURL(url foundation.IURL)

Adds or replaces an Open Recent menu item corresponding to the data located by the URL. Full Topic

func (DocumentController) OpenDocument

func (d_ DocumentController) OpenDocument(sender objc.IObject) objc.Object

An action method called by the Open menu command, it runs the modal Open panel and, based on the selected filenames, creates one or more NSDocument objects from the contents of the files. Full Topic

func (DocumentController) OpenUntitledDocumentAndDisplayError

func (d_ DocumentController) OpenUntitledDocumentAndDisplayError(displayDocument bool, outError foundation.IError) Document

Creates a new untitled document, presents its user interface if displayDocument is YES, and returns the document if successful. Full Topic

func (DocumentController) PresentError

func (d_ DocumentController) PresentError(error foundation.IError) bool

Presents an error alert to the user as a modal panel. Full Topic

func (DocumentController) RecentDocumentURLs

func (d_ DocumentController) RecentDocumentURLs() []foundation.URL

The list of recent-document URLs. Full Topic

func (DocumentController) RemoveDocument

func (d_ DocumentController) RemoveDocument(document IDocument)

Removes the given document from the list of open documents. Full Topic

func (DocumentController) ReviewUnsavedDocumentsWithAlertTitleCancellableDelegateDidReviewAllSelectorContextInfo

func (d_ DocumentController) ReviewUnsavedDocumentsWithAlertTitleCancellableDelegateDidReviewAllSelectorContextInfo(title string, cancellable bool, delegate objc.IObject, didReviewAllSelector objc.Selector, contextInfo unsafe.Pointer)

Displays an alert asking if the user wants to review unsaved documents, quit regardless of unsaved documents, or cancel the save operation. Full Topic

func (DocumentController) RunModalOpenPanelForTypes

func (d_ DocumentController) RunModalOpenPanelForTypes(openPanel IOpenPanel, types []string) int

Presents a modal Open dialog and limits selection to specific file types. Full Topic

func (DocumentController) SaveAllDocuments

func (d_ DocumentController) SaveAllDocuments(sender objc.IObject) objc.Object

As the action method called by the Save All command, saves all open documents of the application that need to be saved. Full Topic

func (DocumentController) SetAutosavingDelay

func (d_ DocumentController) SetAutosavingDelay(value foundation.TimeInterval)

The time interval (in seconds) for periodic autosaving. Full Topic

func (DocumentController) StandardShareMenuItem

func (d_ DocumentController) StandardShareMenuItem() MenuItem

Returns a menu item that your app uses for sharing the current document. Full Topic

func (DocumentController) TypeForContentsOfURLError

func (d_ DocumentController) TypeForContentsOfURLError(url foundation.IURL, outError foundation.IError) string

Returns, for a specified URL, the document type identifier to use when opening the document at that location, if successful. Full Topic

func (DocumentController) URLsFromRunningOpenPanel

func (d_ DocumentController) URLsFromRunningOpenPanel() []foundation.URL

An array of URLs corresponding to the files selected in a running open panel. Full Topic

func (DocumentController) ValidateUserInterfaceItem

func (d_ DocumentController) ValidateUserInterfaceItem(item PValidatedUserInterfaceItem) bool

Returns a Boolean value that indicates whether a given user interface item should be enabled. Full Topic

func (DocumentController) ValidateUserInterfaceItemObject

func (d_ DocumentController) ValidateUserInterfaceItemObject(itemObject objc.IObject) bool

Returns a Boolean value that indicates whether a given user interface item should be enabled. Full Topic

func (DocumentController) WillPresentError

func (d_ DocumentController) WillPresentError(error foundation.IError) foundation.Error

Indicates an error condition and provides the opportunity to return the same or a different error. Full Topic

type DragOperation

type DragOperation uint

A group of constants that represent which operations the dragging source can perform on dragging items. Full Topic

const (
	DragOperationAll_Obsolete DragOperation = 15
	DragOperationCopy         DragOperation = 1
	DragOperationDelete       DragOperation = 32
	DragOperationEvery        DragOperation = math.MaxUint
	DragOperationGeneric      DragOperation = 4
	DragOperationLink         DragOperation = 2
	DragOperationMove         DragOperation = 16
	DragOperationNone         DragOperation = 0
	DragOperationPrivate      DragOperation = 8
)

type DraggingContext

type DraggingContext int

Constants that specify whether a drag terminates within or outside the application. Full Topic

const (
	DraggingContextOutsideApplication DraggingContext = 0
	DraggingContextWithinApplication  DraggingContext = 1
)

type DraggingDestinationWrapper

type DraggingDestinationWrapper struct {
	objc.Object
}

A concrete type wrapper for the PDraggingDestination protocol.

func (DraggingDestinationWrapper) ConcludeDragOperation

func (d_ DraggingDestinationWrapper) ConcludeDragOperation(sender PDraggingInfo)

Invoked when the dragging operation is complete, signaling the receiver to perform any necessary clean-up. Full Topic

func (DraggingDestinationWrapper) DraggingEnded

func (d_ DraggingDestinationWrapper) DraggingEnded(sender PDraggingInfo)

Called when a drag operation ends. Full Topic

func (DraggingDestinationWrapper) DraggingEntered

func (d_ DraggingDestinationWrapper) DraggingEntered(sender PDraggingInfo) DragOperation

Invoked when the dragged image enters destination bounds or frame; delegate returns dragging operation to perform. Full Topic

func (DraggingDestinationWrapper) DraggingExited

func (d_ DraggingDestinationWrapper) DraggingExited(sender PDraggingInfo)

Invoked when the dragged image exits the destination’s bounds rectangle (in the case of a view object) or its frame rectangle (in the case of a window object). Full Topic

func (DraggingDestinationWrapper) DraggingUpdated

func (d_ DraggingDestinationWrapper) DraggingUpdated(sender PDraggingInfo) DragOperation

Invoked periodically as the image is held within the destination area, allowing modification of the dragging operation or mouse-pointer position. Full Topic

func (DraggingDestinationWrapper) HasConcludeDragOperation

func (d_ DraggingDestinationWrapper) HasConcludeDragOperation() bool

func (DraggingDestinationWrapper) HasDraggingEnded

func (d_ DraggingDestinationWrapper) HasDraggingEnded() bool

func (DraggingDestinationWrapper) HasDraggingEntered

func (d_ DraggingDestinationWrapper) HasDraggingEntered() bool

func (DraggingDestinationWrapper) HasDraggingExited

func (d_ DraggingDestinationWrapper) HasDraggingExited() bool

func (DraggingDestinationWrapper) HasDraggingUpdated

func (d_ DraggingDestinationWrapper) HasDraggingUpdated() bool

func (DraggingDestinationWrapper) HasPerformDragOperation

func (d_ DraggingDestinationWrapper) HasPerformDragOperation() bool

func (DraggingDestinationWrapper) HasPrepareForDragOperation

func (d_ DraggingDestinationWrapper) HasPrepareForDragOperation() bool

func (DraggingDestinationWrapper) HasUpdateDraggingItemsForDrag

func (d_ DraggingDestinationWrapper) HasUpdateDraggingItemsForDrag() bool

func (DraggingDestinationWrapper) HasWantsPeriodicDraggingUpdates

func (d_ DraggingDestinationWrapper) HasWantsPeriodicDraggingUpdates() bool

func (DraggingDestinationWrapper) PerformDragOperation

func (d_ DraggingDestinationWrapper) PerformDragOperation(sender PDraggingInfo) bool

Invoked after the released image has been removed from the screen, signaling the receiver to import the pasteboard data. Full Topic

func (DraggingDestinationWrapper) PrepareForDragOperation

func (d_ DraggingDestinationWrapper) PrepareForDragOperation(sender PDraggingInfo) bool

Invoked when the image is released, allowing the receiver to agree to or refuse drag operation. Full Topic

func (DraggingDestinationWrapper) UpdateDraggingItemsForDrag

func (d_ DraggingDestinationWrapper) UpdateDraggingItemsForDrag(sender PDraggingInfo)

Invoked when the dragging images should be changed. Full Topic

func (DraggingDestinationWrapper) WantsPeriodicDraggingUpdates

func (d_ DraggingDestinationWrapper) WantsPeriodicDraggingUpdates() bool

Asks the destination object whether it wants to receive periodic draggingUpdated: messages. Full Topic

type DraggingFormation

type DraggingFormation int

Constants that control the visual format of multiple dragging items. Full Topic

const (
	DraggingFormationDefault DraggingFormation = 0
	DraggingFormationList    DraggingFormation = 3
	DraggingFormationNone    DraggingFormation = 1
	DraggingFormationPile    DraggingFormation = 2
	DraggingFormationStack   DraggingFormation = 4
)

type DraggingImageComponent

type DraggingImageComponent struct {
	objc.Object
}

A single object in a dragging item. Full Topic

func DraggingImageComponentFrom

func DraggingImageComponentFrom(ptr unsafe.Pointer) DraggingImageComponent

func DraggingImageComponent_Alloc

func DraggingImageComponent_Alloc() DraggingImageComponent

func DraggingImageComponent_DraggingImageComponentWithKey

func DraggingImageComponent_DraggingImageComponentWithKey(key DraggingImageComponentKey) DraggingImageComponent

Creates and returns a dragging image component with the specified key. Full Topic

func NewDraggingImageComponent

func NewDraggingImageComponent() DraggingImageComponent

func NewDraggingImageComponentWithKey

func NewDraggingImageComponentWithKey(key DraggingImageComponentKey) DraggingImageComponent

Initializes and returns a dragging image component with the specified key. Full Topic

func (DraggingImageComponent) Contents

func (d_ DraggingImageComponent) Contents() objc.Object

An object providing the image contents of the component. Full Topic

func (DraggingImageComponent) Frame

The coordinate space is the bounds of the parent dragging item. Full Topic

func (DraggingImageComponent) Init

func (DraggingImageComponent) InitWithKey

func (DraggingImageComponent) Key

The unique name of this image component instance. Full Topic

func (DraggingImageComponent) SetContents

func (d_ DraggingImageComponent) SetContents(value objc.IObject)

An object providing the image contents of the component. Full Topic

func (DraggingImageComponent) SetFrame

func (d_ DraggingImageComponent) SetFrame(value foundation.Rect)

The coordinate space is the bounds of the parent dragging item. Full Topic

func (DraggingImageComponent) SetKey

The unique name of this image component instance. Full Topic

type DraggingImageComponentKey

type DraggingImageComponentKey string

Keys that identify components of a dragging image. Full Topic

const (
	DraggingImageComponentIconKey  DraggingImageComponentKey = "icon"
	DraggingImageComponentLabelKey DraggingImageComponentKey = "label"
)

type DraggingInfoWrapper

type DraggingInfoWrapper struct {
	objc.Object
}

A concrete type wrapper for the PDraggingInfo protocol.

func (DraggingInfoWrapper) AnimatesToDestination

func (d_ DraggingInfoWrapper) AnimatesToDestination() bool

A Boolean value that indicates whether the dragging formation animates while the drag is over the destination. Full Topic

func (DraggingInfoWrapper) DraggedImageLocation

func (d_ DraggingInfoWrapper) DraggedImageLocation() foundation.Point

The current location of the dragged image’s origin, in the base coordinate system of the destination object’s window. Full Topic

func (DraggingInfoWrapper) DraggingDestinationWindow

func (d_ DraggingInfoWrapper) DraggingDestinationWindow() Window

The destination window for the dragging operation. Full Topic

func (DraggingInfoWrapper) DraggingFormation

func (d_ DraggingInfoWrapper) DraggingFormation() DraggingFormation

The formation of the dragging items while the drag is over the destination. Full Topic

func (DraggingInfoWrapper) DraggingLocation

func (d_ DraggingInfoWrapper) DraggingLocation() foundation.Point

The current location of the mouse pointer in the base coordinate system of the destination object’s window. Full Topic

func (DraggingInfoWrapper) DraggingPasteboard

func (d_ DraggingInfoWrapper) DraggingPasteboard() Pasteboard

The pasteboard object that holds the dragged data. Full Topic

func (DraggingInfoWrapper) DraggingSequenceNumber

func (d_ DraggingInfoWrapper) DraggingSequenceNumber() int

A number that uniquely identifies the dragging session. Full Topic

func (DraggingInfoWrapper) DraggingSource

func (d_ DraggingInfoWrapper) DraggingSource() objc.Object

The source, or owner, of the dragged data. Full Topic

func (DraggingInfoWrapper) DraggingSourceOperationMask

func (d_ DraggingInfoWrapper) DraggingSourceOperationMask() DragOperation

Information about the dragging operation and the data it contains. Full Topic

func (DraggingInfoWrapper) EnumerateDraggingItemsWithOptionsForViewClassesSearchOptionsUsingBlock

func (d_ DraggingInfoWrapper) EnumerateDraggingItemsWithOptionsForViewClassesSearchOptionsUsingBlock(enumOpts DraggingItemEnumerationOptions, view IView, classArray []objc.IClass, searchOptions map[PasteboardReadingOptionKey]objc.IObject, block func(draggingItem DraggingItem, idx int, stop *bool))

Enumerates through each dragging item. Full Topic

func (DraggingInfoWrapper) HasAnimatesToDestination

func (d_ DraggingInfoWrapper) HasAnimatesToDestination() bool

func (DraggingInfoWrapper) HasDraggedImageLocation

func (d_ DraggingInfoWrapper) HasDraggedImageLocation() bool

func (DraggingInfoWrapper) HasDraggingDestinationWindow

func (d_ DraggingInfoWrapper) HasDraggingDestinationWindow() bool

func (DraggingInfoWrapper) HasDraggingFormation

func (d_ DraggingInfoWrapper) HasDraggingFormation() bool

func (DraggingInfoWrapper) HasDraggingLocation

func (d_ DraggingInfoWrapper) HasDraggingLocation() bool

func (DraggingInfoWrapper) HasDraggingPasteboard

func (d_ DraggingInfoWrapper) HasDraggingPasteboard() bool

func (DraggingInfoWrapper) HasDraggingSequenceNumber

func (d_ DraggingInfoWrapper) HasDraggingSequenceNumber() bool

func (DraggingInfoWrapper) HasDraggingSource

func (d_ DraggingInfoWrapper) HasDraggingSource() bool

func (DraggingInfoWrapper) HasDraggingSourceOperationMask

func (d_ DraggingInfoWrapper) HasDraggingSourceOperationMask() bool

func (DraggingInfoWrapper) HasEnumerateDraggingItemsWithOptionsForViewClassesSearchOptionsUsingBlock

func (d_ DraggingInfoWrapper) HasEnumerateDraggingItemsWithOptionsForViewClassesSearchOptionsUsingBlock() bool

func (DraggingInfoWrapper) HasNumberOfValidItemsForDrop

func (d_ DraggingInfoWrapper) HasNumberOfValidItemsForDrop() bool

func (DraggingInfoWrapper) HasResetSpringLoading

func (d_ DraggingInfoWrapper) HasResetSpringLoading() bool

func (DraggingInfoWrapper) HasSetAnimatesToDestination

func (d_ DraggingInfoWrapper) HasSetAnimatesToDestination() bool

func (DraggingInfoWrapper) HasSetDraggingFormation

func (d_ DraggingInfoWrapper) HasSetDraggingFormation() bool

func (DraggingInfoWrapper) HasSetNumberOfValidItemsForDrop

func (d_ DraggingInfoWrapper) HasSetNumberOfValidItemsForDrop() bool

func (DraggingInfoWrapper) HasSlideDraggedImageTo

func (d_ DraggingInfoWrapper) HasSlideDraggedImageTo() bool

func (DraggingInfoWrapper) HasSpringLoadingHighlight

func (d_ DraggingInfoWrapper) HasSpringLoadingHighlight() bool

func (DraggingInfoWrapper) NumberOfValidItemsForDrop

func (d_ DraggingInfoWrapper) NumberOfValidItemsForDrop() int

The number of valid items for a drop operation. Full Topic

func (DraggingInfoWrapper) ResetSpringLoading

func (d_ DraggingInfoWrapper) ResetSpringLoading()

Resets a spring-loading operation to its initial state. Full Topic

func (DraggingInfoWrapper) SetAnimatesToDestination

func (d_ DraggingInfoWrapper) SetAnimatesToDestination(value bool)

A Boolean value that indicates whether the dragging formation animates while the drag is over the destination. Full Topic

func (DraggingInfoWrapper) SetDraggingFormation

func (d_ DraggingInfoWrapper) SetDraggingFormation(value DraggingFormation)

The formation of the dragging items while the drag is over the destination. Full Topic

func (DraggingInfoWrapper) SetNumberOfValidItemsForDrop

func (d_ DraggingInfoWrapper) SetNumberOfValidItemsForDrop(value int)

The number of valid items for a drop operation. Full Topic

func (DraggingInfoWrapper) SlideDraggedImageTo

func (d_ DraggingInfoWrapper) SlideDraggedImageTo(screenPoint foundation.Point)

Slides the image to a specified location. Full Topic

func (DraggingInfoWrapper) SpringLoadingHighlight

func (d_ DraggingInfoWrapper) SpringLoadingHighlight() SpringLoadingHighlight

A highlighting style for your app’s user interface to display during a spring-loading operation. Full Topic

type DraggingItem

type DraggingItem struct {
	objc.Object
}

A single dragged item within a dragging session. Full Topic

func DraggingItemFrom

func DraggingItemFrom(ptr unsafe.Pointer) DraggingItem

func DraggingItem_Alloc

func DraggingItem_Alloc() DraggingItem

func NewDraggingItem

func NewDraggingItem() DraggingItem

func NewDraggingItemWithPasteboardWriter

func NewDraggingItemWithPasteboardWriter(pasteboardWriter PPasteboardWriting) DraggingItem

Creates and returns a dragging item using the specified content. Full Topic

func (DraggingItem) DraggingFrame

func (d_ DraggingItem) DraggingFrame() foundation.Rect

The frame of the dragging item. Full Topic

func (DraggingItem) ImageComponents

func (d_ DraggingItem) ImageComponents() []DraggingImageComponent

An array of dragging image components to use to create the drag image. Full Topic

func (DraggingItem) ImageComponentsProvider

func (d_ DraggingItem) ImageComponentsProvider() func() []DraggingImageComponent

An array of blocks that provide the dragging image components. Full Topic

func (DraggingItem) Init

func (d_ DraggingItem) Init() DraggingItem

func (DraggingItem) InitWithPasteboardWriter

func (d_ DraggingItem) InitWithPasteboardWriter(pasteboardWriter PPasteboardWriting) DraggingItem

func (DraggingItem) Item

func (d_ DraggingItem) Item() objc.Object

The pasteboard reader or writer object dependent on the context where you use the dragging item. Full Topic

func (DraggingItem) SetDraggingFrame

func (d_ DraggingItem) SetDraggingFrame(value foundation.Rect)

The frame of the dragging item. Full Topic

func (DraggingItem) SetDraggingFrameContents

func (d_ DraggingItem) SetDraggingFrameContents(frame foundation.Rect, contents objc.IObject)

Sets the item’s dragging frame and contents. Full Topic

func (DraggingItem) SetImageComponentsProvider

func (d_ DraggingItem) SetImageComponentsProvider(value func() []DraggingImageComponent)

An array of blocks that provide the dragging image components. Full Topic

type DraggingItemEnumerationOptions

type DraggingItemEnumerationOptions uint

A group of constants that specify options to use when enumerating dragging items. Full Topic

const (
	DraggingItemEnumerationClearNonenumeratedImages DraggingItemEnumerationOptions = 65536
	DraggingItemEnumerationConcurrent               DraggingItemEnumerationOptions = 1
)

type DraggingSession

type DraggingSession struct {
	objc.Object
}

The encapsulation of a drag-and-drop action that supports modification of the drag while in progress. Full Topic

func DraggingSessionFrom

func DraggingSessionFrom(ptr unsafe.Pointer) DraggingSession

func DraggingSession_Alloc

func DraggingSession_Alloc() DraggingSession

func NewDraggingSession

func NewDraggingSession() DraggingSession

func (DraggingSession) AnimatesToStartingPositionsOnCancelOrFail

func (d_ DraggingSession) AnimatesToStartingPositionsOnCancelOrFail() bool

Controls whether the dragging image animates back to its starting point on a cancelled or failed drag. Full Topic

func (DraggingSession) DraggingFormation

func (d_ DraggingSession) DraggingFormation() DraggingFormation

Controls the dragging formation when the drag is not over the source or a valid destination. Full Topic

func (DraggingSession) DraggingLeaderIndex

func (d_ DraggingSession) DraggingLeaderIndex() int

The index of the dragging item under the cursor. Full Topic

func (DraggingSession) DraggingLocation

func (d_ DraggingSession) DraggingLocation() foundation.Point

The current cursor location of the drag in screen coordinates. Full Topic

func (DraggingSession) DraggingPasteboard

func (d_ DraggingSession) DraggingPasteboard() Pasteboard

Returns the pasteboard object that contains the data being dragged. Full Topic

func (DraggingSession) DraggingSequenceNumber

func (d_ DraggingSession) DraggingSequenceNumber() int

Returns a number that uniquely identifies the dragging session. Full Topic

func (DraggingSession) EnumerateDraggingItemsWithOptionsForViewClassesSearchOptionsUsingBlock

func (d_ DraggingSession) EnumerateDraggingItemsWithOptionsForViewClassesSearchOptionsUsingBlock(enumOpts DraggingItemEnumerationOptions, view IView, classArray []objc.IClass, searchOptions map[PasteboardReadingOptionKey]objc.IObject, block func(draggingItem DraggingItem, idx int, stop *bool))

Enumerates through each dragging item. Full Topic

func (DraggingSession) Init

func (d_ DraggingSession) Init() DraggingSession

func (DraggingSession) SetAnimatesToStartingPositionsOnCancelOrFail

func (d_ DraggingSession) SetAnimatesToStartingPositionsOnCancelOrFail(value bool)

Controls whether the dragging image animates back to its starting point on a cancelled or failed drag. Full Topic

func (DraggingSession) SetDraggingFormation

func (d_ DraggingSession) SetDraggingFormation(value DraggingFormation)

Controls the dragging formation when the drag is not over the source or a valid destination. Full Topic

func (DraggingSession) SetDraggingLeaderIndex

func (d_ DraggingSession) SetDraggingLeaderIndex(value int)

The index of the dragging item under the cursor. Full Topic

type DraggingSourceWrapper

type DraggingSourceWrapper struct {
	objc.Object
}

A concrete type wrapper for the PDraggingSource protocol.

func (DraggingSourceWrapper) DraggingSessionMovedToPoint

func (d_ DraggingSourceWrapper) DraggingSessionMovedToPoint(session IDraggingSession, screenPoint foundation.Point)

Invoked when the drag moves on the screen. Full Topic

func (DraggingSourceWrapper) HasDraggingSessionMovedToPoint

func (d_ DraggingSourceWrapper) HasDraggingSessionMovedToPoint() bool

func (DraggingSourceWrapper) HasIgnoreModifierKeysForDraggingSession

func (d_ DraggingSourceWrapper) HasIgnoreModifierKeysForDraggingSession() bool

func (DraggingSourceWrapper) IgnoreModifierKeysForDraggingSession

func (d_ DraggingSourceWrapper) IgnoreModifierKeysForDraggingSession(session IDraggingSession) bool

Returns whether the modifier keys will be ignored for this dragging session. Full Topic

type Drawer

type Drawer struct {
	Responder
}

A user interface element that contains and displays text, scroll, and browser views, in addition to other view subclasses. Full Topic

func DrawerFrom

func DrawerFrom(ptr unsafe.Pointer) Drawer

func Drawer_Alloc

func Drawer_Alloc() Drawer

func NewDrawer

func NewDrawer() Drawer

func (Drawer) Init

func (d_ Drawer) Init() Drawer

type DrawerDelegate

type DrawerDelegate struct {
}

A delegate implementation builder for the PDrawerDelegate protocol.

type DrawerDelegateWrapper

type DrawerDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PDrawerDelegate protocol.

type DrawerState

type DrawerState uint

These constants specify the possible states of a drawer. Full Topic

const (
	DrawerClosedState  DrawerState = 0
	DrawerClosingState DrawerState = 3
	DrawerOpenState    DrawerState = 2
	DrawerOpeningState DrawerState = 1
)

type EPSImageRep

type EPSImageRep struct {
	ImageRep
}

An object that can render an image from encapsulated PostScript (EPS) code. Full Topic

func EPSImageRepFrom

func EPSImageRepFrom(ptr unsafe.Pointer) EPSImageRep

func EPSImageRep_Alloc

func EPSImageRep_Alloc() EPSImageRep

func NewEPSImageRep

func NewEPSImageRep() EPSImageRep

func (EPSImageRep) Init

func (e_ EPSImageRep) Init() EPSImageRep

type EditorRegistrationWrapper

type EditorRegistrationWrapper struct {
	objc.Object
}

A concrete type wrapper for the PEditorRegistration protocol.

func (EditorRegistrationWrapper) HasObjectDidBeginEditing

func (e_ EditorRegistrationWrapper) HasObjectDidBeginEditing() bool

func (EditorRegistrationWrapper) HasObjectDidEndEditing

func (e_ EditorRegistrationWrapper) HasObjectDidEndEditing() bool

func (EditorRegistrationWrapper) ObjectDidBeginEditing

func (e_ EditorRegistrationWrapper) ObjectDidBeginEditing(editor PEditor)
[Full Topic]

func (EditorRegistrationWrapper) ObjectDidEndEditing

func (e_ EditorRegistrationWrapper) ObjectDidEndEditing(editor PEditor)
[Full Topic]

type EditorWrapper

type EditorWrapper struct {
	objc.Object
}

A concrete type wrapper for the PEditor protocol.

func (EditorWrapper) CommitEditing

func (e_ EditorWrapper) CommitEditing() bool
[Full Topic]

func (EditorWrapper) CommitEditingAndReturnError

func (e_ EditorWrapper) CommitEditingAndReturnError(error foundation.IError) bool
[Full Topic]

func (EditorWrapper) CommitEditingWithDelegateDidCommitSelectorContextInfo

func (e_ EditorWrapper) CommitEditingWithDelegateDidCommitSelectorContextInfo(delegate objc.IObject, didCommitSelector objc.Selector, contextInfo unsafe.Pointer)
[Full Topic]

func (EditorWrapper) DiscardEditing

func (e_ EditorWrapper) DiscardEditing()
[Full Topic]

func (EditorWrapper) HasCommitEditing

func (e_ EditorWrapper) HasCommitEditing() bool

func (EditorWrapper) HasCommitEditingAndReturnError

func (e_ EditorWrapper) HasCommitEditingAndReturnError() bool

func (EditorWrapper) HasCommitEditingWithDelegateDidCommitSelectorContextInfo

func (e_ EditorWrapper) HasCommitEditingWithDelegateDidCommitSelectorContextInfo() bool

func (EditorWrapper) HasDiscardEditing

func (e_ EditorWrapper) HasDiscardEditing() bool

type Event

type Event struct {
	objc.Object
}

An object that contains information about an input action, such as a mouse click or a key press. Full Topic

func EventFrom

func EventFrom(ptr unsafe.Pointer) Event

func Event_Alloc

func Event_Alloc() Event

func Event_EnterExitEventWithTypeLocationModifierFlagsTimestampWindowNumberContextEventNumberTrackingNumberUserData

func Event_EnterExitEventWithTypeLocationModifierFlagsTimestampWindowNumberContextEventNumberTrackingNumberUserData(type_ EventType, location foundation.Point, flags EventModifierFlags, time foundation.TimeInterval, wNum int, unusedPassNil IGraphicsContext, enum int, tNum int, data unsafe.Pointer) Event

Creates and returns a new event object that describes a tracking-rectangle or cursor-update event. Full Topic

func Event_EventWithCGEvent

func Event_EventWithCGEvent(cgEvent coregraphics.EventRef) Event

Creates and returns an event object for a Core Graphics event. Full Topic

func Event_EventWithEventRef

func Event_EventWithEventRef(eventRef unsafe.Pointer) Event

Creates and returns a new event object for a Carbon event. Full Topic

func Event_KeyEventWithTypeLocationModifierFlagsTimestampWindowNumberContextCharactersCharactersIgnoringModifiersIsARepeatKeyCode

func Event_KeyEventWithTypeLocationModifierFlagsTimestampWindowNumberContextCharactersCharactersIgnoringModifiersIsARepeatKeyCode(type_ EventType, location foundation.Point, flags EventModifierFlags, time foundation.TimeInterval, wNum int, unusedPassNil IGraphicsContext, keys string, ukeys string, flag bool, code int) Event

Creates and returns a new event object that describes a key event. Full Topic

func Event_MouseEventWithTypeLocationModifierFlagsTimestampWindowNumberContextEventNumberClickCountPressure

func Event_MouseEventWithTypeLocationModifierFlagsTimestampWindowNumberContextEventNumberClickCountPressure(type_ EventType, location foundation.Point, flags EventModifierFlags, time foundation.TimeInterval, wNum int, unusedPassNil IGraphicsContext, enum int, cNum int, pressure float64) Event

Creates and returns a new event object that describes a mouse-down, -up, -moved, or -dragged event. Full Topic

func Event_OtherEventWithTypeLocationModifierFlagsTimestampWindowNumberContextSubtypeData1Data2

func Event_OtherEventWithTypeLocationModifierFlagsTimestampWindowNumberContextSubtypeData1Data2(type_ EventType, location foundation.Point, flags EventModifierFlags, time foundation.TimeInterval, wNum int, unusedPassNil IGraphicsContext, subtype int, d1 int, d2 int) Event

Creates and returns a new event object that describes a custom event. Full Topic

func NewEvent

func NewEvent() Event

func (Event) AbsoluteX

func (e_ Event) AbsoluteX() int

The absolute x coordinate of a pointing device on its tablet at full tablet resolution. Full Topic

func (Event) AbsoluteY

func (e_ Event) AbsoluteY() int

The absolute y coordinate of a pointing device on its tablet at full tablet resolution. Full Topic

func (Event) AbsoluteZ

func (e_ Event) AbsoluteZ() int

The absolute z coordinate of pointing device on its tablet at full tablet resolution. Full Topic

func (Event) AllTouches

func (e_ Event) AllTouches() foundation.Set

Returns all touch objects associated with the event. Full Topic

func (Event) AssociatedEventsMask

func (e_ Event) AssociatedEventsMask() EventMask

The associated events mask of a mouse event. Full Topic

func (Event) ButtonMask

func (e_ Event) ButtonMask() EventButtonMask

A bit mask identifying the buttons pressed for a tablet event. Full Topic

func (Event) ButtonNumber

func (e_ Event) ButtonNumber() int

The button number for a mouse event. Full Topic

func (Event) CGEvent

func (e_ Event) CGEvent() coregraphics.EventRef

The Core Graphics event object corresponding to this event. Full Topic

func (Event) CapabilityMask

func (e_ Event) CapabilityMask() uint

A mask that indicates the capabilities of the tablet device that generated this event. Full Topic

func (Event) Characters

func (e_ Event) Characters() string

The characters associated with a key-up or key-down event. Full Topic

func (Event) CharactersByApplyingModifiers

func (e_ Event) CharactersByApplyingModifiers(modifiers EventModifierFlags) string

Returns the new characters that result if you apply the specified modifier keys to the event. Full Topic

func (Event) CharactersIgnoringModifiers

func (e_ Event) CharactersIgnoringModifiers() string

The characters generated by a key event as if no modifier key (except for Shift) applies. Full Topic

func (Event) ClickCount

func (e_ Event) ClickCount() int

The number of mouse clicks associated with a mouse-down or mouse-up event. Full Topic

func (Event) CoalescedTouchesForTouch

func (e_ Event) CoalescedTouchesForTouch(touch ITouch) []Touch

Returns all of the touch objects associated with the specified main touch. Full Topic

func (Event) Data1

func (e_ Event) Data1() int

Additional data associated with this event. Full Topic

func (Event) Data2

func (e_ Event) Data2() int

Additional data associated with this event. Full Topic

func (Event) DeltaX

func (e_ Event) DeltaX() float64

The x-coordinate change for scroll wheel, mouse-move, mouse-drag, and swipe events. Full Topic

func (Event) DeltaY

func (e_ Event) DeltaY() float64

The y-coordinate change for scroll wheel, mouse-move, mouse-drag, and swipe events. Full Topic

func (Event) DeltaZ

func (e_ Event) DeltaZ() float64

The z-coordinate change for a scroll wheel, mouse-move, or mouse-drag event. Full Topic

func (Event) DeviceID

func (e_ Event) DeviceID() uint

A special identifier the system matches against tablet-pointer and tablet-proximity events. Full Topic

func (Event) EventNumber

func (e_ Event) EventNumber() int

The counter value of the latest mouse or tracking-rectangle event object. Full Topic

func (Event) EventRef

func (e_ Event) EventRef() unsafe.Pointer

An opaque Carbon type associated with this event. Full Topic

func (Event) HasPreciseScrollingDeltas

func (e_ Event) HasPreciseScrollingDeltas() bool

A Boolean value that indicates whether precise scrolling deltas are available. Full Topic

func (Event) Init

func (e_ Event) Init() Event

func (Event) IsARepeat

func (e_ Event) IsARepeat() bool

A Boolean value that indicates whether the key event is a repeat. Full Topic

func (Event) IsDirectionInvertedFromDevice

func (e_ Event) IsDirectionInvertedFromDevice() bool

A Boolean value that indicates whether the user has changed the device inversion. Full Topic

func (Event) IsEnteringProximity

func (e_ Event) IsEnteringProximity() bool

A Boolean value that indicates whether a pointing device is entering or leaving the proximity of its tablet. Full Topic

func (Event) KeyCode

func (e_ Event) KeyCode() int

The virtual code for the key associated with the event. Full Topic

func (Event) LocationInNode

func (e_ Event) LocationInNode(node objc.IObject) coregraphics.Point

Returns the location of the receiver in the coordinate system of the given node. Full Topic

func (Event) LocationInWindow

func (e_ Event) LocationInWindow() foundation.Point

The event location in the base coordinate system of the associated window. Full Topic

func (Event) Magnification

func (e_ Event) Magnification() float64

The amount of change to add to a magnification gesture. Full Topic

func (Event) MomentumPhase

func (e_ Event) MomentumPhase() EventPhase

The momentum phase for a scroll or flick gesture. Full Topic

func (Event) Phase

func (e_ Event) Phase() EventPhase

The phase of a gesture event, such as a magnify, scroll, or pressure change. Full Topic

func (Event) PointingDeviceID

func (e_ Event) PointingDeviceID() uint

The index of the pointing device currently in proximity with the tablet. Full Topic

func (Event) PointingDeviceSerialNumber

func (e_ Event) PointingDeviceSerialNumber() uint

The vendor-assigned serial number of a pointing device. Full Topic

func (Event) PointingDeviceType

func (e_ Event) PointingDeviceType() PointingDeviceType

The kind of pointing device associated with this event. Full Topic

func (Event) Pressure

func (e_ Event) Pressure() float64

A normalized value that indicates the degree of pressure applied to an appropriate input device. Full Topic

func (Event) PressureBehavior

func (e_ Event) PressureBehavior() PressureBehavior

The behavior and progression for a pressure event. Full Topic

func (Event) Rotation

func (e_ Event) Rotation() float64

The rotation in degrees of the tablet pointing device associated with this event. Full Topic

func (Event) ScrollingDeltaX

func (e_ Event) ScrollingDeltaX() float64

The scroll wheel’s horizontal delta. Full Topic

func (Event) ScrollingDeltaY

func (e_ Event) ScrollingDeltaY() float64

The scroll wheel’s vertical delta. Full Topic

func (Event) Stage

func (e_ Event) Stage() int

A value that indicates the stage of a pressure gesture event. Full Topic

func (Event) StageTransition

func (e_ Event) StageTransition() float64

The transition value for the stage of a pressure gesture event. Full Topic

func (Event) Subtype

func (e_ Event) Subtype() EventSubtype

The event’s subtype. Full Topic

func (Event) SystemTabletID

func (e_ Event) SystemTabletID() uint

The index of the tablet device connected to the system. Full Topic

func (Event) TabletID

func (e_ Event) TabletID() uint

The USB model identifier of the tablet device associated with this event. Full Topic

func (Event) TangentialPressure

func (e_ Event) TangentialPressure() float64

The tangential pressure on the device that generated this event. Full Topic

func (Event) Tilt

func (e_ Event) Tilt() foundation.Point

The scaled tilt values of the pointing device that generated this event. Full Topic

func (Event) Timestamp

func (e_ Event) Timestamp() foundation.TimeInterval

The time when the event occurred in seconds since system startup. Full Topic

func (Event) TouchesForView

func (e_ Event) TouchesForView(view IView) foundation.Set

Returns the touch objects from the event that belong to the specified view. Full Topic

func (Event) TouchesMatchingPhaseInView

func (e_ Event) TouchesMatchingPhaseInView(phase TouchPhase, view IView) foundation.Set

Returns the touch objects associated with the specified phase. Full Topic

func (Event) TrackSwipeEventWithOptionsDampenAmountThresholdMinMaxUsingHandler

func (e_ Event) TrackSwipeEventWithOptionsDampenAmountThresholdMinMaxUsingHandler(options EventSwipeTrackingOptions, minDampenThreshold float64, maxDampenThreshold float64, trackingHandler func(gestureAmount float64, phase EventPhase, isComplete bool, stop *bool))

Allows tracking and user interface feedback of scroll wheel events. Full Topic

func (Event) TrackingArea

func (e_ Event) TrackingArea() TrackingArea

The tracking area for the event. Full Topic

func (Event) TrackingNumber

func (e_ Event) TrackingNumber() int

The identifier of a mouse-tracking event. Full Topic

func (Event) Type

func (e_ Event) Type() EventType

The event’s type. Full Topic

func (Event) UniqueID

func (e_ Event) UniqueID() int64

The unique identifier of the pointing device that generated this event. Full Topic

func (Event) UserData

func (e_ Event) UserData() unsafe.Pointer

The data associated with a mouse-tracking event. Full Topic

func (Event) VendorDefined

func (e_ Event) VendorDefined() objc.Object

An array of three vendor-defined number objects associated with a pointing-type event. Full Topic

func (Event) VendorID

func (e_ Event) VendorID() uint

The vendor identifier of the tablet associated with the event. Full Topic

func (Event) VendorPointingDeviceType

func (e_ Event) VendorPointingDeviceType() uint

A coded bit field whose set bits indicate the type of pointing device (within a vendor selection) associated with the event. Full Topic

func (Event) Window

func (e_ Event) Window() Window

The window object associated with the event. Full Topic

func (Event) WindowNumber

func (e_ Event) WindowNumber() int

The identifier for the window device associated with the event. Full Topic

type EventButtonMask

type EventButtonMask uint

Constants you use to identify the activated tablet buttons in an event. Full Topic

const (
	EventButtonMaskPenLowerSide EventButtonMask = 2
	EventButtonMaskPenTip       EventButtonMask = 1
	EventButtonMaskPenUpperSide EventButtonMask = 4
	PenLowerSideMask            EventButtonMask = 2
	PenTipMask                  EventButtonMask = 1
	PenUpperSideMask            EventButtonMask = 4
)

type EventGestureAxis

type EventGestureAxis int

Constants that specify the direction of travel for a gesture. Full Topic

const (
	EventGestureAxisHorizontal EventGestureAxis = 1
	EventGestureAxisNone       EventGestureAxis = 0
	EventGestureAxisVertical   EventGestureAxis = 2
)

type EventMask

type EventMask int64

Constants that you use to filter out specific event types from the stream of incoming events. Full Topic

const (
	AnyEventMask                EventMask = -1
	AppKitDefinedMask           EventMask = 8192
	ApplicationDefinedMask      EventMask = 32768
	CursorUpdateMask            EventMask = 131072
	EventMaskAny                EventMask = -1
	EventMaskAppKitDefined      EventMask = 8192
	EventMaskApplicationDefined EventMask = 32768
	EventMaskBeginGesture       EventMask = 524288
	EventMaskChangeMode         EventMask = 274877906944
	EventMaskCursorUpdate       EventMask = 131072
	EventMaskDirectTouch        EventMask = 137438953472
	EventMaskEndGesture         EventMask = 1048576
	EventMaskFlagsChanged       EventMask = 4096
	EventMaskGesture            EventMask = 536870912
	EventMaskKeyDown            EventMask = 1024
	EventMaskKeyUp              EventMask = 2048
	EventMaskLeftMouseDown      EventMask = 2
	EventMaskLeftMouseDragged   EventMask = 64
	EventMaskLeftMouseUp        EventMask = 4
	EventMaskMagnify            EventMask = 1073741824
	EventMaskMouseEntered       EventMask = 256
	EventMaskMouseExited        EventMask = 512
	EventMaskMouseMoved         EventMask = 32
	EventMaskOtherMouseDown     EventMask = 33554432
	EventMaskOtherMouseDragged  EventMask = 134217728
	EventMaskOtherMouseUp       EventMask = 67108864
	EventMaskPeriodic           EventMask = 65536
	EventMaskPressure           EventMask = 17179869184
	EventMaskRightMouseDown     EventMask = 8
	EventMaskRightMouseDragged  EventMask = 128
	EventMaskRightMouseUp       EventMask = 16
	EventMaskRotate             EventMask = 262144
	EventMaskScrollWheel        EventMask = 4194304
	EventMaskSmartMagnify       EventMask = 4294967296
	EventMaskSwipe              EventMask = 2147483648
	EventMaskSystemDefined      EventMask = 16384
	EventMaskTabletPoint        EventMask = 8388608
	EventMaskTabletProximity    EventMask = 16777216
	FlagsChangedMask            EventMask = 4096
	KeyDownMask                 EventMask = 1024
	KeyUpMask                   EventMask = 2048
	LeftMouseDownMask           EventMask = 2
	LeftMouseDraggedMask        EventMask = 64
	LeftMouseUpMask             EventMask = 4
	MouseEnteredMask            EventMask = 256
	MouseExitedMask             EventMask = 512
	MouseMovedMask              EventMask = 32
	OtherMouseDownMask          EventMask = 33554432
	OtherMouseDraggedMask       EventMask = 134217728
	OtherMouseUpMask            EventMask = 67108864
	PeriodicMask                EventMask = 65536
	RightMouseDownMask          EventMask = 8
	RightMouseDraggedMask       EventMask = 128
	RightMouseUpMask            EventMask = 16
	ScrollWheelMask             EventMask = 4194304
	SystemDefinedMask           EventMask = 16384
	TabletPointMask             EventMask = 8388608
	TabletProximityMask         EventMask = 16777216
)

func AlignmentFeedbackFilter_InputEventMask

func AlignmentFeedbackFilter_InputEventMask() EventMask

Retrieves the event types the filter accepts. Full Topic

type EventModifierFlags

type EventModifierFlags uint

Flags that represent key states in an event object. Full Topic

const (
	AlphaShiftKeyMask                           EventModifierFlags = 65536
	AlternateKeyMask                            EventModifierFlags = 524288
	CommandKeyMask                              EventModifierFlags = 1048576
	ControlKeyMask                              EventModifierFlags = 262144
	DeviceIndependentModifierFlagsMask          EventModifierFlags = 4294901760
	EventModifierFlagCapsLock                   EventModifierFlags = 65536
	EventModifierFlagCommand                    EventModifierFlags = 1048576
	EventModifierFlagControl                    EventModifierFlags = 262144
	EventModifierFlagDeviceIndependentFlagsMask EventModifierFlags = 4294901760
	EventModifierFlagFunction                   EventModifierFlags = 8388608
	EventModifierFlagHelp                       EventModifierFlags = 4194304
	EventModifierFlagNumericPad                 EventModifierFlags = 2097152
	EventModifierFlagOption                     EventModifierFlags = 524288
	EventModifierFlagShift                      EventModifierFlags = 131072
	FunctionKeyMask                             EventModifierFlags = 8388608
	HelpKeyMask                                 EventModifierFlags = 4194304
	NumericPadKeyMask                           EventModifierFlags = 2097152
	ShiftKeyMask                                EventModifierFlags = 131072
)

func Event_ModifierFlags

func Event_ModifierFlags() EventModifierFlags

The currently pressed modifier keys. Full Topic

type EventPhase

type EventPhase uint

Constants that represent the possible phases during an event phase. Full Topic

const (
	EventPhaseBegan      EventPhase = 1
	EventPhaseCancelled  EventPhase = 16
	EventPhaseChanged    EventPhase = 4
	EventPhaseEnded      EventPhase = 8
	EventPhaseMayBegin   EventPhase = 32
	EventPhaseNone       EventPhase = 0
	EventPhaseStationary EventPhase = 2
)

type EventSubtype

type EventSubtype int

Subtypes for various types of events. Full Topic

const (
	AWTEventType                       EventSubtype = 16
	ApplicationActivatedEventType      EventSubtype = 1
	ApplicationDeactivatedEventType    EventSubtype = 2
	EventSubtypeApplicationActivated   EventSubtype = 1
	EventSubtypeApplicationDeactivated EventSubtype = 2
	EventSubtypeMouseEvent             EventSubtype = 0
	EventSubtypePowerOff               EventSubtype = 1
	EventSubtypeScreenChanged          EventSubtype = 8
	EventSubtypeTabletPoint            EventSubtype = 1
	EventSubtypeTabletProximity        EventSubtype = 2
	EventSubtypeTouch                  EventSubtype = 3
	EventSubtypeWindowExposed          EventSubtype = 0
	EventSubtypeWindowMoved            EventSubtype = 4
	MouseEventSubtype                  EventSubtype = 0
	PowerOffEventType                  EventSubtype = 1
	ScreenChangedEventType             EventSubtype = 8
	TabletPointEventSubtype            EventSubtype = 1
	TabletProximityEventSubtype        EventSubtype = 2
	TouchEventSubtype                  EventSubtype = 3
	WindowExposedEventType             EventSubtype = 0
	WindowMovedEventType               EventSubtype = 4
)

type EventSwipeTrackingOptions

type EventSwipeTrackingOptions uint

Constants that specify swipe-tracking options. Full Topic

const (
	EventSwipeTrackingClampGestureAmount EventSwipeTrackingOptions = 2
	EventSwipeTrackingLockDirection      EventSwipeTrackingOptions = 1
)

type EventType

type EventType uint

Constants for the types of events that responder objects can handle. Full Topic

const (
	AppKitDefined               EventType = 13
	ApplicationDefined          EventType = 15
	CursorUpdate                EventType = 17
	EventTypeAppKitDefined      EventType = 13
	EventTypeApplicationDefined EventType = 15
	EventTypeBeginGesture       EventType = 19
	EventTypeChangeMode         EventType = 38
	EventTypeCursorUpdate       EventType = 17
	EventTypeDirectTouch        EventType = 37
	EventTypeEndGesture         EventType = 20
	EventTypeFlagsChanged       EventType = 12
	EventTypeGesture            EventType = 29
	EventTypeKeyDown            EventType = 10
	EventTypeKeyUp              EventType = 11
	EventTypeLeftMouseDown      EventType = 1
	EventTypeLeftMouseDragged   EventType = 6
	EventTypeLeftMouseUp        EventType = 2
	EventTypeMagnify            EventType = 30
	EventTypeMouseEntered       EventType = 8
	EventTypeMouseExited        EventType = 9
	EventTypeMouseMoved         EventType = 5
	EventTypeOtherMouseDown     EventType = 25
	EventTypeOtherMouseDragged  EventType = 27
	EventTypeOtherMouseUp       EventType = 26
	EventTypePeriodic           EventType = 16
	EventTypePressure           EventType = 34
	EventTypeQuickLook          EventType = 33
	EventTypeRightMouseDown     EventType = 3
	EventTypeRightMouseDragged  EventType = 7
	EventTypeRightMouseUp       EventType = 4
	EventTypeRotate             EventType = 18
	EventTypeScrollWheel        EventType = 22
	EventTypeSmartMagnify       EventType = 32
	EventTypeSwipe              EventType = 31
	EventTypeSystemDefined      EventType = 14
	EventTypeTabletPoint        EventType = 23
	EventTypeTabletProximity    EventType = 24
	FlagsChanged                EventType = 12
	KeyDown                     EventType = 10
	KeyUp                       EventType = 11
	LeftMouseDown               EventType = 1
	LeftMouseDragged            EventType = 6
	LeftMouseUp                 EventType = 2
	MouseEntered                EventType = 8
	MouseExited                 EventType = 9
	MouseMoved                  EventType = 5
	OtherMouseDown              EventType = 25
	OtherMouseDragged           EventType = 27
	OtherMouseUp                EventType = 26
	Periodic                    EventType = 16
	RightMouseDown              EventType = 3
	RightMouseDragged           EventType = 7
	RightMouseUp                EventType = 4
	ScrollWheel                 EventType = 22
	SystemDefined               EventType = 14
	TabletPoint                 EventType = 23
	TabletProximity             EventType = 24
)

type FilePromiseProvider

type FilePromiseProvider struct {
	objc.Object
}

An object that provides a promise for the pasteboard. Full Topic

func FilePromiseProviderFrom

func FilePromiseProviderFrom(ptr unsafe.Pointer) FilePromiseProvider

func FilePromiseProvider_Alloc

func FilePromiseProvider_Alloc() FilePromiseProvider

func NewFilePromiseProvider

func NewFilePromiseProvider() FilePromiseProvider

func NewFilePromiseProviderWithFileTypeDelegate

func NewFilePromiseProviderWithFileTypeDelegate(fileType string, delegate PFilePromiseProviderDelegate) FilePromiseProvider

Initializes a file promise provider for a certain file type. Full Topic

func (FilePromiseProvider) Delegate

[Full Topic]

func (FilePromiseProvider) FileType

func (f_ FilePromiseProvider) FileType() string

The file type of the file promise provider. Full Topic

func (FilePromiseProvider) Init

func (FilePromiseProvider) InitWithFileTypeDelegate

func (f_ FilePromiseProvider) InitWithFileTypeDelegate(fileType string, delegate PFilePromiseProviderDelegate) FilePromiseProvider

func (FilePromiseProvider) SetDelegate

func (f_ FilePromiseProvider) SetDelegate(value PFilePromiseProviderDelegate)
[Full Topic]

func (FilePromiseProvider) SetDelegateObject

func (f_ FilePromiseProvider) SetDelegateObject(valueObject objc.IObject)
[Full Topic]

func (FilePromiseProvider) SetFileType

func (f_ FilePromiseProvider) SetFileType(value string)

The file type of the file promise provider. Full Topic

func (FilePromiseProvider) SetUserInfo

func (f_ FilePromiseProvider) SetUserInfo(value objc.IObject)

Optional user information to pass to the file promise provider. Full Topic

func (FilePromiseProvider) UserInfo

func (f_ FilePromiseProvider) UserInfo() objc.Object

Optional user information to pass to the file promise provider. Full Topic

type FilePromiseProviderDelegate

type FilePromiseProviderDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PFilePromiseProviderDelegate protocol.

func (*FilePromiseProviderDelegate) FilePromiseProviderFileNameForType

func (di *FilePromiseProviderDelegate) FilePromiseProviderFileNameForType(filePromiseProvider FilePromiseProvider, fileType string) string

Provides the drag destination file's name. Full Topic

func (*FilePromiseProviderDelegate) HasFilePromiseProviderFileNameForType

func (di *FilePromiseProviderDelegate) HasFilePromiseProviderFileNameForType() bool

func (*FilePromiseProviderDelegate) HasOperationQueueForFilePromiseProvider

func (di *FilePromiseProviderDelegate) HasOperationQueueForFilePromiseProvider() bool

func (*FilePromiseProviderDelegate) OperationQueueForFilePromiseProvider

func (di *FilePromiseProviderDelegate) OperationQueueForFilePromiseProvider(filePromiseProvider FilePromiseProvider) foundation.IOperationQueue

Returns the operation queue from which to issue the write request. Full Topic

func (*FilePromiseProviderDelegate) SetFilePromiseProviderFileNameForType

func (di *FilePromiseProviderDelegate) SetFilePromiseProviderFileNameForType(f func(filePromiseProvider FilePromiseProvider, fileType string) string)

Provides the drag destination file's name. Full Topic

func (*FilePromiseProviderDelegate) SetOperationQueueForFilePromiseProvider

func (di *FilePromiseProviderDelegate) SetOperationQueueForFilePromiseProvider(f func(filePromiseProvider FilePromiseProvider) foundation.IOperationQueue)

Returns the operation queue from which to issue the write request. Full Topic

type FilePromiseProviderDelegateWrapper

type FilePromiseProviderDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PFilePromiseProviderDelegate protocol.

func (FilePromiseProviderDelegateWrapper) FilePromiseProviderFileNameForType

func (f_ FilePromiseProviderDelegateWrapper) FilePromiseProviderFileNameForType(filePromiseProvider IFilePromiseProvider, fileType string) string

Provides the drag destination file's name. Full Topic

func (FilePromiseProviderDelegateWrapper) HasFilePromiseProviderFileNameForType

func (f_ FilePromiseProviderDelegateWrapper) HasFilePromiseProviderFileNameForType() bool

func (FilePromiseProviderDelegateWrapper) HasOperationQueueForFilePromiseProvider

func (f_ FilePromiseProviderDelegateWrapper) HasOperationQueueForFilePromiseProvider() bool

func (FilePromiseProviderDelegateWrapper) OperationQueueForFilePromiseProvider

func (f_ FilePromiseProviderDelegateWrapper) OperationQueueForFilePromiseProvider(filePromiseProvider IFilePromiseProvider) foundation.OperationQueue

Returns the operation queue from which to issue the write request. Full Topic

type FilePromiseReceiver

type FilePromiseReceiver struct {
	objc.Object
}

An object that receives a file promise from the pasteboard. Full Topic

func FilePromiseReceiverFrom

func FilePromiseReceiverFrom(ptr unsafe.Pointer) FilePromiseReceiver

func FilePromiseReceiver_Alloc

func FilePromiseReceiver_Alloc() FilePromiseReceiver

func NewFilePromiseReceiver

func NewFilePromiseReceiver() FilePromiseReceiver

func (FilePromiseReceiver) FileNames

func (f_ FilePromiseReceiver) FileNames() []string

An array containing names of the promised files being written to the destination location. Full Topic

func (FilePromiseReceiver) FileTypes

func (f_ FilePromiseReceiver) FileTypes() []string

An array containing types of the promised files being written to the destination location. Full Topic

func (FilePromiseReceiver) Init

func (FilePromiseReceiver) ReceivePromisedFilesAtDestinationOptionsOperationQueueReader

func (f_ FilePromiseReceiver) ReceivePromisedFilesAtDestinationOptionsOperationQueueReader(destinationDir foundation.IURL, options foundation.Dictionary, operationQueue foundation.IOperationQueue, reader func(fileURL foundation.URL, errorOrNil foundation.Error))

Fulfills the promises at the specified destination. Full Topic

type FindPanelAction

type FindPanelAction uint

These constants define the tags for performFindPanelAction:. Full Topic

const (
	FindPanelActionNext                  FindPanelAction = 2
	FindPanelActionPrevious              FindPanelAction = 3
	FindPanelActionReplace               FindPanelAction = 5
	FindPanelActionReplaceAll            FindPanelAction = 4
	FindPanelActionReplaceAllInSelection FindPanelAction = 8
	FindPanelActionReplaceAndFind        FindPanelAction = 6
	FindPanelActionSelectAll             FindPanelAction = 9
	FindPanelActionSelectAllInSelection  FindPanelAction = 10
	FindPanelActionSetFindString         FindPanelAction = 7
	FindPanelActionShowFindPanel         FindPanelAction = 1
)

type FindPanelSubstringMatchType

type FindPanelSubstringMatchType uint

The type of substring matching used by the Find panel. Full Topic

const (
	FindPanelSubstringMatchTypeContains   FindPanelSubstringMatchType = 0
	FindPanelSubstringMatchTypeEndsWith   FindPanelSubstringMatchType = 3
	FindPanelSubstringMatchTypeFullWord   FindPanelSubstringMatchType = 2
	FindPanelSubstringMatchTypeStartsWith FindPanelSubstringMatchType = 1
)

type FocusRingPlacement

type FocusRingPlacement uint

Constants that indicate how the system draws the focus ring. Full Topic

const (
	FocusRingAbove FocusRingPlacement = 2
	FocusRingBelow FocusRingPlacement = 1
	FocusRingOnly  FocusRingPlacement = 0
)

type FocusRingType

type FocusRingType uint

Constants that describe the style of the focus ring. Full Topic

const (
	FocusRingTypeDefault  FocusRingType = 0
	FocusRingTypeExterior FocusRingType = 2
	FocusRingTypeNone     FocusRingType = 1
)

func Cell_DefaultFocusRingType

func Cell_DefaultFocusRingType() FocusRingType

Returns the default type of focus ring for the receiver. Full Topic

func View_DefaultFocusRingType

func View_DefaultFocusRingType() FocusRingType

Returns the default focus ring type. Full Topic

type Font

type Font struct {
	objc.Object
}

The representation of a font in an app. Full Topic

func FontFrom

func FontFrom(ptr unsafe.Pointer) Font

func Font_Alloc

func Font_Alloc() Font

func Font_BoldSystemFontOfSize

func Font_BoldSystemFontOfSize(fontSize float64) Font

Returns the standard system font in boldface type with the specified size. Full Topic

func Font_ControlContentFontOfSize

func Font_ControlContentFontOfSize(fontSize float64) Font

Returns the font used for the content of controls in the specified size. Full Topic

func Font_FontWithDescriptorSize

func Font_FontWithDescriptorSize(fontDescriptor IFontDescriptor, fontSize float64) Font

Returns a font object for the specified font descriptor and font size. Full Topic

func Font_FontWithNameMatrix

func Font_FontWithNameMatrix(fontName string, fontMatrix *float64) Font

Returns a font object for the specified font name and matrix. Full Topic

func Font_FontWithNameSize

func Font_FontWithNameSize(fontName string, fontSize float64) Font

Creates a font object for the specified font name and font size. Full Topic

func Font_LabelFontOfSize

func Font_LabelFontOfSize(fontSize float64) Font

Returns the font used for standard interface labels in the specified size. Full Topic

func Font_MenuBarFontOfSize

func Font_MenuBarFontOfSize(fontSize float64) Font

Returns the font used for menu bar items, in the specified size. Full Topic

func Font_MenuFontOfSize

func Font_MenuFontOfSize(fontSize float64) Font

Returns the font used for menu items, in the specified size. Full Topic

func Font_MessageFontOfSize

func Font_MessageFontOfSize(fontSize float64) Font

Returns the font used for standard interface items, such as button labels, menu items, and so on, in the specified size. Full Topic

func Font_MonospacedDigitSystemFontOfSizeWeight

func Font_MonospacedDigitSystemFontOfSizeWeight(fontSize float64, weight FontWeight) Font

Returns a version of the standard system font that contains monospaced digit glyphs. Full Topic

func Font_MonospacedSystemFontOfSizeWeight

func Font_MonospacedSystemFontOfSizeWeight(fontSize float64, weight FontWeight) Font

Returns a monospace version of the system font with the specified size and weight. Full Topic

func Font_PaletteFontOfSize

func Font_PaletteFontOfSize(fontSize float64) Font

Returns the font used for palette window title bars, in the specified size. Full Topic

func Font_PreferredFontForTextStyleOptions

func Font_PreferredFontForTextStyleOptions(style FontTextStyle, options map[FontTextStyleOptionKey]objc.IObject) Font

Returns the font associated with the text style. Full Topic

func Font_SystemFontOfSize

func Font_SystemFontOfSize(fontSize float64) Font

Returns the standard system font with the specified size. Full Topic

func Font_TitleBarFontOfSize

func Font_TitleBarFontOfSize(fontSize float64) Font

Returns the font used for window title bars, in the specified size. Full Topic

func Font_ToolTipsFontOfSize

func Font_ToolTipsFontOfSize(fontSize float64) Font

Returns the font used for tool tips labels, in the specified size. Full Topic

func Font_UserFixedPitchFontOfSize

func Font_UserFixedPitchFontOfSize(fontSize float64) Font

Returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), when that font should be fixed-pitch, in the specified size. Full Topic

func Font_UserFontOfSize

func Font_UserFontOfSize(fontSize float64) Font

Returns the font used by default for documents and other text under the user’s control (that is, text whose font the user can normally change), in the specified size. Full Topic

func NewFont

func NewFont() Font

func (Font) AdvancementForCGGlyph

func (f_ Font) AdvancementForCGGlyph(glyph coregraphics.Glyph) foundation.Size

Returns the nominal spacing for the given glyph—the distance the current point moves after showing the glyph—accounting for the receiver’s size. Full Topic

func (Font) Ascender

func (f_ Font) Ascender() float64

The top y-coordinate, offset from the baseline, of the font’s longest ascender. Full Topic

func (Font) BoundingRectForCGGlyph

func (f_ Font) BoundingRectForCGGlyph(glyph coregraphics.Glyph) foundation.Rect

Returns the bounding rectangle for the specified glyph, scaled to the receiver’s size. Full Topic

func (Font) BoundingRectForFont

func (f_ Font) BoundingRectForFont() foundation.Rect

The font’s bounding rectangle, scaled to the font’s size. Full Topic

func (Font) CapHeight

func (f_ Font) CapHeight() float64

The cap height of the font. Full Topic

func (Font) CoveredCharacterSet

func (f_ Font) CoveredCharacterSet() foundation.CharacterSet

The character set containing all of the nominal characters that the font can render. Full Topic

func (Font) Descender

func (f_ Font) Descender() float64

The bottom y-coordinate, offset from the baseline, of the font’s longest descender. Full Topic

func (Font) DisplayName

func (f_ Font) DisplayName() string

The name of the font, including family and face names, to use when displaying the font information to the user. Full Topic

func (Font) FamilyName

func (f_ Font) FamilyName() string

The family name of the font—for example, “Times” or “Helvetica.” Full Topic

func (Font) FontDescriptor

func (f_ Font) FontDescriptor() FontDescriptor

The font descriptor object for the font. Full Topic

func (Font) FontName

func (f_ Font) FontName() string

The full name of the font, as used in PostScript language code—for example, “Times-Roman” or “Helvetica-Oblique.” Full Topic

func (Font) FontWithSize

func (f_ Font) FontWithSize(fontSize float64) Font
[Full Topic]

func (Font) GetAdvancementsForCGGlyphsCount

func (f_ Font) GetAdvancementsForCGGlyphsCount(advancements foundation.SizeArray, glyphs *coregraphics.Glyph, glyphCount uint)

Returns an array of the advancements for the specified glyphs rendered by the receiver. Full Topic

func (Font) GetBoundingRectsForCGGlyphsCount

func (f_ Font) GetBoundingRectsForCGGlyphsCount(bounds foundation.RectArray, glyphs *coregraphics.Glyph, glyphCount uint)

Returns an array of the bounding rectangles for the specified glyphs rendered by the receiver. Full Topic

func (Font) Init

func (f_ Font) Init() Font

func (Font) IsFixedPitch

func (f_ Font) IsFixedPitch() bool

A Boolean value indicating whether all glyphs in the font have the same advancement. Full Topic

func (Font) IsVertical

func (f_ Font) IsVertical() bool

A Boolean value indicating whether the font is a vertical font. Full Topic

func (Font) ItalicAngle

func (f_ Font) ItalicAngle() float64

The number of degrees that the font is slanted counterclockwise from the vertical. Full Topic

func (Font) Leading

func (f_ Font) Leading() float64

The leading value of the font. Full Topic

func (Font) Matrix

func (f_ Font) Matrix() *float64

The transformation matrix associated with the font. Full Topic

func (Font) MaximumAdvancement

func (f_ Font) MaximumAdvancement() foundation.Size

The maximum advance of any of the font’s glyphs. Full Topic

func (Font) MostCompatibleStringEncoding

func (f_ Font) MostCompatibleStringEncoding() foundation.StringEncoding

The string encoding that works best with the font. Full Topic

func (Font) NumberOfGlyphs

func (f_ Font) NumberOfGlyphs() uint

The number of glyphs in the font. Full Topic

func (Font) PointSize

func (f_ Font) PointSize() float64

The point size of the font. Full Topic

func (Font) Set

func (f_ Font) Set()

Sets this font as the font for the current graphics context. Full Topic

func (Font) SetInContext

func (f_ Font) SetInContext(graphicsContext IGraphicsContext)

Sets this font as the font for the specified graphics context. Full Topic

func (Font) TextTransform

func (f_ Font) TextTransform() foundation.AffineTransform

The current transformation matrix of the font. Full Topic

func (Font) UnderlinePosition

func (f_ Font) UnderlinePosition() float64

The baseline offset to use when drawing underlines with the font. Full Topic

func (Font) UnderlineThickness

func (f_ Font) UnderlineThickness() float64

The thickness to use when drawing underlines with the font. Full Topic

func (Font) VerticalFont

func (f_ Font) VerticalFont() Font

A vertical version of the font. Full Topic

func (Font) XHeight

func (f_ Font) XHeight() float64

The x-height of the font. Full Topic

type FontAction

type FontAction uint

Actions that modify a font. Full Topic

const (
	AddTraitFontAction    FontAction = 2
	HeavierFontAction     FontAction = 5
	LighterFontAction     FontAction = 6
	NoFontChangeAction    FontAction = 0
	RemoveTraitFontAction FontAction = 7
	SizeDownFontAction    FontAction = 4
	SizeUpFontAction      FontAction = 3
	ViaPanelFontAction    FontAction = 1
)

type FontAssetRequest

type FontAssetRequest struct {
	objc.Object
}
[Full Topic]

func FontAssetRequestFrom

func FontAssetRequestFrom(ptr unsafe.Pointer) FontAssetRequest

func FontAssetRequest_Alloc

func FontAssetRequest_Alloc() FontAssetRequest

func NewFontAssetRequest

func NewFontAssetRequest() FontAssetRequest

func NewFontAssetRequestWithFontDescriptorsOptions

func NewFontAssetRequestWithFontDescriptorsOptions(fontDescriptors []IFontDescriptor, options FontAssetRequestOptions) FontAssetRequest
[Full Topic]

func (FontAssetRequest) DownloadFontAssetsWithCompletionHandler

func (f_ FontAssetRequest) DownloadFontAssetsWithCompletionHandler(completionHandler func(error foundation.Error) bool)
[Full Topic]

func (FontAssetRequest) DownloadedFontDescriptors

func (f_ FontAssetRequest) DownloadedFontDescriptors() []FontDescriptor
[Full Topic]

func (FontAssetRequest) Init

func (FontAssetRequest) InitWithFontDescriptorsOptions

func (f_ FontAssetRequest) InitWithFontDescriptorsOptions(fontDescriptors []IFontDescriptor, options FontAssetRequestOptions) FontAssetRequest

func (FontAssetRequest) Progress

func (f_ FontAssetRequest) Progress() foundation.Progress
[Full Topic]

type FontAssetRequestOptions

type FontAssetRequestOptions uint
[Full Topic]
const (
	FontAssetRequestOptionUsesStandardUI FontAssetRequestOptions = 1
)

type FontChangingWrapper

type FontChangingWrapper struct {
	objc.Object
}

A concrete type wrapper for the PFontChanging protocol.

func (FontChangingWrapper) ChangeFont

func (f_ FontChangingWrapper) ChangeFont(sender IFontManager)
[Full Topic]

func (FontChangingWrapper) HasChangeFont

func (f_ FontChangingWrapper) HasChangeFont() bool

func (FontChangingWrapper) HasValidModesForFontPanel

func (f_ FontChangingWrapper) HasValidModesForFontPanel() bool

func (FontChangingWrapper) ValidModesForFontPanel

func (f_ FontChangingWrapper) ValidModesForFontPanel(fontPanel IFontPanel) FontPanelModeMask
[Full Topic]

type FontCollection

type FontCollection struct {
	objc.Object
}

A font collection, which is a group of font descriptors taken together as a single object. Full Topic

func FontCollectionFrom

func FontCollectionFrom(ptr unsafe.Pointer) FontCollection

func FontCollection_Alloc

func FontCollection_Alloc() FontCollection

func FontCollection_FontCollectionWithAllAvailableDescriptors

func FontCollection_FontCollectionWithAllAvailableDescriptors() FontCollection

The font collection that matches all registered fonts. Full Topic

func FontCollection_FontCollectionWithDescriptors

func FontCollection_FontCollectionWithDescriptors(queryDescriptors []IFontDescriptor) FontCollection

Returns a font collection matching the given descriptors. Full Topic

func FontCollection_FontCollectionWithLocale

func FontCollection_FontCollectionWithLocale(locale foundation.ILocale) FontCollection

Returns a collection of fonts matching the given locale. Full Topic

func FontCollection_FontCollectionWithName

func FontCollection_FontCollectionWithName(name FontCollectionName) FontCollection

Creates a named font collection object. Full Topic

func NewFontCollection

func NewFontCollection() FontCollection

func (FontCollection) ExclusionDescriptors

func (f_ FontCollection) ExclusionDescriptors() []FontDescriptor

A list of query font descriptors whose matching results are excluded from the list of matching descriptors. Full Topic

func (FontCollection) Init

func (f_ FontCollection) Init() FontCollection

func (FontCollection) MatchingDescriptors

func (f_ FontCollection) MatchingDescriptors() []FontDescriptor

An array of font descriptors matching the logical descriptors. Full Topic

func (FontCollection) MatchingDescriptorsForFamily

func (f_ FontCollection) MatchingDescriptorsForFamily(family string) []FontDescriptor

Returns an array of font descriptors matching the logical descriptors for the given font family. Full Topic

func (FontCollection) MatchingDescriptorsWithOptions

func (f_ FontCollection) MatchingDescriptorsWithOptions(options map[FontCollectionMatchingOptionKey]foundation.INumber) []FontDescriptor

Returns an array of font descriptors matching the logical descriptors with the given options. Full Topic

func (FontCollection) QueryDescriptors

func (f_ FontCollection) QueryDescriptors() []FontDescriptor

An array of font descriptors whose matching results produce the collection’s matching descriptors. Full Topic

type FontCollectionActionTypeKey

type FontCollectionActionTypeKey string

The following actions are possible values of the NSFontCollectionActionKey in the NSFontCollectionDidChangeNotification userInfo method. Full Topic

const (
	FontCollectionWasHidden  FontCollectionActionTypeKey = "NSFontCollectionWasHidden"
	FontCollectionWasRenamed FontCollectionActionTypeKey = "NSFontCollectionWasRenamed"
	FontCollectionWasShown   FontCollectionActionTypeKey = "NSFontCollectionWasShown"
)

type FontCollectionMatchingOptionKey

type FontCollectionMatchingOptionKey string

These constants are used by the matchingDescriptorsWithOptions: and matchingDescriptorsForFamily: options dictionary parameters. Full Topic

const (
	FontCollectionDisallowAutoActivationOption FontCollectionMatchingOptionKey = "NSCTFontCollectionDisallowAutoActivationOption"
	FontCollectionIncludeDisabledFontsOption   FontCollectionMatchingOptionKey = "NSCTFontCollectionIncludeDisabledFontsOption"
	FontCollectionRemoveDuplicatesOption       FontCollectionMatchingOptionKey = "NSCTFontCollectionRemoveDuplicatesOption"
)

type FontCollectionName

type FontCollectionName string

The constants represent the standard mutable collection names—these names are included in the list of allFontCollectionNames--they have special meaning to the Cocoa font system and should not be hidden or renamed. Full Topic

const (
	FontCollectionAllFonts     FontCollectionName = "com.apple.AllFonts"
	FontCollectionFavorites    FontCollectionName = "com.apple.Favorites"
	FontCollectionRecentlyUsed FontCollectionName = "com.apple.Recents"
	FontCollectionUser         FontCollectionName = "com.apple.UserFonts"
)

func FontCollection_AllFontCollectionNames

func FontCollection_AllFontCollectionNames() []FontCollectionName

Returns all named collections visible to this process. Full Topic

type FontCollectionOptions

type FontCollectionOptions uint

Constants that support font collection management. Full Topic

const (
	FontCollectionApplicationOnlyMask FontCollectionOptions = 1
)

type FontCollectionUserInfoKey

type FontCollectionUserInfoKey string

These constants are used as keys in the NSFontCollectionDidChangeNotification userInfo dictionary to indicate the changes that have taken place. Full Topic

const (
	FontCollectionActionKey     FontCollectionUserInfoKey = "NSFontCollectionAction"
	FontCollectionNameKey       FontCollectionUserInfoKey = "NSFontCollectionName"
	FontCollectionOldNameKey    FontCollectionUserInfoKey = "NSFontCollectionOldName"
	FontCollectionVisibilityKey FontCollectionUserInfoKey = "NSFontCollectionVisibility"
)

type FontCollectionVisibility

type FontCollectionVisibility uint

Constants that specify the visibility of font collections. Full Topic

const (
	FontCollectionVisibilityComputer FontCollectionVisibility = 4
	FontCollectionVisibilityProcess  FontCollectionVisibility = 1
	FontCollectionVisibilityUser     FontCollectionVisibility = 2
)

type FontDescriptor

type FontDescriptor struct {
	objc.Object
}

A dictionary of attributes that describe a font. Full Topic

func FontDescriptorFrom

func FontDescriptorFrom(ptr unsafe.Pointer) FontDescriptor

func FontDescriptor_Alloc

func FontDescriptor_Alloc() FontDescriptor

func FontDescriptor_FontDescriptorWithDesign

func FontDescriptor_FontDescriptorWithDesign(design FontDescriptorSystemDesign) FontDescriptor

Returns a new font descriptor based on the current object, but with the specified design style. Full Topic

func FontDescriptor_FontDescriptorWithFontAttributes

func FontDescriptor_FontDescriptorWithFontAttributes(attributes map[FontDescriptorAttributeName]objc.IObject) FontDescriptor

Returns a font descriptor with a dictionary of attributes. Full Topic

func FontDescriptor_FontDescriptorWithNameSize

func FontDescriptor_FontDescriptorWithNameSize(fontName string, size float64) FontDescriptor

Returns a font descriptor with the name and size attributes set to the given values. Full Topic

func FontDescriptor_PreferredFontDescriptorForTextStyleOptions

func FontDescriptor_PreferredFontDescriptorForTextStyleOptions(style FontTextStyle, options map[FontTextStyleOptionKey]objc.IObject) FontDescriptor

Returns a font descriptor that contains the text style. Full Topic

func NewFontDescriptor

func NewFontDescriptor() FontDescriptor

func NewFontDescriptorWithFontAttributes

func NewFontDescriptorWithFontAttributes(attributes map[FontDescriptorAttributeName]objc.IObject) FontDescriptor

Initializes and returns a new font descriptor with the specified attributes. Full Topic

func (FontDescriptor) FontAttributes

func (f_ FontDescriptor) FontAttributes() map[FontDescriptorAttributeName]objc.Object

The receiver’s dictionary of attributes. Full Topic

func (FontDescriptor) FontDescriptorByAddingAttributes

func (f_ FontDescriptor) FontDescriptorByAddingAttributes(attributes map[FontDescriptorAttributeName]objc.IObject) FontDescriptor

Returns a new font descriptor based on the current object, but with the specified attributes taking precedence over the existing ones. Full Topic

func (FontDescriptor) FontDescriptorWithDesign

func (f_ FontDescriptor) FontDescriptorWithDesign(design FontDescriptorSystemDesign) FontDescriptor

func (FontDescriptor) FontDescriptorWithFace

func (f_ FontDescriptor) FontDescriptorWithFace(newFace string) FontDescriptor

Returns a new font descriptor based on the current object, but with the specified face. Full Topic

func (FontDescriptor) FontDescriptorWithFamily

func (f_ FontDescriptor) FontDescriptorWithFamily(newFamily string) FontDescriptor

Returns a new font descriptor based on the current object, but with the specified font family. Full Topic

func (FontDescriptor) FontDescriptorWithMatrix

func (f_ FontDescriptor) FontDescriptorWithMatrix(matrix foundation.IAffineTransform) FontDescriptor

Returns a new font descriptor based on the current object, but with the specified font matrix. Full Topic

func (FontDescriptor) FontDescriptorWithSize

func (f_ FontDescriptor) FontDescriptorWithSize(newPointSize float64) FontDescriptor

Returns a new font descriptor based on the current object, but with the specified point size. Full Topic

func (FontDescriptor) FontDescriptorWithSymbolicTraits

func (f_ FontDescriptor) FontDescriptorWithSymbolicTraits(symbolicTraits FontDescriptorSymbolicTraits) FontDescriptor

Returns a new font descriptor based on the current object, but with the specified symbolic traits taking precedence over the existing ones. Full Topic

func (FontDescriptor) Init

func (f_ FontDescriptor) Init() FontDescriptor

func (FontDescriptor) InitWithFontAttributes

func (f_ FontDescriptor) InitWithFontAttributes(attributes map[FontDescriptorAttributeName]objc.IObject) FontDescriptor

func (FontDescriptor) MatchingFontDescriptorWithMandatoryKeys

func (f_ FontDescriptor) MatchingFontDescriptorWithMandatoryKeys(mandatoryKeys foundation.ISet) FontDescriptor

Returns a normalized font descriptor whose specified attributes match those of the receiver. Full Topic

func (FontDescriptor) MatchingFontDescriptorsWithMandatoryKeys

func (f_ FontDescriptor) MatchingFontDescriptorsWithMandatoryKeys(mandatoryKeys foundation.ISet) []FontDescriptor

Returns all the fonts available on the system whose specified attributes match those of the receiver. Full Topic

func (FontDescriptor) Matrix

The current transform matrix of the receiver. Full Topic

func (FontDescriptor) ObjectForKey

func (f_ FontDescriptor) ObjectForKey(attribute FontDescriptorAttributeName) objc.Object

Returns the font attribute specified by the given key. Full Topic

func (FontDescriptor) PointSize

func (f_ FontDescriptor) PointSize() float64

The point size of the receiver. Full Topic

func (FontDescriptor) PostscriptName

func (f_ FontDescriptor) PostscriptName() string

The PostScript name of the receiver. Full Topic

func (FontDescriptor) RequiresFontAssetRequest

func (f_ FontDescriptor) RequiresFontAssetRequest() bool
[Full Topic]

func (FontDescriptor) SymbolicTraits

func (f_ FontDescriptor) SymbolicTraits() FontDescriptorSymbolicTraits

A bit mask that describes the traits of the receiver. Full Topic

type FontDescriptorAttributeName

type FontDescriptorAttributeName string

Constants for the names of font attributes. Full Topic

const (
	FontCascadeListAttribute     FontDescriptorAttributeName = "NSCTFontCascadeListAttribute"
	FontCharacterSetAttribute    FontDescriptorAttributeName = "NSCTFontCharacterSetAttribute"
	FontFaceAttribute            FontDescriptorAttributeName = "NSFontFaceAttribute"
	FontFamilyAttribute          FontDescriptorAttributeName = "NSFontFamilyAttribute"
	FontFeatureSettingsAttribute FontDescriptorAttributeName = "NSCTFontFeatureSettingsAttribute"
	FontFixedAdvanceAttribute    FontDescriptorAttributeName = "NSCTFontFixedAdvanceAttribute"
	FontMatrixAttribute          FontDescriptorAttributeName = "NSFontMatrixAttribute"
	FontNameAttribute            FontDescriptorAttributeName = "NSFontNameAttribute"
	FontSizeAttribute            FontDescriptorAttributeName = "NSFontSizeAttribute"
	FontTraitsAttribute          FontDescriptorAttributeName = "NSCTFontTraitsAttribute"
	FontVariationAttribute       FontDescriptorAttributeName = "NSCTFontVariationAttribute"
	FontVisibleNameAttribute     FontDescriptorAttributeName = "NSFontVisibleNameAttribute"
)

type FontDescriptorFeatureKey

type FontDescriptorFeatureKey string

Constants to use as keys to retrieve information about a font descriptor from its feature dictionary. Full Topic

const (
	FontFeatureSelectorIdentifierKey FontDescriptorFeatureKey = "CTFeatureSelectorIdentifier"
	FontFeatureTypeIdentifierKey     FontDescriptorFeatureKey = "CTFeatureTypeIdentifier"
)

type FontDescriptorSymbolicTraits

type FontDescriptorSymbolicTraits uint32

A symbolic description of the stylistic aspects of a font. Full Topic

const (
	FontDescriptorClassClarendonSerifs    FontDescriptorSymbolicTraits = 1073741824
	FontDescriptorClassFreeformSerifs     FontDescriptorSymbolicTraits = 1879048192
	FontDescriptorClassMask               FontDescriptorSymbolicTraits = 4026531840
	FontDescriptorClassModernSerifs       FontDescriptorSymbolicTraits = 805306368
	FontDescriptorClassOldStyleSerifs     FontDescriptorSymbolicTraits = 268435456
	FontDescriptorClassOrnamentals        FontDescriptorSymbolicTraits = 2415919104
	FontDescriptorClassSansSerif          FontDescriptorSymbolicTraits = 2147483648
	FontDescriptorClassScripts            FontDescriptorSymbolicTraits = 2684354560
	FontDescriptorClassSlabSerifs         FontDescriptorSymbolicTraits = 1342177280
	FontDescriptorClassSymbolic           FontDescriptorSymbolicTraits = 3221225472
	FontDescriptorClassTransitionalSerifs FontDescriptorSymbolicTraits = 536870912
	FontDescriptorClassUnknown            FontDescriptorSymbolicTraits = 0
	FontDescriptorTraitBold               FontDescriptorSymbolicTraits = 2
	FontDescriptorTraitCondensed          FontDescriptorSymbolicTraits = 64
	FontDescriptorTraitExpanded           FontDescriptorSymbolicTraits = 32
	FontDescriptorTraitItalic             FontDescriptorSymbolicTraits = 1
	FontDescriptorTraitLooseLeading       FontDescriptorSymbolicTraits = 65536
	FontDescriptorTraitMonoSpace          FontDescriptorSymbolicTraits = 1024
	FontDescriptorTraitTightLeading       FontDescriptorSymbolicTraits = 32768
	FontDescriptorTraitUIOptimized        FontDescriptorSymbolicTraits = 4096
	FontDescriptorTraitVertical           FontDescriptorSymbolicTraits = 2048
)

type FontDescriptorSystemDesign

type FontDescriptorSystemDesign string

Constants for font designs, such as monospace, rounded, and serif. Full Topic

const (
	FontDescriptorSystemDesignDefault    FontDescriptorSystemDesign = "NSCTFontUIFontDesignDefault"
	FontDescriptorSystemDesignMonospaced FontDescriptorSystemDesign = "NSCTFontUIFontDesignMonospaced"
	FontDescriptorSystemDesignRounded    FontDescriptorSystemDesign = "NSCTFontUIFontDesignRounded"
	FontDescriptorSystemDesignSerif      FontDescriptorSystemDesign = "NSCTFontUIFontDesignSerif"
)

type FontDescriptorTraitKey

type FontDescriptorTraitKey string

Constants that can be used as keys to retrieve information about a font descriptor from its trait dictionary. Full Topic

const (
	FontSlantTrait    FontDescriptorTraitKey = "NSCTFontSlantTrait"
	FontSymbolicTrait FontDescriptorTraitKey = "NSCTFontSymbolicTrait"
	FontWeightTrait   FontDescriptorTraitKey = "NSCTFontWeightTrait"
	FontWidthTrait    FontDescriptorTraitKey = "NSCTFontProportionTrait"
)

type FontDescriptorVariationKey

type FontDescriptorVariationKey string

Constants that can be used as keys to retrieve information about a font descriptor from its variation axis dictionary. Full Topic

const (
	FontVariationAxisDefaultValueKey FontDescriptorVariationKey = "NSCTVariationAxisDefaultValue"
	FontVariationAxisIdentifierKey   FontDescriptorVariationKey = "NSCTVariationAxisIdentifier"
	FontVariationAxisMaximumValueKey FontDescriptorVariationKey = "NSCTVariationAxisMaximumValue"
	FontVariationAxisMinimumValueKey FontDescriptorVariationKey = "NSCTVariationAxisMinimumValue"
	FontVariationAxisNameKey         FontDescriptorVariationKey = "NSCTVariationAxisName"
)

type FontFamilyClass

type FontFamilyClass uint32

Constants that classify certain stylistic qualities of the font. Full Topic

type FontManager

type FontManager struct {
	objc.Object
}

The center of activity for the font-conversion system. Full Topic

func FontManagerFrom

func FontManagerFrom(ptr unsafe.Pointer) FontManager

func FontManager_Alloc

func FontManager_Alloc() FontManager

func FontManager_SharedFontManager

func FontManager_SharedFontManager() FontManager

Returns the shared instance of the font manager for the application, creating it if necessary. Full Topic

func NewFontManager

func NewFontManager() FontManager

func (FontManager) Action

func (f_ FontManager) Action() objc.Selector

The action sent to the first responder when the user selects a new font from the Font panel or chooses a command from the Font menu. Full Topic

func (FontManager) AddFontTrait

func (f_ FontManager) AddFontTrait(sender objc.IObject)

Adds a trait to the font. Full Topic

func (FontManager) AvailableFontFamilies

func (f_ FontManager) AvailableFontFamilies() []string

The names of the font families available in the system. Full Topic

func (FontManager) AvailableFontNamesWithTraits

func (f_ FontManager) AvailableFontNamesWithTraits(someTraits FontTraitMask) []string

Returns the names of the fonts available in the system whose traits are described exactly by the given font trait mask (not the NSFont objects themselves). Full Topic

func (FontManager) AvailableFonts

func (f_ FontManager) AvailableFonts() []string

The names of the fonts available in the system (not the NSFont objects themselves). Full Topic

func (FontManager) AvailableMembersOfFontFamily

func (f_ FontManager) AvailableMembersOfFontFamily(fam string) [][]objc.Object

Returns an array with one entry for each available member of a font family. Full Topic

func (FontManager) ConvertAttributes

func (f_ FontManager) ConvertAttributes(attributes map[string]objc.IObject) map[string]objc.Object

Converts attributes in response to an object initiating an attribute change, typically the Font panel or Font menu. Full Topic

func (FontManager) ConvertFontToSize

func (f_ FontManager) ConvertFontToSize(fontObj IFont, size float64) Font

Returns a font object whose traits are the same as those of the given font, except for the size, which is changed to the given size. Full Topic

func (FontManager) ConvertFontTraits

func (f_ FontManager) ConvertFontTraits(traits FontTraitMask) FontTraitMask

Converts font traits to a new traits mask value. Full Topic

func (FontManager) ConvertWeightOfFont

func (f_ FontManager) ConvertWeightOfFont(upFlag bool, fontObj IFont) Font

Returns a font object whose weight is greater or lesser than that of the given font. Full Topic

func (FontManager) CurrentFontAction

func (f_ FontManager) CurrentFontAction() FontAction

The current font conversion action. Full Topic

func (FontManager) FontMenu

func (f_ FontManager) FontMenu(create bool) Menu

Returns the menu that’s connected to the font conversion system, creating it if necessary. Full Topic

func (FontManager) FontNamedHasTraits

func (f_ FontManager) FontNamedHasTraits(fName string, someTraits FontTraitMask) bool

Indicates whether the given font has all the specified traits. Full Topic

func (FontManager) FontPanel

func (f_ FontManager) FontPanel(create bool) FontPanel

Returns the application’s shared Font panel object, creating it if necessary. Full Topic

func (FontManager) FontWithFamilyTraitsWeightSize

func (f_ FontManager) FontWithFamilyTraitsWeightSize(family string, traits FontTraitMask, weight int, size float64) Font

Attempts to load a font with the specified characteristics. Full Topic

func (FontManager) Init

func (f_ FontManager) Init() FontManager

func (FontManager) IsEnabled

func (f_ FontManager) IsEnabled() bool

A Boolean value that indicates whether the font conversion system’s Font panel and Font menu items are enabled. Full Topic

func (FontManager) IsMultiple

func (f_ FontManager) IsMultiple() bool

A Boolean value that indicates whether the currently selected font has multiple fonts. Full Topic

func (FontManager) LocalizedNameForFamilyFace

func (f_ FontManager) LocalizedNameForFamilyFace(family string, faceKey string) string

Returns a localized string with the name of the specified font family and face, if one exists. Full Topic

func (FontManager) ModifyFont

func (f_ FontManager) ModifyFont(sender objc.IObject)

Modifies a trait of the font. Full Topic

func (FontManager) ModifyFontViaPanel

func (f_ FontManager) ModifyFontViaPanel(sender objc.IObject)

Modifies a font trait using input from the Font panel. Full Topic

func (FontManager) OrderFrontFontPanel

func (f_ FontManager) OrderFrontFontPanel(sender objc.IObject)

Opens the Font panel, creating it if necessary, and displays that panel in front of the app's windows. Full Topic

func (FontManager) OrderFrontStylesPanel

func (f_ FontManager) OrderFrontStylesPanel(sender objc.IObject)

Opens the Font Styles panel. Full Topic

func (FontManager) RemoveFontTrait

func (f_ FontManager) RemoveFontTrait(sender objc.IObject)

Removes a trait from the font. Full Topic

func (FontManager) SelectedFont

func (f_ FontManager) SelectedFont() Font

The currently selected font object. Full Topic

func (FontManager) SendAction

func (f_ FontManager) SendAction() bool

A Boolean value that indicates whether a responder handled the font manager’s action message. Full Topic

func (FontManager) SetAction

func (f_ FontManager) SetAction(value objc.Selector)

The action sent to the first responder when the user selects a new font from the Font panel or chooses a command from the Font menu. Full Topic

func (FontManager) SetEnabled

func (f_ FontManager) SetEnabled(value bool)

A Boolean value that indicates whether the font conversion system’s Font panel and Font menu items are enabled. Full Topic

func (FontManager) SetFontMenu

func (f_ FontManager) SetFontMenu(newMenu IMenu)

Records the given menu as the application’s Font menu. Full Topic

func (FontManager) SetSelectedAttributesIsMultiple

func (f_ FontManager) SetSelectedAttributesIsMultiple(attributes map[string]objc.IObject, flag bool)

Informs the Font panel that the specified font attributes changed for the selected text. Full Topic

func (FontManager) SetSelectedFontIsMultiple

func (f_ FontManager) SetSelectedFontIsMultiple(fontObj IFont, flag bool)

Records the specified font as the currently selected font and updates the Font panel. Full Topic

func (FontManager) SetTarget

func (f_ FontManager) SetTarget(value objc.IObject)

The object that receives action messages related to the font manager. Full Topic

func (FontManager) Target

func (f_ FontManager) Target() objc.Object

The object that receives action messages related to the font manager. Full Topic

func (FontManager) TraitsOfFont

func (f_ FontManager) TraitsOfFont(fontObj IFont) FontTraitMask

Returns the traits of the given font. Full Topic

func (FontManager) WeightOfFont

func (f_ FontManager) WeightOfFont(fontObj IFont) int

Returns an approximation of the specified font's weight. Full Topic

type FontPanel

type FontPanel struct {
	Panel
}

The Font panel—a user interface object that displays a list of available fonts, letting the user preview them and change the font used to display text. Full Topic

func FontPanelFrom

func FontPanelFrom(ptr unsafe.Pointer) FontPanel

func FontPanel_Alloc

func FontPanel_Alloc() FontPanel

func FontPanel_SharedFontPanel

func FontPanel_SharedFontPanel() FontPanel

Returns the single NSFontPanel instance for the application, creating it if necessary. Full Topic

func FontPanel_WindowWithContentViewController

func FontPanel_WindowWithContentViewController(contentViewController IViewController) FontPanel

Creates a titled window that contains the specified content view controller. Full Topic

func NewFontPanel

func NewFontPanel() FontPanel

func NewFontPanelWithContentRectStyleMaskBackingDeferScreen

func NewFontPanelWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) FontPanel

Initializes an allocated window with the specified values. Full Topic

func (FontPanel) AccessoryView

func (f_ FontPanel) AccessoryView() View

The specified view as the receiver’s accessory view, allowing you to add custom controls to your application’s Font panel without having to create a subclass. Full Topic

func (FontPanel) Init

func (f_ FontPanel) Init() FontPanel

func (FontPanel) InitWithContentRectStyleMaskBackingDeferScreen

func (f_ FontPanel) InitWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) FontPanel

func (FontPanel) IsEnabled

func (f_ FontPanel) IsEnabled() bool

A Boolean that shows whether the receiver’s Set button is enabled. Full Topic

func (FontPanel) PanelConvertFont

func (f_ FontPanel) PanelConvertFont(fontObj IFont) Font

Converts the specified font using the settings in the receiver, with the aid of the shared NSFontManager if necessary. Full Topic

func (FontPanel) ReloadDefaultFontFamilies

func (f_ FontPanel) ReloadDefaultFontFamilies()

Triggers a reload to the default state, so that the delegate is called. Full Topic

func (FontPanel) SetAccessoryView

func (f_ FontPanel) SetAccessoryView(value IView)

The specified view as the receiver’s accessory view, allowing you to add custom controls to your application’s Font panel without having to create a subclass. Full Topic

func (FontPanel) SetEnabled

func (f_ FontPanel) SetEnabled(value bool)

A Boolean that shows whether the receiver’s Set button is enabled. Full Topic

func (FontPanel) SetPanelFontIsMultiple

func (f_ FontPanel) SetPanelFontIsMultiple(fontObj IFont, flag bool)

Sets the selected font in the receiver to the specified font. Full Topic

type FontPanelModeMask

type FontPanelModeMask uint
[Full Topic]
const (
	FontPanelModeMaskAllEffects          FontPanelModeMask = 1048320
	FontPanelModeMaskCollection          FontPanelModeMask = 4
	FontPanelModeMaskDocumentColorEffect FontPanelModeMask = 2048
	FontPanelModeMaskFace                FontPanelModeMask = 1
	FontPanelModeMaskShadowEffect        FontPanelModeMask = 4096
	FontPanelModeMaskSize                FontPanelModeMask = 2
	FontPanelModeMaskStrikethroughEffect FontPanelModeMask = 512
	FontPanelModeMaskTextColorEffect     FontPanelModeMask = 1024
	FontPanelModeMaskUnderlineEffect     FontPanelModeMask = 256
	FontPanelModesMaskAllModes           FontPanelModeMask = 4294967295
	FontPanelModesMaskStandardModes      FontPanelModeMask = 65535
)

type FontRenderingMode

type FontRenderingMode uint

The font rendering mode. Full Topic

const (
	FontAntialiasedIntegerAdvancementsRenderingMode FontRenderingMode = 3
	FontAntialiasedRenderingMode                    FontRenderingMode = 1
	FontDefaultRenderingMode                        FontRenderingMode = 0
	FontIntegerAdvancementsRenderingMode            FontRenderingMode = 2
)

type FontSymbolicTraits

type FontSymbolicTraits uint32

A symbolic description of stylistic aspects of a font. Full Topic

type FontTextStyle

type FontTextStyle string

Constants that specify the preferred text styles you use with fonts. Full Topic

const (
	FontTextStyleBody        FontTextStyle = "UICTFontTextStyleBody"
	FontTextStyleCallout     FontTextStyle = "UICTFontTextStyleCallout"
	FontTextStyleCaption1    FontTextStyle = "UICTFontTextStyleCaption1"
	FontTextStyleCaption2    FontTextStyle = "UICTFontTextStyleCaption2"
	FontTextStyleFootnote    FontTextStyle = "UICTFontTextStyleFootnote"
	FontTextStyleHeadline    FontTextStyle = "UICTFontTextStyleHeadline"
	FontTextStyleLargeTitle  FontTextStyle = "UICTFontTextStyleTitle0"
	FontTextStyleSubheadline FontTextStyle = "UICTFontTextStyleSubhead"
	FontTextStyleTitle1      FontTextStyle = "UICTFontTextStyleTitle1"
	FontTextStyleTitle2      FontTextStyle = "UICTFontTextStyleTitle2"
	FontTextStyleTitle3      FontTextStyle = "UICTFontTextStyleTitle3"
)

type FontTextStyleOptionKey

type FontTextStyleOptionKey string

The options that you apply when requesting the font or font descriptor of a preferred text style. Full Topic

type FontTraitMask

type FontTraitMask uint

Constants for isolating specific traits of a font. Full Topic

const (
	BoldFontMask                    FontTraitMask = 2
	CompressedFontMask              FontTraitMask = 512
	CondensedFontMask               FontTraitMask = 64
	ExpandedFontMask                FontTraitMask = 32
	FixedPitchFontMask              FontTraitMask = 1024
	ItalicFontMask                  FontTraitMask = 1
	NarrowFontMask                  FontTraitMask = 16
	NonStandardCharacterSetFontMask FontTraitMask = 8
	PosterFontMask                  FontTraitMask = 256
	SmallCapsFontMask               FontTraitMask = 128
	UnboldFontMask                  FontTraitMask = 4
	UnitalicFontMask                FontTraitMask = 16777216
)

type FontWeight

type FontWeight float64

System-defined font-weight values. Full Topic

const (
	FontWeightBlack      FontWeight = 0.620000
	FontWeightBold       FontWeight = 0.400000
	FontWeightHeavy      FontWeight = 0.560000
	FontWeightLight      FontWeight = -0.400000
	FontWeightMedium     FontWeight = 0.230000
	FontWeightRegular    FontWeight = 0.000000
	FontWeightSemibold   FontWeight = 0.300000
	FontWeightThin       FontWeight = -0.600000
	FontWeightUltraLight FontWeight = -0.800000
)

type FontWidth

type FontWidth float64

for some reason not in symbols.zip?

type Form

type Form struct {
	Matrix
}

An NSForm object is a vertical matrix of NSFormCell objects to implement the fields. Full Topic

func FormFrom

func FormFrom(ptr unsafe.Pointer) Form

func Form_Alloc

func Form_Alloc() Form

func NewForm

func NewForm() Form

func NewFormWithFrame

func NewFormWithFrame(frameRect foundation.Rect) Form

Initializes a newly allocated matrix with the specified frame. Full Topic

func (Form) Init

func (f_ Form) Init() Form

func (Form) InitWithFrame

func (f_ Form) InitWithFrame(frameRect foundation.Rect) Form

type FormCell

type FormCell struct {
	ActionCell
}

The NSFormCell class is used to implement text entry fields in a form. The left part of an NSFormCell object contains a title. The right part contains an editable text entry field. Full Topic

func FormCellFrom

func FormCellFrom(ptr unsafe.Pointer) FormCell

func FormCell_Alloc

func FormCell_Alloc() FormCell

func NewFormCell

func NewFormCell() FormCell

func NewFormCellImageCell

func NewFormCellImageCell(image IImage) FormCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewFormCellTextCell

func NewFormCellTextCell(string_ string) FormCell

Returns an NSFormCell object initialized with the specified title string. Full Topic

func (FormCell) AttributedTitle

func (f_ FormCell) AttributedTitle() foundation.AttributedString

The title of the cell as an attributed string. Full Topic

func (FormCell) Init

func (f_ FormCell) Init() FormCell

func (FormCell) InitImageCell

func (f_ FormCell) InitImageCell(image IImage) FormCell

func (FormCell) InitTextCell

func (f_ FormCell) InitTextCell(string_ string) FormCell

func (FormCell) PlaceholderAttributedString

func (f_ FormCell) PlaceholderAttributedString() foundation.AttributedString

The cell’s attributed placeholder string. Full Topic

func (FormCell) PlaceholderString

func (f_ FormCell) PlaceholderString() string

The cell’s plain text placeholder string. Full Topic

func (FormCell) PreferredTextFieldWidth

func (f_ FormCell) PreferredTextFieldWidth() float64

The preferred text field width. Full Topic

func (FormCell) SetAttributedTitle

func (f_ FormCell) SetAttributedTitle(value foundation.IAttributedString)

The title of the cell as an attributed string. Full Topic

func (FormCell) SetPlaceholderAttributedString

func (f_ FormCell) SetPlaceholderAttributedString(value foundation.IAttributedString)

The cell’s attributed placeholder string. Full Topic

func (FormCell) SetPlaceholderString

func (f_ FormCell) SetPlaceholderString(value string)

The cell’s plain text placeholder string. Full Topic

func (FormCell) SetPreferredTextFieldWidth

func (f_ FormCell) SetPreferredTextFieldWidth(value float64)

The preferred text field width. Full Topic

func (FormCell) SetTitleAlignment

func (f_ FormCell) SetTitleAlignment(value TextAlignment)

The alignment of the title. Full Topic

func (FormCell) SetTitleBaseWritingDirection

func (f_ FormCell) SetTitleBaseWritingDirection(value WritingDirection)

The default writing direction used to render the form cell’s title. Full Topic

func (FormCell) SetTitleFont

func (f_ FormCell) SetTitleFont(value IFont)

The font used to draw cell’s title. Full Topic

func (FormCell) SetTitleWidth

func (f_ FormCell) SetTitleWidth(value float64)

The width of the title field. Full Topic

func (FormCell) TitleAlignment

func (f_ FormCell) TitleAlignment() TextAlignment

The alignment of the title. Full Topic

func (FormCell) TitleBaseWritingDirection

func (f_ FormCell) TitleBaseWritingDirection() WritingDirection

The default writing direction used to render the form cell’s title. Full Topic

func (FormCell) TitleFont

func (f_ FormCell) TitleFont() Font

The font used to draw cell’s title. Full Topic

func (FormCell) TitleWidth

func (f_ FormCell) TitleWidth() float64

The width of the title field. Full Topic

type GestureRecognizer

type GestureRecognizer struct {
	objc.Object
}

An object that monitors events and calls its action method when a predefined sequence of events occur. Full Topic

func GestureRecognizerFrom

func GestureRecognizerFrom(ptr unsafe.Pointer) GestureRecognizer

func GestureRecognizer_Alloc

func GestureRecognizer_Alloc() GestureRecognizer

func NewGestureRecognizer

func NewGestureRecognizer() GestureRecognizer

func NewGestureRecognizerWithTargetAction

func NewGestureRecognizerWithTargetAction(target objc.IObject, action objc.Selector) GestureRecognizer

Initializes the gesture recognizer with the specified target and action information. Full Topic

func (GestureRecognizer) Action

func (g_ GestureRecognizer) Action() objc.Selector

The action method to call when the gesture is recognized. Full Topic

func (GestureRecognizer) AllowedTouchTypes

func (g_ GestureRecognizer) AllowedTouchTypes() TouchTypeMask
[Full Topic]

func (GestureRecognizer) CanBePreventedByGestureRecognizer

func (g_ GestureRecognizer) CanBePreventedByGestureRecognizer(preventingGestureRecognizer IGestureRecognizer) bool

Overridden to indicate that the specified gesture recognizer can prevent the current object from recognizing a gesture. Full Topic

func (GestureRecognizer) CanPreventGestureRecognizer

func (g_ GestureRecognizer) CanPreventGestureRecognizer(preventedGestureRecognizer IGestureRecognizer) bool

Overridden to indicate that the current object can prevent the specified gesture recognizer from recognizing its gesture. Full Topic

func (GestureRecognizer) DelaysKeyEvents

func (g_ GestureRecognizer) DelaysKeyEvents() bool

A Boolean value that indicates whether key events are delivered only after gesture recognition fails. Full Topic

func (GestureRecognizer) DelaysMagnificationEvents

func (g_ GestureRecognizer) DelaysMagnificationEvents() bool

A Boolean value that indicates whether magnification events are delivered only after gesture recognition fails. Full Topic

func (GestureRecognizer) DelaysOtherMouseButtonEvents

func (g_ GestureRecognizer) DelaysOtherMouseButtonEvents() bool

A Boolean value that indicates whether other mouse button events are delivered only after gesture recognition fails. Full Topic

func (GestureRecognizer) DelaysPrimaryMouseButtonEvents

func (g_ GestureRecognizer) DelaysPrimaryMouseButtonEvents() bool

A Boolean value that indicates whether primary mouse button events are delivered only after gesture recognition fails. Full Topic

func (GestureRecognizer) DelaysRotationEvents

func (g_ GestureRecognizer) DelaysRotationEvents() bool

A Boolean value that indicates whether rotation events are delivered only after gesture recognition fails. Full Topic

func (GestureRecognizer) DelaysSecondaryMouseButtonEvents

func (g_ GestureRecognizer) DelaysSecondaryMouseButtonEvents() bool

A Boolean value that indicates whether secondary mouse button events are delivered only after gesture recognition fails. Full Topic

func (GestureRecognizer) Delegate

The delegate of the gesture recognizer. Full Topic

func (GestureRecognizer) FlagsChanged

func (g_ GestureRecognizer) FlagsChanged(event IEvent)

Informs the current object that the user pressed or released a modifier key (Shift, Control, and so on). Full Topic

func (GestureRecognizer) Init

func (GestureRecognizer) InitWithTargetAction

func (g_ GestureRecognizer) InitWithTargetAction(target objc.IObject, action objc.Selector) GestureRecognizer

func (GestureRecognizer) IsEnabled

func (g_ GestureRecognizer) IsEnabled() bool

A Boolean value indicating whether the gesture recognizer is able to handle events. Full Topic

func (GestureRecognizer) KeyDown

func (g_ GestureRecognizer) KeyDown(event IEvent)

Informs the gesture recognizer that the user has pressed a key. Full Topic

func (GestureRecognizer) KeyUp

func (g_ GestureRecognizer) KeyUp(event IEvent)

Informs the gesture recognizer that the user released a key. Full Topic

func (GestureRecognizer) LocationInView

func (g_ GestureRecognizer) LocationInView(view IView) foundation.Point

Returns the point computed as the location of the gesture. Full Topic

func (GestureRecognizer) MagnifyWithEvent

func (g_ GestureRecognizer) MagnifyWithEvent(event IEvent)

Informs the gesture recognizer that the user is performing a pinch gesture. Full Topic

func (GestureRecognizer) MouseDown

func (g_ GestureRecognizer) MouseDown(event IEvent)

Informs the gesture recognizer that the user pressed the left mouse button. Full Topic

func (GestureRecognizer) MouseDragged

func (g_ GestureRecognizer) MouseDragged(event IEvent)

Informs the gesture recognizer that the user moved the mouse with the left button pressed. Full Topic

func (GestureRecognizer) MouseUp

func (g_ GestureRecognizer) MouseUp(event IEvent)

Informs the gesture recognizer that the user released the left mouse button. Full Topic

func (GestureRecognizer) OtherMouseDown

func (g_ GestureRecognizer) OtherMouseDown(event IEvent)

Informs the gesture recognizer that the user pressed a mouse button other than the left or right one. Full Topic

func (GestureRecognizer) OtherMouseDragged

func (g_ GestureRecognizer) OtherMouseDragged(event IEvent)

Informs the gesture recognizer that the user moved the mouse with a button other than the left or right one pressed. Full Topic

func (GestureRecognizer) OtherMouseUp

func (g_ GestureRecognizer) OtherMouseUp(event IEvent)

Informs the gesture recognizer that the user released a mouse button other than the left or right one. Full Topic

func (GestureRecognizer) PressureChangeWithEvent

func (g_ GestureRecognizer) PressureChangeWithEvent(event IEvent)

Informs the current object that a pressure change occurred on a system that supports pressure sensitivity. Full Topic

func (GestureRecognizer) PressureConfiguration

func (g_ GestureRecognizer) PressureConfiguration() PressureConfiguration

Configures the behavior and progression of the Force Touch trackpad when responding to recognized pressure gestures. Full Topic

func (GestureRecognizer) Reset

func (g_ GestureRecognizer) Reset()

Overridden to reset the internal state of the gesture recognizer when an attempt completes. Full Topic

func (GestureRecognizer) RightMouseDown

func (g_ GestureRecognizer) RightMouseDown(event IEvent)

Informs the gesture recognizer that the user pressed the right mouse button. Full Topic

func (GestureRecognizer) RightMouseDragged

func (g_ GestureRecognizer) RightMouseDragged(event IEvent)

Informs the gesture recognizer that the user moved the mouse with the right button pressed. Full Topic

func (GestureRecognizer) RightMouseUp

func (g_ GestureRecognizer) RightMouseUp(event IEvent)

Informs the gesture recognizer that the user released the right mouse button. Full Topic

func (GestureRecognizer) RotateWithEvent

func (g_ GestureRecognizer) RotateWithEvent(event IEvent)

Informs the gesture recognizer that the user is performing a rotation gesture. Full Topic

func (GestureRecognizer) SetAction

func (g_ GestureRecognizer) SetAction(value objc.Selector)

The action method to call when the gesture is recognized. Full Topic

func (GestureRecognizer) SetAllowedTouchTypes

func (g_ GestureRecognizer) SetAllowedTouchTypes(value TouchTypeMask)
[Full Topic]

func (GestureRecognizer) SetDelaysKeyEvents

func (g_ GestureRecognizer) SetDelaysKeyEvents(value bool)

A Boolean value that indicates whether key events are delivered only after gesture recognition fails. Full Topic

func (GestureRecognizer) SetDelaysMagnificationEvents

func (g_ GestureRecognizer) SetDelaysMagnificationEvents(value bool)

A Boolean value that indicates whether magnification events are delivered only after gesture recognition fails. Full Topic

func (GestureRecognizer) SetDelaysOtherMouseButtonEvents

func (g_ GestureRecognizer) SetDelaysOtherMouseButtonEvents(value bool)

A Boolean value that indicates whether other mouse button events are delivered only after gesture recognition fails. Full Topic

func (GestureRecognizer) SetDelaysPrimaryMouseButtonEvents

func (g_ GestureRecognizer) SetDelaysPrimaryMouseButtonEvents(value bool)

A Boolean value that indicates whether primary mouse button events are delivered only after gesture recognition fails. Full Topic

func (GestureRecognizer) SetDelaysRotationEvents

func (g_ GestureRecognizer) SetDelaysRotationEvents(value bool)

A Boolean value that indicates whether rotation events are delivered only after gesture recognition fails. Full Topic

func (GestureRecognizer) SetDelaysSecondaryMouseButtonEvents

func (g_ GestureRecognizer) SetDelaysSecondaryMouseButtonEvents(value bool)

A Boolean value that indicates whether secondary mouse button events are delivered only after gesture recognition fails. Full Topic

func (GestureRecognizer) SetDelegate

func (g_ GestureRecognizer) SetDelegate(value PGestureRecognizerDelegate)

The delegate of the gesture recognizer. Full Topic

func (GestureRecognizer) SetDelegateObject

func (g_ GestureRecognizer) SetDelegateObject(valueObject objc.IObject)

The delegate of the gesture recognizer. Full Topic

func (GestureRecognizer) SetEnabled

func (g_ GestureRecognizer) SetEnabled(value bool)

A Boolean value indicating whether the gesture recognizer is able to handle events. Full Topic

func (GestureRecognizer) SetPressureConfiguration

func (g_ GestureRecognizer) SetPressureConfiguration(value IPressureConfiguration)

Configures the behavior and progression of the Force Touch trackpad when responding to recognized pressure gestures. Full Topic

func (GestureRecognizer) SetTarget

func (g_ GestureRecognizer) SetTarget(value objc.IObject)

The object that implements the action method. Full Topic

func (GestureRecognizer) ShouldBeRequiredToFailByGestureRecognizer

func (g_ GestureRecognizer) ShouldBeRequiredToFailByGestureRecognizer(otherGestureRecognizer IGestureRecognizer) bool

Overridden to indicate that the current object must fail before the specified gesture recognizer begins recognizing its gesture. Full Topic

func (GestureRecognizer) ShouldRequireFailureOfGestureRecognizer

func (g_ GestureRecognizer) ShouldRequireFailureOfGestureRecognizer(otherGestureRecognizer IGestureRecognizer) bool

Overridden to indicate that the specified gesture recognizer must fail before the current object begins recognizing its gesture. Full Topic

func (GestureRecognizer) State

The current state of the gesture recognizer. Full Topic

func (GestureRecognizer) TabletPoint

func (g_ GestureRecognizer) TabletPoint(event IEvent)

Informs the user that a tablet-point event occurred. Full Topic

func (GestureRecognizer) Target

func (g_ GestureRecognizer) Target() objc.Object

The object that implements the action method. Full Topic

func (GestureRecognizer) TouchesBeganWithEvent

func (g_ GestureRecognizer) TouchesBeganWithEvent(event IEvent)

Called when one or more fingers first make contact with an NSTouchBar instance on the Touch Bar. Full Topic

func (GestureRecognizer) TouchesCancelledWithEvent

func (g_ GestureRecognizer) TouchesCancelledWithEvent(event IEvent)

Called when a system event, such as a low-memory warning, cancels an in-progress touch event in an NSTouchBar object. Full Topic

func (GestureRecognizer) TouchesEndedWithEvent

func (g_ GestureRecognizer) TouchesEndedWithEvent(event IEvent)

Called when one or more fingers are removed from contact with an NSTouchBar instance on the Touch Bar. Full Topic

func (GestureRecognizer) TouchesMovedWithEvent

func (g_ GestureRecognizer) TouchesMovedWithEvent(event IEvent)

Called when one or more fingers, associated with an in-progress event, move within an NSTouchBar instance on the Touch Bar. Full Topic

func (GestureRecognizer) View

func (g_ GestureRecognizer) View() View

The view to which the gesture recognizer is attached. Full Topic

type GestureRecognizerDelegate

type GestureRecognizerDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PGestureRecognizerDelegate protocol.

func (*GestureRecognizerDelegate) GestureRecognizerShouldBegin

func (di *GestureRecognizerDelegate) GestureRecognizerShouldBegin(gestureRecognizer GestureRecognizer) bool

Asks the delegate if a gesture recognizer should transition out of the Possible (NSGestureRecognizerStatePossible) state. Full Topic

func (*GestureRecognizerDelegate) GestureRecognizerShouldReceiveTouch

func (di *GestureRecognizerDelegate) GestureRecognizerShouldReceiveTouch(gestureRecognizer GestureRecognizer, touch Touch) bool

Called, for a new touch, before the system calls the touchesBegan:withEvent: method on the gesture recognizer. Return NO to prevent the gesture recognizer from seeing this touch. Full Topic

func (*GestureRecognizerDelegate) HasGestureRecognizerShouldBegin

func (di *GestureRecognizerDelegate) HasGestureRecognizerShouldBegin() bool

func (*GestureRecognizerDelegate) HasGestureRecognizerShouldReceiveTouch

func (di *GestureRecognizerDelegate) HasGestureRecognizerShouldReceiveTouch() bool

func (*GestureRecognizerDelegate) SetGestureRecognizerShouldBegin

func (di *GestureRecognizerDelegate) SetGestureRecognizerShouldBegin(f func(gestureRecognizer GestureRecognizer) bool)

Asks the delegate if a gesture recognizer should transition out of the Possible (NSGestureRecognizerStatePossible) state. Full Topic

func (*GestureRecognizerDelegate) SetGestureRecognizerShouldReceiveTouch

func (di *GestureRecognizerDelegate) SetGestureRecognizerShouldReceiveTouch(f func(gestureRecognizer GestureRecognizer, touch Touch) bool)

Called, for a new touch, before the system calls the touchesBegan:withEvent: method on the gesture recognizer. Return NO to prevent the gesture recognizer from seeing this touch. Full Topic

type GestureRecognizerDelegateWrapper

type GestureRecognizerDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PGestureRecognizerDelegate protocol.

func (GestureRecognizerDelegateWrapper) GestureRecognizerShouldBegin

func (g_ GestureRecognizerDelegateWrapper) GestureRecognizerShouldBegin(gestureRecognizer IGestureRecognizer) bool

Asks the delegate if a gesture recognizer should transition out of the Possible (NSGestureRecognizerStatePossible) state. Full Topic

func (GestureRecognizerDelegateWrapper) GestureRecognizerShouldReceiveTouch

func (g_ GestureRecognizerDelegateWrapper) GestureRecognizerShouldReceiveTouch(gestureRecognizer IGestureRecognizer, touch ITouch) bool

Called, for a new touch, before the system calls the touchesBegan:withEvent: method on the gesture recognizer. Return NO to prevent the gesture recognizer from seeing this touch. Full Topic

func (GestureRecognizerDelegateWrapper) HasGestureRecognizerShouldBegin

func (g_ GestureRecognizerDelegateWrapper) HasGestureRecognizerShouldBegin() bool

func (GestureRecognizerDelegateWrapper) HasGestureRecognizerShouldReceiveTouch

func (g_ GestureRecognizerDelegateWrapper) HasGestureRecognizerShouldReceiveTouch() bool

type GestureRecognizerState

type GestureRecognizerState int

The current state of the gesture recognizer. Full Topic

const (
	GestureRecognizerStateBegan      GestureRecognizerState = 1
	GestureRecognizerStateCancelled  GestureRecognizerState = 4
	GestureRecognizerStateChanged    GestureRecognizerState = 2
	GestureRecognizerStateEnded      GestureRecognizerState = 3
	GestureRecognizerStateFailed     GestureRecognizerState = 5
	GestureRecognizerStatePossible   GestureRecognizerState = 0
	GestureRecognizerStateRecognized GestureRecognizerState = 3
)

type Glyph

type Glyph int

The type used to specify glyphs. Full Topic

type GlyphGenerator

type GlyphGenerator struct {
	objc.Object
}

An object that performs the initial, nominal glyph generation phase in the layout process. Full Topic

func GlyphGeneratorFrom

func GlyphGeneratorFrom(ptr unsafe.Pointer) GlyphGenerator

func GlyphGenerator_Alloc

func GlyphGenerator_Alloc() GlyphGenerator

func GlyphGenerator_SharedGlyphGenerator

func GlyphGenerator_SharedGlyphGenerator() GlyphGenerator

Returns a shared instance of NSGlyphGenerator. Full Topic

func NewGlyphGenerator

func NewGlyphGenerator() GlyphGenerator

func (GlyphGenerator) GenerateGlyphsForGlyphStorageDesiredNumberOfCharactersGlyphIndexCharacterIndex

func (g_ GlyphGenerator) GenerateGlyphsForGlyphStorageDesiredNumberOfCharactersGlyphIndexCharacterIndex(glyphStorage PGlyphStorage, nChars uint, glyphIndex *uint, charIndex *uint)

Generates glyphs for the specified glyph storage object (NSLayoutManager by default). Full Topic

func (GlyphGenerator) GenerateGlyphsForGlyphStorageObjectDesiredNumberOfCharactersGlyphIndexCharacterIndex

func (g_ GlyphGenerator) GenerateGlyphsForGlyphStorageObjectDesiredNumberOfCharactersGlyphIndexCharacterIndex(glyphStorageObject objc.IObject, nChars uint, glyphIndex *uint, charIndex *uint)

Generates glyphs for the specified glyph storage object (NSLayoutManager by default). Full Topic

func (GlyphGenerator) Init

func (g_ GlyphGenerator) Init() GlyphGenerator

type GlyphInfo

type GlyphInfo struct {
	objc.Object
}

A glyph attribute in an attributed string. Full Topic

func GlyphInfoFrom

func GlyphInfoFrom(ptr unsafe.Pointer) GlyphInfo

func GlyphInfo_Alloc

func GlyphInfo_Alloc() GlyphInfo

func GlyphInfo_GlyphInfoWithCGGlyphForFontBaseString

func GlyphInfo_GlyphInfoWithCGGlyphForFontBaseString(glyph coregraphics.Glyph, font IFont, string_ string) GlyphInfo

Creates a glyph info object from the specified glyph identifier and font informaton. Full Topic

func NewGlyphInfo

func NewGlyphInfo() GlyphInfo

func (GlyphInfo) BaseString

func (g_ GlyphInfo) BaseString() string

The string containing the character represented by the glyph. Full Topic

func (GlyphInfo) GlyphID

func (g_ GlyphInfo) GlyphID() coregraphics.Glyph

The glyph identifier, specified as the index into the internal glyph table of the font. Full Topic

func (GlyphInfo) Init

func (g_ GlyphInfo) Init() GlyphInfo

type GlyphInscription

type GlyphInscription uint

Constants that specify how a glyph is laid out relative to the previous glyph. Full Topic

const (
	GlyphInscribeAbove      GlyphInscription = 2
	GlyphInscribeBase       GlyphInscription = 0
	GlyphInscribeBelow      GlyphInscription = 1
	GlyphInscribeOverBelow  GlyphInscription = 4
	GlyphInscribeOverstrike GlyphInscription = 3
)

type GlyphProperty

type GlyphProperty int

Glyph properties. Full Topic

const (
	GlyphPropertyControlCharacter GlyphProperty = 2
	GlyphPropertyElastic          GlyphProperty = 4
	GlyphPropertyNonBaseCharacter GlyphProperty = 8
	GlyphPropertyNull             GlyphProperty = 1
)

type GlyphStorageWrapper

type GlyphStorageWrapper struct {
	objc.Object
}

A concrete type wrapper for the PGlyphStorage protocol.

func (GlyphStorageWrapper) AttributedString

func (g_ GlyphStorageWrapper) AttributedString() foundation.AttributedString

Returns the text storage object from which the NSGlyphGenerator object procures characters for glyph generation. Full Topic

func (GlyphStorageWrapper) HasAttributedString

func (g_ GlyphStorageWrapper) HasAttributedString() bool

func (GlyphStorageWrapper) HasInsertGlyphsLengthForStartingGlyphAtIndexCharacterIndex

func (g_ GlyphStorageWrapper) HasInsertGlyphsLengthForStartingGlyphAtIndexCharacterIndex() bool

func (GlyphStorageWrapper) HasLayoutOptions

func (g_ GlyphStorageWrapper) HasLayoutOptions() bool

func (GlyphStorageWrapper) HasSetIntAttributeValueForGlyphAtIndex

func (g_ GlyphStorageWrapper) HasSetIntAttributeValueForGlyphAtIndex() bool

func (GlyphStorageWrapper) InsertGlyphsLengthForStartingGlyphAtIndexCharacterIndex

func (g_ GlyphStorageWrapper) InsertGlyphsLengthForStartingGlyphAtIndexCharacterIndex(glyphs *Glyph, length uint, glyphIndex uint, charIndex uint)

Inserts the given glyphs into the glyph cache and maps them to the specified characters. Full Topic

func (GlyphStorageWrapper) LayoutOptions

func (g_ GlyphStorageWrapper) LayoutOptions() uint

Returns the current layout options. Full Topic

func (GlyphStorageWrapper) SetIntAttributeValueForGlyphAtIndex

func (g_ GlyphStorageWrapper) SetIntAttributeValueForGlyphAtIndex(attributeTag int, val int, glyphIndex uint)

Sets a custom attribute value for a given glyph. Full Topic

type Gradient

type Gradient struct {
	objc.Object
}

An object that can draw gradient fill colors Full Topic

func GradientFrom

func GradientFrom(ptr unsafe.Pointer) Gradient

func Gradient_Alloc

func Gradient_Alloc() Gradient

func NewGradient

func NewGradient() Gradient

func NewGradientWithColors

func NewGradientWithColors(colorArray []IColor) Gradient

Initializes a newly allocated gradient object with an array of colors. Full Topic

func NewGradientWithColorsAndLocations

func NewGradientWithColorsAndLocations(firstColor IColor, args ...any) Gradient

Initializes a newly allocated gradient object with a comma-separated list of arguments. Full Topic

func NewGradientWithStartingColorEndingColor

func NewGradientWithStartingColorEndingColor(startingColor IColor, endingColor IColor) Gradient

Initializes a newly allocated gradient object with two colors. Full Topic

func (Gradient) ColorSpace

func (g_ Gradient) ColorSpace() ColorSpace

The color space of the colors associated with the gradient. Full Topic

func (Gradient) DrawFromCenterRadiusToCenterRadiusOptions

func (g_ Gradient) DrawFromCenterRadiusToCenterRadiusOptions(startCenter foundation.Point, startRadius float64, endCenter foundation.Point, endRadius float64, options GradientDrawingOptions)

Draws a radial gradient between the specified circles. Full Topic

func (Gradient) DrawFromPointToPointOptions

func (g_ Gradient) DrawFromPointToPointOptions(startingPoint foundation.Point, endingPoint foundation.Point, options GradientDrawingOptions)

Draws a linear gradient between the specified start and end points. Full Topic

func (Gradient) DrawInBezierPathAngle

func (g_ Gradient) DrawInBezierPathAngle(path IBezierPath, angle float64)

Fills the specified path with a linear gradient. Full Topic

func (Gradient) DrawInRectRelativeCenterPosition

func (g_ Gradient) DrawInRectRelativeCenterPosition(rect foundation.Rect, relativeCenterPosition foundation.Point)

Draws a radial gradient starting at the center of the specified rectangle. Full Topic

func (Gradient) GetColorLocationAtIndex

func (g_ Gradient) GetColorLocationAtIndex(color IColor, location *float64, index int)

Returns information about the color stop at the specified index in the receiver’s color array. Full Topic

func (Gradient) Init

func (g_ Gradient) Init() Gradient

func (Gradient) InitWithColors

func (g_ Gradient) InitWithColors(colorArray []IColor) Gradient

func (Gradient) InitWithColorsAndLocations

func (g_ Gradient) InitWithColorsAndLocations(firstColor IColor, args ...any) Gradient

func (Gradient) InitWithStartingColorEndingColor

func (g_ Gradient) InitWithStartingColorEndingColor(startingColor IColor, endingColor IColor) Gradient

func (Gradient) InterpolatedColorAtLocation

func (g_ Gradient) InterpolatedColorAtLocation(location float64) Color

Returns the color of the rendered gradient at the specified relative location. Full Topic

func (Gradient) NumberOfColorStops

func (g_ Gradient) NumberOfColorStops() int

The number of color stops associated with the gradient. Full Topic

type GradientDrawingOptions

type GradientDrawingOptions uint

Constants that specify gradient drawing options. Full Topic

const (
	GradientDrawsAfterEndingLocation    GradientDrawingOptions = 2
	GradientDrawsBeforeStartingLocation GradientDrawingOptions = 1
)

type GradientType

type GradientType uint

Specify the gradients used by the gradientType property. Full Topic

const (
	GradientConcaveStrong GradientType = 2
	GradientConcaveWeak   GradientType = 1
	GradientConvexStrong  GradientType = 4
	GradientConvexWeak    GradientType = 3
	GradientNone          GradientType = 0
)

type GraphicsContext

type GraphicsContext struct {
	objc.Object
}

An object that represents a graphics context. Full Topic

func GraphicsContextFrom

func GraphicsContextFrom(ptr unsafe.Pointer) GraphicsContext

func GraphicsContext_Alloc

func GraphicsContext_Alloc() GraphicsContext

func GraphicsContext_CurrentContext

func GraphicsContext_CurrentContext() GraphicsContext

Returns the current graphics context of the current thread. Full Topic

func GraphicsContext_GraphicsContextWithAttributes

func GraphicsContext_GraphicsContextWithAttributes(attributes map[GraphicsContextAttributeKey]objc.IObject) GraphicsContext

Creates a graphics context using the specified attributes. Full Topic

func GraphicsContext_GraphicsContextWithBitmapImageRep

func GraphicsContext_GraphicsContextWithBitmapImageRep(bitmapRep IBitmapImageRep) GraphicsContext

Creates a new graphics context using the specified bipmap image representation object as the context destination. Full Topic

func GraphicsContext_GraphicsContextWithCGContextFlipped

func GraphicsContext_GraphicsContextWithCGContextFlipped(graphicsPort coregraphics.ContextRef, initialFlippedState bool) GraphicsContext

Creates a new graphics context from the specified Core Graphics context and the initial flipped state. Full Topic

func GraphicsContext_GraphicsContextWithWindow

func GraphicsContext_GraphicsContextWithWindow(window IWindow) GraphicsContext

Creates a new graphics context for drawing into a window. Full Topic

func NewGraphicsContext

func NewGraphicsContext() GraphicsContext

func (GraphicsContext) Attributes

The attributes used to create this instance. Full Topic

func (GraphicsContext) CGContext

func (g_ GraphicsContext) CGContext() coregraphics.ContextRef

The Core Graphics context, which is a low-level, platform-specific graphics context. Full Topic

func (GraphicsContext) CIContext

func (g_ GraphicsContext) CIContext() coreimage.Context

A context for Core Image objects that you can use to render into the graphics context. Full Topic

func (GraphicsContext) ColorRenderingIntent

func (g_ GraphicsContext) ColorRenderingIntent() ColorRenderingIntent

The color rendering intent in the graphics context’s graphics state. Full Topic

func (GraphicsContext) CompositingOperation

func (g_ GraphicsContext) CompositingOperation() CompositingOperation

The graphics context’s global compositing operation setting. Full Topic

func (GraphicsContext) FlushGraphics

func (g_ GraphicsContext) FlushGraphics()

Forces any buffered operations or data to be sent to the graphics context’s destination. Full Topic

func (GraphicsContext) ImageInterpolation

func (g_ GraphicsContext) ImageInterpolation() ImageInterpolation

A constant that specifies the graphics context’s interpolation, or image smoothing, behavior. Full Topic

func (GraphicsContext) Init

func (g_ GraphicsContext) Init() GraphicsContext

func (GraphicsContext) IsDrawingToScreen

func (g_ GraphicsContext) IsDrawingToScreen() bool

A Boolean value that indicates whether the drawing destination is the screen. Full Topic

func (GraphicsContext) IsFlipped

func (g_ GraphicsContext) IsFlipped() bool

A Boolean value that indicates the graphics context’s flipped state. Full Topic

func (GraphicsContext) PatternPhase

func (g_ GraphicsContext) PatternPhase() foundation.Point

The amount to offset the pattern color when filling the graphics context. Full Topic

func (GraphicsContext) SetColorRenderingIntent

func (g_ GraphicsContext) SetColorRenderingIntent(value ColorRenderingIntent)

The color rendering intent in the graphics context’s graphics state. Full Topic

func (GraphicsContext) SetCompositingOperation

func (g_ GraphicsContext) SetCompositingOperation(value CompositingOperation)

The graphics context’s global compositing operation setting. Full Topic

func (GraphicsContext) SetImageInterpolation

func (g_ GraphicsContext) SetImageInterpolation(value ImageInterpolation)

A constant that specifies the graphics context’s interpolation, or image smoothing, behavior. Full Topic

func (GraphicsContext) SetPatternPhase

func (g_ GraphicsContext) SetPatternPhase(value foundation.Point)

The amount to offset the pattern color when filling the graphics context. Full Topic

func (GraphicsContext) SetShouldAntialias

func (g_ GraphicsContext) SetShouldAntialias(value bool)

A Boolean value that indicates whether the graphics context uses antialiasing. Full Topic

func (GraphicsContext) ShouldAntialias

func (g_ GraphicsContext) ShouldAntialias() bool

A Boolean value that indicates whether the graphics context uses antialiasing. Full Topic

type GraphicsContextAttributeKey

type GraphicsContextAttributeKey string

Constants that specify the dictionary keys for the attributes of the graphics context. Full Topic

const (
	GraphicsContextDestinationAttributeName          GraphicsContextAttributeKey = "NSGraphicsContextDestinationAttributeName"
	GraphicsContextRepresentationFormatAttributeName GraphicsContextAttributeKey = "NSGraphicsContextRepresentationFormatAttributeName"
)

type GraphicsContextRepresentationFormatName

type GraphicsContextRepresentationFormatName string

Constants that specify values for the representation format name key in a graphic context’s attributes dictionary. Full Topic

const (
	GraphicsContextPDFFormat GraphicsContextRepresentationFormatName = "NSGraphicsContextPDFFormat"
	GraphicsContextPSFormat  GraphicsContextRepresentationFormatName = "NSGraphicsContextPSFormat"
)

type GridCell

type GridCell struct {
	objc.Object
}

An individual content area within a grid view, typically at the intersection of a row and a column. Full Topic

func GridCellFrom

func GridCellFrom(ptr unsafe.Pointer) GridCell

func GridCell_Alloc

func GridCell_Alloc() GridCell

func NewGridCell

func NewGridCell() GridCell

func (GridCell) Column

func (g_ GridCell) Column() GridColumn
[Full Topic]

func (GridCell) ContentView

func (g_ GridCell) ContentView() View
[Full Topic]

func (GridCell) CustomPlacementConstraints

func (g_ GridCell) CustomPlacementConstraints() []LayoutConstraint
[Full Topic]

func (GridCell) Init

func (g_ GridCell) Init() GridCell

func (GridCell) Row

func (g_ GridCell) Row() GridRow
[Full Topic]

func (GridCell) RowAlignment

func (g_ GridCell) RowAlignment() GridRowAlignment
[Full Topic]

func (GridCell) SetContentView

func (g_ GridCell) SetContentView(value IView)
[Full Topic]

func (GridCell) SetCustomPlacementConstraints

func (g_ GridCell) SetCustomPlacementConstraints(value []ILayoutConstraint)
[Full Topic]

func (GridCell) SetRowAlignment

func (g_ GridCell) SetRowAlignment(value GridRowAlignment)
[Full Topic]

func (GridCell) SetXPlacement

func (g_ GridCell) SetXPlacement(value GridCellPlacement)
[Full Topic]

func (GridCell) SetYPlacement

func (g_ GridCell) SetYPlacement(value GridCellPlacement)
[Full Topic]

func (GridCell) XPlacement

func (g_ GridCell) XPlacement() GridCellPlacement
[Full Topic]

func (GridCell) YPlacement

func (g_ GridCell) YPlacement() GridCellPlacement
[Full Topic]

type GridCellPlacement

type GridCellPlacement int
[Full Topic]
const (
	GridCellPlacementBottom    GridCellPlacement = 3
	GridCellPlacementCenter    GridCellPlacement = 4
	GridCellPlacementFill      GridCellPlacement = 5
	GridCellPlacementInherited GridCellPlacement = 0
	GridCellPlacementLeading   GridCellPlacement = 2
	GridCellPlacementNone      GridCellPlacement = 1
	GridCellPlacementTop       GridCellPlacement = 2
	GridCellPlacementTrailing  GridCellPlacement = 3
)

type GridColumn

type GridColumn struct {
	objc.Object
}

A column within a grid view. Full Topic

func GridColumnFrom

func GridColumnFrom(ptr unsafe.Pointer) GridColumn

func GridColumn_Alloc

func GridColumn_Alloc() GridColumn

func NewGridColumn

func NewGridColumn() GridColumn

func (GridColumn) CellAtIndex

func (g_ GridColumn) CellAtIndex(index int) GridCell
[Full Topic]

func (GridColumn) GridView

func (g_ GridColumn) GridView() GridView
[Full Topic]

func (GridColumn) Init

func (g_ GridColumn) Init() GridColumn

func (GridColumn) IsHidden

func (g_ GridColumn) IsHidden() bool
[Full Topic]

func (GridColumn) LeadingPadding

func (g_ GridColumn) LeadingPadding() float64
[Full Topic]

func (GridColumn) MergeCellsInRange

func (g_ GridColumn) MergeCellsInRange(range_ foundation.Range)
[Full Topic]

func (GridColumn) NumberOfCells

func (g_ GridColumn) NumberOfCells() int
[Full Topic]

func (GridColumn) SetHidden

func (g_ GridColumn) SetHidden(value bool)
[Full Topic]

func (GridColumn) SetLeadingPadding

func (g_ GridColumn) SetLeadingPadding(value float64)
[Full Topic]

func (GridColumn) SetTrailingPadding

func (g_ GridColumn) SetTrailingPadding(value float64)
[Full Topic]

func (GridColumn) SetWidth

func (g_ GridColumn) SetWidth(value float64)
[Full Topic]

func (GridColumn) SetXPlacement

func (g_ GridColumn) SetXPlacement(value GridCellPlacement)
[Full Topic]

func (GridColumn) TrailingPadding

func (g_ GridColumn) TrailingPadding() float64
[Full Topic]

func (GridColumn) Width

func (g_ GridColumn) Width() float64
[Full Topic]

func (GridColumn) XPlacement

func (g_ GridColumn) XPlacement() GridCellPlacement
[Full Topic]

type GridRow

type GridRow struct {
	objc.Object
}

A row within a grid view. Full Topic

func GridRowFrom

func GridRowFrom(ptr unsafe.Pointer) GridRow

func GridRow_Alloc

func GridRow_Alloc() GridRow

func NewGridRow

func NewGridRow() GridRow

func (GridRow) BottomPadding

func (g_ GridRow) BottomPadding() float64
[Full Topic]

func (GridRow) CellAtIndex

func (g_ GridRow) CellAtIndex(index int) GridCell
[Full Topic]

func (GridRow) GridView

func (g_ GridRow) GridView() GridView
[Full Topic]

func (GridRow) Height

func (g_ GridRow) Height() float64
[Full Topic]

func (GridRow) Init

func (g_ GridRow) Init() GridRow

func (GridRow) IsHidden

func (g_ GridRow) IsHidden() bool
[Full Topic]

func (GridRow) MergeCellsInRange

func (g_ GridRow) MergeCellsInRange(range_ foundation.Range)
[Full Topic]

func (GridRow) NumberOfCells

func (g_ GridRow) NumberOfCells() int
[Full Topic]

func (GridRow) RowAlignment

func (g_ GridRow) RowAlignment() GridRowAlignment
[Full Topic]

func (GridRow) SetBottomPadding

func (g_ GridRow) SetBottomPadding(value float64)
[Full Topic]

func (GridRow) SetHeight

func (g_ GridRow) SetHeight(value float64)
[Full Topic]

func (GridRow) SetHidden

func (g_ GridRow) SetHidden(value bool)
[Full Topic]

func (GridRow) SetRowAlignment

func (g_ GridRow) SetRowAlignment(value GridRowAlignment)
[Full Topic]

func (GridRow) SetTopPadding

func (g_ GridRow) SetTopPadding(value float64)
[Full Topic]

func (GridRow) SetYPlacement

func (g_ GridRow) SetYPlacement(value GridCellPlacement)
[Full Topic]

func (GridRow) TopPadding

func (g_ GridRow) TopPadding() float64
[Full Topic]

func (GridRow) YPlacement

func (g_ GridRow) YPlacement() GridCellPlacement
[Full Topic]

type GridRowAlignment

type GridRowAlignment int
[Full Topic]
const (
	GridRowAlignmentFirstBaseline GridRowAlignment = 2
	GridRowAlignmentInherited     GridRowAlignment = 0
	GridRowAlignmentLastBaseline  GridRowAlignment = 3
	GridRowAlignmentNone          GridRowAlignment = 1
)

type GridView

type GridView struct {
	View
}

A container that aligns views in a flexible grid of rows and columns. Full Topic

func GridViewFrom

func GridViewFrom(ptr unsafe.Pointer) GridView

func GridView_Alloc

func GridView_Alloc() GridView

func GridView_GridViewWithNumberOfColumnsRows

func GridView_GridViewWithNumberOfColumnsRows(columnCount int, rowCount int) GridView

Creates a newly allocated grid view object with the specified number of columns and rows. Full Topic

func GridView_GridViewWithViews

func GridView_GridViewWithViews(rows [][]IView) GridView

Creates a newly allocated grid view object with the specified array of arrays of views. Full Topic

func NewGridView

func NewGridView() GridView

func NewGridViewWithFrame

func NewGridViewWithFrame(frameRect foundation.Rect) GridView

Creates a newly allocated grid view object with the specified frame rectangle. Full Topic

func (GridView) AddColumnWithViews

func (g_ GridView) AddColumnWithViews(views []IView) GridColumn

Adds a new column containing the array of views. Full Topic

func (GridView) AddRowWithViews

func (g_ GridView) AddRowWithViews(views []IView) GridRow

Adds an array of views to a new row. Full Topic

func (GridView) CellAtColumnIndexRowIndex

func (g_ GridView) CellAtColumnIndexRowIndex(columnIndex int, rowIndex int) GridCell

Returns the grid cell object at the specified column and row index. Full Topic

func (GridView) CellForView

func (g_ GridView) CellForView(view IView) GridCell

Returns the grid cell object that contains the given view or one of its ancestors. Full Topic

func (GridView) ColumnAtIndex

func (g_ GridView) ColumnAtIndex(index int) GridColumn

Returns the grid column object at the specified index. Full Topic

func (GridView) ColumnSpacing

func (g_ GridView) ColumnSpacing() float64

The column spacing for the grid view. Full Topic

func (GridView) IndexOfColumn

func (g_ GridView) IndexOfColumn(column IGridColumn) int

Returns the index of the specified grid column. Full Topic

func (GridView) IndexOfRow

func (g_ GridView) IndexOfRow(row IGridRow) int

Returns the index of the specified grid row. Full Topic

func (GridView) Init

func (g_ GridView) Init() GridView

func (GridView) InitWithFrame

func (g_ GridView) InitWithFrame(frameRect foundation.Rect) GridView

func (GridView) InsertColumnAtIndexWithViews

func (g_ GridView) InsertColumnAtIndexWithViews(index int, views []IView) GridColumn

Inserts the array of view objects at the specified index. Full Topic

func (GridView) InsertRowAtIndexWithViews

func (g_ GridView) InsertRowAtIndexWithViews(index int, views []IView) GridRow

Inserts the array of view objects into the grid view at the index. Full Topic

func (GridView) MergeCellsInHorizontalRangeVerticalRange

func (g_ GridView) MergeCellsInHorizontalRangeVerticalRange(hRange foundation.Range, vRange foundation.Range)

Expands the cell at the top-leading corner of the horizontal and vertical range to cover the entire area. Full Topic

func (GridView) MoveColumnAtIndexToIndex

func (g_ GridView) MoveColumnAtIndexToIndex(fromIndex int, toIndex int)

Moves the specified column to a new column location. Full Topic

func (GridView) MoveRowAtIndexToIndex

func (g_ GridView) MoveRowAtIndexToIndex(fromIndex int, toIndex int)

Moves the specified row to the new row location. Full Topic

func (GridView) NumberOfColumns

func (g_ GridView) NumberOfColumns() int

The number of columns in the grid view. Full Topic

func (GridView) NumberOfRows

func (g_ GridView) NumberOfRows() int

The number of rows in the grid view. Full Topic

func (GridView) RemoveColumnAtIndex

func (g_ GridView) RemoveColumnAtIndex(index int)

Removes the column from the grid view at the specified index. Full Topic

func (GridView) RemoveRowAtIndex

func (g_ GridView) RemoveRowAtIndex(index int)

Removes the row from the grid view at the index. Full Topic

func (GridView) RowAlignment

func (g_ GridView) RowAlignment() GridRowAlignment

The row alignment for the grid view. Full Topic

func (GridView) RowAtIndex

func (g_ GridView) RowAtIndex(index int) GridRow

Returns the grid row object at the specified index. Full Topic

func (GridView) RowSpacing

func (g_ GridView) RowSpacing() float64

The row spacing for the grid view. Full Topic

func (GridView) SetColumnSpacing

func (g_ GridView) SetColumnSpacing(value float64)

The column spacing for the grid view. Full Topic

func (GridView) SetRowAlignment

func (g_ GridView) SetRowAlignment(value GridRowAlignment)

The row alignment for the grid view. Full Topic

func (GridView) SetRowSpacing

func (g_ GridView) SetRowSpacing(value float64)

The row spacing for the grid view. Full Topic

func (GridView) SetXPlacement

func (g_ GridView) SetXPlacement(value GridCellPlacement)

The placement of the cell within the grid column. Full Topic

func (GridView) SetYPlacement

func (g_ GridView) SetYPlacement(value GridCellPlacement)

The placement of the cell within the grid row. Full Topic

func (GridView) XPlacement

func (g_ GridView) XPlacement() GridCellPlacement

The placement of the cell within the grid column. Full Topic

func (GridView) YPlacement

func (g_ GridView) YPlacement() GridCellPlacement

The placement of the cell within the grid row. Full Topic

type GroupTouchBarItem

type GroupTouchBarItem struct {
	TouchBarItem
}

A bar item that provides a bar to contain other items. Full Topic

func GroupTouchBarItemFrom

func GroupTouchBarItemFrom(ptr unsafe.Pointer) GroupTouchBarItem

func GroupTouchBarItem_AlertStyleGroupItemWithIdentifier

func GroupTouchBarItem_AlertStyleGroupItemWithIdentifier(identifier TouchBarItemIdentifier) GroupTouchBarItem

Initializes and returns a group item configured to match system alerts. Full Topic

func GroupTouchBarItem_Alloc

func GroupTouchBarItem_Alloc() GroupTouchBarItem

func GroupTouchBarItem_GroupItemWithIdentifierItems

func GroupTouchBarItem_GroupItemWithIdentifierItems(identifier TouchBarItemIdentifier, items []ITouchBarItem) GroupTouchBarItem

Initializes and returns a group item whose bar is constructed from the supplied items. Full Topic

func NewGroupTouchBarItem

func NewGroupTouchBarItem() GroupTouchBarItem

func NewGroupTouchBarItemWithIdentifier

func NewGroupTouchBarItemWithIdentifier(identifier TouchBarItemIdentifier) GroupTouchBarItem

Creates a new item with the specified identifier. Full Topic

func (GroupTouchBarItem) EffectiveCompressionOptions

func (g_ GroupTouchBarItem) EffectiveCompressionOptions() UserInterfaceCompressionOptions

The compression options that are currently active on the group. Full Topic

func (GroupTouchBarItem) GroupTouchBar

func (g_ GroupTouchBarItem) GroupTouchBar() TouchBar

A bar that holds this group's items. Full Topic

func (GroupTouchBarItem) GroupUserInterfaceLayoutDirection

func (g_ GroupTouchBarItem) GroupUserInterfaceLayoutDirection() UserInterfaceLayoutDirection

The user interface direction that controls the layout order of the items. Full Topic

func (GroupTouchBarItem) Init

func (GroupTouchBarItem) InitWithIdentifier

func (g_ GroupTouchBarItem) InitWithIdentifier(identifier TouchBarItemIdentifier) GroupTouchBarItem

func (GroupTouchBarItem) PreferredItemWidth

func (g_ GroupTouchBarItem) PreferredItemWidth() float64

The preferred width for items in the group when prefersEqualWidths is YES. Full Topic

func (GroupTouchBarItem) PrefersEqualWidths

func (g_ GroupTouchBarItem) PrefersEqualWidths() bool

A Boolean value that specifies that items should have equal widths when possible. Full Topic

func (GroupTouchBarItem) PrioritizedCompressionOptions

func (g_ GroupTouchBarItem) PrioritizedCompressionOptions() []UserInterfaceCompressionOptions

The allowed compression options, in the order they should be applied. Full Topic

func (GroupTouchBarItem) SetCustomizationLabel

func (g_ GroupTouchBarItem) SetCustomizationLabel(value string)

The user-visible string identifying this item during bar customization. Full Topic

func (GroupTouchBarItem) SetGroupTouchBar

func (g_ GroupTouchBarItem) SetGroupTouchBar(value ITouchBar)

A bar that holds this group's items. Full Topic

func (GroupTouchBarItem) SetGroupUserInterfaceLayoutDirection

func (g_ GroupTouchBarItem) SetGroupUserInterfaceLayoutDirection(value UserInterfaceLayoutDirection)

The user interface direction that controls the layout order of the items. Full Topic

func (GroupTouchBarItem) SetPreferredItemWidth

func (g_ GroupTouchBarItem) SetPreferredItemWidth(value float64)

The preferred width for items in the group when prefersEqualWidths is YES. Full Topic

func (GroupTouchBarItem) SetPrefersEqualWidths

func (g_ GroupTouchBarItem) SetPrefersEqualWidths(value bool)

A Boolean value that specifies that items should have equal widths when possible. Full Topic

func (GroupTouchBarItem) SetPrioritizedCompressionOptions

func (g_ GroupTouchBarItem) SetPrioritizedCompressionOptions(value []IUserInterfaceCompressionOptions)

The allowed compression options, in the order they should be applied. Full Topic

type HapticFeedbackManager

type HapticFeedbackManager struct {
	objc.Object
}

An object that provides access to the haptic feedback management attributes on a system with a Force Touch trackpad. Full Topic

func HapticFeedbackManagerFrom

func HapticFeedbackManagerFrom(ptr unsafe.Pointer) HapticFeedbackManager

func HapticFeedbackManager_Alloc

func HapticFeedbackManager_Alloc() HapticFeedbackManager

func NewHapticFeedbackManager

func NewHapticFeedbackManager() HapticFeedbackManager

func (HapticFeedbackManager) Init

type HapticFeedbackPattern

type HapticFeedbackPattern int

A pattern of haptic feedback to be provided to the user. Full Topic

const (
	HapticFeedbackPatternAlignment   HapticFeedbackPattern = 1
	HapticFeedbackPatternGeneric     HapticFeedbackPattern = 0
	HapticFeedbackPatternLevelChange HapticFeedbackPattern = 2
)

type HapticFeedbackPerformanceTime

type HapticFeedbackPerformanceTime uint

A time at which to provide haptic feedback to the user. Full Topic

const (
	HapticFeedbackPerformanceTimeDefault       HapticFeedbackPerformanceTime = 0
	HapticFeedbackPerformanceTimeDrawCompleted HapticFeedbackPerformanceTime = 2
	HapticFeedbackPerformanceTimeNow           HapticFeedbackPerformanceTime = 1
)

type HapticFeedbackPerformerWrapper

type HapticFeedbackPerformerWrapper struct {
	objc.Object
}

A concrete type wrapper for the PHapticFeedbackPerformer protocol.

func HapticFeedbackManager_DefaultPerformer

func HapticFeedbackManager_DefaultPerformer() HapticFeedbackPerformerWrapper

Requests a haptic feedback performer object that is based on the current input device, accessibility settings, and user preferences. Full Topic

func (HapticFeedbackPerformerWrapper) HasPerformFeedbackPatternPerformanceTime

func (h_ HapticFeedbackPerformerWrapper) HasPerformFeedbackPatternPerformanceTime() bool

func (HapticFeedbackPerformerWrapper) PerformFeedbackPatternPerformanceTime

func (h_ HapticFeedbackPerformerWrapper) PerformFeedbackPatternPerformanceTime(pattern HapticFeedbackPattern, performanceTime HapticFeedbackPerformanceTime)

Initiates a specific pattern of haptic feedback to the user. Full Topic

type HelpAnchorName

type HelpAnchorName string
[Full Topic]

type HelpBookName

type HelpBookName string
[Full Topic]

type HelpManager

type HelpManager struct {
	objc.Object
}

An object for displaying online help for an app. Full Topic

func HelpManagerFrom

func HelpManagerFrom(ptr unsafe.Pointer) HelpManager

func HelpManager_Alloc

func HelpManager_Alloc() HelpManager

func HelpManager_SharedHelpManager

func HelpManager_SharedHelpManager() HelpManager

Returns the shared NSHelpManager instance, creating it if it does not already exist. Full Topic

func NewHelpManager

func NewHelpManager() HelpManager

func (HelpManager) ContextHelpForObject

func (h_ HelpManager) ContextHelpForObject(object objc.IObject) foundation.AttributedString

Returns context-sensitive help for an object. Full Topic

func (HelpManager) FindStringInBook

func (h_ HelpManager) FindStringInBook(query string, book HelpBookName)

Performs a search for the specified string in the specified book. Full Topic

func (HelpManager) Init

func (h_ HelpManager) Init() HelpManager

func (HelpManager) OpenHelpAnchorInBook

func (h_ HelpManager) OpenHelpAnchorInBook(anchor HelpAnchorName, book HelpBookName)

Finds and displays the text at the given anchor location in the given book. Full Topic

func (HelpManager) RegisterBooksInBundle

func (h_ HelpManager) RegisterBooksInBundle(bundle foundation.IBundle) bool

Registers one or more help books in the given bundle. Full Topic

func (HelpManager) RemoveContextHelpForObject

func (h_ HelpManager) RemoveContextHelpForObject(object objc.IObject)

Removes the association between an object and its context-sensitive help. Full Topic

func (HelpManager) SetContextHelpForObject

func (h_ HelpManager) SetContextHelpForObject(attrString foundation.IAttributedString, object objc.IObject)

Associates help content with an object. Full Topic

func (HelpManager) ShowContextHelpForObjectLocationHint

func (h_ HelpManager) ShowContextHelpForObjectLocationHint(object objc.IObject, pt foundation.Point) bool

Displays the context-sensitive help for a given object at or near the point on the screen specified by a given point. Full Topic

type HelpManagerContextHelpKey

type HelpManagerContextHelpKey string
[Full Topic]

type IATSTypesetter

type IATSTypesetter interface {
	ITypesetter
	GetLineFragmentRectUsedRectForParagraphSeparatorGlyphRangeAtProposedOrigin(lineFragmentRect *foundation.Rect, lineFragmentUsedRect *foundation.Rect, paragraphSeparatorGlyphRange foundation.Range, lineOrigin foundation.Point)
}

An interface definition for the ATSTypesetter class.

type IAccessibilityCustomAction

type IAccessibilityCustomAction interface {
	objc.IObject
	Target() objc.Object
	SetTarget(value objc.IObject)
	Name() string
	SetName(value string)
	Selector() objc.Selector
	SetSelector(value objc.Selector)
	Handler() func() bool
	SetHandler(value func() bool)
}

An interface definition for the AccessibilityCustomAction class.

type IAccessibilityCustomRotor

type IAccessibilityCustomRotor interface {
	objc.IObject
	ItemSearchDelegate() AccessibilityCustomRotorItemSearchDelegateWrapper
	SetItemSearchDelegate(value PAccessibilityCustomRotorItemSearchDelegate)
	SetItemSearchDelegateObject(valueObject objc.IObject)
	ItemLoadingDelegate() AccessibilityElementLoadingWrapper
	SetItemLoadingDelegate(value PAccessibilityElementLoading)
	SetItemLoadingDelegateObject(valueObject objc.IObject)
	Type() AccessibilityCustomRotorType
	SetType(value AccessibilityCustomRotorType)
	Label() string
	SetLabel(value string)
}

An interface definition for the AccessibilityCustomRotor class.

type IAccessibilityCustomRotorItemResult

type IAccessibilityCustomRotorItemResult interface {
	objc.IObject
	TargetElement() objc.Object
	TargetRange() foundation.Range
	SetTargetRange(value foundation.Range)
	ItemLoadingToken() AccessibilityLoadingToken
	CustomLabel() string
	SetCustomLabel(value string)
}

An interface definition for the AccessibilityCustomRotorItemResult class.

type IAccessibilityCustomRotorSearchParameters

type IAccessibilityCustomRotorSearchParameters interface {
	objc.IObject
	SearchDirection() AccessibilityCustomRotorSearchDirection
	SetSearchDirection(value AccessibilityCustomRotorSearchDirection)
	CurrentItem() AccessibilityCustomRotorItemResult
	SetCurrentItem(value IAccessibilityCustomRotorItemResult)
	FilterString() string
	SetFilterString(value string)
}

An interface definition for the AccessibilityCustomRotorSearchParameters class.

type IAccessibilityElement

type IAccessibilityElement interface {
	objc.IObject
	AccessibilityAddChildElement(childElement IAccessibilityElement)
	AccessibilityParent() objc.Object
	AccessibilityFrame() foundation.Rect
	IsAccessibilityFocused() bool
	AccessibilityIdentifier() string
	AccessibilityFrameInParentSpace() foundation.Rect
	SetAccessibilityFrameInParentSpace(value foundation.Rect)
}

An interface definition for the AccessibilityElement class.

type IActionCell

type IActionCell interface {
	ICell
}

An interface definition for the ActionCell class.

type IAlert

type IAlert interface {
	objc.IObject
	RunModal() ModalResponse
	Layout()
	AddButtonWithTitle(title string) Button
	BeginSheetModalForWindowCompletionHandler(sheetWindow IWindow, handler func(returnCode ModalResponse))
	SuppressionButton() Button
	MessageText() string
	SetMessageText(value string)
	InformativeText() string
	SetInformativeText(value string)
	Delegate() AlertDelegateWrapper
	SetDelegate(value PAlertDelegate)
	SetDelegateObject(valueObject objc.IObject)
	ShowsHelp() bool
	SetShowsHelp(value bool)
	Icon() Image
	SetIcon(value IImage)
	ShowsSuppressionButton() bool
	SetShowsSuppressionButton(value bool)
	AccessoryView() View
	SetAccessoryView(value IView)
	AlertStyle() AlertStyle
	SetAlertStyle(value AlertStyle)
	Window() Window
	Buttons() []Button
	HelpAnchor() HelpAnchorName
	SetHelpAnchor(value HelpAnchorName)
}

An interface definition for the Alert class.

type IAlignmentFeedbackFilter

type IAlignmentFeedbackFilter interface {
	objc.IObject
	UpdateWithEvent(event IEvent)
	UpdateWithPanRecognizer(panRecognizer IPanGestureRecognizer)
	PerformFeedbackPerformanceTime(alignmentFeedbackTokens []PAlignmentFeedbackToken, performanceTime HapticFeedbackPerformanceTime)
	AlignmentFeedbackTokenForVerticalMovementInViewPreviousYAlignedYDefaultY(view IView, previousY float64, alignedY float64, defaultY float64) AlignmentFeedbackTokenWrapper
	AlignmentFeedbackTokenForMovementInViewPreviousPointAlignedPointDefaultPoint(view IView, previousPoint foundation.Point, alignedPoint foundation.Point, defaultPoint foundation.Point) AlignmentFeedbackTokenWrapper
	AlignmentFeedbackTokenForHorizontalMovementInViewPreviousXAlignedXDefaultX(view IView, previousX float64, alignedX float64, defaultX float64) AlignmentFeedbackTokenWrapper
}

An interface definition for the AlignmentFeedbackFilter class.

type IAnimation

type IAnimation interface {
	objc.IObject
	RemoveProgressMark(progressMark AnimationProgress)
	StopAnimation()
	StartAnimation()
	ClearStartAnimation()
	StartWhenAnimationReachesProgress(animation IAnimation, startProgress AnimationProgress)
	AddProgressMark(progressMark AnimationProgress)
	ClearStopAnimation()
	StopWhenAnimationReachesProgress(animation IAnimation, stopProgress AnimationProgress)
	AnimationBlockingMode() AnimationBlockingMode
	SetAnimationBlockingMode(value AnimationBlockingMode)
	CurrentProgress() AnimationProgress
	SetCurrentProgress(value AnimationProgress)
	FrameRate() float64
	SetFrameRate(value float64)
	RunLoopModesForAnimating() []foundation.RunLoopMode
	ProgressMarks() []foundation.Number
	SetProgressMarks(value []foundation.INumber)
	Delegate() AnimationDelegateWrapper
	SetDelegate(value PAnimationDelegate)
	SetDelegateObject(valueObject objc.IObject)
	CurrentValue() float64
	IsAnimating() bool
	AnimationCurve() AnimationCurve
	SetAnimationCurve(value AnimationCurve)
	Duration() foundation.TimeInterval
	SetDuration(value foundation.TimeInterval)
}

An interface definition for the Animation class.

type IAnimationContext

type IAnimationContext interface {
	objc.IObject
	AllowsImplicitAnimation() bool
	SetAllowsImplicitAnimation(value bool)
	CompletionHandler() func()
	SetCompletionHandler(value func())
	TimingFunction() quartzcore.MediaTimingFunction
	SetTimingFunction(value quartzcore.IMediaTimingFunction)
	Duration() foundation.TimeInterval
	SetDuration(value foundation.TimeInterval)
}

An interface definition for the AnimationContext class.

type IAppearance

type IAppearance interface {
	objc.IObject
	BestMatchFromAppearancesWithNames(appearances []AppearanceName) AppearanceName
	PerformAsCurrentDrawingAppearance(block func())
	Name() AppearanceName
	AllowsVibrancy() bool
}

An interface definition for the Appearance class.

type IApplication

type IApplication interface {
	IResponder
	SendActionToFrom(action objc.Selector, target objc.IObject, sender objc.IObject) bool
	EndModalSession(session ModalSession)
	RequestUserAttention(requestType RequestUserAttentionType) int
	CancelUserAttentionRequest(request int)
	SendEvent(event IEvent)
	UpdateWindowsItem(win IWindow)
	ArrangeInFront(sender objc.IObject)
	RemoveWindowsItem(win IWindow)
	Hide(sender objc.IObject)
	RegisterServicesMenuSendTypesReturnTypes(sendTypes []PasteboardType, returnTypes []PasteboardType)
	TargetForActionToFrom(action objc.Selector, target objc.IObject, sender objc.IObject) objc.Object
	SearchStringInUserInterfaceItemStringSearchRangeFoundRange(searchString string, stringToSearch string, searchRange foundation.Range, foundRange *foundation.Range) bool
	StopModalWithCode(returnCode ModalResponse)
	UnregisterForRemoteNotifications()
	WindowWithWindowNumber(windowNum int) Window
	RunModalSession(session ModalSession) ModalResponse
	StopModal()
	AbortModal()
	ExtendStateRestoration()
	DisableRelaunchOnLogin()
	EnumerateWindowsWithOptionsUsingBlock(options WindowListOptions, block func(window Window, stop *bool))
	OrderFrontStandardAboutPanel(sender objc.IObject)
	CompleteStateRestoration()
	OrderFrontCharacterPalette(sender objc.IObject)
	DiscardEventsMatchingMaskBeforeEvent(mask EventMask, lastEvent IEvent)
	SetWindowsNeedUpdate(needUpdate bool)
	ActivationPolicy() ApplicationActivationPolicy
	ToggleTouchBarCustomizationPalette(sender objc.IObject) objc.Object
	FinishLaunching()
	PreventWindowOrdering()
	EnableRelaunchOnLogin()
	UnhideWithoutActivation()
	UnregisterUserInterfaceItemSearchHandler(handler PUserInterfaceItemSearching)
	UnregisterUserInterfaceItemSearchHandlerObject(handlerObject objc.IObject)
	RunPageLayout(sender objc.IObject)
	ReportException(exception foundation.IException)
	OrderFrontColorPanel(sender objc.IObject)
	Deactivate()
	AddWindowsItemTitleFilename(win IWindow, string_ string, isFilename bool)
	UpdateWindows()
	RegisterForRemoteNotifications()
	PostEventAtStart(event IEvent, flag bool)
	UnhideAllApplications(sender objc.IObject)
	ActivateContextHelpMode(sender objc.IObject)
	SetActivationPolicy(activationPolicy ApplicationActivationPolicy) bool
	MiniaturizeAll(sender objc.IObject)
	NextEventMatchingMaskUntilDateInModeDequeue(mask EventMask, expiration foundation.IDate, mode foundation.RunLoopMode, deqFlag bool) Event
	HideOtherApplications(sender objc.IObject)
	ReplyToOpenOrPrint(reply ApplicationDelegateReply)
	ShowHelp(sender objc.IObject)
	ReplyToApplicationShouldTerminate(shouldTerminate bool)
	Run()
	Stop(sender objc.IObject)
	Unhide(sender objc.IObject)
	RegisterUserInterfaceItemSearchHandler(handler PUserInterfaceItemSearching)
	RegisterUserInterfaceItemSearchHandlerObject(handlerObject objc.IObject)
	ChangeWindowsItemTitleFilename(win IWindow, string_ string, isFilename bool)
	Terminate(sender objc.IObject)
	RestoreWindowWithIdentifierStateCompletionHandler(identifier UserInterfaceItemIdentifier, state foundation.ICoder, completionHandler func(arg0 Window, arg1 foundation.Error)) bool
	OrderFrontStandardAboutPanelWithOptions(optionsDictionary map[AboutPanelOptionKey]objc.IObject)
	IsRegisteredForRemoteNotifications() bool
	ServicesMenu() Menu
	SetServicesMenu(value IMenu)
	IsRunning() bool
	IsHidden() bool
	KeyWindow() Window
	PresentationOptions() ApplicationPresentationOptions
	SetPresentationOptions(value ApplicationPresentationOptions)
	CurrentEvent() Event
	MainWindow() Window
	EffectiveAppearance() Appearance
	CurrentSystemPresentationOptions() ApplicationPresentationOptions
	ApplicationIconImage() Image
	SetApplicationIconImage(value IImage)
	IsActive() bool
	IsFullKeyboardAccessEnabled() bool
	Delegate() ApplicationDelegateWrapper
	SetDelegate(value PApplicationDelegate)
	SetDelegateObject(valueObject objc.IObject)
	ServicesProvider() objc.Object
	SetServicesProvider(value objc.IObject)
	UserInterfaceLayoutDirection() UserInterfaceLayoutDirection
	OrderedDocuments() []Document
	OcclusionState() ApplicationOcclusionState
	Windows() []Window
	HelpMenu() Menu
	SetHelpMenu(value IMenu)
	OrderedWindows() []Window
	WindowsMenu() Menu
	SetWindowsMenu(value IMenu)
	DockTile() DockTile
	IsAutomaticCustomizeTouchBarMenuItemEnabled() bool
	SetAutomaticCustomizeTouchBarMenuItemEnabled(value bool)
	MainMenu() Menu
	SetMainMenu(value IMenu)
	ModalWindow() Window
	EnabledRemoteNotificationTypes() RemoteNotificationType
	Appearance() Appearance
	SetAppearance(value IAppearance)
	IsProtectedDataAvailable() bool
}

An interface definition for the Application class.

type IArrayController

type IArrayController interface {
	IObjectController
	RemoveObjectAtArrangedObjectIndex(index uint)
	SetSelectionIndex(index uint) bool
	RemoveSelectionIndexes(indexes foundation.IIndexSet) bool
	SetSelectedObjects(objects []objc.IObject) bool
	AddSelectionIndexes(indexes foundation.IIndexSet) bool
	InsertObjectAtArrangedObjectIndex(object objc.IObject, index uint)
	SetSelectionIndexes(indexes foundation.IIndexSet) bool
	RemoveObjectsAtArrangedObjectIndexes(indexes foundation.IIndexSet)
	DidChangeArrangementCriteria()
	RearrangeObjects()
	SelectPrevious(sender objc.IObject) objc.Object
	RemoveObjects(objects []objc.IObject)
	AddSelectedObjects(objects []objc.IObject) bool
	ArrangeObjects(objects []objc.IObject) []objc.Object
	AddObjects(objects []objc.IObject)
	RemoveSelectedObjects(objects []objc.IObject) bool
	SelectNext(sender objc.IObject) objc.Object
	Insert(sender objc.IObject) objc.Object
	InsertObjectsAtArrangedObjectIndexes(objects []objc.IObject, indexes foundation.IIndexSet)
	PreservesSelection() bool
	SetPreservesSelection(value bool)
	AlwaysUsesMultipleValuesMarker() bool
	SetAlwaysUsesMultipleValuesMarker(value bool)
	FilterPredicate() foundation.Predicate
	SetFilterPredicate(value foundation.IPredicate)
	AutomaticRearrangementKeyPaths() []string
	CanSelectPrevious() bool
	SortDescriptors() []foundation.SortDescriptor
	SetSortDescriptors(value []foundation.ISortDescriptor)
	ArrangedObjects() objc.Object
	SelectionIndexes() foundation.IndexSet
	CanInsert() bool
	CanSelectNext() bool
	SelectionIndex() uint
	AutomaticallyRearrangesObjects() bool
	SetAutomaticallyRearrangesObjects(value bool)
	ClearsFilterPredicateOnInsertion() bool
	SetClearsFilterPredicateOnInsertion(value bool)
	SelectsInsertedObjects() bool
	SetSelectsInsertedObjects(value bool)
	AvoidsEmptySelection() bool
	SetAvoidsEmptySelection(value bool)
}

An interface definition for the ArrayController class.

type IBezierPath

type IBezierPath interface {
	objc.IObject
	AppendBezierPathWithCGGlyphsCountInFont(glyphs *coregraphics.Glyph, count int, font IFont)
	ElementAtIndex(index int) BezierPathElement
	SetClip()
	AddClip()
	AppendBezierPathWithRoundedRectXRadiusYRadius(rect foundation.Rect, xRadius float64, yRadius float64)
	TransformUsingAffineTransform(transform foundation.IAffineTransform)
	AppendBezierPathWithOvalInRect(rect foundation.Rect)
	ContainsPoint(point foundation.Point) bool
	RemoveAllPoints()
	AppendBezierPathWithRect(rect foundation.Rect)
	RelativeCurveToPointControlPoint1ControlPoint2(endPoint foundation.Point, controlPoint1 foundation.Point, controlPoint2 foundation.Point)
	LineToPoint(point foundation.Point)
	GetLineDashCountPhase(pattern *float64, count *int, phase *float64)
	RelativeMoveToPoint(point foundation.Point)
	AppendBezierPathWithArcFromPointToPointRadius(point1 foundation.Point, point2 foundation.Point, radius float64)
	CurveToPointControlPoint1ControlPoint2(endPoint foundation.Point, controlPoint1 foundation.Point, controlPoint2 foundation.Point)
	AppendBezierPath(path IBezierPath)
	Stroke()
	AppendBezierPathWithArcWithCenterRadiusStartAngleEndAngle(center foundation.Point, radius float64, startAngle float64, endAngle float64)
	ClosePath()
	RelativeLineToPoint(point foundation.Point)
	MoveToPoint(point foundation.Point)
	AppendBezierPathWithPointsCount(points foundation.PointArray, count int)
	SetLineDashCountPhase(pattern *float64, count int, phase float64)
	SetAssociatedPointsAtIndex(points foundation.PointArray, index int)
	Fill()
	AppendBezierPathWithCGGlyphInFont(glyph coregraphics.Glyph, font IFont)
	LineWidth() float64
	SetLineWidth(value float64)
	IsEmpty() bool
	BezierPathByReversingPath() BezierPath
	MiterLimit() float64
	SetMiterLimit(value float64)
	Flatness() float64
	SetFlatness(value float64)
	LineJoinStyle() LineJoinStyle
	SetLineJoinStyle(value LineJoinStyle)
	Bounds() foundation.Rect
	LineCapStyle() LineCapStyle
	SetLineCapStyle(value LineCapStyle)
	ControlPointBounds() foundation.Rect
	ElementCount() int
	BezierPathByFlatteningPath() BezierPath
	CurrentPoint() foundation.Point
	WindingRule() WindingRule
	SetWindingRule(value WindingRule)
}

An interface definition for the BezierPath class.

type IBindingSelectionMarker

type IBindingSelectionMarker interface {
	objc.IObject
}

An interface definition for the BindingSelectionMarker class.

type IBitmapImageRep

type IBitmapImageRep interface {
	IImageRep
	BitmapImageRepByConvertingToColorSpaceRenderingIntent(targetSpace IColorSpace, renderingIntent ColorRenderingIntent) BitmapImageRep
	SetCompressionFactor(compression TIFFCompression, factor float64)
	TIFFRepresentationUsingCompressionFactor(comp TIFFCompression, factor float64) []byte
	CanBeCompressedUsing(compression TIFFCompression) bool
	GetPixelAtXY(p *uint, x int, y int)
	IncrementalLoadFromDataComplete(data []byte, complete bool) int
	ColorAtXY(x int, y int) Color
	GetCompressionFactor(compression *TIFFCompression, factor *float64)
	SetPropertyWithValue(property BitmapImageRepPropertyKey, value objc.IObject)
	SetPixelAtXY(p *uint, x int, y int)
	GetBitmapDataPlanes(data *uint8)
	ColorizeByMappingGrayToColorBlackMappingWhiteMapping(midPoint float64, midPointColor IColor, shadowColor IColor, lightColor IColor)
	ValueForProperty(property BitmapImageRepPropertyKey) objc.Object
	SetColorAtXY(color IColor, x int, y int)
	RepresentationUsingTypeProperties(storageType BitmapImageFileType, properties map[BitmapImageRepPropertyKey]objc.IObject) []byte
	BitmapImageRepByRetaggingWithColorSpace(newSpace IColorSpace) BitmapImageRep
	TIFFRepresentation() []byte
	CGImage() coregraphics.ImageRef
	SamplesPerPixel() int
	BytesPerPlane() int
	BytesPerRow() int
	ColorSpace() ColorSpace
	BitmapFormat() BitmapFormat
	BitmapData() *uint8
	IsPlanar() bool
	BitsPerPixel() int
	NumberOfPlanes() int
}

An interface definition for the BitmapImageRep class.

type IBox

type IBox interface {
	IView
	SizeToFit()
	SetFrameFromContentFrame(contentFrame foundation.Rect)
	IsTransparent() bool
	SetTransparent(value bool)
	TitlePosition() TitlePosition
	SetTitlePosition(value TitlePosition)
	ContentView() View
	SetContentView(value IView)
	TitleRect() foundation.Rect
	TitleCell() objc.Object
	CornerRadius() float64
	SetCornerRadius(value float64)
	FillColor() Color
	SetFillColor(value IColor)
	BoxType() BoxType
	SetBoxType(value BoxType)
	Title() string
	SetTitle(value string)
	BorderColor() Color
	SetBorderColor(value IColor)
	BorderWidth() float64
	SetBorderWidth(value float64)
	TitleFont() Font
	SetTitleFont(value IFont)
	ContentViewMargins() foundation.Size
	SetContentViewMargins(value foundation.Size)
	BorderRect() foundation.Rect
}

An interface definition for the Box class.

type IBrowser

type IBrowser interface {
	IControl
	SendAction() bool
	SetDefaultColumnWidth(columnWidth float64)
	ScrollRowToVisibleInColumn(row int, column int)
	ReloadDataForRowIndexesInColumn(rowIndexes foundation.IIndexSet, column int)
	Path() string
	SelectedRowInColumn(column int) int
	SelectedCellInColumn(column int) objc.Object
	ColumnContentWidthForColumnWidth(columnWidth float64) float64
	SelectRowInColumn(row int, column int)
	DefaultColumnWidth() float64
	PathToColumn(column int) string
	TitleFrameOfColumn(column int) foundation.Rect
	DrawTitleOfColumnInRect(column int, rect foundation.Rect)
	SetPath(path string) bool
	SelectedRowIndexesInColumn(column int) foundation.IndexSet
	DoClick(sender objc.IObject)
	ScrollColumnsLeftBy(shiftAmount int)
	LoadColumnZero()
	LoadedCellAtRowColumn(row int, col int) objc.Object
	IndexPathForColumn(column int) foundation.IndexPath
	ScrollColumnToVisible(column int)
	DoDoubleClick(sender objc.IObject)
	DraggingImageForRowsWithIndexesInColumnWithEventOffset(rowIndexes foundation.IIndexSet, column int, event IEvent, dragImageOffset foundation.PointPointer) Image
	SelectAll(sender objc.IObject)
	FrameOfColumn(column int) foundation.Rect
	ScrollColumnsRightBy(shiftAmount int)
	SetTitleOfColumn(string_ string, column int)
	IsLeafItem(item objc.IObject) bool
	ReloadColumn(column int)
	FrameOfInsideOfColumn(column int) foundation.Rect
	EditItemAtIndexPathWithEventSelect(indexPath foundation.IIndexPath, event IEvent, select_ bool)
	SelectRowIndexesInColumn(indexes foundation.IIndexSet, column int)
	TitleOfColumn(column int) string
	NoteHeightOfRowsWithIndexesChangedInColumn(indexSet foundation.IIndexSet, columnIndex int)
	ValidateVisibleColumns()
	CanDragRowsWithIndexesInColumnWithEvent(rowIndexes foundation.IIndexSet, column int, event IEvent) bool
	SetDraggingSourceOperationMaskForLocal(mask DragOperation, isLocal bool)
	ColumnWidthForColumnContentWidth(columnContentWidth float64) float64
	SetCellClass(factoryId objc.IClass)
	AddColumn()
	FrameOfRowInColumn(row int, column int) foundation.Rect
	GetRowColumnForPoint(row *int, column *int, point foundation.Point) bool
	Tile()
	ItemAtRowInColumn(row int, column int) objc.Object
	SetWidthOfColumn(columnWidth float64, columnIndex int)
	ItemAtIndexPath(indexPath foundation.IIndexPath) objc.Object
	WidthOfColumn(column int) float64
	ParentForItemsInColumn(column int) objc.Object
	DoubleAction() objc.Selector
	SetDoubleAction(value objc.Selector)
	SelectedCells() []Cell
	PrefersAllColumnUserResizing() bool
	SetPrefersAllColumnUserResizing(value bool)
	SelectedCell() objc.Object
	SelectionIndexPath() foundation.IndexPath
	SetSelectionIndexPath(value foundation.IIndexPath)
	AllowsEmptySelection() bool
	SetAllowsEmptySelection(value bool)
	RowHeight() float64
	SetRowHeight(value float64)
	AutohidesScroller() bool
	SetAutohidesScroller(value bool)
	ClickedColumn() int
	IsTitled() bool
	SetTitled(value bool)
	CellPrototype() objc.Object
	SetCellPrototype(value objc.IObject)
	LastVisibleColumn() int
	AllowsTypeSelect() bool
	SetAllowsTypeSelect(value bool)
	IsLoaded() bool
	ColumnResizingType() BrowserColumnResizingType
	SetColumnResizingType(value BrowserColumnResizingType)
	FirstVisibleColumn() int
	ReusesColumns() bool
	SetReusesColumns(value bool)
	Delegate() BrowserDelegateWrapper
	SetDelegate(value PBrowserDelegate)
	SetDelegateObject(valueObject objc.IObject)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	AllowsBranchSelection() bool
	SetAllowsBranchSelection(value bool)
	SelectionIndexPaths() []foundation.IndexPath
	SetSelectionIndexPaths(value []foundation.IIndexPath)
	NumberOfVisibleColumns() int
	SendsActionOnArrowKeys() bool
	SetSendsActionOnArrowKeys(value bool)
	ClickedRow() int
	AllowsMultipleSelection() bool
	SetAllowsMultipleSelection(value bool)
	SelectedColumn() int
	TitleHeight() float64
	PathSeparator() string
	SetPathSeparator(value string)
	SeparatesColumns() bool
	SetSeparatesColumns(value bool)
	MaxVisibleColumns() int
	SetMaxVisibleColumns(value int)
	ColumnsAutosaveName() BrowserColumnsAutosaveName
	SetColumnsAutosaveName(value BrowserColumnsAutosaveName)
	LastColumn() int
	SetLastColumn(value int)
	MinColumnWidth() float64
	SetMinColumnWidth(value float64)
	TakesTitleFromPreviousColumn() bool
	SetTakesTitleFromPreviousColumn(value bool)
	HasHorizontalScroller() bool
	SetHasHorizontalScroller(value bool)
}

An interface definition for the Browser class.

type IBrowserCell

type IBrowserCell interface {
	ICell
	HighlightColorInView(controlView IView) Color
	Set()
	Reset()
	IsLeaf() bool
	SetLeaf(value bool)
	AlternateImage() Image
	SetAlternateImage(value IImage)
	IsLoaded() bool
	SetLoaded(value bool)
}

An interface definition for the BrowserCell class.

type IButton

type IButton interface {
	IControl
	SetNextState()
	MinimumSizeWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions) foundation.Size
	CompressWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions)
	SetPeriodicDelayInterval(delay float64, interval float64)
	Highlight(flag bool)
	GetPeriodicDelayInterval(delay *float64, interval *float64)
	SetButtonType(type_ ButtonType)
	ImageHugsTitle() bool
	SetImageHugsTitle(value bool)
	AllowsMixedState() bool
	SetAllowsMixedState(value bool)
	AttributedAlternateTitle() foundation.AttributedString
	SetAttributedAlternateTitle(value foundation.IAttributedString)
	KeyEquivalent() string
	SetKeyEquivalent(value string)
	ActiveCompressionOptions() UserInterfaceCompressionOptions
	IsTransparent() bool
	SetTransparent(value bool)
	AlternateTitle() string
	SetAlternateTitle(value string)
	ContentTintColor() Color
	SetContentTintColor(value IColor)
	State() ControlStateValue
	SetState(value ControlStateValue)
	IsBordered() bool
	SetBordered(value bool)
	ImagePosition() CellImagePosition
	SetImagePosition(value CellImagePosition)
	AlternateImage() Image
	SetAlternateImage(value IImage)
	MaxAcceleratorLevel() int
	SetMaxAcceleratorLevel(value int)
	AttributedTitle() foundation.AttributedString
	SetAttributedTitle(value foundation.IAttributedString)
	ImageScaling() ImageScaling
	SetImageScaling(value ImageScaling)
	HasDestructiveAction() bool
	SetHasDestructiveAction(value bool)
	SymbolConfiguration() ImageSymbolConfiguration
	SetSymbolConfiguration(value IImageSymbolConfiguration)
	BezelColor() Color
	SetBezelColor(value IColor)
	Title() string
	SetTitle(value string)
	Sound() Sound
	SetSound(value ISound)
	KeyEquivalentModifierMask() EventModifierFlags
	SetKeyEquivalentModifierMask(value EventModifierFlags)
	BezelStyle() BezelStyle
	SetBezelStyle(value BezelStyle)
	Image() Image
	SetImage(value IImage)
	IsSpringLoaded() bool
	SetSpringLoaded(value bool)
	ShowsBorderOnlyWhileMouseInside() bool
	SetShowsBorderOnlyWhileMouseInside(value bool)
}

An interface definition for the Button class.

type IButtonCell

type IButtonCell interface {
	IActionCell
	MouseEntered(event IEvent)
	DrawBezelWithFrameInView(frame foundation.Rect, controlView IView)
	MouseExited(event IEvent)
	DrawTitleWithFrameInView(title foundation.IAttributedString, frame foundation.Rect, controlView IView) foundation.Rect
	DrawImageWithFrameInView(image IImage, frame foundation.Rect, controlView IView)
	SetPeriodicDelayInterval(delay float64, interval float64)
	SetButtonType(type_ ButtonType)
	AttributedAlternateTitle() foundation.AttributedString
	SetAttributedAlternateTitle(value foundation.IAttributedString)
	SetKeyEquivalent(value string)
	IsTransparent() bool
	SetTransparent(value bool)
	AlternateTitle() string
	SetAlternateTitle(value string)
	HighlightsBy() CellStyleMask
	SetHighlightsBy(value CellStyleMask)
	ImageDimsWhenDisabled() bool
	SetImageDimsWhenDisabled(value bool)
	ImagePosition() CellImagePosition
	SetImagePosition(value CellImagePosition)
	AlternateImage() Image
	SetAlternateImage(value IImage)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	AttributedTitle() foundation.AttributedString
	SetAttributedTitle(value foundation.IAttributedString)
	ImageScaling() ImageScaling
	SetImageScaling(value ImageScaling)
	ShowsStateBy() CellStyleMask
	SetShowsStateBy(value CellStyleMask)
	Sound() Sound
	SetSound(value ISound)
	KeyEquivalentModifierMask() EventModifierFlags
	SetKeyEquivalentModifierMask(value EventModifierFlags)
	BezelStyle() BezelStyle
	SetBezelStyle(value BezelStyle)
	ShowsBorderOnlyWhileMouseInside() bool
	SetShowsBorderOnlyWhileMouseInside(value bool)
}

An interface definition for the ButtonCell class.

type IButtonTouchBarItem

type IButtonTouchBarItem interface {
	ITouchBarItem
	Target() objc.Object
	SetTarget(value objc.IObject)
	SetCustomizationLabel(value string)
	Action() objc.Selector
	SetAction(value objc.Selector)
	BezelColor() Color
	SetBezelColor(value IColor)
	Title() string
	SetTitle(value string)
	IsEnabled() bool
	SetEnabled(value bool)
	Image() Image
	SetImage(value IImage)
}

An interface definition for the ButtonTouchBarItem class.

type ICIImageRep

type ICIImageRep interface {
	IImageRep
	CIImage() coreimage.Image
}

An interface definition for the CIImageRep class.

type ICachedImageRep

type ICachedImageRep interface {
	IImageRep
}

An interface definition for the CachedImageRep class.

type ICandidateListTouchBarItem

type ICandidateListTouchBarItem interface {
	ITouchBarItem
	SetCandidatesForSelectedRangeInString(candidates []objc.IObject, selectedRange foundation.Range, originalString string)
	UpdateWithInsertionPointVisibility(isVisible bool)
	Candidates() []objc.Object
	AllowsTextInputContextCandidates() bool
	SetAllowsTextInputContextCandidates(value bool)
	IsCandidateListVisible() bool
	SetCustomizationLabel(value string)
	AllowsCollapsing() bool
	SetAllowsCollapsing(value bool)
	IsCollapsed() bool
	SetCollapsed(value bool)
	Delegate() CandidateListTouchBarItemDelegateWrapper
	SetDelegate(value PCandidateListTouchBarItemDelegate)
	SetDelegateObject(valueObject objc.IObject)
	Client() View
	SetClient(value IView)
	AttributedStringForCandidate() func(candidate objc.Object, index int) foundation.AttributedString
	SetAttributedStringForCandidate(value func(candidate objc.Object, index int) foundation.AttributedString)
}

An interface definition for the CandidateListTouchBarItem class.

type ICell

type ICell interface {
	objc.IObject
	ContinueTrackingAtInView(lastPoint foundation.Point, currentPoint foundation.Point, controlView IView) bool
	DraggingImageComponentsWithFrameInView(frame foundation.Rect, view IView) []DraggingImageComponent
	SetNextState()
	StopTrackingAtInViewMouseIsUp(lastPoint foundation.Point, stopPoint foundation.Point, controlView IView, flag bool)
	FieldEditorForView(controlView IView) TextView
	TakeObjectValueFrom(sender objc.IObject)
	SetUpFieldEditorAttributes(textObj IText) Text
	ResetCursorRectInView(cellFrame foundation.Rect, controlView IView)
	DrawWithFrameInView(cellFrame foundation.Rect, controlView IView)
	MenuForEventInRectOfView(event IEvent, cellFrame foundation.Rect, view IView) Menu
	StartTrackingAtInView(startPoint foundation.Point, controlView IView) bool
	TakeStringValueFrom(sender objc.IObject)
	FocusRingMaskBoundsForFrameInView(cellFrame foundation.Rect, controlView IView) foundation.Rect
	DrawWithExpansionFrameInView(cellFrame foundation.Rect, view IView)
	HitTestForEventInRectOfView(event IEvent, cellFrame foundation.Rect, controlView IView) CellHitResult
	TakeFloatValueFrom(sender objc.IObject)
	TakeDoubleValueFrom(sender objc.IObject)
	DrawInteriorWithFrameInView(cellFrame foundation.Rect, controlView IView)
	EditWithFrameInViewEditorDelegateEvent(rect foundation.Rect, controlView IView, textObj IText, delegate objc.IObject, event IEvent)
	TitleRectForBounds(rect foundation.Rect) foundation.Rect
	CellSizeForBounds(rect foundation.Rect) foundation.Size
	TakeIntegerValueFrom(sender objc.IObject)
	EndEditing(textObj IText)
	DrawingRectForBounds(rect foundation.Rect) foundation.Rect
	DrawFocusRingMaskWithFrameInView(cellFrame foundation.Rect, controlView IView)
	CellAttribute(parameter CellAttribute) int
	CalcDrawInfo(rect foundation.Rect)
	PerformClick(sender objc.IObject)
	SetCellAttributeTo(parameter CellAttribute, value int)
	TrackMouseInRectOfViewUntilMouseUp(event IEvent, cellFrame foundation.Rect, controlView IView, flag bool) bool
	ImageRectForBounds(rect foundation.Rect) foundation.Rect
	HighlightColorWithFrameInView(cellFrame foundation.Rect, controlView IView) Color
	HighlightWithFrameInView(flag bool, cellFrame foundation.Rect, controlView IView)
	GetPeriodicDelayInterval(delay *float64, interval *float64)
	TakeIntValueFrom(sender objc.IObject)
	SendActionOn(mask EventMask) int
	Compare(otherCell objc.IObject) foundation.ComparisonResult
	ExpansionFrameWithFrameInView(cellFrame foundation.Rect, view IView) foundation.Rect
	SelectWithFrameInViewEditorDelegateStartLength(rect foundation.Rect, controlView IView, textObj IText, delegate objc.IObject, selStart int, selLength int)
	IntegerValue() int
	SetIntegerValue(value int)
	AllowsMixedState() bool
	SetAllowsMixedState(value bool)
	KeyEquivalent() string
	MouseDownFlags() int
	IsHighlighted() bool
	SetHighlighted(value bool)
	IntValue() int
	SetIntValue(value int)
	BackgroundStyle() BackgroundStyle
	SetBackgroundStyle(value BackgroundStyle)
	ControlSize() ControlSize
	SetControlSize(value ControlSize)
	Target() objc.Object
	SetTarget(value objc.IObject)
	State() ControlStateValue
	SetState(value ControlStateValue)
	UsesSingleLineMode() bool
	SetUsesSingleLineMode(value bool)
	IsBordered() bool
	SetBordered(value bool)
	Action() objc.Selector
	SetAction(value objc.Selector)
	IsEditable() bool
	SetEditable(value bool)
	IsContinuous() bool
	SetContinuous(value bool)
	AttributedStringValue() foundation.AttributedString
	SetAttributedStringValue(value foundation.IAttributedString)
	StringValue() string
	SetStringValue(value string)
	Alignment() TextAlignment
	SetAlignment(value TextAlignment)
	FocusRingType() FocusRingType
	SetFocusRingType(value FocusRingType)
	Formatter() foundation.Formatter
	SetFormatter(value foundation.IFormatter)
	NextState() int
	AllowsEditingTextAttributes() bool
	SetAllowsEditingTextAttributes(value bool)
	HasValidObjectValue() bool
	UserInterfaceLayoutDirection() UserInterfaceLayoutDirection
	SetUserInterfaceLayoutDirection(value UserInterfaceLayoutDirection)
	InteriorBackgroundStyle() BackgroundStyle
	IsSelectable() bool
	SetSelectable(value bool)
	ImportsGraphics() bool
	SetImportsGraphics(value bool)
	IsOpaque() bool
	DoubleValue() float64
	SetDoubleValue(value float64)
	WantsNotificationForMarkedText() bool
	Font() Font
	SetFont(value IFont)
	CellSize() foundation.Size
	Menu() Menu
	SetMenu(value IMenu)
	ObjectValue() objc.Object
	SetObjectValue(value objc.IObject)
	Wraps() bool
	SetWraps(value bool)
	AcceptsFirstResponder() bool
	ShowsFirstResponder() bool
	SetShowsFirstResponder(value bool)
	IsScrollable() bool
	SetScrollable(value bool)
	RepresentedObject() objc.Object
	SetRepresentedObject(value objc.IObject)
	Tag() int
	SetTag(value int)
	Title() string
	SetTitle(value string)
	ControlView() View
	SetControlView(value IView)
	BaseWritingDirection() WritingDirection
	SetBaseWritingDirection(value WritingDirection)
	Type() CellType
	SetType(value CellType)
	FloatValue() float64
	SetFloatValue(value float64)
	IsEnabled() bool
	SetEnabled(value bool)
	Image() Image
	SetImage(value IImage)
	RefusesFirstResponder() bool
	SetRefusesFirstResponder(value bool)
	AllowsUndo() bool
	SetAllowsUndo(value bool)
	IsBezeled() bool
	SetBezeled(value bool)
	TruncatesLastVisibleLine() bool
	SetTruncatesLastVisibleLine(value bool)
	SendsActionOnEndEditing() bool
	SetSendsActionOnEndEditing(value bool)
}

An interface definition for the Cell class.

type IClickGestureRecognizer

type IClickGestureRecognizer interface {
	IGestureRecognizer
	ButtonMask() uint
	SetButtonMask(value uint)
	NumberOfTouchesRequired() int
	SetNumberOfTouchesRequired(value int)
	NumberOfClicksRequired() int
	SetNumberOfClicksRequired(value int)
}

An interface definition for the ClickGestureRecognizer class.

type IClipView

type IClipView interface {
	IView
	ViewBoundsChanged(notification foundation.INotification)
	ScrollToPoint(newOrigin foundation.Point)
	ConstrainBoundsRect(proposedBounds foundation.Rect) foundation.Rect
	ViewFrameChanged(notification foundation.INotification)
	DocumentCursor() Cursor
	SetDocumentCursor(value ICursor)
	ContentInsets() foundation.EdgeInsets
	SetContentInsets(value foundation.EdgeInsets)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	DocumentVisibleRect() foundation.Rect
	DocumentRect() foundation.Rect
	DocumentView() View
	SetDocumentView(value IView)
	AutomaticallyAdjustsContentInsets() bool
	SetAutomaticallyAdjustsContentInsets(value bool)
}

An interface definition for the ClipView class.

type ICollectionLayoutAnchor

type ICollectionLayoutAnchor interface {
	objc.IObject
	Edges() DirectionalRectEdge
	IsFractionalOffset() bool
	IsAbsoluteOffset() bool
	Offset() coregraphics.Point
}

An interface definition for the CollectionLayoutAnchor class.

type ICollectionLayoutBoundarySupplementaryItem

type ICollectionLayoutBoundarySupplementaryItem interface {
	ICollectionLayoutSupplementaryItem
	Alignment() RectAlignment
	PinToVisibleBounds() bool
	SetPinToVisibleBounds(value bool)
	Offset() coregraphics.Point
	ExtendsBoundary() bool
	SetExtendsBoundary(value bool)
}

An interface definition for the CollectionLayoutBoundarySupplementaryItem class.

type ICollectionLayoutDecorationItem

type ICollectionLayoutDecorationItem interface {
	ICollectionLayoutItem
	ElementKind() string
	ZIndex() int
	SetZIndex(value int)
}

An interface definition for the CollectionLayoutDecorationItem class.

type ICollectionLayoutDimension

type ICollectionLayoutDimension interface {
	objc.IObject
	IsEstimated() bool
	Dimension() float64
	IsFractionalWidth() bool
	IsAbsolute() bool
	IsFractionalHeight() bool
}

An interface definition for the CollectionLayoutDimension class.

type ICollectionLayoutEdgeSpacing

type ICollectionLayoutEdgeSpacing interface {
	objc.IObject
	Leading() CollectionLayoutSpacing
	Trailing() CollectionLayoutSpacing
	Bottom() CollectionLayoutSpacing
	Top() CollectionLayoutSpacing
}

An interface definition for the CollectionLayoutEdgeSpacing class.

type ICollectionLayoutGroup

type ICollectionLayoutGroup interface {
	ICollectionLayoutItem
	VisualDescription() string
	SetSupplementaryItems(value []ICollectionLayoutSupplementaryItem)
	Subitems() []CollectionLayoutItem
	InterItemSpacing() CollectionLayoutSpacing
	SetInterItemSpacing(value ICollectionLayoutSpacing)
}

An interface definition for the CollectionLayoutGroup class.

type ICollectionLayoutGroupCustomItem

type ICollectionLayoutGroupCustomItem interface {
	objc.IObject
	Frame() coregraphics.Rect
	ZIndex() int
}

An interface definition for the CollectionLayoutGroupCustomItem class.

type ICollectionLayoutItem

type ICollectionLayoutItem interface {
	objc.IObject
	LayoutSize() CollectionLayoutSize
	SupplementaryItems() []CollectionLayoutSupplementaryItem
	ContentInsets() DirectionalEdgeInsets
	SetContentInsets(value DirectionalEdgeInsets)
	EdgeSpacing() CollectionLayoutEdgeSpacing
	SetEdgeSpacing(value ICollectionLayoutEdgeSpacing)
}

An interface definition for the CollectionLayoutItem class.

type ICollectionLayoutSection

type ICollectionLayoutSection interface {
	objc.IObject
	SupplementariesFollowContentInsets() bool
	SetSupplementariesFollowContentInsets(value bool)
	OrthogonalScrollingBehavior() CollectionLayoutSectionOrthogonalScrollingBehavior
	SetOrthogonalScrollingBehavior(value CollectionLayoutSectionOrthogonalScrollingBehavior)
	ContentInsets() DirectionalEdgeInsets
	SetContentInsets(value DirectionalEdgeInsets)
	VisibleItemsInvalidationHandler() CollectionLayoutSectionVisibleItemsInvalidationHandler
	SetVisibleItemsInvalidationHandler(value CollectionLayoutSectionVisibleItemsInvalidationHandler)
	DecorationItems() []CollectionLayoutDecorationItem
	SetDecorationItems(value []ICollectionLayoutDecorationItem)
	InterGroupSpacing() float64
	SetInterGroupSpacing(value float64)
	BoundarySupplementaryItems() []CollectionLayoutBoundarySupplementaryItem
	SetBoundarySupplementaryItems(value []ICollectionLayoutBoundarySupplementaryItem)
}

An interface definition for the CollectionLayoutSection class.

type ICollectionLayoutSize

type ICollectionLayoutSize interface {
	objc.IObject
	HeightDimension() CollectionLayoutDimension
	WidthDimension() CollectionLayoutDimension
}

An interface definition for the CollectionLayoutSize class.

type ICollectionLayoutSpacing

type ICollectionLayoutSpacing interface {
	objc.IObject
	Spacing() float64
	IsFixedSpacing() bool
	IsFlexibleSpacing() bool
}

An interface definition for the CollectionLayoutSpacing class.

type ICollectionLayoutSupplementaryItem

type ICollectionLayoutSupplementaryItem interface {
	ICollectionLayoutItem
	ContainerAnchor() CollectionLayoutAnchor
	ItemAnchor() CollectionLayoutAnchor
	ElementKind() string
	ZIndex() int
	SetZIndex(value int)
}

An interface definition for the CollectionLayoutSupplementaryItem class.

type ICollectionView

type ICollectionView interface {
	IView
	ItemAtIndex(index uint) CollectionViewItem
	RegisterNibForItemWithIdentifier(nib INib, identifier UserInterfaceItemIdentifier)
	IndexPathsForVisibleSupplementaryElementsOfKind(elementKind CollectionViewSupplementaryElementKind) foundation.Set
	InsertSections(sections foundation.IIndexSet)
	MakeItemWithIdentifierForIndexPath(identifier UserInterfaceItemIdentifier, indexPath foundation.IIndexPath) CollectionViewItem
	NumberOfItemsInSection(section int) int
	DeselectAll(sender objc.IObject) objc.Object
	ReloadItemsAtIndexPaths(indexPaths foundation.ISet)
	FrameForItemAtIndexWithNumberOfItems(index uint, numberOfItems uint) foundation.Rect
	RegisterClassForItemWithIdentifier(itemClass objc.IClass, identifier UserInterfaceItemIdentifier)
	IndexPathForItemAtPoint(point foundation.Point) foundation.IndexPath
	DraggingImageForItemsAtIndexesWithEventOffset(indexes foundation.IIndexSet, event IEvent, dragImageOffset foundation.PointPointer) Image
	SelectAll(sender objc.IObject) objc.Object
	DeleteSections(sections foundation.IIndexSet)
	SelectItemsAtIndexPathsScrollPosition(indexPaths foundation.ISet, scrollPosition CollectionViewScrollPosition)
	ScrollToItemsAtIndexPathsScrollPosition(indexPaths foundation.ISet, scrollPosition CollectionViewScrollPosition)
	PerformBatchUpdatesCompletionHandler(updates func(), completionHandler func(finished bool))
	IndexPathForItem(item ICollectionViewItem) foundation.IndexPath
	DraggingImageForItemsAtIndexPathsWithEventOffset(indexPaths foundation.ISet, event IEvent, dragImageOffset foundation.PointPointer) Image
	MakeSupplementaryViewOfKindWithIdentifierForIndexPath(elementKind CollectionViewSupplementaryElementKind, identifier UserInterfaceItemIdentifier, indexPath foundation.IIndexPath) View
	IndexPathsForVisibleItems() foundation.Set
	DeselectItemsAtIndexPaths(indexPaths foundation.ISet)
	SetDraggingSourceOperationMaskForLocal(dragOperationMask DragOperation, localDestination bool)
	SupplementaryViewForElementKindAtIndexPath(elementKind CollectionViewSupplementaryElementKind, indexPath foundation.IIndexPath) View
	InsertItemsAtIndexPaths(indexPaths foundation.ISet)
	VisibleItems() []CollectionViewItem
	ToggleSectionCollapse(sender objc.IObject) objc.Object
	MoveSectionToSection(section int, newSection int)
	LayoutAttributesForItemAtIndexPath(indexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	LayoutAttributesForSupplementaryElementOfKindAtIndexPath(kind CollectionViewSupplementaryElementKind, indexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	ItemAtIndexPath(indexPath foundation.IIndexPath) CollectionViewItem
	ReloadData()
	ReloadSections(sections foundation.IIndexSet)
	DeleteItemsAtIndexPaths(indexPaths foundation.ISet)
	MoveItemAtIndexPathToIndexPath(indexPath foundation.IIndexPath, newIndexPath foundation.IIndexPath)
	VisibleSupplementaryViewsOfKind(elementKind CollectionViewSupplementaryElementKind) []View
	DataSource() CollectionViewDataSourceWrapper
	SetDataSource(value PCollectionViewDataSource)
	SetDataSourceObject(valueObject objc.IObject)
	Content() []objc.Object
	SetContent(value []objc.IObject)
	BackgroundColors() []Color
	SetBackgroundColors(value []IColor)
	AllowsEmptySelection() bool
	SetAllowsEmptySelection(value bool)
	BackgroundView() View
	SetBackgroundView(value IView)
	IsFirstResponder() bool
	CollectionViewLayout() CollectionViewLayout
	SetCollectionViewLayout(value ICollectionViewLayout)
	Delegate() CollectionViewDelegateWrapper
	SetDelegate(value PCollectionViewDelegate)
	SetDelegateObject(valueObject objc.IObject)
	SelectionIndexPaths() foundation.Set
	SetSelectionIndexPaths(value foundation.ISet)
	BackgroundViewScrollsWithContent() bool
	SetBackgroundViewScrollsWithContent(value bool)
	IsSelectable() bool
	SetSelectable(value bool)
	SelectionIndexes() foundation.IndexSet
	SetSelectionIndexes(value foundation.IIndexSet)
	AllowsMultipleSelection() bool
	SetAllowsMultipleSelection(value bool)
	NumberOfSections() int
	PrefetchDataSource() CollectionViewPrefetchingWrapper
	SetPrefetchDataSource(value PCollectionViewPrefetching)
	SetPrefetchDataSourceObject(valueObject objc.IObject)
}

An interface definition for the CollectionView class.

type ICollectionViewCompositionalLayout

type ICollectionViewCompositionalLayout interface {
	ICollectionViewLayout
	Configuration() CollectionViewCompositionalLayoutConfiguration
	SetConfiguration(value ICollectionViewCompositionalLayoutConfiguration)
}

An interface definition for the CollectionViewCompositionalLayout class.

type ICollectionViewCompositionalLayoutConfiguration

type ICollectionViewCompositionalLayoutConfiguration interface {
	objc.IObject
	ScrollDirection() CollectionViewScrollDirection
	SetScrollDirection(value CollectionViewScrollDirection)
	InterSectionSpacing() float64
	SetInterSectionSpacing(value float64)
	BoundarySupplementaryItems() []CollectionLayoutBoundarySupplementaryItem
	SetBoundarySupplementaryItems(value []ICollectionLayoutBoundarySupplementaryItem)
}

An interface definition for the CollectionViewCompositionalLayoutConfiguration class.

type ICollectionViewDiffableDataSource

type ICollectionViewDiffableDataSource interface {
	objc.IObject
	ItemIdentifierForIndexPath(indexPath foundation.IIndexPath) objc.Object
	IndexPathForItemIdentifier(identifier objc.IObject) foundation.IndexPath
	SupplementaryViewProvider() CollectionViewDiffableDataSourceSupplementaryViewProvider
	SetSupplementaryViewProvider(value CollectionViewDiffableDataSourceSupplementaryViewProvider)
}

An interface definition for the CollectionViewDiffableDataSource class.

type ICollectionViewFlowLayout

type ICollectionViewFlowLayout interface {
	ICollectionViewLayout
	ExpandSectionAtIndex(sectionIndex uint)
	SectionAtIndexIsCollapsed(sectionIndex uint) bool
	CollapseSectionAtIndex(sectionIndex uint)
	ItemSize() foundation.Size
	SetItemSize(value foundation.Size)
	HeaderReferenceSize() foundation.Size
	SetHeaderReferenceSize(value foundation.Size)
	MinimumInteritemSpacing() float64
	SetMinimumInteritemSpacing(value float64)
	FooterReferenceSize() foundation.Size
	SetFooterReferenceSize(value foundation.Size)
	SectionInset() foundation.EdgeInsets
	SetSectionInset(value foundation.EdgeInsets)
	ScrollDirection() CollectionViewScrollDirection
	SetScrollDirection(value CollectionViewScrollDirection)
	EstimatedItemSize() foundation.Size
	SetEstimatedItemSize(value foundation.Size)
	SectionFootersPinToVisibleBounds() bool
	SetSectionFootersPinToVisibleBounds(value bool)
	MinimumLineSpacing() float64
	SetMinimumLineSpacing(value float64)
	SectionHeadersPinToVisibleBounds() bool
	SetSectionHeadersPinToVisibleBounds(value bool)
}

An interface definition for the CollectionViewFlowLayout class.

type ICollectionViewFlowLayoutInvalidationContext

type ICollectionViewFlowLayoutInvalidationContext interface {
	ICollectionViewLayoutInvalidationContext
	InvalidateFlowLayoutAttributes() bool
	SetInvalidateFlowLayoutAttributes(value bool)
	InvalidateFlowLayoutDelegateMetrics() bool
	SetInvalidateFlowLayoutDelegateMetrics(value bool)
}

An interface definition for the CollectionViewFlowLayoutInvalidationContext class.

type ICollectionViewGridLayout

type ICollectionViewGridLayout interface {
	ICollectionViewLayout
	BackgroundColors() []Color
	SetBackgroundColors(value []IColor)
	MinimumItemSize() foundation.Size
	SetMinimumItemSize(value foundation.Size)
	MaximumNumberOfRows() uint
	SetMaximumNumberOfRows(value uint)
	MaximumItemSize() foundation.Size
	SetMaximumItemSize(value foundation.Size)
	MinimumInteritemSpacing() float64
	SetMinimumInteritemSpacing(value float64)
	Margins() foundation.EdgeInsets
	SetMargins(value foundation.EdgeInsets)
	MaximumNumberOfColumns() uint
	SetMaximumNumberOfColumns(value uint)
	MinimumLineSpacing() float64
	SetMinimumLineSpacing(value float64)
}

An interface definition for the CollectionViewGridLayout class.

type ICollectionViewItem

type ICollectionViewItem interface {
	IViewController
	HighlightState() CollectionViewItemHighlightState
	SetHighlightState(value CollectionViewItemHighlightState)
	IsSelected() bool
	SetSelected(value bool)
	TextField() TextField
	SetTextField(value ITextField)
	CollectionView() CollectionView
	DraggingImageComponents() []DraggingImageComponent
	ImageView() ImageView
	SetImageView(value IImageView)
}

An interface definition for the CollectionViewItem class.

type ICollectionViewLayout

type ICollectionViewLayout interface {
	objc.IObject
	IndexPathsToInsertForSupplementaryViewOfKind(elementKind CollectionViewSupplementaryElementKind) foundation.Set
	PrepareForTransitionFromLayout(oldLayout ICollectionViewLayout)
	RegisterNibForDecorationViewOfKind(nib INib, elementKind CollectionViewDecorationElementKind)
	PrepareLayout()
	LayoutAttributesForInterItemGapBeforeIndexPath(indexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	InvalidateLayout()
	IndexPathsToInsertForDecorationViewOfKind(elementKind CollectionViewDecorationElementKind) foundation.Set
	InvalidationContextForBoundsChange(newBounds foundation.Rect) CollectionViewLayoutInvalidationContext
	ShouldInvalidateLayoutForPreferredLayoutAttributesWithOriginalAttributes(preferredAttributes ICollectionViewLayoutAttributes, originalAttributes ICollectionViewLayoutAttributes) bool
	InvalidationContextForPreferredLayoutAttributesWithOriginalAttributes(preferredAttributes ICollectionViewLayoutAttributes, originalAttributes ICollectionViewLayoutAttributes) CollectionViewLayoutInvalidationContext
	RegisterClassForDecorationViewOfKind(viewClass objc.IClass, elementKind CollectionViewDecorationElementKind)
	TargetContentOffsetForProposedContentOffset(proposedContentOffset foundation.Point) foundation.Point
	LayoutAttributesForElementsInRect(rect foundation.Rect) []CollectionViewLayoutAttributes
	LayoutAttributesForDecorationViewOfKindAtIndexPath(elementKind CollectionViewDecorationElementKind, indexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	LayoutAttributesForDropTargetAtPoint(pointInCollectionView foundation.Point) CollectionViewLayoutAttributes
	InvalidateLayoutWithContext(context ICollectionViewLayoutInvalidationContext)
	PrepareForCollectionViewUpdates(updateItems []ICollectionViewUpdateItem)
	FinalLayoutAttributesForDisappearingDecorationElementOfKindAtIndexPath(elementKind CollectionViewDecorationElementKind, decorationIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	IndexPathsToDeleteForDecorationViewOfKind(elementKind CollectionViewDecorationElementKind) foundation.Set
	IndexPathsToDeleteForSupplementaryViewOfKind(elementKind CollectionViewSupplementaryElementKind) foundation.Set
	FinalizeCollectionViewUpdates()
	PrepareForTransitionToLayout(newLayout ICollectionViewLayout)
	InitialLayoutAttributesForAppearingDecorationElementOfKindAtIndexPath(elementKind CollectionViewDecorationElementKind, decorationIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	FinalizeLayoutTransition()
	PrepareForAnimatedBoundsChange(oldBounds foundation.Rect)
	LayoutAttributesForItemAtIndexPath(indexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	LayoutAttributesForSupplementaryViewOfKindAtIndexPath(elementKind CollectionViewSupplementaryElementKind, indexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	FinalizeAnimatedBoundsChange()
	ShouldInvalidateLayoutForBoundsChange(newBounds foundation.Rect) bool
	CollectionViewContentSize() foundation.Size
	CollectionView() CollectionView
}

An interface definition for the CollectionViewLayout class.

type ICollectionViewLayoutAttributes

type ICollectionViewLayoutAttributes interface {
	objc.IObject
	IsHidden() bool
	SetHidden(value bool)
	RepresentedElementKind() string
	RepresentedElementCategory() CollectionElementCategory
	Alpha() float64
	SetAlpha(value float64)
	IndexPath() foundation.IndexPath
	SetIndexPath(value foundation.IIndexPath)
	Frame() foundation.Rect
	SetFrame(value foundation.Rect)
	ZIndex() int
	SetZIndex(value int)
	Size() foundation.Size
	SetSize(value foundation.Size)
}

An interface definition for the CollectionViewLayoutAttributes class.

type ICollectionViewLayoutInvalidationContext

type ICollectionViewLayoutInvalidationContext interface {
	objc.IObject
	InvalidateSupplementaryElementsOfKindAtIndexPaths(elementKind CollectionViewSupplementaryElementKind, indexPaths foundation.ISet)
	InvalidateDecorationElementsOfKindAtIndexPaths(elementKind CollectionViewDecorationElementKind, indexPaths foundation.ISet)
	InvalidateItemsAtIndexPaths(indexPaths foundation.ISet)
	InvalidatedDecorationIndexPaths() map[CollectionViewDecorationElementKind]foundation.Set
	InvalidateEverything() bool
	InvalidatedItemIndexPaths() foundation.Set
	InvalidateDataSourceCounts() bool
	InvalidatedSupplementaryIndexPaths() map[CollectionViewSupplementaryElementKind]foundation.Set
	ContentSizeAdjustment() foundation.Size
	SetContentSizeAdjustment(value foundation.Size)
	ContentOffsetAdjustment() foundation.Point
	SetContentOffsetAdjustment(value foundation.Point)
}

An interface definition for the CollectionViewLayoutInvalidationContext class.

type ICollectionViewTransitionLayout

type ICollectionViewTransitionLayout interface {
	ICollectionViewLayout
	ValueForAnimatedKey(key CollectionViewTransitionLayoutAnimatedKey) float64
	UpdateValueForAnimatedKey(value float64, key CollectionViewTransitionLayoutAnimatedKey)
	CurrentLayout() CollectionViewLayout
	TransitionProgress() float64
	SetTransitionProgress(value float64)
	NextLayout() CollectionViewLayout
}

An interface definition for the CollectionViewTransitionLayout class.

type ICollectionViewUpdateItem

type ICollectionViewUpdateItem interface {
	objc.IObject
	UpdateAction() CollectionUpdateAction
	IndexPathBeforeUpdate() foundation.IndexPath
	IndexPathAfterUpdate() foundation.IndexPath
}

An interface definition for the CollectionViewUpdateItem class.

type IColor

type IColor interface {
	objc.IObject
	ColorWithSystemEffect(systemEffect ColorSystemEffect) Color
	Set()
	WriteToPasteboard(pasteBoard IPasteboard)
	ColorUsingType(type_ ColorType) Color
	ShadowWithLevel(val float64) Color
	BlendedColorWithFractionOfColor(fraction float64, color IColor) Color
	GetRedGreenBlueAlpha(red *float64, green *float64, blue *float64, alpha *float64)
	GetCyanMagentaYellowBlackAlpha(cyan *float64, magenta *float64, yellow *float64, black *float64, alpha *float64)
	GetComponents(components *float64)
	GetWhiteAlpha(white *float64, alpha *float64)
	SetStroke()
	DrawSwatchInRect(rect foundation.Rect)
	HighlightWithLevel(val float64) Color
	ColorWithAlphaComponent(alpha float64) Color
	SetFill()
	GetHueSaturationBrightnessAlpha(hue *float64, saturation *float64, brightness *float64, alpha *float64)
	ColorUsingColorSpace(space IColorSpace) Color
	GreenComponent() float64
	BlackComponent() float64
	LocalizedColorNameComponent() string
	YellowComponent() float64
	PatternImage() Image
	HueComponent() float64
	ColorNameComponent() ColorName
	RedComponent() float64
	ColorSpace() ColorSpace
	WhiteComponent() float64
	BrightnessComponent() float64
	SaturationComponent() float64
	MagentaComponent() float64
	Type() ColorType
	BlueComponent() float64
	LocalizedCatalogNameComponent() string
	NumberOfComponents() int
	AlphaComponent() float64
	CyanComponent() float64
	CatalogNameComponent() ColorListName
	CGColor() coregraphics.ColorRef
}

An interface definition for the Color class.

type IColorList

type IColorList interface {
	objc.IObject
	RemoveFile()
	InsertColorKeyAtIndex(color IColor, key ColorName, loc uint)
	RemoveColorWithKey(key ColorName)
	ColorWithKey(key ColorName) Color
	WriteToURLError(url foundation.IURL, errPtr foundation.IError) bool
	SetColorForKey(color IColor, key ColorName)
	IsEditable() bool
	Name() ColorListName
	AllKeys() []ColorName
}

An interface definition for the ColorList class.

type IColorPanel

type IColorPanel interface {
	IPanel
	AttachColorList(colorList IColorList)
	DetachColorList(colorList IColorList)
	SetAction(selector objc.Selector)
	SetTarget(target objc.IObject)
	Color() Color
	SetColor(value IColor)
	IsContinuous() bool
	SetContinuous(value bool)
	AccessoryView() View
	SetAccessoryView(value IView)
	Alpha() float64
	Mode() ColorPanelMode
	SetMode(value ColorPanelMode)
	ShowsAlpha() bool
	SetShowsAlpha(value bool)
}

An interface definition for the ColorPanel class.

type IColorPicker

type IColorPicker interface {
	objc.IObject
	AttachColorList(colorList IColorList)
	InsertNewButtonImageIn(newButtonImage IImage, buttonCell IButtonCell)
	SetMode(mode ColorPanelMode)
	DetachColorList(colorList IColorList)
	ViewSizeChanged(sender objc.IObject)
	ColorPanel() ColorPanel
	ProvideNewButtonImage() Image
	ButtonToolTip() string
	MinContentSize() foundation.Size
}

An interface definition for the ColorPicker class.

type IColorPickerTouchBarItem

type IColorPickerTouchBarItem interface {
	ITouchBarItem
	Color() Color
	SetColor(value IColor)
	Target() objc.Object
	SetTarget(value objc.IObject)
	SetCustomizationLabel(value string)
	Action() objc.Selector
	SetAction(value objc.Selector)
	AllowedColorSpaces() []ColorSpace
	SetAllowedColorSpaces(value []IColorSpace)
	ColorList() ColorList
	SetColorList(value IColorList)
	ShowsAlpha() bool
	SetShowsAlpha(value bool)
	IsEnabled() bool
	SetEnabled(value bool)
}

An interface definition for the ColorPickerTouchBarItem class.

type IColorSampler

type IColorSampler interface {
	objc.IObject
	ShowSamplerWithSelectionHandler(selectionHandler func(selectedColor Color))
}

An interface definition for the ColorSampler class.

type IColorSpace

type IColorSpace interface {
	objc.IObject
	ICCProfileData() []byte
	ColorSpaceModel() ColorSpaceModel
	LocalizedName() string
	NumberOfColorComponents() int
	ColorSyncProfile() unsafe.Pointer
	CGColorSpace() coregraphics.ColorSpaceRef
}

An interface definition for the ColorSpace class.

type IColorWell

type IColorWell interface {
	IControl
	Activate(exclusive bool)
	DrawWellInside(insideRect foundation.Rect)
	TakeColorFrom(sender objc.IObject)
	Deactivate()
	Color() Color
	SetColor(value IColor)
	IsActive() bool
}

An interface definition for the ColorWell class.

type IComboBox

type IComboBox interface {
	ITextField
	RemoveItemWithObjectValue(object objc.IObject)
	NoteNumberOfItemsChanged()
	IndexOfItemWithObjectValue(object objc.IObject) int
	InsertItemWithObjectValueAtIndex(object objc.IObject, index int)
	ScrollItemAtIndexToVisible(index int)
	RemoveAllItems()
	RemoveItemAtIndex(index int)
	AddItemWithObjectValue(object objc.IObject)
	AddItemsWithObjectValues(objects []objc.IObject)
	DeselectItemAtIndex(index int)
	ScrollItemAtIndexToTop(index int)
	SelectItemWithObjectValue(object objc.IObject)
	SelectItemAtIndex(index int)
	ItemObjectValueAtIndex(index int) objc.Object
	ReloadData()
	DataSource() ComboBoxDataSourceWrapper
	SetDataSource(value PComboBoxDataSource)
	SetDataSourceObject(valueObject objc.IObject)
	IndexOfSelectedItem() int
	ItemHeight() float64
	SetItemHeight(value float64)
	ObjectValueOfSelectedItem() objc.Object
	HasVerticalScroller() bool
	SetHasVerticalScroller(value bool)
	Completes() bool
	SetCompletes(value bool)
	UsesDataSource() bool
	SetUsesDataSource(value bool)
	ObjectValues() []objc.Object
	NumberOfItems() int
	NumberOfVisibleItems() int
	SetNumberOfVisibleItems(value int)
	IsButtonBordered() bool
	SetButtonBordered(value bool)
	IntercellSpacing() foundation.Size
	SetIntercellSpacing(value foundation.Size)
}

An interface definition for the ComboBox class.

type IComboBoxCell

type IComboBoxCell interface {
	ITextFieldCell
	RemoveItemWithObjectValue(object objc.IObject)
	NoteNumberOfItemsChanged()
	IndexOfItemWithObjectValue(object objc.IObject) int
	InsertItemWithObjectValueAtIndex(object objc.IObject, index int)
	ScrollItemAtIndexToVisible(index int)
	RemoveAllItems()
	RemoveItemAtIndex(index int)
	AddItemWithObjectValue(object objc.IObject)
	AddItemsWithObjectValues(objects []objc.IObject)
	DeselectItemAtIndex(index int)
	ScrollItemAtIndexToTop(index int)
	SelectItemWithObjectValue(object objc.IObject)
	SelectItemAtIndex(index int)
	ItemObjectValueAtIndex(index int) objc.Object
	CompletedString(string_ string) string
	ReloadData()
	DataSource() ComboBoxCellDataSourceWrapper
	SetDataSource(value PComboBoxCellDataSource)
	SetDataSourceObject(valueObject objc.IObject)
	IndexOfSelectedItem() int
	ItemHeight() float64
	SetItemHeight(value float64)
	ObjectValueOfSelectedItem() objc.Object
	HasVerticalScroller() bool
	SetHasVerticalScroller(value bool)
	Completes() bool
	SetCompletes(value bool)
	UsesDataSource() bool
	SetUsesDataSource(value bool)
	ObjectValues() []objc.Object
	NumberOfItems() int
	NumberOfVisibleItems() int
	SetNumberOfVisibleItems(value int)
	IsButtonBordered() bool
	SetButtonBordered(value bool)
	IntercellSpacing() foundation.Size
	SetIntercellSpacing(value foundation.Size)
}

An interface definition for the ComboBoxCell class.

type IControl

type IControl interface {
	IView
	SendActionTo(action objc.Selector, target objc.IObject) bool
	SizeThatFits(size foundation.Size) foundation.Size
	TakeObjectValueFrom(sender objc.IObject)
	InvalidateIntrinsicContentSizeForCell(cell ICell)
	ValidateEditing()
	TakeStringValueFrom(sender objc.IObject)
	CurrentEditor() Text
	DrawWithExpansionFrameInView(contentFrame foundation.Rect, view IView)
	AbortEditing() bool
	TakeFloatValueFrom(sender objc.IObject)
	TakeDoubleValueFrom(sender objc.IObject)
	EditWithFrameEditorDelegateEvent(rect foundation.Rect, textObj IText, delegate objc.IObject, event IEvent)
	TakeIntegerValueFrom(sender objc.IObject)
	EndEditing(textObj IText)
	PerformClick(sender objc.IObject)
	SizeToFit()
	TakeIntValueFrom(sender objc.IObject)
	SendActionOn(mask EventMask) int
	ExpansionFrameWithFrame(contentFrame foundation.Rect) foundation.Rect
	SelectWithFrameEditorDelegateStartLength(rect foundation.Rect, textObj IText, delegate objc.IObject, selStart int, selLength int)
	IntegerValue() int
	SetIntegerValue(value int)
	IsHighlighted() bool
	SetHighlighted(value bool)
	IntValue() int
	SetIntValue(value int)
	ControlSize() ControlSize
	SetControlSize(value ControlSize)
	Target() objc.Object
	SetTarget(value objc.IObject)
	UsesSingleLineMode() bool
	SetUsesSingleLineMode(value bool)
	Action() objc.Selector
	SetAction(value objc.Selector)
	AllowsExpansionToolTips() bool
	SetAllowsExpansionToolTips(value bool)
	IsContinuous() bool
	SetContinuous(value bool)
	AttributedStringValue() foundation.AttributedString
	SetAttributedStringValue(value foundation.IAttributedString)
	StringValue() string
	SetStringValue(value string)
	Alignment() TextAlignment
	SetAlignment(value TextAlignment)
	Formatter() foundation.Formatter
	SetFormatter(value foundation.IFormatter)
	DoubleValue() float64
	SetDoubleValue(value float64)
	Font() Font
	SetFont(value IFont)
	IgnoresMultiClick() bool
	SetIgnoresMultiClick(value bool)
	ObjectValue() objc.Object
	SetObjectValue(value objc.IObject)
	SetTag(value int)
	BaseWritingDirection() WritingDirection
	SetBaseWritingDirection(value WritingDirection)
	FloatValue() float64
	SetFloatValue(value float64)
	IsEnabled() bool
	SetEnabled(value bool)
	RefusesFirstResponder() bool
	SetRefusesFirstResponder(value bool)
}

An interface definition for the Control class.

type IController

type IController interface {
	objc.IObject
	CommitEditing() bool
	ObjectDidBeginEditing(editor PEditor)
	ObjectDidBeginEditingObject(editorObject objc.IObject)
	ObjectDidEndEditing(editor PEditor)
	ObjectDidEndEditingObject(editorObject objc.IObject)
	CommitEditingWithDelegateDidCommitSelectorContextInfo(delegate objc.IObject, didCommitSelector objc.Selector, contextInfo unsafe.Pointer)
	DiscardEditing()
	IsEditing() bool
}

An interface definition for the Controller class.

type ICursor

type ICursor interface {
	objc.IObject
	Set()
	Push()
	HotSpot() foundation.Point
	Image() Image
}

An interface definition for the Cursor class.

type ICustomImageRep

type ICustomImageRep interface {
	IImageRep
	DrawSelector() objc.Selector
	DrawingHandler() func(arg0 foundation.Rect) bool
	Delegate() objc.Object
}

An interface definition for the CustomImageRep class.

type ICustomTouchBarItem

type ICustomTouchBarItem interface {
	ITouchBarItem
	SetCustomizationLabel(value string)
	SetView(value IView)
	SetViewController(value IViewController)
}

An interface definition for the CustomTouchBarItem class.

type IDataAsset

type IDataAsset interface {
	objc.IObject
	Name() DataAssetName
	TypeIdentifier() string
	Data() []byte
}

An interface definition for the DataAsset class.

type IDatePicker

type IDatePicker interface {
	IControl
	IsBordered() bool
	SetBordered(value bool)
	DatePickerElements() DatePickerElementFlags
	SetDatePickerElements(value DatePickerElementFlags)
	TimeInterval() foundation.TimeInterval
	SetTimeInterval(value foundation.TimeInterval)
	Locale() foundation.Locale
	SetLocale(value foundation.ILocale)
	Delegate() DatePickerCellDelegateWrapper
	SetDelegate(value PDatePickerCellDelegate)
	SetDelegateObject(valueObject objc.IObject)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	MinDate() foundation.Date
	SetMinDate(value foundation.IDate)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	TimeZone() foundation.TimeZone
	SetTimeZone(value foundation.ITimeZone)
	DateValue() foundation.Date
	SetDateValue(value foundation.IDate)
	PresentsCalendarOverlay() bool
	SetPresentsCalendarOverlay(value bool)
	TextColor() Color
	SetTextColor(value IColor)
	Calendar() foundation.Calendar
	SetCalendar(value foundation.ICalendar)
	DatePickerMode() DatePickerMode
	SetDatePickerMode(value DatePickerMode)
	MaxDate() foundation.Date
	SetMaxDate(value foundation.IDate)
	IsBezeled() bool
	SetBezeled(value bool)
	DatePickerStyle() DatePickerStyle
	SetDatePickerStyle(value DatePickerStyle)
}

An interface definition for the DatePicker class.

type IDatePickerCell

type IDatePickerCell interface {
	IActionCell
	DatePickerElements() DatePickerElementFlags
	SetDatePickerElements(value DatePickerElementFlags)
	TimeInterval() foundation.TimeInterval
	SetTimeInterval(value foundation.TimeInterval)
	Locale() foundation.Locale
	SetLocale(value foundation.ILocale)
	Delegate() DatePickerCellDelegateWrapper
	SetDelegate(value PDatePickerCellDelegate)
	SetDelegateObject(valueObject objc.IObject)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	MinDate() foundation.Date
	SetMinDate(value foundation.IDate)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	TimeZone() foundation.TimeZone
	SetTimeZone(value foundation.ITimeZone)
	DateValue() foundation.Date
	SetDateValue(value foundation.IDate)
	TextColor() Color
	SetTextColor(value IColor)
	Calendar() foundation.Calendar
	SetCalendar(value foundation.ICalendar)
	DatePickerMode() DatePickerMode
	SetDatePickerMode(value DatePickerMode)
	MaxDate() foundation.Date
	SetMaxDate(value foundation.IDate)
	DatePickerStyle() DatePickerStyle
	SetDatePickerStyle(value DatePickerStyle)
}

An interface definition for the DatePickerCell class.

type IDictionaryController

type IDictionaryController interface {
	IArrayController
	ExcludedKeys() []string
	SetExcludedKeys(value []string)
	LocalizedKeyTable() string
	SetLocalizedKeyTable(value string)
	IncludedKeys() []string
	SetIncludedKeys(value []string)
	InitialValue() objc.Object
	SetInitialValue(value objc.IObject)
	InitialKey() string
	SetInitialKey(value string)
	LocalizedKeyDictionary() map[string]string
	SetLocalizedKeyDictionary(value map[string]string)
}

An interface definition for the DictionaryController class.

type IDictionaryControllerKeyValuePair

type IDictionaryControllerKeyValuePair interface {
	objc.IObject
	LocalizedKey() string
	SetLocalizedKey(value string)
	Key() string
	SetKey(value string)
	Value() objc.Object
	SetValue(value objc.IObject)
	IsExplicitlyIncluded() bool
}

An interface definition for the DictionaryControllerKeyValuePair class.

type IDiffableDataSourceSnapshot

type IDiffableDataSourceSnapshot interface {
	objc.IObject
	SectionIdentifierForSectionContainingItemIdentifier(itemIdentifier objc.IObject) objc.Object
	ReloadItemsWithIdentifiers(identifiers []objc.IObject)
	AppendSectionsWithIdentifiers(sectionIdentifiers []objc.IObject)
	MoveSectionWithIdentifierAfterSectionWithIdentifier(fromSectionIdentifier objc.IObject, toSectionIdentifier objc.IObject)
	IndexOfSectionIdentifier(sectionIdentifier objc.IObject) int
	ReloadSectionsWithIdentifiers(sectionIdentifiers []objc.IObject)
	NumberOfItemsInSection(sectionIdentifier objc.IObject) int
	DeleteItemsWithIdentifiers(identifiers []objc.IObject)
	DeleteAllItems()
	InsertSectionsWithIdentifiersAfterSectionWithIdentifier(sectionIdentifiers []objc.IObject, toSectionIdentifier objc.IObject)
	MoveItemWithIdentifierAfterItemWithIdentifier(fromIdentifier objc.IObject, toIdentifier objc.IObject)
	IndexOfItemIdentifier(itemIdentifier objc.IObject) int
	ItemIdentifiersInSectionWithIdentifier(sectionIdentifier objc.IObject) []objc.Object
	InsertItemsWithIdentifiersAfterItemWithIdentifier(identifiers []objc.IObject, itemIdentifier objc.IObject)
	AppendItemsWithIdentifiers(identifiers []objc.IObject)
	DeleteSectionsWithIdentifiers(sectionIdentifiers []objc.IObject)
	SectionIdentifiers() []objc.Object
	NumberOfItems() int
	ItemIdentifiers() []objc.Object
	NumberOfSections() int
}

An interface definition for the DiffableDataSourceSnapshot class.

type IDockTile

type IDockTile interface {
	objc.IObject
	Display()
	ContentView() View
	SetContentView(value IView)
	ShowsApplicationBadge() bool
	SetShowsApplicationBadge(value bool)
	Owner() objc.Object
	BadgeLabel() string
	SetBadgeLabel(value string)
	Size() foundation.Size
}

An interface definition for the DockTile class.

type IDocument

type IDocument interface {
	objc.IObject
	LockWithCompletionHandler(completionHandler func(arg0 foundation.Error))
	RunModalSavePanelForSaveOperationDelegateDidSaveSelectorContextInfo(saveOperation SaveOperationType, delegate objc.IObject, didSaveSelector objc.Selector, contextInfo unsafe.Pointer)
	FileWrapperOfTypeError(typeName string, outError foundation.IError) foundation.FileWrapper
	PrintDocument(sender objc.IObject) objc.Object
	RemoveWindowController(windowController IWindowController)
	RevertDocumentToSaved(sender objc.IObject) objc.Object
	DuplicateAndReturnError(outError foundation.IError) Document
	ShowWindows()
	WillPresentError(error foundation.IError) foundation.Error
	ContinueAsynchronousWorkOnMainThreadUsingBlock(block func())
	SetWindow(window IWindow)
	WillNotPresentError(error foundation.IError)
	DataOfTypeError(typeName string, outError foundation.IError) []byte
	ScheduleAutosaving()
	PrintOperationWithSettingsError(printSettings map[PrintInfoAttributeKey]objc.IObject, outError foundation.IError) PrintOperation
	ContinueActivityUsingBlock(block func())
	InvalidateRestorableState()
	HandleSaveScriptCommand(command foundation.IScriptCommand) objc.Object
	SaveDocumentAs(sender objc.IObject) objc.Object
	LockDocument(sender objc.IObject) objc.Object
	Close()
	ShouldChangePrintInfo(newPrintInfo IPrintInfo) bool
	HandleCloseScriptCommand(command foundation.ICloseCommand) objc.Object
	PreparePageLayout(pageLayout IPageLayout) bool
	PerformActivityWithSynchronousWaitingUsingBlock(waitSynchronously bool, block func(arg0 func()))
	LockDocumentWithCompletionHandler(completionHandler func(didLock bool))
	UnblockUserInteraction()
	SaveDocument(sender objc.IObject) objc.Object
	WindowControllerWillLoadNib(windowController IWindowController)
	MoveDocumentToUbiquityContainer(sender objc.IObject) objc.Object
	PerformSynchronousFileAccessUsingBlock(block func())
	WriteSafelyToURLOfTypeForSaveOperationError(url foundation.IURL, typeName string, saveOperation SaveOperationType, outError foundation.IError) bool
	SaveDocumentTo(sender objc.IObject) objc.Object
	BrowseDocumentVersions(sender objc.IObject) objc.Object
	SaveDocumentToPDF(sender objc.IObject) objc.Object
	WritableTypesForSaveOperation(saveOperation SaveOperationType) []string
	DuplicateDocumentWithDelegateDidDuplicateSelectorContextInfo(delegate objc.IObject, didDuplicateSelector objc.Selector, contextInfo unsafe.Pointer)
	ReadFromURLOfTypeError(url foundation.IURL, typeName string, outError foundation.IError) bool
	AutosaveWithImplicitCancellabilityCompletionHandler(autosavingIsImplicitlyCancellable bool, completionHandler func(errorOrNil foundation.Error))
	DefaultDraftName() string
	AddWindowController(windowController IWindowController)
	HandlePrintScriptCommand(command foundation.IScriptCommand) objc.Object
	RestoreStateWithCoder(coder foundation.ICoder)
	SetDisplayName(displayNameOrNil string)
	CanCloseDocumentWithDelegateShouldCloseSelectorContextInfo(delegate objc.IObject, shouldCloseSelector objc.Selector, contextInfo unsafe.Pointer)
	RestoreDocumentWindowWithIdentifierStateCompletionHandler(identifier UserInterfaceItemIdentifier, state foundation.ICoder, completionHandler func(arg0 Window, arg1 foundation.Error))
	ValidateUserInterfaceItem(item PValidatedUserInterfaceItem) bool
	ValidateUserInterfaceItemObject(itemObject objc.IObject) bool
	ReadFromDataOfTypeError(data []byte, typeName string, outError foundation.IError) bool
	RunPageLayout(sender objc.IObject) objc.Object
	UpdateUserActivityState(activity foundation.IUserActivity)
	UnlockWithCompletionHandler(completionHandler func(arg0 foundation.Error))
	MoveDocumentWithCompletionHandler(completionHandler func(didMove bool))
	PerformAsynchronousFileAccessUsingBlock(block func(arg0 func()))
	CanAsynchronouslyWriteToURLOfTypeForSaveOperation(url foundation.IURL, typeName string, saveOperation SaveOperationType) bool
	ChangeCountTokenForSaveOperation(saveOperation SaveOperationType) objc.Object
	FileAttributesToWriteToURLOfTypeForSaveOperationOriginalContentsURLError(url foundation.IURL, typeName string, saveOperation SaveOperationType, absoluteOriginalContentsURL foundation.IURL, outError foundation.IError) map[string]objc.Object
	UnlockDocumentWithCompletionHandler(completionHandler func(didUnlock bool))
	FileNameExtensionForTypeSaveOperation(typeName string, saveOperation SaveOperationType) string
	RenameDocument(sender objc.IObject) objc.Object
	ShareDocumentWithSharingServiceCompletionHandler(sharingService ISharingService, completionHandler func(success bool))
	ReadFromFileWrapperOfTypeError(fileWrapper foundation.IFileWrapper, typeName string, outError foundation.IError) bool
	WriteToURLOfTypeForSaveOperationOriginalContentsURLError(url foundation.IURL, typeName string, saveOperation SaveOperationType, absoluteOriginalContentsURL foundation.IURL, outError foundation.IError) bool
	StopBrowsingVersionsWithCompletionHandler(completionHandler func())
	PrintDocumentWithSettingsShowPrintPanelDelegateDidPrintSelectorContextInfo(printSettings map[PrintInfoAttributeKey]objc.IObject, showPrintPanel bool, delegate objc.IObject, didPrintSelector objc.Selector, contextInfo unsafe.Pointer)
	DuplicateDocument(sender objc.IObject) objc.Object
	MakeWindowControllers()
	UnlockDocument(sender objc.IObject) objc.Object
	RunModalPrintOperationDelegateDidRunSelectorContextInfo(printOperation IPrintOperation, delegate objc.IObject, didRunSelector objc.Selector, contextInfo unsafe.Pointer)
	SaveDocumentWithDelegateDidSaveSelectorContextInfo(delegate objc.IObject, didSaveSelector objc.Selector, contextInfo unsafe.Pointer)
	RevertToContentsOfURLOfTypeError(url foundation.IURL, typeName string, outError foundation.IError) bool
	CheckAutosavingSafetyAndReturnError(outError foundation.IError) bool
	WindowControllerDidLoadNib(windowController IWindowController)
	ShouldCloseWindowControllerDelegateShouldCloseSelectorContextInfo(windowController IWindowController, delegate objc.IObject, shouldCloseSelector objc.Selector, contextInfo unsafe.Pointer)
	MoveToURLCompletionHandler(url foundation.IURL, completionHandler func(arg0 foundation.Error))
	AutosaveDocumentWithDelegateDidAutosaveSelectorContextInfo(delegate objc.IObject, didAutosaveSelector objc.Selector, contextInfo unsafe.Pointer)
	PrepareSavePanel(savePanel ISavePanel) bool
	PresentError(error foundation.IError) bool
	MoveDocument(sender objc.IObject) objc.Object
	UpdateChangeCountWithTokenForSaveOperation(changeCountToken objc.IObject, saveOperation SaveOperationType)
	EncodeRestorableStateWithCoder(coder foundation.ICoder)
	UpdateChangeCount(change DocumentChangeType)
	PrepareSharingServicePicker(sharingServicePicker ISharingServicePicker)
	PrintInfo() PrintInfo
	SetPrintInfo(value IPrintInfo)
	ObjectSpecifier() foundation.ScriptObjectSpecifier
	IsDraft() bool
	SetDraft(value bool)
	FileNameExtensionWasHiddenInLastRunSavePanel() bool
	UndoManager() foundation.UndoManager
	SetUndoManager(value foundation.IUndoManager)
	AutosavedContentsFileURL() foundation.URL
	SetAutosavedContentsFileURL(value foundation.IURL)
	ShouldRunSavePanelWithAccessoryView() bool
	LastComponentOfFileName() string
	SetLastComponentOfFileName(value string)
	KeepBackupFile() bool
	BackupFileURL() foundation.URL
	FileURL() foundation.URL
	SetFileURL(value foundation.IURL)
	FileTypeFromLastRunSavePanel() string
	WindowControllers() []WindowController
	IsEntireFileLoaded() bool
	IsBrowsingVersions() bool
	IsInViewingMode() bool
	PDFPrintOperation() PrintOperation
	HasUndoManager() bool
	SetHasUndoManager(value bool)
	FileType() string
	SetFileType(value string)
	IsDocumentEdited() bool
	IsLocked() bool
	FileModificationDate() foundation.Date
	SetFileModificationDate(value foundation.IDate)
	WindowNibName() NibName
	AutosavingIsImplicitlyCancellable() bool
	AllowsDocumentSharing() bool
	HasUnautosavedChanges() bool
	AutosavingFileType() string
	WindowForSheet() Window
	DisplayName() string
	UserActivity() foundation.UserActivity
	SetUserActivity(value foundation.IUserActivity)
}

An interface definition for the Document class.

type IDocumentController

type IDocumentController interface {
	objc.IObject
	ClearRecentDocuments(sender objc.IObject) objc.Object
	OpenDocument(sender objc.IObject) objc.Object
	DocumentForURL(url foundation.IURL) Document
	WillPresentError(error foundation.IError) foundation.Error
	ReviewUnsavedDocumentsWithAlertTitleCancellableDelegateDidReviewAllSelectorContextInfo(title string, cancellable bool, delegate objc.IObject, didReviewAllSelector objc.Selector, contextInfo unsafe.Pointer)
	RemoveDocument(document IDocument)
	BeginOpenPanelWithCompletionHandler(completionHandler func(arg0 []foundation.URL))
	DocumentForWindow(window IWindow) Document
	AddDocument(document IDocument)
	DisplayNameForType(typeName string) string
	SaveAllDocuments(sender objc.IObject) objc.Object
	ValidateUserInterfaceItem(item PValidatedUserInterfaceItem) bool
	ValidateUserInterfaceItemObject(itemObject objc.IObject) bool
	TypeForContentsOfURLError(url foundation.IURL, outError foundation.IError) string
	RunModalOpenPanelForTypes(openPanel IOpenPanel, types []string) int
	NoteNewRecentDocument(document IDocument)
	URLsFromRunningOpenPanel() []foundation.URL
	NoteNewRecentDocumentURL(url foundation.IURL)
	DocumentClassForType(typeName string) objc.Class
	OpenUntitledDocumentAndDisplayError(displayDocument bool, outError foundation.IError) Document
	DuplicateDocumentWithContentsOfURLCopyingDisplayNameError(url foundation.IURL, duplicateByCopying bool, displayNameOrNil string, outError foundation.IError) Document
	NewDocument(sender objc.IObject) objc.Object
	CloseAllDocumentsWithDelegateDidCloseAllSelectorContextInfo(delegate objc.IObject, didCloseAllSelector objc.Selector, contextInfo unsafe.Pointer)
	MakeDocumentForURLWithContentsOfURLOfTypeError(urlOrNil foundation.IURL, contentsURL foundation.IURL, typeName string, outError foundation.IError) Document
	PresentError(error foundation.IError) bool
	StandardShareMenuItem() MenuItem
	BeginOpenPanelForTypesCompletionHandler(openPanel IOpenPanel, inTypes []string, completionHandler func(result int))
	CurrentDocument() Document
	MaximumRecentDocumentCount() uint
	DefaultType() string
	DocumentClassNames() []string
	RecentDocumentURLs() []foundation.URL
	AutosavingDelay() foundation.TimeInterval
	SetAutosavingDelay(value foundation.TimeInterval)
	AllowsAutomaticShareMenu() bool
	Documents() []Document
	HasEditedDocuments() bool
	CurrentDirectory() string
}

An interface definition for the DocumentController class.

type IDraggingImageComponent

type IDraggingImageComponent interface {
	objc.IObject
	Key() DraggingImageComponentKey
	SetKey(value DraggingImageComponentKey)
	Contents() objc.Object
	SetContents(value objc.IObject)
	Frame() foundation.Rect
	SetFrame(value foundation.Rect)
}

An interface definition for the DraggingImageComponent class.

type IDraggingItem

type IDraggingItem interface {
	objc.IObject
	SetDraggingFrameContents(frame foundation.Rect, contents objc.IObject)
	Item() objc.Object
	DraggingFrame() foundation.Rect
	SetDraggingFrame(value foundation.Rect)
	ImageComponents() []DraggingImageComponent
	ImageComponentsProvider() func() []DraggingImageComponent
	SetImageComponentsProvider(value func() []DraggingImageComponent)
}

An interface definition for the DraggingItem class.

type IDraggingSession

type IDraggingSession interface {
	objc.IObject
	EnumerateDraggingItemsWithOptionsForViewClassesSearchOptionsUsingBlock(enumOpts DraggingItemEnumerationOptions, view IView, classArray []objc.IClass, searchOptions map[PasteboardReadingOptionKey]objc.IObject, block func(draggingItem DraggingItem, idx int, stop *bool))
	DraggingPasteboard() Pasteboard
	DraggingFormation() DraggingFormation
	SetDraggingFormation(value DraggingFormation)
	DraggingLeaderIndex() int
	SetDraggingLeaderIndex(value int)
	AnimatesToStartingPositionsOnCancelOrFail() bool
	SetAnimatesToStartingPositionsOnCancelOrFail(value bool)
	DraggingLocation() foundation.Point
	DraggingSequenceNumber() int
}

An interface definition for the DraggingSession class.

type IDrawer

type IDrawer interface {
	IResponder
}

An interface definition for the Drawer class.

type IEPSImageRep

type IEPSImageRep interface {
	IImageRep
}

An interface definition for the EPSImageRep class.

type IEvent

type IEvent interface {
	objc.IObject
	CoalescedTouchesForTouch(touch ITouch) []Touch
	TrackSwipeEventWithOptionsDampenAmountThresholdMinMaxUsingHandler(options EventSwipeTrackingOptions, minDampenThreshold float64, maxDampenThreshold float64, trackingHandler func(gestureAmount float64, phase EventPhase, isComplete bool, stop *bool))
	AllTouches() foundation.Set
	CharactersByApplyingModifiers(modifiers EventModifierFlags) string
	LocationInNode(node objc.IObject) coregraphics.Point
	TouchesForView(view IView) foundation.Set
	TouchesMatchingPhaseInView(phase TouchPhase, view IView) foundation.Set
	Pressure() float64
	AbsoluteZ() int
	SystemTabletID() uint
	TabletID() uint
	DeviceID() uint
	PointingDeviceType() PointingDeviceType
	Data1() int
	ButtonNumber() int
	EventRef() unsafe.Pointer
	DeltaZ() float64
	StageTransition() float64
	Tilt() foundation.Point
	Characters() string
	UserData() unsafe.Pointer
	PointingDeviceSerialNumber() uint
	VendorDefined() objc.Object
	EventNumber() int
	MomentumPhase() EventPhase
	TrackingArea() TrackingArea
	UniqueID() int64
	Rotation() float64
	PointingDeviceID() uint
	AssociatedEventsMask() EventMask
	Magnification() float64
	CGEvent() coregraphics.EventRef
	Subtype() EventSubtype
	DeltaX() float64
	VendorID() uint
	TrackingNumber() int
	ButtonMask() EventButtonMask
	VendorPointingDeviceType() uint
	DeltaY() float64
	KeyCode() int
	WindowNumber() int
	IsDirectionInvertedFromDevice() bool
	IsEnteringProximity() bool
	LocationInWindow() foundation.Point
	Timestamp() foundation.TimeInterval
	CapabilityMask() uint
	AbsoluteX() int
	Type() EventType
	ScrollingDeltaX() float64
	Window() Window
	IsARepeat() bool
	Data2() int
	TangentialPressure() float64
	Stage() int
	HasPreciseScrollingDeltas() bool
	ScrollingDeltaY() float64
	AbsoluteY() int
	ClickCount() int
	Phase() EventPhase
	CharactersIgnoringModifiers() string
	PressureBehavior() PressureBehavior
}

An interface definition for the Event class.

type IFilePromiseProvider

type IFilePromiseProvider interface {
	objc.IObject
	UserInfo() objc.Object
	SetUserInfo(value objc.IObject)
	Delegate() FilePromiseProviderDelegateWrapper
	SetDelegate(value PFilePromiseProviderDelegate)
	SetDelegateObject(valueObject objc.IObject)
	FileType() string
	SetFileType(value string)
}

An interface definition for the FilePromiseProvider class.

type IFilePromiseReceiver

type IFilePromiseReceiver interface {
	objc.IObject
	ReceivePromisedFilesAtDestinationOptionsOperationQueueReader(destinationDir foundation.IURL, options foundation.Dictionary, operationQueue foundation.IOperationQueue, reader func(fileURL foundation.URL, errorOrNil foundation.Error))
	FileTypes() []string
	FileNames() []string
}

An interface definition for the FilePromiseReceiver class.

type IFont

type IFont interface {
	objc.IObject
	GetBoundingRectsForCGGlyphsCount(bounds foundation.RectArray, glyphs *coregraphics.Glyph, glyphCount uint)
	BoundingRectForCGGlyph(glyph coregraphics.Glyph) foundation.Rect
	Set()
	FontWithSize(fontSize float64) Font
	GetAdvancementsForCGGlyphsCount(advancements foundation.SizeArray, glyphs *coregraphics.Glyph, glyphCount uint)
	SetInContext(graphicsContext IGraphicsContext)
	AdvancementForCGGlyph(glyph coregraphics.Glyph) foundation.Size
	FontDescriptor() FontDescriptor
	Ascender() float64
	CapHeight() float64
	IsFixedPitch() bool
	CoveredCharacterSet() foundation.CharacterSet
	TextTransform() foundation.AffineTransform
	UnderlinePosition() float64
	Leading() float64
	MaximumAdvancement() foundation.Size
	NumberOfGlyphs() uint
	XHeight() float64
	PointSize() float64
	VerticalFont() Font
	BoundingRectForFont() foundation.Rect
	Descender() float64
	FontName() string
	Matrix() *float64
	IsVertical() bool
	ItalicAngle() float64
	MostCompatibleStringEncoding() foundation.StringEncoding
	UnderlineThickness() float64
	DisplayName() string
	FamilyName() string
}

An interface definition for the Font class.

type IFontAssetRequest

type IFontAssetRequest interface {
	objc.IObject
	DownloadFontAssetsWithCompletionHandler(completionHandler func(error foundation.Error) bool)
	DownloadedFontDescriptors() []FontDescriptor
	Progress() foundation.Progress
}

An interface definition for the FontAssetRequest class.

type IFontCollection

type IFontCollection interface {
	objc.IObject
	MatchingDescriptorsForFamily(family string) []FontDescriptor
	MatchingDescriptorsWithOptions(options map[FontCollectionMatchingOptionKey]foundation.INumber) []FontDescriptor
	ExclusionDescriptors() []FontDescriptor
	QueryDescriptors() []FontDescriptor
	MatchingDescriptors() []FontDescriptor
}

An interface definition for the FontCollection class.

type IFontDescriptor

type IFontDescriptor interface {
	objc.IObject
	ObjectForKey(attribute FontDescriptorAttributeName) objc.Object
	MatchingFontDescriptorWithMandatoryKeys(mandatoryKeys foundation.ISet) FontDescriptor
	FontDescriptorWithSymbolicTraits(symbolicTraits FontDescriptorSymbolicTraits) FontDescriptor
	FontDescriptorByAddingAttributes(attributes map[FontDescriptorAttributeName]objc.IObject) FontDescriptor
	FontDescriptorWithFace(newFace string) FontDescriptor
	FontDescriptorWithSize(newPointSize float64) FontDescriptor
	FontDescriptorWithFamily(newFamily string) FontDescriptor
	MatchingFontDescriptorsWithMandatoryKeys(mandatoryKeys foundation.ISet) []FontDescriptor
	FontDescriptorWithMatrix(matrix foundation.IAffineTransform) FontDescriptor
	FontAttributes() map[FontDescriptorAttributeName]objc.Object
	RequiresFontAssetRequest() bool
	PointSize() float64
	Matrix() foundation.AffineTransform
	SymbolicTraits() FontDescriptorSymbolicTraits
	PostscriptName() string
}

An interface definition for the FontDescriptor class.

type IFontManager

type IFontManager interface {
	objc.IObject
	SendAction() bool
	ConvertFontTraits(traits FontTraitMask) FontTraitMask
	AvailableFontNamesWithTraits(someTraits FontTraitMask) []string
	LocalizedNameForFamilyFace(family string, faceKey string) string
	ConvertAttributes(attributes map[string]objc.IObject) map[string]objc.Object
	WeightOfFont(fontObj IFont) int
	SetFontMenu(newMenu IMenu)
	TraitsOfFont(fontObj IFont) FontTraitMask
	RemoveFontTrait(sender objc.IObject)
	OrderFrontFontPanel(sender objc.IObject)
	AddFontTrait(sender objc.IObject)
	ModifyFont(sender objc.IObject)
	ConvertWeightOfFont(upFlag bool, fontObj IFont) Font
	OrderFrontStylesPanel(sender objc.IObject)
	SetSelectedAttributesIsMultiple(attributes map[string]objc.IObject, flag bool)
	FontMenu(create bool) Menu
	ConvertFontToSize(fontObj IFont, size float64) Font
	FontWithFamilyTraitsWeightSize(family string, traits FontTraitMask, weight int, size float64) Font
	SetSelectedFontIsMultiple(fontObj IFont, flag bool)
	FontPanel(create bool) FontPanel
	FontNamedHasTraits(fName string, someTraits FontTraitMask) bool
	ModifyFontViaPanel(sender objc.IObject)
	AvailableMembersOfFontFamily(fam string) [][]objc.Object
	CurrentFontAction() FontAction
	Target() objc.Object
	SetTarget(value objc.IObject)
	Action() objc.Selector
	SetAction(value objc.Selector)
	IsMultiple() bool
	AvailableFontFamilies() []string
	SelectedFont() Font
	IsEnabled() bool
	SetEnabled(value bool)
	AvailableFonts() []string
}

An interface definition for the FontManager class.

type IFontPanel

type IFontPanel interface {
	IPanel
	PanelConvertFont(fontObj IFont) Font
	SetPanelFontIsMultiple(fontObj IFont, flag bool)
	ReloadDefaultFontFamilies()
	AccessoryView() View
	SetAccessoryView(value IView)
	IsEnabled() bool
	SetEnabled(value bool)
}

An interface definition for the FontPanel class.

type IForm

type IForm interface {
	IMatrix
}

An interface definition for the Form class.

type IFormCell

type IFormCell interface {
	IActionCell
	TitleAlignment() TextAlignment
	SetTitleAlignment(value TextAlignment)
	TitleWidth() float64
	SetTitleWidth(value float64)
	PlaceholderAttributedString() foundation.AttributedString
	SetPlaceholderAttributedString(value foundation.IAttributedString)
	AttributedTitle() foundation.AttributedString
	SetAttributedTitle(value foundation.IAttributedString)
	PreferredTextFieldWidth() float64
	SetPreferredTextFieldWidth(value float64)
	TitleBaseWritingDirection() WritingDirection
	SetTitleBaseWritingDirection(value WritingDirection)
	PlaceholderString() string
	SetPlaceholderString(value string)
	TitleFont() Font
	SetTitleFont(value IFont)
}

An interface definition for the FormCell class.

type IGestureRecognizer

type IGestureRecognizer interface {
	objc.IObject
	TouchesMovedWithEvent(event IEvent)
	MouseUp(event IEvent)
	CanBePreventedByGestureRecognizer(preventingGestureRecognizer IGestureRecognizer) bool
	PressureChangeWithEvent(event IEvent)
	ShouldBeRequiredToFailByGestureRecognizer(otherGestureRecognizer IGestureRecognizer) bool
	OtherMouseDragged(event IEvent)
	RightMouseDragged(event IEvent)
	CanPreventGestureRecognizer(preventedGestureRecognizer IGestureRecognizer) bool
	ShouldRequireFailureOfGestureRecognizer(otherGestureRecognizer IGestureRecognizer) bool
	FlagsChanged(event IEvent)
	TouchesBeganWithEvent(event IEvent)
	TouchesCancelledWithEvent(event IEvent)
	RotateWithEvent(event IEvent)
	KeyDown(event IEvent)
	TabletPoint(event IEvent)
	TouchesEndedWithEvent(event IEvent)
	OtherMouseDown(event IEvent)
	OtherMouseUp(event IEvent)
	MagnifyWithEvent(event IEvent)
	MouseDragged(event IEvent)
	LocationInView(view IView) foundation.Point
	MouseDown(event IEvent)
	KeyUp(event IEvent)
	RightMouseDown(event IEvent)
	Reset()
	RightMouseUp(event IEvent)
	DelaysOtherMouseButtonEvents() bool
	SetDelaysOtherMouseButtonEvents(value bool)
	DelaysSecondaryMouseButtonEvents() bool
	SetDelaysSecondaryMouseButtonEvents(value bool)
	Target() objc.Object
	SetTarget(value objc.IObject)
	State() GestureRecognizerState
	Action() objc.Selector
	SetAction(value objc.Selector)
	PressureConfiguration() PressureConfiguration
	SetPressureConfiguration(value IPressureConfiguration)
	View() View
	DelaysMagnificationEvents() bool
	SetDelaysMagnificationEvents(value bool)
	Delegate() GestureRecognizerDelegateWrapper
	SetDelegate(value PGestureRecognizerDelegate)
	SetDelegateObject(valueObject objc.IObject)
	DelaysPrimaryMouseButtonEvents() bool
	SetDelaysPrimaryMouseButtonEvents(value bool)
	DelaysKeyEvents() bool
	SetDelaysKeyEvents(value bool)
	DelaysRotationEvents() bool
	SetDelaysRotationEvents(value bool)
	AllowedTouchTypes() TouchTypeMask
	SetAllowedTouchTypes(value TouchTypeMask)
	IsEnabled() bool
	SetEnabled(value bool)
}

An interface definition for the GestureRecognizer class.

type IGlyphGenerator

type IGlyphGenerator interface {
	objc.IObject
	GenerateGlyphsForGlyphStorageDesiredNumberOfCharactersGlyphIndexCharacterIndex(glyphStorage PGlyphStorage, nChars uint, glyphIndex *uint, charIndex *uint)
	GenerateGlyphsForGlyphStorageObjectDesiredNumberOfCharactersGlyphIndexCharacterIndex(glyphStorageObject objc.IObject, nChars uint, glyphIndex *uint, charIndex *uint)
}

An interface definition for the GlyphGenerator class.

type IGlyphInfo

type IGlyphInfo interface {
	objc.IObject
	BaseString() string
	GlyphID() coregraphics.Glyph
}

An interface definition for the GlyphInfo class.

type IGradient

type IGradient interface {
	objc.IObject
	GetColorLocationAtIndex(color IColor, location *float64, index int)
	DrawFromCenterRadiusToCenterRadiusOptions(startCenter foundation.Point, startRadius float64, endCenter foundation.Point, endRadius float64, options GradientDrawingOptions)
	DrawInRectRelativeCenterPosition(rect foundation.Rect, relativeCenterPosition foundation.Point)
	InterpolatedColorAtLocation(location float64) Color
	DrawFromPointToPointOptions(startingPoint foundation.Point, endingPoint foundation.Point, options GradientDrawingOptions)
	DrawInBezierPathAngle(path IBezierPath, angle float64)
	ColorSpace() ColorSpace
	NumberOfColorStops() int
}

An interface definition for the Gradient class.

type IGraphicsContext

type IGraphicsContext interface {
	objc.IObject
	FlushGraphics()
	PatternPhase() foundation.Point
	SetPatternPhase(value foundation.Point)
	CIContext() coreimage.Context
	ImageInterpolation() ImageInterpolation
	SetImageInterpolation(value ImageInterpolation)
	ShouldAntialias() bool
	SetShouldAntialias(value bool)
	CGContext() coregraphics.ContextRef
	CompositingOperation() CompositingOperation
	SetCompositingOperation(value CompositingOperation)
	ColorRenderingIntent() ColorRenderingIntent
	SetColorRenderingIntent(value ColorRenderingIntent)
	IsDrawingToScreen() bool
	IsFlipped() bool
	Attributes() map[GraphicsContextAttributeKey]objc.Object
}

An interface definition for the GraphicsContext class.

type IGridCell

type IGridCell interface {
	objc.IObject
	RowAlignment() GridRowAlignment
	SetRowAlignment(value GridRowAlignment)
	ContentView() View
	SetContentView(value IView)
	CustomPlacementConstraints() []LayoutConstraint
	SetCustomPlacementConstraints(value []ILayoutConstraint)
	YPlacement() GridCellPlacement
	SetYPlacement(value GridCellPlacement)
	Column() GridColumn
	Row() GridRow
	XPlacement() GridCellPlacement
	SetXPlacement(value GridCellPlacement)
}

An interface definition for the GridCell class.

type IGridColumn

type IGridColumn interface {
	objc.IObject
	MergeCellsInRange(range_ foundation.Range)
	CellAtIndex(index int) GridCell
	Width() float64
	SetWidth(value float64)
	IsHidden() bool
	SetHidden(value bool)
	LeadingPadding() float64
	SetLeadingPadding(value float64)
	GridView() GridView
	XPlacement() GridCellPlacement
	SetXPlacement(value GridCellPlacement)
	TrailingPadding() float64
	SetTrailingPadding(value float64)
	NumberOfCells() int
}

An interface definition for the GridColumn class.

type IGridRow

type IGridRow interface {
	objc.IObject
	MergeCellsInRange(range_ foundation.Range)
	CellAtIndex(index int) GridCell
	RowAlignment() GridRowAlignment
	SetRowAlignment(value GridRowAlignment)
	IsHidden() bool
	SetHidden(value bool)
	YPlacement() GridCellPlacement
	SetYPlacement(value GridCellPlacement)
	Height() float64
	SetHeight(value float64)
	GridView() GridView
	BottomPadding() float64
	SetBottomPadding(value float64)
	NumberOfCells() int
	TopPadding() float64
	SetTopPadding(value float64)
}

An interface definition for the GridRow class.

type IGridView

type IGridView interface {
	IView
	IndexOfColumn(column IGridColumn) int
	RemoveColumnAtIndex(index int)
	IndexOfRow(row IGridRow) int
	InsertColumnAtIndexWithViews(index int, views []IView) GridColumn
	ColumnAtIndex(index int) GridColumn
	MergeCellsInHorizontalRangeVerticalRange(hRange foundation.Range, vRange foundation.Range)
	AddColumnWithViews(views []IView) GridColumn
	AddRowWithViews(views []IView) GridRow
	CellForView(view IView) GridCell
	InsertRowAtIndexWithViews(index int, views []IView) GridRow
	MoveRowAtIndexToIndex(fromIndex int, toIndex int)
	CellAtColumnIndexRowIndex(columnIndex int, rowIndex int) GridCell
	MoveColumnAtIndexToIndex(fromIndex int, toIndex int)
	RemoveRowAtIndex(index int)
	RowAtIndex(index int) GridRow
	RowAlignment() GridRowAlignment
	SetRowAlignment(value GridRowAlignment)
	ColumnSpacing() float64
	SetColumnSpacing(value float64)
	YPlacement() GridCellPlacement
	SetYPlacement(value GridCellPlacement)
	XPlacement() GridCellPlacement
	SetXPlacement(value GridCellPlacement)
	RowSpacing() float64
	SetRowSpacing(value float64)
	NumberOfRows() int
	NumberOfColumns() int
}

An interface definition for the GridView class.

type IGroupTouchBarItem

type IGroupTouchBarItem interface {
	ITouchBarItem
	SetCustomizationLabel(value string)
	PreferredItemWidth() float64
	SetPreferredItemWidth(value float64)
	EffectiveCompressionOptions() UserInterfaceCompressionOptions
	PrioritizedCompressionOptions() []UserInterfaceCompressionOptions
	SetPrioritizedCompressionOptions(value []IUserInterfaceCompressionOptions)
	GroupUserInterfaceLayoutDirection() UserInterfaceLayoutDirection
	SetGroupUserInterfaceLayoutDirection(value UserInterfaceLayoutDirection)
	GroupTouchBar() TouchBar
	SetGroupTouchBar(value ITouchBar)
	PrefersEqualWidths() bool
	SetPrefersEqualWidths(value bool)
}

An interface definition for the GroupTouchBarItem class.

type IHapticFeedbackManager

type IHapticFeedbackManager interface {
	objc.IObject
}

An interface definition for the HapticFeedbackManager class.

type IHelpManager

type IHelpManager interface {
	objc.IObject
	RemoveContextHelpForObject(object objc.IObject)
	OpenHelpAnchorInBook(anchor HelpAnchorName, book HelpBookName)
	ContextHelpForObject(object objc.IObject) foundation.AttributedString
	ShowContextHelpForObjectLocationHint(object objc.IObject, pt foundation.Point) bool
	RegisterBooksInBundle(bundle foundation.IBundle) bool
	SetContextHelpForObject(attrString foundation.IAttributedString, object objc.IObject)
	FindStringInBook(query string, book HelpBookName)
}

An interface definition for the HelpManager class.

type IImage

type IImage interface {
	objc.IObject
	ImageWithSymbolConfiguration(configuration IImageSymbolConfiguration) Image
	DrawAtPointFromRectOperationFraction(point foundation.Point, fromRect foundation.Rect, op CompositingOperation, delta float64)
	TIFFRepresentationUsingCompressionFactor(comp TIFFCompression, factor float64) []byte
	RecommendedLayerContentsScale(preferredContentsScale float64) float64
	DrawInRectFromRectOperationFraction(rect foundation.Rect, fromRect foundation.Rect, op CompositingOperation, delta float64)
	Name() ImageName
	AddRepresentations(imageReps []IImageRep)
	LayerContentsForContentsScale(layerContentsScale float64) objc.Object
	SetName(string_ ImageName) bool
	RemoveRepresentation(imageRep IImageRep)
	HitTestRectWithImageDestinationRectContextHintsFlipped(testRectDestSpace foundation.Rect, imageRectDestSpace foundation.Rect, context IGraphicsContext, hints map[ImageHintKey]objc.IObject, flipped bool) bool
	Recache()
	CGImageForProposedRectContextHints(proposedDestRect *foundation.Rect, referenceContext IGraphicsContext, hints map[ImageHintKey]objc.IObject) coregraphics.ImageRef
	BestRepresentationForRectContextHints(rect foundation.Rect, referenceContext IGraphicsContext, hints map[ImageHintKey]objc.IObject) ImageRep
	DrawRepresentationInRect(imageRep IImageRep, rect foundation.Rect) bool
	AddRepresentation(imageRep IImageRep)
	TIFFRepresentation() []byte
	AccessibilityDescription() string
	SetAccessibilityDescription(value string)
	IsTemplate() bool
	SetTemplate(value bool)
	Representations() []ImageRep
	Delegate() ImageDelegateWrapper
	SetDelegate(value PImageDelegate)
	SetDelegateObject(valueObject objc.IObject)
	IsValid() bool
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	SymbolConfiguration() ImageSymbolConfiguration
	UsesEPSOnResolutionMismatch() bool
	SetUsesEPSOnResolutionMismatch(value bool)
	PrefersColorMatch() bool
	SetPrefersColorMatch(value bool)
	CapInsets() foundation.EdgeInsets
	SetCapInsets(value foundation.EdgeInsets)
	CacheMode() ImageCacheMode
	SetCacheMode(value ImageCacheMode)
	AlignmentRect() foundation.Rect
	SetAlignmentRect(value foundation.Rect)
	MatchesOnMultipleResolution() bool
	SetMatchesOnMultipleResolution(value bool)
	Size() foundation.Size
	SetSize(value foundation.Size)
	ResizingMode() ImageResizingMode
	SetResizingMode(value ImageResizingMode)
	MatchesOnlyOnBestFittingAxis() bool
	SetMatchesOnlyOnBestFittingAxis(value bool)
}

An interface definition for the Image class.

type IImageCell

type IImageCell interface {
	ICell
	ImageAlignment() ImageAlignment
	SetImageAlignment(value ImageAlignment)
	ImageScaling() ImageScaling
	SetImageScaling(value ImageScaling)
	ImageFrameStyle() ImageFrameStyle
	SetImageFrameStyle(value ImageFrameStyle)
}

An interface definition for the ImageCell class.

type IImageRep

type IImageRep interface {
	objc.IObject
	DrawAtPoint(point foundation.Point) bool
	DrawInRect(rect foundation.Rect) bool
	Draw() bool
	CGImageForProposedRectContextHints(proposedDestRect *foundation.Rect, context IGraphicsContext, hints map[ImageHintKey]objc.IObject) coregraphics.ImageRef
	LayoutDirection() ImageLayoutDirection
	SetLayoutDirection(value ImageLayoutDirection)
	ColorSpaceName() ColorSpaceName
	SetColorSpaceName(value ColorSpaceName)
	IsOpaque() bool
	SetOpaque(value bool)
	PixelsWide() int
	SetPixelsWide(value int)
	HasAlpha() bool
	SetAlpha(value bool)
	PixelsHigh() int
	SetPixelsHigh(value int)
	BitsPerSample() int
	SetBitsPerSample(value int)
	Size() foundation.Size
	SetSize(value foundation.Size)
}

An interface definition for the ImageRep class.

type IImageSymbolConfiguration

type IImageSymbolConfiguration interface {
	objc.IObject
}

An interface definition for the ImageSymbolConfiguration class.

type IImageView

type IImageView interface {
	IControl
	ContentTintColor() Color
	SetContentTintColor(value IColor)
	ImageAlignment() ImageAlignment
	SetImageAlignment(value ImageAlignment)
	AllowsCutCopyPaste() bool
	SetAllowsCutCopyPaste(value bool)
	IsEditable() bool
	SetEditable(value bool)
	ImageScaling() ImageScaling
	SetImageScaling(value ImageScaling)
	SymbolConfiguration() ImageSymbolConfiguration
	SetSymbolConfiguration(value IImageSymbolConfiguration)
	ImageFrameStyle() ImageFrameStyle
	SetImageFrameStyle(value ImageFrameStyle)
	Animates() bool
	SetAnimates(value bool)
	Image() Image
	SetImage(value IImage)
}

An interface definition for the ImageView class.

type IInputManager

type IInputManager interface {
	objc.IObject
}

An interface definition for the InputManager class.

type IInputServer

type IInputServer interface {
	objc.IObject
}

An interface definition for the InputServer class.

type ILayoutAnchor

type ILayoutAnchor interface {
	objc.IObject
	ConstraintLessThanOrEqualToAnchor(anchor ILayoutAnchor) LayoutConstraint
	ConstraintEqualToAnchor(anchor ILayoutAnchor) LayoutConstraint
	ConstraintGreaterThanOrEqualToAnchor(anchor ILayoutAnchor) LayoutConstraint
	Item() objc.Object
	Name() string
	ConstraintsAffectingLayout() []LayoutConstraint
	HasAmbiguousLayout() bool
}

An interface definition for the LayoutAnchor class.

type ILayoutConstraint

type ILayoutConstraint interface {
	objc.IObject
	Relation() LayoutRelation
	Priority() LayoutPriority
	SetPriority(value LayoutPriority)
	Multiplier() float64
	IsActive() bool
	SetActive(value bool)
	SecondItem() objc.Object
	FirstItem() objc.Object
	FirstAttribute() LayoutAttribute
	FirstAnchor() LayoutAnchor
	SecondAttribute() LayoutAttribute
	Constant() float64
	SetConstant(value float64)
	ShouldBeArchived() bool
	SetShouldBeArchived(value bool)
	SecondAnchor() LayoutAnchor
	Identifier() string
	SetIdentifier(value string)
}

An interface definition for the LayoutConstraint class.

type ILayoutDimension

type ILayoutDimension interface {
	ILayoutAnchor
	ConstraintLessThanOrEqualToAnchorMultiplier(anchor ILayoutDimension, m float64) LayoutConstraint
	ConstraintEqualToAnchorMultiplierConstant(anchor ILayoutDimension, m float64, c float64) LayoutConstraint
	ConstraintEqualToConstant(c float64) LayoutConstraint
	ConstraintLessThanOrEqualToConstant(c float64) LayoutConstraint
	ConstraintGreaterThanOrEqualToConstant(c float64) LayoutConstraint
	ConstraintGreaterThanOrEqualToAnchorMultiplier(anchor ILayoutDimension, m float64) LayoutConstraint
}

An interface definition for the LayoutDimension class.

type ILayoutGuide

type ILayoutGuide interface {
	objc.IObject
	ConstraintsAffectingLayoutForOrientation(orientation LayoutConstraintOrientation) []LayoutConstraint
	TopAnchor() LayoutYAxisAnchor
	LeftAnchor() LayoutXAxisAnchor
	CenterYAnchor() LayoutYAxisAnchor
	RightAnchor() LayoutXAxisAnchor
	BottomAnchor() LayoutYAxisAnchor
	HeightAnchor() LayoutDimension
	TrailingAnchor() LayoutXAxisAnchor
	LeadingAnchor() LayoutXAxisAnchor
	Frame() foundation.Rect
	OwningView() View
	SetOwningView(value IView)
	HasAmbiguousLayout() bool
	CenterXAnchor() LayoutXAxisAnchor
	Identifier() UserInterfaceItemIdentifier
	SetIdentifier(value UserInterfaceItemIdentifier)
	WidthAnchor() LayoutDimension
}

An interface definition for the LayoutGuide class.

type ILayoutManager

type ILayoutManager interface {
	objc.IObject
	DrawsOutsideLineFragmentForGlyphAtIndex(glyphIndex uint) bool
	SetLocationForStartOfGlyphRange(location coregraphics.Point, glyphRange foundation.Range)
	SetTextContainerForGlyphRange(container ITextContainer, glyphRange foundation.Range)
	GlyphIndexForPointInTextContainer(point coregraphics.Point, container ITextContainer) uint
	LineFragmentUsedRectForGlyphAtIndexEffectiveRange(glyphIndex uint, effectiveGlyphRange foundation.RangePointer) coregraphics.Rect
	TruncatedGlyphRangeInLineFragmentForGlyphAtIndex(glyphIndex uint) foundation.Range
	TextContainerChangedTextView(container ITextContainer)
	TemporaryAttributesAtCharacterIndexEffectiveRange(charIndex uint, effectiveCharRange foundation.RangePointer) map[foundation.AttributedStringKey]objc.Object
	SetExtraLineFragmentRectUsedRectTextContainer(fragmentRect coregraphics.Rect, usedRect coregraphics.Rect, container ITextContainer)
	AddTemporaryAttributesForCharacterRange(attrs map[foundation.AttributedStringKey]objc.IObject, charRange foundation.Range)
	SetBoundsRectForTextBlockGlyphRange(rect foundation.Rect, block ITextBlock, glyphRange foundation.Range)
	LayoutManagerOwnsFirstResponderInWindow(window IWindow) bool
	EnsureGlyphsForGlyphRange(glyphRange foundation.Range)
	EnsureLayoutForCharacterRange(charRange foundation.Range)
	SetNotShownAttributeForGlyphAtIndex(flag bool, glyphIndex uint)
	EnsureLayoutForGlyphRange(glyphRange foundation.Range)
	GlyphIndexForCharacterAtIndex(charIndex uint) uint
	DrawStrikethroughForGlyphRangeStrikethroughTypeBaselineOffsetLineFragmentRectLineFragmentGlyphRangeContainerOrigin(glyphRange foundation.Range, strikethroughVal UnderlineStyle, baselineOffset float64, lineRect coregraphics.Rect, lineGlyphRange foundation.Range, containerOrigin coregraphics.Point)
	AttachmentSizeForGlyphAtIndex(glyphIndex uint) coregraphics.Size
	InvalidateDisplayForCharacterRange(charRange foundation.Range)
	AddTemporaryAttributeValueForCharacterRange(attrName foundation.AttributedStringKey, value objc.IObject, charRange foundation.Range)
	SetTemporaryAttributesForCharacterRange(attrs map[foundation.AttributedStringKey]objc.IObject, charRange foundation.Range)
	UsedRectForTextContainer(container ITextContainer) coregraphics.Rect
	RemoveTextContainerAtIndex(index uint)
	CharacterIndexForPointInTextContainerFractionOfDistanceBetweenInsertionPoints(point coregraphics.Point, container ITextContainer, partialFraction *float64) uint
	InsertTextContainerAtIndex(container ITextContainer, index uint)
	AddTextContainer(container ITextContainer)
	DefaultBaselineOffsetForFont(theFont IFont) float64
	LineFragmentRectForGlyphAtIndexEffectiveRange(glyphIndex uint, effectiveGlyphRange foundation.RangePointer) coregraphics.Rect
	DrawBackgroundForGlyphRangeAtPoint(glyphsToShow foundation.Range, origin coregraphics.Point)
	EnsureLayoutForTextContainer(container ITextContainer)
	ShowAttachmentCellInRectCharacterIndex(cell ICell, rect foundation.Rect, attachmentIndex uint)
	InvalidateDisplayForGlyphRange(glyphRange foundation.Range)
	GetLineFragmentInsertionPointsForCharacterAtIndexAlternatePositionsInDisplayOrderPositionsCharacterIndexes(charIndex uint, aFlag bool, dFlag bool, positions *float64, charIndexes *uint) uint
	GlyphRangeForTextContainer(container ITextContainer) foundation.Range
	TextContainerForGlyphAtIndexEffectiveRange(glyphIndex uint, effectiveGlyphRange foundation.RangePointer) TextContainer
	GlyphRangeForCharacterRangeActualCharacterRange(charRange foundation.Range, actualCharRange foundation.RangePointer) foundation.Range
	SetDrawsOutsideLineFragmentForGlyphAtIndex(flag bool, glyphIndex uint)
	BoundsRectForTextBlockGlyphRange(block ITextBlock, glyphRange foundation.Range) foundation.Rect
	FillBackgroundRectArrayCountForCharacterRangeColor(rectArray *coregraphics.Rect, rectCount uint, charRange foundation.Range, color IColor)
	ShowCGGlyphsPositionsCountFontTextMatrixAttributesInContext(glyphs *coregraphics.Glyph, positions *coregraphics.Point, glyphCount int, font IFont, textMatrix coregraphics.AffineTransform, attributes map[foundation.AttributedStringKey]objc.IObject, CGContext coregraphics.ContextRef)
	FirstUnlaidGlyphIndex() uint
	CGGlyphAtIndexIsValidIndex(glyphIndex uint, isValidIndex *bool) coregraphics.Glyph
	EnumerateLineFragmentsForGlyphRangeUsingBlock(glyphRange foundation.Range, block func(rect coregraphics.Rect, usedRect coregraphics.Rect, textContainer TextContainer, glyphRange foundation.Range, stop *bool))
	TextContainerChangedGeometry(container ITextContainer)
	ReplaceTextStorage(newTextStorage ITextStorage)
	SetGlyphsPropertiesCharacterIndexesFontForGlyphRange(glyphs *coregraphics.Glyph, props *GlyphProperty, charIndexes *uint, aFont IFont, glyphRange foundation.Range)
	EnumerateEnclosingRectsForGlyphRangeWithinSelectedGlyphRangeInTextContainerUsingBlock(glyphRange foundation.Range, selectedRange foundation.Range, textContainer ITextContainer, block func(rect coregraphics.Rect, stop *bool))
	SetLayoutRectForTextBlockGlyphRange(rect foundation.Rect, block ITextBlock, glyphRange foundation.Range)
	ProcessEditingForTextStorageEditedRangeChangeInLengthInvalidatedRange(textStorage ITextStorage, editMask TextStorageEditActions, newCharRange foundation.Range, delta int, invalidatedCharRange foundation.Range)
	UnderlineGlyphRangeUnderlineTypeLineFragmentRectLineFragmentGlyphRangeContainerOrigin(glyphRange foundation.Range, underlineVal UnderlineStyle, lineRect coregraphics.Rect, lineGlyphRange foundation.Range, containerOrigin coregraphics.Point)
	FirstUnlaidCharacterIndex() uint
	DrawGlyphsForGlyphRangeAtPoint(glyphsToShow foundation.Range, origin coregraphics.Point)
	SetLineFragmentRectForGlyphRangeUsedRect(fragmentRect coregraphics.Rect, glyphRange foundation.Range, usedRect coregraphics.Rect)
	NotShownAttributeForGlyphAtIndex(glyphIndex uint) bool
	StrikethroughGlyphRangeStrikethroughTypeLineFragmentRectLineFragmentGlyphRangeContainerOrigin(glyphRange foundation.Range, strikethroughVal UnderlineStyle, lineRect coregraphics.Rect, lineGlyphRange foundation.Range, containerOrigin coregraphics.Point)
	InvalidateGlyphsForCharacterRangeChangeInLengthActualCharacterRange(charRange foundation.Range, delta int, actualCharRange foundation.RangePointer)
	EnsureGlyphsForCharacterRange(charRange foundation.Range)
	GlyphRangeForBoundingRectWithoutAdditionalLayoutInTextContainer(bounds coregraphics.Rect, container ITextContainer) foundation.Range
	RulerMarkersForTextViewParagraphStyleRuler(view ITextView, style IParagraphStyle, ruler IRulerView) []RulerMarker
	SetAttachmentSizeForGlyphRange(attachmentSize coregraphics.Size, glyphRange foundation.Range)
	DefaultLineHeightForFont(theFont IFont) float64
	EnsureLayoutForBoundingRectInTextContainer(bounds coregraphics.Rect, container ITextContainer)
	PropertyForGlyphAtIndex(glyphIndex uint) GlyphProperty
	CharacterRangeForGlyphRangeActualGlyphRange(glyphRange foundation.Range, actualGlyphRange foundation.RangePointer) foundation.Range
	CharacterIndexForGlyphAtIndex(glyphIndex uint) uint
	LayoutRectForTextBlockGlyphRange(block ITextBlock, glyphRange foundation.Range) foundation.Rect
	LocationForGlyphAtIndex(glyphIndex uint) coregraphics.Point
	GlyphRangeForBoundingRectInTextContainer(bounds coregraphics.Rect, container ITextContainer) foundation.Range
	TemporaryAttributeAtCharacterIndexLongestEffectiveRangeInRange(attrName foundation.AttributedStringKey, location uint, range_ foundation.RangePointer, rangeLimit foundation.Range) objc.Object
	GetFirstUnlaidCharacterIndexGlyphIndex(charIndex *uint, glyphIndex *uint)
	RulerAccessoryViewForTextViewParagraphStyleRulerEnabled(view ITextView, style IParagraphStyle, ruler IRulerView, isEnabled bool) View
	RangeOfNominallySpacedGlyphsContainingIndex(glyphIndex uint) foundation.Range
	BoundingRectForGlyphRangeInTextContainer(glyphRange foundation.Range, container ITextContainer) coregraphics.Rect
	FractionOfDistanceThroughGlyphForPointInTextContainer(point coregraphics.Point, container ITextContainer) float64
	RemoveTemporaryAttributeForCharacterRange(attrName foundation.AttributedStringKey, charRange foundation.Range)
	DrawUnderlineForGlyphRangeUnderlineTypeBaselineOffsetLineFragmentRectLineFragmentGlyphRangeContainerOrigin(glyphRange foundation.Range, underlineVal UnderlineStyle, baselineOffset float64, lineRect coregraphics.Rect, lineGlyphRange foundation.Range, containerOrigin coregraphics.Point)
	IsValidGlyphIndex(glyphIndex uint) bool
	ShowsInvisibleCharacters() bool
	SetShowsInvisibleCharacters(value bool)
	ShowsControlCharacters() bool
	SetShowsControlCharacters(value bool)
	ExtraLineFragmentRect() coregraphics.Rect
	TextViewForBeginningOfSelection() TextView
	HasNonContiguousLayout() bool
	UsesDefaultHyphenation() bool
	SetUsesDefaultHyphenation(value bool)
	NumberOfGlyphs() uint
	Typesetter() Typesetter
	SetTypesetter(value ITypesetter)
	Delegate() LayoutManagerDelegateWrapper
	SetDelegate(value PLayoutManagerDelegate)
	SetDelegateObject(valueObject objc.IObject)
	AllowsNonContiguousLayout() bool
	SetAllowsNonContiguousLayout(value bool)
	LimitsLayoutForSuspiciousContents() bool
	SetLimitsLayoutForSuspiciousContents(value bool)
	GlyphGenerator() GlyphGenerator
	SetGlyphGenerator(value IGlyphGenerator)
	UsesFontLeading() bool
	SetUsesFontLeading(value bool)
	TypesetterBehavior() TypesetterBehavior
	SetTypesetterBehavior(value TypesetterBehavior)
	TextContainers() []TextContainer
	FirstTextView() TextView
	BackgroundLayoutEnabled() bool
	SetBackgroundLayoutEnabled(value bool)
	ExtraLineFragmentUsedRect() coregraphics.Rect
	TextStorage() TextStorage
	SetTextStorage(value ITextStorage)
	DefaultAttachmentScaling() ImageScaling
	SetDefaultAttachmentScaling(value ImageScaling)
	ExtraLineFragmentTextContainer() TextContainer
}

An interface definition for the LayoutManager class.

type ILayoutXAxisAnchor

type ILayoutXAxisAnchor interface {
	ILayoutAnchor
	ConstraintLessThanOrEqualToSystemSpacingAfterAnchorMultiplier(anchor ILayoutXAxisAnchor, multiplier float64) LayoutConstraint
	ConstraintGreaterThanOrEqualToSystemSpacingAfterAnchorMultiplier(anchor ILayoutXAxisAnchor, multiplier float64) LayoutConstraint
	ConstraintEqualToSystemSpacingAfterAnchorMultiplier(anchor ILayoutXAxisAnchor, multiplier float64) LayoutConstraint
	AnchorWithOffsetToAnchor(otherAnchor ILayoutXAxisAnchor) LayoutDimension
}

An interface definition for the LayoutXAxisAnchor class.

type ILayoutYAxisAnchor

type ILayoutYAxisAnchor interface {
	ILayoutAnchor
	ConstraintLessThanOrEqualToSystemSpacingBelowAnchorMultiplier(anchor ILayoutYAxisAnchor, multiplier float64) LayoutConstraint
	ConstraintEqualToSystemSpacingBelowAnchorMultiplier(anchor ILayoutYAxisAnchor, multiplier float64) LayoutConstraint
	ConstraintGreaterThanOrEqualToSystemSpacingBelowAnchorMultiplier(anchor ILayoutYAxisAnchor, multiplier float64) LayoutConstraint
	AnchorWithOffsetToAnchor(otherAnchor ILayoutYAxisAnchor) LayoutDimension
}

An interface definition for the LayoutYAxisAnchor class.

type ILevelIndicator

type ILevelIndicator interface {
	IControl
	RectOfTickMarkAtIndex(index int) foundation.Rect
	TickMarkValueAtIndex(index int) float64
	DrawsTieredCapacityLevels() bool
	SetDrawsTieredCapacityLevels(value bool)
	RatingPlaceholderImage() Image
	SetRatingPlaceholderImage(value IImage)
	TickMarkPosition() TickMarkPosition
	SetTickMarkPosition(value TickMarkPosition)
	CriticalValue() float64
	SetCriticalValue(value float64)
	NumberOfMajorTickMarks() int
	SetNumberOfMajorTickMarks(value int)
	WarningValue() float64
	SetWarningValue(value float64)
	IsEditable() bool
	SetEditable(value bool)
	LevelIndicatorStyle() LevelIndicatorStyle
	SetLevelIndicatorStyle(value LevelIndicatorStyle)
	CriticalFillColor() Color
	SetCriticalFillColor(value IColor)
	WarningFillColor() Color
	SetWarningFillColor(value IColor)
	MinValue() float64
	SetMinValue(value float64)
	FillColor() Color
	SetFillColor(value IColor)
	MaxValue() float64
	SetMaxValue(value float64)
	RatingImage() Image
	SetRatingImage(value IImage)
	PlaceholderVisibility() LevelIndicatorPlaceholderVisibility
	SetPlaceholderVisibility(value LevelIndicatorPlaceholderVisibility)
	NumberOfTickMarks() int
	SetNumberOfTickMarks(value int)
}

An interface definition for the LevelIndicator class.

type ILevelIndicatorCell

type ILevelIndicatorCell interface {
	IActionCell
	RectOfTickMarkAtIndex(index int) foundation.Rect
	TickMarkValueAtIndex(index int) float64
	TickMarkPosition() TickMarkPosition
	SetTickMarkPosition(value TickMarkPosition)
	CriticalValue() float64
	SetCriticalValue(value float64)
	NumberOfMajorTickMarks() int
	SetNumberOfMajorTickMarks(value int)
	WarningValue() float64
	SetWarningValue(value float64)
	LevelIndicatorStyle() LevelIndicatorStyle
	SetLevelIndicatorStyle(value LevelIndicatorStyle)
	MinValue() float64
	SetMinValue(value float64)
	MaxValue() float64
	SetMaxValue(value float64)
	NumberOfTickMarks() int
	SetNumberOfTickMarks(value int)
}

An interface definition for the LevelIndicatorCell class.

type IMagnificationGestureRecognizer

type IMagnificationGestureRecognizer interface {
	IGestureRecognizer
	Magnification() float64
	SetMagnification(value float64)
}

An interface definition for the MagnificationGestureRecognizer class.

type IMatrix

type IMatrix interface {
	IControl
	SendAction() bool
	DeselectSelectedCell()
	AddColumnWithCells(newCells []ICell)
	CellFrameAtRowColumn(row int, col int) foundation.Rect
	SetToolTipForCell(toolTipString string, cell ICell)
	AddRow()
	RemoveRow(row int)
	SortUsingFunctionContext(compare func(arg0 objc.Object, arg1 objc.Object, arg2 unsafe.Pointer) int, context unsafe.Pointer)
	SizeToCells()
	ScrollCellToVisibleAtRowColumn(row int, col int)
	DrawCellAtRowColumn(row int, col int)
	SelectCellWithTag(tag int) bool
	PutCellAtRowColumn(newCell ICell, row int, col int)
	HighlightCellAtRowColumn(flag bool, row int, col int)
	SelectAll(sender objc.IObject)
	SelectText(sender objc.IObject)
	SelectTextAtRowColumn(row int, col int) Cell
	TextShouldBeginEditing(textObject IText) bool
	AddRowWithCells(newCells []ICell)
	SortUsingSelector(comparator objc.Selector)
	InsertRow(row int)
	InsertColumnWithCells(column int, newCells []ICell)
	TextDidChange(notification foundation.INotification)
	CellWithTag(tag int) Cell
	CellAtRowColumn(row int, col int) Cell
	TextDidBeginEditing(notification foundation.INotification)
	SetScrollable(flag bool)
	SendDoubleAction()
	SelectCellAtRowColumn(row int, col int)
	RemoveColumn(col int)
	DeselectAllCells()
	MakeCellAtRowColumn(row int, col int) Cell
	SetSelectionFromToAnchorHighlight(startPos int, endPos int, anchorPos int, lit bool)
	ToolTipForCell(cell ICell) string
	SetValidateSize(flag bool)
	TextShouldEndEditing(textObject IText) bool
	AddColumn()
	RenewRowsColumns(newRows int, newCols int)
	GetRowColumnOfCell(row *int, col *int, cell ICell) bool
	TextDidEndEditing(notification foundation.INotification)
	GetNumberOfRowsColumns(rowCount *int, colCount *int)
	SetStateAtRowColumn(value int, row int, col int)
	MouseDownFlags() int
	DoubleAction() objc.Selector
	SetDoubleAction(value objc.Selector)
	SelectedCells() []Cell
	TabKeyTraversesCells() bool
	SetTabKeyTraversesCells(value bool)
	SelectedCell() Cell
	AllowsEmptySelection() bool
	SetAllowsEmptySelection(value bool)
	Cells() []Cell
	CellBackgroundColor() Color
	SetCellBackgroundColor(value IColor)
	IsSelectionByRect() bool
	SetSelectionByRect(value bool)
	IsAutoscroll() bool
	SetAutoscroll(value bool)
	DrawsCellBackground() bool
	SetDrawsCellBackground(value bool)
	AutorecalculatesCellSize() bool
	SetAutorecalculatesCellSize(value bool)
	Delegate() MatrixDelegateWrapper
	SetDelegate(value PMatrixDelegate)
	SetDelegateObject(valueObject objc.IObject)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	CellSize() foundation.Size
	SetCellSize(value foundation.Size)
	KeyCell() Cell
	SetKeyCell(value ICell)
	SelectedColumn() int
	SelectedRow() int
	Mode() MatrixMode
	SetMode(value MatrixMode)
	AutosizesCells() bool
	SetAutosizesCells(value bool)
	CellClass() objc.Class
	SetCellClass(value objc.IClass)
	Prototype() Cell
	SetPrototype(value ICell)
	NumberOfRows() int
	IntercellSpacing() foundation.Size
	SetIntercellSpacing(value foundation.Size)
	NumberOfColumns() int
}

An interface definition for the Matrix class.

type IMediaLibraryBrowserController

type IMediaLibraryBrowserController interface {
	objc.IObject
	TogglePanel(sender objc.IObject) objc.Object
	IsVisible() bool
	SetVisible(value bool)
	Frame() foundation.Rect
	SetFrame(value foundation.Rect)
	MediaLibraries() MediaLibrary
	SetMediaLibraries(value MediaLibrary)
}

An interface definition for the MediaLibraryBrowserController class.

type IMenu

type IMenu interface {
	objc.IObject
	ItemAtIndex(index int) MenuItem
	PerformActionForItemAtIndex(index int)
	IndexOfItemWithSubmenu(submenu IMenu) int
	CancelTracking()
	AddItem(newItem IMenuItem)
	IndexOfItemWithTag(tag int) int
	InsertItemWithTitleActionKeyEquivalentAtIndex(string_ string, selector objc.Selector, charCode string, index int) MenuItem
	ItemChanged(item IMenuItem)
	RemoveAllItems()
	RemoveItemAtIndex(index int)
	RemoveItem(item IMenuItem)
	AddItemWithTitleActionKeyEquivalent(string_ string, selector objc.Selector, charCode string) MenuItem
	ItemWithTitle(title string) MenuItem
	IndexOfItemWithRepresentedObject(object objc.IObject) int
	PerformKeyEquivalent(event IEvent) bool
	SetSubmenuForItem(menu IMenu, item IMenuItem)
	IndexOfItem(item IMenuItem) int
	SubmenuAction(sender objc.IObject)
	PopUpMenuPositioningItemAtLocationInView(item IMenuItem, location foundation.Point, view IView) bool
	IndexOfItemWithTargetAndAction(target objc.IObject, actionSelector objc.Selector) int
	IndexOfItemWithTitle(title string) int
	Update()
	ItemWithTag(tag int) MenuItem
	InsertItemAtIndex(newItem IMenuItem, index int)
	CancelTrackingWithoutAnimation()
	AllowsContextMenuPlugIns() bool
	SetAllowsContextMenuPlugIns(value bool)
	Supermenu() Menu
	SetSupermenu(value IMenu)
	ItemArray() []MenuItem
	SetItemArray(value []IMenuItem)
	MenuBarHeight() float64
	HighlightedItem() MenuItem
	AutoenablesItems() bool
	SetAutoenablesItems(value bool)
	Delegate() MenuDelegateWrapper
	SetDelegate(value PMenuDelegate)
	SetDelegateObject(valueObject objc.IObject)
	UserInterfaceLayoutDirection() UserInterfaceLayoutDirection
	SetUserInterfaceLayoutDirection(value UserInterfaceLayoutDirection)
	MinimumWidth() float64
	SetMinimumWidth(value float64)
	Font() Font
	SetFont(value IFont)
	PropertiesToUpdate() MenuProperties
	NumberOfItems() int
	Title() string
	SetTitle(value string)
	ShowsStateColumn() bool
	SetShowsStateColumn(value bool)
	Size() foundation.Size
}

An interface definition for the Menu class.

type IMenuItem

type IMenuItem interface {
	objc.IObject
	KeyEquivalent() string
	SetKeyEquivalent(value string)
	OffStateImage() Image
	SetOffStateImage(value IImage)
	IsHighlighted() bool
	UserKeyEquivalent() string
	Target() objc.Object
	SetTarget(value objc.IObject)
	State() ControlStateValue
	SetState(value ControlStateValue)
	IsHidden() bool
	SetHidden(value bool)
	IndentationLevel() int
	SetIndentationLevel(value int)
	Action() objc.Selector
	SetAction(value objc.Selector)
	ToolTip() string
	SetToolTip(value string)
	IsAlternate() bool
	SetAlternate(value bool)
	View() View
	SetView(value IView)
	AllowsAutomaticKeyEquivalentLocalization() bool
	SetAllowsAutomaticKeyEquivalentLocalization(value bool)
	AttributedTitle() foundation.AttributedString
	SetAttributedTitle(value foundation.IAttributedString)
	OnStateImage() Image
	SetOnStateImage(value IImage)
	AllowsKeyEquivalentWhenHidden() bool
	SetAllowsKeyEquivalentWhenHidden(value bool)
	AllowsAutomaticKeyEquivalentMirroring() bool
	SetAllowsAutomaticKeyEquivalentMirroring(value bool)
	Menu() Menu
	SetMenu(value IMenu)
	IsSeparatorItem() bool
	RepresentedObject() objc.Object
	SetRepresentedObject(value objc.IObject)
	Tag() int
	SetTag(value int)
	Title() string
	SetTitle(value string)
	MixedStateImage() Image
	SetMixedStateImage(value IImage)
	Submenu() Menu
	SetSubmenu(value IMenu)
	HasSubmenu() bool
	KeyEquivalentModifierMask() EventModifierFlags
	SetKeyEquivalentModifierMask(value EventModifierFlags)
	IsHiddenOrHasHiddenAncestor() bool
	ParentItem() MenuItem
	IsEnabled() bool
	SetEnabled(value bool)
	Image() Image
	SetImage(value IImage)
}

An interface definition for the MenuItem class.

type IMenuItemCell

type IMenuItemCell interface {
	IButtonCell
	KeyEquivalentRectForBounds(cellFrame foundation.Rect) foundation.Rect
	StateImageRectForBounds(cellFrame foundation.Rect) foundation.Rect
	DrawSeparatorItemWithFrameInView(cellFrame foundation.Rect, controlView IView)
	CalcSize()
	DrawBorderAndBackgroundWithFrameInView(cellFrame foundation.Rect, controlView IView)
	DrawStateImageWithFrameInView(cellFrame foundation.Rect, controlView IView)
	DrawKeyEquivalentWithFrameInView(cellFrame foundation.Rect, controlView IView)
	KeyEquivalentWidth() float64
	TitleWidth() float64
	StateImageWidth() float64
	MenuItem() MenuItem
	SetMenuItem(value IMenuItem)
	NeedsSizing() bool
	SetNeedsSizing(value bool)
	ImageWidth() float64
	NeedsDisplay() bool
	SetNeedsDisplay(value bool)
}

An interface definition for the MenuItemCell class.

type IMenuToolbarItem

type IMenuToolbarItem interface {
	IToolbarItem
	ShowsIndicator() bool
	SetShowsIndicator(value bool)
	Menu() Menu
	SetMenu(value IMenu)
}

An interface definition for the MenuToolbarItem class.

type IMutableFontCollection

type IMutableFontCollection interface {
	IFontCollection
	AddQueryForDescriptors(descriptors []IFontDescriptor)
	RemoveQueryForDescriptors(descriptors []IFontDescriptor)
	SetExclusionDescriptors(value []IFontDescriptor)
	SetQueryDescriptors(value []IFontDescriptor)
}

An interface definition for the MutableFontCollection class.

type IMutableParagraphStyle

type IMutableParagraphStyle interface {
	IParagraphStyle
	SetParagraphStyle(obj IParagraphStyle)
	AddTabStop(anObject ITextTab)
	RemoveTabStop(anObject ITextTab)
	SetLineSpacing(value float64)
	SetTextLists(value []ITextList)
	SetAllowsDefaultTighteningForTruncation(value bool)
	SetUsesDefaultHyphenation(value bool)
	SetMinimumLineHeight(value float64)
	SetTighteningFactorForTruncation(value float64)
	SetAlignment(value TextAlignment)
	SetFirstLineHeadIndent(value float64)
	SetLineBreakStrategy(value LineBreakStrategy)
	SetMaximumLineHeight(value float64)
	SetHeaderLevel(value int)
	SetDefaultTabInterval(value float64)
	SetTabStops(value []ITextTab)
	SetTextBlocks(value []ITextBlock)
	SetLineHeightMultiple(value float64)
	SetBaseWritingDirection(value WritingDirection)
	SetHyphenationFactor(value float64)
	SetParagraphSpacingBefore(value float64)
	SetParagraphSpacing(value float64)
	SetTailIndent(value float64)
	SetHeadIndent(value float64)
}

An interface definition for the MutableParagraphStyle class.

type INib

type INib interface {
	objc.IObject
	InstantiateWithOwnerTopLevelObjects(owner objc.IObject, topLevelObjects []objc.IObject) bool
}

An interface definition for the Nib class.

type INibConnector

type INibConnector interface {
	objc.IObject
	ReplaceObjectWithObject(oldObject objc.IObject, newObject objc.IObject)
	EstablishConnection()
	Source() objc.Object
	SetSource(value objc.IObject)
	Destination() objc.Object
	SetDestination(value objc.IObject)
	Label() string
	SetLabel(value string)
}

An interface definition for the NibConnector class.

type INibControlConnector

type INibControlConnector interface {
	INibConnector
}

An interface definition for the NibControlConnector class.

type INibOutletConnector

type INibOutletConnector interface {
	INibConnector
}

An interface definition for the NibOutletConnector class.

type IObjectController

type IObjectController interface {
	IController
	AddObject(object objc.IObject)
	PrepareContent()
	NewObject() objc.Object
	RemoveObject(object objc.IObject)
	Fetch(sender objc.IObject) objc.Object
	ValidateUserInterfaceItem(item PValidatedUserInterfaceItem) bool
	ValidateUserInterfaceItemObject(itemObject objc.IObject) bool
	Remove(sender objc.IObject) objc.Object
	Add(sender objc.IObject) objc.Object
	FetchWithRequestMergeError(fetchRequest coredata.IFetchRequest, merge bool, error foundation.IError) bool
	DefaultFetchRequest() coredata.FetchRequest
	EntityName() string
	SetEntityName(value string)
	Content() objc.Object
	SetContent(value objc.IObject)
	CanAdd() bool
	ObjectClass() objc.Class
	SetObjectClass(value objc.IClass)
	IsEditable() bool
	SetEditable(value bool)
	FetchPredicate() foundation.Predicate
	SetFetchPredicate(value foundation.IPredicate)
	SelectedObjects() []objc.Object
	AutomaticallyPreparesContent() bool
	SetAutomaticallyPreparesContent(value bool)
	Selection() objc.Object
	ManagedObjectContext() coredata.ManagedObjectContext
	SetManagedObjectContext(value coredata.IManagedObjectContext)
	CanRemove() bool
	UsesLazyFetching() bool
	SetUsesLazyFetching(value bool)
}

An interface definition for the ObjectController class.

type IOpenGLContext

type IOpenGLContext interface {
	objc.IObject
}

An interface definition for the OpenGLContext class.

type IOpenGLLayer

type IOpenGLLayer interface {
	quartzcore.IOpenGLLayer
}

An interface definition for the OpenGLLayer class.

type IOpenGLPixelBuffer

type IOpenGLPixelBuffer interface {
	objc.IObject
}

An interface definition for the OpenGLPixelBuffer class.

type IOpenGLPixelFormat

type IOpenGLPixelFormat interface {
	objc.IObject
}

An interface definition for the OpenGLPixelFormat class.

type IOpenGLView

type IOpenGLView interface {
	IView
}

An interface definition for the OpenGLView class.

type IOpenPanel

type IOpenPanel interface {
	ISavePanel
	IsAccessoryViewDisclosed() bool
	SetAccessoryViewDisclosed(value bool)
	ResolvesAliases() bool
	SetResolvesAliases(value bool)
	CanResolveUbiquitousConflicts() bool
	SetCanResolveUbiquitousConflicts(value bool)
	CanDownloadUbiquitousContents() bool
	SetCanDownloadUbiquitousContents(value bool)
	AllowsMultipleSelection() bool
	SetAllowsMultipleSelection(value bool)
	URLs() []foundation.URL
	CanChooseFiles() bool
	SetCanChooseFiles(value bool)
	CanChooseDirectories() bool
	SetCanChooseDirectories(value bool)
}

An interface definition for the OpenPanel class.

type IOutlineView

type IOutlineView interface {
	ITableView
	SetDropItemDropChildIndex(item objc.IObject, index int)
	MoveItemAtIndexInParentToIndexInParent(fromIndex int, oldParent objc.IObject, toIndex int, newParent objc.IObject)
	IsItemExpanded(item objc.IObject) bool
	RowForItem(item objc.IObject) int
	ExpandItem(item objc.IObject)
	LevelForItem(item objc.IObject) int
	ReloadItem(item objc.IObject)
	RemoveItemsAtIndexesInParentWithAnimation(indexes foundation.IIndexSet, parent objc.IObject, animationOptions TableViewAnimationOptions)
	ParentForItem(item objc.IObject) objc.Object
	CollapseItem(item objc.IObject)
	LevelForRow(row int) int
	NumberOfChildrenOfItem(item objc.IObject) int
	InsertItemsAtIndexesInParentWithAnimation(indexes foundation.IIndexSet, parent objc.IObject, animationOptions TableViewAnimationOptions)
	FrameOfOutlineCellAtRow(row int) foundation.Rect
	IsExpandable(item objc.IObject) bool
	ItemAtRow(row int) objc.Object
	ChildOfItem(index int, item objc.IObject) objc.Object
	ChildIndexForItem(item objc.IObject) int
	ShouldCollapseAutoExpandedItemsForDeposited(deposited bool) bool
	AutosaveExpandedItems() bool
	SetAutosaveExpandedItems(value bool)
	AutoresizesOutlineColumn() bool
	SetAutoresizesOutlineColumn(value bool)
	StronglyReferencesItems() bool
	SetStronglyReferencesItems(value bool)
	IndentationMarkerFollowsCell() bool
	SetIndentationMarkerFollowsCell(value bool)
	OutlineTableColumn() TableColumn
	SetOutlineTableColumn(value ITableColumn)
	IndentationPerLevel() float64
	SetIndentationPerLevel(value float64)
}

An interface definition for the OutlineView class.

type IPDFImageRep

type IPDFImageRep interface {
	IImageRep
	PDFRepresentation() []byte
	PageCount() int
	Bounds() foundation.Rect
	CurrentPage() int
	SetCurrentPage(value int)
}

An interface definition for the PDFImageRep class.

type IPDFInfo

type IPDFInfo interface {
	objc.IObject
	TagNames() []string
	SetTagNames(value []string)
	PaperSize() foundation.Size
	SetPaperSize(value foundation.Size)
	IsFileExtensionHidden() bool
	SetFileExtensionHidden(value bool)
	URL() foundation.URL
	SetURL(value foundation.IURL)
	Attributes() foundation.MutableDictionary
	Orientation() PaperOrientation
	SetOrientation(value PaperOrientation)
}

An interface definition for the PDFInfo class.

type IPDFPanel

type IPDFPanel interface {
	objc.IObject
	BeginSheetWithPDFInfoModalForWindowCompletionHandler(pdfInfo IPDFInfo, docWindow IWindow, completionHandler func(arg0 int))
	Options() PDFPanelOptions
	SetOptions(value PDFPanelOptions)
	AccessoryController() ViewController
	SetAccessoryController(value IViewController)
	DefaultFileName() string
	SetDefaultFileName(value string)
}

An interface definition for the PDFPanel class.

type IPICTImageRep

type IPICTImageRep interface {
	IImageRep
	PICTRepresentation() []byte
	BoundingBox() foundation.Rect
}

An interface definition for the PICTImageRep class.

type IPageController

type IPageController interface {
	IViewController
	NavigateForward(sender objc.IObject) objc.Object
	NavigateForwardToObject(object objc.IObject)
	TakeSelectedIndexFrom(sender objc.IObject) objc.Object
	CompleteTransition()
	NavigateBack(sender objc.IObject) objc.Object
	SelectedViewController() ViewController
	ArrangedObjects() []objc.Object
	SetArrangedObjects(value []objc.IObject)
	Delegate() PageControllerDelegateWrapper
	SetDelegate(value PPageControllerDelegate)
	SetDelegateObject(valueObject objc.IObject)
	TransitionStyle() PageControllerTransitionStyle
	SetTransitionStyle(value PageControllerTransitionStyle)
	SelectedIndex() int
	SetSelectedIndex(value int)
}

An interface definition for the PageController class.

type IPageLayout

type IPageLayout interface {
	objc.IObject
	RemoveAccessoryController(accessoryController IViewController)
	RunModal() int
	AddAccessoryController(accessoryController IViewController)
	RunModalWithPrintInfo(printInfo IPrintInfo) int
	PrintInfo() PrintInfo
	AccessoryControllers() []ViewController
}

An interface definition for the PageLayout class.

type IPanGestureRecognizer

type IPanGestureRecognizer interface {
	IGestureRecognizer
	SetTranslationInView(translation foundation.Point, view IView)
	VelocityInView(view IView) foundation.Point
	TranslationInView(view IView) foundation.Point
	ButtonMask() uint
	SetButtonMask(value uint)
	NumberOfTouchesRequired() int
	SetNumberOfTouchesRequired(value int)
}

An interface definition for the PanGestureRecognizer class.

type IPanel

type IPanel interface {
	IWindow
	BecomesKeyOnlyIfNeeded() bool
	SetBecomesKeyOnlyIfNeeded(value bool)
	SetWorksWhenModal(value bool)
	SetFloatingPanel(value bool)
}

An interface definition for the Panel class.

type IParagraphStyle

type IParagraphStyle interface {
	objc.IObject
	LineSpacing() float64
	TextLists() []TextList
	AllowsDefaultTighteningForTruncation() bool
	UsesDefaultHyphenation() bool
	MinimumLineHeight() float64
	TighteningFactorForTruncation() float64
	Alignment() TextAlignment
	FirstLineHeadIndent() float64
	LineBreakStrategy() LineBreakStrategy
	MaximumLineHeight() float64
	HeaderLevel() int
	DefaultTabInterval() float64
	TabStops() []TextTab
	TextBlocks() []TextBlock
	LineHeightMultiple() float64
	BaseWritingDirection() WritingDirection
	HyphenationFactor() float64
	ParagraphSpacingBefore() float64
	ParagraphSpacing() float64
	TailIndent() float64
	HeadIndent() float64
}

An interface definition for the ParagraphStyle class.

type IPasteboard

type IPasteboard interface {
	objc.IObject
	StringForType(dataType PasteboardType) string
	ReadFileContentsTypeToFile(type_ PasteboardType, filename string) string
	ReadObjectsForClassesOptions(classArray []objc.IClass, options map[PasteboardReadingOptionKey]objc.IObject) []objc.Object
	IndexOfPasteboardItem(pasteboardItem IPasteboardItem) uint
	AddTypesOwner(newTypes []PasteboardType, newOwner objc.IObject) int
	WriteFileContents(filename string) bool
	ReadFileWrapper() foundation.FileWrapper
	WriteObjects(objects []PPasteboardWriting) bool
	ReleaseGlobally()
	WriteFileWrapper(wrapper foundation.IFileWrapper) bool
	SetPropertyListForType(plist objc.IObject, dataType PasteboardType) bool
	SetStringForType(string_ string, dataType PasteboardType) bool
	CanReadObjectForClassesOptions(classArray []objc.IClass, options map[PasteboardReadingOptionKey]objc.IObject) bool
	DataForType(dataType PasteboardType) []byte
	ClearContents() int
	SetDataForType(data []byte, dataType PasteboardType) bool
	PrepareForNewContentsWithOptions(options PasteboardContentsOptions) int
	AvailableTypeFromArray(types []PasteboardType) PasteboardType
	DeclareTypesOwner(newTypes []PasteboardType, newOwner objc.IObject) int
	CanReadItemWithDataConformingToTypes(types []string) bool
	PropertyListForType(dataType PasteboardType) objc.Object
	Name() PasteboardName
	Types() []PasteboardType
	ChangeCount() int
	PasteboardItems() []PasteboardItem
}

An interface definition for the Pasteboard class.

type IPasteboardItem

type IPasteboardItem interface {
	objc.IObject
	StringForType(type_ PasteboardType) string
	SetPropertyListForType(propertyList objc.IObject, type_ PasteboardType) bool
	SetStringForType(string_ string, type_ PasteboardType) bool
	DataForType(type_ PasteboardType) []byte
	SetDataForType(data []byte, type_ PasteboardType) bool
	SetDataProviderForTypes(dataProvider PPasteboardItemDataProvider, types []PasteboardType) bool
	SetDataProviderObjectForTypes(dataProviderObject objc.IObject, types []PasteboardType) bool
	AvailableTypeFromArray(types []PasteboardType) PasteboardType
	PropertyListForType(type_ PasteboardType) objc.Object
	Types() []PasteboardType
}

An interface definition for the PasteboardItem class.

type IPathCell

type IPathCell interface {
	IActionCell
	MouseEnteredWithFrameInView(event IEvent, frame foundation.Rect, view IView)
	PathComponentCellAtPointWithFrameInView(point foundation.Point, frame foundation.Rect, view IView) PathComponentCell
	RectOfPathComponentCellWithFrameInView(cell IPathComponentCell, frame foundation.Rect, view IView) foundation.Rect
	MouseExitedWithFrameInView(event IEvent, frame foundation.Rect, view IView)
	DoubleAction() objc.Selector
	SetDoubleAction(value objc.Selector)
	Delegate() PathCellDelegateWrapper
	SetDelegate(value PPathCellDelegate)
	SetDelegateObject(valueObject objc.IObject)
	PlaceholderAttributedString() foundation.AttributedString
	SetPlaceholderAttributedString(value foundation.IAttributedString)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	PathComponentCells() []PathComponentCell
	SetPathComponentCells(value []IPathComponentCell)
	PathStyle() PathStyle
	SetPathStyle(value PathStyle)
	AllowedTypes() []string
	SetAllowedTypes(value []string)
	URL() foundation.URL
	SetURL(value foundation.IURL)
	PlaceholderString() string
	SetPlaceholderString(value string)
	ClickedPathComponentCell() PathComponentCell
}

An interface definition for the PathCell class.

type IPathComponentCell

type IPathComponentCell interface {
	ITextFieldCell
	URL() foundation.URL
	SetURL(value foundation.IURL)
}

An interface definition for the PathComponentCell class.

type IPathControl

type IPathControl interface {
	IControl
	SetDraggingSourceOperationMaskForLocal(mask DragOperation, isLocal bool)
	DoubleAction() objc.Selector
	SetDoubleAction(value objc.Selector)
	IsEditable() bool
	SetEditable(value bool)
	ClickedPathItem() PathControlItem
	Delegate() PathControlDelegateWrapper
	SetDelegate(value PPathControlDelegate)
	SetDelegateObject(valueObject objc.IObject)
	PlaceholderAttributedString() foundation.AttributedString
	SetPlaceholderAttributedString(value foundation.IAttributedString)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	PathStyle() PathStyle
	SetPathStyle(value PathStyle)
	AllowedTypes() []string
	SetAllowedTypes(value []string)
	URL() foundation.URL
	SetURL(value foundation.IURL)
	PathItems() []PathControlItem
	SetPathItems(value []IPathControlItem)
	PlaceholderString() string
	SetPlaceholderString(value string)
}

An interface definition for the PathControl class.

type IPathControlItem

type IPathControlItem interface {
	objc.IObject
	AttributedTitle() foundation.AttributedString
	SetAttributedTitle(value foundation.IAttributedString)
	URL() foundation.URL
	Title() string
	SetTitle(value string)
	Image() Image
	SetImage(value IImage)
}

An interface definition for the PathControlItem class.

type IPersistentDocument

type IPersistentDocument interface {
	IDocument
	PersistentStoreTypeForFileType(fileType string) string
	ManagedObjectModel() coredata.ManagedObjectModel
	ManagedObjectContext() coredata.ManagedObjectContext
	SetManagedObjectContext(value coredata.IManagedObjectContext)
}

An interface definition for the PersistentDocument class.

type IPickerTouchBarItem

type IPickerTouchBarItem interface {
	ITouchBarItem
	SetLabelAtIndex(label string, index int)
	ImageAtIndex(index int) Image
	SetImageAtIndex(image IImage, index int)
	LabelAtIndex(index int) string
	SetEnabledAtIndex(enabled bool, index int)
	IsEnabledAtIndex(index int) bool
	CollapsedRepresentationImage() Image
	SetCollapsedRepresentationImage(value IImage)
	Target() objc.Object
	SetTarget(value objc.IObject)
	SetCustomizationLabel(value string)
	Action() objc.Selector
	SetAction(value objc.Selector)
	CollapsedRepresentationLabel() string
	SetCollapsedRepresentationLabel(value string)
	SelectionColor() Color
	SetSelectionColor(value IColor)
	SelectionMode() PickerTouchBarItemSelectionMode
	SetSelectionMode(value PickerTouchBarItemSelectionMode)
	NumberOfOptions() int
	SetNumberOfOptions(value int)
	ControlRepresentation() PickerTouchBarItemControlRepresentation
	SetControlRepresentation(value PickerTouchBarItemControlRepresentation)
	IsEnabled() bool
	SetEnabled(value bool)
	SelectedIndex() int
	SetSelectedIndex(value int)
}

An interface definition for the PickerTouchBarItem class.

type IPopUpButton

type IPopUpButton interface {
	IButton
	ItemAtIndex(index int) MenuItem
	IndexOfItemWithTag(tag int) int
	InsertItemWithTitleAtIndex(title string, index int)
	RemoveAllItems()
	RemoveItemAtIndex(index int)
	RemoveItemWithTitle(title string)
	SelectItemWithTag(tag int) bool
	AddItemWithTitle(title string)
	SelectItemWithTitle(title string)
	ItemWithTitle(title string) MenuItem
	IndexOfItemWithRepresentedObject(obj objc.IObject) int
	ItemTitleAtIndex(index int) string
	SelectItem(item IMenuItem)
	IndexOfItem(item IMenuItem) int
	AddItemsWithTitles(itemTitles []string)
	SelectItemAtIndex(index int)
	SynchronizeTitleAndSelectedItem()
	IndexOfItemWithTargetAndAction(target objc.IObject, actionSelector objc.Selector) int
	IndexOfItemWithTitle(title string) int
	IndexOfSelectedItem() int
	SelectedItem() MenuItem
	ItemArray() []MenuItem
	AutoenablesItems() bool
	SetAutoenablesItems(value bool)
	PullsDown() bool
	SetPullsDown(value bool)
	LastItem() MenuItem
	NumberOfItems() int
	SelectedTag() int
	TitleOfSelectedItem() string
	ItemTitles() []string
	PreferredEdge() foundation.RectEdge
	SetPreferredEdge(value foundation.RectEdge)
}

An interface definition for the PopUpButton class.

type IPopUpButtonCell

type IPopUpButtonCell interface {
	IMenuItemCell
	ItemAtIndex(index int) MenuItem
	IndexOfItemWithTag(tag int) int
	InsertItemWithTitleAtIndex(title string, index int)
	RemoveAllItems()
	RemoveItemAtIndex(index int)
	RemoveItemWithTitle(title string)
	SelectItemWithTag(tag int) bool
	AddItemWithTitle(title string)
	SelectItemWithTitle(title string)
	DismissPopUp()
	ItemWithTitle(title string) MenuItem
	IndexOfItemWithRepresentedObject(obj objc.IObject) int
	ItemTitleAtIndex(index int) string
	SelectItem(item IMenuItem)
	IndexOfItem(item IMenuItem) int
	PerformClickWithFrameInView(frame foundation.Rect, controlView IView)
	AddItemsWithTitles(itemTitles []string)
	SelectItemAtIndex(index int)
	SynchronizeTitleAndSelectedItem()
	IndexOfItemWithTargetAndAction(target objc.IObject, actionSelector objc.Selector) int
	IndexOfItemWithTitle(title string) int
	AttachPopUpWithFrameInView(cellFrame foundation.Rect, controlView IView)
	AltersStateOfSelectedItem() bool
	SetAltersStateOfSelectedItem(value bool)
	IndexOfSelectedItem() int
	SelectedItem() MenuItem
	ArrowPosition() PopUpArrowPosition
	SetArrowPosition(value PopUpArrowPosition)
	ItemArray() []MenuItem
	AutoenablesItems() bool
	SetAutoenablesItems(value bool)
	PullsDown() bool
	SetPullsDown(value bool)
	LastItem() MenuItem
	NumberOfItems() int
	TitleOfSelectedItem() string
	ItemTitles() []string
	PreferredEdge() foundation.RectEdge
	SetPreferredEdge(value foundation.RectEdge)
	UsesItemFromMenu() bool
	SetUsesItemFromMenu(value bool)
}

An interface definition for the PopUpButtonCell class.

type IPopover

type IPopover interface {
	IResponder
	Close()
	ShowRelativeToRectOfViewPreferredEdge(positioningRect foundation.Rect, positioningView IView, preferredEdge foundation.RectEdge)
	PerformClose(sender objc.IObject) objc.Object
	Behavior() PopoverBehavior
	SetBehavior(value PopoverBehavior)
	IsShown() bool
	EffectiveAppearance() Appearance
	IsDetached() bool
	Delegate() PopoverDelegateWrapper
	SetDelegate(value PPopoverDelegate)
	SetDelegateObject(valueObject objc.IObject)
	ContentSize() foundation.Size
	SetContentSize(value foundation.Size)
	ContentViewController() ViewController
	SetContentViewController(value IViewController)
	PositioningRect() foundation.Rect
	SetPositioningRect(value foundation.Rect)
	Animates() bool
	SetAnimates(value bool)
	Appearance() Appearance
	SetAppearance(value IAppearance)
}

An interface definition for the Popover class.

type IPopoverTouchBarItem

type IPopoverTouchBarItem interface {
	ITouchBarItem
	ShowPopover(sender objc.IObject)
	DismissPopover(sender objc.IObject)
	MakeStandardActivatePopoverGestureRecognizer() GestureRecognizer
	CollapsedRepresentationImage() Image
	SetCollapsedRepresentationImage(value IImage)
	PressAndHoldTouchBar() TouchBar
	SetPressAndHoldTouchBar(value ITouchBar)
	SetCustomizationLabel(value string)
	CollapsedRepresentationLabel() string
	SetCollapsedRepresentationLabel(value string)
	ShowsCloseButton() bool
	SetShowsCloseButton(value bool)
	PopoverTouchBar() TouchBar
	SetPopoverTouchBar(value ITouchBar)
	CollapsedRepresentation() View
	SetCollapsedRepresentation(value IView)
}

An interface definition for the PopoverTouchBarItem class.

type IPredicateEditor

type IPredicateEditor interface {
	IRuleEditor
	RowTemplates() []PredicateEditorRowTemplate
	SetRowTemplates(value []IPredicateEditorRowTemplate)
}

An interface definition for the PredicateEditor class.

type IPredicateEditorRowTemplate

type IPredicateEditorRowTemplate interface {
	objc.IObject
	SetPredicate(predicate foundation.IPredicate)
	DisplayableSubpredicatesOfPredicate(predicate foundation.IPredicate) []foundation.Predicate
	MatchForPredicate(predicate foundation.IPredicate) float64
	PredicateWithSubpredicates(subpredicates []foundation.IPredicate) foundation.Predicate
	TemplateViews() []View
	Options() uint
	Operators() []foundation.Number
	RightExpressions() []foundation.Expression
	RightExpressionAttributeType() coredata.AttributeType
	CompoundTypes() []foundation.Number
	Modifier() foundation.ComparisonPredicateModifier
	LeftExpressions() []foundation.Expression
}

An interface definition for the PredicateEditorRowTemplate class.

type IPressGestureRecognizer

type IPressGestureRecognizer interface {
	IGestureRecognizer
	MinimumPressDuration() foundation.TimeInterval
	SetMinimumPressDuration(value foundation.TimeInterval)
	ButtonMask() uint
	SetButtonMask(value uint)
	NumberOfTouchesRequired() int
	SetNumberOfTouchesRequired(value int)
	AllowableMovement() float64
	SetAllowableMovement(value float64)
}

An interface definition for the PressGestureRecognizer class.

type IPressureConfiguration

type IPressureConfiguration interface {
	objc.IObject
	Set()
	PressureBehavior() PressureBehavior
}

An interface definition for the PressureConfiguration class.

type IPrintInfo

type IPrintInfo interface {
	objc.IObject
	UpdateFromPMPageFormat()
	PMPageFormat() unsafe.Pointer
	Dictionary() foundation.MutableDictionary
	PMPrintSession() unsafe.Pointer
	TakeSettingsFromPDFInfo(inPDFInfo IPDFInfo)
	SetUpPrintOperationDefaultValues()
	PMPrintSettings() unsafe.Pointer
	UpdateFromPMPrintSettings()
	RightMargin() float64
	SetRightMargin(value float64)
	BottomMargin() float64
	SetBottomMargin(value float64)
	JobDisposition() PrintJobDispositionValue
	SetJobDisposition(value PrintJobDispositionValue)
	Printer() Printer
	SetPrinter(value IPrinter)
	IsHorizontallyCentered() bool
	SetHorizontallyCentered(value bool)
	PaperSize() foundation.Size
	SetPaperSize(value foundation.Size)
	VerticalPagination() PrintingPaginationMode
	SetVerticalPagination(value PrintingPaginationMode)
	LeftMargin() float64
	SetLeftMargin(value float64)
	TopMargin() float64
	SetTopMargin(value float64)
	ImageablePageBounds() foundation.Rect
	ScalingFactor() float64
	SetScalingFactor(value float64)
	LocalizedPaperName() string
	HorizontalPagination() PrintingPaginationMode
	SetHorizontalPagination(value PrintingPaginationMode)
	PrintSettings() foundation.MutableDictionary
	IsSelectionOnly() bool
	SetSelectionOnly(value bool)
	IsVerticallyCentered() bool
	SetVerticallyCentered(value bool)
	Orientation() PaperOrientation
	SetOrientation(value PaperOrientation)
	PaperName() PrinterPaperName
	SetPaperName(value PrinterPaperName)
}

An interface definition for the PrintInfo class.

type IPrintOperation

type IPrintOperation interface {
	objc.IObject
	DestroyContext()
	DeliverResult() bool
	RunOperation() bool
	CleanUpOperation()
	CreateContext() GraphicsContext
	RunOperationModalForWindowDelegateDidRunSelectorContextInfo(docWindow IWindow, delegate objc.IObject, didRunSelector objc.Selector, contextInfo unsafe.Pointer)
	PrintInfo() PrintInfo
	SetPrintInfo(value IPrintInfo)
	PreferredRenderingQuality() PrintRenderingQuality
	PageOrder() PrintingPageOrder
	SetPageOrder(value PrintingPageOrder)
	PDFPanel() PDFPanel
	SetPDFPanel(value IPDFPanel)
	ShowsPrintPanel() bool
	SetShowsPrintPanel(value bool)
	View() View
	CurrentPage() int
	JobTitle() string
	SetJobTitle(value string)
	ShowsProgressPanel() bool
	SetShowsProgressPanel(value bool)
	Context() GraphicsContext
	PrintPanel() PrintPanel
	SetPrintPanel(value IPrintPanel)
	PageRange() foundation.Range
	IsCopyingOperation() bool
	CanSpawnSeparateThread() bool
	SetCanSpawnSeparateThread(value bool)
}

An interface definition for the PrintOperation class.

type IPrintPanel

type IPrintPanel interface {
	objc.IObject
	RemoveAccessoryController(accessoryController IViewController)
	RunModal() int
	AddAccessoryController(accessoryController IViewController)
	RunModalWithPrintInfo(printInfo IPrintInfo) int
	DefaultButtonTitle() string
	SetDefaultButtonTitle(defaultButtonTitle string)
	PrintInfo() PrintInfo
	AccessoryControllers() []ViewController
	Options() PrintPanelOptions
	SetOptions(value PrintPanelOptions)
	JobStyleHint() PrintPanelJobStyleHint
	SetJobStyleHint(value PrintPanelJobStyleHint)
	HelpAnchor() HelpAnchorName
	SetHelpAnchor(value HelpAnchorName)
}

An interface definition for the PrintPanel class.

type IPrinter

type IPrinter interface {
	objc.IObject
	PageSizeForPaper(paperName PrinterPaperName) foundation.Size
	Name() string
	DeviceDescription() map[DeviceDescriptionKey]objc.Object
	LanguageLevel() int
	Type() PrinterTypeName
}

An interface definition for the Printer class.

type IProgressIndicator

type IProgressIndicator interface {
	IView
	IncrementBy(delta float64)
	StopAnimation(sender objc.IObject)
	StartAnimation(sender objc.IObject)
	SizeToFit()
	ControlSize() ControlSize
	SetControlSize(value ControlSize)
	Style() ProgressIndicatorStyle
	SetStyle(value ProgressIndicatorStyle)
	UsesThreadedAnimation() bool
	SetUsesThreadedAnimation(value bool)
	MinValue() float64
	SetMinValue(value float64)
	DoubleValue() float64
	SetDoubleValue(value float64)
	MaxValue() float64
	SetMaxValue(value float64)
	IsDisplayedWhenStopped() bool
	SetDisplayedWhenStopped(value bool)
	IsIndeterminate() bool
	SetIndeterminate(value bool)
}

An interface definition for the ProgressIndicator class.

type IResponder

type IResponder interface {
	objc.IObject
	TouchesMovedWithEvent(event IEvent)
	MouseEntered(event IEvent)
	MouseUp(event IEvent)
	NewWindowForTab(sender objc.IObject) objc.Object
	WillPresentError(error foundation.IError) foundation.Error
	PressureChangeWithEvent(event IEvent)
	WantsForwardedScrollEventsForAxis(axis EventGestureAxis) bool
	QuickLookWithEvent(event IEvent)
	OtherMouseDragged(event IEvent)
	InvalidateRestorableState()
	RightMouseDragged(event IEvent)
	ShouldBeTreatedAsInkEvent(event IEvent) bool
	ShowContextHelp(sender objc.IObject)
	NoResponderFor(eventSelector objc.Selector)
	MouseMoved(event IEvent)
	TabletProximity(event IEvent)
	BecomeFirstResponder() bool
	BeginGestureWithEvent(event IEvent)
	FlagsChanged(event IEvent)
	TouchesBeganWithEvent(event IEvent)
	ScrollWheel(event IEvent)
	CursorUpdate(event IEvent)
	ValidateProposedFirstResponderForEvent(responder IResponder, event IEvent) bool
	RestoreStateWithCoder(coder foundation.ICoder)
	EndGestureWithEvent(event IEvent)
	TouchesCancelledWithEvent(event IEvent)
	MouseExited(event IEvent)
	UpdateUserActivityState(userActivity foundation.IUserActivity)
	SmartMagnifyWithEvent(event IEvent)
	RotateWithEvent(event IEvent)
	PerformKeyEquivalent(event IEvent) bool
	FlushBufferedKeyEvents()
	KeyDown(event IEvent)
	SupplementalTargetForActionSender(action objc.Selector, sender objc.IObject) objc.Object
	TabletPoint(event IEvent)
	ValidRequestorForSendTypeReturnType(sendType PasteboardType, returnType PasteboardType) objc.Object
	SwipeWithEvent(event IEvent)
	TouchesEndedWithEvent(event IEvent)
	OtherMouseDown(event IEvent)
	OtherMouseUp(event IEvent)
	MagnifyWithEvent(event IEvent)
	ResignFirstResponder() bool
	MakeTouchBar() TouchBar
	TryToPerformWith(action objc.Selector, object objc.IObject) bool
	MouseDragged(event IEvent)
	HelpRequested(eventPtr IEvent)
	WantsScrollEventsForSwipeTrackingOnAxis(axis EventGestureAxis) bool
	InterpretKeyEvents(eventArray []IEvent)
	PerformTextFinderAction(sender objc.IObject)
	MouseDown(event IEvent)
	KeyUp(event IEvent)
	ChangeModeWithEvent(event IEvent)
	RightMouseDown(event IEvent)
	PresentErrorModalForWindowDelegateDidPresentSelectorContextInfo(error foundation.IError, window IWindow, delegate objc.IObject, didPresentSelector objc.Selector, contextInfo unsafe.Pointer)
	RightMouseUp(event IEvent)
	EncodeRestorableStateWithCoderBackgroundQueue(coder foundation.ICoder, queue foundation.IOperationQueue)
	UndoManager() foundation.UndoManager
	TouchBar() TouchBar
	SetTouchBar(value ITouchBar)
	NextResponder() Responder
	SetNextResponder(value IResponder)
	Menu() Menu
	SetMenu(value IMenu)
	AcceptsFirstResponder() bool
	UserActivity() foundation.UserActivity
	SetUserActivity(value foundation.IUserActivity)
}

An interface definition for the Responder class.

type IRotationGestureRecognizer

type IRotationGestureRecognizer interface {
	IGestureRecognizer
	Rotation() float64
	SetRotation(value float64)
	RotationInDegrees() float64
	SetRotationInDegrees(value float64)
}

An interface definition for the RotationGestureRecognizer class.

type IRuleEditor

type IRuleEditor interface {
	IControl
	CriteriaForRow(row int) []objc.Object
	AddRow(sender objc.IObject)
	RowTypeForRow(rowIndex int) RuleEditorRowType
	RowForDisplayValue(displayValue objc.IObject) int
	SetCriteriaAndDisplayValuesForRowAtIndex(criteria []objc.IObject, values []objc.IObject, rowIndex int)
	ParentRowForRow(rowIndex int) int
	ReloadCriteria()
	RemoveRowsAtIndexesIncludeSubrows(rowIndexes foundation.IIndexSet, includeSubrows bool)
	SubrowIndexesForRow(rowIndex int) foundation.IndexSet
	InsertRowAtIndexWithTypeAsSubrowOfRowAnimate(rowIndex int, rowType RuleEditorRowType, parentRow int, shouldAnimate bool)
	PredicateForRow(row int) foundation.Predicate
	SelectRowIndexesByExtendingSelection(indexes foundation.IIndexSet, extend bool)
	DisplayValuesForRow(row int) []objc.Object
	ReloadPredicate()
	RemoveRowAtIndex(rowIndex int)
	FormattingStringsFilename() string
	SetFormattingStringsFilename(value string)
	CanRemoveAllRows() bool
	SetCanRemoveAllRows(value bool)
	RowHeight() float64
	SetRowHeight(value float64)
	IsEditable() bool
	SetEditable(value bool)
	RowClass() objc.Class
	SetRowClass(value objc.IClass)
	Delegate() RuleEditorDelegateWrapper
	SetDelegate(value PRuleEditorDelegate)
	SetDelegateObject(valueObject objc.IObject)
	Predicate() foundation.Predicate
	SubrowsKeyPath() string
	SetSubrowsKeyPath(value string)
	FormattingDictionary() map[string]string
	SetFormattingDictionary(value map[string]string)
	RowTypeKeyPath() string
	SetRowTypeKeyPath(value string)
	DisplayValuesKeyPath() string
	SetDisplayValuesKeyPath(value string)
	CriteriaKeyPath() string
	SetCriteriaKeyPath(value string)
	NumberOfRows() int
	SelectedRowIndexes() foundation.IndexSet
	NestingMode() RuleEditorNestingMode
	SetNestingMode(value RuleEditorNestingMode)
}

An interface definition for the RuleEditor class.

type IRulerMarker

type IRulerMarker interface {
	objc.IObject
	DrawRect(rect foundation.Rect)
	TrackMouseAdding(mouseDownEvent IEvent, isAdding bool) bool
	ImageRectInRuler() foundation.Rect
	ThicknessRequiredInRuler() float64
	MarkerLocation() float64
	SetMarkerLocation(value float64)
	ImageOrigin() foundation.Point
	SetImageOrigin(value foundation.Point)
	Ruler() RulerView
	IsRemovable() bool
	SetRemovable(value bool)
	IsDragging() bool
	RepresentedObject() foundation.CopyingWrapper
	SetRepresentedObject(value foundation.PCopying)
	SetRepresentedObjectObject(valueObject objc.IObject)
	Image() Image
	SetImage(value IImage)
	IsMovable() bool
	SetMovable(value bool)
}

An interface definition for the RulerMarker class.

type IRulerView

type IRulerView interface {
	IView
	InvalidateHashMarks()
	TrackMarkerWithMouseEvent(marker IRulerMarker, event IEvent) bool
	MoveRulerlineFromLocationToLocation(oldLocation float64, newLocation float64)
	DrawHashMarksAndLabelsInRect(rect foundation.Rect)
	DrawMarkersInRect(rect foundation.Rect)
	RemoveMarker(marker IRulerMarker)
	AddMarker(marker IRulerMarker)
	BaselineLocation() float64
	ReservedThicknessForMarkers() float64
	SetReservedThicknessForMarkers(value float64)
	RuleThickness() float64
	SetRuleThickness(value float64)
	AccessoryView() View
	SetAccessoryView(value IView)
	OriginOffset() float64
	SetOriginOffset(value float64)
	RequiredThickness() float64
	ClientView() View
	SetClientView(value IView)
	ScrollView() ScrollView
	SetScrollView(value IScrollView)
	MeasurementUnits() RulerViewUnitName
	SetMeasurementUnits(value RulerViewUnitName)
	ReservedThicknessForAccessoryView() float64
	SetReservedThicknessForAccessoryView(value float64)
	Markers() []RulerMarker
	SetMarkers(value []IRulerMarker)
	Orientation() RulerOrientation
	SetOrientation(value RulerOrientation)
}

An interface definition for the RulerView class.

type IRunningApplication

type IRunningApplication interface {
	objc.IObject
	Hide() bool
	ForceTerminate() bool
	ActivateWithOptions(options ApplicationActivationOptions) bool
	Unhide() bool
	Terminate() bool
	BundleIdentifier() string
	ExecutableURL() foundation.URL
	IsHidden() bool
	OwnsMenuBar() bool
	IsTerminated() bool
	LaunchDate() foundation.Date
	IsActive() bool
	ExecutableArchitecture() int
	ActivationPolicy() ApplicationActivationPolicy
	LocalizedName() string
	Icon() Image
	BundleURL() foundation.URL
	IsFinishedLaunching() bool
}

An interface definition for the RunningApplication class.

type ISavePanel

type ISavePanel interface {
	IPanel
	Ok(sender objc.IObject) objc.Object
	RunModal() ModalResponse
	ValidateVisibleColumns()
	BeginWithCompletionHandler(handler func(result ModalResponse))
	BeginSheetModalForWindowCompletionHandler(window IWindow, handler func(result ModalResponse))
	Cancel(sender objc.IObject) objc.Object
	NameFieldLabel() string
	SetNameFieldLabel(value string)
	AllowsOtherFileTypes() bool
	SetAllowsOtherFileTypes(value bool)
	TagNames() []string
	SetTagNames(value []string)
	CanSelectHiddenExtension() bool
	SetCanSelectHiddenExtension(value bool)
	IsExpanded() bool
	Prompt() string
	SetPrompt(value string)
	DirectoryURL() foundation.URL
	SetDirectoryURL(value foundation.IURL)
	CanCreateDirectories() bool
	SetCanCreateDirectories(value bool)
	ShowsTagField() bool
	SetShowsTagField(value bool)
	AccessoryView() View
	SetAccessoryView(value IView)
	URL() foundation.URL
	ShowsHiddenFiles() bool
	SetShowsHiddenFiles(value bool)
	AllowedContentTypes() []uti.Type
	SetAllowedContentTypes(value []uti.IType)
	TreatsFilePackagesAsDirectories() bool
	SetTreatsFilePackagesAsDirectories(value bool)
	IsExtensionHidden() bool
	SetExtensionHidden(value bool)
	NameFieldStringValue() string
	SetNameFieldStringValue(value string)
	Message() string
	SetMessage(value string)
}

An interface definition for the SavePanel class.

type IScreen

type IScreen interface {
	objc.IObject
	ConvertRectFromBacking(rect foundation.Rect) foundation.Rect
	ConvertRectToBacking(rect foundation.Rect) foundation.Rect
	CanRepresentDisplayGamut(displayGamut DisplayGamut) bool
	BackingAlignedRectOptions(rect foundation.Rect, options foundation.AlignmentOptions) foundation.Rect
	MinimumRefreshInterval() foundation.TimeInterval
	MaximumExtendedDynamicRangeColorComponentValue() float64
	VisibleFrame() foundation.Rect
	DisplayUpdateGranularity() foundation.TimeInterval
	MaximumRefreshInterval() foundation.TimeInterval
	LocalizedName() string
	MaximumPotentialExtendedDynamicRangeColorComponentValue() float64
	ColorSpace() ColorSpace
	SafeAreaInsets() foundation.EdgeInsets
	MaximumReferenceExtendedDynamicRangeColorComponentValue() float64
	LastDisplayUpdateTimestamp() foundation.TimeInterval
	DeviceDescription() map[DeviceDescriptionKey]objc.Object
	Depth() WindowDepth
	BackingScaleFactor() float64
	Frame() foundation.Rect
	SupportedWindowDepths() *WindowDepth
	MaximumFramesPerSecond() int
}

An interface definition for the Screen class.

type IScrollView

type IScrollView interface {
	IView
	SetMagnificationCenteredAtPoint(magnification float64, point foundation.Point)
	FlashScrollers()
	AddFloatingSubviewForAxis(view IView, axis EventGestureAxis)
	MagnifyToFitRect(rect foundation.Rect)
	Tile()
	VerticalLineScroll() float64
	SetVerticalLineScroll(value float64)
	HorizontalScrollElasticity() ScrollElasticity
	SetHorizontalScrollElasticity(value ScrollElasticity)
	AllowsMagnification() bool
	SetAllowsMagnification(value bool)
	HorizontalPageScroll() float64
	SetHorizontalPageScroll(value float64)
	RulersVisible() bool
	SetRulersVisible(value bool)
	DocumentCursor() Cursor
	SetDocumentCursor(value ICursor)
	HasVerticalRuler() bool
	SetHasVerticalRuler(value bool)
	MaxMagnification() float64
	SetMaxMagnification(value float64)
	ScrollsDynamically() bool
	SetScrollsDynamically(value bool)
	ContentView() ClipView
	SetContentView(value IClipView)
	HasVerticalScroller() bool
	SetHasVerticalScroller(value bool)
	FindBarPosition() ScrollViewFindBarPosition
	SetFindBarPosition(value ScrollViewFindBarPosition)
	HorizontalScroller() Scroller
	SetHorizontalScroller(value IScroller)
	ScrollerStyle() ScrollerStyle
	SetScrollerStyle(value ScrollerStyle)
	VerticalScrollElasticity() ScrollElasticity
	SetVerticalScrollElasticity(value ScrollElasticity)
	PageScroll() float64
	SetPageScroll(value float64)
	BorderType() BorderType
	SetBorderType(value BorderType)
	ContentInsets() foundation.EdgeInsets
	SetContentInsets(value foundation.EdgeInsets)
	Magnification() float64
	SetMagnification(value float64)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	ScrollerKnobStyle() ScrollerKnobStyle
	SetScrollerKnobStyle(value ScrollerKnobStyle)
	LineScroll() float64
	SetLineScroll(value float64)
	ContentSize() foundation.Size
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	AutohidesScrollers() bool
	SetAutohidesScrollers(value bool)
	UsesPredominantAxisScrolling() bool
	SetUsesPredominantAxisScrolling(value bool)
	DocumentVisibleRect() foundation.Rect
	ScrollerInsets() foundation.EdgeInsets
	SetScrollerInsets(value foundation.EdgeInsets)
	MinMagnification() float64
	SetMinMagnification(value float64)
	HasHorizontalRuler() bool
	SetHasHorizontalRuler(value bool)
	DocumentView() View
	SetDocumentView(value IView)
	HorizontalLineScroll() float64
	SetHorizontalLineScroll(value float64)
	VerticalScroller() Scroller
	SetVerticalScroller(value IScroller)
	VerticalPageScroll() float64
	SetVerticalPageScroll(value float64)
	AutomaticallyAdjustsContentInsets() bool
	SetAutomaticallyAdjustsContentInsets(value bool)
	VerticalRulerView() RulerView
	SetVerticalRulerView(value IRulerView)
	HasHorizontalScroller() bool
	SetHasHorizontalScroller(value bool)
	HorizontalRulerView() RulerView
	SetHorizontalRulerView(value IRulerView)
}

An interface definition for the ScrollView class.

type IScroller

type IScroller interface {
	IControl
	CheckSpaceForParts()
	TrackKnob(event IEvent)
	SetKnobProportion(proportion float64)
	TestPart(point foundation.Point) ScrollerPart
	DrawKnob()
	DrawKnobSlotInRectHighlight(slotRect foundation.Rect, flag bool)
	RectForPart(partCode ScrollerPart) foundation.Rect
	ScrollerStyle() ScrollerStyle
	SetScrollerStyle(value ScrollerStyle)
	KnobStyle() ScrollerKnobStyle
	SetKnobStyle(value ScrollerKnobStyle)
	UsableParts() UsableScrollerParts
	HitPart() ScrollerPart
	KnobProportion() float64
}

An interface definition for the Scroller class.

type IScrubber

type IScrubber interface {
	IView
	RegisterNibForItemIdentifier(nib INib, itemIdentifier UserInterfaceItemIdentifier)
	MakeItemWithIdentifierOwner(itemIdentifier UserInterfaceItemIdentifier, owner objc.IObject) ScrubberItemView
	MoveItemAtIndexToIndex(oldIndex int, newIndex int)
	RegisterClassForItemIdentifier(itemViewClass objc.IClass, itemIdentifier UserInterfaceItemIdentifier)
	ScrollItemAtIndexToAlignment(index int, alignment ScrubberAlignment)
	ItemViewForItemAtIndex(index int) ScrubberItemView
	RemoveItemsAtIndexes(indexes foundation.IIndexSet)
	InsertItemsAtIndexes(indexes foundation.IIndexSet)
	ReloadItemsAtIndexes(indexes foundation.IIndexSet)
	PerformSequentialBatchUpdates(updateBlock func())
	ReloadData()
	DataSource() ScrubberDataSourceWrapper
	SetDataSource(value PScrubberDataSource)
	SetDataSourceObject(valueObject objc.IObject)
	BackgroundView() View
	SetBackgroundView(value IView)
	IsContinuous() bool
	SetContinuous(value bool)
	HighlightedIndex() int
	Delegate() ScrubberDelegateWrapper
	SetDelegate(value PScrubberDelegate)
	SetDelegateObject(valueObject objc.IObject)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	ShowsAdditionalContentIndicators() bool
	SetShowsAdditionalContentIndicators(value bool)
	SelectionBackgroundStyle() ScrubberSelectionStyle
	SetSelectionBackgroundStyle(value IScrubberSelectionStyle)
	ScrubberLayout() ScrubberLayout
	SetScrubberLayout(value IScrubberLayout)
	NumberOfItems() int
	SelectionOverlayStyle() ScrubberSelectionStyle
	SetSelectionOverlayStyle(value IScrubberSelectionStyle)
	Mode() ScrubberMode
	SetMode(value ScrubberMode)
	ItemAlignment() ScrubberAlignment
	SetItemAlignment(value ScrubberAlignment)
	FloatsSelectionViews() bool
	SetFloatsSelectionViews(value bool)
	SelectedIndex() int
	SetSelectedIndex(value int)
	ShowsArrowButtons() bool
	SetShowsArrowButtons(value bool)
}

An interface definition for the Scrubber class.

type IScrubberArrangedView

type IScrubberArrangedView interface {
	IView
	ApplyLayoutAttributes(layoutAttributes IScrubberLayoutAttributes)
	IsHighlighted() bool
	SetHighlighted(value bool)
	IsSelected() bool
	SetSelected(value bool)
}

An interface definition for the ScrubberArrangedView class.

type IScrubberFlowLayout

type IScrubberFlowLayout interface {
	IScrubberLayout
	InvalidateLayoutForItemsAtIndexes(invalidItemIndexes foundation.IIndexSet)
	ItemSize() foundation.Size
	SetItemSize(value foundation.Size)
	ItemSpacing() float64
	SetItemSpacing(value float64)
}

An interface definition for the ScrubberFlowLayout class.

type IScrubberImageItemView

type IScrubberImageItemView interface {
	IScrubberItemView
	ImageAlignment() ImageAlignment
	SetImageAlignment(value ImageAlignment)
	ImageView() ImageView
	Image() Image
	SetImage(value IImage)
}

An interface definition for the ScrubberImageItemView class.

type IScrubberItemView

type IScrubberItemView interface {
	IScrubberArrangedView
}

An interface definition for the ScrubberItemView class.

type IScrubberLayout

type IScrubberLayout interface {
	objc.IObject
	LayoutAttributesForItemsInRect(rect foundation.Rect) foundation.Set
	PrepareLayout()
	InvalidateLayout()
	LayoutAttributesForItemAtIndex(index int) ScrubberLayoutAttributes
	ShouldInvalidateLayoutForChangeFromVisibleRectToVisibleRect(fromVisibleRect foundation.Rect, toVisibleRect foundation.Rect) bool
	VisibleRect() foundation.Rect
	ShouldInvalidateLayoutForSelectionChange() bool
	ScrubberContentSize() foundation.Size
	Scrubber() Scrubber
	AutomaticallyMirrorsInRightToLeftLayout() bool
	ShouldInvalidateLayoutForHighlightChange() bool
}

An interface definition for the ScrubberLayout class.

type IScrubberLayoutAttributes

type IScrubberLayoutAttributes interface {
	objc.IObject
	Alpha() float64
	SetAlpha(value float64)
	Frame() foundation.Rect
	SetFrame(value foundation.Rect)
	ItemIndex() int
	SetItemIndex(value int)
}

An interface definition for the ScrubberLayoutAttributes class.

type IScrubberProportionalLayout

type IScrubberProportionalLayout interface {
	IScrubberLayout
	NumberOfVisibleItems() int
	SetNumberOfVisibleItems(value int)
}

An interface definition for the ScrubberProportionalLayout class.

type IScrubberSelectionStyle

type IScrubberSelectionStyle interface {
	objc.IObject
	MakeSelectionView() ScrubberSelectionView
}

An interface definition for the ScrubberSelectionStyle class.

type IScrubberSelectionView

type IScrubberSelectionView interface {
	IScrubberArrangedView
}

An interface definition for the ScrubberSelectionView class.

type IScrubberTextItemView

type IScrubberTextItemView interface {
	IScrubberItemView
	TextField() TextField
	Title() string
	SetTitle(value string)
}

An interface definition for the ScrubberTextItemView class.

type ISearchField

type ISearchField interface {
	ITextField
	RecentsAutosaveName() SearchFieldRecentsAutosaveName
	SetRecentsAutosaveName(value SearchFieldRecentsAutosaveName)
	MaximumRecents() int
	SetMaximumRecents(value int)
	CancelButtonBounds() foundation.Rect
	SendsWholeSearchString() bool
	SetSendsWholeSearchString(value bool)
	SearchMenuTemplate() Menu
	SetSearchMenuTemplate(value IMenu)
	SendsSearchStringImmediately() bool
	SetSendsSearchStringImmediately(value bool)
	RecentSearches() []string
	SetRecentSearches(value []string)
	SearchTextBounds() foundation.Rect
	SearchButtonBounds() foundation.Rect
}

An interface definition for the SearchField class.

type ISearchFieldCell

type ISearchFieldCell interface {
	ITextFieldCell
	SearchTextRectForBounds(rect foundation.Rect) foundation.Rect
	SearchButtonRectForBounds(rect foundation.Rect) foundation.Rect
	ResetSearchButtonCell()
	CancelButtonRectForBounds(rect foundation.Rect) foundation.Rect
	ResetCancelButtonCell()
	RecentsAutosaveName() SearchFieldRecentsAutosaveName
	SetRecentsAutosaveName(value SearchFieldRecentsAutosaveName)
	MaximumRecents() int
	SetMaximumRecents(value int)
	SearchButtonCell() ButtonCell
	SetSearchButtonCell(value IButtonCell)
	SendsWholeSearchString() bool
	SetSendsWholeSearchString(value bool)
	SearchMenuTemplate() Menu
	SetSearchMenuTemplate(value IMenu)
	CancelButtonCell() ButtonCell
	SetCancelButtonCell(value IButtonCell)
	SendsSearchStringImmediately() bool
	SetSendsSearchStringImmediately(value bool)
	RecentSearches() []string
	SetRecentSearches(value []string)
}

An interface definition for the SearchFieldCell class.

type ISearchToolbarItem

type ISearchToolbarItem interface {
	IToolbarItem
	EndSearchInteraction()
	BeginSearchInteraction()
	SearchField() SearchField
	SetSearchField(value ISearchField)
	ResignsFirstResponderWithCancel() bool
	SetResignsFirstResponderWithCancel(value bool)
	PreferredWidthForSearchField() float64
	SetPreferredWidthForSearchField(value float64)
}

An interface definition for the SearchToolbarItem class.

type ISecureTextField

type ISecureTextField interface {
	ITextField
}

An interface definition for the SecureTextField class.

type ISecureTextFieldCell

type ISecureTextFieldCell interface {
	ITextFieldCell
	EchosBullets() bool
	SetEchosBullets(value bool)
}

An interface definition for the SecureTextFieldCell class.

type ISegmentedCell

type ISegmentedCell interface {
	IActionCell
	SetLabelForSegment(label string, segment int)
	ImageScalingForSegment(segment int) ImageScaling
	SetToolTipForSegment(toolTip string, segment int)
	TagForSegment(segment int) int
	ToolTipForSegment(segment int) string
	SetSelectedForSegment(selected bool, segment int)
	IsSelectedForSegment(segment int) bool
	SetImageForSegment(image IImage, segment int)
	MakeNextSegmentKey()
	ImageForSegment(segment int) Image
	InteriorBackgroundStyleForSegment(segment int) BackgroundStyle
	SetEnabledForSegment(enabled bool, segment int)
	WidthForSegment(segment int) float64
	MakePreviousSegmentKey()
	SelectSegmentWithTag(tag int) bool
	SetImageScalingForSegment(scaling ImageScaling, segment int)
	SetTagForSegment(tag int, segment int)
	MenuForSegment(segment int) Menu
	SetMenuForSegment(menu IMenu, segment int)
	DrawSegmentInFrameWithView(segment int, frame foundation.Rect, controlView IView)
	LabelForSegment(segment int) string
	SetWidthForSegment(width float64, segment int)
	IsEnabledForSegment(segment int) bool
	SegmentStyle() SegmentStyle
	SetSegmentStyle(value SegmentStyle)
	SegmentCount() int
	SetSegmentCount(value int)
	SelectedSegment() int
	SetSelectedSegment(value int)
	TrackingMode() SegmentSwitchTracking
	SetTrackingMode(value SegmentSwitchTracking)
}

An interface definition for the SegmentedCell class.

type ISegmentedControl

type ISegmentedControl interface {
	IControl
	SetLabelForSegment(label string, segment int)
	ImageScalingForSegment(segment int) ImageScaling
	SetToolTipForSegment(toolTip string, segment int)
	TagForSegment(segment int) int
	ToolTipForSegment(segment int) string
	SetAlignmentForSegment(alignment TextAlignment, segment int)
	SetSelectedForSegment(selected bool, segment int)
	IsSelectedForSegment(segment int) bool
	SetImageForSegment(image IImage, segment int)
	SetShowsMenuIndicatorForSegment(showsMenuIndicator bool, segment int)
	MinimumSizeWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions) foundation.Size
	ImageForSegment(segment int) Image
	CompressWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions)
	SetEnabledForSegment(enabled bool, segment int)
	WidthForSegment(segment int) float64
	SelectSegmentWithTag(tag int) bool
	AlignmentForSegment(segment int) TextAlignment
	SetImageScalingForSegment(scaling ImageScaling, segment int)
	SetTagForSegment(tag int, segment int)
	MenuForSegment(segment int) Menu
	SetMenuForSegment(menu IMenu, segment int)
	ShowsMenuIndicatorForSegment(segment int) bool
	LabelForSegment(segment int) string
	SetWidthForSegment(width float64, segment int)
	IsEnabledForSegment(segment int) bool
	ActiveCompressionOptions() UserInterfaceCompressionOptions
	IndexOfSelectedItem() int
	SegmentStyle() SegmentStyle
	SetSegmentStyle(value SegmentStyle)
	SegmentCount() int
	SetSegmentCount(value int)
	SelectedSegment() int
	SetSelectedSegment(value int)
	SegmentDistribution() SegmentDistribution
	SetSegmentDistribution(value SegmentDistribution)
	TrackingMode() SegmentSwitchTracking
	SetTrackingMode(value SegmentSwitchTracking)
	DoubleValueForSelectedSegment() float64
	SelectedSegmentBezelColor() Color
	SetSelectedSegmentBezelColor(value IColor)
	IsSpringLoaded() bool
	SetSpringLoaded(value bool)
}

An interface definition for the SegmentedControl class.

type IShadow

type IShadow interface {
	objc.IObject
	Set()
	ShadowBlurRadius() float64
	SetShadowBlurRadius(value float64)
	ShadowOffset() coregraphics.Size
	SetShadowOffset(value coregraphics.Size)
	ShadowColor() objc.Object
	SetShadowColor(value objc.IObject)
}

An interface definition for the Shadow class.

type ISharingService

type ISharingService interface {
	objc.IObject
	CanPerformWithItems(items []objc.IObject) bool
	PerformWithItems(items []objc.IObject)
	PermanentLink() foundation.URL
	MessageBody() string
	AlternateImage() Image
	Recipients() []string
	SetRecipients(value []string)
	Delegate() SharingServiceDelegateWrapper
	SetDelegate(value PSharingServiceDelegate)
	SetDelegateObject(valueObject objc.IObject)
	MenuItemTitle() string
	SetMenuItemTitle(value string)
	AttachmentFileURLs() []foundation.URL
	Title() string
	Subject() string
	SetSubject(value string)
	Image() Image
	AccountName() string
}

An interface definition for the SharingService class.

type ISharingServicePicker

type ISharingServicePicker interface {
	objc.IObject
	ShowRelativeToRectOfViewPreferredEdge(rect foundation.Rect, view IView, preferredEdge foundation.RectEdge)
	Delegate() SharingServicePickerDelegateWrapper
	SetDelegate(value PSharingServicePickerDelegate)
	SetDelegateObject(valueObject objc.IObject)
}

An interface definition for the SharingServicePicker class.

type ISharingServicePickerToolbarItem

type ISharingServicePickerToolbarItem interface {
	IToolbarItem
	Delegate() SharingServicePickerToolbarItemDelegateWrapper
	SetDelegate(value PSharingServicePickerToolbarItemDelegate)
	SetDelegateObject(valueObject objc.IObject)
}

An interface definition for the SharingServicePickerToolbarItem class.

type ISharingServicePickerTouchBarItem

type ISharingServicePickerTouchBarItem interface {
	ITouchBarItem
	ButtonImage() Image
	SetButtonImage(value IImage)
	ButtonTitle() string
	SetButtonTitle(value string)
	Delegate() SharingServicePickerTouchBarItemDelegateWrapper
	SetDelegate(value PSharingServicePickerTouchBarItemDelegate)
	SetDelegateObject(valueObject objc.IObject)
	IsEnabled() bool
	SetEnabled(value bool)
}

An interface definition for the SharingServicePickerTouchBarItem class.

type ISlider

type ISlider interface {
	IControl
	RectOfTickMarkAtIndex(index int) foundation.Rect
	ClosestTickMarkValueToValue(value float64) float64
	TickMarkValueAtIndex(index int) float64
	IndexOfTickMarkAtPoint(point foundation.Point) int
	AltIncrementValue() float64
	SetAltIncrementValue(value float64)
	TickMarkPosition() TickMarkPosition
	SetTickMarkPosition(value TickMarkPosition)
	KnobThickness() float64
	SliderType() SliderType
	SetSliderType(value SliderType)
	MinValue() float64
	SetMinValue(value float64)
	MaxValue() float64
	SetMaxValue(value float64)
	TrackFillColor() Color
	SetTrackFillColor(value IColor)
	IsVertical() bool
	SetVertical(value bool)
	AllowsTickMarkValuesOnly() bool
	SetAllowsTickMarkValuesOnly(value bool)
	NumberOfTickMarks() int
	SetNumberOfTickMarks(value int)
}

An interface definition for the Slider class.

type ISliderAccessory

type ISliderAccessory interface {
	objc.IObject
	Behavior() SliderAccessoryBehavior
	SetBehavior(value ISliderAccessoryBehavior)
	IsEnabled() bool
	SetEnabled(value bool)
}

An interface definition for the SliderAccessory class.

type ISliderAccessoryBehavior

type ISliderAccessoryBehavior interface {
	objc.IObject
	HandleAction(sender ISliderAccessory)
}

An interface definition for the SliderAccessoryBehavior class.

type ISliderCell

type ISliderCell interface {
	IActionCell
	RectOfTickMarkAtIndex(index int) foundation.Rect
	BarRectFlipped(flipped bool) foundation.Rect
	DrawTickMarks()
	DrawBarInsideFlipped(rect foundation.Rect, flipped bool)
	DrawKnob(knobRect foundation.Rect)
	ClosestTickMarkValueToValue(value float64) float64
	TickMarkValueAtIndex(index int) float64
	KnobRectFlipped(flipped bool) foundation.Rect
	IndexOfTickMarkAtPoint(point foundation.Point) int
	AltIncrementValue() float64
	SetAltIncrementValue(value float64)
	TickMarkPosition() TickMarkPosition
	SetTickMarkPosition(value TickMarkPosition)
	KnobThickness() float64
	TrackRect() foundation.Rect
	SliderType() SliderType
	SetSliderType(value SliderType)
	MinValue() float64
	SetMinValue(value float64)
	MaxValue() float64
	SetMaxValue(value float64)
	IsVertical() bool
	SetVertical(value bool)
	AllowsTickMarkValuesOnly() bool
	SetAllowsTickMarkValuesOnly(value bool)
	NumberOfTickMarks() int
	SetNumberOfTickMarks(value int)
}

An interface definition for the SliderCell class.

type ISliderTouchBarItem

type ISliderTouchBarItem interface {
	ITouchBarItem
	MinimumSliderWidth() float64
	SetMinimumSliderWidth(value float64)
	Target() objc.Object
	SetTarget(value objc.IObject)
	SetCustomizationLabel(value string)
	Action() objc.Selector
	SetAction(value objc.Selector)
	Slider() Slider
	SetSlider(value ISlider)
	MaximumValueAccessory() SliderAccessory
	SetMaximumValueAccessory(value ISliderAccessory)
	MaximumSliderWidth() float64
	SetMaximumSliderWidth(value float64)
	DoubleValue() float64
	SetDoubleValue(value float64)
	MinimumValueAccessory() SliderAccessory
	SetMinimumValueAccessory(value ISliderAccessory)
	Label() string
	SetLabel(value string)
	ValueAccessoryWidth() SliderAccessoryWidth
	SetValueAccessoryWidth(value SliderAccessoryWidth)
}

An interface definition for the SliderTouchBarItem class.

type ISound

type ISound interface {
	objc.IObject
	WriteToPasteboard(pasteboard IPasteboard)
	SetName(string_ SoundName) bool
	Stop() bool
	Pause() bool
	Play() bool
	Resume() bool
	Volume() float64
	SetVolume(value float64)
	PlaybackDeviceIdentifier() SoundPlaybackDeviceIdentifier
	SetPlaybackDeviceIdentifier(value SoundPlaybackDeviceIdentifier)
	Name() SoundName
	Loops() bool
	SetLoops(value bool)
	Delegate() SoundDelegateWrapper
	SetDelegate(value PSoundDelegate)
	SetDelegateObject(valueObject objc.IObject)
	IsPlaying() bool
	Duration() foundation.TimeInterval
	CurrentTime() foundation.TimeInterval
	SetCurrentTime(value foundation.TimeInterval)
}

An interface definition for the Sound class.

type ISpeechRecognizer

type ISpeechRecognizer interface {
	objc.IObject
	StopListening()
	StartListening()
	ListensInForegroundOnly() bool
	SetListensInForegroundOnly(value bool)
	DisplayedCommandsTitle() string
	SetDisplayedCommandsTitle(value string)
	Delegate() SpeechRecognizerDelegateWrapper
	SetDelegate(value PSpeechRecognizerDelegate)
	SetDelegateObject(valueObject objc.IObject)
	Commands() []string
	SetCommands(value []string)
	BlocksOtherRecognizers() bool
	SetBlocksOtherRecognizers(value bool)
}

An interface definition for the SpeechRecognizer class.

type ISpeechSynthesizer

type ISpeechSynthesizer interface {
	objc.IObject
}

An interface definition for the SpeechSynthesizer class.

type ISpellChecker

type ISpellChecker interface {
	objc.IObject
	LanguageForWordRangeInStringOrthography(range_ foundation.Range, string_ string, orthography foundation.IOrthography) string
	CheckStringRangeTypesOptionsInSpellDocumentWithTagOrthographyWordCount(stringToCheck string, range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject, tag int, orthography foundation.IOrthography, wordCount *int) []foundation.TextCheckingResult
	DismissCorrectionIndicatorForView(view IView)
	CountWordsInStringLanguage(stringToCount string, language string) int
	MenuForResultStringOptionsAtLocationInView(result foundation.ITextCheckingResult, checkedString string, options map[TextCheckingOptionKey]objc.IObject, location foundation.Point, view IView) Menu
	Language() string
	LearnWord(word string)
	CompletionsForPartialWordRangeInStringLanguageInSpellDocumentWithTag(range_ foundation.Range, string_ string, language string, tag int) []string
	CheckGrammarOfStringStartingAtLanguageWrapInSpellDocumentWithTagDetails(stringToCheck string, startingOffset int, language string, wrapFlag bool, tag int, details []map[string]objc.IObject) foundation.Range
	RequestCandidatesForSelectedRangeInStringTypesOptionsInSpellDocumentWithTagCompletionHandler(selectedRange foundation.Range, stringToCheck string, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject, tag int, completionHandler func(sequenceNumber int, candidates []foundation.TextCheckingResult)) int
	ShowCorrectionIndicatorOfTypePrimaryStringAlternativeStringsForStringInRectViewCompletionHandler(type_ CorrectionIndicatorType, primaryString string, alternativeStrings []string, rectOfTypedString foundation.Rect, view IView, completionBlock func(acceptedString string))
	UnlearnWord(word string)
	RecordResponseToCorrectionForWordLanguageInSpellDocumentWithTag(response CorrectionResponse, correction string, word string, language string, tag int)
	RequestCheckingOfStringRangeTypesOptionsInSpellDocumentWithTagCompletionHandler(stringToCheck string, range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject, tag int, completionHandler func(sequenceNumber int, results []foundation.TextCheckingResult, orthography foundation.Orthography, wordCount int)) int
	UpdateSpellingPanelWithMisspelledWord(word string)
	CheckSpellingOfStringStartingAt(stringToCheck string, startingOffset int) foundation.Range
	UpdatePanels()
	SetLanguage(language string) bool
	SetIgnoredWordsInSpellDocumentWithTag(words []string, tag int)
	IgnoreWordInSpellDocumentWithTag(wordToIgnore string, tag int)
	UpdateSpellingPanelWithGrammarStringDetail(string_ string, detail map[string]objc.IObject)
	CloseSpellDocumentWithTag(tag int)
	UserQuotesArrayForLanguage(language string) []string
	SetWordFieldStringValue(string_ string)
	PreventsAutocorrectionBeforeStringLanguage(string_ string, language string) bool
	HasLearnedWord(word string) bool
	IgnoredWordsInSpellDocumentWithTag(tag int) []string
	CorrectionForWordRangeInStringLanguageInSpellDocumentWithTag(range_ foundation.Range, string_ string, language string, tag int) string
	DeletesAutospaceBetweenStringAndStringLanguage(precedingString string, followingString string, language string) bool
	GuessesForWordRangeInStringLanguageInSpellDocumentWithTag(range_ foundation.Range, string_ string, language string, tag int) []string
	UserReplacementsDictionary() map[string]string
	UserPreferredLanguages() []string
	SubstitutionsPanel() Panel
	SpellingPanel() Panel
	SubstitutionsPanelAccessoryViewController() ViewController
	SetSubstitutionsPanelAccessoryViewController(value IViewController)
	AccessoryView() View
	SetAccessoryView(value IView)
	AvailableLanguages() []string
	AutomaticallyIdentifiesLanguages() bool
	SetAutomaticallyIdentifiesLanguages(value bool)
}

An interface definition for the SpellChecker class.

type ISplitView

type ISplitView interface {
	IView
	AdjustSubviews()
	IsSubviewCollapsed(subview IView) bool
	SetPositionOfDividerAtIndex(position float64, dividerIndex int)
	MaxPossiblePositionOfDividerAtIndex(dividerIndex int) float64
	MinPossiblePositionOfDividerAtIndex(dividerIndex int) float64
	AddArrangedSubview(view IView)
	InsertArrangedSubviewAtIndex(view IView, index int)
	HoldingPriorityForSubviewAtIndex(subviewIndex int) LayoutPriority
	DrawDividerInRect(rect foundation.Rect)
	RemoveArrangedSubview(view IView)
	SetHoldingPriorityForSubviewAtIndex(priority LayoutPriority, subviewIndex int)
	DividerColor() Color
	DividerThickness() float64
	DividerStyle() SplitViewDividerStyle
	SetDividerStyle(value SplitViewDividerStyle)
	Delegate() SplitViewDelegateWrapper
	SetDelegate(value PSplitViewDelegate)
	SetDelegateObject(valueObject objc.IObject)
	ArrangedSubviews() []View
	AutosaveName() SplitViewAutosaveName
	SetAutosaveName(value SplitViewAutosaveName)
	IsVertical() bool
	SetVertical(value bool)
	ArrangesAllSubviews() bool
	SetArrangesAllSubviews(value bool)
}

An interface definition for the SplitView class.

type ISplitViewController

type ISplitViewController interface {
	IViewController
	RemoveSplitViewItem(splitViewItem ISplitViewItem)
	ToggleSidebar(sender objc.IObject) objc.Object
	AddSplitViewItem(splitViewItem ISplitViewItem)
	InsertSplitViewItemAtIndex(splitViewItem ISplitViewItem, index int)
	ValidateUserInterfaceItem(item PValidatedUserInterfaceItem) bool
	ValidateUserInterfaceItemObject(itemObject objc.IObject) bool
	SplitViewItemForViewController(viewController IViewController) SplitViewItem
	SplitViewItems() []SplitViewItem
	SetSplitViewItems(value []ISplitViewItem)
	SplitView() SplitView
	SetSplitView(value ISplitView)
	MinimumThicknessForInlineSidebars() float64
	SetMinimumThicknessForInlineSidebars(value float64)
}

An interface definition for the SplitViewController class.

type ISplitViewItem

type ISplitViewItem interface {
	objc.IObject
	AutomaticMaximumThickness() float64
	SetAutomaticMaximumThickness(value float64)
	PreferredThicknessFraction() float64
	SetPreferredThicknessFraction(value float64)
	MaximumThickness() float64
	SetMaximumThickness(value float64)
	HoldingPriority() LayoutPriority
	SetHoldingPriority(value LayoutPriority)
	CollapseBehavior() SplitViewItemCollapseBehavior
	SetCollapseBehavior(value SplitViewItemCollapseBehavior)
	Behavior() SplitViewItemBehavior
	IsCollapsed() bool
	SetCollapsed(value bool)
	ViewController() ViewController
	SetViewController(value IViewController)
	CanCollapse() bool
	SetCanCollapse(value bool)
	MinimumThickness() float64
	SetMinimumThickness(value float64)
	TitlebarSeparatorStyle() TitlebarSeparatorStyle
	SetTitlebarSeparatorStyle(value TitlebarSeparatorStyle)
	AllowsFullHeightLayout() bool
	SetAllowsFullHeightLayout(value bool)
	IsSpringLoaded() bool
	SetSpringLoaded(value bool)
}

An interface definition for the SplitViewItem class.

type IStackView

type IStackView interface {
	IView
	RemoveView(view IView)
	SetClippingResistancePriorityForOrientation(clippingResistancePriority LayoutPriority, orientation LayoutConstraintOrientation)
	SetVisibilityPriorityForView(priority StackViewVisibilityPriority, view IView)
	SetHuggingPriorityForOrientation(huggingPriority LayoutPriority, orientation LayoutConstraintOrientation)
	VisibilityPriorityForView(view IView) StackViewVisibilityPriority
	CustomSpacingAfterView(view IView) float64
	AddViewInGravity(view IView, gravity StackViewGravity)
	ViewsInGravity(gravity StackViewGravity) []View
	AddArrangedSubview(view IView)
	InsertViewAtIndexInGravity(view IView, index uint, gravity StackViewGravity)
	InsertArrangedSubviewAtIndex(view IView, index int)
	HuggingPriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority
	ClippingResistancePriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority
	SetCustomSpacingAfterView(spacing float64, view IView)
	RemoveArrangedSubview(view IView)
	SetViewsInGravity(views []IView, gravity StackViewGravity)
	Distribution() StackViewDistribution
	SetDistribution(value StackViewDistribution)
	Views() []View
	DetachedViews() []View
	EdgeInsets() foundation.EdgeInsets
	SetEdgeInsets(value foundation.EdgeInsets)
	Alignment() LayoutAttribute
	SetAlignment(value LayoutAttribute)
	Delegate() StackViewDelegateWrapper
	SetDelegate(value PStackViewDelegate)
	SetDelegateObject(valueObject objc.IObject)
	ArrangedSubviews() []View
	Spacing() float64
	SetSpacing(value float64)
	DetachesHiddenViews() bool
	SetDetachesHiddenViews(value bool)
	Orientation() UserInterfaceLayoutOrientation
	SetOrientation(value UserInterfaceLayoutOrientation)
}

An interface definition for the StackView class.

type IStatusBar

type IStatusBar interface {
	objc.IObject
	StatusItemWithLength(length float64) StatusItem
	RemoveStatusItem(item IStatusItem)
	IsVertical() bool
	Thickness() float64
}

An interface definition for the StatusBar class.

type IStatusBarButton

type IStatusBarButton interface {
	IButton
	AppearsDisabled() bool
	SetAppearsDisabled(value bool)
}

An interface definition for the StatusBarButton class.

type IStatusItem

type IStatusItem interface {
	objc.IObject
	IsVisible() bool
	SetVisible(value bool)
	Behavior() StatusItemBehavior
	SetBehavior(value StatusItemBehavior)
	StatusBar() StatusBar
	AutosaveName() StatusItemAutosaveName
	SetAutosaveName(value StatusItemAutosaveName)
	Length() float64
	SetLength(value float64)
	Menu() Menu
	SetMenu(value IMenu)
	Button() StatusBarButton
}

An interface definition for the StatusItem class.

type IStepper

type IStepper interface {
	IControl
	ValueWraps() bool
	SetValueWraps(value bool)
	MinValue() float64
	SetMinValue(value float64)
	Increment() float64
	SetIncrement(value float64)
	MaxValue() float64
	SetMaxValue(value float64)
	Autorepeat() bool
	SetAutorepeat(value bool)
}

An interface definition for the Stepper class.

type IStepperCell

type IStepperCell interface {
	IActionCell
	ValueWraps() bool
	SetValueWraps(value bool)
	MinValue() float64
	SetMinValue(value float64)
	Increment() float64
	SetIncrement(value float64)
	MaxValue() float64
	SetMaxValue(value float64)
	Autorepeat() bool
	SetAutorepeat(value bool)
}

An interface definition for the StepperCell class.

type IStepperTouchBarItem

type IStepperTouchBarItem interface {
	ITouchBarItem
	Target() objc.Object
	SetTarget(value objc.IObject)
	SetCustomizationLabel(value string)
	Action() objc.Selector
	SetAction(value objc.Selector)
	Value() float64
	SetValue(value float64)
	MinValue() float64
	SetMinValue(value float64)
	Increment() float64
	SetIncrement(value float64)
	MaxValue() float64
	SetMaxValue(value float64)
}

An interface definition for the StepperTouchBarItem class.

type IStoryboard

type IStoryboard interface {
	objc.IObject
	InstantiateControllerWithIdentifierCreator(identifier StoryboardSceneIdentifier, block StoryboardControllerCreator) objc.Object
	InstantiateInitialController() objc.Object
	InstantiateInitialControllerWithCreator(block StoryboardControllerCreator) objc.Object
}

An interface definition for the Storyboard class.

type IStoryboardSegue

type IStoryboardSegue interface {
	objc.IObject
	Perform()
	SourceController() objc.Object
	DestinationController() objc.Object
	Identifier() StoryboardSegueIdentifier
}

An interface definition for the StoryboardSegue class.

type IStringDrawingContext

type IStringDrawingContext interface {
	objc.IObject
	TotalBounds() coregraphics.Rect
	ActualScaleFactor() float64
	MinimumScaleFactor() float64
	SetMinimumScaleFactor(value float64)
}

An interface definition for the StringDrawingContext class.

type ISwitch

type ISwitch interface {
	IControl
	State() ControlStateValue
	SetState(value ControlStateValue)
}

An interface definition for the Switch class.

type ITabView

type ITabView interface {
	IView
	TabViewItemAtIndex(index int) TabViewItem
	TabViewItemAtPoint(point foundation.Point) TabViewItem
	RemoveTabViewItem(tabViewItem ITabViewItem)
	TakeSelectedTabViewItemFromSender(sender objc.IObject)
	SelectFirstTabViewItem(sender objc.IObject)
	SelectPreviousTabViewItem(sender objc.IObject)
	IndexOfTabViewItemWithIdentifier(identifier objc.IObject) int
	SelectNextTabViewItem(sender objc.IObject)
	SelectTabViewItemAtIndex(index int)
	SelectLastTabViewItem(sender objc.IObject)
	SelectTabViewItem(tabViewItem ITabViewItem)
	InsertTabViewItemAtIndex(tabViewItem ITabViewItem, index int)
	IndexOfTabViewItem(tabViewItem ITabViewItem) int
	AddTabViewItem(tabViewItem ITabViewItem)
	SelectTabViewItemWithIdentifier(identifier objc.IObject)
	MinimumSize() foundation.Size
	ControlSize() ControlSize
	SetControlSize(value ControlSize)
	TabViewItems() []TabViewItem
	SetTabViewItems(value []ITabViewItem)
	ContentRect() foundation.Rect
	NumberOfTabViewItems() int
	AllowsTruncatedLabels() bool
	SetAllowsTruncatedLabels(value bool)
	SelectedTabViewItem() TabViewItem
	Delegate() TabViewDelegateWrapper
	SetDelegate(value PTabViewDelegate)
	SetDelegateObject(valueObject objc.IObject)
	TabPosition() TabPosition
	SetTabPosition(value TabPosition)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	TabViewBorderType() TabViewBorderType
	SetTabViewBorderType(value TabViewBorderType)
	Font() Font
	SetFont(value IFont)
	TabViewType() TabViewType
	SetTabViewType(value TabViewType)
}

An interface definition for the TabView class.

type ITabViewController

type ITabViewController interface {
	IViewController
	TabViewItemForViewController(viewController IViewController) TabViewItem
	ToolbarAllowedItemIdentifiers(toolbar IToolbar) []ToolbarItemIdentifier
	RemoveTabViewItem(tabViewItem ITabViewItem)
	ToolbarItemForItemIdentifierWillBeInsertedIntoToolbar(toolbar IToolbar, itemIdentifier ToolbarItemIdentifier, flag bool) ToolbarItem
	ToolbarDefaultItemIdentifiers(toolbar IToolbar) []ToolbarItemIdentifier
	ToolbarSelectableItemIdentifiers(toolbar IToolbar) []ToolbarItemIdentifier
	InsertTabViewItemAtIndex(tabViewItem ITabViewItem, index int)
	AddTabViewItem(tabViewItem ITabViewItem)
	CanPropagateSelectedChildViewControllerTitle() bool
	SetCanPropagateSelectedChildViewControllerTitle(value bool)
	TabStyle() TabViewControllerTabStyle
	SetTabStyle(value TabViewControllerTabStyle)
	TabViewItems() []TabViewItem
	SetTabViewItems(value []ITabViewItem)
	TabView() TabView
	SetTabView(value ITabView)
	TransitionOptions() ViewControllerTransitionOptions
	SetTransitionOptions(value ViewControllerTransitionOptions)
	SelectedTabViewItemIndex() int
	SetSelectedTabViewItemIndex(value int)
}

An interface definition for the TabViewController class.

type ITabViewItem

type ITabViewItem interface {
	objc.IObject
	SizeOfLabel(computeMin bool) foundation.Size
	DrawLabelInRect(shouldTruncateLabel bool, labelRect foundation.Rect)
	Color() Color
	SetColor(value IColor)
	TabView() TabView
	ToolTip() string
	SetToolTip(value string)
	View() View
	SetView(value IView)
	TabState() TabState
	ViewController() ViewController
	SetViewController(value IViewController)
	InitialFirstResponder() View
	SetInitialFirstResponder(value IView)
	Label() string
	SetLabel(value string)
	Image() Image
	SetImage(value IImage)
	Identifier() objc.Object
	SetIdentifier(value objc.IObject)
}

An interface definition for the TabViewItem class.

type ITableCellView

type ITableCellView interface {
	IView
	BackgroundStyle() BackgroundStyle
	SetBackgroundStyle(value BackgroundStyle)
	RowSizeStyle() TableViewRowSizeStyle
	SetRowSizeStyle(value TableViewRowSizeStyle)
	TextField() TextField
	SetTextField(value ITextField)
	ObjectValue() objc.Object
	SetObjectValue(value objc.IObject)
	DraggingImageComponents() []DraggingImageComponent
	ImageView() ImageView
	SetImageView(value IImageView)
}

An interface definition for the TableCellView class.

type ITableColumn

type ITableColumn interface {
	objc.IObject
	SizeToFit()
	Width() float64
	SetWidth(value float64)
	IsHidden() bool
	SetHidden(value bool)
	IsEditable() bool
	SetEditable(value bool)
	MinWidth() float64
	SetMinWidth(value float64)
	HeaderToolTip() string
	SetHeaderToolTip(value string)
	HeaderCell() TableHeaderCell
	SetHeaderCell(value ITableHeaderCell)
	MaxWidth() float64
	SetMaxWidth(value float64)
	TableView() TableView
	SetTableView(value ITableView)
	Title() string
	SetTitle(value string)
	ResizingMask() TableColumnResizingOptions
	SetResizingMask(value TableColumnResizingOptions)
	Identifier() UserInterfaceItemIdentifier
	SetIdentifier(value UserInterfaceItemIdentifier)
	SortDescriptorPrototype() foundation.SortDescriptor
	SetSortDescriptorPrototype(value foundation.ISortDescriptor)
}

An interface definition for the TableColumn class.

type ITableHeaderCell

type ITableHeaderCell interface {
	ITextFieldCell
	DrawSortIndicatorWithFrameInViewAscendingPriority(cellFrame foundation.Rect, controlView IView, ascending bool, priority int)
	SortIndicatorRectForBounds(rect foundation.Rect) foundation.Rect
}

An interface definition for the TableHeaderCell class.

type ITableHeaderView

type ITableHeaderView interface {
	IView
	ColumnAtPoint(point foundation.Point) int
	HeaderRectOfColumn(column int) foundation.Rect
	DraggedDistance() float64
	DraggedColumn() int
	ResizedColumn() int
	TableView() TableView
	SetTableView(value ITableView)
}

An interface definition for the TableHeaderView class.

type ITableRowView

type ITableRowView interface {
	IView
	ViewAtColumn(column int) objc.Object
	DrawBackgroundInRect(dirtyRect foundation.Rect)
	DrawSeparatorInRect(dirtyRect foundation.Rect)
	DrawSelectionInRect(dirtyRect foundation.Rect)
	DrawDraggingDestinationFeedbackInRect(dirtyRect foundation.Rect)
	IsPreviousRowSelected() bool
	SetPreviousRowSelected(value bool)
	IsTargetForDropOperation() bool
	SetTargetForDropOperation(value bool)
	IsEmphasized() bool
	SetEmphasized(value bool)
	IsSelected() bool
	SetSelected(value bool)
	IsFloating() bool
	SetFloating(value bool)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	IsGroupRowStyle() bool
	SetGroupRowStyle(value bool)
	InteriorBackgroundStyle() BackgroundStyle
	SelectionHighlightStyle() TableViewSelectionHighlightStyle
	SetSelectionHighlightStyle(value TableViewSelectionHighlightStyle)
	IndentationForDropOperation() float64
	SetIndentationForDropOperation(value float64)
	NumberOfColumns() int
	IsNextRowSelected() bool
	SetNextRowSelected(value bool)
	DraggingDestinationFeedbackStyle() TableViewDraggingDestinationFeedbackStyle
	SetDraggingDestinationFeedbackStyle(value TableViewDraggingDestinationFeedbackStyle)
}

An interface definition for the TableRowView class.

type ITableView

type ITableView interface {
	IControl
	DrawBackgroundInClipRect(clipRect foundation.Rect)
	ScrollRowToVisible(row int)
	ReloadDataForRowIndexesColumnIndexes(rowIndexes foundation.IIndexSet, columnIndexes foundation.IIndexSet)
	RegisterNibForIdentifier(nib INib, identifier UserInterfaceItemIdentifier)
	BeginUpdates()
	DrawRowClipRect(row int, clipRect foundation.Rect)
	ViewAtColumnRowMakeIfNecessary(column int, row int, makeIfNecessary bool) View
	TableColumnWithIdentifier(identifier UserInterfaceItemIdentifier) TableColumn
	RowForView(view IView) int
	SetDropRowDropOperation(row int, dropOperation TableViewDropOperation)
	EndUpdates()
	HideRowsAtIndexesWithAnimation(indexes foundation.IIndexSet, rowAnimation TableViewAnimationOptions)
	DeselectAll(sender objc.IObject)
	DeselectColumn(column int)
	RectOfRow(row int) foundation.Rect
	ColumnAtPoint(point foundation.Point) int
	UnhideRowsAtIndexesWithAnimation(indexes foundation.IIndexSet, rowAnimation TableViewAnimationOptions)
	HighlightSelectionInClipRect(clipRect foundation.Rect)
	ScrollColumnToVisible(column int)
	EnumerateAvailableRowViewsUsingBlock(handler func(rowView TableRowView, row int))
	DidRemoveRowViewForRow(rowView ITableRowView, row int)
	EditColumnRowWithEventSelect(column int, row int, event IEvent, select_ bool)
	DrawGridInClipRect(clipRect foundation.Rect)
	SelectAll(sender objc.IObject)
	IndicatorImageInTableColumn(tableColumn ITableColumn) Image
	IsColumnSelected(column int) bool
	DeselectRow(row int)
	RowsInRect(rect foundation.Rect) foundation.Range
	SetIndicatorImageInTableColumn(image IImage, tableColumn ITableColumn)
	ColumnIndexesInRect(rect foundation.Rect) foundation.IndexSet
	AddTableColumn(tableColumn ITableColumn)
	RemoveRowsAtIndexesWithAnimation(indexes foundation.IIndexSet, animationOptions TableViewAnimationOptions)
	MakeViewWithIdentifierOwner(identifier UserInterfaceItemIdentifier, owner objc.IObject) View
	InsertRowsAtIndexesWithAnimation(indexes foundation.IIndexSet, animationOptions TableViewAnimationOptions)
	RowAtPoint(point foundation.Point) int
	SelectColumnIndexesByExtendingSelection(indexes foundation.IIndexSet, extend bool)
	DragImageForRowsWithIndexesTableColumnsEventOffset(dragRows foundation.IIndexSet, tableColumns []ITableColumn, dragEvent IEvent, dragImageOffset foundation.PointPointer) Image
	RectOfColumn(column int) foundation.Rect
	SizeLastColumnToFit()
	ColumnWithIdentifier(identifier UserInterfaceItemIdentifier) int
	SelectRowIndexesByExtendingSelection(indexes foundation.IIndexSet, extend bool)
	NoteHeightOfRowsWithIndexesChanged(indexSet foundation.IIndexSet)
	CanDragRowsWithIndexesAtPoint(rowIndexes foundation.IIndexSet, mouseDownPoint foundation.Point) bool
	SetDraggingSourceOperationMaskForLocal(mask DragOperation, isLocal bool)
	FrameOfCellAtColumnRow(column int, row int) foundation.Rect
	RowViewAtRowMakeIfNecessary(row int, makeIfNecessary bool) TableRowView
	Tile()
	MoveRowAtIndexToIndex(oldIndex int, newIndex int)
	ColumnForView(view IView) int
	NoteNumberOfRowsChanged()
	DidAddRowViewForRow(rowView ITableRowView, row int)
	MoveColumnToColumn(oldIndex int, newIndex int)
	ReloadData()
	IsRowSelected(row int) bool
	RemoveTableColumn(tableColumn ITableColumn)
	DataSource() TableViewDataSourceWrapper
	SetDataSource(value PTableViewDataSource)
	SetDataSourceObject(valueObject objc.IObject)
	VerticalMotionCanBeginDrag() bool
	SetVerticalMotionCanBeginDrag(value bool)
	HighlightedTableColumn() TableColumn
	SetHighlightedTableColumn(value ITableColumn)
	DoubleAction() objc.Selector
	SetDoubleAction(value objc.Selector)
	EditedRow() int
	HiddenRowIndexes() foundation.IndexSet
	UsesStaticContents() bool
	SetUsesStaticContents(value bool)
	AutosaveTableColumns() bool
	SetAutosaveTableColumns(value bool)
	AllowsEmptySelection() bool
	SetAllowsEmptySelection(value bool)
	AllowsColumnResizing() bool
	SetAllowsColumnResizing(value bool)
	RowHeight() float64
	SetRowHeight(value float64)
	EditedColumn() int
	AllowsColumnReordering() bool
	SetAllowsColumnReordering(value bool)
	ClickedColumn() int
	RowSizeStyle() TableViewRowSizeStyle
	SetRowSizeStyle(value TableViewRowSizeStyle)
	AllowsTypeSelect() bool
	SetAllowsTypeSelect(value bool)
	SortDescriptors() []foundation.SortDescriptor
	SetSortDescriptors(value []foundation.ISortDescriptor)
	Style() TableViewStyle
	SetStyle(value TableViewStyle)
	CornerView() View
	SetCornerView(value IView)
	EffectiveRowSizeStyle() TableViewRowSizeStyle
	Delegate() TableViewDelegateWrapper
	SetDelegate(value PTableViewDelegate)
	SetDelegateObject(valueObject objc.IObject)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	AutosaveName() TableViewAutosaveName
	SetAutosaveName(value TableViewAutosaveName)
	EffectiveStyle() TableViewStyle
	UsesAutomaticRowHeights() bool
	SetUsesAutomaticRowHeights(value bool)
	UsesAlternatingRowBackgroundColors() bool
	SetUsesAlternatingRowBackgroundColors(value bool)
	NumberOfSelectedRows() int
	ClickedRow() int
	AllowsMultipleSelection() bool
	SetAllowsMultipleSelection(value bool)
	SelectedColumn() int
	GridStyleMask() TableViewGridLineStyle
	SetGridStyleMask(value TableViewGridLineStyle)
	SelectedRow() int
	SelectionHighlightStyle() TableViewSelectionHighlightStyle
	SetSelectionHighlightStyle(value TableViewSelectionHighlightStyle)
	RowActionsVisible() bool
	SetRowActionsVisible(value bool)
	RegisteredNibsByIdentifier() map[UserInterfaceItemIdentifier]Nib
	SelectedColumnIndexes() foundation.IndexSet
	AllowsColumnSelection() bool
	SetAllowsColumnSelection(value bool)
	HeaderView() TableHeaderView
	SetHeaderView(value ITableHeaderView)
	NumberOfRows() int
	FloatsGroupRows() bool
	SetFloatsGroupRows(value bool)
	SelectedRowIndexes() foundation.IndexSet
	IntercellSpacing() foundation.Size
	SetIntercellSpacing(value foundation.Size)
	NumberOfColumns() int
	ColumnAutoresizingStyle() TableViewColumnAutoresizingStyle
	SetColumnAutoresizingStyle(value TableViewColumnAutoresizingStyle)
	GridColor() Color
	SetGridColor(value IColor)
	TableColumns() []TableColumn
	DraggingDestinationFeedbackStyle() TableViewDraggingDestinationFeedbackStyle
	SetDraggingDestinationFeedbackStyle(value TableViewDraggingDestinationFeedbackStyle)
	NumberOfSelectedColumns() int
}

An interface definition for the TableView class.

type ITableViewDiffableDataSource

type ITableViewDiffableDataSource interface {
	objc.IObject
	RowForItemIdentifier(identifier objc.IObject) int
	ItemIdentifierForRow(row int) objc.Object
	RowForSectionIdentifier(identifier objc.IObject) int
	SectionIdentifierForRow(row int) objc.Object
	RowViewProvider() TableViewDiffableDataSourceRowProvider
	SetRowViewProvider(value TableViewDiffableDataSourceRowProvider)
	SectionHeaderViewProvider() TableViewDiffableDataSourceSectionHeaderViewProvider
	SetSectionHeaderViewProvider(value TableViewDiffableDataSourceSectionHeaderViewProvider)
	DefaultRowAnimation() TableViewAnimationOptions
	SetDefaultRowAnimation(value TableViewAnimationOptions)
}

An interface definition for the TableViewDiffableDataSource class.

type ITableViewRowAction

type ITableViewRowAction interface {
	objc.IObject
	Style() TableViewRowActionStyle
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	Title() string
	SetTitle(value string)
	Image() Image
	SetImage(value IImage)
}

An interface definition for the TableViewRowAction class.

type IText

type IText interface {
	IView
	Delete(sender objc.IObject)
	CopyFont(sender objc.IObject)
	Copy(sender objc.IObject)
	PasteRuler(sender objc.IObject)
	RTFFromRange(range_ foundation.Range) []byte
	RTFDFromRange(range_ foundation.Range) []byte
	ScrollRangeToVisible(range_ foundation.Range)
	SelectAll(sender objc.IObject)
	AlignRight(sender objc.IObject)
	Underline(sender objc.IObject)
	ShowGuessPanel(sender objc.IObject)
	ChangeFont(sender objc.IObject)
	Unscript(sender objc.IObject)
	SetFontRange(font IFont, range_ foundation.Range)
	AlignLeft(sender objc.IObject)
	ReplaceCharactersInRangeWithRTF(range_ foundation.Range, rtfData []byte)
	Subscript(sender objc.IObject)
	Paste(sender objc.IObject)
	WriteRTFDToFileAtomically(path string, flag bool) bool
	SizeToFit()
	SetTextColorRange(color IColor, range_ foundation.Range)
	ToggleRuler(sender objc.IObject)
	AlignCenter(sender objc.IObject)
	Superscript(sender objc.IObject)
	ReadRTFDFromFile(path string) bool
	PasteFont(sender objc.IObject)
	Cut(sender objc.IObject)
	CopyRuler(sender objc.IObject)
	CheckSpelling(sender objc.IObject)
	MaxSize() foundation.Size
	SetMaxSize(value foundation.Size)
	UsesFontPanel() bool
	SetUsesFontPanel(value bool)
	IsEditable() bool
	SetEditable(value bool)
	Alignment() TextAlignment
	SetAlignment(value TextAlignment)
	IsHorizontallyResizable() bool
	SetHorizontallyResizable(value bool)
	SelectedRange() foundation.Range
	SetSelectedRange(value foundation.Range)
	MinSize() foundation.Size
	SetMinSize(value foundation.Size)
	Delegate() TextDelegateWrapper
	SetDelegate(value PTextDelegate)
	SetDelegateObject(valueObject objc.IObject)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	IsSelectable() bool
	SetSelectable(value bool)
	ImportsGraphics() bool
	SetImportsGraphics(value bool)
	String() string
	SetString(value string)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	Font() Font
	SetFont(value IFont)
	IsFieldEditor() bool
	SetFieldEditor(value bool)
	IsVerticallyResizable() bool
	SetVerticallyResizable(value bool)
	IsRichText() bool
	SetRichText(value bool)
	IsRulerVisible() bool
	TextColor() Color
	SetTextColor(value IColor)
	BaseWritingDirection() WritingDirection
	SetBaseWritingDirection(value WritingDirection)
}

An interface definition for the Text class.

type ITextAlternatives

type ITextAlternatives interface {
	objc.IObject
	NoteSelectedAlternativeString(alternativeString string)
	PrimaryString() string
	AlternativeStrings() []string
}

An interface definition for the TextAlternatives class.

type ITextAttachment

type ITextAttachment interface {
	objc.IObject
	FileWrapper() foundation.FileWrapper
	SetFileWrapper(value foundation.IFileWrapper)
	LineLayoutPadding() float64
	SetLineLayoutPadding(value float64)
	Bounds() coregraphics.Rect
	SetBounds(value coregraphics.Rect)
	AllowsTextAttachmentView() bool
	SetAllowsTextAttachmentView(value bool)
	UsesTextAttachmentView() bool
	FileType() string
	SetFileType(value string)
	Contents() []byte
	SetContents(value []byte)
	AttachmentCell() objc.Object
	SetAttachmentCell(value objc.IObject)
	Image() Image
	SetImage(value IImage)
}

An interface definition for the TextAttachment class.

type ITextAttachmentCell

type ITextAttachmentCell interface {
	ICell
	WantsToTrackMouseForEventInRectOfViewAtCharacterIndex(theEvent IEvent, cellFrame foundation.Rect, controlView IView, charIndex uint) bool
	WantsToTrackMouse() bool
	DrawWithFrameInViewCharacterIndex(cellFrame foundation.Rect, controlView IView, charIndex uint)
	CellBaselineOffset() foundation.Point
	CellFrameForTextContainerProposedLineFragmentGlyphPositionCharacterIndex(textContainer ITextContainer, lineFrag foundation.Rect, position foundation.Point, charIndex uint) foundation.Rect
	TrackMouseInRectOfViewAtCharacterIndexUntilMouseUp(theEvent IEvent, cellFrame foundation.Rect, controlView IView, charIndex uint, flag bool) bool
	Attachment() TextAttachment
	SetAttachment(value ITextAttachment)
}

An interface definition for the TextAttachmentCell class.

type ITextAttachmentViewProvider

type ITextAttachmentViewProvider interface {
	objc.IObject
	AttachmentBoundsForAttributesLocationTextContainerProposedLineFragmentPosition(attributes map[foundation.AttributedStringKey]objc.IObject, location PTextLocation, textContainer ITextContainer, proposedLineFragment coregraphics.Rect, position coregraphics.Point) coregraphics.Rect
	AttachmentBoundsForAttributesLocationObjectTextContainerProposedLineFragmentPosition(attributes map[foundation.AttributedStringKey]objc.IObject, locationObject objc.IObject, textContainer ITextContainer, proposedLineFragment coregraphics.Rect, position coregraphics.Point) coregraphics.Rect
	LoadView()
	TextLayoutManager() TextLayoutManager
	Location() TextLocationWrapper
	View() View
	SetView(value IView)
	TracksTextAttachmentViewBounds() bool
	SetTracksTextAttachmentViewBounds(value bool)
	TextAttachment() TextAttachment
}

An interface definition for the TextAttachmentViewProvider class.

type ITextBlock

type ITextBlock interface {
	objc.IObject
	ValueForDimension(dimension TextBlockDimension) float64
	RectForLayoutAtPointInRectTextContainerCharacterRange(startingPoint foundation.Point, rect foundation.Rect, textContainer ITextContainer, charRange foundation.Range) foundation.Rect
	BorderColorForEdge(edge foundation.RectEdge) Color
	DrawBackgroundWithFrameInViewCharacterRangeLayoutManager(frameRect foundation.Rect, controlView IView, charRange foundation.Range, layoutManager ILayoutManager)
	SetBorderColor(color IColor)
	BoundsRectForContentRectInRectTextContainerCharacterRange(contentRect foundation.Rect, rect foundation.Rect, textContainer ITextContainer, charRange foundation.Range) foundation.Rect
	WidthValueTypeForLayerEdge(layer TextBlockLayer, edge foundation.RectEdge) TextBlockValueType
	SetWidthTypeForLayer(val float64, type_ TextBlockValueType, layer TextBlockLayer)
	WidthForLayerEdge(layer TextBlockLayer, edge foundation.RectEdge) float64
	SetValueTypeForDimension(val float64, type_ TextBlockValueType, dimension TextBlockDimension)
	ValueTypeForDimension(dimension TextBlockDimension) TextBlockValueType
	SetContentWidthType(val float64, type_ TextBlockValueType)
	VerticalAlignment() TextBlockVerticalAlignment
	SetVerticalAlignment(value TextBlockVerticalAlignment)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	ContentWidthValueType() TextBlockValueType
	ContentWidth() float64
}

An interface definition for the TextBlock class.

type ITextCheckingController

type ITextCheckingController interface {
	objc.IObject
	InsertedTextInRange(range_ foundation.Range)
	OrderFrontSubstitutionsPanel(sender objc.IObject)
	CheckTextInRangeTypesOptions(range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject)
	ShowGuessPanel(sender objc.IObject)
	CheckTextInDocument(sender objc.IObject)
	IgnoreSpelling(sender objc.IObject)
	CheckTextInSelection(sender objc.IObject)
	UpdateCandidates()
	ConsiderTextCheckingForRange(range_ foundation.Range)
	DidChangeTextInRange(range_ foundation.Range)
	DidChangeSelectedRange()
	MenuAtIndexClickedOnSelectionEffectiveRange(location uint, clickedOnSelection bool, effectiveRange foundation.RangePointer) Menu
	ValidAnnotations() []foundation.AttributedStringKey
	Invalidate()
	ChangeSpelling(sender objc.IObject)
	CheckSpelling(sender objc.IObject)
	SpellCheckerDocumentTag() int
	SetSpellCheckerDocumentTag(value int)
	Client() TextCheckingClientWrapper
}

An interface definition for the TextCheckingController class.

type ITextContainer

type ITextContainer interface {
	objc.IObject
	ReplaceLayoutManager(newLayoutManager ILayoutManager)
	TextLayoutManager() TextLayoutManager
	MaximumNumberOfLines() uint
	SetMaximumNumberOfLines(value uint)
	HeightTracksTextView() bool
	SetHeightTracksTextView(value bool)
	TextView() TextView
	SetTextView(value ITextView)
	IsSimpleRectangularTextContainer() bool
	LayoutManager() LayoutManager
	SetLayoutManager(value ILayoutManager)
	LineFragmentPadding() float64
	SetLineFragmentPadding(value float64)
	ExclusionPaths() []BezierPath
	SetExclusionPaths(value []IBezierPath)
	WidthTracksTextView() bool
	SetWidthTracksTextView(value bool)
	Size() coregraphics.Size
	SetSize(value coregraphics.Size)
}

An interface definition for the TextContainer class.

type ITextContentManager

type ITextContentManager interface {
	objc.IObject
	RemoveTextLayoutManager(textLayoutManager ITextLayoutManager)
	PerformEditingTransactionUsingBlock(transaction func())
	SynchronizeTextLayoutManagers(completionHandler func(error foundation.Error))
	RecordEditActionInRangeNewTextRange(originalTextRange ITextRange, newTextRange ITextRange)
	TextElementsForRange(range_ ITextRange) []TextElement
	AddTextLayoutManager(textLayoutManager ITextLayoutManager)
	AutomaticallySynchronizesToBackingStore() bool
	SetAutomaticallySynchronizesToBackingStore(value bool)
	AutomaticallySynchronizesTextLayoutManagers() bool
	SetAutomaticallySynchronizesTextLayoutManagers(value bool)
	Delegate() TextContentManagerDelegateWrapper
	SetDelegate(value PTextContentManagerDelegate)
	SetDelegateObject(valueObject objc.IObject)
	PrimaryTextLayoutManager() TextLayoutManager
	SetPrimaryTextLayoutManager(value ITextLayoutManager)
	TextLayoutManagers() []TextLayoutManager
	HasEditingTransaction() bool
}

An interface definition for the TextContentManager class.

type ITextContentStorage

type ITextContentStorage interface {
	ITextContentManager
	AdjustedRangeFromRangeForEditingTextSelection(textRange ITextRange, forEditingTextSelection bool) TextRange
	OffsetFromLocationToLocation(from PTextLocation, to PTextLocation) int
	OffsetFromLocationObjectToLocationObject(fromObject objc.IObject, toObject objc.IObject) int
	AttributedStringForTextElement(textElement ITextElement) foundation.AttributedString
	TextElementForAttributedString(attributedString foundation.IAttributedString) TextElement
	LocationFromLocationWithOffset(location PTextLocation, offset int) TextLocationWrapper
	LocationFromLocationObjectWithOffset(locationObject objc.IObject, offset int) TextLocationWrapper
	AttributedString() foundation.AttributedString
	SetAttributedString(value foundation.IAttributedString)
}

An interface definition for the TextContentStorage class.

type ITextElement

type ITextElement interface {
	objc.IObject
	ElementRange() TextRange
	SetElementRange(value ITextRange)
	TextContentManager() TextContentManager
	SetTextContentManager(value ITextContentManager)
}

An interface definition for the TextElement class.

type ITextField

type ITextField interface {
	IControl
	SelectText(sender objc.IObject)
	TextShouldBeginEditing(textObject IText) bool
	TextDidChange(notification foundation.INotification)
	TextDidBeginEditing(notification foundation.INotification)
	TextShouldEndEditing(textObject IText) bool
	TextDidEndEditing(notification foundation.INotification)
	MaximumNumberOfLines() int
	SetMaximumNumberOfLines(value int)
	AllowsDefaultTighteningForTruncation() bool
	SetAllowsDefaultTighteningForTruncation(value bool)
	IsBordered() bool
	SetBordered(value bool)
	IsEditable() bool
	SetEditable(value bool)
	IsAutomaticTextCompletionEnabled() bool
	SetAutomaticTextCompletionEnabled(value bool)
	LineBreakStrategy() LineBreakStrategy
	SetLineBreakStrategy(value LineBreakStrategy)
	Delegate() TextFieldDelegateWrapper
	SetDelegate(value PTextFieldDelegate)
	SetDelegateObject(valueObject objc.IObject)
	PlaceholderAttributedString() foundation.AttributedString
	SetPlaceholderAttributedString(value foundation.IAttributedString)
	AllowsCharacterPickerTouchBarItem() bool
	SetAllowsCharacterPickerTouchBarItem(value bool)
	AllowsEditingTextAttributes() bool
	SetAllowsEditingTextAttributes(value bool)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	IsSelectable() bool
	SetSelectable(value bool)
	ImportsGraphics() bool
	SetImportsGraphics(value bool)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	TextColor() Color
	SetTextColor(value IColor)
	PlaceholderString() string
	SetPlaceholderString(value string)
	BezelStyle() TextFieldBezelStyle
	SetBezelStyle(value TextFieldBezelStyle)
	IsBezeled() bool
	SetBezeled(value bool)
	PreferredMaxLayoutWidth() float64
	SetPreferredMaxLayoutWidth(value float64)
}

An interface definition for the TextField class.

type ITextFieldCell

type ITextFieldCell interface {
	IActionCell
	SetWantsNotificationForMarkedText(flag bool)
	AllowedInputSourceLocales() []string
	SetAllowedInputSourceLocales(value []string)
	PlaceholderAttributedString() foundation.AttributedString
	SetPlaceholderAttributedString(value foundation.IAttributedString)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	TextColor() Color
	SetTextColor(value IColor)
	PlaceholderString() string
	SetPlaceholderString(value string)
	BezelStyle() TextFieldBezelStyle
	SetBezelStyle(value TextFieldBezelStyle)
}

An interface definition for the TextFieldCell class.

type ITextFinder

type ITextFinder interface {
	objc.IObject
	PerformAction(op TextFinderAction)
	CancelFindIndicator()
	NoteClientStringWillChange()
	ValidateAction(op TextFinderAction) bool
	IncrementalMatchRanges() []foundation.Value
	IsIncrementalSearchingEnabled() bool
	SetIncrementalSearchingEnabled(value bool)
	FindIndicatorNeedsUpdate() bool
	SetFindIndicatorNeedsUpdate(value bool)
	FindBarContainer() TextFinderBarContainerWrapper
	SetFindBarContainer(value PTextFinderBarContainer)
	SetFindBarContainerObject(valueObject objc.IObject)
	IncrementalSearchingShouldDimContentView() bool
	SetIncrementalSearchingShouldDimContentView(value bool)
	Client() TextFinderClientWrapper
	SetClient(value PTextFinderClient)
	SetClientObject(valueObject objc.IObject)
}

An interface definition for the TextFinder class.

type ITextInputContext

type ITextInputContext interface {
	objc.IObject
	Activate()
	DiscardMarkedText()
	HandleEvent(event IEvent) bool
	Deactivate()
	InvalidateCharacterCoordinates()
	KeyboardInputSources() []TextInputSourceIdentifier
	AllowedInputSourceLocales() []string
	SetAllowedInputSourceLocales(value []string)
	AcceptsGlyphInfo() bool
	SetAcceptsGlyphInfo(value bool)
	SelectedKeyboardInputSource() TextInputSourceIdentifier
	SetSelectedKeyboardInputSource(value TextInputSourceIdentifier)
	Client() TextInputClientWrapper
}

An interface definition for the TextInputContext class.

type ITextLayoutFragment

type ITextLayoutFragment interface {
	objc.IObject
	InvalidateLayout()
	FrameForTextAttachmentAtLocation(location PTextLocation) coregraphics.Rect
	FrameForTextAttachmentAtLocationObject(locationObject objc.IObject) coregraphics.Rect
	DrawAtPointInContext(point coregraphics.Point, context coregraphics.ContextRef)
	TextLayoutManager() TextLayoutManager
	BottomMargin() float64
	TextLineFragments() []TextLineFragment
	State() TextLayoutFragmentState
	RangeInElement() TextRange
	LayoutQueue() foundation.OperationQueue
	SetLayoutQueue(value foundation.IOperationQueue)
	TopMargin() float64
	LeadingPadding() float64
	LayoutFragmentFrame() coregraphics.Rect
	RenderingSurfaceBounds() coregraphics.Rect
	TextAttachmentViewProviders() []TextAttachmentViewProvider
	TrailingPadding() float64
	TextElement() TextElement
}

An interface definition for the TextLayoutFragment class.

type ITextLayoutManager

type ITextLayoutManager interface {
	objc.IObject
	TextLayoutFragmentForPosition(position coregraphics.Point) TextLayoutFragment
	EnsureLayoutForRange(range_ ITextRange)
	RenderingAttributesForLinkAtLocation(link objc.IObject, location PTextLocation) map[foundation.AttributedStringKey]objc.Object
	RenderingAttributesForLinkAtLocationObject(link objc.IObject, locationObject objc.IObject) map[foundation.AttributedStringKey]objc.Object
	SetRenderingAttributesForTextRange(renderingAttributes map[foundation.AttributedStringKey]objc.IObject, textRange ITextRange)
	ReplaceContentsInRangeWithAttributedString(range_ ITextRange, attributedString foundation.IAttributedString)
	TextLayoutFragmentForLocation(location PTextLocation) TextLayoutFragment
	TextLayoutFragmentForLocationObject(locationObject objc.IObject) TextLayoutFragment
	EnumerateTextSegmentsInRangeTypeOptionsUsingBlock(textRange ITextRange, type_ TextLayoutManagerSegmentType, options TextLayoutManagerSegmentOptions, block func(textSegmentRange TextRange, textSegmentFrame coregraphics.Rect, baselinePosition float64, textContainer TextContainer) bool)
	RemoveRenderingAttributeForTextRange(renderingAttribute foundation.AttributedStringKey, textRange ITextRange)
	EnumerateTextLayoutFragmentsFromLocationOptionsUsingBlock(location PTextLocation, options TextLayoutFragmentEnumerationOptions, block func(layoutFragment TextLayoutFragment) bool) TextLocationWrapper
	EnumerateTextLayoutFragmentsFromLocationObjectOptionsUsingBlock(locationObject objc.IObject, options TextLayoutFragmentEnumerationOptions, block func(layoutFragment TextLayoutFragment) bool) TextLocationWrapper
	EnumerateRenderingAttributesFromLocationReverseUsingBlock(location PTextLocation, reverse bool, block func(textLayoutManager TextLayoutManager, attributes map[foundation.AttributedStringKey]objc.Object, textRange TextRange) bool)
	EnumerateRenderingAttributesFromLocationObjectReverseUsingBlock(locationObject objc.IObject, reverse bool, block func(textLayoutManager TextLayoutManager, attributes map[foundation.AttributedStringKey]objc.Object, textRange TextRange) bool)
	AddRenderingAttributeValueForTextRange(renderingAttribute foundation.AttributedStringKey, value objc.IObject, textRange ITextRange)
	EnsureLayoutForBounds(bounds coregraphics.Rect)
	ReplaceTextContentManager(textContentManager ITextContentManager)
	InvalidateLayoutForRange(range_ ITextRange)
	InvalidateRenderingAttributesForTextRange(textRange ITextRange)
	TextSelections() []TextSelection
	SetTextSelections(value []ITextSelection)
	TextSelectionNavigation() TextSelectionNavigation
	SetTextSelectionNavigation(value ITextSelectionNavigation)
	RenderingAttributesValidator() func(textLayoutManager TextLayoutManager, textLayoutFragment TextLayoutFragment)
	SetRenderingAttributesValidator(value func(textLayoutManager TextLayoutManager, textLayoutFragment TextLayoutFragment))
	TextViewportLayoutController() TextViewportLayoutController
	LayoutQueue() foundation.OperationQueue
	SetLayoutQueue(value foundation.IOperationQueue)
	UsageBoundsForTextContainer() coregraphics.Rect
	Delegate() TextLayoutManagerDelegateWrapper
	SetDelegate(value PTextLayoutManagerDelegate)
	SetDelegateObject(valueObject objc.IObject)
	LimitsLayoutForSuspiciousContents() bool
	SetLimitsLayoutForSuspiciousContents(value bool)
	UsesHyphenation() bool
	SetUsesHyphenation(value bool)
	TextContainer() TextContainer
	SetTextContainer(value ITextContainer)
	UsesFontLeading() bool
	SetUsesFontLeading(value bool)
	TextContentManager() TextContentManager
}

An interface definition for the TextLayoutManager class.

type ITextLineFragment

type ITextLineFragment interface {
	objc.IObject
	DrawAtPointInContext(point coregraphics.Point, context coregraphics.ContextRef)
	CharacterIndexForPoint(point coregraphics.Point) int
	LocationForCharacterAtIndex(index int) coregraphics.Point
	FractionOfDistanceThroughGlyphForPoint(point coregraphics.Point) float64
	TypographicBounds() coregraphics.Rect
	CharacterRange() foundation.Range
	AttributedString() foundation.AttributedString
	GlyphOrigin() coregraphics.Point
}

An interface definition for the TextLineFragment class.

type ITextList

type ITextList interface {
	objc.IObject
	MarkerForItemNumber(itemNumber int) string
	ListOptions() TextListOptions
	StartingItemNumber() int
	SetStartingItemNumber(value int)
	MarkerFormat() TextListMarkerFormat
}

An interface definition for the TextList class.

type ITextParagraph

type ITextParagraph interface {
	ITextElement
	AttributedString() foundation.AttributedString
	ParagraphContentRange() TextRange
	ParagraphSeparatorRange() TextRange
}

An interface definition for the TextParagraph class.

type ITextRange

type ITextRange interface {
	objc.IObject
	IsEqualToTextRange(textRange ITextRange) bool
	ContainsLocation(location PTextLocation) bool
	ContainsLocationObject(locationObject objc.IObject) bool
	ContainsRange(textRange ITextRange) bool
	IntersectsWithTextRange(textRange ITextRange) bool
	IsEmpty() bool
	Location() TextLocationWrapper
	EndLocation() TextLocationWrapper
}

An interface definition for the TextRange class.

type ITextSelection

type ITextSelection interface {
	objc.IObject
	TextSelectionWithTextRanges(textRanges []ITextRange) TextSelection
	IsLogical() bool
	SetLogical(value bool)
	IsTransient() bool
	Affinity() TextSelectionAffinity
	AnchorPositionOffset() float64
	SetAnchorPositionOffset(value float64)
	SecondarySelectionLocation() TextLocationWrapper
	SetSecondarySelectionLocation(value PTextLocation)
	SetSecondarySelectionLocationObject(valueObject objc.IObject)
	TextRanges() []TextRange
	TypingAttributes() map[foundation.AttributedStringKey]objc.Object
	SetTypingAttributes(value map[foundation.AttributedStringKey]objc.IObject)
	Granularity() TextSelectionGranularity
}

An interface definition for the TextSelection class.

type ITextSelectionNavigation

type ITextSelectionNavigation interface {
	objc.IObject
	TextSelectionsInteractingAtPointInContainerAtLocationAnchorsModifiersSelectingBounds(point coregraphics.Point, containerLocation PTextLocation, anchors []ITextSelection, modifiers TextSelectionNavigationModifier, selecting bool, bounds coregraphics.Rect) []TextSelection
	TextSelectionsInteractingAtPointInContainerAtLocationObjectAnchorsModifiersSelectingBounds(point coregraphics.Point, containerLocationObject objc.IObject, anchors []ITextSelection, modifiers TextSelectionNavigationModifier, selecting bool, bounds coregraphics.Rect) []TextSelection
	ResolvedInsertionLocationForTextSelectionWritingDirection(textSelection ITextSelection, writingDirection TextSelectionNavigationWritingDirection) TextLocationWrapper
	TextSelectionForSelectionGranularityEnclosingTextSelection(selectionGranularity TextSelectionGranularity, textSelection ITextSelection) TextSelection
	DestinationSelectionForTextSelectionDirectionDestinationExtendingConfined(textSelection ITextSelection, direction TextSelectionNavigationDirection, destination TextSelectionNavigationDestination, extending bool, confined bool) TextSelection
	DeletionRangesForTextSelectionDirectionDestinationAllowsDecomposition(textSelection ITextSelection, direction TextSelectionNavigationDirection, destination TextSelectionNavigationDestination, allowsDecomposition bool) []TextRange
	FlushLayoutCache()
	TextSelectionDataSource() TextSelectionDataSourceWrapper
	RotatesCoordinateSystemForLayoutOrientation() bool
	SetRotatesCoordinateSystemForLayoutOrientation(value bool)
	AllowsNonContiguousRanges() bool
	SetAllowsNonContiguousRanges(value bool)
}

An interface definition for the TextSelectionNavigation class.

type ITextStorage

type ITextStorage interface {
	foundation.IMutableAttributedString
	EnsureAttributesAreFixedInRange(range_ foundation.Range)
	InvalidateAttributesInRange(range_ foundation.Range)
	EditedRangeChangeInLength(editedMask TextStorageEditActions, editedRange foundation.Range, delta int)
	ProcessEditing()
	RemoveLayoutManager(aLayoutManager ILayoutManager)
	AddLayoutManager(aLayoutManager ILayoutManager)
	Paragraphs() []TextStorage
	SetParagraphs(value []ITextStorage)
	LayoutManagers() []LayoutManager
	ChangeInLength() int
	Characters() []TextStorage
	SetCharacters(value []ITextStorage)
	EditedRange() foundation.Range
	Delegate() TextStorageDelegateWrapper
	SetDelegate(value PTextStorageDelegate)
	SetDelegateObject(valueObject objc.IObject)
	ForegroundColor() Color
	SetForegroundColor(value IColor)
	Font() Font
	SetFont(value IFont)
	EditedMask() TextStorageEditActions
	AttributeRuns() []TextStorage
	SetAttributeRuns(value []ITextStorage)
	Words() []TextStorage
	SetWords(value []ITextStorage)
	TextStorageObserver() TextStorageObservingWrapper
	SetTextStorageObserver(value PTextStorageObserving)
	SetTextStorageObserverObject(valueObject objc.IObject)
	FixesAttributesLazily() bool
}

An interface definition for the TextStorage class.

type ITextTab

type ITextTab interface {
	objc.IObject
	Options() map[TextTabOptionKey]objc.Object
	Location() float64
	Alignment() TextAlignment
}

An interface definition for the TextTab class.

type ITextTable

type ITextTable interface {
	ITextBlock
	BoundsRectForBlockContentRectInRectTextContainerCharacterRange(block ITextTableBlock, contentRect foundation.Rect, rect foundation.Rect, textContainer ITextContainer, charRange foundation.Range) foundation.Rect
	DrawBackgroundForBlockWithFrameInViewCharacterRangeLayoutManager(block ITextTableBlock, frameRect foundation.Rect, controlView IView, charRange foundation.Range, layoutManager ILayoutManager)
	RectForBlockLayoutAtPointInRectTextContainerCharacterRange(block ITextTableBlock, startingPoint foundation.Point, rect foundation.Rect, textContainer ITextContainer, charRange foundation.Range) foundation.Rect
	CollapsesBorders() bool
	SetCollapsesBorders(value bool)
	HidesEmptyCells() bool
	SetHidesEmptyCells(value bool)
	LayoutAlgorithm() TextTableLayoutAlgorithm
	SetLayoutAlgorithm(value TextTableLayoutAlgorithm)
	NumberOfColumns() uint
	SetNumberOfColumns(value uint)
}

An interface definition for the TextTable class.

type ITextTableBlock

type ITextTableBlock interface {
	ITextBlock
	RowSpan() int
	StartingRow() int
	Table() TextTable
	StartingColumn() int
	ColumnSpan() int
}

An interface definition for the TextTableBlock class.

type ITextView

type ITextView interface {
	IText
	DragSelectionWithEventOffsetSlideBack(event IEvent, mouseOffset foundation.Size, slideBack bool) bool
	OrderFrontLinkPanel(sender objc.IObject)
	PreferredPasteboardTypeFromArrayRestrictedToTypesFromArray(availableTypes []PasteboardType, allowedTypes []PasteboardType) PasteboardType
	ToggleAutomaticLinkDetection(sender objc.IObject)
	UseStandardLigatures(sender objc.IObject)
	ShouldChangeTextInRangeReplacementString(affectedCharRange foundation.Range, replacementString string) bool
	DidChangeText()
	SetSelectedRangeAffinityStillSelecting(charRange foundation.Range, affinity SelectionAffinity, stillSelectingFlag bool)
	SetAlignmentRange(alignment TextAlignment, range_ foundation.Range)
	QuickLookPreviewableItemsInRanges(ranges []foundation.IValue) []objc.Object
	ToggleAutomaticTextCompletion(sender objc.IObject) objc.Object
	ToggleSmartInsertDelete(sender objc.IObject)
	ShowFindIndicatorForRange(charRange foundation.Range)
	SetSelectedRangesAffinityStillSelecting(ranges []foundation.IValue, affinity SelectionAffinity, stillSelectingFlag bool)
	CompletionsForPartialWordRangeIndexOfSelectedItem(charRange foundation.Range, index *int) []string
	BreakUndoCoalescing()
	ChangeColor(sender objc.IObject)
	OrderFrontSubstitutionsPanel(sender objc.IObject)
	DragImageForSelectionWithEventOrigin(event IEvent, origin foundation.PointPointer) Image
	StartSpeaking(sender objc.IObject)
	SmartInsertAfterStringForStringReplacingRange(pasteString string, charRangeToReplace foundation.Range) string
	SmartInsertBeforeStringForStringReplacingRange(pasteString string, charRangeToReplace foundation.Range) string
	UpdateQuickLookPreviewPanel()
	UpdateDragTypeRegistration()
	SetSpellingStateRange(value int, charRange foundation.Range)
	HandleTextCheckingResultsForRangeTypesOptionsOrthographyWordCount(results []foundation.ITextCheckingResult, range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject, orthography foundation.IOrthography, wordCount int)
	DrawViewBackgroundInRect(rect foundation.Rect)
	UseAllLigatures(sender objc.IObject)
	ToggleAutomaticSpellingCorrection(sender objc.IObject)
	TightenKerning(sender objc.IObject)
	ToggleContinuousSpellChecking(sender objc.IObject)
	ToggleAutomaticDataDetection(sender objc.IObject)
	SelectionRangeForProposedRangeGranularity(proposedCharRange foundation.Range, granularity SelectionGranularity) foundation.Range
	CheckTextInRangeTypesOptions(range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject)
	OrderFrontSpacingPanel(sender objc.IObject)
	UseStandardKerning(sender objc.IObject)
	ShouldChangeTextInRangesReplacementStrings(affectedRanges []foundation.IValue, replacementStrings []string) bool
	SetConstrainedFrameSize(desiredSize foundation.Size)
	OrderFrontTablePanel(sender objc.IObject)
	InvalidateTextContainerOrigin()
	LoosenKerning(sender objc.IObject)
	CheckTextInDocument(sender objc.IObject)
	ReadSelectionFromPasteboard(pboard IPasteboard) bool
	ToggleAutomaticTextReplacement(sender objc.IObject)
	OrderFrontSharingServicePicker(sender objc.IObject) objc.Object
	ToggleAutomaticDashSubstitution(sender objc.IObject)
	Outline(sender objc.IObject)
	PasteAsPlainText(sender objc.IObject)
	PerformValidatedReplacementInRangeWithAttributedString(range_ foundation.Range, attributedString foundation.IAttributedString) bool
	SetLayoutOrientation(orientation TextLayoutOrientation)
	DragOperationForDraggingInfoType(dragInfo PDraggingInfo, type_ PasteboardType) DragOperation
	DragOperationForDraggingInfoObjectType(dragInfoObject objc.IObject, type_ PasteboardType) DragOperation
	CheckTextInSelection(sender objc.IObject)
	UpdateTouchBarItemIdentifiers()
	OrderFrontListPanel(sender objc.IObject)
	RulerViewDidAddMarker(ruler IRulerView, marker IRulerMarker)
	InsertCompletionForPartialWordRangeMovementIsFinal(word string, charRange foundation.Range, movement int, flag bool)
	Complete(sender objc.IObject)
	ClickedOnLinkAtIndex(link objc.IObject, charIndex uint)
	AlignJustified(sender objc.IObject)
	PasteAsRichText(sender objc.IObject)
	UpdateCandidates()
	ChangeLayoutOrientation(sender objc.IObject)
	ToggleQuickLookPreviewPanel(sender objc.IObject) objc.Object
	SmartInsertForStringReplacingRangeBeforeStringAfterString(pasteString string, charRangeToReplace foundation.Range, beforeString string, afterString string)
	WriteSelectionToPasteboardTypes(pboard IPasteboard, types []PasteboardType) bool
	TurnOffKerning(sender objc.IObject)
	ChangeDocumentBackgroundColor(sender objc.IObject)
	DrawInsertionPointInRectColorTurnedOn(rect foundation.Rect, color IColor, flag bool)
	StopSpeaking(sender objc.IObject)
	RaiseBaseline(sender objc.IObject)
	TurnOffLigatures(sender objc.IObject)
	UpdateTextTouchBarItems()
	ToggleAutomaticQuoteSubstitution(sender objc.IObject)
	LowerBaseline(sender objc.IObject)
	UpdateRuler()
	ReplaceTextContainer(newContainer ITextContainer)
	ChangeAttributes(sender objc.IObject)
	SetBaseWritingDirectionRange(writingDirection WritingDirection, range_ foundation.Range)
	SetNeedsDisplayInRectAvoidAdditionalLayout(rect foundation.Rect, flag bool)
	PerformFindPanelAction(sender objc.IObject)
	UpdateFontPanel()
	SmartDeleteRangeForProposedRange(proposedCharRange foundation.Range) foundation.Range
	ToggleGrammarChecking(sender objc.IObject)
	CleanUpAfterDragOperation()
	CharacterIndexForInsertionAtPoint(point foundation.Point) uint
	UpdateInsertionPointStateAndRestartTimer(restartFlag bool)
	TextLayoutManager() TextLayoutManager
	DefaultParagraphStyle() ParagraphStyle
	SetDefaultParagraphStyle(value IParagraphStyle)
	IsAutomaticLinkDetectionEnabled() bool
	SetAutomaticLinkDetectionEnabled(value bool)
	AllowsImageEditing() bool
	SetAllowsImageEditing(value bool)
	UsesAdaptiveColorMappingForDarkAppearance() bool
	SetUsesAdaptiveColorMappingForDarkAppearance(value bool)
	IsAutomaticTextReplacementEnabled() bool
	SetAutomaticTextReplacementEnabled(value bool)
	UsesRolloverButtonForSelection() bool
	SetUsesRolloverButtonForSelection(value bool)
	ShouldDrawInsertionPoint() bool
	IsAutomaticQuoteSubstitutionEnabled() bool
	SetAutomaticQuoteSubstitutionEnabled(value bool)
	SpellCheckerDocumentTag() int
	RangeForUserParagraphAttributeChange() foundation.Range
	InsertionPointColor() Color
	SetInsertionPointColor(value IColor)
	EnabledTextCheckingTypes() foundation.TextCheckingTypes
	SetEnabledTextCheckingTypes(value foundation.TextCheckingTypes)
	RangeForUserTextChange() foundation.Range
	SelectedTextAttributes() map[foundation.AttributedStringKey]objc.Object
	SetSelectedTextAttributes(value map[foundation.AttributedStringKey]objc.IObject)
	IsAutomaticTextCompletionEnabled() bool
	SetAutomaticTextCompletionEnabled(value bool)
	WritablePasteboardTypes() []PasteboardType
	TextContainerInset() foundation.Size
	SetTextContainerInset(value foundation.Size)
	IsCoalescingUndo() bool
	AllowedInputSourceLocales() []string
	SetAllowedInputSourceLocales(value []string)
	RangesForUserParagraphAttributeChange() []foundation.Value
	AllowsCharacterPickerTouchBarItem() bool
	SetAllowsCharacterPickerTouchBarItem(value bool)
	TextContainer() TextContainer
	SetTextContainer(value ITextContainer)
	AcceptsGlyphInfo() bool
	SetAcceptsGlyphInfo(value bool)
	UsesFindPanel() bool
	SetUsesFindPanel(value bool)
	IsAutomaticDashSubstitutionEnabled() bool
	SetAutomaticDashSubstitutionEnabled(value bool)
	RangeForUserCompletion() foundation.Range
	LayoutManager() LayoutManager
	SmartInsertDeleteEnabled() bool
	SetSmartInsertDeleteEnabled(value bool)
	IsIncrementalSearchingEnabled() bool
	SetIncrementalSearchingEnabled(value bool)
	UsesRuler() bool
	SetUsesRuler(value bool)
	IsAutomaticDataDetectionEnabled() bool
	SetAutomaticDataDetectionEnabled(value bool)
	RangesForUserCharacterAttributeChange() []foundation.Value
	RangeForUserCharacterAttributeChange() foundation.Range
	DisplaysLinkToolTips() bool
	SetDisplaysLinkToolTips(value bool)
	SetRulerVisible(value bool)
	IsContinuousSpellCheckingEnabled() bool
	SetContinuousSpellCheckingEnabled(value bool)
	RangesForUserTextChange() []foundation.Value
	ReadablePasteboardTypes() []PasteboardType
	SelectedRanges() []foundation.Value
	SetSelectedRanges(value []foundation.IValue)
	TextStorage() TextStorage
	AllowsDocumentBackgroundColorChange() bool
	SetAllowsDocumentBackgroundColorChange(value bool)
	TypingAttributes() map[foundation.AttributedStringKey]objc.Object
	SetTypingAttributes(value map[foundation.AttributedStringKey]objc.IObject)
	SelectionAffinity() SelectionAffinity
	LinkTextAttributes() map[foundation.AttributedStringKey]objc.Object
	SetLinkTextAttributes(value map[foundation.AttributedStringKey]objc.IObject)
	IsAutomaticSpellingCorrectionEnabled() bool
	SetAutomaticSpellingCorrectionEnabled(value bool)
	IsGrammarCheckingEnabled() bool
	SetGrammarCheckingEnabled(value bool)
	AllowsUndo() bool
	SetAllowsUndo(value bool)
	MarkedTextAttributes() map[foundation.AttributedStringKey]objc.Object
	SetMarkedTextAttributes(value map[foundation.AttributedStringKey]objc.IObject)
	AcceptableDragTypes() []PasteboardType
	TextContainerOrigin() foundation.Point
	UsesFindBar() bool
	SetUsesFindBar(value bool)
	TextContentStorage() TextContentStorage
	SelectionGranularity() SelectionGranularity
	SetSelectionGranularity(value SelectionGranularity)
	UsesInspectorBar() bool
	SetUsesInspectorBar(value bool)
}

An interface definition for the TextView class.

type ITextViewportLayoutController

type ITextViewportLayoutController interface {
	objc.IObject
	AdjustViewportByVerticalOffset(verticalOffset float64)
	LayoutViewport()
	RelocateViewportToTextLocation(textLocation PTextLocation) float64
	RelocateViewportToTextLocationObject(textLocationObject objc.IObject) float64
	TextLayoutManager() TextLayoutManager
	ViewportRange() TextRange
	Delegate() TextViewportLayoutControllerDelegateWrapper
	SetDelegate(value PTextViewportLayoutControllerDelegate)
	SetDelegateObject(valueObject objc.IObject)
	ViewportBounds() coregraphics.Rect
}

An interface definition for the TextViewportLayoutController class.

type ITintConfiguration

type ITintConfiguration interface {
	objc.IObject
	BaseTintColor() Color
	EquivalentContentTintColor() Color
	AdaptsToUserAccentColor() bool
}

An interface definition for the TintConfiguration class.

type ITitlebarAccessoryViewController

type ITitlebarAccessoryViewController interface {
	IViewController
	AutomaticallyAdjustsSize() bool
	SetAutomaticallyAdjustsSize(value bool)
	IsHidden() bool
	SetHidden(value bool)
	LayoutAttribute() LayoutAttribute
	SetLayoutAttribute(value LayoutAttribute)
	FullScreenMinHeight() float64
	SetFullScreenMinHeight(value float64)
}

An interface definition for the TitlebarAccessoryViewController class.

type ITokenField

type ITokenField interface {
	ITextField
	TokenizingCharacterSet() foundation.CharacterSet
	SetTokenizingCharacterSet(value foundation.ICharacterSet)
	CompletionDelay() foundation.TimeInterval
	SetCompletionDelay(value foundation.TimeInterval)
	TokenStyle() TokenStyle
	SetTokenStyle(value TokenStyle)
}

An interface definition for the TokenField class.

type ITokenFieldCell

type ITokenFieldCell interface {
	ITextFieldCell
	TokenizingCharacterSet() foundation.CharacterSet
	SetTokenizingCharacterSet(value foundation.ICharacterSet)
	CompletionDelay() foundation.TimeInterval
	SetCompletionDelay(value foundation.TimeInterval)
	Delegate() TokenFieldCellDelegateWrapper
	SetDelegate(value PTokenFieldCellDelegate)
	SetDelegateObject(valueObject objc.IObject)
	TokenStyle() TokenStyle
	SetTokenStyle(value TokenStyle)
}

An interface definition for the TokenFieldCell class.

type IToolbar

type IToolbar interface {
	objc.IObject
	SetConfigurationFromDictionary(configDict map[string]objc.IObject)
	InsertItemWithItemIdentifierAtIndex(itemIdentifier ToolbarItemIdentifier, index int)
	RemoveItemAtIndex(index int)
	ValidateVisibleItems()
	RunCustomizationPalette(sender objc.IObject)
	IsVisible() bool
	SetVisible(value bool)
	DisplayMode() ToolbarDisplayMode
	SetDisplayMode(value ToolbarDisplayMode)
	AllowsUserCustomization() bool
	SetAllowsUserCustomization(value bool)
	Items() []ToolbarItem
	ConfigurationDictionary() map[string]objc.Object
	Delegate() ToolbarDelegateWrapper
	SetDelegate(value PToolbarDelegate)
	SetDelegateObject(valueObject objc.IObject)
	ShowsBaselineSeparator() bool
	SetShowsBaselineSeparator(value bool)
	VisibleItems() []ToolbarItem
	AllowsExtensionItems() bool
	SetAllowsExtensionItems(value bool)
	CustomizationPaletteIsRunning() bool
	Identifier() ToolbarIdentifier
	SelectedItemIdentifier() ToolbarItemIdentifier
	SetSelectedItemIdentifier(value ToolbarItemIdentifier)
	AutosavesConfiguration() bool
	SetAutosavesConfiguration(value bool)
}

An interface definition for the Toolbar class.

type IToolbarItem

type IToolbarItem interface {
	objc.IObject
	Validate()
	MenuFormRepresentation() MenuItem
	SetMenuFormRepresentation(value IMenuItem)
	Target() objc.Object
	SetTarget(value objc.IObject)
	IsBordered() bool
	SetBordered(value bool)
	VisibilityPriority() ToolbarItemVisibilityPriority
	SetVisibilityPriority(value ToolbarItemVisibilityPriority)
	Action() objc.Selector
	SetAction(value objc.Selector)
	Autovalidates() bool
	SetAutovalidates(value bool)
	ToolTip() string
	SetToolTip(value string)
	View() View
	SetView(value IView)
	AllowsDuplicatesInToolbar() bool
	Toolbar() Toolbar
	ItemIdentifier() ToolbarItemIdentifier
	IsNavigational() bool
	SetNavigational(value bool)
	Tag() int
	SetTag(value int)
	Title() string
	SetTitle(value string)
	IsEnabled() bool
	SetEnabled(value bool)
	Label() string
	SetLabel(value string)
	Image() Image
	SetImage(value IImage)
	PaletteLabel() string
	SetPaletteLabel(value string)
}

An interface definition for the ToolbarItem class.

type IToolbarItemGroup

type IToolbarItemGroup interface {
	IToolbarItem
	SetSelectedAtIndex(selected bool, index int)
	IsSelectedAtIndex(index int) bool
	SelectionMode() ToolbarItemGroupSelectionMode
	SetSelectionMode(value ToolbarItemGroupSelectionMode)
	Subitems() []ToolbarItem
	SetSubitems(value []IToolbarItem)
	ControlRepresentation() ToolbarItemGroupControlRepresentation
	SetControlRepresentation(value ToolbarItemGroupControlRepresentation)
	SelectedIndex() int
	SetSelectedIndex(value int)
}

An interface definition for the ToolbarItemGroup class.

type ITouch

type ITouch interface {
	objc.IObject
	PreviousLocationInView(view IView) foundation.Point
	LocationInView(view IView) foundation.Point
	Device() objc.Object
	NormalizedPosition() foundation.Point
	Identity() objc.Object
	DeviceSize() foundation.Size
	Type() TouchType
	Phase() TouchPhase
	IsResting() bool
}

An interface definition for the Touch class.

type ITouchBar

type ITouchBar interface {
	objc.IObject
	ItemForIdentifier(identifier TouchBarItemIdentifier) TouchBarItem
	IsVisible() bool
	TemplateItems() foundation.Set
	SetTemplateItems(value foundation.ISet)
	CustomizationRequiredItemIdentifiers() []TouchBarItemIdentifier
	SetCustomizationRequiredItemIdentifiers(value []TouchBarItemIdentifier)
	PrincipalItemIdentifier() TouchBarItemIdentifier
	SetPrincipalItemIdentifier(value TouchBarItemIdentifier)
	Delegate() TouchBarDelegateWrapper
	SetDelegate(value PTouchBarDelegate)
	SetDelegateObject(valueObject objc.IObject)
	EscapeKeyReplacementItemIdentifier() TouchBarItemIdentifier
	SetEscapeKeyReplacementItemIdentifier(value TouchBarItemIdentifier)
	ItemIdentifiers() []TouchBarItemIdentifier
	CustomizationAllowedItemIdentifiers() []TouchBarItemIdentifier
	SetCustomizationAllowedItemIdentifiers(value []TouchBarItemIdentifier)
	CustomizationIdentifier() TouchBarCustomizationIdentifier
	SetCustomizationIdentifier(value TouchBarCustomizationIdentifier)
	DefaultItemIdentifiers() []TouchBarItemIdentifier
	SetDefaultItemIdentifiers(value []TouchBarItemIdentifier)
}

An interface definition for the TouchBar class.

type ITouchBarItem

type ITouchBarItem interface {
	objc.IObject
	IsVisible() bool
	CustomizationLabel() string
	VisibilityPriority() TouchBarItemPriority
	SetVisibilityPriority(value TouchBarItemPriority)
	View() View
	ViewController() ViewController
	Identifier() TouchBarItemIdentifier
}

An interface definition for the TouchBarItem class.

type ITrackingArea

type ITrackingArea interface {
	objc.IObject
	Options() TrackingAreaOptions
	Owner() objc.Object
	Rect() foundation.Rect
	UserInfo() foundation.Dictionary
}

An interface definition for the TrackingArea class.

type ITrackingSeparatorToolbarItem

type ITrackingSeparatorToolbarItem interface {
	IToolbarItem
	SplitView() SplitView
	SetSplitView(value ISplitView)
	DividerIndex() int
	SetDividerIndex(value int)
}

An interface definition for the TrackingSeparatorToolbarItem class.

type ITreeController

type ITreeController interface {
	IObjectController
	LeafKeyPathForNode(node ITreeNode) string
	RemoveObjectAtArrangedObjectIndexPath(indexPath foundation.IIndexPath)
	RemoveSelectionIndexPaths(indexPaths []foundation.IIndexPath) bool
	SetSelectionIndexPath(indexPath foundation.IIndexPath) bool
	MoveNodeToIndexPath(node ITreeNode, indexPath foundation.IIndexPath)
	AddSelectionIndexPaths(indexPaths []foundation.IIndexPath) bool
	MoveNodesToIndexPath(nodes []ITreeNode, startingIndexPath foundation.IIndexPath)
	CountKeyPathForNode(node ITreeNode) string
	SetSelectionIndexPaths(indexPaths []foundation.IIndexPath) bool
	InsertObjectAtArrangedObjectIndexPath(object objc.IObject, indexPath foundation.IIndexPath)
	RemoveObjectsAtArrangedObjectIndexPaths(indexPaths []foundation.IIndexPath)
	RearrangeObjects()
	InsertChild(sender objc.IObject) objc.Object
	AddChild(sender objc.IObject) objc.Object
	Insert(sender objc.IObject) objc.Object
	InsertObjectsAtArrangedObjectIndexPaths(objects []objc.IObject, indexPaths []foundation.IIndexPath)
	ChildrenKeyPathForNode(node ITreeNode) string
	PreservesSelection() bool
	SetPreservesSelection(value bool)
	ChildrenKeyPath() string
	SetChildrenKeyPath(value string)
	SelectionIndexPath() foundation.IndexPath
	AlwaysUsesMultipleValuesMarker() bool
	SetAlwaysUsesMultipleValuesMarker(value bool)
	SortDescriptors() []foundation.SortDescriptor
	SetSortDescriptors(value []foundation.ISortDescriptor)
	ArrangedObjects() TreeNode
	SelectionIndexPaths() []foundation.IndexPath
	CanInsertChild() bool
	CanInsert() bool
	LeafKeyPath() string
	SetLeafKeyPath(value string)
	CanAddChild() bool
	CountKeyPath() string
	SetCountKeyPath(value string)
	SelectsInsertedObjects() bool
	SetSelectsInsertedObjects(value bool)
	SelectedNodes() []TreeNode
	AvoidsEmptySelection() bool
	SetAvoidsEmptySelection(value bool)
}

An interface definition for the TreeController class.

type ITreeNode

type ITreeNode interface {
	objc.IObject
	SortWithSortDescriptorsRecursively(sortDescriptors []foundation.ISortDescriptor, recursively bool)
	DescendantNodeAtIndexPath(indexPath foundation.IIndexPath) TreeNode
	ParentNode() TreeNode
	IsLeaf() bool
	MutableChildNodes() foundation.MutableArray
	ChildNodes() []TreeNode
	IndexPath() foundation.IndexPath
	RepresentedObject() objc.Object
}

An interface definition for the TreeNode class.

type ITypesetter

type ITypesetter interface {
	objc.IObject
	SetLocationWithAdvancementsForStartOfGlyphRange(location foundation.Point, advancements *float64, glyphRange foundation.Range)
	ShouldBreakLineByWordBeforeCharacterAtIndex(charIndex uint) bool
	GetLineFragmentRectUsedRectRemainingRectForStartingGlyphAtIndexProposedRectLineSpacingParagraphSpacingBeforeParagraphSpacingAfter(lineFragmentRect foundation.RectPointer, lineFragmentUsedRect foundation.RectPointer, remainingRect foundation.RectPointer, startingGlyphIndex uint, proposedRect foundation.Rect, lineSpacing float64, paragraphSpacingBefore float64, paragraphSpacingAfter float64)
	SubstituteFontForFont(originalFont IFont) Font
	SetNotShownAttributeForGlyphRange(flag bool, glyphRange foundation.Range)
	SetHardInvalidationForGlyphRange(flag bool, glyphRange foundation.Range)
	HyphenCharacterForGlyphAtIndex(glyphIndex uint) objc.Object
	EndLineWithGlyphRange(lineGlyphRange foundation.Range)
	WillSetLineFragmentRectForGlyphRangeUsedRectBaselineOffset(lineRect foundation.RectPointer, glyphRange foundation.Range, usedRect foundation.RectPointer, baselineOffset *float64)
	ShouldBreakLineByHyphenatingBeforeCharacterAtIndex(charIndex uint) bool
	LayoutParagraphAtPoint(lineFragmentOrigin foundation.PointPointer) uint
	EndParagraph()
	HyphenationFactorForGlyphAtIndex(glyphIndex uint) float64
	BoundingBoxForControlGlyphAtIndexForTextContainerProposedLineFragmentGlyphPositionCharacterIndex(glyphIndex uint, textContainer ITextContainer, proposedRect foundation.Rect, glyphPosition foundation.Point, charIndex uint) foundation.Rect
	GlyphRangeForCharacterRangeActualCharacterRange(charRange foundation.Range, actualCharRange foundation.RangePointer) foundation.Range
	LineSpacingAfterGlyphAtIndexWithProposedLineFragmentRect(glyphIndex uint, rect foundation.Rect) float64
	SetDrawsOutsideLineFragmentForGlyphRange(flag bool, glyphRange foundation.Range)
	SetParagraphGlyphRangeSeparatorGlyphRange(paragraphRange foundation.Range, paragraphSeparatorRange foundation.Range)
	BeginLineWithGlyphAtIndex(glyphIndex uint)
	ParagraphSpacingBeforeGlyphAtIndexWithProposedLineFragmentRect(glyphIndex uint, rect foundation.Rect) float64
	TextTabForGlyphLocationWritingDirectionMaxLocation(glyphLocation float64, direction WritingDirection, maxLocation float64) TextTab
	BaselineOffsetInLayoutManagerGlyphIndex(layoutMgr ILayoutManager, glyphIndex uint) float64
	SetLineFragmentRectForGlyphRangeUsedRectBaselineOffset(fragmentRect foundation.Rect, glyphRange foundation.Range, usedRect foundation.Rect, baselineOffset float64)
	LayoutCharactersInRangeForLayoutManagerMaximumNumberOfLineFragments(characterRange foundation.Range, layoutManager ILayoutManager, maxNumLines uint) foundation.Range
	SetAttachmentSizeForGlyphRange(attachmentSize foundation.Size, glyphRange foundation.Range)
	ParagraphSpacingAfterGlyphAtIndexWithProposedLineFragmentRect(glyphIndex uint, rect foundation.Rect) float64
	CharacterRangeForGlyphRangeActualGlyphRange(glyphRange foundation.Range, actualGlyphRange foundation.RangePointer) foundation.Range
	SetBidiLevelsForGlyphRange(levels *uint8, glyphRange foundation.Range)
	BeginParagraph()
	BidiProcessingEnabled() bool
	SetBidiProcessingEnabled(value bool)
	AttributedString() foundation.AttributedString
	SetAttributedString(value foundation.IAttributedString)
	ParagraphGlyphRange() foundation.Range
	ParagraphSeparatorCharacterRange() foundation.Range
	LayoutManager() LayoutManager
	LineFragmentPadding() float64
	SetLineFragmentPadding(value float64)
	UsesFontLeading() bool
	SetUsesFontLeading(value bool)
	TypesetterBehavior() TypesetterBehavior
	SetTypesetterBehavior(value TypesetterBehavior)
	TextContainers() []TextContainer
	HyphenationFactor() float64
	SetHyphenationFactor(value float64)
	ParagraphCharacterRange() foundation.Range
	CurrentParagraphStyle() ParagraphStyle
	CurrentTextContainer() TextContainer
	ParagraphSeparatorGlyphRange() foundation.Range
	AttributesForExtraLineFragment() map[foundation.AttributedStringKey]objc.Object
}

An interface definition for the Typesetter class.

type IUserDefaultsController

type IUserDefaultsController interface {
	IController
	Save(sender objc.IObject) objc.Object
	Revert(sender objc.IObject) objc.Object
	RevertToInitialValues(sender objc.IObject) objc.Object
	Defaults() foundation.UserDefaults
	HasUnappliedChanges() bool
	AppliesImmediately() bool
	SetAppliesImmediately(value bool)
	InitialValues() map[string]objc.Object
	SetInitialValues(value map[string]objc.IObject)
	Values() objc.Object
}

An interface definition for the UserDefaultsController class.

type IUserInterfaceCompressionOptions

type IUserInterfaceCompressionOptions interface {
	objc.IObject
	OptionsByRemovingOptions(options IUserInterfaceCompressionOptions) UserInterfaceCompressionOptions
	ContainsOptions(options IUserInterfaceCompressionOptions) bool
	OptionsByAddingOptions(options IUserInterfaceCompressionOptions) UserInterfaceCompressionOptions
	IntersectsOptions(options IUserInterfaceCompressionOptions) bool
	IsEmpty() bool
}

An interface definition for the UserInterfaceCompressionOptions class.

type IView

type IView interface {
	IResponder
	RotateByAngle(angle float64)
	AdjustPageHeightNewTopBottomLimit(newBottom *float64, oldTop float64, oldBottom float64, bottomLimit float64)
	RemoveCursorRectCursor(rect foundation.Rect, object ICursor)
	GetRectsExposedDuringLiveResizeCount(exposedRects *foundation.Rect, count *int)
	RemoveToolTip(tag ToolTipTag)
	AddSubview(view IView)
	EnterFullScreenModeWithOptions(screen IScreen, options map[ViewFullScreenModeOptionKey]objc.IObject) bool
	ViewDidChangeEffectiveAppearance()
	DiscardCursorRects()
	ConvertPointToBacking(point foundation.Point) foundation.Point
	SetFrameOrigin(newOrigin foundation.Point)
	ExitFullScreenModeWithOptions(options map[ViewFullScreenModeOptionKey]objc.IObject)
	DidCloseMenuWithEvent(menu IMenu, event IEvent)
	AddConstraint(constraint ILayoutConstraint)
	AddConstraints(constraints []ILayoutConstraint)
	AddTrackingRectOwnerUserDataAssumeInside(rect foundation.Rect, owner objc.IObject, data unsafe.Pointer, flag bool) TrackingRectTag
	ConvertSizeToBacking(size foundation.Size) foundation.Size
	WillRemoveSubview(subview IView)
	AdjustScroll(newVisible foundation.Rect) foundation.Rect
	AddGestureRecognizer(gestureRecognizer IGestureRecognizer)
	ConvertRectFromBacking(rect foundation.Rect) foundation.Rect
	BitmapImageRepForCachingDisplayInRect(rect foundation.Rect) BitmapImageRep
	ShowDefinitionForAttributedStringAtPoint(attrString foundation.IAttributedString, textBaselineOrigin foundation.Point)
	NeedsToDrawRect(rect foundation.Rect) bool
	EndPage()
	HitTest(point foundation.Point) View
	DrawPageBorderWithSize(borderSize foundation.Size)
	AddTrackingArea(trackingArea ITrackingArea)
	ScrollRectToVisible(rect foundation.Rect) bool
	ResetCursorRects()
	ShouldDelayWindowOrderingForEvent(event IEvent) bool
	ConvertSizeFromBacking(size foundation.Size) foundation.Size
	WritePDFInsideRectToPasteboard(rect foundation.Rect, pasteboard IPasteboard)
	UpdateConstraintsForSubtreeIfNeeded()
	ConvertPointToLayer(point foundation.Point) foundation.Point
	RectForSmartMagnificationAtPointInRect(location foundation.Point, visibleRect foundation.Rect) foundation.Rect
	ScrollPoint(point foundation.Point)
	ViewDidMoveToSuperview()
	MenuForEvent(event IEvent) Menu
	DataWithEPSInsideRect(rect foundation.Rect) []byte
	AncestorSharedWithView(view IView) View
	UpdateLayer()
	AddCursorRectCursor(rect foundation.Rect, object ICursor)
	RemoveFromSuperview()
	EndDocument()
	TranslateRectsNeedingDisplayInRectBy(clipRect foundation.Rect, delta foundation.Size)
	RemoveLayoutGuide(guide ILayoutGuide)
	DisplayIfNeededInRect(rect foundation.Rect)
	Autoscroll(event IEvent) bool
	ConvertRectFromView(rect foundation.Rect, view IView) foundation.Rect
	AcceptsFirstMouse(event IEvent) bool
	ConstraintsAffectingLayoutForOrientation(orientation LayoutConstraintOrientation) []LayoutConstraint
	RemoveConstraint(constraint ILayoutConstraint)
	CenterScanRect(rect foundation.Rect) foundation.Rect
	ScrollClipViewToPoint(clipView IClipView, point foundation.Point)
	TranslateOriginToPoint(translation foundation.Point)
	DisplayRectIgnoringOpacity(rect foundation.Rect)
	ConvertRectToBacking(rect foundation.Rect) foundation.Rect
	ViewDidUnhide()
	UpdateTrackingAreas()
	ViewDidChangeBackingProperties()
	RegisterForDraggedTypes(newTypes []PasteboardType)
	ViewDidHide()
	CacheDisplayInRectToBitmapImageRep(rect foundation.Rect, bitmapImageRep IBitmapImageRep)
	RemoveFromSuperviewWithoutNeedingDisplay()
	BeginDraggingSessionWithItemsEventSource(items []IDraggingItem, event IEvent, source PDraggingSource) DraggingSession
	BeginDraggingSessionWithItemsEventSourceObject(items []IDraggingItem, event IEvent, sourceObject objc.IObject) DraggingSession
	WillOpenMenuWithEvent(menu IMenu, event IEvent)
	Display()
	ResizeWithOldSuperviewSize(oldSize foundation.Size)
	AddToolTipRectOwnerUserData(rect foundation.Rect, owner objc.IObject, data unsafe.Pointer) ToolTipTag
	SetContentHuggingPriorityForOrientation(priority LayoutPriority, orientation LayoutConstraintOrientation)
	ReflectScrolledClipView(clipView IClipView)
	SetKeyboardFocusRingNeedsDisplayInRect(rect foundation.Rect)
	UpdateConstraints()
	RemoveTrackingRect(tag TrackingRectTag)
	SetFrameSize(newSize foundation.Size)
	SetBoundsOrigin(newOrigin foundation.Point)
	LocationOfPrintRect(rect foundation.Rect) foundation.Point
	ConvertPointFromLayer(point foundation.Point) foundation.Point
	ConvertSizeFromLayer(size foundation.Size) foundation.Size
	ReplaceSubviewWith(oldView IView, newView IView)
	ConvertPointFromBacking(point foundation.Point) foundation.Point
	KnowsPageRange(range_ foundation.RangePointer) bool
	RulerViewLocationForPoint(ruler IRulerView, point foundation.Point) float64
	Print(sender objc.IObject)
	ContentCompressionResistancePriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority
	PrepareContentInRect(rect foundation.Rect)
	RemoveConstraints(constraints []ILayoutConstraint)
	BeginDocument()
	ResizeSubviewsWithOldSize(oldSize foundation.Size)
	SetBoundsSize(newSize foundation.Size)
	DrawRect(dirtyRect foundation.Rect)
	DrawFocusRingMask()
	ConvertRectToLayer(rect foundation.Rect) foundation.Rect
	ScaleUnitSquareToSize(newUnitSize foundation.Size)
	BeginPageInRectAtPlacement(rect foundation.Rect, location foundation.Point)
	ViewWillMoveToSuperview(newSuperview IView)
	ContentHuggingPriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority
	Layout()
	PrepareForReuse()
	RemoveTrackingArea(trackingArea ITrackingArea)
	RemoveAllToolTips()
	DataWithPDFInsideRect(rect foundation.Rect) []byte
	InvalidateIntrinsicContentSize()
	SetContentCompressionResistancePriorityForOrientation(priority LayoutPriority, orientation LayoutConstraintOrientation)
	SortSubviewsUsingFunctionContext(compare func(arg0 View, arg1 View, arg2 unsafe.Pointer) foundation.ComparisonResult, context unsafe.Pointer)
	ViewDidEndLiveResize()
	ViewWillMoveToWindow(newWindow IWindow)
	DisplayIfNeededIgnoringOpacity()
	AlignmentRectForFrame(frame foundation.Rect) foundation.Rect
	UnregisterDraggedTypes()
	RemoveGestureRecognizer(gestureRecognizer IGestureRecognizer)
	AdjustPageWidthNewLeftRightLimit(newRight *float64, oldLeft float64, oldRight float64, rightLimit float64)
	ViewWillStartLiveResize()
	RectForPage(page int) foundation.Rect
	ViewWillDraw()
	AddLayoutGuide(guide ILayoutGuide)
	NoteFocusRingMaskChanged()
	ViewWithTag(tag int) View
	WriteEPSInsideRectToPasteboard(rect foundation.Rect, pasteboard IPasteboard)
	ExerciseAmbiguityInLayout()
	ViewDidMoveToWindow()
	LayoutSubtreeIfNeeded()
	GetRectsBeingDrawnCount(rects *foundation.Rect, count *int)
	ConvertSizeToLayer(size foundation.Size) foundation.Size
	ConvertRectFromLayer(rect foundation.Rect) foundation.Rect
	DisplayRect(rect foundation.Rect)
	DisplayIfNeededInRectIgnoringOpacity(rect foundation.Rect)
	SetNeedsDisplayInRect(invalidRect foundation.Rect)
	MouseInRect(point foundation.Point, rect foundation.Rect) bool
	BackingAlignedRectOptions(rect foundation.Rect, options foundation.AlignmentOptions) foundation.Rect
	DidAddSubview(subview IView)
	FrameForAlignmentRect(alignmentRect foundation.Rect) foundation.Rect
	ConvertSizeToView(size foundation.Size, view IView) foundation.Size
	IsDescendantOf(view IView) bool
	DisplayIfNeeded()
	MakeBackingLayer() quartzcore.Layer
	ConvertPointToView(point foundation.Point, view IView) foundation.Point
	LayerUsesCoreImageFilters() bool
	SetLayerUsesCoreImageFilters(value bool)
	TopAnchor() LayoutYAxisAnchor
	LayerContentsRedrawPolicy() ViewLayerContentsRedrawPolicy
	SetLayerContentsRedrawPolicy(value ViewLayerContentsRedrawPolicy)
	Layer() quartzcore.Layer
	SetLayer(value quartzcore.ILayer)
	PrintJobTitle() string
	LeftAnchor() LayoutXAxisAnchor
	VisibleRect() foundation.Rect
	InputContext() TextInputContext
	IsRotatedOrScaledFromBase() bool
	IsHidden() bool
	SetHidden(value bool)
	NeedsLayout() bool
	SetNeedsLayout(value bool)
	NextKeyView() View
	SetNextKeyView(value IView)
	FirstBaselineOffsetFromTop() float64
	FittingSize() foundation.Size
	BoundsRotation() float64
	SetBoundsRotation(value float64)
	AlignmentRectInsets() foundation.EdgeInsets
	PageFooter() foundation.AttributedString
	PostsFrameChangedNotifications() bool
	SetPostsFrameChangedNotifications(value bool)
	NeedsPanelToBecomeKey() bool
	ContentFilters() []coreimage.Filter
	SetContentFilters(value []coreimage.IFilter)
	NextValidKeyView() View
	ToolTip() string
	SetToolTip(value string)
	FrameCenterRotation() float64
	SetFrameCenterRotation(value float64)
	CenterYAnchor() LayoutYAxisAnchor
	PreservesContentDuringLiveResize() bool
	TranslatesAutoresizingMaskIntoConstraints() bool
	SetTranslatesAutoresizingMaskIntoConstraints(value bool)
	FirstBaselineAnchor() LayoutYAxisAnchor
	LastBaselineOffsetFromBottom() float64
	PressureConfiguration() PressureConfiguration
	SetPressureConfiguration(value IPressureConfiguration)
	WantsUpdateLayer() bool
	FocusRingType() FocusRingType
	SetFocusRingType(value FocusRingType)
	TrackingAreas() []TrackingArea
	PostsBoundsChangedNotifications() bool
	SetPostsBoundsChangedNotifications(value bool)
	GestureRecognizers() []GestureRecognizer
	SetGestureRecognizers(value []IGestureRecognizer)
	EnclosingScrollView() ScrollView
	AlphaValue() float64
	SetAlphaValue(value float64)
	PageHeader() foundation.AttributedString
	SafeAreaLayoutGuide() LayoutGuide
	RightAnchor() LayoutXAxisAnchor
	IsRotatedFromBase() bool
	PreparedContentRect() foundation.Rect
	SetPreparedContentRect(value foundation.Rect)
	Bounds() foundation.Rect
	SetBounds(value foundation.Rect)
	BaselineOffsetFromBottom() float64
	SafeAreaInsets() foundation.EdgeInsets
	InLiveResize() bool
	IsDrawingFindIndicator() bool
	CandidateListTouchBarItem() CandidateListTouchBarItem
	LayoutMarginsGuide() LayoutGuide
	UserInterfaceLayoutDirection() UserInterfaceLayoutDirection
	SetUserInterfaceLayoutDirection(value UserInterfaceLayoutDirection)
	BottomAnchor() LayoutYAxisAnchor
	OpaqueAncestor() View
	LayerContentsPlacement() ViewLayerContentsPlacement
	SetLayerContentsPlacement(value ViewLayerContentsPlacement)
	IsOpaque() bool
	PreviousValidKeyView() View
	EnclosingMenuItem() MenuItem
	NeedsUpdateConstraints() bool
	SetNeedsUpdateConstraints(value bool)
	HeightAnchor() LayoutDimension
	LayoutGuides() []LayoutGuide
	WantsDefaultClipping() bool
	SafeAreaRect() foundation.Rect
	WantsLayer() bool
	SetWantsLayer(value bool)
	IntrinsicContentSize() foundation.Size
	AutoresizesSubviews() bool
	SetAutoresizesSubviews(value bool)
	TrailingAnchor() LayoutXAxisAnchor
	CanDrawSubviewsIntoLayer() bool
	SetCanDrawSubviewsIntoLayer(value bool)
	PreviousKeyView() View
	LeadingAnchor() LayoutXAxisAnchor
	AllowedTouchTypes() TouchTypeMask
	SetAllowedTouchTypes(value TouchTypeMask)
	FocusRingMaskBounds() foundation.Rect
	Frame() foundation.Rect
	SetFrame(value foundation.Rect)
	CanBecomeKeyView() bool
	IsInFullScreenMode() bool
	CanDrawConcurrently() bool
	SetCanDrawConcurrently(value bool)
	Tag() int
	Shadow() Shadow
	SetShadow(value IShadow)
	WidthAdjustLimit() float64
	AdditionalSafeAreaInsets() foundation.EdgeInsets
	SetAdditionalSafeAreaInsets(value foundation.EdgeInsets)
	CompositingFilter() coreimage.Filter
	SetCompositingFilter(value coreimage.IFilter)
	RegisteredDraggedTypes() []PasteboardType
	IsHiddenOrHasHiddenAncestor() bool
	Window() Window
	IsVerticalContentSizeConstraintActive() bool
	SetVerticalContentSizeConstraintActive(value bool)
	AutoresizingMask() AutoresizingMaskOptions
	SetAutoresizingMask(value AutoresizingMaskOptions)
	BackgroundFilters() []coreimage.Filter
	SetBackgroundFilters(value []coreimage.IFilter)
	HasAmbiguousLayout() bool
	Constraints() []LayoutConstraint
	HeightAdjustLimit() float64
	IsHorizontalContentSizeConstraintActive() bool
	SetHorizontalContentSizeConstraintActive(value bool)
	AllowsVibrancy() bool
	Subviews() []View
	SetSubviews(value []IView)
	IsFlipped() bool
	RectPreservedDuringLiveResize() foundation.Rect
	MouseDownCanMoveWindow() bool
	CenterXAnchor() LayoutXAxisAnchor
	WantsRestingTouches() bool
	SetWantsRestingTouches(value bool)
	LastBaselineAnchor() LayoutYAxisAnchor
	WidthAnchor() LayoutDimension
	FrameRotation() float64
	SetFrameRotation(value float64)
	Superview() View
	NeedsDisplay() bool
	SetNeedsDisplay(value bool)
}

An interface definition for the View class.

type IViewAnimation

type IViewAnimation interface {
	IAnimation
	ViewAnimations() []map[ViewAnimationKey]objc.Object
	SetViewAnimations(value []map[ViewAnimationKey]objc.IObject)
}

An interface definition for the ViewAnimation class.

type IViewController

type IViewController interface {
	IResponder
	ViewDidLayout()
	ViewWillLayout()
	CommitEditing() bool
	DismissController(sender objc.IObject) objc.Object
	ViewWillDisappear()
	DismissViewController(viewController IViewController)
	ViewDidAppear()
	ViewWillAppear()
	UpdateViewConstraints()
	AddChildViewController(childViewController IViewController)
	PresentViewControllerAsSheet(viewController IViewController)
	TransitionFromViewControllerToViewControllerOptionsCompletionHandler(fromViewController IViewController, toViewController IViewController, options ViewControllerTransitionOptions, completion func())
	RemoveChildViewControllerAtIndex(index int)
	ViewDidLoad()
	LoadView()
	InsertChildViewControllerAtIndex(childViewController IViewController, index int)
	ViewWillTransitionToSize(newSize foundation.Size)
	CommitEditingWithDelegateDidCommitSelectorContextInfo(delegate objc.IObject, didCommitSelector objc.Selector, contextInfo unsafe.Pointer)
	PreferredContentSizeDidChangeForViewController(viewController IViewController)
	RemoveFromParentViewController()
	DiscardEditing()
	ViewDidDisappear()
	PresentViewControllerAsModalWindow(viewController IViewController)
	PresentViewControllerAnimator(viewController IViewController, animator PViewControllerPresentationAnimator)
	PresentViewControllerAnimatorObject(viewController IViewController, animatorObject objc.IObject)
	SourceItemView() View
	SetSourceItemView(value IView)
	PresentedViewControllers() []ViewController
	IsViewLoaded() bool
	NibName() NibName
	ParentViewController() ViewController
	View() View
	SetView(value IView)
	NibBundle() foundation.Bundle
	PreferredMaximumSize() foundation.Size
	PreferredMinimumSize() foundation.Size
	PreferredScreenOrigin() foundation.Point
	SetPreferredScreenOrigin(value foundation.Point)
	Storyboard() Storyboard
	RepresentedObject() objc.Object
	SetRepresentedObject(value objc.IObject)
	Title() string
	SetTitle(value string)
	PresentingViewController() ViewController
	ExtensionContext() foundation.ExtensionContext
	PreferredContentSize() foundation.Size
	SetPreferredContentSize(value foundation.Size)
	ChildViewControllers() []ViewController
	SetChildViewControllers(value []IViewController)
}

An interface definition for the ViewController class.

type IVisualEffectView

type IVisualEffectView interface {
	IView
	State() VisualEffectState
	SetState(value VisualEffectState)
	IsEmphasized() bool
	SetEmphasized(value bool)
	MaskImage() Image
	SetMaskImage(value IImage)
	InteriorBackgroundStyle() BackgroundStyle
	BlendingMode() VisualEffectBlendingMode
	SetBlendingMode(value VisualEffectBlendingMode)
	Material() VisualEffectMaterial
	SetMaterial(value VisualEffectMaterial)
}

An interface definition for the VisualEffectView class.

type IWindow

type IWindow interface {
	IResponder
	AddTabbedWindowOrdered(window IWindow, ordered WindowOrderingMode)
	SaveFrameUsingName(name WindowFrameAutosaveName)
	MakeKeyWindow()
	SendEvent(event IEvent)
	DisableKeyEquivalentForDefaultButtonCell()
	DiscardCursorRects()
	ConvertPointToBacking(point foundation.Point) foundation.Point
	SetFrameOrigin(point foundation.Point)
	EnableCursorRects()
	OrderFrontRegardless()
	ConvertRectFromBacking(rect foundation.Rect) foundation.Rect
	SetContentSize(size foundation.Size)
	AutorecalculatesContentBorderThicknessForEdge(edge foundation.RectEdge) bool
	SetFrameFromString(string_ WindowPersistableFrameDescriptor)
	SelectKeyViewPrecedingView(view IView)
	DragImageAtOffsetEventPasteboardSourceSlideBack(image IImage, baseLocation foundation.Point, initialOffset foundation.Size, event IEvent, pboard IPasteboard, sourceObj objc.IObject, slideFlag bool)
	MoveTabToNewWindow(sender objc.IObject) objc.Object
	OrderOut(sender objc.IObject)
	RecalculateKeyViewLoop()
	VisualizeConstraints(constraints []ILayoutConstraint)
	SetContentBorderThicknessForEdge(thickness float64, edge foundation.RectEdge)
	ConvertRectToScreen(rect foundation.Rect) foundation.Rect
	ResetCursorRects()
	AnchorAttributeForOrientation(orientation LayoutConstraintOrientation) LayoutAttribute
	UpdateConstraintsIfNeeded()
	HandleSaveScriptCommand(command foundation.IScriptCommand) objc.Object
	Close()
	DataWithEPSInsideRect(rect foundation.Rect) []byte
	ToggleTabBar(sender objc.IObject) objc.Object
	HandleCloseScriptCommand(command foundation.ICloseCommand) objc.Object
	RemoveChildWindow(childWin IWindow)
	MakeMainWindow()
	RunToolbarCustomizationPalette(sender objc.IObject)
	ResignMainWindow()
	BeginSheetCompletionHandler(sheetWindow IWindow, handler func(returnCode ModalResponse))
	CascadeTopLeftFromPoint(topLeftPoint foundation.Point) foundation.Point
	DiscardEventsMatchingMaskBeforeEvent(mask EventMask, lastEvent IEvent)
	DisableScreenUpdatesUntilFlush()
	ConvertRectToBacking(rect foundation.Rect) foundation.Rect
	SetFrameDisplay(frameRect foundation.Rect, flag bool)
	AnimationResizeTime(newFrame foundation.Rect) foundation.TimeInterval
	SelectKeyViewFollowingView(view IView)
	RegisterForDraggedTypes(newTypes []PasteboardType)
	SetAnchorAttributeForOrientation(attr LayoutAttribute, orientation LayoutConstraintOrientation)
	ContentBorderThicknessForEdge(edge foundation.RectEdge) float64
	OrderBack(sender objc.IObject)
	TrackEventsMatchingMaskTimeoutModeHandler(mask EventMask, timeout foundation.TimeInterval, mode foundation.RunLoopMode, trackingHandler func(event Event, stop *bool))
	InitWithWindowRef(windowRef unsafe.Pointer) Window
	InvalidateShadow()
	HandlePrintScriptCommand(command foundation.IScriptCommand) objc.Object
	Display()
	PerformMiniaturize(sender objc.IObject)
	DisableCursorRects()
	SetDynamicDepthLimit(flag bool)
	Miniaturize(sender objc.IObject)
	SelectNextTab(sender objc.IObject) objc.Object
	AddTitlebarAccessoryViewController(childViewController ITitlebarAccessoryViewController)
	MakeFirstResponder(responder IResponder) bool
	SetIsZoomed(flag bool)
	BeginCriticalSheetCompletionHandler(sheetWindow IWindow, handler func(returnCode ModalResponse))
	ToggleFullScreen(sender objc.IObject)
	ConvertPointFromBacking(point foundation.Point) foundation.Point
	OrderWindowRelativeTo(place WindowOrderingMode, otherWin int)
	Print(sender objc.IObject)
	FieldEditorForObject(createFlag bool, object objc.IObject) Text
	RemoveTitlebarAccessoryViewControllerAtIndex(index int)
	SetAutorecalculatesContentBorderThicknessForEdge(flag bool, edge foundation.RectEdge)
	SelectPreviousTab(sender objc.IObject) objc.Object
	SelectNextKeyView(sender objc.IObject)
	SetTitleWithRepresentedFilename(filename string)
	MakeKeyAndOrderFront(sender objc.IObject)
	SetFrameAutosaveName(name WindowFrameAutosaveName) bool
	SelectPreviousKeyView(sender objc.IObject)
	PostEventAtStart(event IEvent, flag bool)
	ToggleTabOverview(sender objc.IObject) objc.Object
	OrderFront(sender objc.IObject)
	ResignKeyWindow()
	DataWithPDFInsideRect(rect foundation.Rect) []byte
	EndEditingFor(object objc.IObject)
	CanRepresentDisplayGamut(displayGamut DisplayGamut) bool
	BecomeKeyWindow()
	EnableSnapshotRestoration()
	DisableSnapshotRestoration()
	NextEventMatchingMaskUntilDateInModeDequeue(mask EventMask, expiration foundation.IDate, mode foundation.RunLoopMode, deqFlag bool) Event
	Deminiaturize(sender objc.IObject)
	UnregisterDraggedTypes()
	SetFrameUsingName(name WindowFrameAutosaveName) bool
	InvalidateCursorRectsForView(view IView)
	ConvertPointToScreen(point foundation.Point) foundation.Point
	AddChildWindowOrdered(childWin IWindow, place WindowOrderingMode)
	PerformClose(sender objc.IObject)
	ConvertRectFromScreen(rect foundation.Rect) foundation.Rect
	SetIsVisible(flag bool)
	PerformWindowDragWithEvent(event IEvent)
	StandardWindowButton(b WindowButton) Button
	Zoom(sender objc.IObject)
	MergeAllWindows(sender objc.IObject) objc.Object
	Update()
	ConvertPointFromScreen(point foundation.Point) foundation.Point
	EnableKeyEquivalentForDefaultButtonCell()
	ToggleToolbarShown(sender objc.IObject)
	SetIsMiniaturized(flag bool)
	BackingAlignedRectOptions(rect foundation.Rect, options foundation.AlignmentOptions) foundation.Rect
	ConstrainFrameRectToScreen(frameRect foundation.Rect, screen IScreen) foundation.Rect
	LayoutIfNeeded()
	EndSheetReturnCode(sheetWindow IWindow, returnCode ModalResponse)
	BecomeMainWindow()
	InsertTitlebarAccessoryViewControllerAtIndex(childViewController ITitlebarAccessoryViewController, index int)
	PerformZoom(sender objc.IObject)
	SetFrameTopLeftPoint(point foundation.Point)
	DisplayIfNeeded()
	Center()
	IsRestorable() bool
	SetRestorable(value bool)
	MaxSize() foundation.Size
	SetMaxSize(value foundation.Size)
	HidesOnDeactivate() bool
	SetHidesOnDeactivate(value bool)
	IsVisible() bool
	ParentWindow() Window
	SetParentWindow(value IWindow)
	MinFullScreenContentSize() foundation.Size
	SetMinFullScreenContentSize(value foundation.Size)
	Sheets() []Window
	IsExcludedFromWindowsMenu() bool
	SetExcludedFromWindowsMenu(value bool)
	IsSheet() bool
	IsReleasedWhenClosed() bool
	SetReleasedWhenClosed(value bool)
	SharingType() WindowSharingType
	SetSharingType(value WindowSharingType)
	HasShadow() bool
	SetHasShadow(value bool)
	StyleMask() WindowStyleMask
	SetStyleMask(value WindowStyleMask)
	Tab() WindowTab
	OrderedIndex() int
	SetOrderedIndex(value int)
	ViewsNeedDisplay() bool
	SetViewsNeedDisplay(value bool)
	Level() WindowLevel
	SetLevel(value WindowLevel)
	AnimationBehavior() WindowAnimationBehavior
	SetAnimationBehavior(value WindowAnimationBehavior)
	Screen() Screen
	IsModalPanel() bool
	MouseLocationOutsideOfEventStream() foundation.Point
	IsKeyWindow() bool
	ContentView() View
	SetContentView(value IView)
	TitleVisibility() WindowTitleVisibility
	SetTitleVisibility(value WindowTitleVisibility)
	ToolbarStyle() WindowToolbarStyle
	SetToolbarStyle(value WindowToolbarStyle)
	CurrentEvent() Event
	MiniwindowTitle() string
	SetMiniwindowTitle(value string)
	IsMainWindow() bool
	ChildWindows() []Window
	DefaultButtonCell() ButtonCell
	SetDefaultButtonCell(value IButtonCell)
	FirstResponder() Responder
	TabbedWindows() []Window
	PreservesContentDuringLiveResize() bool
	SetPreservesContentDuringLiveResize(value bool)
	ContentAspectRatio() foundation.Size
	SetContentAspectRatio(value foundation.Size)
	DisplaysWhenScreenProfileChanges() bool
	SetDisplaysWhenScreenProfileChanges(value bool)
	RestorationClass() objc.Class
	SetRestorationClass(value objc.IClass)
	AcceptsMouseMovedEvents() bool
	SetAcceptsMouseMovedEvents(value bool)
	Subtitle() string
	SetSubtitle(value string)
	WorksWhenModal() bool
	IsMiniaturized() bool
	AlphaValue() float64
	SetAlphaValue(value float64)
	DeepestScreen() Screen
	ContentLayoutRect() foundation.Rect
	HasTitleBar() bool
	IsMiniaturizable() bool
	MinSize() foundation.Size
	SetMinSize(value foundation.Size)
	BackingType() BackingStoreType
	SetBackingType(value BackingStoreType)
	MiniwindowImage() Image
	SetMiniwindowImage(value IImage)
	Toolbar() Toolbar
	SetToolbar(value IToolbar)
	ColorSpace() ColorSpace
	SetColorSpace(value IColorSpace)
	DepthLimit() WindowDepth
	SetDepthLimit(value WindowDepth)
	Delegate() WindowDelegateWrapper
	SetDelegate(value PWindowDelegate)
	SetDelegateObject(valueObject objc.IObject)
	ResizeFlags() EventModifierFlags
	IsFloatingPanel() bool
	InLiveResize() bool
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	TitlebarAppearsTransparent() bool
	SetTitlebarAppearsTransparent(value bool)
	TitlebarAccessoryViewControllers() []TitlebarAccessoryViewController
	SetTitlebarAccessoryViewControllers(value []ITitlebarAccessoryViewController)
	ResizeIncrements() foundation.Size
	SetResizeIncrements(value foundation.Size)
	WindowRef() unsafe.Pointer
	CanHide() bool
	SetCanHide(value bool)
	IsOpaque() bool
	SetOpaque(value bool)
	RepresentedURL() foundation.URL
	SetRepresentedURL(value foundation.IURL)
	InitialFirstResponder() View
	SetInitialFirstResponder(value IView)
	IsZoomable() bool
	OcclusionState() WindowOcclusionState
	AllowsConcurrentViewDrawing() bool
	SetAllowsConcurrentViewDrawing(value bool)
	CanBecomeVisibleWithoutLogin() bool
	SetCanBecomeVisibleWithoutLogin(value bool)
	AreCursorRectsEnabled() bool
	ContentViewController() ViewController
	SetContentViewController(value IViewController)
	DeviceDescription() map[DeviceDescriptionKey]objc.Object
	ContentMinSize() foundation.Size
	SetContentMinSize(value foundation.Size)
	TitlebarSeparatorStyle() TitlebarSeparatorStyle
	SetTitlebarSeparatorStyle(value TitlebarSeparatorStyle)
	IsDocumentEdited() bool
	SetDocumentEdited(value bool)
	CollectionBehavior() WindowCollectionBehavior
	SetCollectionBehavior(value WindowCollectionBehavior)
	TabbingIdentifier() WindowTabbingIdentifier
	SetTabbingIdentifier(value WindowTabbingIdentifier)
	WindowController() WindowController
	SetWindowController(value IWindowController)
	PreventsApplicationTerminationWhenModal() bool
	SetPreventsApplicationTerminationWhenModal(value bool)
	BackingScaleFactor() float64
	TabGroup() WindowTabGroup
	WindowTitlebarLayoutDirection() UserInterfaceLayoutDirection
	TabbingMode() WindowTabbingMode
	SetTabbingMode(value WindowTabbingMode)
	RepresentedFilename() string
	SetRepresentedFilename(value string)
	AspectRatio() foundation.Size
	SetAspectRatio(value foundation.Size)
	WindowNumber() int
	Frame() foundation.Rect
	CanBecomeMainWindow() bool
	Title() string
	SetTitle(value string)
	HasCloseBox() bool
	HasDynamicDepthLimit() bool
	StringWithSavedFrame() WindowPersistableFrameDescriptor
	IsResizable() bool
	DockTile() DockTile
	IsOnActiveSpace() bool
	AutorecalculatesKeyViewLoop() bool
	SetAutorecalculatesKeyViewLoop(value bool)
	AppearanceSource() objc.Object
	SetAppearanceSource(value objc.IObject)
	AttachedSheet() Window
	IgnoresMouseEvents() bool
	SetIgnoresMouseEvents(value bool)
	ContentLayoutGuide() objc.Object
	KeyViewSelectionDirection() SelectionDirection
	IsMovableByWindowBackground() bool
	SetMovableByWindowBackground(value bool)
	IsMovable() bool
	SetMovable(value bool)
	IsZoomed() bool
	ContentMaxSize() foundation.Size
	SetContentMaxSize(value foundation.Size)
	CanBecomeKeyWindow() bool
	ContentResizeIncrements() foundation.Size
	SetContentResizeIncrements(value foundation.Size)
	FrameAutosaveName() WindowFrameAutosaveName
	MaxFullScreenContentSize() foundation.Size
	SetMaxFullScreenContentSize(value foundation.Size)
	AllowsToolTipsWhenApplicationIsInactive() bool
	SetAllowsToolTipsWhenApplicationIsInactive(value bool)
	SheetParent() Window
}

An interface definition for the Window class.

type IWindowController

type IWindowController interface {
	IResponder
	SetDocumentEdited(dirtyFlag bool)
	WindowDidLoad()
	ShowWindow(sender objc.IObject) objc.Object
	DismissController(sender objc.IObject) objc.Object
	Close()
	WindowTitleForDocumentDisplayName(displayName string) string
	SynchronizeWindowTitleWithDocumentName()
	LoadWindow()
	WindowWillLoad()
	WindowFrameAutosaveName() WindowFrameAutosaveName
	SetWindowFrameAutosaveName(value WindowFrameAutosaveName)
	ShouldCloseDocument() bool
	SetShouldCloseDocument(value bool)
	Owner() objc.Object
	Document() objc.Object
	SetDocument(value objc.IObject)
	ContentViewController() ViewController
	SetContentViewController(value IViewController)
	IsWindowLoaded() bool
	Storyboard() Storyboard
	WindowNibName() NibName
	ShouldCascadeWindows() bool
	SetShouldCascadeWindows(value bool)
	Window() Window
	SetWindow(value IWindow)
	WindowNibPath() string
}

An interface definition for the WindowController class.

type IWindowTab

type IWindowTab interface {
	objc.IObject
	ToolTip() string
	SetToolTip(value string)
	AttributedTitle() foundation.AttributedString
	SetAttributedTitle(value foundation.IAttributedString)
	AccessoryView() View
	SetAccessoryView(value IView)
	Title() string
	SetTitle(value string)
}

An interface definition for the WindowTab class.

type IWindowTabGroup

type IWindowTabGroup interface {
	objc.IObject
	AddWindow(window IWindow)
	RemoveWindow(window IWindow)
	InsertWindowAtIndex(window IWindow, index int)
	IsTabBarVisible() bool
	SelectedWindow() Window
	SetSelectedWindow(value IWindow)
	Windows() []Window
	IsOverviewVisible() bool
	SetOverviewVisible(value bool)
	Identifier() WindowTabbingIdentifier
}

An interface definition for the WindowTabGroup class.

type IWorkspace

type IWorkspace interface {
	objc.IObject
	URLForApplicationWithBundleIdentifier(bundleIdentifier string) foundation.URL
	OpenURLsWithApplicationAtURLConfigurationCompletionHandler(urls []foundation.IURL, applicationURL foundation.IURL, configuration IWorkspaceOpenConfiguration, completionHandler func(app RunningApplication, error foundation.Error))
	URLForApplicationToOpenURL(url foundation.IURL) foundation.URL
	IconForFiles(fullPaths []string) Image
	IconForFile(fullPath string) Image
	URLForApplicationToOpenContentType(contentType uti.IType) foundation.URL
	OpenURLConfigurationCompletionHandler(url foundation.IURL, configuration IWorkspaceOpenConfiguration, completionHandler func(app RunningApplication, error foundation.Error))
	RecycleURLsCompletionHandler(URLs []foundation.IURL, handler func(newURLs foundation.Dictionary, error foundation.Error))
	URLsForApplicationsToOpenContentType(contentType uti.IType) []foundation.URL
	UnmountAndEjectDeviceAtURLError(url foundation.IURL, error foundation.IError) bool
	DesktopImageOptionsForScreen(screen IScreen) map[WorkspaceDesktopImageOptionKey]objc.Object
	DesktopImageURLForScreen(screen IScreen) foundation.URL
	SetDefaultApplicationAtURLToOpenFileAtURLCompletionHandler(applicationURL foundation.IURL, url foundation.IURL, completionHandler func(error foundation.Error))
	SetIconForFileOptions(image IImage, fullPath string, options WorkspaceIconCreationOptions) bool
	SetDesktopImageURLForScreenOptionsError(url foundation.IURL, screen IScreen, options map[WorkspaceDesktopImageOptionKey]objc.IObject, error foundation.IError) bool
	GetFileSystemInfoForPathIsRemovableIsWritableIsUnmountableDescriptionType(fullPath string, removableFlag *bool, writableFlag *bool, unmountableFlag *bool, description string, fileSystemType string) bool
	UnmountAndEjectDeviceAtPath(path string) bool
	HideOtherApplications()
	RequestAuthorizationOfTypeCompletionHandler(type_ WorkspaceAuthorizationType, completionHandler func(authorization WorkspaceAuthorization, error foundation.Error))
	URLsForApplicationsToOpenURL(url foundation.IURL) []foundation.URL
	URLsForApplicationsWithBundleIdentifier(bundleIdentifier string) []foundation.URL
	IsFilePackageAtPath(fullPath string) bool
	SelectFileInFileViewerRootedAtPath(fullPath string, rootFullPath string) bool
	ActivateFileViewerSelectingURLs(fileURLs []foundation.IURL)
	ShowSearchResultsForQueryString(queryString string) bool
	OpenApplicationAtURLConfigurationCompletionHandler(applicationURL foundation.IURL, configuration IWorkspaceOpenConfiguration, completionHandler func(app RunningApplication, error foundation.Error))
	DuplicateURLsCompletionHandler(URLs []foundation.IURL, handler func(newURLs foundation.Dictionary, error foundation.Error))
	IconForContentType(contentType uti.IType) Image
	ExtendPowerOffBy(requested int) int
	AccessibilityDisplayShouldIncreaseContrast() bool
	FileLabels() []string
	AccessibilityDisplayShouldReduceMotion() bool
	FrontmostApplication() RunningApplication
	FileLabelColors() []Color
	AccessibilityDisplayShouldInvertColors() bool
	IsVoiceOverEnabled() bool
	RunningApplications() []RunningApplication
	IsSwitchControlEnabled() bool
	MenuBarOwningApplication() RunningApplication
	NotificationCenter() foundation.NotificationCenter
	AccessibilityDisplayShouldDifferentiateWithoutColor() bool
}

An interface definition for the Workspace class.

type IWorkspaceAuthorization

type IWorkspaceAuthorization interface {
	objc.IObject
}

An interface definition for the WorkspaceAuthorization class.

type IWorkspaceOpenConfiguration

type IWorkspaceOpenConfiguration interface {
	objc.IObject
	Arguments() []string
	SetArguments(value []string)
	Hides() bool
	SetHides(value bool)
	AllowsRunningApplicationSubstitution() bool
	SetAllowsRunningApplicationSubstitution(value bool)
	IsForPrinting() bool
	SetForPrinting(value bool)
	HidesOthers() bool
	SetHidesOthers(value bool)
	RequiresUniversalLinks() bool
	SetRequiresUniversalLinks(value bool)
	Activates() bool
	SetActivates(value bool)
	PromptsUserIfNeeded() bool
	SetPromptsUserIfNeeded(value bool)
	CreatesNewApplicationInstance() bool
	SetCreatesNewApplicationInstance(value bool)
	AppleEvent() foundation.AppleEventDescriptor
	SetAppleEvent(value foundation.IAppleEventDescriptor)
	Environment() map[string]string
	SetEnvironment(value map[string]string)
	AddsToRecentItems() bool
	SetAddsToRecentItems(value bool)
}

An interface definition for the WorkspaceOpenConfiguration class.

type IgnoreMisspelledWordsWrapper

type IgnoreMisspelledWordsWrapper struct {
	objc.Object
}

A concrete type wrapper for the PIgnoreMisspelledWords protocol.

func (IgnoreMisspelledWordsWrapper) HasIgnoreSpelling

func (i_ IgnoreMisspelledWordsWrapper) HasIgnoreSpelling() bool

func (IgnoreMisspelledWordsWrapper) IgnoreSpelling

func (i_ IgnoreMisspelledWordsWrapper) IgnoreSpelling(sender objc.IObject)
[Full Topic]

type Image

type Image struct {
	objc.Object
}

A high-level interface for manipulating image data. Full Topic

func BrowserCell_BranchImage

func BrowserCell_BranchImage() Image

Returns the default image for branch cells in a browser. Full Topic

func BrowserCell_HighlightedBranchImage

func BrowserCell_HighlightedBranchImage() Image

Returns the default image for branch browser cells that are highlighted. Full Topic

func ImageFrom

func ImageFrom(ptr unsafe.Pointer) Image

func Image_Alloc

func Image_Alloc() Image

func Image_ImageNamed

func Image_ImageNamed(name ImageName) Image

Returns the image object associated with the specified name. Full Topic

func Image_ImageWithSizeFlippedDrawingHandler

func Image_ImageWithSizeFlippedDrawingHandler(size foundation.Size, drawingHandlerShouldBeCalledWithFlippedContext bool, drawingHandler func(dstRect foundation.Rect) bool) Image

Creates and returns an image object whose contents are drawn using the specified block. Full Topic

func Image_ImageWithSystemSymbolNameAccessibilityDescription

func Image_ImageWithSystemSymbolNameAccessibilityDescription(name string, description string) Image

Creates a symbol image with the system symbol name and accessibility description you specify. Full Topic

func NewImage

func NewImage() Image

func NewImageByReferencingFile

func NewImageByReferencingFile(fileName string) Image

Initializes and returns an image object using the specified file. Full Topic

func NewImageByReferencingURL

func NewImageByReferencingURL(url foundation.IURL) Image

Initializes and returns an image object using the specified URL. Full Topic

func NewImageWithCGImageSize

func NewImageWithCGImageSize(cgImage coregraphics.ImageRef, size foundation.Size) Image

Creates a new image using the contents of the provided image. Full Topic

func NewImageWithContentsOfFile

func NewImageWithContentsOfFile(fileName string) Image

Initializes and returns an image object with the contents of the specified file. Full Topic

func NewImageWithContentsOfURL

func NewImageWithContentsOfURL(url foundation.IURL) Image

Initializes and returns an image object with the contents of the specified URL. Full Topic

func NewImageWithData

func NewImageWithData(data []byte) Image

Initializes and returns an image object using the provided image data. Full Topic

func NewImageWithDataIgnoringOrientation

func NewImageWithDataIgnoringOrientation(data []byte) Image

Initializes and returns an image object using the provided image data and ignoring the EXIF orientation tags. Full Topic

func NewImageWithPasteboard

func NewImageWithPasteboard(pasteboard IPasteboard) Image

Initializes and returns an image object with data from the specified pasteboard. Full Topic

func NewImageWithSize

func NewImageWithSize(size foundation.Size) Image

Initializes and returns an image object with the specified dimensions. Full Topic

func (Image) AccessibilityDescription

func (i_ Image) AccessibilityDescription() string

The image’s accessibility description. Full Topic

func (Image) AddRepresentation

func (i_ Image) AddRepresentation(imageRep IImageRep)

Adds the specified image representation object to the image. Full Topic

func (Image) AddRepresentations

func (i_ Image) AddRepresentations(imageReps []IImageRep)

Adds an array of image representation objects to the image. Full Topic

func (Image) AlignmentRect

func (i_ Image) AlignmentRect() foundation.Rect

A rectangle that you can use to position the image during layout. Full Topic

func (Image) BackgroundColor

func (i_ Image) BackgroundColor() Color

The background color for the image. Full Topic

func (Image) BestRepresentationForRectContextHints

func (i_ Image) BestRepresentationForRectContextHints(rect foundation.Rect, referenceContext IGraphicsContext, hints map[ImageHintKey]objc.IObject) ImageRep

Returns the best representation of the image for the specified rectangle using the provided hints. Full Topic

func (Image) CGImageForProposedRectContextHints

func (i_ Image) CGImageForProposedRectContextHints(proposedDestRect *foundation.Rect, referenceContext IGraphicsContext, hints map[ImageHintKey]objc.IObject) coregraphics.ImageRef

Returns a Core Graphics image based on the contents of the current image object. Full Topic

func (Image) CacheMode

func (i_ Image) CacheMode() ImageCacheMode

The image’s caching mode. Full Topic

func (Image) CapInsets

func (i_ Image) CapInsets() foundation.EdgeInsets

The cap insets for the image. Full Topic

func (Image) Delegate

func (i_ Image) Delegate() ImageDelegateWrapper

The image’s delegate object. Full Topic

func (Image) DrawAtPointFromRectOperationFraction

func (i_ Image) DrawAtPointFromRectOperationFraction(point foundation.Point, fromRect foundation.Rect, op CompositingOperation, delta float64)

Draws all or part of the image at the specified point in the current coordinate system. Full Topic

func (Image) DrawInRectFromRectOperationFraction

func (i_ Image) DrawInRectFromRectOperationFraction(rect foundation.Rect, fromRect foundation.Rect, op CompositingOperation, delta float64)

Draws all or part of the image in the specified rectangle in the current coordinate system. Full Topic

func (Image) DrawRepresentationInRect

func (i_ Image) DrawRepresentationInRect(imageRep IImageRep, rect foundation.Rect) bool

Draws the image using the specified image representation object. Full Topic

func (Image) HitTestRectWithImageDestinationRectContextHintsFlipped

func (i_ Image) HitTestRectWithImageDestinationRectContextHintsFlipped(testRectDestSpace foundation.Rect, imageRectDestSpace foundation.Rect, context IGraphicsContext, hints map[ImageHintKey]objc.IObject, flipped bool) bool

Returns whether the destination rectangle would intersect a non-transparent portion of the image. Full Topic

func (Image) ImageWithSymbolConfiguration

func (i_ Image) ImageWithSymbolConfiguration(configuration IImageSymbolConfiguration) Image

Creates a new symbol image with the specified configuration. Full Topic

func (Image) Init

func (i_ Image) Init() Image

func (Image) InitByReferencingFile

func (i_ Image) InitByReferencingFile(fileName string) Image

func (Image) InitByReferencingURL

func (i_ Image) InitByReferencingURL(url foundation.IURL) Image

func (Image) InitWithCGImageSize

func (i_ Image) InitWithCGImageSize(cgImage coregraphics.ImageRef, size foundation.Size) Image

func (Image) InitWithContentsOfFile

func (i_ Image) InitWithContentsOfFile(fileName string) Image

func (Image) InitWithContentsOfURL

func (i_ Image) InitWithContentsOfURL(url foundation.IURL) Image

func (Image) InitWithData

func (i_ Image) InitWithData(data []byte) Image

func (Image) InitWithDataIgnoringOrientation

func (i_ Image) InitWithDataIgnoringOrientation(data []byte) Image

func (Image) InitWithPasteboard

func (i_ Image) InitWithPasteboard(pasteboard IPasteboard) Image

func (Image) InitWithSize

func (i_ Image) InitWithSize(size foundation.Size) Image

func (Image) IsTemplate

func (i_ Image) IsTemplate() bool

A Boolean value that determines whether the image represents a template image. Full Topic

func (Image) IsValid

func (i_ Image) IsValid() bool

A Boolean value that indicates whether it is possible to draw an image representation. Full Topic

func (Image) LayerContentsForContentsScale

func (i_ Image) LayerContentsForContentsScale(layerContentsScale float64) objc.Object

Returns an object that may be used as the contents of a layer. Full Topic

func (Image) MatchesOnMultipleResolution

func (i_ Image) MatchesOnMultipleResolution() bool

A Boolean value that indicates whether image representations whose resolution is an integral multiple of the device resolution are a match. Full Topic

func (Image) MatchesOnlyOnBestFittingAxis

func (i_ Image) MatchesOnlyOnBestFittingAxis() bool

A Boolean value that indicates whether the image matches only on the best fitting axis. Full Topic

func (Image) Name

func (i_ Image) Name() ImageName

Returns the name associated with the image, if any. Full Topic

func (Image) PrefersColorMatch

func (i_ Image) PrefersColorMatch() bool

A Boolean value that indicates whether the image prefers to choose image representations using color-matching or resolution-matching. Full Topic

func (Image) Recache

func (i_ Image) Recache()

Invalidates and frees offscreen caches of all image representations. Full Topic

func (Image) RecommendedLayerContentsScale

func (i_ Image) RecommendedLayerContentsScale(preferredContentsScale float64) float64

Returns the recommended layer contents scale for this image. Full Topic

func (Image) RemoveRepresentation

func (i_ Image) RemoveRepresentation(imageRep IImageRep)

Removes and releases the specified image representation. Full Topic

func (Image) Representations

func (i_ Image) Representations() []ImageRep

An array containing all of the image object’s image representations. Full Topic

func (Image) ResizingMode

func (i_ Image) ResizingMode() ImageResizingMode

The resizing mode for the image. Full Topic

func (Image) SetAccessibilityDescription

func (i_ Image) SetAccessibilityDescription(value string)

The image’s accessibility description. Full Topic

func (Image) SetAlignmentRect

func (i_ Image) SetAlignmentRect(value foundation.Rect)

A rectangle that you can use to position the image during layout. Full Topic

func (Image) SetBackgroundColor

func (i_ Image) SetBackgroundColor(value IColor)

The background color for the image. Full Topic

func (Image) SetCacheMode

func (i_ Image) SetCacheMode(value ImageCacheMode)

The image’s caching mode. Full Topic

func (Image) SetCapInsets

func (i_ Image) SetCapInsets(value foundation.EdgeInsets)

The cap insets for the image. Full Topic

func (Image) SetDelegate

func (i_ Image) SetDelegate(value PImageDelegate)

The image’s delegate object. Full Topic

func (Image) SetDelegateObject

func (i_ Image) SetDelegateObject(valueObject objc.IObject)

The image’s delegate object. Full Topic

func (Image) SetMatchesOnMultipleResolution

func (i_ Image) SetMatchesOnMultipleResolution(value bool)

A Boolean value that indicates whether image representations whose resolution is an integral multiple of the device resolution are a match. Full Topic

func (Image) SetMatchesOnlyOnBestFittingAxis

func (i_ Image) SetMatchesOnlyOnBestFittingAxis(value bool)

A Boolean value that indicates whether the image matches only on the best fitting axis. Full Topic

func (Image) SetName

func (i_ Image) SetName(string_ ImageName) bool

Registers the image object under the specified name. Full Topic

func (Image) SetPrefersColorMatch

func (i_ Image) SetPrefersColorMatch(value bool)

A Boolean value that indicates whether the image prefers to choose image representations using color-matching or resolution-matching. Full Topic

func (Image) SetResizingMode

func (i_ Image) SetResizingMode(value ImageResizingMode)

The resizing mode for the image. Full Topic

func (Image) SetSize

func (i_ Image) SetSize(value foundation.Size)

The size of the image. Full Topic

func (Image) SetTemplate

func (i_ Image) SetTemplate(value bool)

A Boolean value that determines whether the image represents a template image. Full Topic

func (Image) SetUsesEPSOnResolutionMismatch

func (i_ Image) SetUsesEPSOnResolutionMismatch(value bool)

A Boolean value that indicates whether EPS representations are preferred when no other representations match the resolution of the device. Full Topic

func (Image) Size

func (i_ Image) Size() foundation.Size

The size of the image. Full Topic

func (Image) SymbolConfiguration

func (i_ Image) SymbolConfiguration() ImageSymbolConfiguration

The configuration details for a symbol image. Full Topic

func (Image) TIFFRepresentation

func (i_ Image) TIFFRepresentation() []byte

A data object containing TIFF data for all of the image representations in the image. Full Topic

func (Image) TIFFRepresentationUsingCompressionFactor

func (i_ Image) TIFFRepresentationUsingCompressionFactor(comp TIFFCompression, factor float64) []byte

Returns a data object that contains TIFF data with the specified compression settings for all of the image representations in the image. Full Topic

func (Image) UsesEPSOnResolutionMismatch

func (i_ Image) UsesEPSOnResolutionMismatch() bool

A Boolean value that indicates whether EPS representations are preferred when no other representations match the resolution of the device. Full Topic

type ImageAlignment

type ImageAlignment uint

Constants used by imageAlignment that allow you to specify the location of the image in the frame. Full Topic

const (
	ImageAlignBottom      ImageAlignment = 5
	ImageAlignBottomLeft  ImageAlignment = 6
	ImageAlignBottomRight ImageAlignment = 7
	ImageAlignCenter      ImageAlignment = 0
	ImageAlignLeft        ImageAlignment = 4
	ImageAlignRight       ImageAlignment = 8
	ImageAlignTop         ImageAlignment = 1
	ImageAlignTopLeft     ImageAlignment = 2
	ImageAlignTopRight    ImageAlignment = 3
)

type ImageCacheMode

type ImageCacheMode uint

Constants that specify the caching policy on a per-image basis. Full Topic

const (
	ImageCacheAlways  ImageCacheMode = 1
	ImageCacheBySize  ImageCacheMode = 2
	ImageCacheDefault ImageCacheMode = 0
	ImageCacheNever   ImageCacheMode = 3
)

type ImageCell

type ImageCell struct {
	Cell
}

An NSImageCell object displays a single image (encapsulated in an NSImage object) in a frame. This class provides methods for choosing the frame and for aligning and scaling the image to fit the frame. Full Topic

func ImageCellFrom

func ImageCellFrom(ptr unsafe.Pointer) ImageCell

func ImageCell_Alloc

func ImageCell_Alloc() ImageCell

func NewImageCell

func NewImageCell() ImageCell

func NewImageCellImageCell

func NewImageCellImageCell(image IImage) ImageCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewImageCellTextCell

func NewImageCellTextCell(string_ string) ImageCell

Returns an NSCell object initialized with the specified string and set to have the cell’s default menu. Full Topic

func (ImageCell) ImageAlignment

func (i_ ImageCell) ImageAlignment() ImageAlignment

The alignment of the receiver’s image relative to its frame. Full Topic

func (ImageCell) ImageFrameStyle

func (i_ ImageCell) ImageFrameStyle() ImageFrameStyle

The style of the frame that borders the image. Full Topic

func (ImageCell) ImageScaling

func (i_ ImageCell) ImageScaling() ImageScaling

The scaling mode used to fit the receiver's image into the frame. Full Topic

func (ImageCell) Init

func (i_ ImageCell) Init() ImageCell

func (ImageCell) InitImageCell

func (i_ ImageCell) InitImageCell(image IImage) ImageCell

func (ImageCell) InitTextCell

func (i_ ImageCell) InitTextCell(string_ string) ImageCell

func (ImageCell) SetImageAlignment

func (i_ ImageCell) SetImageAlignment(value ImageAlignment)

The alignment of the receiver’s image relative to its frame. Full Topic

func (ImageCell) SetImageFrameStyle

func (i_ ImageCell) SetImageFrameStyle(value ImageFrameStyle)

The style of the frame that borders the image. Full Topic

func (ImageCell) SetImageScaling

func (i_ ImageCell) SetImageScaling(value ImageScaling)

The scaling mode used to fit the receiver's image into the frame. Full Topic

type ImageDelegate

type ImageDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PImageDelegate protocol.

func (*ImageDelegate) HasImageDidNotDrawInRect

func (di *ImageDelegate) HasImageDidNotDrawInRect() bool

func (*ImageDelegate) ImageDidNotDrawInRect

func (di *ImageDelegate) ImageDidNotDrawInRect(sender Image, rect foundation.Rect) IImage

Tells the delegate that the image object is unable, for whatever reason, to lock focus on its image or draw in the specified rectangle. Full Topic

func (*ImageDelegate) SetImageDidNotDrawInRect

func (di *ImageDelegate) SetImageDidNotDrawInRect(f func(sender Image, rect foundation.Rect) IImage)

Tells the delegate that the image object is unable, for whatever reason, to lock focus on its image or draw in the specified rectangle. Full Topic

type ImageDelegateWrapper

type ImageDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PImageDelegate protocol.

func (ImageDelegateWrapper) HasImageDidNotDrawInRect

func (i_ ImageDelegateWrapper) HasImageDidNotDrawInRect() bool

func (ImageDelegateWrapper) ImageDidNotDrawInRect

func (i_ ImageDelegateWrapper) ImageDidNotDrawInRect(sender IImage, rect foundation.Rect) Image

Tells the delegate that the image object is unable, for whatever reason, to lock focus on its image or draw in the specified rectangle. Full Topic

type ImageFrameStyle

type ImageFrameStyle uint

Constants that allow you to specify the kind of frame bordering the image. Full Topic

const (
	ImageFrameButton    ImageFrameStyle = 4
	ImageFrameGrayBezel ImageFrameStyle = 2
	ImageFrameGroove    ImageFrameStyle = 3
	ImageFrameNone      ImageFrameStyle = 0
	ImageFramePhoto     ImageFrameStyle = 1
)

type ImageHintKey

type ImageHintKey string

Constants for the keys to include in a hints dictionary when drawing the image. Full Topic

const (
	ImageHintCTM                          ImageHintKey = "NSImageHintCTM"
	ImageHintInterpolation                ImageHintKey = "NSImageHintInterpolation"
	ImageHintUserInterfaceLayoutDirection ImageHintKey = "NSImageHintUserInterfaceLayoutDirection"
)

type ImageInterpolation

type ImageInterpolation uint

Constants that specify the interpolation, or image smoothing, behavior used by the image interpolation property. Full Topic

const (
	ImageInterpolationDefault ImageInterpolation = 0
	ImageInterpolationHigh    ImageInterpolation = 3
	ImageInterpolationLow     ImageInterpolation = 2
	ImageInterpolationMedium  ImageInterpolation = 4
	ImageInterpolationNone    ImageInterpolation = 1
)

type ImageLayoutDirection

type ImageLayoutDirection int

Constants that describe the layout direction for the image. Full Topic

const (
	ImageLayoutDirectionLeftToRight ImageLayoutDirection = 2
	ImageLayoutDirectionRightToLeft ImageLayoutDirection = 3
	ImageLayoutDirectionUnspecified ImageLayoutDirection = -1
)

type ImageLoadStatus

type ImageLoadStatus uint

Status values for incremental image loading. Full Topic

const (
	ImageLoadStatusCancelled     ImageLoadStatus = 1
	ImageLoadStatusCompleted     ImageLoadStatus = 0
	ImageLoadStatusInvalidData   ImageLoadStatus = 2
	ImageLoadStatusReadError     ImageLoadStatus = 4
	ImageLoadStatusUnexpectedEOF ImageLoadStatus = 3
)

type ImageName

type ImageName string

Named images, defined by the system or you, for use in your app. Full Topic

const (
	ImageNameActionTemplate                          ImageName = "NSActionTemplate"
	ImageNameAddTemplate                             ImageName = "NSAddTemplate"
	ImageNameAdvanced                                ImageName = "NSAdvanced"
	ImageNameApplicationIcon                         ImageName = "NSApplicationIcon"
	ImageNameBluetoothTemplate                       ImageName = "NSBluetoothTemplate"
	ImageNameBonjour                                 ImageName = "NSBonjour"
	ImageNameBookmarksTemplate                       ImageName = "NSBookmarksTemplate"
	ImageNameCaution                                 ImageName = "NSCaution"
	ImageNameColorPanel                              ImageName = "NSColorPanel"
	ImageNameColumnViewTemplate                      ImageName = "NSColumnViewTemplate"
	ImageNameComputer                                ImageName = "NSComputer"
	ImageNameDotMac                                  ImageName = "NSDotMac"
	ImageNameEnterFullScreenTemplate                 ImageName = "NSEnterFullScreenTemplate"
	ImageNameEveryone                                ImageName = "NSEveryone"
	ImageNameExitFullScreenTemplate                  ImageName = "NSExitFullScreenTemplate"
	ImageNameFlowViewTemplate                        ImageName = "NSFlowViewTemplate"
	ImageNameFolder                                  ImageName = "NSFolder"
	ImageNameFolderBurnable                          ImageName = "NSFolderBurnable"
	ImageNameFolderSmart                             ImageName = "NSFolderSmart"
	ImageNameFollowLinkFreestandingTemplate          ImageName = "NSFollowLinkFreestandingTemplate"
	ImageNameFontPanel                               ImageName = "NSFontPanel"
	ImageNameGoBackTemplate                          ImageName = "NSGoBackTemplate"
	ImageNameGoForwardTemplate                       ImageName = "NSGoForwardTemplate"
	ImageNameGoLeftTemplate                          ImageName = "NSGoLeftTemplate"
	ImageNameGoRightTemplate                         ImageName = "NSGoRightTemplate"
	ImageNameHomeTemplate                            ImageName = "NSHomeTemplate"
	ImageNameIChatTheaterTemplate                    ImageName = "NSIChatTheaterTemplate"
	ImageNameIconViewTemplate                        ImageName = "NSIconViewTemplate"
	ImageNameInfo                                    ImageName = "NSInfo"
	ImageNameInvalidDataFreestandingTemplate         ImageName = "NSInvalidDataFreestandingTemplate"
	ImageNameLeftFacingTriangleTemplate              ImageName = "NSLeftFacingTriangleTemplate"
	ImageNameListViewTemplate                        ImageName = "NSListViewTemplate"
	ImageNameLockLockedTemplate                      ImageName = "NSLockLockedTemplate"
	ImageNameLockUnlockedTemplate                    ImageName = "NSLockUnlockedTemplate"
	ImageNameMenuMixedStateTemplate                  ImageName = "NSMenuMixedStateTemplate"
	ImageNameMenuOnStateTemplate                     ImageName = "NSMenuOnStateTemplate"
	ImageNameMobileMe                                ImageName = "NSMobileMe"
	ImageNameMultipleDocuments                       ImageName = "NSMultipleDocuments"
	ImageNameNetwork                                 ImageName = "NSNetwork"
	ImageNamePathTemplate                            ImageName = "NSPathTemplate"
	ImageNamePreferencesGeneral                      ImageName = "NSPreferencesGeneral"
	ImageNameQuickLookTemplate                       ImageName = "NSQuickLookTemplate"
	ImageNameRefreshFreestandingTemplate             ImageName = "NSRefreshFreestandingTemplate"
	ImageNameRefreshTemplate                         ImageName = "NSRefreshTemplate"
	ImageNameRemoveTemplate                          ImageName = "NSRemoveTemplate"
	ImageNameRevealFreestandingTemplate              ImageName = "NSRevealFreestandingTemplate"
	ImageNameRightFacingTriangleTemplate             ImageName = "NSRightFacingTriangleTemplate"
	ImageNameShareTemplate                           ImageName = "NSShareTemplate"
	ImageNameSlideshowTemplate                       ImageName = "NSSlideshowTemplate"
	ImageNameSmartBadgeTemplate                      ImageName = "NSSmartBadgeTemplate"
	ImageNameStatusAvailable                         ImageName = "NSStatusAvailable"
	ImageNameStatusNone                              ImageName = "NSStatusNone"
	ImageNameStatusPartiallyAvailable                ImageName = "NSStatusPartiallyAvailable"
	ImageNameStatusUnavailable                       ImageName = "NSStatusUnavailable"
	ImageNameStopProgressFreestandingTemplate        ImageName = "NSStopProgressFreestandingTemplate"
	ImageNameStopProgressTemplate                    ImageName = "NSStopProgressTemplate"
	ImageNameTouchBarAddDetailTemplate               ImageName = "NSTouchBarAddDetailTemplate"
	ImageNameTouchBarAddTemplate                     ImageName = "NSTouchBarAddTemplate"
	ImageNameTouchBarAlarmTemplate                   ImageName = "NSTouchBarAlarmTemplate"
	ImageNameTouchBarAudioInputMuteTemplate          ImageName = "NSTouchBarAudioInputMuteTemplate"
	ImageNameTouchBarAudioInputTemplate              ImageName = "NSTouchBarAudioInputTemplate"
	ImageNameTouchBarAudioOutputMuteTemplate         ImageName = "NSTouchBarAudioOutputMuteTemplate"
	ImageNameTouchBarAudioOutputVolumeHighTemplate   ImageName = "NSTouchBarAudioOutputVolumeHighTemplate"
	ImageNameTouchBarAudioOutputVolumeLowTemplate    ImageName = "NSTouchBarAudioOutputVolumeLowTemplate"
	ImageNameTouchBarAudioOutputVolumeMediumTemplate ImageName = "NSTouchBarAudioOutputVolumeMediumTemplate"
	ImageNameTouchBarAudioOutputVolumeOffTemplate    ImageName = "NSTouchBarAudioOutputVolumeOffTemplate"
	ImageNameTouchBarBookmarksTemplate               ImageName = "NSTouchBarBookmarksTemplate"
	ImageNameTouchBarColorPickerFill                 ImageName = "NSTouchBarColorPickerFill"
	ImageNameTouchBarColorPickerFont                 ImageName = "NSTouchBarColorPickerFont"
	ImageNameTouchBarColorPickerStroke               ImageName = "NSTouchBarColorPickerStroke"
	ImageNameTouchBarCommunicationAudioTemplate      ImageName = "NSTouchBarCommunicationAudioTemplate"
	ImageNameTouchBarCommunicationVideoTemplate      ImageName = "NSTouchBarCommunicationVideoTemplate"
	ImageNameTouchBarComposeTemplate                 ImageName = "NSTouchBarComposeTemplate"
	ImageNameTouchBarDeleteTemplate                  ImageName = "NSTouchBarDeleteTemplate"
	ImageNameTouchBarDownloadTemplate                ImageName = "NSTouchBarDownloadTemplate"
	ImageNameTouchBarEnterFullScreenTemplate         ImageName = "NSTouchBarEnterFullScreenTemplate"
	ImageNameTouchBarExitFullScreenTemplate          ImageName = "NSTouchBarExitFullScreenTemplate"
	ImageNameTouchBarFastForwardTemplate             ImageName = "NSTouchBarFastForwardTemplate"
	ImageNameTouchBarFolderCopyToTemplate            ImageName = "NSTouchBarFolderCopyToTemplate"
	ImageNameTouchBarFolderMoveToTemplate            ImageName = "NSTouchBarFolderMoveToTemplate"
	ImageNameTouchBarFolderTemplate                  ImageName = "NSTouchBarFolderTemplate"
	ImageNameTouchBarGetInfoTemplate                 ImageName = "NSTouchBarGetInfoTemplate"
	ImageNameTouchBarGoBackTemplate                  ImageName = "NSTouchBarGoBackTemplate"
	ImageNameTouchBarGoDownTemplate                  ImageName = "NSTouchBarGoDownTemplate"
	ImageNameTouchBarGoForwardTemplate               ImageName = "NSTouchBarGoForwardTemplate"
	ImageNameTouchBarGoUpTemplate                    ImageName = "NSTouchBarGoUpTemplate"
	ImageNameTouchBarHistoryTemplate                 ImageName = "NSTouchBarHistoryTemplate"
	ImageNameTouchBarIconViewTemplate                ImageName = "NSTouchBarIconViewTemplate"
	ImageNameTouchBarListViewTemplate                ImageName = "NSTouchBarListViewTemplate"
	ImageNameTouchBarMailTemplate                    ImageName = "NSTouchBarMailTemplate"
	ImageNameTouchBarNewFolderTemplate               ImageName = "NSTouchBarNewFolderTemplate"
	ImageNameTouchBarNewMessageTemplate              ImageName = "NSTouchBarNewMessageTemplate"
	ImageNameTouchBarOpenInBrowserTemplate           ImageName = "NSTouchBarOpenInBrowserTemplate"
	ImageNameTouchBarPauseTemplate                   ImageName = "NSTouchBarPauseTemplate"
	ImageNameTouchBarPlayPauseTemplate               ImageName = "NSTouchBarPlayPauseTemplate"
	ImageNameTouchBarPlayTemplate                    ImageName = "NSTouchBarPlayTemplate"
	ImageNameTouchBarPlayheadTemplate                ImageName = "NSTouchBarPlayheadTemplate"
	ImageNameTouchBarQuickLookTemplate               ImageName = "NSTouchBarQuickLookTemplate"
	ImageNameTouchBarRecordStartTemplate             ImageName = "NSTouchBarRecordStartTemplate"
	ImageNameTouchBarRecordStopTemplate              ImageName = "NSTouchBarRecordStopTemplate"
	ImageNameTouchBarRefreshTemplate                 ImageName = "NSTouchBarRefreshTemplate"
	ImageNameTouchBarRemoveTemplate                  ImageName = "NSTouchBarRemoveTemplate"
	ImageNameTouchBarRewindTemplate                  ImageName = "NSTouchBarRewindTemplate"
	ImageNameTouchBarRotateLeftTemplate              ImageName = "NSTouchBarRotateLeftTemplate"
	ImageNameTouchBarRotateRightTemplate             ImageName = "NSTouchBarRotateRightTemplate"
	ImageNameTouchBarSearchTemplate                  ImageName = "NSTouchBarSearchTemplate"
	ImageNameTouchBarShareTemplate                   ImageName = "NSTouchBarShareTemplate"
	ImageNameTouchBarSidebarTemplate                 ImageName = "NSTouchBarSidebarTemplate"
	ImageNameTouchBarSkipAhead15SecondsTemplate      ImageName = "NSTouchBarSkipAhead15SecondsTemplate"
	ImageNameTouchBarSkipAhead30SecondsTemplate      ImageName = "NSTouchBarSkipAhead30SecondsTemplate"
	ImageNameTouchBarSkipAheadTemplate               ImageName = "NSTouchBarSkipAheadTemplate"
	ImageNameTouchBarSkipBack15SecondsTemplate       ImageName = "NSTouchBarSkipBack15SecondsTemplate"
	ImageNameTouchBarSkipBack30SecondsTemplate       ImageName = "NSTouchBarSkipBack30SecondsTemplate"
	ImageNameTouchBarSkipBackTemplate                ImageName = "NSTouchBarSkipBackTemplate"
	ImageNameTouchBarSkipToEndTemplate               ImageName = "NSTouchBarSkipToEndTemplate"
	ImageNameTouchBarSkipToStartTemplate             ImageName = "NSTouchBarSkipToStartTemplate"
	ImageNameTouchBarSlideshowTemplate               ImageName = "NSTouchBarSlideshowTemplate"
	ImageNameTouchBarTagIconTemplate                 ImageName = "NSTouchBarTagIconTemplate"
	ImageNameTouchBarTextBoldTemplate                ImageName = "NSTouchBarTextBoldTemplate"
	ImageNameTouchBarTextBoxTemplate                 ImageName = "NSTouchBarTextBoxTemplate"
	ImageNameTouchBarTextCenterAlignTemplate         ImageName = "NSTouchBarTextCenterAlignTemplate"
	ImageNameTouchBarTextItalicTemplate              ImageName = "NSTouchBarTextItalicTemplate"
	ImageNameTouchBarTextJustifiedAlignTemplate      ImageName = "NSTouchBarTextJustifiedAlignTemplate"
	ImageNameTouchBarTextLeftAlignTemplate           ImageName = "NSTouchBarTextLeftAlignTemplate"
	ImageNameTouchBarTextListTemplate                ImageName = "NSTouchBarTextListTemplate"
	ImageNameTouchBarTextRightAlignTemplate          ImageName = "NSTouchBarTextRightAlignTemplate"
	ImageNameTouchBarTextStrikethroughTemplate       ImageName = "NSTouchBarTextStrikethroughTemplate"
	ImageNameTouchBarTextUnderlineTemplate           ImageName = "NSTouchBarTextUnderlineTemplate"
	ImageNameTouchBarUserAddTemplate                 ImageName = "NSTouchBarUserAddTemplate"
	ImageNameTouchBarUserGroupTemplate               ImageName = "NSTouchBarUserGroupTemplate"
	ImageNameTouchBarUserTemplate                    ImageName = "NSTouchBarUserTemplate"
	ImageNameTouchBarVolumeDownTemplate              ImageName = "NSTouchBarVolumeDownTemplate"
	ImageNameTouchBarVolumeUpTemplate                ImageName = "NSTouchBarVolumeUpTemplate"
	ImageNameTrashEmpty                              ImageName = "NSTrashEmpty"
	ImageNameTrashFull                               ImageName = "NSTrashFull"
	ImageNameUser                                    ImageName = "NSUser"
	ImageNameUserAccounts                            ImageName = "NSUserAccounts"
	ImageNameUserGroup                               ImageName = "NSUserGroup"
	ImageNameUserGuest                               ImageName = "NSUserGuest"
)

type ImageRep

type ImageRep struct {
	objc.Object
}

A semiabstract superclass that provides subclasses that you use to draw an image from a particular type of source data. Full Topic

func BitmapImageRep_ImageRepsWithData

func BitmapImageRep_ImageRepsWithData(data []byte) []ImageRep

Creates and returns an array of bitmap image representation objects that correspond to the images in the specified data. Full Topic

func ImageRepFrom

func ImageRepFrom(ptr unsafe.Pointer) ImageRep

func ImageRep_Alloc

func ImageRep_Alloc() ImageRep

func ImageRep_ImageRepWithContentsOfFile

func ImageRep_ImageRepWithContentsOfFile(filename string) ImageRep

Creates and returns an image representation object using the contents of the specified file. Full Topic

func ImageRep_ImageRepWithContentsOfURL

func ImageRep_ImageRepWithContentsOfURL(url foundation.IURL) ImageRep

Creates and returns an image representation object using the data at the specified URL. Full Topic

func ImageRep_ImageRepWithPasteboard

func ImageRep_ImageRepWithPasteboard(pasteboard IPasteboard) ImageRep

Creates and returns an image representation object using the contents of the specified pasteboard. Full Topic

func ImageRep_ImageRepsWithContentsOfFile

func ImageRep_ImageRepsWithContentsOfFile(filename string) []ImageRep

Creates and returns an array of image representation objects initialized using the contents of the specified file. Full Topic

func ImageRep_ImageRepsWithContentsOfURL

func ImageRep_ImageRepsWithContentsOfURL(url foundation.IURL) []ImageRep

Creates and returns an array of image representation objects initialized using the contents of the specified URL. Full Topic

func ImageRep_ImageRepsWithPasteboard

func ImageRep_ImageRepsWithPasteboard(pasteboard IPasteboard) []ImageRep

Creates and returns an array of image representation objects initialized using the contents of the pasteboard. Full Topic

func NewImageRep

func NewImageRep() ImageRep

func (ImageRep) BitsPerSample

func (i_ ImageRep) BitsPerSample() int

The number of bits per sample in the object (if the object is a planar image, this property contains the number of bits per sample per plane). Full Topic

func (ImageRep) CGImageForProposedRectContextHints

func (i_ ImageRep) CGImageForProposedRectContextHints(proposedDestRect *foundation.Rect, context IGraphicsContext, hints map[ImageHintKey]objc.IObject) coregraphics.ImageRef

Returns a Core Graphics image object that captures the drawing of the image. Full Topic

func (ImageRep) ColorSpaceName

func (i_ ImageRep) ColorSpaceName() ColorSpaceName

The name of the color space used by the image data. Full Topic

func (ImageRep) Draw

func (i_ ImageRep) Draw() bool

Implemented by subclasses to draw the image in the current coordinate system. Full Topic

func (ImageRep) DrawAtPoint

func (i_ ImageRep) DrawAtPoint(point foundation.Point) bool

Draws the image representation’s image data at the specified point in the current coordinate system. Full Topic

func (ImageRep) DrawInRect

func (i_ ImageRep) DrawInRect(rect foundation.Rect) bool

Draws the image, scaling it (as needed) to fit the specified rectangle. Full Topic

func (ImageRep) HasAlpha

func (i_ ImageRep) HasAlpha() bool

A Boolean value that indicates whether the image data has an alpha channel. Full Topic

func (ImageRep) Init

func (i_ ImageRep) Init() ImageRep

func (ImageRep) IsOpaque

func (i_ ImageRep) IsOpaque() bool

A Boolean value that indicates whether the image is opaque. Full Topic

func (ImageRep) LayoutDirection

func (i_ ImageRep) LayoutDirection() ImageLayoutDirection

The layout direction for the image. Full Topic

func (ImageRep) PixelsHigh

func (i_ ImageRep) PixelsHigh() int

The height of the image, measured in pixels. Full Topic

func (ImageRep) PixelsWide

func (i_ ImageRep) PixelsWide() int

The width of the image, measured in pixels. Full Topic

func (ImageRep) SetAlpha

func (i_ ImageRep) SetAlpha(value bool)

A Boolean value that indicates whether the image data has an alpha channel. Full Topic

func (ImageRep) SetBitsPerSample

func (i_ ImageRep) SetBitsPerSample(value int)

The number of bits per sample in the object (if the object is a planar image, this property contains the number of bits per sample per plane). Full Topic

func (ImageRep) SetColorSpaceName

func (i_ ImageRep) SetColorSpaceName(value ColorSpaceName)

The name of the color space used by the image data. Full Topic

func (ImageRep) SetLayoutDirection

func (i_ ImageRep) SetLayoutDirection(value ImageLayoutDirection)

The layout direction for the image. Full Topic

func (ImageRep) SetOpaque

func (i_ ImageRep) SetOpaque(value bool)

A Boolean value that indicates whether the image is opaque. Full Topic

func (ImageRep) SetPixelsHigh

func (i_ ImageRep) SetPixelsHigh(value int)

The height of the image, measured in pixels. Full Topic

func (ImageRep) SetPixelsWide

func (i_ ImageRep) SetPixelsWide(value int)

The width of the image, measured in pixels. Full Topic

func (ImageRep) SetSize

func (i_ ImageRep) SetSize(value foundation.Size)

The size of the image representation, measured in points in the user coordinate space. Full Topic

func (ImageRep) Size

func (i_ ImageRep) Size() foundation.Size

The size of the image representation, measured in points in the user coordinate space. Full Topic

type ImageRepLoadStatus

type ImageRepLoadStatus int

Constants that identify the loading status of the image. Full Topic

const (
	ImageRepLoadStatusCompleted       ImageRepLoadStatus = -6
	ImageRepLoadStatusInvalidData     ImageRepLoadStatus = -4
	ImageRepLoadStatusReadingHeader   ImageRepLoadStatus = -2
	ImageRepLoadStatusUnexpectedEOF   ImageRepLoadStatus = -5
	ImageRepLoadStatusUnknownType     ImageRepLoadStatus = -1
	ImageRepLoadStatusWillNeedAllData ImageRepLoadStatus = -3
)

type ImageResizingMode

type ImageResizingMode int

Constants that describe the resizing mode for the image. Full Topic

const (
	ImageResizingModeStretch ImageResizingMode = 0
	ImageResizingModeTile    ImageResizingMode = 1
)

type ImageScaling

type ImageScaling uint

Constants that specify a cell’s image scaling behavior. Full Topic

const (
	ImageScaleAxesIndependently      ImageScaling = 1
	ImageScaleNone                   ImageScaling = 2
	ImageScaleProportionallyDown     ImageScaling = 0
	ImageScaleProportionallyUpOrDown ImageScaling = 3
	ScaleNone                        ImageScaling = 2
	ScaleProportionally              ImageScaling = 0
	ScaleToFit                       ImageScaling = 1
)

type ImageSymbolConfiguration

type ImageSymbolConfiguration struct {
	objc.Object
}

An object that contains the specific font, style, and weight attributes to apply to a symbol image. Full Topic

func ImageSymbolConfigurationFrom

func ImageSymbolConfigurationFrom(ptr unsafe.Pointer) ImageSymbolConfiguration

func ImageSymbolConfiguration_Alloc

func ImageSymbolConfiguration_Alloc() ImageSymbolConfiguration

func ImageSymbolConfiguration_ConfigurationByApplyingConfiguration

func ImageSymbolConfiguration_ConfigurationByApplyingConfiguration(configuration IImageSymbolConfiguration) ImageSymbolConfiguration

Creates a configuration object by applying the values from the configuration you specify. Full Topic

func ImageSymbolConfiguration_ConfigurationPreferringMulticolor

func ImageSymbolConfiguration_ConfigurationPreferringMulticolor() ImageSymbolConfiguration

Creates a configuration that specifies that the symbol should prefer its multicolor variant if one exists. Full Topic

func ImageSymbolConfiguration_ConfigurationWithHierarchicalColor

func ImageSymbolConfiguration_ConfigurationWithHierarchicalColor(hierarchicalColor IColor) ImageSymbolConfiguration

Creates a hierarchical color configuration using the color you specify. Full Topic

func ImageSymbolConfiguration_ConfigurationWithPaletteColors

func ImageSymbolConfiguration_ConfigurationWithPaletteColors(paletteColors []IColor) ImageSymbolConfiguration

Creates a color configuration by specifying a palette of colors. Full Topic

func ImageSymbolConfiguration_ConfigurationWithPointSizeWeight

func ImageSymbolConfiguration_ConfigurationWithPointSizeWeight(pointSize float64, weight FontWeight) ImageSymbolConfiguration

Creates a symbol configuration with the specified point size and font weight. Full Topic

func ImageSymbolConfiguration_ConfigurationWithScale

func ImageSymbolConfiguration_ConfigurationWithScale(scale ImageSymbolScale) ImageSymbolConfiguration

Creates a symbol configuration using the scale you specify. Full Topic

func ImageSymbolConfiguration_ConfigurationWithTextStyle

func ImageSymbolConfiguration_ConfigurationWithTextStyle(style FontTextStyle) ImageSymbolConfiguration

Creates a symbol configuration with the specified text style. Full Topic

func NewImageSymbolConfiguration

func NewImageSymbolConfiguration() ImageSymbolConfiguration

func (ImageSymbolConfiguration) ConfigurationByApplyingConfiguration

func (i_ ImageSymbolConfiguration) ConfigurationByApplyingConfiguration(configuration IImageSymbolConfiguration) ImageSymbolConfiguration

func (ImageSymbolConfiguration) Init

type ImageSymbolScale

type ImageSymbolScale int

Constants that specify which scale variant of a symbol image to use. Full Topic

const (
	ImageSymbolScaleLarge  ImageSymbolScale = 3
	ImageSymbolScaleMedium ImageSymbolScale = 2
	ImageSymbolScaleSmall  ImageSymbolScale = 1
)

type ImageView

type ImageView struct {
	Control
}

A display of image data in a frame. Full Topic

func ImageViewFrom

func ImageViewFrom(ptr unsafe.Pointer) ImageView

func ImageView_Alloc

func ImageView_Alloc() ImageView

func ImageView_ImageViewWithImage

func ImageView_ImageViewWithImage(image IImage) ImageView
[Full Topic]

func NewImageView

func NewImageView() ImageView

func NewImageViewWithFrame

func NewImageViewWithFrame(frameRect foundation.Rect) ImageView

Initializes a control with the specified frame rectangle. Full Topic

func (ImageView) AllowsCutCopyPaste

func (i_ ImageView) AllowsCutCopyPaste() bool

A Boolean value indicating whether the image view lets the user cut, copy, and paste the image contents. Full Topic

func (ImageView) Animates

func (i_ ImageView) Animates() bool

A Boolean value indicating whether the image view automatically plays animated images. Full Topic

func (ImageView) ContentTintColor

func (i_ ImageView) ContentTintColor() Color
[Full Topic]

func (ImageView) Image

func (i_ ImageView) Image() Image

The image displayed by the image view. Full Topic

func (ImageView) ImageAlignment

func (i_ ImageView) ImageAlignment() ImageAlignment

The alignment of the cell’s image inside the image view. Full Topic

func (ImageView) ImageFrameStyle

func (i_ ImageView) ImageFrameStyle() ImageFrameStyle

The style of frame that appears around the image. Full Topic

func (ImageView) ImageScaling

func (i_ ImageView) ImageScaling() ImageScaling

The scaling mode applied to make the cell’s image fit the frame of the image view. Full Topic

func (ImageView) Init

func (i_ ImageView) Init() ImageView

func (ImageView) InitWithFrame

func (i_ ImageView) InitWithFrame(frameRect foundation.Rect) ImageView

func (ImageView) IsEditable

func (i_ ImageView) IsEditable() bool

A Boolean value indicating whether the user can drag a new image into the image view. Full Topic

func (ImageView) SetAllowsCutCopyPaste

func (i_ ImageView) SetAllowsCutCopyPaste(value bool)

A Boolean value indicating whether the image view lets the user cut, copy, and paste the image contents. Full Topic

func (ImageView) SetAnimates

func (i_ ImageView) SetAnimates(value bool)

A Boolean value indicating whether the image view automatically plays animated images. Full Topic

func (ImageView) SetContentTintColor

func (i_ ImageView) SetContentTintColor(value IColor)
[Full Topic]

func (ImageView) SetEditable

func (i_ ImageView) SetEditable(value bool)

A Boolean value indicating whether the user can drag a new image into the image view. Full Topic

func (ImageView) SetImage

func (i_ ImageView) SetImage(value IImage)

The image displayed by the image view. Full Topic

func (ImageView) SetImageAlignment

func (i_ ImageView) SetImageAlignment(value ImageAlignment)

The alignment of the cell’s image inside the image view. Full Topic

func (ImageView) SetImageFrameStyle

func (i_ ImageView) SetImageFrameStyle(value ImageFrameStyle)

The style of frame that appears around the image. Full Topic

func (ImageView) SetImageScaling

func (i_ ImageView) SetImageScaling(value ImageScaling)

The scaling mode applied to make the cell’s image fit the frame of the image view. Full Topic

func (ImageView) SetSymbolConfiguration

func (i_ ImageView) SetSymbolConfiguration(value IImageSymbolConfiguration)
[Full Topic]

func (ImageView) SymbolConfiguration

func (i_ ImageView) SymbolConfiguration() ImageSymbolConfiguration
[Full Topic]

type InputManager

type InputManager struct {
	objc.Object
}
[Full Topic]

func InputManagerFrom

func InputManagerFrom(ptr unsafe.Pointer) InputManager

func InputManager_Alloc

func InputManager_Alloc() InputManager

func NewInputManager

func NewInputManager() InputManager

func (InputManager) Init

func (i_ InputManager) Init() InputManager

type InputServer

type InputServer struct {
	objc.Object
}
[Full Topic]

func InputServerFrom

func InputServerFrom(ptr unsafe.Pointer) InputServer

func InputServer_Alloc

func InputServer_Alloc() InputServer

func NewInputServer

func NewInputServer() InputServer

func (InputServer) Init

func (i_ InputServer) Init() InputServer

type InputServerMouseTrackerWrapper

type InputServerMouseTrackerWrapper struct {
	objc.Object
}

A concrete type wrapper for the PInputServerMouseTracker protocol.

type InputServiceProviderWrapper

type InputServiceProviderWrapper struct {
	objc.Object
}

A concrete type wrapper for the PInputServiceProvider protocol.

type InterfaceStyle

type InterfaceStyle uint

These constants are used in NSResponder’s interfaceStyle method. Full Topic

type LayoutAnchor

type LayoutAnchor struct {
	objc.Object
}

A factory class for creating layout constraint objects using a fluent API. Full Topic

func LayoutAnchorFrom

func LayoutAnchorFrom(ptr unsafe.Pointer) LayoutAnchor

func LayoutAnchor_Alloc

func LayoutAnchor_Alloc() LayoutAnchor

func NewLayoutAnchor

func NewLayoutAnchor() LayoutAnchor

func (LayoutAnchor) ConstraintEqualToAnchor

func (l_ LayoutAnchor) ConstraintEqualToAnchor(anchor ILayoutAnchor) LayoutConstraint

Returns a constraint that defines one item’s attribute as equal to another. Full Topic

func (LayoutAnchor) ConstraintEqualToAnchorConstant

func (l_ LayoutAnchor) ConstraintEqualToAnchorConstant(anchor ILayoutAnchor, c float64) LayoutConstraint

func (LayoutAnchor) ConstraintGreaterThanOrEqualToAnchor

func (l_ LayoutAnchor) ConstraintGreaterThanOrEqualToAnchor(anchor ILayoutAnchor) LayoutConstraint

Returns a constraint that defines one item’s attribute as greater than or equal to another. Full Topic

func (LayoutAnchor) ConstraintLessThanOrEqualToAnchor

func (l_ LayoutAnchor) ConstraintLessThanOrEqualToAnchor(anchor ILayoutAnchor) LayoutConstraint

Returns a constraint that defines one item’s attribute as less than or equal to another. Full Topic

func (LayoutAnchor) ConstraintsAffectingLayout

func (l_ LayoutAnchor) ConstraintsAffectingLayout() []LayoutConstraint

The constraints that impact the layout of the anchor. Full Topic

func (LayoutAnchor) HasAmbiguousLayout

func (l_ LayoutAnchor) HasAmbiguousLayout() bool

A Boolean value indicating whether the constraints impacting the anchor specify its location ambiguously. Full Topic

func (LayoutAnchor) Init

func (l_ LayoutAnchor) Init() LayoutAnchor

func (LayoutAnchor) Item

func (l_ LayoutAnchor) Item() objc.Object

The layout item used to calculate the anchor’s position. Full Topic

func (LayoutAnchor) Name

func (l_ LayoutAnchor) Name() string

The name assigned to the anchor for debugging purposes. Full Topic

type LayoutAttribute

type LayoutAttribute int

The part of the object’s visual representation that should be used to get the value for the constraint. Full Topic

const (
	LayoutAttributeBaseline       LayoutAttribute = 11
	LayoutAttributeBottom         LayoutAttribute = 4
	LayoutAttributeCenterX        LayoutAttribute = 9
	LayoutAttributeCenterY        LayoutAttribute = 10
	LayoutAttributeFirstBaseline  LayoutAttribute = 12
	LayoutAttributeHeight         LayoutAttribute = 8
	LayoutAttributeLastBaseline   LayoutAttribute = 11
	LayoutAttributeLeading        LayoutAttribute = 5
	LayoutAttributeLeft           LayoutAttribute = 1
	LayoutAttributeNotAnAttribute LayoutAttribute = 0
	LayoutAttributeRight          LayoutAttribute = 2
	LayoutAttributeTop            LayoutAttribute = 3
	LayoutAttributeTrailing       LayoutAttribute = 6
	LayoutAttributeWidth          LayoutAttribute = 7
)

type LayoutConstraint

type LayoutConstraint struct {
	objc.Object
}

The relationship between two user interface objects that must be satisfied by the constraint-based layout system. Full Topic

func LayoutConstraintFrom

func LayoutConstraintFrom(ptr unsafe.Pointer) LayoutConstraint

func LayoutConstraint_Alloc

func LayoutConstraint_Alloc() LayoutConstraint

func LayoutConstraint_ConstraintWithItemAttributeRelatedByToItemAttributeMultiplierConstant

func LayoutConstraint_ConstraintWithItemAttributeRelatedByToItemAttributeMultiplierConstant(view1 objc.IObject, attr1 LayoutAttribute, relation LayoutRelation, view2 objc.IObject, attr2 LayoutAttribute, multiplier float64, c float64) LayoutConstraint

Creates a constraint that defines the relationship between the specified attributes of the given views. Full Topic

func LayoutConstraint_ConstraintsWithVisualFormatOptionsMetricsViews

func LayoutConstraint_ConstraintsWithVisualFormatOptionsMetricsViews(format string, opts LayoutFormatOptions, metrics map[string]objc.IObject, views map[string]objc.IObject) []LayoutConstraint

Creates constraints described by an ASCII art-like visual format string. Full Topic

func NewLayoutConstraint

func NewLayoutConstraint() LayoutConstraint

func (LayoutConstraint) Constant

func (l_ LayoutConstraint) Constant() float64

The constant added to the multiplied second attribute participating in the constraint. Full Topic

func (LayoutConstraint) FirstAnchor

func (l_ LayoutConstraint) FirstAnchor() LayoutAnchor

The first anchor that defines the constraint. Full Topic

func (LayoutConstraint) FirstAttribute

func (l_ LayoutConstraint) FirstAttribute() LayoutAttribute

The attribute of the first object participating in the constraint. Full Topic

func (LayoutConstraint) FirstItem

func (l_ LayoutConstraint) FirstItem() objc.Object

The first object participating in the constraint. Full Topic

func (LayoutConstraint) Identifier

func (l_ LayoutConstraint) Identifier() string

The name that identifies the constraint. Full Topic

func (LayoutConstraint) Init

func (LayoutConstraint) IsActive

func (l_ LayoutConstraint) IsActive() bool

The active state of the constraint. Full Topic

func (LayoutConstraint) Multiplier

func (l_ LayoutConstraint) Multiplier() float64

The multiplier applied to the second attribute participating in the constraint. Full Topic

func (LayoutConstraint) Priority

func (l_ LayoutConstraint) Priority() LayoutPriority

The priority of the constraint. Full Topic

func (LayoutConstraint) Relation

func (l_ LayoutConstraint) Relation() LayoutRelation

The relation between the two attributes in the constraint. Full Topic

func (LayoutConstraint) SecondAnchor

func (l_ LayoutConstraint) SecondAnchor() LayoutAnchor

The second anchor that defines the constraint. Full Topic

func (LayoutConstraint) SecondAttribute

func (l_ LayoutConstraint) SecondAttribute() LayoutAttribute

The attribute of the second object participating in the constraint. Full Topic

func (LayoutConstraint) SecondItem

func (l_ LayoutConstraint) SecondItem() objc.Object

The second object participating in the constraint. Full Topic

func (LayoutConstraint) SetActive

func (l_ LayoutConstraint) SetActive(value bool)

The active state of the constraint. Full Topic

func (LayoutConstraint) SetConstant

func (l_ LayoutConstraint) SetConstant(value float64)

The constant added to the multiplied second attribute participating in the constraint. Full Topic

func (LayoutConstraint) SetIdentifier

func (l_ LayoutConstraint) SetIdentifier(value string)

The name that identifies the constraint. Full Topic

func (LayoutConstraint) SetPriority

func (l_ LayoutConstraint) SetPriority(value LayoutPriority)

The priority of the constraint. Full Topic

func (LayoutConstraint) SetShouldBeArchived

func (l_ LayoutConstraint) SetShouldBeArchived(value bool)

A Boolean value that determines whether the constraint should be archived by its owning view. Full Topic

func (LayoutConstraint) ShouldBeArchived

func (l_ LayoutConstraint) ShouldBeArchived() bool

A Boolean value that determines whether the constraint should be archived by its owning view. Full Topic

type LayoutConstraintOrientation

type LayoutConstraintOrientation int

The layout constraint orientation, either horizontal or vertical, that the constraint uses to enforce layout between objects. Full Topic

const (
	LayoutConstraintOrientationHorizontal LayoutConstraintOrientation = 0
	LayoutConstraintOrientationVertical   LayoutConstraintOrientation = 1
)

type LayoutDimension

type LayoutDimension struct {
	LayoutAnchor
}

A factory class for creating size-based layout constraint objects using a fluent API. Full Topic

func LayoutDimensionFrom

func LayoutDimensionFrom(ptr unsafe.Pointer) LayoutDimension

func LayoutDimension_Alloc

func LayoutDimension_Alloc() LayoutDimension

func NewLayoutDimension

func NewLayoutDimension() LayoutDimension

func (LayoutDimension) ConstraintEqualToAnchorMultiplierConstant

func (l_ LayoutDimension) ConstraintEqualToAnchorMultiplierConstant(anchor ILayoutDimension, m float64, c float64) LayoutConstraint

Returns a constraint that defines the anchor’s size attribute as equal to the specified size attribute multiplied by a constant plus an offset. Full Topic

func (LayoutDimension) ConstraintEqualToConstant

func (l_ LayoutDimension) ConstraintEqualToConstant(c float64) LayoutConstraint

Returns a constraint that defines a constant size for the anchor’s size attribute. Full Topic

func (LayoutDimension) ConstraintGreaterThanOrEqualToAnchorMultiplier

func (l_ LayoutDimension) ConstraintGreaterThanOrEqualToAnchorMultiplier(anchor ILayoutDimension, m float64) LayoutConstraint

Returns a constraint that defines the anchor’s size attribute as greater than or equal to the specified anchor multiplied by the constant. Full Topic

func (LayoutDimension) ConstraintGreaterThanOrEqualToConstant

func (l_ LayoutDimension) ConstraintGreaterThanOrEqualToConstant(c float64) LayoutConstraint

Returns a constraint that defines the minimum size for the anchor’s size attribute. Full Topic

func (LayoutDimension) ConstraintLessThanOrEqualToAnchorMultiplier

func (l_ LayoutDimension) ConstraintLessThanOrEqualToAnchorMultiplier(anchor ILayoutDimension, m float64) LayoutConstraint

Returns a constraint that defines the anchor’s size attribute as less than or equal to the specified anchor multiplied by the constant. Full Topic

func (LayoutDimension) ConstraintLessThanOrEqualToConstant

func (l_ LayoutDimension) ConstraintLessThanOrEqualToConstant(c float64) LayoutConstraint

Returns a constraint that defines the maximum size for the anchor’s size attribute. Full Topic

func (LayoutDimension) Init

func (l_ LayoutDimension) Init() LayoutDimension

type LayoutFormatOptions

type LayoutFormatOptions uint

A bit mask that specifies both a part of an interface element to align and a direction for the alignment between two interface elements. Full Topic

const (
	LayoutFormatAlignAllBaseline           LayoutFormatOptions = 2048
	LayoutFormatAlignAllBottom             LayoutFormatOptions = 16
	LayoutFormatAlignAllCenterX            LayoutFormatOptions = 512
	LayoutFormatAlignAllCenterY            LayoutFormatOptions = 1024
	LayoutFormatAlignAllFirstBaseline      LayoutFormatOptions = 4096
	LayoutFormatAlignAllLastBaseline       LayoutFormatOptions = 2048
	LayoutFormatAlignAllLeading            LayoutFormatOptions = 32
	LayoutFormatAlignAllLeft               LayoutFormatOptions = 2
	LayoutFormatAlignAllRight              LayoutFormatOptions = 4
	LayoutFormatAlignAllTop                LayoutFormatOptions = 8
	LayoutFormatAlignAllTrailing           LayoutFormatOptions = 64
	LayoutFormatAlignmentMask              LayoutFormatOptions = 65535
	LayoutFormatDirectionLeadingToTrailing LayoutFormatOptions = 0
	LayoutFormatDirectionLeftToRight       LayoutFormatOptions = 65536
	LayoutFormatDirectionMask              LayoutFormatOptions = 196608
	LayoutFormatDirectionRightToLeft       LayoutFormatOptions = 131072
)

type LayoutGuide

type LayoutGuide struct {
	objc.Object
}

A rectangular area that can interact with Auto Layout. Full Topic

func LayoutGuideFrom

func LayoutGuideFrom(ptr unsafe.Pointer) LayoutGuide

func LayoutGuide_Alloc

func LayoutGuide_Alloc() LayoutGuide

func NewLayoutGuide

func NewLayoutGuide() LayoutGuide

func (LayoutGuide) BottomAnchor

func (l_ LayoutGuide) BottomAnchor() LayoutYAxisAnchor

A layout anchor representing the bottom edge of the layout guide’s frame. Full Topic

func (LayoutGuide) CenterXAnchor

func (l_ LayoutGuide) CenterXAnchor() LayoutXAxisAnchor

A layout anchor representing the horizontal center of the layout guide’s frame. Full Topic

func (LayoutGuide) CenterYAnchor

func (l_ LayoutGuide) CenterYAnchor() LayoutYAxisAnchor

A layout anchor representing the vertical center of the layout guide’s frame. Full Topic

func (LayoutGuide) ConstraintsAffectingLayoutForOrientation

func (l_ LayoutGuide) ConstraintsAffectingLayoutForOrientation(orientation LayoutConstraintOrientation) []LayoutConstraint
[Full Topic]

func (LayoutGuide) Frame

func (l_ LayoutGuide) Frame() foundation.Rect

The layout guide’s frame in its owning view’s coordinate system. Full Topic

func (LayoutGuide) HasAmbiguousLayout

func (l_ LayoutGuide) HasAmbiguousLayout() bool
[Full Topic]

func (LayoutGuide) HeightAnchor

func (l_ LayoutGuide) HeightAnchor() LayoutDimension

A layout anchor representing the height of the layout guide’s frame. Full Topic

func (LayoutGuide) Identifier

func (l_ LayoutGuide) Identifier() UserInterfaceItemIdentifier

A string used to identify the layout guide. Full Topic

func (LayoutGuide) Init

func (l_ LayoutGuide) Init() LayoutGuide

func (LayoutGuide) LeadingAnchor

func (l_ LayoutGuide) LeadingAnchor() LayoutXAxisAnchor

A layout anchor representing the leading edge of the layout guide’s frame. Full Topic

func (LayoutGuide) LeftAnchor

func (l_ LayoutGuide) LeftAnchor() LayoutXAxisAnchor

A layout anchor representing the left edge of the layout guide’s frame. Full Topic

func (LayoutGuide) OwningView

func (l_ LayoutGuide) OwningView() View

The view that owns this layout guide. Full Topic

func (LayoutGuide) RightAnchor

func (l_ LayoutGuide) RightAnchor() LayoutXAxisAnchor

A layout anchor representing the right edge of the layout guide’s frame. Full Topic

func (LayoutGuide) SetIdentifier

func (l_ LayoutGuide) SetIdentifier(value UserInterfaceItemIdentifier)

A string used to identify the layout guide. Full Topic

func (LayoutGuide) SetOwningView

func (l_ LayoutGuide) SetOwningView(value IView)

The view that owns this layout guide. Full Topic

func (LayoutGuide) TopAnchor

func (l_ LayoutGuide) TopAnchor() LayoutYAxisAnchor

A layout anchor representing the top edge of the layout guide’s frame. Full Topic

func (LayoutGuide) TrailingAnchor

func (l_ LayoutGuide) TrailingAnchor() LayoutXAxisAnchor

A layout anchor representing the trailing edge of the layout guide’s frame. Full Topic

func (LayoutGuide) WidthAnchor

func (l_ LayoutGuide) WidthAnchor() LayoutDimension

A layout anchor representing the width of the layout guide’s frame. Full Topic

type LayoutManager

type LayoutManager struct {
	objc.Object
}

An object that coordinates the layout and display of text characters. Full Topic

func LayoutManagerFrom

func LayoutManagerFrom(ptr unsafe.Pointer) LayoutManager

func LayoutManager_Alloc

func LayoutManager_Alloc() LayoutManager

func NewLayoutManager

func NewLayoutManager() LayoutManager

func (LayoutManager) AddTemporaryAttributeValueForCharacterRange

func (l_ LayoutManager) AddTemporaryAttributeValueForCharacterRange(attrName foundation.AttributedStringKey, value objc.IObject, charRange foundation.Range)

Adds a temporary attribute to the characters in the specified range. Full Topic

func (LayoutManager) AddTemporaryAttributesForCharacterRange

func (l_ LayoutManager) AddTemporaryAttributesForCharacterRange(attrs map[foundation.AttributedStringKey]objc.IObject, charRange foundation.Range)

Appends one or more temporary attributes to the attributes dictionary of the specified character range. Full Topic

func (LayoutManager) AddTextContainer

func (l_ LayoutManager) AddTextContainer(container ITextContainer)

Appends the specified text container to the series of text containers where the layout manager arranges text. Full Topic

func (LayoutManager) AllowsNonContiguousLayout

func (l_ LayoutManager) AllowsNonContiguousLayout() bool

A Boolean value that indicates whether the layout manager allows noncontiguous layout. Full Topic

func (LayoutManager) AttachmentSizeForGlyphAtIndex

func (l_ LayoutManager) AttachmentSizeForGlyphAtIndex(glyphIndex uint) coregraphics.Size

Returns the size of the attachment glyph at the specified index. Full Topic

func (LayoutManager) BackgroundLayoutEnabled

func (l_ LayoutManager) BackgroundLayoutEnabled() bool

A Boolean value that indicates whether the layout manager generates glyphs and lays them out when the app's run loop is idle. Full Topic

func (LayoutManager) BoundingRectForGlyphRangeInTextContainer

func (l_ LayoutManager) BoundingRectForGlyphRangeInTextContainer(glyphRange foundation.Range, container ITextContainer) coregraphics.Rect

Returns the bounding rectangle for the specified glyphs in a container. Full Topic

func (LayoutManager) BoundsRectForTextBlockGlyphRange

func (l_ LayoutManager) BoundsRectForTextBlockGlyphRange(block ITextBlock, glyphRange foundation.Range) foundation.Rect

Returns the bounding rectangle that encloses the specified text block and glyph range. Full Topic

func (LayoutManager) CGGlyphAtIndexIsValidIndex

func (l_ LayoutManager) CGGlyphAtIndexIsValidIndex(glyphIndex uint, isValidIndex *bool) coregraphics.Glyph

Returns the glyph at the specified index along with information about whether the glyph index is valid. Full Topic

func (LayoutManager) CharacterIndexForGlyphAtIndex

func (l_ LayoutManager) CharacterIndexForGlyphAtIndex(glyphIndex uint) uint

Returns the index in the text storage for the first character of the specified glyph. Full Topic

func (LayoutManager) CharacterIndexForPointInTextContainerFractionOfDistanceBetweenInsertionPoints

func (l_ LayoutManager) CharacterIndexForPointInTextContainerFractionOfDistanceBetweenInsertionPoints(point coregraphics.Point, container ITextContainer, partialFraction *float64) uint

Returns the index of the character that lies beneath the specified point using the specified container's coordinate system. Full Topic

func (LayoutManager) CharacterRangeForGlyphRangeActualGlyphRange

func (l_ LayoutManager) CharacterRangeForGlyphRangeActualGlyphRange(glyphRange foundation.Range, actualGlyphRange foundation.RangePointer) foundation.Range

Returns the range of characters that correspond to the glyphs in the specified glyph range. Full Topic

func (LayoutManager) DefaultAttachmentScaling

func (l_ LayoutManager) DefaultAttachmentScaling() ImageScaling

The default amount of scaling to apply when an attachment image is too large to fit in a text container. Full Topic

func (LayoutManager) DefaultBaselineOffsetForFont

func (l_ LayoutManager) DefaultBaselineOffsetForFont(theFont IFont) float64

Returns the default baseline offset that the layout manager's typesetter uses for the specified font. Full Topic

func (LayoutManager) DefaultLineHeightForFont

func (l_ LayoutManager) DefaultLineHeightForFont(theFont IFont) float64

Returns the default line height for a line of text that uses a specified font. Full Topic

func (LayoutManager) Delegate

The layout manager’s delegate. Full Topic

func (LayoutManager) DrawBackgroundForGlyphRangeAtPoint

func (l_ LayoutManager) DrawBackgroundForGlyphRangeAtPoint(glyphsToShow foundation.Range, origin coregraphics.Point)

Draws background marks for the specified glyphs, which must lie completely within a single text container. Full Topic

func (LayoutManager) DrawGlyphsForGlyphRangeAtPoint

func (l_ LayoutManager) DrawGlyphsForGlyphRangeAtPoint(glyphsToShow foundation.Range, origin coregraphics.Point)

Draws the specified glyphs, which must lie completely within a single text container. Full Topic

func (LayoutManager) DrawStrikethroughForGlyphRangeStrikethroughTypeBaselineOffsetLineFragmentRectLineFragmentGlyphRangeContainerOrigin

func (l_ LayoutManager) DrawStrikethroughForGlyphRangeStrikethroughTypeBaselineOffsetLineFragmentRectLineFragmentGlyphRangeContainerOrigin(glyphRange foundation.Range, strikethroughVal UnderlineStyle, baselineOffset float64, lineRect coregraphics.Rect, lineGlyphRange foundation.Range, containerOrigin coregraphics.Point)

Draws a strikethrough for the specified glyphs. Full Topic

func (LayoutManager) DrawUnderlineForGlyphRangeUnderlineTypeBaselineOffsetLineFragmentRectLineFragmentGlyphRangeContainerOrigin

func (l_ LayoutManager) DrawUnderlineForGlyphRangeUnderlineTypeBaselineOffsetLineFragmentRectLineFragmentGlyphRangeContainerOrigin(glyphRange foundation.Range, underlineVal UnderlineStyle, baselineOffset float64, lineRect coregraphics.Rect, lineGlyphRange foundation.Range, containerOrigin coregraphics.Point)

Draws underlining for the glyphs in a specified range. Full Topic

func (LayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex

func (l_ LayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex(glyphIndex uint) bool

Indicates whether the glyph draws outside its line fragment rectangle. Full Topic

func (LayoutManager) EnsureGlyphsForCharacterRange

func (l_ LayoutManager) EnsureGlyphsForCharacterRange(charRange foundation.Range)

Forces the layout manager to generate glyphs for the specified character range if it hasn’t already. Full Topic

func (LayoutManager) EnsureGlyphsForGlyphRange

func (l_ LayoutManager) EnsureGlyphsForGlyphRange(glyphRange foundation.Range)

Forces the layout manager to generate glyphs for the specified glyph range if it hasn’t already. Full Topic

func (LayoutManager) EnsureLayoutForBoundingRectInTextContainer

func (l_ LayoutManager) EnsureLayoutForBoundingRectInTextContainer(bounds coregraphics.Rect, container ITextContainer)

Forces the layout manager to perform layout for the specified area in the specified text container if it hasn’t already. Full Topic

func (LayoutManager) EnsureLayoutForCharacterRange

func (l_ LayoutManager) EnsureLayoutForCharacterRange(charRange foundation.Range)

Forces the layout manager to perform layout for the specified character range if it hasn’t already. Full Topic

func (LayoutManager) EnsureLayoutForGlyphRange

func (l_ LayoutManager) EnsureLayoutForGlyphRange(glyphRange foundation.Range)

Forces the layout manager to perform layout for the specified glyph range if it hasn’t already. Full Topic

func (LayoutManager) EnsureLayoutForTextContainer

func (l_ LayoutManager) EnsureLayoutForTextContainer(container ITextContainer)

Forces the layout manager to perform layout for the specified text container if it hasn’t already. Full Topic

func (LayoutManager) EnumerateEnclosingRectsForGlyphRangeWithinSelectedGlyphRangeInTextContainerUsingBlock

func (l_ LayoutManager) EnumerateEnclosingRectsForGlyphRangeWithinSelectedGlyphRangeInTextContainerUsingBlock(glyphRange foundation.Range, selectedRange foundation.Range, textContainer ITextContainer, block func(rect coregraphics.Rect, stop *bool))

Enumerates enclosing rectangles for the specified glyph range in a text container. Full Topic

func (LayoutManager) EnumerateLineFragmentsForGlyphRangeUsingBlock

func (l_ LayoutManager) EnumerateLineFragmentsForGlyphRangeUsingBlock(glyphRange foundation.Range, block func(rect coregraphics.Rect, usedRect coregraphics.Rect, textContainer TextContainer, glyphRange foundation.Range, stop *bool))

Enumerates line fragments intersecting with the specified glyph range. Full Topic

func (LayoutManager) ExtraLineFragmentRect

func (l_ LayoutManager) ExtraLineFragmentRect() coregraphics.Rect

The rectangle for the extra line fragment at the end of a document. Full Topic

func (LayoutManager) ExtraLineFragmentTextContainer

func (l_ LayoutManager) ExtraLineFragmentTextContainer() TextContainer

The text container for the extra line fragment rectangle. Full Topic

func (LayoutManager) ExtraLineFragmentUsedRect

func (l_ LayoutManager) ExtraLineFragmentUsedRect() coregraphics.Rect

The rectangle that encloses the insertion point in the extra line fragment rectangle. Full Topic

func (LayoutManager) FillBackgroundRectArrayCountForCharacterRangeColor

func (l_ LayoutManager) FillBackgroundRectArrayCountForCharacterRangeColor(rectArray *coregraphics.Rect, rectCount uint, charRange foundation.Range, color IColor)

Fills background rectangles with a color. Full Topic

func (LayoutManager) FirstTextView

func (l_ LayoutManager) FirstTextView() TextView

The first text view in the layout manager’s series of text views. Full Topic

func (LayoutManager) FirstUnlaidCharacterIndex

func (l_ LayoutManager) FirstUnlaidCharacterIndex() uint

Returns the index for the first character in the layout manager that isn’t in the layout. Full Topic

func (LayoutManager) FirstUnlaidGlyphIndex

func (l_ LayoutManager) FirstUnlaidGlyphIndex() uint

Returns the index for the first glyph in the layout manager that isn’t in the layout. Full Topic

func (LayoutManager) FractionOfDistanceThroughGlyphForPointInTextContainer

func (l_ LayoutManager) FractionOfDistanceThroughGlyphForPointInTextContainer(point coregraphics.Point, container ITextContainer) float64

Returns the fraction of the distance between the glyph at the specified point and the next glyph. Full Topic

func (LayoutManager) GetFirstUnlaidCharacterIndexGlyphIndex

func (l_ LayoutManager) GetFirstUnlaidCharacterIndexGlyphIndex(charIndex *uint, glyphIndex *uint)

Returns the indexes for the first character and glyph that have invalid layout information. Full Topic

func (LayoutManager) GetLineFragmentInsertionPointsForCharacterAtIndexAlternatePositionsInDisplayOrderPositionsCharacterIndexes

func (l_ LayoutManager) GetLineFragmentInsertionPointsForCharacterAtIndexAlternatePositionsInDisplayOrderPositionsCharacterIndexes(charIndex uint, aFlag bool, dFlag bool, positions *float64, charIndexes *uint) uint

Returns insertion points in bulk for a specified line fragment. Full Topic

func (LayoutManager) GlyphGenerator

func (l_ LayoutManager) GlyphGenerator() GlyphGenerator

The glyph generator that the layout manager uses. Full Topic

func (LayoutManager) GlyphIndexForCharacterAtIndex

func (l_ LayoutManager) GlyphIndexForCharacterAtIndex(charIndex uint) uint

Returns the index of the first glyph of the character at the specified index. Full Topic

func (LayoutManager) GlyphIndexForPointInTextContainer

func (l_ LayoutManager) GlyphIndexForPointInTextContainer(point coregraphics.Point, container ITextContainer) uint

Returns the index of the glyph at the specified location in a text container. Full Topic

func (LayoutManager) GlyphRangeForBoundingRectInTextContainer

func (l_ LayoutManager) GlyphRangeForBoundingRectInTextContainer(bounds coregraphics.Rect, container ITextContainer) foundation.Range

Returns the smallest contiguous range for glyphs lying wholly or partially within the specified rectangle of the text container. Full Topic

func (LayoutManager) GlyphRangeForBoundingRectWithoutAdditionalLayoutInTextContainer

func (l_ LayoutManager) GlyphRangeForBoundingRectWithoutAdditionalLayoutInTextContainer(bounds coregraphics.Rect, container ITextContainer) foundation.Range

Returns the smallest contiguous range for glyphs lying wholly or partially within the specified rectangle of the text container. Full Topic

func (LayoutManager) GlyphRangeForCharacterRangeActualCharacterRange

func (l_ LayoutManager) GlyphRangeForCharacterRangeActualCharacterRange(charRange foundation.Range, actualCharRange foundation.RangePointer) foundation.Range

Returns the range of glyphs that the specified range of characters generates. Full Topic

func (LayoutManager) GlyphRangeForTextContainer

func (l_ LayoutManager) GlyphRangeForTextContainer(container ITextContainer) foundation.Range

Returns the range of glyphs lying within the specified text container. Full Topic

func (LayoutManager) HasNonContiguousLayout

func (l_ LayoutManager) HasNonContiguousLayout() bool

A Boolean value that indicates whether the layout manager currently has any areas of noncontiguous layout. Full Topic

func (LayoutManager) Init

func (l_ LayoutManager) Init() LayoutManager

func (LayoutManager) InsertTextContainerAtIndex

func (l_ LayoutManager) InsertTextContainerAtIndex(container ITextContainer, index uint)

Inserts a text container at the specified index in the list of text containers. Full Topic

func (LayoutManager) InvalidateDisplayForCharacterRange

func (l_ LayoutManager) InvalidateDisplayForCharacterRange(charRange foundation.Range)

Invalidates display for the specified character range. Full Topic

func (LayoutManager) InvalidateDisplayForGlyphRange

func (l_ LayoutManager) InvalidateDisplayForGlyphRange(glyphRange foundation.Range)

Invalidates a range of glyphs, requiring new layout information, and updates the appropriate regions of any text views that display those glyphs. Full Topic

func (LayoutManager) InvalidateGlyphsForCharacterRangeChangeInLengthActualCharacterRange

func (l_ LayoutManager) InvalidateGlyphsForCharacterRangeChangeInLengthActualCharacterRange(charRange foundation.Range, delta int, actualCharRange foundation.RangePointer)

Invalidates and adjusts the glyphs in the specified character range. Full Topic

func (LayoutManager) IsValidGlyphIndex

func (l_ LayoutManager) IsValidGlyphIndex(glyphIndex uint) bool

Indicates whether the specified index refers to a valid glyph. Full Topic

func (LayoutManager) LayoutManagerOwnsFirstResponderInWindow

func (l_ LayoutManager) LayoutManagerOwnsFirstResponderInWindow(window IWindow) bool

Indicates whether the first responder in the specified window is a text view for the layout manager. Full Topic

func (LayoutManager) LayoutRectForTextBlockGlyphRange

func (l_ LayoutManager) LayoutRectForTextBlockGlyphRange(block ITextBlock, glyphRange foundation.Range) foundation.Rect

Returns the rectangle for the layout of the specified text block and glyph range. Full Topic

func (LayoutManager) LimitsLayoutForSuspiciousContents

func (l_ LayoutManager) LimitsLayoutForSuspiciousContents() bool

A Boolean value that indicates whether the layout manager avoids laying out unusually long or suspicious input. Full Topic

func (LayoutManager) LineFragmentRectForGlyphAtIndexEffectiveRange

func (l_ LayoutManager) LineFragmentRectForGlyphAtIndexEffectiveRange(glyphIndex uint, effectiveGlyphRange foundation.RangePointer) coregraphics.Rect

Returns the rectangle for the line fragment where the glyph lies and (optionally), by reference, the entire range of glyphs in that fragment. Full Topic

func (LayoutManager) LineFragmentUsedRectForGlyphAtIndexEffectiveRange

func (l_ LayoutManager) LineFragmentUsedRectForGlyphAtIndexEffectiveRange(glyphIndex uint, effectiveGlyphRange foundation.RangePointer) coregraphics.Rect

Returns the usage rectangle for the line fragment and (optionally) returns the entire range of glyphs in that fragment. Full Topic

func (LayoutManager) LocationForGlyphAtIndex

func (l_ LayoutManager) LocationForGlyphAtIndex(glyphIndex uint) coregraphics.Point

Returns the location for the specified glyph within its line fragment. Full Topic

func (LayoutManager) NotShownAttributeForGlyphAtIndex

func (l_ LayoutManager) NotShownAttributeForGlyphAtIndex(glyphIndex uint) bool

Indicates whether the glyph at the specified index has a visible representation. Full Topic

func (LayoutManager) NumberOfGlyphs

func (l_ LayoutManager) NumberOfGlyphs() uint

The number of glyphs in the layout manager. Full Topic

func (LayoutManager) ProcessEditingForTextStorageEditedRangeChangeInLengthInvalidatedRange

func (l_ LayoutManager) ProcessEditingForTextStorageEditedRangeChangeInLengthInvalidatedRange(textStorage ITextStorage, editMask TextStorageEditActions, newCharRange foundation.Range, delta int, invalidatedCharRange foundation.Range)

Notifies the layout manager when an edit action changes the contents of its text storage object. Full Topic

func (LayoutManager) PropertyForGlyphAtIndex

func (l_ LayoutManager) PropertyForGlyphAtIndex(glyphIndex uint) GlyphProperty

Returns the glyph property of the glyph at the specified index. Full Topic

func (LayoutManager) RangeOfNominallySpacedGlyphsContainingIndex

func (l_ LayoutManager) RangeOfNominallySpacedGlyphsContainingIndex(glyphIndex uint) foundation.Range

Returns the range of displayable glyphs that surround the glyph at the specified index. Full Topic

func (LayoutManager) RemoveTemporaryAttributeForCharacterRange

func (l_ LayoutManager) RemoveTemporaryAttributeForCharacterRange(attrName foundation.AttributedStringKey, charRange foundation.Range)

Removes a temporary attribute from the list of attributes for the specified character range. Full Topic

func (LayoutManager) RemoveTextContainerAtIndex

func (l_ LayoutManager) RemoveTextContainerAtIndex(index uint)

Removes the text container at the specified index and invalidates the layout as necessary. Full Topic

func (LayoutManager) ReplaceTextStorage

func (l_ LayoutManager) ReplaceTextStorage(newTextStorage ITextStorage)

Replaces the layout manager's current text storage object with the specified object. Full Topic

func (LayoutManager) RulerAccessoryViewForTextViewParagraphStyleRulerEnabled

func (l_ LayoutManager) RulerAccessoryViewForTextViewParagraphStyleRulerEnabled(view ITextView, style IParagraphStyle, ruler IRulerView, isEnabled bool) View

Returns the accessory view that the text system uses for its ruler. Full Topic

func (LayoutManager) RulerMarkersForTextViewParagraphStyleRuler

func (l_ LayoutManager) RulerMarkersForTextViewParagraphStyleRuler(view ITextView, style IParagraphStyle, ruler IRulerView) []RulerMarker

Returns an array of text ruler objects for the current selection. Full Topic

func (LayoutManager) SetAllowsNonContiguousLayout

func (l_ LayoutManager) SetAllowsNonContiguousLayout(value bool)

A Boolean value that indicates whether the layout manager allows noncontiguous layout. Full Topic

func (LayoutManager) SetAttachmentSizeForGlyphRange

func (l_ LayoutManager) SetAttachmentSizeForGlyphRange(attachmentSize coregraphics.Size, glyphRange foundation.Range)

Sets the size to use when drawing a glyph that represents an attachment. Full Topic

func (LayoutManager) SetBackgroundLayoutEnabled

func (l_ LayoutManager) SetBackgroundLayoutEnabled(value bool)

A Boolean value that indicates whether the layout manager generates glyphs and lays them out when the app's run loop is idle. Full Topic

func (LayoutManager) SetBoundsRectForTextBlockGlyphRange

func (l_ LayoutManager) SetBoundsRectForTextBlockGlyphRange(rect foundation.Rect, block ITextBlock, glyphRange foundation.Range)

Sets the bounding rectangle that encloses the specified text block and glyph range. Full Topic

func (LayoutManager) SetDefaultAttachmentScaling

func (l_ LayoutManager) SetDefaultAttachmentScaling(value ImageScaling)

The default amount of scaling to apply when an attachment image is too large to fit in a text container. Full Topic

func (LayoutManager) SetDelegate

func (l_ LayoutManager) SetDelegate(value PLayoutManagerDelegate)

The layout manager’s delegate. Full Topic

func (LayoutManager) SetDelegateObject

func (l_ LayoutManager) SetDelegateObject(valueObject objc.IObject)

The layout manager’s delegate. Full Topic

func (LayoutManager) SetDrawsOutsideLineFragmentForGlyphAtIndex

func (l_ LayoutManager) SetDrawsOutsideLineFragmentForGlyphAtIndex(flag bool, glyphIndex uint)

Indicates whether the specified glyph exceeds the bounds of the line fragment for its layout. Full Topic

func (LayoutManager) SetExtraLineFragmentRectUsedRectTextContainer

func (l_ LayoutManager) SetExtraLineFragmentRectUsedRectTextContainer(fragmentRect coregraphics.Rect, usedRect coregraphics.Rect, container ITextContainer)

Sets the bounds and container for the extra line fragment. Full Topic

func (LayoutManager) SetGlyphGenerator

func (l_ LayoutManager) SetGlyphGenerator(value IGlyphGenerator)

The glyph generator that the layout manager uses. Full Topic

func (LayoutManager) SetGlyphsPropertiesCharacterIndexesFontForGlyphRange

func (l_ LayoutManager) SetGlyphsPropertiesCharacterIndexesFontForGlyphRange(glyphs *coregraphics.Glyph, props *GlyphProperty, charIndexes *uint, aFont IFont, glyphRange foundation.Range)

Stores the initial glyphs and glyph properties for a character range. Full Topic

func (LayoutManager) SetLayoutRectForTextBlockGlyphRange

func (l_ LayoutManager) SetLayoutRectForTextBlockGlyphRange(rect foundation.Rect, block ITextBlock, glyphRange foundation.Range)

Sets the layout rectangle that encloses the specified text block and glyph range. Full Topic

func (LayoutManager) SetLimitsLayoutForSuspiciousContents

func (l_ LayoutManager) SetLimitsLayoutForSuspiciousContents(value bool)

A Boolean value that indicates whether the layout manager avoids laying out unusually long or suspicious input. Full Topic

func (LayoutManager) SetLineFragmentRectForGlyphRangeUsedRect

func (l_ LayoutManager) SetLineFragmentRectForGlyphRangeUsedRect(fragmentRect coregraphics.Rect, glyphRange foundation.Range, usedRect coregraphics.Rect)

Associates the line fragment bounds for the specified range of glyphs. Full Topic

func (LayoutManager) SetLocationForStartOfGlyphRange

func (l_ LayoutManager) SetLocationForStartOfGlyphRange(location coregraphics.Point, glyphRange foundation.Range)

Sets the location for the first glyph in the specified range. Full Topic

func (LayoutManager) SetNotShownAttributeForGlyphAtIndex

func (l_ LayoutManager) SetNotShownAttributeForGlyphAtIndex(flag bool, glyphIndex uint)

Sets the visibility of the glyph at the specified index. Full Topic

func (LayoutManager) SetShowsControlCharacters

func (l_ LayoutManager) SetShowsControlCharacters(value bool)

A Boolean value that indicates whether the layout manager substitutes visible glyphs for control characters in the layout. Full Topic

func (LayoutManager) SetShowsInvisibleCharacters

func (l_ LayoutManager) SetShowsInvisibleCharacters(value bool)

A Boolean value that indicates whether to substitute visible glyphs for whitespace and other typically invisible characters. Full Topic

func (LayoutManager) SetTemporaryAttributesForCharacterRange

func (l_ LayoutManager) SetTemporaryAttributesForCharacterRange(attrs map[foundation.AttributedStringKey]objc.IObject, charRange foundation.Range)

Sets one or more temporary attributes for the specified character range. Full Topic

func (LayoutManager) SetTextContainerForGlyphRange

func (l_ LayoutManager) SetTextContainerForGlyphRange(container ITextContainer, glyphRange foundation.Range)

Associates a text container with the specified range of glyphs. Full Topic

func (LayoutManager) SetTextStorage

func (l_ LayoutManager) SetTextStorage(value ITextStorage)

The text storage object that contains the content to lay out. Full Topic

func (LayoutManager) SetTypesetter

func (l_ LayoutManager) SetTypesetter(value ITypesetter)

The current typesetter. Full Topic

func (LayoutManager) SetTypesetterBehavior

func (l_ LayoutManager) SetTypesetterBehavior(value TypesetterBehavior)

The default typesetter behavior. Full Topic

func (LayoutManager) SetUsesDefaultHyphenation

func (l_ LayoutManager) SetUsesDefaultHyphenation(value bool)

A Boolean value that indicates whether the layout manager uses the default hyphenation rules to wrap lines. Full Topic

func (LayoutManager) SetUsesFontLeading

func (l_ LayoutManager) SetUsesFontLeading(value bool)

A Boolean value that indicates whether the layout manager uses the leading of the font. Full Topic

func (LayoutManager) ShowAttachmentCellInRectCharacterIndex

func (l_ LayoutManager) ShowAttachmentCellInRectCharacterIndex(cell ICell, rect foundation.Rect, attachmentIndex uint)

Draws an attachment cell. Full Topic

func (LayoutManager) ShowCGGlyphsPositionsCountFontTextMatrixAttributesInContext

func (l_ LayoutManager) ShowCGGlyphsPositionsCountFontTextMatrixAttributesInContext(glyphs *coregraphics.Glyph, positions *coregraphics.Point, glyphCount int, font IFont, textMatrix coregraphics.AffineTransform, attributes map[foundation.AttributedStringKey]objc.IObject, CGContext coregraphics.ContextRef)

Renders the glyphs at the specified positions, using the specified attributes. Full Topic

func (LayoutManager) ShowsControlCharacters

func (l_ LayoutManager) ShowsControlCharacters() bool

A Boolean value that indicates whether the layout manager substitutes visible glyphs for control characters in the layout. Full Topic

func (LayoutManager) ShowsInvisibleCharacters

func (l_ LayoutManager) ShowsInvisibleCharacters() bool

A Boolean value that indicates whether to substitute visible glyphs for whitespace and other typically invisible characters. Full Topic

func (LayoutManager) StrikethroughGlyphRangeStrikethroughTypeLineFragmentRectLineFragmentGlyphRangeContainerOrigin

func (l_ LayoutManager) StrikethroughGlyphRangeStrikethroughTypeLineFragmentRectLineFragmentGlyphRangeContainerOrigin(glyphRange foundation.Range, strikethroughVal UnderlineStyle, lineRect coregraphics.Rect, lineGlyphRange foundation.Range, containerOrigin coregraphics.Point)

Calculates and draws strikethrough for the specified glyphs. Full Topic

func (LayoutManager) TemporaryAttributeAtCharacterIndexLongestEffectiveRangeInRange

func (l_ LayoutManager) TemporaryAttributeAtCharacterIndexLongestEffectiveRangeInRange(attrName foundation.AttributedStringKey, location uint, range_ foundation.RangePointer, rangeLimit foundation.Range) objc.Object

Returns the value for the temporary attribute of a character, and the maximum range it applies to. Full Topic

func (LayoutManager) TemporaryAttributesAtCharacterIndexEffectiveRange

func (l_ LayoutManager) TemporaryAttributesAtCharacterIndexEffectiveRange(charIndex uint, effectiveCharRange foundation.RangePointer) map[foundation.AttributedStringKey]objc.Object

Returns the dictionary of temporary attributes for the specified character range. Full Topic

func (LayoutManager) TextContainerChangedGeometry

func (l_ LayoutManager) TextContainerChangedGeometry(container ITextContainer)

Invalidates the layout information, and possibly glyphs, for the specified text container and all subsequent text container objects. Full Topic

func (LayoutManager) TextContainerChangedTextView

func (l_ LayoutManager) TextContainerChangedTextView(container ITextContainer)

Updates the information necessary to manage text view objects for the specified text container. Full Topic

func (LayoutManager) TextContainerForGlyphAtIndexEffectiveRange

func (l_ LayoutManager) TextContainerForGlyphAtIndexEffectiveRange(glyphIndex uint, effectiveGlyphRange foundation.RangePointer) TextContainer

Returns the text container that manages the layout for the specified glyph, causing layout to happen as necessary. Full Topic

func (LayoutManager) TextContainers

func (l_ LayoutManager) TextContainers() []TextContainer

The current text containers of the layout manager. Full Topic

func (LayoutManager) TextStorage

func (l_ LayoutManager) TextStorage() TextStorage

The text storage object that contains the content to lay out. Full Topic

func (LayoutManager) TextViewForBeginningOfSelection

func (l_ LayoutManager) TextViewForBeginningOfSelection() TextView

The text view that contains the first glyph in the selection. Full Topic

func (LayoutManager) TruncatedGlyphRangeInLineFragmentForGlyphAtIndex

func (l_ LayoutManager) TruncatedGlyphRangeInLineFragmentForGlyphAtIndex(glyphIndex uint) foundation.Range

Returns the range of truncated glyphs for a line fragment that contains the specified index. Full Topic

func (LayoutManager) Typesetter

func (l_ LayoutManager) Typesetter() Typesetter

The current typesetter. Full Topic

func (LayoutManager) TypesetterBehavior

func (l_ LayoutManager) TypesetterBehavior() TypesetterBehavior

The default typesetter behavior. Full Topic

func (LayoutManager) UnderlineGlyphRangeUnderlineTypeLineFragmentRectLineFragmentGlyphRangeContainerOrigin

func (l_ LayoutManager) UnderlineGlyphRangeUnderlineTypeLineFragmentRectLineFragmentGlyphRangeContainerOrigin(glyphRange foundation.Range, underlineVal UnderlineStyle, lineRect coregraphics.Rect, lineGlyphRange foundation.Range, containerOrigin coregraphics.Point)

Calculates subranges to underline for the specified glyphs and draws the underlining as appropriate. Full Topic

func (LayoutManager) UsedRectForTextContainer

func (l_ LayoutManager) UsedRectForTextContainer(container ITextContainer) coregraphics.Rect

Returns the bounding rectangle for the glyphs in the specified text container. Full Topic

func (LayoutManager) UsesDefaultHyphenation

func (l_ LayoutManager) UsesDefaultHyphenation() bool

A Boolean value that indicates whether the layout manager uses the default hyphenation rules to wrap lines. Full Topic

func (LayoutManager) UsesFontLeading

func (l_ LayoutManager) UsesFontLeading() bool

A Boolean value that indicates whether the layout manager uses the leading of the font. Full Topic

type LayoutManagerDelegate

type LayoutManagerDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PLayoutManagerDelegate protocol.

func (*LayoutManagerDelegate) HasLayoutManagerDidInvalidateLayout

func (di *LayoutManagerDelegate) HasLayoutManagerDidInvalidateLayout() bool

func (*LayoutManagerDelegate) HasLayoutManagerShouldUseTemporaryAttributesForDrawingToScreenAtCharacterIndexEffectiveRange

func (di *LayoutManagerDelegate) HasLayoutManagerShouldUseTemporaryAttributesForDrawingToScreenAtCharacterIndexEffectiveRange() bool

func (*LayoutManagerDelegate) LayoutManagerDidInvalidateLayout

func (di *LayoutManagerDelegate) LayoutManagerDidInvalidateLayout(sender LayoutManager)

Informs the delegate when the specified layout manager invalidates layout information (not glyph information). Full Topic

func (*LayoutManagerDelegate) LayoutManagerShouldUseTemporaryAttributesForDrawingToScreenAtCharacterIndexEffectiveRange

func (di *LayoutManagerDelegate) LayoutManagerShouldUseTemporaryAttributesForDrawingToScreenAtCharacterIndexEffectiveRange(layoutManager LayoutManager, attrs map[foundation.AttributedStringKey]objc.Object, toScreen bool, charIndex uint, effectiveCharRange foundation.RangePointer) map[foundation.AttributedStringKey]objc.IObject

Asks the delegate whether to use temporary attributes when drawing the text. Full Topic

func (*LayoutManagerDelegate) SetLayoutManagerDidInvalidateLayout

func (di *LayoutManagerDelegate) SetLayoutManagerDidInvalidateLayout(f func(sender LayoutManager))

Informs the delegate when the specified layout manager invalidates layout information (not glyph information). Full Topic

func (*LayoutManagerDelegate) SetLayoutManagerShouldUseTemporaryAttributesForDrawingToScreenAtCharacterIndexEffectiveRange

func (di *LayoutManagerDelegate) SetLayoutManagerShouldUseTemporaryAttributesForDrawingToScreenAtCharacterIndexEffectiveRange(f func(layoutManager LayoutManager, attrs map[foundation.AttributedStringKey]objc.Object, toScreen bool, charIndex uint, effectiveCharRange foundation.RangePointer) map[foundation.AttributedStringKey]objc.IObject)

Asks the delegate whether to use temporary attributes when drawing the text. Full Topic

type LayoutManagerDelegateWrapper

type LayoutManagerDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PLayoutManagerDelegate protocol.

func (LayoutManagerDelegateWrapper) HasLayoutManagerDidInvalidateLayout

func (l_ LayoutManagerDelegateWrapper) HasLayoutManagerDidInvalidateLayout() bool

func (LayoutManagerDelegateWrapper) HasLayoutManagerShouldUseTemporaryAttributesForDrawingToScreenAtCharacterIndexEffectiveRange

func (l_ LayoutManagerDelegateWrapper) HasLayoutManagerShouldUseTemporaryAttributesForDrawingToScreenAtCharacterIndexEffectiveRange() bool

func (LayoutManagerDelegateWrapper) LayoutManagerDidInvalidateLayout

func (l_ LayoutManagerDelegateWrapper) LayoutManagerDidInvalidateLayout(sender ILayoutManager)

Informs the delegate when the specified layout manager invalidates layout information (not glyph information). Full Topic

func (LayoutManagerDelegateWrapper) LayoutManagerShouldUseTemporaryAttributesForDrawingToScreenAtCharacterIndexEffectiveRange

func (l_ LayoutManagerDelegateWrapper) LayoutManagerShouldUseTemporaryAttributesForDrawingToScreenAtCharacterIndexEffectiveRange(layoutManager ILayoutManager, attrs map[foundation.AttributedStringKey]objc.IObject, toScreen bool, charIndex uint, effectiveCharRange foundation.RangePointer) map[foundation.AttributedStringKey]objc.Object

Asks the delegate whether to use temporary attributes when drawing the text. Full Topic

type LayoutPriority

type LayoutPriority float64

Layout priority used to indicate the relative importance of constraints, allowing Auto Layout to make appropriate tradeoffs when satisfying the constraints of the system as a whole. Full Topic

const (
	LayoutPriorityDefaultHigh                LayoutPriority = 750.000000
	LayoutPriorityDefaultLow                 LayoutPriority = 250.000000
	LayoutPriorityDragThatCanResizeWindow    LayoutPriority = 510.000000
	LayoutPriorityDragThatCannotResizeWindow LayoutPriority = 490.000000
	LayoutPriorityFittingSizeCompression     LayoutPriority = 50.000000
	LayoutPriorityRequired                   LayoutPriority = 1000.000000
	LayoutPriorityWindowSizeStayPut          LayoutPriority = 500.000000
)

type LayoutRelation

type LayoutRelation int

The relation between the first attribute and the modified second attribute in a constraint. Full Topic

const (
	LayoutRelationEqual              LayoutRelation = 0
	LayoutRelationGreaterThanOrEqual LayoutRelation = 1
	LayoutRelationLessThanOrEqual    LayoutRelation = -1
)

type LayoutXAxisAnchor

type LayoutXAxisAnchor struct {
	LayoutAnchor
}

A factory class for creating horizontal layout constraint objects using a fluent API. Full Topic

func LayoutXAxisAnchorFrom

func LayoutXAxisAnchorFrom(ptr unsafe.Pointer) LayoutXAxisAnchor

func LayoutXAxisAnchor_Alloc

func LayoutXAxisAnchor_Alloc() LayoutXAxisAnchor

func NewLayoutXAxisAnchor

func NewLayoutXAxisAnchor() LayoutXAxisAnchor

func (LayoutXAxisAnchor) AnchorWithOffsetToAnchor

func (l_ LayoutXAxisAnchor) AnchorWithOffsetToAnchor(otherAnchor ILayoutXAxisAnchor) LayoutDimension

Creates a layout dimension object from two anchors. Full Topic

func (LayoutXAxisAnchor) ConstraintEqualToSystemSpacingAfterAnchorMultiplier

func (l_ LayoutXAxisAnchor) ConstraintEqualToSystemSpacingAfterAnchorMultiplier(anchor ILayoutXAxisAnchor, multiplier float64) LayoutConstraint

Returns a constraint that defines by how much the current anchor trails the specified anchor. Full Topic

func (LayoutXAxisAnchor) ConstraintGreaterThanOrEqualToSystemSpacingAfterAnchorMultiplier

func (l_ LayoutXAxisAnchor) ConstraintGreaterThanOrEqualToSystemSpacingAfterAnchorMultiplier(anchor ILayoutXAxisAnchor, multiplier float64) LayoutConstraint

Returns a constraint that defines the minimum amount by which the current anchor trails the specified anchor. Full Topic

func (LayoutXAxisAnchor) ConstraintLessThanOrEqualToSystemSpacingAfterAnchorMultiplier

func (l_ LayoutXAxisAnchor) ConstraintLessThanOrEqualToSystemSpacingAfterAnchorMultiplier(anchor ILayoutXAxisAnchor, multiplier float64) LayoutConstraint

Returns a constraint that defines the maximum amount by which the current anchor trails the specified anchor. Full Topic

func (LayoutXAxisAnchor) Init

type LayoutYAxisAnchor

type LayoutYAxisAnchor struct {
	LayoutAnchor
}

A factory class for creating vertical layout constraint objects using a fluent API. Full Topic

func LayoutYAxisAnchorFrom

func LayoutYAxisAnchorFrom(ptr unsafe.Pointer) LayoutYAxisAnchor

func LayoutYAxisAnchor_Alloc

func LayoutYAxisAnchor_Alloc() LayoutYAxisAnchor

func NewLayoutYAxisAnchor

func NewLayoutYAxisAnchor() LayoutYAxisAnchor

func (LayoutYAxisAnchor) AnchorWithOffsetToAnchor

func (l_ LayoutYAxisAnchor) AnchorWithOffsetToAnchor(otherAnchor ILayoutYAxisAnchor) LayoutDimension

Creates a layout dimension object from two anchors. Full Topic

func (LayoutYAxisAnchor) ConstraintEqualToSystemSpacingBelowAnchorMultiplier

func (l_ LayoutYAxisAnchor) ConstraintEqualToSystemSpacingBelowAnchorMultiplier(anchor ILayoutYAxisAnchor, multiplier float64) LayoutConstraint

Returns a constraint that defines the specific distance at which the current anchor is positioned below the specified anchor. Full Topic

func (LayoutYAxisAnchor) ConstraintGreaterThanOrEqualToSystemSpacingBelowAnchorMultiplier

func (l_ LayoutYAxisAnchor) ConstraintGreaterThanOrEqualToSystemSpacingBelowAnchorMultiplier(anchor ILayoutYAxisAnchor, multiplier float64) LayoutConstraint

Returns a constraint that defines the minimum distance by which the current anchor is positioned below the specified anchor. Full Topic

func (LayoutYAxisAnchor) ConstraintLessThanOrEqualToSystemSpacingBelowAnchorMultiplier

func (l_ LayoutYAxisAnchor) ConstraintLessThanOrEqualToSystemSpacingBelowAnchorMultiplier(anchor ILayoutYAxisAnchor, multiplier float64) LayoutConstraint

Returns a constraint that defines the maximum distance by which the current anchor is positioned below the specified anchor. Full Topic

func (LayoutYAxisAnchor) Init

type LevelIndicator

type LevelIndicator struct {
	Control
}

A visual representation of a level or quantity, using discrete values. Full Topic

func LevelIndicatorFrom

func LevelIndicatorFrom(ptr unsafe.Pointer) LevelIndicator

func LevelIndicator_Alloc

func LevelIndicator_Alloc() LevelIndicator

func NewLevelIndicator

func NewLevelIndicator() LevelIndicator

func NewLevelIndicatorWithFrame

func NewLevelIndicatorWithFrame(frameRect foundation.Rect) LevelIndicator

Initializes a control with the specified frame rectangle. Full Topic

func (LevelIndicator) CriticalFillColor

func (l_ LevelIndicator) CriticalFillColor() Color
[Full Topic]

func (LevelIndicator) CriticalValue

func (l_ LevelIndicator) CriticalValue() float64

The receiver’s critical value. Full Topic

func (LevelIndicator) DrawsTieredCapacityLevels

func (l_ LevelIndicator) DrawsTieredCapacityLevels() bool
[Full Topic]

func (LevelIndicator) FillColor

func (l_ LevelIndicator) FillColor() Color
[Full Topic]

func (LevelIndicator) Init

func (l_ LevelIndicator) Init() LevelIndicator

func (LevelIndicator) InitWithFrame

func (l_ LevelIndicator) InitWithFrame(frameRect foundation.Rect) LevelIndicator

func (LevelIndicator) IsEditable

func (l_ LevelIndicator) IsEditable() bool
[Full Topic]

func (LevelIndicator) LevelIndicatorStyle

func (l_ LevelIndicator) LevelIndicatorStyle() LevelIndicatorStyle

The appearance of the indicator. Full Topic

func (LevelIndicator) MaxValue

func (l_ LevelIndicator) MaxValue() float64

The receiver’s maximum value. Full Topic

func (LevelIndicator) MinValue

func (l_ LevelIndicator) MinValue() float64

The receiver’s minimum value. Full Topic

func (LevelIndicator) NumberOfMajorTickMarks

func (l_ LevelIndicator) NumberOfMajorTickMarks() int

The number of major tick marks associated with the receiver. Full Topic

func (LevelIndicator) NumberOfTickMarks

func (l_ LevelIndicator) NumberOfTickMarks() int

The number of tick marks associated with the receiver. Full Topic

func (LevelIndicator) PlaceholderVisibility

func (l_ LevelIndicator) PlaceholderVisibility() LevelIndicatorPlaceholderVisibility
[Full Topic]

func (LevelIndicator) RatingImage

func (l_ LevelIndicator) RatingImage() Image
[Full Topic]

func (LevelIndicator) RatingPlaceholderImage

func (l_ LevelIndicator) RatingPlaceholderImage() Image
[Full Topic]

func (LevelIndicator) RectOfTickMarkAtIndex

func (l_ LevelIndicator) RectOfTickMarkAtIndex(index int) foundation.Rect

Returns the bounding rectangle of the tick mark identified by the specified index (the minimum-value tick mark is at index 0). Full Topic

func (LevelIndicator) SetCriticalFillColor

func (l_ LevelIndicator) SetCriticalFillColor(value IColor)
[Full Topic]

func (LevelIndicator) SetCriticalValue

func (l_ LevelIndicator) SetCriticalValue(value float64)

The receiver’s critical value. Full Topic

func (LevelIndicator) SetDrawsTieredCapacityLevels

func (l_ LevelIndicator) SetDrawsTieredCapacityLevels(value bool)
[Full Topic]

func (LevelIndicator) SetEditable

func (l_ LevelIndicator) SetEditable(value bool)
[Full Topic]

func (LevelIndicator) SetFillColor

func (l_ LevelIndicator) SetFillColor(value IColor)
[Full Topic]

func (LevelIndicator) SetLevelIndicatorStyle

func (l_ LevelIndicator) SetLevelIndicatorStyle(value LevelIndicatorStyle)

The appearance of the indicator. Full Topic

func (LevelIndicator) SetMaxValue

func (l_ LevelIndicator) SetMaxValue(value float64)

The receiver’s maximum value. Full Topic

func (LevelIndicator) SetMinValue

func (l_ LevelIndicator) SetMinValue(value float64)

The receiver’s minimum value. Full Topic

func (LevelIndicator) SetNumberOfMajorTickMarks

func (l_ LevelIndicator) SetNumberOfMajorTickMarks(value int)

The number of major tick marks associated with the receiver. Full Topic

func (LevelIndicator) SetNumberOfTickMarks

func (l_ LevelIndicator) SetNumberOfTickMarks(value int)

The number of tick marks associated with the receiver. Full Topic

func (LevelIndicator) SetPlaceholderVisibility

func (l_ LevelIndicator) SetPlaceholderVisibility(value LevelIndicatorPlaceholderVisibility)
[Full Topic]

func (LevelIndicator) SetRatingImage

func (l_ LevelIndicator) SetRatingImage(value IImage)
[Full Topic]

func (LevelIndicator) SetRatingPlaceholderImage

func (l_ LevelIndicator) SetRatingPlaceholderImage(value IImage)
[Full Topic]

func (LevelIndicator) SetTickMarkPosition

func (l_ LevelIndicator) SetTickMarkPosition(value TickMarkPosition)

Determines how the receiver’s tick marks are aligned with it. Full Topic

func (LevelIndicator) SetWarningFillColor

func (l_ LevelIndicator) SetWarningFillColor(value IColor)
[Full Topic]

func (LevelIndicator) SetWarningValue

func (l_ LevelIndicator) SetWarningValue(value float64)

The receiver’s warning value. Full Topic

func (LevelIndicator) TickMarkPosition

func (l_ LevelIndicator) TickMarkPosition() TickMarkPosition

Determines how the receiver’s tick marks are aligned with it. Full Topic

func (LevelIndicator) TickMarkValueAtIndex

func (l_ LevelIndicator) TickMarkValueAtIndex(index int) float64

Returns the receiver’s value represented by the tick mark at the specified index (the minimum-value tick mark has an index of 0). Full Topic

func (LevelIndicator) WarningFillColor

func (l_ LevelIndicator) WarningFillColor() Color
[Full Topic]

func (LevelIndicator) WarningValue

func (l_ LevelIndicator) WarningValue() float64

The receiver’s warning value. Full Topic

type LevelIndicatorCell

type LevelIndicatorCell struct {
	ActionCell
}

NSLevelIndicatorCell is a subclass of NSActionCell that provides several level indicator display styles including: capacity, ranking and relevancy. The capacity style provides both continuous and discrete modes. Full Topic

func LevelIndicatorCellFrom

func LevelIndicatorCellFrom(ptr unsafe.Pointer) LevelIndicatorCell

func LevelIndicatorCell_Alloc

func LevelIndicatorCell_Alloc() LevelIndicatorCell

func NewLevelIndicatorCell

func NewLevelIndicatorCell() LevelIndicatorCell

func NewLevelIndicatorCellImageCell

func NewLevelIndicatorCellImageCell(image IImage) LevelIndicatorCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewLevelIndicatorCellTextCell

func NewLevelIndicatorCellTextCell(string_ string) LevelIndicatorCell

Returns an NSCell object initialized with the specified string and set to have the cell’s default menu. Full Topic

func NewLevelIndicatorCellWithLevelIndicatorStyle

func NewLevelIndicatorCellWithLevelIndicatorStyle(levelIndicatorStyle LevelIndicatorStyle) LevelIndicatorCell

Initializes the receiver with the style specified by levelIndicatorStyle. Full Topic

func (LevelIndicatorCell) CriticalValue

func (l_ LevelIndicatorCell) CriticalValue() float64

The critical value of the level indicator control. Full Topic

func (LevelIndicatorCell) Init

func (LevelIndicatorCell) InitImageCell

func (l_ LevelIndicatorCell) InitImageCell(image IImage) LevelIndicatorCell

func (LevelIndicatorCell) InitTextCell

func (l_ LevelIndicatorCell) InitTextCell(string_ string) LevelIndicatorCell

func (LevelIndicatorCell) InitWithLevelIndicatorStyle

func (l_ LevelIndicatorCell) InitWithLevelIndicatorStyle(levelIndicatorStyle LevelIndicatorStyle) LevelIndicatorCell

func (LevelIndicatorCell) LevelIndicatorStyle

func (l_ LevelIndicatorCell) LevelIndicatorStyle() LevelIndicatorStyle

The style of the level indicator control. Full Topic

func (LevelIndicatorCell) MaxValue

func (l_ LevelIndicatorCell) MaxValue() float64

The maximum value of the control. Full Topic

func (LevelIndicatorCell) MinValue

func (l_ LevelIndicatorCell) MinValue() float64

The minimum value of the control. Full Topic

func (LevelIndicatorCell) NumberOfMajorTickMarks

func (l_ LevelIndicatorCell) NumberOfMajorTickMarks() int

The number of major tick marks displayed by the control. Full Topic

func (LevelIndicatorCell) NumberOfTickMarks

func (l_ LevelIndicatorCell) NumberOfTickMarks() int

The number of tick marks displayed by the control. Full Topic

func (LevelIndicatorCell) RectOfTickMarkAtIndex

func (l_ LevelIndicatorCell) RectOfTickMarkAtIndex(index int) foundation.Rect

Returns the bounding rectangle of the tick mark identified by index (the minimum-value tick mark is at index 0). Full Topic

func (LevelIndicatorCell) SetCriticalValue

func (l_ LevelIndicatorCell) SetCriticalValue(value float64)

The critical value of the level indicator control. Full Topic

func (LevelIndicatorCell) SetLevelIndicatorStyle

func (l_ LevelIndicatorCell) SetLevelIndicatorStyle(value LevelIndicatorStyle)

The style of the level indicator control. Full Topic

func (LevelIndicatorCell) SetMaxValue

func (l_ LevelIndicatorCell) SetMaxValue(value float64)

The maximum value of the control. Full Topic

func (LevelIndicatorCell) SetMinValue

func (l_ LevelIndicatorCell) SetMinValue(value float64)

The minimum value of the control. Full Topic

func (LevelIndicatorCell) SetNumberOfMajorTickMarks

func (l_ LevelIndicatorCell) SetNumberOfMajorTickMarks(value int)

The number of major tick marks displayed by the control. Full Topic

func (LevelIndicatorCell) SetNumberOfTickMarks

func (l_ LevelIndicatorCell) SetNumberOfTickMarks(value int)

The number of tick marks displayed by the control. Full Topic

func (LevelIndicatorCell) SetTickMarkPosition

func (l_ LevelIndicatorCell) SetTickMarkPosition(value TickMarkPosition)

The placement of tick marks on the level indicator control. Full Topic

func (LevelIndicatorCell) SetWarningValue

func (l_ LevelIndicatorCell) SetWarningValue(value float64)

The warning value of the level indicator control. Full Topic

func (LevelIndicatorCell) TickMarkPosition

func (l_ LevelIndicatorCell) TickMarkPosition() TickMarkPosition

The placement of tick marks on the level indicator control. Full Topic

func (LevelIndicatorCell) TickMarkValueAtIndex

func (l_ LevelIndicatorCell) TickMarkValueAtIndex(index int) float64

Returns the receiver’s value represented by the tick mark at index (the minimum-value tick mark has an index of 0). Full Topic

func (LevelIndicatorCell) WarningValue

func (l_ LevelIndicatorCell) WarningValue() float64

The warning value of the level indicator control. Full Topic

type LevelIndicatorPlaceholderVisibility

type LevelIndicatorPlaceholderVisibility int
[Full Topic]
const (
	LevelIndicatorPlaceholderVisibilityAlways       LevelIndicatorPlaceholderVisibility = 1
	LevelIndicatorPlaceholderVisibilityAutomatic    LevelIndicatorPlaceholderVisibility = 0
	LevelIndicatorPlaceholderVisibilityWhileEditing LevelIndicatorPlaceholderVisibility = 2
)

type LevelIndicatorStyle

type LevelIndicatorStyle uint

Constants that specify a level indicator's appearance. Full Topic

const (
	ContinuousCapacityLevelIndicatorStyle LevelIndicatorStyle = 1
	DiscreteCapacityLevelIndicatorStyle   LevelIndicatorStyle = 2
	LevelIndicatorStyleContinuousCapacity LevelIndicatorStyle = 1
	LevelIndicatorStyleDiscreteCapacity   LevelIndicatorStyle = 2
	LevelIndicatorStyleRating             LevelIndicatorStyle = 3
	LevelIndicatorStyleRelevancy          LevelIndicatorStyle = 0
	RatingLevelIndicatorStyle             LevelIndicatorStyle = 3
	RelevancyLevelIndicatorStyle          LevelIndicatorStyle = 0
)

type LineBreakMode

type LineBreakMode int

Constants that specify what happens when a line is too long for a container. Full Topic

const (
	LineBreakByCharWrapping     LineBreakMode = 1
	LineBreakByClipping         LineBreakMode = 2
	LineBreakByTruncatingHead   LineBreakMode = 3
	LineBreakByTruncatingMiddle LineBreakMode = 5
	LineBreakByTruncatingTail   LineBreakMode = 4
	LineBreakByWordWrapping     LineBreakMode = 0
)

type LineBreakStrategy

type LineBreakStrategy uint

Constants that specify how the text system breaks lines while laying out paragraphs. Full Topic

const (
	LineBreakStrategyHangulWordPriority LineBreakStrategy = 2
	LineBreakStrategyNone               LineBreakStrategy = 0
	LineBreakStrategyPushOut            LineBreakStrategy = 1
	LineBreakStrategyStandard           LineBreakStrategy = 65535
)

type LineCapStyle

type LineCapStyle uint

Constants that specify the shape of endpoints for an open path when it is stroked. Full Topic

const (
	ButtLineCapStyle   LineCapStyle = 0
	LineCapStyleButt   LineCapStyle = 0
	LineCapStyleRound  LineCapStyle = 1
	LineCapStyleSquare LineCapStyle = 2
	RoundLineCapStyle  LineCapStyle = 1
	SquareLineCapStyle LineCapStyle = 2
)

func BezierPath_DefaultLineCapStyle

func BezierPath_DefaultLineCapStyle() LineCapStyle

Returns the default line cap style for all paths. Full Topic

type LineJoinStyle

type LineJoinStyle uint

Constants that specify the shape of the joins between connected segments of a stroked path. Full Topic

const (
	BevelLineJoinStyle LineJoinStyle = 2
	LineJoinStyleBevel LineJoinStyle = 2
	LineJoinStyleMiter LineJoinStyle = 0
	LineJoinStyleRound LineJoinStyle = 1
	MiterLineJoinStyle LineJoinStyle = 0
	RoundLineJoinStyle LineJoinStyle = 1
)

func BezierPath_DefaultLineJoinStyle

func BezierPath_DefaultLineJoinStyle() LineJoinStyle

Returns the default line join style for all paths. Full Topic

type LineMovementDirection

type LineMovementDirection uint

The direction in which a line moves. Full Topic

const (
	LineDoesntMove LineMovementDirection = 0
	LineMovesDown  LineMovementDirection = 3
	LineMovesLeft  LineMovementDirection = 1
	LineMovesRight LineMovementDirection = 2
	LineMovesUp    LineMovementDirection = 4
)

type LineSweepDirection

type LineSweepDirection uint

Values that describe the progression of text on a page. Full Topic

const (
	LineSweepDown  LineSweepDirection = 2
	LineSweepLeft  LineSweepDirection = 0
	LineSweepRight LineSweepDirection = 1
	LineSweepUp    LineSweepDirection = 3
)

type MagnificationGestureRecognizer

type MagnificationGestureRecognizer struct {
	GestureRecognizer
}

A continuous gesture recognizer that tracks a pinch gesture that magnifies content. Full Topic

func MagnificationGestureRecognizerFrom

func MagnificationGestureRecognizerFrom(ptr unsafe.Pointer) MagnificationGestureRecognizer

func MagnificationGestureRecognizer_Alloc

func MagnificationGestureRecognizer_Alloc() MagnificationGestureRecognizer

func NewMagnificationGestureRecognizer

func NewMagnificationGestureRecognizer() MagnificationGestureRecognizer

func NewMagnificationGestureRecognizerWithTargetAction

func NewMagnificationGestureRecognizerWithTargetAction(target objc.IObject, action objc.Selector) MagnificationGestureRecognizer

Initializes the gesture recognizer with the specified target and action information. Full Topic

func (MagnificationGestureRecognizer) Init

func (MagnificationGestureRecognizer) InitWithTargetAction

func (MagnificationGestureRecognizer) Magnification

func (m_ MagnificationGestureRecognizer) Magnification() float64

The amount of magnification to apply. Full Topic

func (MagnificationGestureRecognizer) SetMagnification

func (m_ MagnificationGestureRecognizer) SetMagnification(value float64)

The amount of magnification to apply. Full Topic

type Matrix

type Matrix struct {
	Control
}

A legacy interface for grouping radio buttons or other types of cells together. Full Topic

func MatrixFrom

func MatrixFrom(ptr unsafe.Pointer) Matrix

func Matrix_Alloc

func Matrix_Alloc() Matrix

func NewMatrix

func NewMatrix() Matrix

func NewMatrixWithFrame

func NewMatrixWithFrame(frameRect foundation.Rect) Matrix

Initializes a newly allocated matrix with the specified frame. Full Topic

func (Matrix) AddColumn

func (m_ Matrix) AddColumn()

Adds a new column of cells to the right of the last column. Full Topic

func (Matrix) AddColumnWithCells

func (m_ Matrix) AddColumnWithCells(newCells []ICell)

Adds a new column of cells to the right of the last column, using the given cells. Full Topic

func (Matrix) AddRow

func (m_ Matrix) AddRow()

Adds a new row of cells below the last row. Full Topic

func (Matrix) AddRowWithCells

func (m_ Matrix) AddRowWithCells(newCells []ICell)

Adds a new row of cells below the last row, using the specified cells. Full Topic

func (Matrix) AllowsEmptySelection

func (m_ Matrix) AllowsEmptySelection() bool

A Boolean that indicates whether a radio-mode matrix supports an empty selection. Full Topic

func (Matrix) AutorecalculatesCellSize

func (m_ Matrix) AutorecalculatesCellSize() bool

A Boolean that indicates whether the matrix auto-recalculates its cell size. Full Topic

func (Matrix) AutosizesCells

func (m_ Matrix) AutosizesCells() bool

A Boolean that indicates whether the cell sizes change when the receiver is resized. Full Topic

func (Matrix) BackgroundColor

func (m_ Matrix) BackgroundColor() Color

The background color of the matrix (the space between the cells). Full Topic

func (Matrix) CellAtRowColumn

func (m_ Matrix) CellAtRowColumn(row int, col int) Cell

Returns the cell at the specified row and column. Full Topic

func (Matrix) CellBackgroundColor

func (m_ Matrix) CellBackgroundColor() Color

The background color of the matrix’s cells. Full Topic

func (Matrix) CellClass

func (m_ Matrix) CellClass() objc.Class

The subclass of NSCell that the matrix uses when creating new (empty) cells. Full Topic

func (Matrix) CellFrameAtRowColumn

func (m_ Matrix) CellFrameAtRowColumn(row int, col int) foundation.Rect

Returns the frame rectangle of the cell that would be drawn at the specified location. Full Topic

func (Matrix) CellSize

func (m_ Matrix) CellSize() foundation.Size

The size of each cell in the matrix. Full Topic

func (Matrix) CellWithTag

func (m_ Matrix) CellWithTag(tag int) Cell

Searches the receiver and returns the last cell matching the specified tag. Full Topic

func (Matrix) Cells

func (m_ Matrix) Cells() []Cell

An array containing the cells of the matrix. Full Topic

func (Matrix) Delegate

func (m_ Matrix) Delegate() MatrixDelegateWrapper

The delegate for messages from the field editor. Full Topic

func (Matrix) DeselectAllCells

func (m_ Matrix) DeselectAllCells()

Deselects all cells in the receiver and, if necessary, redisplays the receiver. Full Topic

func (Matrix) DeselectSelectedCell

func (m_ Matrix) DeselectSelectedCell()

Deselects the selected cell or cells. Full Topic

func (Matrix) DoubleAction

func (m_ Matrix) DoubleAction() objc.Selector

The action sent to the target of the receiver when the user double-clicks a cell. Full Topic

func (Matrix) DrawCellAtRowColumn

func (m_ Matrix) DrawCellAtRowColumn(row int, col int)

Displays the cell at the specified row and column. Full Topic

func (Matrix) DrawsBackground

func (m_ Matrix) DrawsBackground() bool

A Boolean that indicates whether the matrix draws its background. Full Topic

func (Matrix) DrawsCellBackground

func (m_ Matrix) DrawsCellBackground() bool

A Boolean that indicates whether the matrix draws the background within each of its cells. Full Topic

func (Matrix) GetNumberOfRowsColumns

func (m_ Matrix) GetNumberOfRowsColumns(rowCount *int, colCount *int)

Obtains the number of rows and columns in the receiver. Full Topic

func (Matrix) GetRowColumnOfCell

func (m_ Matrix) GetRowColumnOfCell(row *int, col *int, cell ICell) bool

Searches the receiver for the specified cell and returns the row and column of the cell Full Topic

func (Matrix) HighlightCellAtRowColumn

func (m_ Matrix) HighlightCellAtRowColumn(flag bool, row int, col int)

Highlights or unhighlights the cell at the specified row and column location. Full Topic

func (Matrix) Init

func (m_ Matrix) Init() Matrix

func (Matrix) InitWithFrame

func (m_ Matrix) InitWithFrame(frameRect foundation.Rect) Matrix

func (Matrix) InsertColumnWithCells

func (m_ Matrix) InsertColumnWithCells(column int, newCells []ICell)

Inserts a new column of cells before the specified column, using the given cells. Full Topic

func (Matrix) InsertRow

func (m_ Matrix) InsertRow(row int)

Inserts a new row of cells before the specified row. Full Topic

func (Matrix) IntercellSpacing

func (m_ Matrix) IntercellSpacing() foundation.Size

The vertical and horizontal spacing between cells in the matrix. Full Topic

func (Matrix) IsAutoscroll

func (m_ Matrix) IsAutoscroll() bool

A Boolean that indicates whether the receiver is automatically scrolled. Full Topic

func (Matrix) IsSelectionByRect

func (m_ Matrix) IsSelectionByRect() bool

A Boolean that indicates whether the user can select a rectangle of cells in the receiver by dragging the cursor. Full Topic

func (Matrix) KeyCell

func (m_ Matrix) KeyCell() Cell

The cell that will be clicked when the user presses the Space bar. Full Topic

func (Matrix) MakeCellAtRowColumn

func (m_ Matrix) MakeCellAtRowColumn(row int, col int) Cell

Creates a new cell at the location specified by the given row and column in the receiver. Full Topic

func (Matrix) Mode

func (m_ Matrix) Mode() MatrixMode

The selection mode of the receiver. Full Topic

func (Matrix) MouseDownFlags

func (m_ Matrix) MouseDownFlags() int

The flags in effect at the mouse-down event that started the current tracking session. Full Topic

func (Matrix) NumberOfColumns

func (m_ Matrix) NumberOfColumns() int

The number of columns in the matrix. Full Topic

func (Matrix) NumberOfRows

func (m_ Matrix) NumberOfRows() int

The number of rows in the matrix. Full Topic

func (Matrix) Prototype

func (m_ Matrix) Prototype() Cell

The prototype cell that’s copied whenever the matrix creates a new cell. Full Topic

func (Matrix) PutCellAtRowColumn

func (m_ Matrix) PutCellAtRowColumn(newCell ICell, row int, col int)

Replaces the cell at the specified row and column with the new cell. Full Topic

func (Matrix) RemoveColumn

func (m_ Matrix) RemoveColumn(col int)

Removes the specified column at from the receiver. Full Topic

func (Matrix) RemoveRow

func (m_ Matrix) RemoveRow(row int)

Removes the specified row from the receiver. Full Topic

func (Matrix) RenewRowsColumns

func (m_ Matrix) RenewRowsColumns(newRows int, newCols int)

Changes the number of rows and columns in the receiver. Full Topic

func (Matrix) ScrollCellToVisibleAtRowColumn

func (m_ Matrix) ScrollCellToVisibleAtRowColumn(row int, col int)

Scrolls the receiver so the specified cell is visible. Full Topic

func (Matrix) SelectAll

func (m_ Matrix) SelectAll(sender objc.IObject)

Selects and highlights all cells in the receiver. Full Topic

func (Matrix) SelectCellAtRowColumn

func (m_ Matrix) SelectCellAtRowColumn(row int, col int)

Selects the cell at the specified row and column within the receiver. Full Topic

func (Matrix) SelectCellWithTag

func (m_ Matrix) SelectCellWithTag(tag int) bool

Selects the last cell with the given tag. Full Topic

func (Matrix) SelectText

func (m_ Matrix) SelectText(sender objc.IObject)

Selects text in the currently selected cell or in the key cell. Full Topic

func (Matrix) SelectTextAtRowColumn

func (m_ Matrix) SelectTextAtRowColumn(row int, col int) Cell

Selects the text in the cell at the specified location and returns the cell. Full Topic

func (Matrix) SelectedCell

func (m_ Matrix) SelectedCell() Cell

The most recently selected cell. Full Topic

func (Matrix) SelectedCells

func (m_ Matrix) SelectedCells() []Cell

An array containing all of the matrix’s highlighted cells plus its selected cell. Full Topic

func (Matrix) SelectedColumn

func (m_ Matrix) SelectedColumn() int

The column number of the selected cell. Full Topic

func (Matrix) SelectedRow

func (m_ Matrix) SelectedRow() int

The row number of the selected cell. Full Topic

func (Matrix) SendAction

func (m_ Matrix) SendAction() bool

If the selected cell has both an action and a target, sends its action to its target. Full Topic

func (Matrix) SendDoubleAction

func (m_ Matrix) SendDoubleAction()

Sends the double-click action message to the target of the receiver. Full Topic

func (Matrix) SetAllowsEmptySelection

func (m_ Matrix) SetAllowsEmptySelection(value bool)

A Boolean that indicates whether a radio-mode matrix supports an empty selection. Full Topic

func (Matrix) SetAutorecalculatesCellSize

func (m_ Matrix) SetAutorecalculatesCellSize(value bool)

A Boolean that indicates whether the matrix auto-recalculates its cell size. Full Topic

func (Matrix) SetAutoscroll

func (m_ Matrix) SetAutoscroll(value bool)

A Boolean that indicates whether the receiver is automatically scrolled. Full Topic

func (Matrix) SetAutosizesCells

func (m_ Matrix) SetAutosizesCells(value bool)

A Boolean that indicates whether the cell sizes change when the receiver is resized. Full Topic

func (Matrix) SetBackgroundColor

func (m_ Matrix) SetBackgroundColor(value IColor)

The background color of the matrix (the space between the cells). Full Topic

func (Matrix) SetCellBackgroundColor

func (m_ Matrix) SetCellBackgroundColor(value IColor)

The background color of the matrix’s cells. Full Topic

func (Matrix) SetCellClass

func (m_ Matrix) SetCellClass(value objc.IClass)

The subclass of NSCell that the matrix uses when creating new (empty) cells. Full Topic

func (Matrix) SetCellSize

func (m_ Matrix) SetCellSize(value foundation.Size)

The size of each cell in the matrix. Full Topic

func (Matrix) SetDelegate

func (m_ Matrix) SetDelegate(value PMatrixDelegate)

The delegate for messages from the field editor. Full Topic

func (Matrix) SetDelegateObject

func (m_ Matrix) SetDelegateObject(valueObject objc.IObject)

The delegate for messages from the field editor. Full Topic

func (Matrix) SetDoubleAction

func (m_ Matrix) SetDoubleAction(value objc.Selector)

The action sent to the target of the receiver when the user double-clicks a cell. Full Topic

func (Matrix) SetDrawsBackground

func (m_ Matrix) SetDrawsBackground(value bool)

A Boolean that indicates whether the matrix draws its background. Full Topic

func (Matrix) SetDrawsCellBackground

func (m_ Matrix) SetDrawsCellBackground(value bool)

A Boolean that indicates whether the matrix draws the background within each of its cells. Full Topic

func (Matrix) SetIntercellSpacing

func (m_ Matrix) SetIntercellSpacing(value foundation.Size)

The vertical and horizontal spacing between cells in the matrix. Full Topic

func (Matrix) SetKeyCell

func (m_ Matrix) SetKeyCell(value ICell)

The cell that will be clicked when the user presses the Space bar. Full Topic

func (Matrix) SetMode

func (m_ Matrix) SetMode(value MatrixMode)

The selection mode of the receiver. Full Topic

func (Matrix) SetPrototype

func (m_ Matrix) SetPrototype(value ICell)

The prototype cell that’s copied whenever the matrix creates a new cell. Full Topic

func (Matrix) SetScrollable

func (m_ Matrix) SetScrollable(flag bool)

Specifies whether the cells in the matrix are scrollable. Full Topic

func (Matrix) SetSelectionByRect

func (m_ Matrix) SetSelectionByRect(value bool)

A Boolean that indicates whether the user can select a rectangle of cells in the receiver by dragging the cursor. Full Topic

func (Matrix) SetSelectionFromToAnchorHighlight

func (m_ Matrix) SetSelectionFromToAnchorHighlight(startPos int, endPos int, anchorPos int, lit bool)

Programmatically selects a range of cells. Full Topic

func (Matrix) SetStateAtRowColumn

func (m_ Matrix) SetStateAtRowColumn(value int, row int, col int)

Sets the state of the cell at specified location. Full Topic

func (Matrix) SetTabKeyTraversesCells

func (m_ Matrix) SetTabKeyTraversesCells(value bool)

A Boolean that indicates whether pressing the Tab key advances the key cell to the next selectable cell. Full Topic

func (Matrix) SetToolTipForCell

func (m_ Matrix) SetToolTipForCell(toolTipString string, cell ICell)

Sets the tooltip for the cell. Full Topic

func (Matrix) SetValidateSize

func (m_ Matrix) SetValidateSize(flag bool)

Specifies whether the receiver's size information is validated. Full Topic

func (Matrix) SizeToCells

func (m_ Matrix) SizeToCells()

Changes the width and the height of the receiver’s frame so it exactly contains the cells. Full Topic

func (Matrix) SortUsingFunctionContext

func (m_ Matrix) SortUsingFunctionContext(compare func(arg0 objc.Object, arg1 objc.Object, arg2 unsafe.Pointer) int, context unsafe.Pointer)

Sorts the receiver’s cells in ascending order as defined by the specified comparison function. Full Topic

func (Matrix) SortUsingSelector

func (m_ Matrix) SortUsingSelector(comparator objc.Selector)

Sorts the receiver’s cells in ascending order as defined by the comparison method. Full Topic

func (Matrix) TabKeyTraversesCells

func (m_ Matrix) TabKeyTraversesCells() bool

A Boolean that indicates whether pressing the Tab key advances the key cell to the next selectable cell. Full Topic

func (Matrix) TextDidBeginEditing

func (m_ Matrix) TextDidBeginEditing(notification foundation.INotification)

Invoked when there’s a change in the text after the receiver gains first responder status. Full Topic

func (Matrix) TextDidChange

func (m_ Matrix) TextDidChange(notification foundation.INotification)

Invoked when a key-down event or paste operation occurs that changes the receiver’s contents. Full Topic

func (Matrix) TextDidEndEditing

func (m_ Matrix) TextDidEndEditing(notification foundation.INotification)

Invoked when text editing ends. Full Topic

func (Matrix) TextShouldBeginEditing

func (m_ Matrix) TextShouldBeginEditing(textObject IText) bool

Requests permission to begin editing text. Full Topic

func (Matrix) TextShouldEndEditing

func (m_ Matrix) TextShouldEndEditing(textObject IText) bool

Requests permission to end editing. Full Topic

func (Matrix) ToolTipForCell

func (m_ Matrix) ToolTipForCell(cell ICell) string

Returns the tooltip for the specified cell. Full Topic

type MatrixDelegate

type MatrixDelegate struct {
	ControlTextEditingDelegate
}

A delegate implementation builder for the PMatrixDelegate protocol.

type MatrixDelegateWrapper

type MatrixDelegateWrapper struct {
	ControlTextEditingDelegateWrapper
}

A concrete type wrapper for the PMatrixDelegate protocol.

type MatrixMode

type MatrixMode uint

These constants determine how NSCell objects behave when an NSMatrix object is tracking the mouse. Full Topic

const (
	HighlightModeMatrix MatrixMode = 1
	ListModeMatrix      MatrixMode = 2
	RadioModeMatrix     MatrixMode = 0
	TrackModeMatrix     MatrixMode = 3
)

type MediaLibrary

type MediaLibrary uint

These constants are masks used to configure a Media Library Browser to display specific types of media. Combined masks are not yet supported. In other words, only one nonzero mask value is supported at a time. If masks are combined, the lowest mask value is used. Full Topic

const (
	MediaLibraryAudio MediaLibrary = 1
	MediaLibraryImage MediaLibrary = 2
	MediaLibraryMovie MediaLibrary = 4
)

type MediaLibraryBrowserController

type MediaLibraryBrowserController struct {
	objc.Object
}

An object that configures and displays a Media Library Browser panel. Full Topic

func MediaLibraryBrowserControllerFrom

func MediaLibraryBrowserControllerFrom(ptr unsafe.Pointer) MediaLibraryBrowserController

func MediaLibraryBrowserController_Alloc

func MediaLibraryBrowserController_Alloc() MediaLibraryBrowserController

func MediaLibraryBrowserController_SharedMediaLibraryBrowserController

func MediaLibraryBrowserController_SharedMediaLibraryBrowserController() MediaLibraryBrowserController

Returns the shared Media Library Browser instance. Full Topic

func NewMediaLibraryBrowserController

func NewMediaLibraryBrowserController() MediaLibraryBrowserController

func (MediaLibraryBrowserController) Frame

The frame, in global coordinates, used to display the Media Library Browser panel. Full Topic

func (MediaLibraryBrowserController) Init

func (MediaLibraryBrowserController) IsVisible

func (m_ MediaLibraryBrowserController) IsVisible() bool

A Boolean value that determines whether the Media Library Browser panel is visible. Full Topic

func (MediaLibraryBrowserController) MediaLibraries

func (m_ MediaLibraryBrowserController) MediaLibraries() MediaLibrary

The media library that is in use. Full Topic

func (MediaLibraryBrowserController) SetFrame

func (m_ MediaLibraryBrowserController) SetFrame(value foundation.Rect)

The frame, in global coordinates, used to display the Media Library Browser panel. Full Topic

func (MediaLibraryBrowserController) SetMediaLibraries

func (m_ MediaLibraryBrowserController) SetMediaLibraries(value MediaLibrary)

The media library that is in use. Full Topic

func (MediaLibraryBrowserController) SetVisible

func (m_ MediaLibraryBrowserController) SetVisible(value bool)

A Boolean value that determines whether the Media Library Browser panel is visible. Full Topic

func (MediaLibraryBrowserController) TogglePanel

func (m_ MediaLibraryBrowserController) TogglePanel(sender objc.IObject) objc.Object

Toggles the visibility of the Media Library Browser. Full Topic

type Menu struct {
	objc.Object
}

An object that manages an app’s menus. Full Topic

func Cell_DefaultMenu

func Cell_DefaultMenu() Menu

Returns the default menu for instances of the cell. Full Topic

func MenuFrom(ptr unsafe.Pointer) Menu
func Menu_Alloc() Menu

func NewMenu

func NewMenu() Menu

func NewMenuWithTitle

func NewMenuWithTitle(title string) Menu

Initializes and returns a menu having the specified title and with autoenabling of menu items turned on. Full Topic

func View_DefaultMenu

func View_DefaultMenu() Menu

Overridden by subclasses to return the default pop-up menu for instances of the receiving class. Full Topic

func (m_ Menu) AddItem(newItem IMenuItem)

Adds a menu item to the end of the menu. Full Topic

func (m_ Menu) AddItemWithTitleActionKeyEquivalent(string_ string, selector objc.Selector, charCode string) MenuItem

Creates a new menu item and adds it to the end of the menu. Full Topic

func (m_ Menu) AllowsContextMenuPlugIns() bool

Indicates whether the pop-up menu allows appending of contextual menu plug-in items. Full Topic

func (m_ Menu) AutoenablesItems() bool

Indicates whether the menu automatically enables and disables its menu items. Full Topic

func (m_ Menu) CancelTracking()

Dismisses the menu and ends all menu tracking. Full Topic

func (m_ Menu) CancelTrackingWithoutAnimation()

Dismisses the menu and ends all menu tracking without displaying the associated animation. Full Topic

func (m_ Menu) Delegate() MenuDelegateWrapper

The delegate of the menu. Full Topic

func (m_ Menu) Font() Font

The font of the menu and its submenus. Full Topic

func (m_ Menu) HighlightedItem() MenuItem

Indicates the currently highlighted item in the menu. Full Topic

func (m_ Menu) IndexOfItem(item IMenuItem) int

Returns the index identifying the location of a specified menu item in the menu. Full Topic

func (m_ Menu) IndexOfItemWithRepresentedObject(object objc.IObject) int

Returns the index of the first menu item in the menu that has a given represented object. Full Topic

func (m_ Menu) IndexOfItemWithSubmenu(submenu IMenu) int

Returns the index of the menu item in the menu with the given submenu. Full Topic

func (m_ Menu) IndexOfItemWithTag(tag int) int

Returns the index of the first menu item in the menu identified by a tag. Full Topic

func (m_ Menu) IndexOfItemWithTargetAndAction(target objc.IObject, actionSelector objc.Selector) int

Returns the index of the first menu item in the menu that has a specified action and target. Full Topic

func (m_ Menu) IndexOfItemWithTitle(title string) int

Returns the index of the first menu item in the menu that has a specified title. Full Topic

func (m_ Menu) Init() Menu
func (m_ Menu) InitWithTitle(title string) Menu
func (m_ Menu) InsertItemAtIndex(newItem IMenuItem, index int)

Inserts a menu item into the menu at a specific location. Full Topic

func (m_ Menu) InsertItemWithTitleActionKeyEquivalentAtIndex(string_ string, selector objc.Selector, charCode string, index int) MenuItem

Creates and adds a menu item at a specified location in the menu. Full Topic

func (m_ Menu) ItemArray() []MenuItem

An array containing the menu items in the menu. Full Topic

func (m_ Menu) ItemAtIndex(index int) MenuItem

Returns the menu item at a specific location of the menu. Full Topic

func (m_ Menu) ItemChanged(item IMenuItem)

Invoked when a menu item is modified visually (for example, its title changes). Full Topic

func (m_ Menu) ItemWithTag(tag int) MenuItem

Returns the first menu item in the menu with the specified tag. Full Topic

func (m_ Menu) ItemWithTitle(title string) MenuItem

Returns the first menu item in the menu with a specified title. Full Topic

func (m_ Menu) MenuBarHeight() float64

The menu bar height for the main menu in pixels. Full Topic

func (m_ Menu) MinimumWidth() float64

The minimum width of the menu in screen coordinates. Full Topic

func (m_ Menu) NumberOfItems() int

The number of menu items in the menu, including separator items. Full Topic

func (m_ Menu) PerformActionForItemAtIndex(index int)

Causes the application to send the action message of a specified menu item to its target. Full Topic

func (m_ Menu) PerformKeyEquivalent(event IEvent) bool

Performs the action for the menu item that corresponds to the given key equivalent. Full Topic

func (m_ Menu) PopUpMenuPositioningItemAtLocationInView(item IMenuItem, location foundation.Point, view IView) bool

Pops up the menu at the specified location. Full Topic

func (m_ Menu) PropertiesToUpdate() MenuProperties

The available properties for the menu. Full Topic

func (m_ Menu) RemoveAllItems()

Removes all the menu items in the menu. Full Topic

func (m_ Menu) RemoveItem(item IMenuItem)

Removes a menu item from the menu. Full Topic

func (m_ Menu) RemoveItemAtIndex(index int)

Removes the menu item at a specified location in the menu. Full Topic

func (m_ Menu) SetAllowsContextMenuPlugIns(value bool)

Indicates whether the pop-up menu allows appending of contextual menu plug-in items. Full Topic

func (m_ Menu) SetAutoenablesItems(value bool)

Indicates whether the menu automatically enables and disables its menu items. Full Topic

func (m_ Menu) SetDelegate(value PMenuDelegate)

The delegate of the menu. Full Topic

func (m_ Menu) SetDelegateObject(valueObject objc.IObject)

The delegate of the menu. Full Topic

func (m_ Menu) SetFont(value IFont)

The font of the menu and its submenus. Full Topic

func (m_ Menu) SetItemArray(value []IMenuItem)

An array containing the menu items in the menu. Full Topic

func (m_ Menu) SetMinimumWidth(value float64)

The minimum width of the menu in screen coordinates. Full Topic

func (m_ Menu) SetShowsStateColumn(value bool)

Indicates whether the menu displays the state column. Full Topic

func (m_ Menu) SetSubmenuForItem(menu IMenu, item IMenuItem)

Assigns a menu to be a submenu of the menu controlled by a given menu item. Full Topic

func (m_ Menu) SetSupermenu(value IMenu)

The parent menu that contains the menu as a submenu. Full Topic

func (m_ Menu) SetTitle(value string)

The title of the menu. Full Topic

func (m_ Menu) SetUserInterfaceLayoutDirection(value UserInterfaceLayoutDirection)

Configures the layout direction of menu items in the menu. Full Topic

func (m_ Menu) ShowsStateColumn() bool

Indicates whether the menu displays the state column. Full Topic

func (m_ Menu) Size() foundation.Size

The size of the menu in screen coordinates Full Topic

func (m_ Menu) SubmenuAction(sender objc.IObject)

The action method assigned to menu items that open submenus. Full Topic

func (m_ Menu) Supermenu() Menu

The parent menu that contains the menu as a submenu. Full Topic

func (m_ Menu) Title() string

The title of the menu. Full Topic

func (m_ Menu) Update()

Enables or disables the menu items of the menu based on the NSMenuValidation informal protocol and sizes the menu to fit its current menu items if necessary. Full Topic

func (m_ Menu) UserInterfaceLayoutDirection() UserInterfaceLayoutDirection

Configures the layout direction of menu items in the menu. Full Topic

type MenuDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PMenuDelegate protocol.

func (di *MenuDelegate) ConfinementRectForMenuOnScreen(menu Menu, screen Screen) foundation.Rect

Invoked to allow the delegate to specify a display location for the menu. Full Topic

func (di *MenuDelegate) HasConfinementRectForMenuOnScreen() bool
func (di *MenuDelegate) HasMenuDidClose() bool
func (di *MenuDelegate) HasMenuHasKeyEquivalentForEventTargetAction() bool
func (di *MenuDelegate) HasMenuNeedsUpdate() bool
func (di *MenuDelegate) HasMenuWillHighlightItem() bool
func (di *MenuDelegate) HasMenuWillOpen() bool
func (di *MenuDelegate) HasNumberOfItemsInMenu() bool
func (di *MenuDelegate) MenuDidClose(menu Menu)

Invoked after a menu closed. Full Topic

func (di *MenuDelegate) MenuHasKeyEquivalentForEventTargetAction(menu Menu, event Event, target objc.Object, action objc.Selector) bool

Invoked to allow the delegate to return the target and action for a key-down event. Full Topic

func (di *MenuDelegate) MenuNeedsUpdate(menu Menu)

Invoked when a menu is about to be displayed at the start of a tracking session. Full Topic

func (di *MenuDelegate) MenuWillHighlightItem(menu Menu, item MenuItem)

Invoked to indicate that a menu is about to highlight a given item. Full Topic

func (di *MenuDelegate) MenuWillOpen(menu Menu)

Invoked when a menu is about to open. Full Topic

func (di *MenuDelegate) NumberOfItemsInMenu(menu Menu) int

Invoked when a menu is about to be displayed at the start of a tracking session so the delegate can specify the number of items in the menu. Full Topic

func (di *MenuDelegate) SetConfinementRectForMenuOnScreen(f func(menu Menu, screen Screen) foundation.Rect)

Invoked to allow the delegate to specify a display location for the menu. Full Topic

func (di *MenuDelegate) SetMenuDidClose(f func(menu Menu))

Invoked after a menu closed. Full Topic

func (di *MenuDelegate) SetMenuHasKeyEquivalentForEventTargetAction(f func(menu Menu, event Event, target objc.Object, action objc.Selector) bool)

Invoked to allow the delegate to return the target and action for a key-down event. Full Topic

func (di *MenuDelegate) SetMenuNeedsUpdate(f func(menu Menu))

Invoked when a menu is about to be displayed at the start of a tracking session. Full Topic

func (di *MenuDelegate) SetMenuWillHighlightItem(f func(menu Menu, item MenuItem))

Invoked to indicate that a menu is about to highlight a given item. Full Topic

func (di *MenuDelegate) SetMenuWillOpen(f func(menu Menu))

Invoked when a menu is about to open. Full Topic

func (di *MenuDelegate) SetNumberOfItemsInMenu(f func(menu Menu) int)

Invoked when a menu is about to be displayed at the start of a tracking session so the delegate can specify the number of items in the menu. Full Topic

type MenuDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PMenuDelegate protocol.

func (m_ MenuDelegateWrapper) ConfinementRectForMenuOnScreen(menu IMenu, screen IScreen) foundation.Rect

Invoked to allow the delegate to specify a display location for the menu. Full Topic

func (m_ MenuDelegateWrapper) HasConfinementRectForMenuOnScreen() bool
func (m_ MenuDelegateWrapper) HasMenuDidClose() bool
func (m_ MenuDelegateWrapper) HasMenuHasKeyEquivalentForEventTargetAction() bool
func (m_ MenuDelegateWrapper) HasMenuNeedsUpdate() bool
func (m_ MenuDelegateWrapper) HasMenuWillHighlightItem() bool
func (m_ MenuDelegateWrapper) HasMenuWillOpen() bool
func (m_ MenuDelegateWrapper) HasNumberOfItemsInMenu() bool
func (m_ MenuDelegateWrapper) MenuDidClose(menu IMenu)

Invoked after a menu closed. Full Topic

func (m_ MenuDelegateWrapper) MenuHasKeyEquivalentForEventTargetAction(menu IMenu, event IEvent, target objc.IObject, action objc.Selector) bool

Invoked to allow the delegate to return the target and action for a key-down event. Full Topic

func (m_ MenuDelegateWrapper) MenuNeedsUpdate(menu IMenu)

Invoked when a menu is about to be displayed at the start of a tracking session. Full Topic

func (m_ MenuDelegateWrapper) MenuWillHighlightItem(menu IMenu, item IMenuItem)

Invoked to indicate that a menu is about to highlight a given item. Full Topic

func (m_ MenuDelegateWrapper) MenuWillOpen(menu IMenu)

Invoked when a menu is about to open. Full Topic

func (m_ MenuDelegateWrapper) NumberOfItemsInMenu(menu IMenu) int

Invoked when a menu is about to be displayed at the start of a tracking session so the delegate can specify the number of items in the menu. Full Topic

type MenuItem struct {
	objc.Object
}

A command item in an app menu. Full Topic

func MenuItemFrom(ptr unsafe.Pointer) MenuItem
func MenuItem_Alloc() MenuItem
func MenuItem_SeparatorItem() MenuItem

Returns a menu item that is used to separate logical groups of menu commands.

func NewMenuItem

func NewMenuItem() MenuItem

func NewMenuItemWithAction

func NewMenuItemWithAction(title string, charCode string, handler action.Handler) MenuItem

NewMenuItemWithAction create a new menu item with action

func NewMenuItemWithSelector

func NewMenuItemWithSelector(title string, charCode string, selector objc.Selector) MenuItem

NewMenuItem create a new menu item, with selector

func NewMenuItemWithTitleActionKeyEquivalent

func NewMenuItemWithTitleActionKeyEquivalent(string_ string, selector objc.Selector, charCode string) MenuItem

Returns an initialized instance of NSMenuItem. Full Topic

func NewSubMenuItem

func NewSubMenuItem(menu IMenu) MenuItem

NewSubMenuItem create a menu item that hold a sub menu

func (m_ MenuItem) Action() objc.Selector

The menu item's action-method selector. Full Topic

func (m_ MenuItem) AllowsAutomaticKeyEquivalentLocalization() bool

A Boolean value that determines whether the system automatically remaps the keyboard shortcut to support localized keyboards. Full Topic

func (m_ MenuItem) AllowsAutomaticKeyEquivalentMirroring() bool

A Boolean value that determines whether the system automatically swaps input strings for some keyboard shortcuts when the interface direction changes. Full Topic

func (m_ MenuItem) AllowsKeyEquivalentWhenHidden() bool
[Full Topic]
func (m_ MenuItem) AttributedTitle() foundation.AttributedString

A custom string for a menu item. Full Topic

func (m_ MenuItem) HasSubmenu() bool

A Boolean value that indicates whether the menu item has a submenu. Full Topic

func (m_ MenuItem) Image() Image

The menu item’s image. Full Topic

func (m_ MenuItem) IndentationLevel() int

The menu item indentation level for the menu item. Full Topic

func (m_ MenuItem) Init() MenuItem
func (m_ MenuItem) InitWithTitleActionKeyEquivalent(string_ string, selector objc.Selector, charCode string) MenuItem
func (m_ MenuItem) IsAlternate() bool

A Boolean value that marks the menu item as an alternate to the previous menu item. Full Topic

func (m_ MenuItem) IsEnabled() bool

A Boolean value that indicates whether the menu item is enabled. Full Topic

func (m_ MenuItem) IsHidden() bool

A Boolean value that indicates whether the menu item is hidden. Full Topic

func (m_ MenuItem) IsHiddenOrHasHiddenAncestor() bool

A Boolean value that indicates whether the menu item or any of its superitems is hidden. Full Topic

func (m_ MenuItem) IsHighlighted() bool

A Boolean value that indicates whether the menu item should be drawn highlighted. Full Topic

func (m_ MenuItem) IsSeparatorItem() bool

A Boolean value indicating whether the menu item is a separator item. Full Topic

func (m_ MenuItem) KeyEquivalent() string

The menu item’s unmodified key equivalent. Full Topic

func (m_ MenuItem) KeyEquivalentModifierMask() EventModifierFlags

The menu item’s keyboard equivalent modifiers. Full Topic

func (m_ MenuItem) Menu() Menu

The menu item’s menu. Full Topic

func (m_ MenuItem) MixedStateImage() Image

The image of the menu item that indicates a “mixed” state, that is, a state neither “on” nor “off.” Full Topic

func (m_ MenuItem) OffStateImage() Image

The image of the menu item that indicates an “off” state. Full Topic

func (m_ MenuItem) OnStateImage() Image

The image of the menu item that indicates an “on” state. Full Topic

func (m_ MenuItem) ParentItem() MenuItem

The menu item whose submenu contains the receiver. Full Topic

func (m_ MenuItem) RepresentedObject() objc.Object

The object represented by the menu item. Full Topic

func (m_ MenuItem) SetAction(value objc.Selector)

The menu item's action-method selector. Full Topic

func (m_ MenuItem) SetAllowsAutomaticKeyEquivalentLocalization(value bool)

A Boolean value that determines whether the system automatically remaps the keyboard shortcut to support localized keyboards. Full Topic

func (m_ MenuItem) SetAllowsAutomaticKeyEquivalentMirroring(value bool)

A Boolean value that determines whether the system automatically swaps input strings for some keyboard shortcuts when the interface direction changes. Full Topic

func (m_ MenuItem) SetAllowsKeyEquivalentWhenHidden(value bool)
[Full Topic]
func (m_ MenuItem) SetAlternate(value bool)

A Boolean value that marks the menu item as an alternate to the previous menu item. Full Topic

func (m_ MenuItem) SetAttributedTitle(value foundation.IAttributedString)

A custom string for a menu item. Full Topic

func (m_ MenuItem) SetEnabled(value bool)

A Boolean value that indicates whether the menu item is enabled. Full Topic

func (m_ MenuItem) SetHidden(value bool)

A Boolean value that indicates whether the menu item is hidden. Full Topic

func (m_ MenuItem) SetImage(value IImage)

The menu item’s image. Full Topic

func (m_ MenuItem) SetIndentationLevel(value int)

The menu item indentation level for the menu item. Full Topic

func (m_ MenuItem) SetKeyEquivalent(value string)

The menu item’s unmodified key equivalent. Full Topic

func (m_ MenuItem) SetKeyEquivalentModifierMask(value EventModifierFlags)

The menu item’s keyboard equivalent modifiers. Full Topic

func (m_ MenuItem) SetMenu(value IMenu)

The menu item’s menu. Full Topic

func (m_ MenuItem) SetMixedStateImage(value IImage)

The image of the menu item that indicates a “mixed” state, that is, a state neither “on” nor “off.” Full Topic

func (m_ MenuItem) SetOffStateImage(value IImage)

The image of the menu item that indicates an “off” state. Full Topic

func (m_ MenuItem) SetOnStateImage(value IImage)

The image of the menu item that indicates an “on” state. Full Topic

func (m_ MenuItem) SetRepresentedObject(value objc.IObject)

The object represented by the menu item. Full Topic

func (m_ MenuItem) SetState(value ControlStateValue)

The state of the menu item. Full Topic

func (m_ MenuItem) SetSubmenu(value IMenu)

The submenu of the menu item. Full Topic

func (m_ MenuItem) SetTag(value int)

The menu item's tag. Full Topic

func (m_ MenuItem) SetTarget(value objc.IObject)

The menu item's target. Full Topic

func (m_ MenuItem) SetTitle(value string)

The menu item's title. Full Topic

func (m_ MenuItem) SetToolTip(value string)

A help tag for the menu item. Full Topic

func (m_ MenuItem) SetView(value IView)

The content view for the menu item. Full Topic

func (m_ MenuItem) State() ControlStateValue

The state of the menu item. Full Topic

func (m_ MenuItem) Submenu() Menu

The submenu of the menu item. Full Topic

func (m_ MenuItem) Tag() int

The menu item's tag. Full Topic

func (m_ MenuItem) Target() objc.Object

The menu item's target. Full Topic

func (m_ MenuItem) Title() string

The menu item's title. Full Topic

func (m_ MenuItem) ToolTip() string

A help tag for the menu item. Full Topic

func (m_ MenuItem) UserKeyEquivalent() string

The user-assigned key equivalent for the menu item. Full Topic

func (m_ MenuItem) View() View

The content view for the menu item. Full Topic

type MenuItemCell struct {
	ButtonCell
}

An object that handles the measurement and display of a single menu item in its encompassing frame. Full Topic

func MenuItemCellFrom(ptr unsafe.Pointer) MenuItemCell
func MenuItemCell_Alloc() MenuItemCell

func NewMenuItemCell

func NewMenuItemCell() MenuItemCell

func NewMenuItemCellImageCell

func NewMenuItemCellImageCell(image IImage) MenuItemCell
[Full Topic]

func NewMenuItemCellTextCell

func NewMenuItemCellTextCell(string_ string) MenuItemCell
[Full Topic]
func (m_ MenuItemCell) CalcSize()

Calculates the minimum required width and height of the receiver’s menu item. Full Topic

func (m_ MenuItemCell) DrawBorderAndBackgroundWithFrameInView(cellFrame foundation.Rect, controlView IView)

Draws the borders and background associated with the receiver’s menu item (if any). Full Topic

func (m_ MenuItemCell) DrawKeyEquivalentWithFrameInView(cellFrame foundation.Rect, controlView IView)

Draws the key equivalent associated with the menu item. Full Topic

func (m_ MenuItemCell) DrawSeparatorItemWithFrameInView(cellFrame foundation.Rect, controlView IView)

Draws a menu item separator. Full Topic

func (m_ MenuItemCell) DrawStateImageWithFrameInView(cellFrame foundation.Rect, controlView IView)

Draws the state image associated with the menu item. Full Topic

func (m_ MenuItemCell) ImageWidth() float64

The width of the image associated with the menu item. Full Topic

func (m_ MenuItemCell) Init() MenuItemCell
func (m_ MenuItemCell) InitImageCell(image IImage) MenuItemCell
func (m_ MenuItemCell) InitTextCell(string_ string) MenuItemCell
func (m_ MenuItemCell) KeyEquivalentRectForBounds(cellFrame foundation.Rect) foundation.Rect

Returns the rectangle into which the menu item’s key equivalent should be drawn. Full Topic

func (m_ MenuItemCell) KeyEquivalentWidth() float64

The width of the menu item’s key equivalent string. Full Topic

func (m_ MenuItemCell) MenuItem() MenuItem

The menu item object associated with the cell. Full Topic

func (m_ MenuItemCell) NeedsDisplay() bool

A Boolean value indicating whether the menu item needs to be displayed. Full Topic

func (m_ MenuItemCell) NeedsSizing() bool

A Boolean value indicating whether the size of the menu needs to be calculated. Full Topic

func (m_ MenuItemCell) SetMenuItem(value IMenuItem)

The menu item object associated with the cell. Full Topic

func (m_ MenuItemCell) SetNeedsDisplay(value bool)

A Boolean value indicating whether the menu item needs to be displayed. Full Topic

func (m_ MenuItemCell) SetNeedsSizing(value bool)

A Boolean value indicating whether the size of the menu needs to be calculated. Full Topic

func (m_ MenuItemCell) StateImageRectForBounds(cellFrame foundation.Rect) foundation.Rect

Returns the rectangle into which the menu item’s state image should be drawn. Full Topic

func (m_ MenuItemCell) StateImageWidth() float64

The width of the image used to indicate the state of the menu item. Full Topic

func (m_ MenuItemCell) TitleWidth() float64

The width of the menu item’s text, measured in points. Full Topic

type MenuItemValidationWrapper struct {
	objc.Object
}

A concrete type wrapper for the PMenuItemValidation protocol.

func (m_ MenuItemValidationWrapper) HasValidateMenuItem() bool
func (m_ MenuItemValidationWrapper) ValidateMenuItem(menuItem IMenuItem) bool

Implemented to override the default action of enabling or disabling a specific menu item. Full Topic

type MenuProperties uint

These constants are used as a bitmask for specifying a set of menu or menu item properties, and are contained by the propertiesToUpdate property. Full Topic

const (
	MenuPropertyItemAccessibilityDescription MenuProperties = 32
	MenuPropertyItemAttributedTitle          MenuProperties = 2
	MenuPropertyItemEnabled                  MenuProperties = 16
	MenuPropertyItemImage                    MenuProperties = 8
	MenuPropertyItemKeyEquivalent            MenuProperties = 4
	MenuPropertyItemTitle                    MenuProperties = 1
)
type MenuToolbarItem struct {
	ToolbarItem
}

A control that presents a menu in a window’s toolbar. Full Topic

func MenuToolbarItemFrom(ptr unsafe.Pointer) MenuToolbarItem
func MenuToolbarItem_Alloc() MenuToolbarItem

func NewMenuToolbarItem

func NewMenuToolbarItem() MenuToolbarItem

func NewMenuToolbarItemWithItemIdentifier

func NewMenuToolbarItemWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) MenuToolbarItem

Creates a toolbar item with the specified identifier. Full Topic

func (m_ MenuToolbarItem) Init() MenuToolbarItem
func (m_ MenuToolbarItem) InitWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) MenuToolbarItem
func (m_ MenuToolbarItem) Menu() Menu

The menu presented from the toolbar item. Full Topic

func (m_ MenuToolbarItem) SetMenu(value IMenu)

The menu presented from the toolbar item. Full Topic

func (m_ MenuToolbarItem) SetShowsIndicator(value bool)

A Boolean value that determines whether the toolbar item displays an indicator of additional functionality. Full Topic

func (m_ MenuToolbarItem) ShowsIndicator() bool

A Boolean value that determines whether the toolbar item displays an indicator of additional functionality. Full Topic

type ModalResponse

type ModalResponse int

A set of button return values for modal dialogs. Full Topic

const (
	AlertFirstButtonReturn  ModalResponse = 1000
	AlertSecondButtonReturn ModalResponse = 1001
	AlertThirdButtonReturn  ModalResponse = 1002
	ModalResponseAbort      ModalResponse = -1001
	ModalResponseCancel     ModalResponse = 0
	ModalResponseContinue   ModalResponse = -1002
	ModalResponseOK         ModalResponse = 1
	ModalResponseStop       ModalResponse = -1000
)

type ModalSession

type ModalSession unsafe.Pointer

todo: generate

type MultibyteGlyphPacking

type MultibyteGlyphPacking uint

A constant for glyph packing. Full Topic

const (
	NativeShortGlyphPacking MultibyteGlyphPacking = 5
)

type MutableFontCollection

type MutableFontCollection struct {
	FontCollection
}

A mutable collection of font descriptors taken together as a single object. Full Topic

func MutableFontCollectionFrom

func MutableFontCollectionFrom(ptr unsafe.Pointer) MutableFontCollection

func MutableFontCollection_Alloc

func MutableFontCollection_Alloc() MutableFontCollection

func NewMutableFontCollection

func NewMutableFontCollection() MutableFontCollection

func (MutableFontCollection) AddQueryForDescriptors

func (m_ MutableFontCollection) AddQueryForDescriptors(descriptors []IFontDescriptor)

Edits the query and exclusion arrays by adding the specified font descriptors. Full Topic

func (MutableFontCollection) Init

func (MutableFontCollection) RemoveQueryForDescriptors

func (m_ MutableFontCollection) RemoveQueryForDescriptors(descriptors []IFontDescriptor)

Edits the query and exclusion arrays by removing the specified font descriptors. Full Topic

func (MutableFontCollection) SetExclusionDescriptors

func (m_ MutableFontCollection) SetExclusionDescriptors(value []IFontDescriptor)

The font descriptors to exclude from query results. Full Topic

func (MutableFontCollection) SetQueryDescriptors

func (m_ MutableFontCollection) SetQueryDescriptors(value []IFontDescriptor)

The font descriptors to include in query results. Full Topic

type MutableParagraphStyle

type MutableParagraphStyle struct {
	ParagraphStyle
}

An object for changing the values of the subattributes in a paragraph style attribute. Full Topic

func MutableParagraphStyleFrom

func MutableParagraphStyleFrom(ptr unsafe.Pointer) MutableParagraphStyle

func MutableParagraphStyle_Alloc

func MutableParagraphStyle_Alloc() MutableParagraphStyle

func NewMutableParagraphStyle

func NewMutableParagraphStyle() MutableParagraphStyle

func (MutableParagraphStyle) AddTabStop

func (m_ MutableParagraphStyle) AddTabStop(anObject ITextTab)

Adds the specified tab stop to the paragraph. Full Topic

func (MutableParagraphStyle) Init

func (MutableParagraphStyle) RemoveTabStop

func (m_ MutableParagraphStyle) RemoveTabStop(anObject ITextTab)

Removes the first text tab with a location and type equal to the specified tab stop. Full Topic

func (MutableParagraphStyle) SetAlignment

func (m_ MutableParagraphStyle) SetAlignment(value TextAlignment)

The text alignment of the paragraph. Full Topic

func (MutableParagraphStyle) SetAllowsDefaultTighteningForTruncation

func (m_ MutableParagraphStyle) SetAllowsDefaultTighteningForTruncation(value bool)

A Boolean value that indicates whether the system tightens intercharacter spacing before truncating text. Full Topic

func (MutableParagraphStyle) SetBaseWritingDirection

func (m_ MutableParagraphStyle) SetBaseWritingDirection(value WritingDirection)

The base writing direction for the paragraph. Full Topic

func (MutableParagraphStyle) SetDefaultTabInterval

func (m_ MutableParagraphStyle) SetDefaultTabInterval(value float64)

A number used as the document’s default tab spacing. Full Topic

func (MutableParagraphStyle) SetFirstLineHeadIndent

func (m_ MutableParagraphStyle) SetFirstLineHeadIndent(value float64)

The indentation of the first line of the paragraph. Full Topic

func (MutableParagraphStyle) SetHeadIndent

func (m_ MutableParagraphStyle) SetHeadIndent(value float64)

The indentation of the paragraph’s lines other than the first. Full Topic

func (MutableParagraphStyle) SetHeaderLevel

func (m_ MutableParagraphStyle) SetHeaderLevel(value int)

The paragraph’s header level for HTML generation. Full Topic

func (MutableParagraphStyle) SetHyphenationFactor

func (m_ MutableParagraphStyle) SetHyphenationFactor(value float64)

The paragraph’s threshold for hyphenation. Full Topic

func (MutableParagraphStyle) SetLineBreakStrategy

func (m_ MutableParagraphStyle) SetLineBreakStrategy(value LineBreakStrategy)

The strategies that the text system may use to break lines while laying out the paragraph. Full Topic

func (MutableParagraphStyle) SetLineHeightMultiple

func (m_ MutableParagraphStyle) SetLineHeightMultiple(value float64)

The line height multiple. Full Topic

func (MutableParagraphStyle) SetLineSpacing

func (m_ MutableParagraphStyle) SetLineSpacing(value float64)

The distance in points between the bottom of one line fragment and the top of the next. Full Topic

func (MutableParagraphStyle) SetMaximumLineHeight

func (m_ MutableParagraphStyle) SetMaximumLineHeight(value float64)

The paragraph’s maximum line height. Full Topic

func (MutableParagraphStyle) SetMinimumLineHeight

func (m_ MutableParagraphStyle) SetMinimumLineHeight(value float64)

The paragraph’s minimum line height. Full Topic

func (MutableParagraphStyle) SetParagraphSpacing

func (m_ MutableParagraphStyle) SetParagraphSpacing(value float64)

The space after the end of the paragraph. Full Topic

func (MutableParagraphStyle) SetParagraphSpacingBefore

func (m_ MutableParagraphStyle) SetParagraphSpacingBefore(value float64)

The distance between the paragraph’s top and the beginning of its text content. Full Topic

func (MutableParagraphStyle) SetParagraphStyle

func (m_ MutableParagraphStyle) SetParagraphStyle(obj IParagraphStyle)

Replaces the subattributes of the paragraph with those in the specified paragraph style object. Full Topic

func (MutableParagraphStyle) SetTabStops

func (m_ MutableParagraphStyle) SetTabStops(value []ITextTab)

The text tab objects that represent the paragraph’s tab stops. Full Topic

func (MutableParagraphStyle) SetTailIndent

func (m_ MutableParagraphStyle) SetTailIndent(value float64)

The trailing indentation of the paragraph. Full Topic

func (MutableParagraphStyle) SetTextBlocks

func (m_ MutableParagraphStyle) SetTextBlocks(value []ITextBlock)

The text blocks that contain the paragraph. Full Topic

func (MutableParagraphStyle) SetTextLists

func (m_ MutableParagraphStyle) SetTextLists(value []ITextList)

The text lists that contain the paragraph. Full Topic

func (MutableParagraphStyle) SetTighteningFactorForTruncation

func (m_ MutableParagraphStyle) SetTighteningFactorForTruncation(value float64)

The threshold for using tightening as an alternative to truncation. Full Topic

func (MutableParagraphStyle) SetUsesDefaultHyphenation

func (m_ MutableParagraphStyle) SetUsesDefaultHyphenation(value bool)
[Full Topic]

type Nib

type Nib struct {
	objc.Object
}

An object wrapper, or container, for an Interface Builder nib file. Full Topic

func NewNib

func NewNib() Nib

func NewNibWithNibDataBundle

func NewNibWithNibDataBundle(nibData []byte, bundle foundation.IBundle) Nib

Initializes an instance with nib data and specified bundle for locating resources. Full Topic

func NewNibWithNibNamedBundle

func NewNibWithNibNamedBundle(nibName NibName, bundle foundation.IBundle) Nib

Returns an NSNib object initialized to the nib file in the specified bundle. Full Topic

func NibFrom

func NibFrom(ptr unsafe.Pointer) Nib

func Nib_Alloc

func Nib_Alloc() Nib

func (Nib) Init

func (n_ Nib) Init() Nib

func (Nib) InitWithNibDataBundle

func (n_ Nib) InitWithNibDataBundle(nibData []byte, bundle foundation.IBundle) Nib

func (Nib) InitWithNibNamedBundle

func (n_ Nib) InitWithNibNamedBundle(nibName NibName, bundle foundation.IBundle) Nib

func (Nib) InstantiateWithOwnerTopLevelObjects

func (n_ Nib) InstantiateWithOwnerTopLevelObjects(owner objc.IObject, topLevelObjects []objc.IObject) bool

Instantiates objects in the nib file with the specified owner. Full Topic

type NibConnector

type NibConnector struct {
	objc.Object
}

A connection between two nibs. Full Topic

func NewNibConnector

func NewNibConnector() NibConnector

func NibConnectorFrom

func NibConnectorFrom(ptr unsafe.Pointer) NibConnector

func NibConnector_Alloc

func NibConnector_Alloc() NibConnector

func (NibConnector) Destination

func (n_ NibConnector) Destination() objc.Object
[Full Topic]

func (NibConnector) EstablishConnection

func (n_ NibConnector) EstablishConnection()
[Full Topic]

func (NibConnector) Init

func (n_ NibConnector) Init() NibConnector

func (NibConnector) Label

func (n_ NibConnector) Label() string
[Full Topic]

func (NibConnector) ReplaceObjectWithObject

func (n_ NibConnector) ReplaceObjectWithObject(oldObject objc.IObject, newObject objc.IObject)
[Full Topic]

func (NibConnector) SetDestination

func (n_ NibConnector) SetDestination(value objc.IObject)
[Full Topic]

func (NibConnector) SetLabel

func (n_ NibConnector) SetLabel(value string)
[Full Topic]

func (NibConnector) SetSource

func (n_ NibConnector) SetSource(value objc.IObject)
[Full Topic]

func (NibConnector) Source

func (n_ NibConnector) Source() objc.Object
[Full Topic]

type NibControlConnector

type NibControlConnector struct {
	NibConnector
}

A control connection between two Interface Builder objects. Full Topic

func NewNibControlConnector

func NewNibControlConnector() NibControlConnector

func NibControlConnectorFrom

func NibControlConnectorFrom(ptr unsafe.Pointer) NibControlConnector

func NibControlConnector_Alloc

func NibControlConnector_Alloc() NibControlConnector

func (NibControlConnector) Init

type NibName

type NibName string
[Full Topic]

type NibOutletConnector

type NibOutletConnector struct {
	NibConnector
}

An outlet connection between Interface Builder objects. Full Topic

func NewNibOutletConnector

func NewNibOutletConnector() NibOutletConnector

func NibOutletConnectorFrom

func NibOutletConnectorFrom(ptr unsafe.Pointer) NibOutletConnector

func NibOutletConnector_Alloc

func NibOutletConnector_Alloc() NibOutletConnector

func (NibOutletConnector) Init

type ObjectController

type ObjectController struct {
	Controller
}

A controller that can manage an object's properties referenced by key-value paths. Full Topic

func NewObjectController

func NewObjectController() ObjectController

func NewObjectControllerWithContent

func NewObjectControllerWithContent(content objc.IObject) ObjectController

Initializes and returns an NSObjectController object with the given content. Full Topic

func ObjectControllerFrom

func ObjectControllerFrom(ptr unsafe.Pointer) ObjectController

func ObjectController_Alloc

func ObjectController_Alloc() ObjectController

func (ObjectController) Add

func (o_ ObjectController) Add(sender objc.IObject) objc.Object

Creates a new object and sets it as the receiver’s content object. Full Topic

func (ObjectController) AddObject

func (o_ ObjectController) AddObject(object objc.IObject)

Sets the receiver’s content object. Full Topic

func (ObjectController) AutomaticallyPreparesContent

func (o_ ObjectController) AutomaticallyPreparesContent() bool

A Boolean that shows whether the receiver automatically creates and inserts new content objects automatically when loading from a nib file. Full Topic

func (ObjectController) CanAdd

func (o_ ObjectController) CanAdd() bool

A Boolean value that indicates whether an object can be added to the receiver using add:. Full Topic

func (ObjectController) CanRemove

func (o_ ObjectController) CanRemove() bool

A Boolean value that indicates whether an object can be removed from the receiver. Full Topic

func (ObjectController) Content

func (o_ ObjectController) Content() objc.Object

The receiver’s content object. Full Topic

func (ObjectController) DefaultFetchRequest

func (o_ ObjectController) DefaultFetchRequest() coredata.FetchRequest

Returns the default fetch request used by the receiver. Full Topic

func (ObjectController) EntityName

func (o_ ObjectController) EntityName() string

The entity name used by the receiver to create new objects. Full Topic

func (ObjectController) Fetch

func (o_ ObjectController) Fetch(sender objc.IObject) objc.Object

Causes the receiver to fetch the data objects specified by the entity name and fetch predicate. Full Topic

func (ObjectController) FetchPredicate

func (o_ ObjectController) FetchPredicate() foundation.Predicate

The receiver’s fetch predicate. Full Topic

func (ObjectController) FetchWithRequestMergeError

func (o_ ObjectController) FetchWithRequestMergeError(fetchRequest coredata.IFetchRequest, merge bool, error foundation.IError) bool

Subclasses should override this method to customize a fetch request, for example to specify fetch limits. Full Topic

func (ObjectController) Init

func (ObjectController) InitWithContent

func (o_ ObjectController) InitWithContent(content objc.IObject) ObjectController

func (ObjectController) IsEditable

func (o_ ObjectController) IsEditable() bool

A Boolean that indicates whether the receiver allows adding and removing objects. Full Topic

func (ObjectController) ManagedObjectContext

func (o_ ObjectController) ManagedObjectContext() coredata.ManagedObjectContext

The receiver’s managed object context. Full Topic

func (ObjectController) NewObject

func (o_ ObjectController) NewObject() objc.Object

Creates and returns a new object of the appropriate class. Full Topic

func (ObjectController) ObjectClass

func (o_ ObjectController) ObjectClass() objc.Class

The object class to use when creating new objects. Full Topic

func (ObjectController) PrepareContent

func (o_ ObjectController) PrepareContent()

Typically overridden by subclasses that require additional control over the creation of new objects. Full Topic

func (ObjectController) Remove

func (o_ ObjectController) Remove(sender objc.IObject) objc.Object

Removes the receiver’s content object. Full Topic

func (ObjectController) RemoveObject

func (o_ ObjectController) RemoveObject(object objc.IObject)

Removes a given object from the receiver’s content. Full Topic

func (ObjectController) SelectedObjects

func (o_ ObjectController) SelectedObjects() []objc.Object

An array of all objects to be affected by editing. Full Topic

func (ObjectController) Selection

func (o_ ObjectController) Selection() objc.Object

A proxy object representing the receiver’s selection. Full Topic

func (ObjectController) SetAutomaticallyPreparesContent

func (o_ ObjectController) SetAutomaticallyPreparesContent(value bool)

A Boolean that shows whether the receiver automatically creates and inserts new content objects automatically when loading from a nib file. Full Topic

func (ObjectController) SetContent

func (o_ ObjectController) SetContent(value objc.IObject)

The receiver’s content object. Full Topic

func (ObjectController) SetEditable

func (o_ ObjectController) SetEditable(value bool)

A Boolean that indicates whether the receiver allows adding and removing objects. Full Topic

func (ObjectController) SetEntityName

func (o_ ObjectController) SetEntityName(value string)

The entity name used by the receiver to create new objects. Full Topic

func (ObjectController) SetFetchPredicate

func (o_ ObjectController) SetFetchPredicate(value foundation.IPredicate)

The receiver’s fetch predicate. Full Topic

func (ObjectController) SetManagedObjectContext

func (o_ ObjectController) SetManagedObjectContext(value coredata.IManagedObjectContext)

The receiver’s managed object context. Full Topic

func (ObjectController) SetObjectClass

func (o_ ObjectController) SetObjectClass(value objc.IClass)

The object class to use when creating new objects. Full Topic

func (ObjectController) SetUsesLazyFetching

func (o_ ObjectController) SetUsesLazyFetching(value bool)

A Boolean that indicates whether the receiver uses lazy fetching. Full Topic

func (ObjectController) UsesLazyFetching

func (o_ ObjectController) UsesLazyFetching() bool

A Boolean that indicates whether the receiver uses lazy fetching. Full Topic

func (ObjectController) ValidateUserInterfaceItem

func (o_ ObjectController) ValidateUserInterfaceItem(item PValidatedUserInterfaceItem) bool

Returns whether the receiver can handle the action method for a user interface item. Full Topic

func (ObjectController) ValidateUserInterfaceItemObject

func (o_ ObjectController) ValidateUserInterfaceItemObject(itemObject objc.IObject) bool

Returns whether the receiver can handle the action method for a user interface item. Full Topic

type OpenGLContext

type OpenGLContext struct {
	objc.Object
}

An object that represents an OpenGL graphics context, into which all OpenGL calls are rendered. Full Topic

func NewOpenGLContext

func NewOpenGLContext() OpenGLContext

func OpenGLContextFrom

func OpenGLContextFrom(ptr unsafe.Pointer) OpenGLContext

func OpenGLContext_Alloc

func OpenGLContext_Alloc() OpenGLContext

func (OpenGLContext) Init

func (o_ OpenGLContext) Init() OpenGLContext

type OpenGLContextParameter

type OpenGLContextParameter int

Constants that specify context parameters. Full Topic

const (
	OpenGLCPCurrentRendererID                    OpenGLContextParameter = 309
	OpenGLCPGPUFragmentProcessing                OpenGLContextParameter = 311
	OpenGLCPGPUVertexProcessing                  OpenGLContextParameter = 310
	OpenGLCPHasDrawable                          OpenGLContextParameter = 314
	OpenGLCPMPSwapsInFlight                      OpenGLContextParameter = 315
	OpenGLCPRasterizationEnable                  OpenGLContextParameter = 221
	OpenGLCPReclaimResources                     OpenGLContextParameter = 308
	OpenGLCPStateValidation                      OpenGLContextParameter = 301
	OpenGLCPSurfaceBackingSize                   OpenGLContextParameter = 304
	OpenGLCPSurfaceOpacity                       OpenGLContextParameter = 236
	OpenGLCPSurfaceOrder                         OpenGLContextParameter = 235
	OpenGLCPSurfaceSurfaceVolatile               OpenGLContextParameter = 306
	OpenGLCPSwapInterval                         OpenGLContextParameter = 222
	OpenGLCPSwapRectangle                        OpenGLContextParameter = 200
	OpenGLCPSwapRectangleEnable                  OpenGLContextParameter = 201
	OpenGLContextParameterCurrentRendererID      OpenGLContextParameter = 309
	OpenGLContextParameterGPUFragmentProcessing  OpenGLContextParameter = 311
	OpenGLContextParameterGPUVertexProcessing    OpenGLContextParameter = 310
	OpenGLContextParameterHasDrawable            OpenGLContextParameter = 314
	OpenGLContextParameterMPSwapsInFlight        OpenGLContextParameter = 315
	OpenGLContextParameterRasterizationEnable    OpenGLContextParameter = 221
	OpenGLContextParameterReclaimResources       OpenGLContextParameter = 308
	OpenGLContextParameterStateValidation        OpenGLContextParameter = 301
	OpenGLContextParameterSurfaceBackingSize     OpenGLContextParameter = 304
	OpenGLContextParameterSurfaceOpacity         OpenGLContextParameter = 236
	OpenGLContextParameterSurfaceOrder           OpenGLContextParameter = 235
	OpenGLContextParameterSurfaceSurfaceVolatile OpenGLContextParameter = 306
	OpenGLContextParameterSwapInterval           OpenGLContextParameter = 222
	OpenGLContextParameterSwapRectangle          OpenGLContextParameter = 200
	OpenGLContextParameterSwapRectangleEnable    OpenGLContextParameter = 201
)

type OpenGLGlobalOption

type OpenGLGlobalOption uint32

Constants that specify OpenGL options. Full Topic

const (
	OpenGLGOClearFormatCache OpenGLGlobalOption = 502
	OpenGLGOFormatCacheSize  OpenGLGlobalOption = 501
	OpenGLGOResetLibrary     OpenGLGlobalOption = 504
	OpenGLGORetainRenderers  OpenGLGlobalOption = 503
	OpenGLGOUseBuildCache    OpenGLGlobalOption = 506
)

type OpenGLLayer

type OpenGLLayer struct {
	quartzcore.OpenGLLayer
}

A subclass of CAOpenGLLayer that is suitable for rendering OpenGL into layers. Full Topic

func NewOpenGLLayer

func NewOpenGLLayer() OpenGLLayer

func NewOpenGLLayerWithLayer

func NewOpenGLLayerWithLayer(layer objc.IObject) OpenGLLayer

Override to copy or initialize custom fields of the specified layer. Full Topic

func OpenGLLayerFrom

func OpenGLLayerFrom(ptr unsafe.Pointer) OpenGLLayer

func OpenGLLayer_Alloc

func OpenGLLayer_Alloc() OpenGLLayer

func OpenGLLayer_Layer

func OpenGLLayer_Layer() OpenGLLayer

Creates and returns an instance of the layer object. Full Topic

func OpenGLLayer_ModelLayer

func OpenGLLayer_ModelLayer() OpenGLLayer

Returns the model layer object associated with the receiver, if any. Full Topic

func OpenGLLayer_PresentationLayer

func OpenGLLayer_PresentationLayer() OpenGLLayer

Returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. Full Topic

func (OpenGLLayer) Init

func (o_ OpenGLLayer) Init() OpenGLLayer

func (OpenGLLayer) InitWithLayer

func (o_ OpenGLLayer) InitWithLayer(layer objc.IObject) OpenGLLayer

func (OpenGLLayer) ModelLayer

func (o_ OpenGLLayer) ModelLayer() OpenGLLayer

func (OpenGLLayer) PresentationLayer

func (o_ OpenGLLayer) PresentationLayer() OpenGLLayer

type OpenGLPixelBuffer

type OpenGLPixelBuffer struct {
	objc.Object
}

An object that provides access to accelerated offscreen rendering. Full Topic

func NewOpenGLPixelBuffer

func NewOpenGLPixelBuffer() OpenGLPixelBuffer

func OpenGLPixelBufferFrom

func OpenGLPixelBufferFrom(ptr unsafe.Pointer) OpenGLPixelBuffer

func OpenGLPixelBuffer_Alloc

func OpenGLPixelBuffer_Alloc() OpenGLPixelBuffer

func (OpenGLPixelBuffer) Init

type OpenGLPixelFormat

type OpenGLPixelFormat struct {
	objc.Object
}

An object that specifies the types of buffers and other attributes of the OpenGL context. Full Topic

func NewOpenGLPixelFormat

func NewOpenGLPixelFormat() OpenGLPixelFormat

func OpenGLPixelFormatFrom

func OpenGLPixelFormatFrom(ptr unsafe.Pointer) OpenGLPixelFormat

func OpenGLPixelFormat_Alloc

func OpenGLPixelFormat_Alloc() OpenGLPixelFormat

func (OpenGLPixelFormat) Init

type OpenGLPixelFormatAttribute

type OpenGLPixelFormatAttribute uint32

Pixel format attributes for OpenGL. Full Topic

type OpenGLView

type OpenGLView struct {
	View
}

A view that displays OpenGL content in a view. Full Topic

func NewOpenGLView

func NewOpenGLView() OpenGLView

func NewOpenGLViewWithFrame

func NewOpenGLViewWithFrame(frameRect foundation.Rect) OpenGLView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func OpenGLViewFrom

func OpenGLViewFrom(ptr unsafe.Pointer) OpenGLView

func OpenGLView_Alloc

func OpenGLView_Alloc() OpenGLView

func (OpenGLView) Init

func (o_ OpenGLView) Init() OpenGLView

func (OpenGLView) InitWithFrame

func (o_ OpenGLView) InitWithFrame(frameRect foundation.Rect) OpenGLView

type OpenPanel

type OpenPanel struct {
	SavePanel
}

A panel that prompts the user to select a file to open. Full Topic

func NewOpenPanel

func NewOpenPanel() OpenPanel

func NewOpenPanelWithContentRectStyleMaskBackingDeferScreen

func NewOpenPanelWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) OpenPanel

Initializes an allocated window with the specified values. Full Topic

func OpenPanelFrom

func OpenPanelFrom(ptr unsafe.Pointer) OpenPanel

func OpenPanel_Alloc

func OpenPanel_Alloc() OpenPanel

func OpenPanel_OpenPanel

func OpenPanel_OpenPanel() OpenPanel

Creates a new Open panel and initializes it with a default configuration. Full Topic

func OpenPanel_WindowWithContentViewController

func OpenPanel_WindowWithContentViewController(contentViewController IViewController) OpenPanel

Creates a titled window that contains the specified content view controller. Full Topic

func (OpenPanel) AllowsMultipleSelection

func (o_ OpenPanel) AllowsMultipleSelection() bool

A Boolean that indicates whether the user may select multiple files and directories. Full Topic

func (OpenPanel) CanChooseDirectories

func (o_ OpenPanel) CanChooseDirectories() bool

A Boolean that indicates whether the user can choose directories in the panel. Full Topic

func (OpenPanel) CanChooseFiles

func (o_ OpenPanel) CanChooseFiles() bool

A Boolean that indicates whether the user can choose files in the panel. Full Topic

func (OpenPanel) CanDownloadUbiquitousContents

func (o_ OpenPanel) CanDownloadUbiquitousContents() bool

A Boolean value that indicates how the panel responds to iCloud documents that aren't fully downloaded locally. Full Topic

func (OpenPanel) CanResolveUbiquitousConflicts

func (o_ OpenPanel) CanResolveUbiquitousConflicts() bool

A Boolean value that indicates how the panel responds to iCloud documents that have conflicting versions. Full Topic

func (OpenPanel) Init

func (o_ OpenPanel) Init() OpenPanel

func (OpenPanel) InitWithContentRectStyleMaskBackingDeferScreen

func (o_ OpenPanel) InitWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) OpenPanel

func (OpenPanel) IsAccessoryViewDisclosed

func (o_ OpenPanel) IsAccessoryViewDisclosed() bool

A Boolean value that indicates whether the panel's accessory view is visible. Full Topic

func (OpenPanel) ResolvesAliases

func (o_ OpenPanel) ResolvesAliases() bool

A Boolean that indicates whether the panel resolves aliases. Full Topic

func (OpenPanel) SetAccessoryViewDisclosed

func (o_ OpenPanel) SetAccessoryViewDisclosed(value bool)

A Boolean value that indicates whether the panel's accessory view is visible. Full Topic

func (OpenPanel) SetAllowsMultipleSelection

func (o_ OpenPanel) SetAllowsMultipleSelection(value bool)

A Boolean that indicates whether the user may select multiple files and directories. Full Topic

func (OpenPanel) SetCanChooseDirectories

func (o_ OpenPanel) SetCanChooseDirectories(value bool)

A Boolean that indicates whether the user can choose directories in the panel. Full Topic

func (OpenPanel) SetCanChooseFiles

func (o_ OpenPanel) SetCanChooseFiles(value bool)

A Boolean that indicates whether the user can choose files in the panel. Full Topic

func (OpenPanel) SetCanDownloadUbiquitousContents

func (o_ OpenPanel) SetCanDownloadUbiquitousContents(value bool)

A Boolean value that indicates how the panel responds to iCloud documents that aren't fully downloaded locally. Full Topic

func (OpenPanel) SetCanResolveUbiquitousConflicts

func (o_ OpenPanel) SetCanResolveUbiquitousConflicts(value bool)

A Boolean value that indicates how the panel responds to iCloud documents that have conflicting versions. Full Topic

func (OpenPanel) SetResolvesAliases

func (o_ OpenPanel) SetResolvesAliases(value bool)

A Boolean that indicates whether the panel resolves aliases. Full Topic

func (OpenPanel) URLs

func (o_ OpenPanel) URLs() []foundation.URL

An array of URLs, each of which contains the fully specified location of a selected file or directory. Full Topic

type OpenSavePanelDelegate

type OpenSavePanelDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the POpenSavePanelDelegate protocol.

func (*OpenSavePanelDelegate) HasPanelSelectionDidChange

func (di *OpenSavePanelDelegate) HasPanelSelectionDidChange() bool

func (*OpenSavePanelDelegate) HasPanelShouldEnableURL

func (di *OpenSavePanelDelegate) HasPanelShouldEnableURL() bool

func (*OpenSavePanelDelegate) PanelSelectionDidChange

func (di *OpenSavePanelDelegate) PanelSelectionDidChange(sender objc.Object)

Tells the delegate that the user changed the selection in the specified Save panel. Full Topic

func (*OpenSavePanelDelegate) PanelShouldEnableURL

func (di *OpenSavePanelDelegate) PanelShouldEnableURL(sender objc.Object, url foundation.URL) bool

Asks the delegate whether the specified URL should be enabled in the Open panel. Full Topic

func (*OpenSavePanelDelegate) SetPanelSelectionDidChange

func (di *OpenSavePanelDelegate) SetPanelSelectionDidChange(f func(sender objc.Object))

Tells the delegate that the user changed the selection in the specified Save panel. Full Topic

func (*OpenSavePanelDelegate) SetPanelShouldEnableURL

func (di *OpenSavePanelDelegate) SetPanelShouldEnableURL(f func(sender objc.Object, url foundation.URL) bool)

Asks the delegate whether the specified URL should be enabled in the Open panel. Full Topic

type OpenSavePanelDelegateWrapper

type OpenSavePanelDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the POpenSavePanelDelegate protocol.

func (OpenSavePanelDelegateWrapper) HasPanelSelectionDidChange

func (o_ OpenSavePanelDelegateWrapper) HasPanelSelectionDidChange() bool

func (OpenSavePanelDelegateWrapper) HasPanelShouldEnableURL

func (o_ OpenSavePanelDelegateWrapper) HasPanelShouldEnableURL() bool

func (OpenSavePanelDelegateWrapper) PanelSelectionDidChange

func (o_ OpenSavePanelDelegateWrapper) PanelSelectionDidChange(sender objc.IObject)

Tells the delegate that the user changed the selection in the specified Save panel. Full Topic

func (OpenSavePanelDelegateWrapper) PanelShouldEnableURL

func (o_ OpenSavePanelDelegateWrapper) PanelShouldEnableURL(sender objc.IObject, url foundation.IURL) bool

Asks the delegate whether the specified URL should be enabled in the Open panel. Full Topic

type OutlineView

type OutlineView struct {
	TableView
}

A view that uses a row-and-column format to display hierarchical data like directories and files that can be expanded and collapsed. Full Topic

func NewOutlineView

func NewOutlineView() OutlineView

func NewOutlineViewWithFrame

func NewOutlineViewWithFrame(frameRect foundation.Rect) OutlineView
[Full Topic]

func OutlineViewFrom

func OutlineViewFrom(ptr unsafe.Pointer) OutlineView

func OutlineView_Alloc

func OutlineView_Alloc() OutlineView

func (OutlineView) AutoresizesOutlineColumn

func (o_ OutlineView) AutoresizesOutlineColumn() bool

A Boolean value that indicates whether the outline view resizes its outline column when the user expands or collapses items. Full Topic

func (OutlineView) AutosaveExpandedItems

func (o_ OutlineView) AutosaveExpandedItems() bool

A Boolean value indicating whether the expanded items are automatically saved across launches of the app. Full Topic

func (OutlineView) ChildIndexForItem

func (o_ OutlineView) ChildIndexForItem(item objc.IObject) int

Returns the child index of the specified item within its parent. Full Topic

func (OutlineView) ChildOfItem

func (o_ OutlineView) ChildOfItem(index int, item objc.IObject) objc.Object

Returns the specified child of an item. Full Topic

func (OutlineView) CollapseItem

func (o_ OutlineView) CollapseItem(item objc.IObject)

Collapses a given item. Full Topic

func (OutlineView) ExpandItem

func (o_ OutlineView) ExpandItem(item objc.IObject)

Expands a given item. Full Topic

func (OutlineView) FrameOfOutlineCellAtRow

func (o_ OutlineView) FrameOfOutlineCellAtRow(row int) foundation.Rect

Returns the frame of the outline cell for a given row. Full Topic

func (OutlineView) IndentationMarkerFollowsCell

func (o_ OutlineView) IndentationMarkerFollowsCell() bool

A Boolean value indicating whether the indentation marker symbol displayed in the outline column should be indented along with the cell contents. Full Topic

func (OutlineView) IndentationPerLevel

func (o_ OutlineView) IndentationPerLevel() float64

The per-level indentation, measured in points. Full Topic

func (OutlineView) Init

func (o_ OutlineView) Init() OutlineView

func (OutlineView) InitWithFrame

func (o_ OutlineView) InitWithFrame(frameRect foundation.Rect) OutlineView

func (OutlineView) InsertItemsAtIndexesInParentWithAnimation

func (o_ OutlineView) InsertItemsAtIndexesInParentWithAnimation(indexes foundation.IIndexSet, parent objc.IObject, animationOptions TableViewAnimationOptions)

Inserts new items at the given indexes in the given parent with the specified optional animations. Full Topic

func (OutlineView) IsExpandable

func (o_ OutlineView) IsExpandable(item objc.IObject) bool

Returns a Boolean value that indicates whether a given item is expandable. Full Topic

func (OutlineView) IsItemExpanded

func (o_ OutlineView) IsItemExpanded(item objc.IObject) bool

Returns a Boolean value that indicates whether a given item is expanded. Full Topic

func (OutlineView) ItemAtRow

func (o_ OutlineView) ItemAtRow(row int) objc.Object

Returns the item associated with a given row. Full Topic

func (OutlineView) LevelForItem

func (o_ OutlineView) LevelForItem(item objc.IObject) int

Returns the indentation level for a given item. Full Topic

func (OutlineView) LevelForRow

func (o_ OutlineView) LevelForRow(row int) int

Returns the indentation level for a given row. Full Topic

func (OutlineView) MoveItemAtIndexInParentToIndexInParent

func (o_ OutlineView) MoveItemAtIndexInParentToIndexInParent(fromIndex int, oldParent objc.IObject, toIndex int, newParent objc.IObject)

Moves an item at a given index in the given parent to a new index in a new parent. Full Topic

func (OutlineView) NumberOfChildrenOfItem

func (o_ OutlineView) NumberOfChildrenOfItem(item objc.IObject) int

Returns the number of children for the specified parent item. Full Topic

func (OutlineView) OutlineTableColumn

func (o_ OutlineView) OutlineTableColumn() TableColumn

The table column in which hierarchical data is displayed. Full Topic

func (OutlineView) ParentForItem

func (o_ OutlineView) ParentForItem(item objc.IObject) objc.Object

Returns the parent for a given item. Full Topic

func (OutlineView) ReloadItem

func (o_ OutlineView) ReloadItem(item objc.IObject)

Reloads and redisplays the data for the given item. Full Topic

func (OutlineView) RemoveItemsAtIndexesInParentWithAnimation

func (o_ OutlineView) RemoveItemsAtIndexesInParentWithAnimation(indexes foundation.IIndexSet, parent objc.IObject, animationOptions TableViewAnimationOptions)

Removes items at the given indexes in the given parent with the specified optional animations. Full Topic

func (OutlineView) RowForItem

func (o_ OutlineView) RowForItem(item objc.IObject) int

Returns the row associated with a given item. Full Topic

func (OutlineView) SetAutoresizesOutlineColumn

func (o_ OutlineView) SetAutoresizesOutlineColumn(value bool)

A Boolean value that indicates whether the outline view resizes its outline column when the user expands or collapses items. Full Topic

func (OutlineView) SetAutosaveExpandedItems

func (o_ OutlineView) SetAutosaveExpandedItems(value bool)

A Boolean value indicating whether the expanded items are automatically saved across launches of the app. Full Topic

func (OutlineView) SetDropItemDropChildIndex

func (o_ OutlineView) SetDropItemDropChildIndex(item objc.IObject, index int)

Used to “retarget” a proposed drop. Full Topic

func (OutlineView) SetIndentationMarkerFollowsCell

func (o_ OutlineView) SetIndentationMarkerFollowsCell(value bool)

A Boolean value indicating whether the indentation marker symbol displayed in the outline column should be indented along with the cell contents. Full Topic

func (OutlineView) SetIndentationPerLevel

func (o_ OutlineView) SetIndentationPerLevel(value float64)

The per-level indentation, measured in points. Full Topic

func (OutlineView) SetOutlineTableColumn

func (o_ OutlineView) SetOutlineTableColumn(value ITableColumn)

The table column in which hierarchical data is displayed. Full Topic

func (OutlineView) SetStronglyReferencesItems

func (o_ OutlineView) SetStronglyReferencesItems(value bool)

A Boolean value that indicates whether the outline view retains and releases the objects returned from its data source. Full Topic

func (OutlineView) ShouldCollapseAutoExpandedItemsForDeposited

func (o_ OutlineView) ShouldCollapseAutoExpandedItemsForDeposited(deposited bool) bool

Returns a Boolean value that indicates whether auto-expanded items should return to their original collapsed state. Full Topic

func (OutlineView) StronglyReferencesItems

func (o_ OutlineView) StronglyReferencesItems() bool

A Boolean value that indicates whether the outline view retains and releases the objects returned from its data source. Full Topic

type OutlineViewDataSourceWrapper

type OutlineViewDataSourceWrapper struct {
	objc.Object
}

A concrete type wrapper for the POutlineViewDataSource protocol.

func (OutlineViewDataSourceWrapper) HasOutlineViewSortDescriptorsDidChange

func (o_ OutlineViewDataSourceWrapper) HasOutlineViewSortDescriptorsDidChange() bool

func (OutlineViewDataSourceWrapper) OutlineViewSortDescriptorsDidChange

func (o_ OutlineViewDataSourceWrapper) OutlineViewSortDescriptorsDidChange(outlineView IOutlineView, oldDescriptors []foundation.ISortDescriptor)

Invoked by an outline view to notify the data source that the descriptors changed and the data may need to be resorted. Full Topic

type OutlineViewDelegate

type OutlineViewDelegate struct {
	ControlTextEditingDelegate
	// contains filtered or unexported fields
}

A delegate implementation builder for the POutlineViewDelegate protocol.

func (*OutlineViewDelegate) HasOutlineViewColumnDidMove

func (di *OutlineViewDelegate) HasOutlineViewColumnDidMove() bool

func (*OutlineViewDelegate) HasOutlineViewColumnDidResize

func (di *OutlineViewDelegate) HasOutlineViewColumnDidResize() bool

func (*OutlineViewDelegate) HasOutlineViewDidClickTableColumn

func (di *OutlineViewDelegate) HasOutlineViewDidClickTableColumn() bool

func (*OutlineViewDelegate) HasOutlineViewItemDidCollapse

func (di *OutlineViewDelegate) HasOutlineViewItemDidCollapse() bool

func (*OutlineViewDelegate) HasOutlineViewItemDidExpand

func (di *OutlineViewDelegate) HasOutlineViewItemDidExpand() bool

func (*OutlineViewDelegate) HasOutlineViewItemWillCollapse

func (di *OutlineViewDelegate) HasOutlineViewItemWillCollapse() bool

func (*OutlineViewDelegate) HasOutlineViewItemWillExpand

func (di *OutlineViewDelegate) HasOutlineViewItemWillExpand() bool

func (*OutlineViewDelegate) HasOutlineViewSelectionDidChange

func (di *OutlineViewDelegate) HasOutlineViewSelectionDidChange() bool

func (*OutlineViewDelegate) HasOutlineViewSelectionIsChanging

func (di *OutlineViewDelegate) HasOutlineViewSelectionIsChanging() bool

func (*OutlineViewDelegate) HasSelectionShouldChangeInOutlineView

func (di *OutlineViewDelegate) HasSelectionShouldChangeInOutlineView() bool

func (*OutlineViewDelegate) OutlineViewColumnDidMove

func (di *OutlineViewDelegate) OutlineViewColumnDidMove(notification foundation.Notification)

Invoked whenever the user moves a column in the outline view. Full Topic

func (*OutlineViewDelegate) OutlineViewColumnDidResize

func (di *OutlineViewDelegate) OutlineViewColumnDidResize(notification foundation.Notification)

Invoked whenever the user resizes a column in the outline view. Full Topic

func (*OutlineViewDelegate) OutlineViewDidClickTableColumn

func (di *OutlineViewDelegate) OutlineViewDidClickTableColumn(outlineView OutlineView, tableColumn TableColumn)

Sent at the time the mouse button subsequently goes up in outlineView and tableColumn has been “clicked” without having been dragged anywhere. Full Topic

func (*OutlineViewDelegate) OutlineViewItemDidCollapse

func (di *OutlineViewDelegate) OutlineViewItemDidCollapse(notification foundation.Notification)

Invoked when the did collapse notification is posted—that is, whenever the user collapses an item in the outline view. Full Topic

func (*OutlineViewDelegate) OutlineViewItemDidExpand

func (di *OutlineViewDelegate) OutlineViewItemDidExpand(notification foundation.Notification)

Invoked when notification is posted—that is, whenever the user expands an item in the outline view. Full Topic

func (*OutlineViewDelegate) OutlineViewItemWillCollapse

func (di *OutlineViewDelegate) OutlineViewItemWillCollapse(notification foundation.Notification)

Invoked when notification is posted—that is, whenever the user is about to collapse an item in the outline view. Full Topic

func (*OutlineViewDelegate) OutlineViewItemWillExpand

func (di *OutlineViewDelegate) OutlineViewItemWillExpand(notification foundation.Notification)

Invoked when notification is posted—that is, whenever the user is about to expand an item in the outline view. Full Topic

func (*OutlineViewDelegate) OutlineViewSelectionDidChange

func (di *OutlineViewDelegate) OutlineViewSelectionDidChange(notification foundation.Notification)

Invoked when the selection did change notification is posted—that is, immediately after the outline view’s selection has changed. Full Topic

func (*OutlineViewDelegate) OutlineViewSelectionIsChanging

func (di *OutlineViewDelegate) OutlineViewSelectionIsChanging(notification foundation.Notification)

Invoked when notification is posted—that is, whenever the outline view’s selection changes. Full Topic

func (*OutlineViewDelegate) SelectionShouldChangeInOutlineView

func (di *OutlineViewDelegate) SelectionShouldChangeInOutlineView(outlineView OutlineView) bool

Returns a Boolean value that indicates whether the outline view should change its selection. Full Topic

func (*OutlineViewDelegate) SetOutlineViewColumnDidMove

func (di *OutlineViewDelegate) SetOutlineViewColumnDidMove(f func(notification foundation.Notification))

Invoked whenever the user moves a column in the outline view. Full Topic

func (*OutlineViewDelegate) SetOutlineViewColumnDidResize

func (di *OutlineViewDelegate) SetOutlineViewColumnDidResize(f func(notification foundation.Notification))

Invoked whenever the user resizes a column in the outline view. Full Topic

func (*OutlineViewDelegate) SetOutlineViewDidClickTableColumn

func (di *OutlineViewDelegate) SetOutlineViewDidClickTableColumn(f func(outlineView OutlineView, tableColumn TableColumn))

Sent at the time the mouse button subsequently goes up in outlineView and tableColumn has been “clicked” without having been dragged anywhere. Full Topic

func (*OutlineViewDelegate) SetOutlineViewItemDidCollapse

func (di *OutlineViewDelegate) SetOutlineViewItemDidCollapse(f func(notification foundation.Notification))

Invoked when the did collapse notification is posted—that is, whenever the user collapses an item in the outline view. Full Topic

func (*OutlineViewDelegate) SetOutlineViewItemDidExpand

func (di *OutlineViewDelegate) SetOutlineViewItemDidExpand(f func(notification foundation.Notification))

Invoked when notification is posted—that is, whenever the user expands an item in the outline view. Full Topic

func (*OutlineViewDelegate) SetOutlineViewItemWillCollapse

func (di *OutlineViewDelegate) SetOutlineViewItemWillCollapse(f func(notification foundation.Notification))

Invoked when notification is posted—that is, whenever the user is about to collapse an item in the outline view. Full Topic

func (*OutlineViewDelegate) SetOutlineViewItemWillExpand

func (di *OutlineViewDelegate) SetOutlineViewItemWillExpand(f func(notification foundation.Notification))

Invoked when notification is posted—that is, whenever the user is about to expand an item in the outline view. Full Topic

func (*OutlineViewDelegate) SetOutlineViewSelectionDidChange

func (di *OutlineViewDelegate) SetOutlineViewSelectionDidChange(f func(notification foundation.Notification))

Invoked when the selection did change notification is posted—that is, immediately after the outline view’s selection has changed. Full Topic

func (*OutlineViewDelegate) SetOutlineViewSelectionIsChanging

func (di *OutlineViewDelegate) SetOutlineViewSelectionIsChanging(f func(notification foundation.Notification))

Invoked when notification is posted—that is, whenever the outline view’s selection changes. Full Topic

func (*OutlineViewDelegate) SetSelectionShouldChangeInOutlineView

func (di *OutlineViewDelegate) SetSelectionShouldChangeInOutlineView(f func(outlineView OutlineView) bool)

Returns a Boolean value that indicates whether the outline view should change its selection. Full Topic

type OutlineViewDelegateWrapper

type OutlineViewDelegateWrapper struct {
	ControlTextEditingDelegateWrapper
}

A concrete type wrapper for the POutlineViewDelegate protocol.

func (OutlineViewDelegateWrapper) HasOutlineViewColumnDidMove

func (o_ OutlineViewDelegateWrapper) HasOutlineViewColumnDidMove() bool

func (OutlineViewDelegateWrapper) HasOutlineViewColumnDidResize

func (o_ OutlineViewDelegateWrapper) HasOutlineViewColumnDidResize() bool

func (OutlineViewDelegateWrapper) HasOutlineViewDidClickTableColumn

func (o_ OutlineViewDelegateWrapper) HasOutlineViewDidClickTableColumn() bool

func (OutlineViewDelegateWrapper) HasOutlineViewItemDidCollapse

func (o_ OutlineViewDelegateWrapper) HasOutlineViewItemDidCollapse() bool

func (OutlineViewDelegateWrapper) HasOutlineViewItemDidExpand

func (o_ OutlineViewDelegateWrapper) HasOutlineViewItemDidExpand() bool

func (OutlineViewDelegateWrapper) HasOutlineViewItemWillCollapse

func (o_ OutlineViewDelegateWrapper) HasOutlineViewItemWillCollapse() bool

func (OutlineViewDelegateWrapper) HasOutlineViewItemWillExpand

func (o_ OutlineViewDelegateWrapper) HasOutlineViewItemWillExpand() bool

func (OutlineViewDelegateWrapper) HasOutlineViewSelectionDidChange

func (o_ OutlineViewDelegateWrapper) HasOutlineViewSelectionDidChange() bool

func (OutlineViewDelegateWrapper) HasOutlineViewSelectionIsChanging

func (o_ OutlineViewDelegateWrapper) HasOutlineViewSelectionIsChanging() bool

func (OutlineViewDelegateWrapper) HasSelectionShouldChangeInOutlineView

func (o_ OutlineViewDelegateWrapper) HasSelectionShouldChangeInOutlineView() bool

func (OutlineViewDelegateWrapper) OutlineViewColumnDidMove

func (o_ OutlineViewDelegateWrapper) OutlineViewColumnDidMove(notification foundation.INotification)

Invoked whenever the user moves a column in the outline view. Full Topic

func (OutlineViewDelegateWrapper) OutlineViewColumnDidResize

func (o_ OutlineViewDelegateWrapper) OutlineViewColumnDidResize(notification foundation.INotification)

Invoked whenever the user resizes a column in the outline view. Full Topic

func (OutlineViewDelegateWrapper) OutlineViewDidClickTableColumn

func (o_ OutlineViewDelegateWrapper) OutlineViewDidClickTableColumn(outlineView IOutlineView, tableColumn ITableColumn)

Sent at the time the mouse button subsequently goes up in outlineView and tableColumn has been “clicked” without having been dragged anywhere. Full Topic

func (OutlineViewDelegateWrapper) OutlineViewItemDidCollapse

func (o_ OutlineViewDelegateWrapper) OutlineViewItemDidCollapse(notification foundation.INotification)

Invoked when the did collapse notification is posted—that is, whenever the user collapses an item in the outline view. Full Topic

func (OutlineViewDelegateWrapper) OutlineViewItemDidExpand

func (o_ OutlineViewDelegateWrapper) OutlineViewItemDidExpand(notification foundation.INotification)

Invoked when notification is posted—that is, whenever the user expands an item in the outline view. Full Topic

func (OutlineViewDelegateWrapper) OutlineViewItemWillCollapse

func (o_ OutlineViewDelegateWrapper) OutlineViewItemWillCollapse(notification foundation.INotification)

Invoked when notification is posted—that is, whenever the user is about to collapse an item in the outline view. Full Topic

func (OutlineViewDelegateWrapper) OutlineViewItemWillExpand

func (o_ OutlineViewDelegateWrapper) OutlineViewItemWillExpand(notification foundation.INotification)

Invoked when notification is posted—that is, whenever the user is about to expand an item in the outline view. Full Topic

func (OutlineViewDelegateWrapper) OutlineViewSelectionDidChange

func (o_ OutlineViewDelegateWrapper) OutlineViewSelectionDidChange(notification foundation.INotification)

Invoked when the selection did change notification is posted—that is, immediately after the outline view’s selection has changed. Full Topic

func (OutlineViewDelegateWrapper) OutlineViewSelectionIsChanging

func (o_ OutlineViewDelegateWrapper) OutlineViewSelectionIsChanging(notification foundation.INotification)

Invoked when notification is posted—that is, whenever the outline view’s selection changes. Full Topic

func (OutlineViewDelegateWrapper) SelectionShouldChangeInOutlineView

func (o_ OutlineViewDelegateWrapper) SelectionShouldChangeInOutlineView(outlineView IOutlineView) bool

Returns a Boolean value that indicates whether the outline view should change its selection. Full Topic

type PAccessibility

type PAccessibility interface {
	// optional
	AccessibilityAttributedStringForRange(range_ foundation.Range) foundation.IAttributedString
	HasAccessibilityAttributedStringForRange() bool

	// optional
	AccessibilityFrameForRange(range_ foundation.Range) foundation.Rect
	HasAccessibilityFrameForRange() bool

	// optional
	AccessibilityRTFForRange(range_ foundation.Range) []byte
	HasAccessibilityRTFForRange() bool

	// optional
	AccessibilityRangeForLine(line int) foundation.Range
	HasAccessibilityRangeForLine() bool

	// optional
	AccessibilityLayoutSizeForScreenSize(size foundation.Size) foundation.Size
	HasAccessibilityLayoutSizeForScreenSize() bool

	// optional
	AccessibilityPerformShowDefaultUI() bool
	HasAccessibilityPerformShowDefaultUI() bool

	// optional
	AccessibilityPerformDecrement() bool
	HasAccessibilityPerformDecrement() bool

	// optional
	AccessibilityPerformShowAlternateUI() bool
	HasAccessibilityPerformShowAlternateUI() bool

	// optional
	AccessibilityLineForIndex(index int) int
	HasAccessibilityLineForIndex() bool

	// optional
	AccessibilityPerformPress() bool
	HasAccessibilityPerformPress() bool

	// optional
	AccessibilityScreenPointForLayoutPoint(point foundation.Point) foundation.Point
	HasAccessibilityScreenPointForLayoutPoint() bool

	// optional
	AccessibilityPerformDelete() bool
	HasAccessibilityPerformDelete() bool

	// optional
	AccessibilityRangeForPosition(point foundation.Point) foundation.Range
	HasAccessibilityRangeForPosition() bool

	// optional
	AccessibilityPerformShowMenu() bool
	HasAccessibilityPerformShowMenu() bool

	// optional
	AccessibilityPerformConfirm() bool
	HasAccessibilityPerformConfirm() bool

	// optional
	AccessibilityPerformIncrement() bool
	HasAccessibilityPerformIncrement() bool

	// optional
	AccessibilityStyleRangeForIndex(index int) foundation.Range
	HasAccessibilityStyleRangeForIndex() bool

	// optional
	AccessibilityRangeForIndex(index int) foundation.Range
	HasAccessibilityRangeForIndex() bool

	// optional
	AccessibilityPerformRaise() bool
	HasAccessibilityPerformRaise() bool

	// optional
	AccessibilityPerformCancel() bool
	HasAccessibilityPerformCancel() bool

	// optional
	AccessibilityStringForRange(range_ foundation.Range) string
	HasAccessibilityStringForRange() bool

	// optional
	IsAccessibilitySelectorAllowed(selector objc.Selector) bool
	HasIsAccessibilitySelectorAllowed() bool

	// optional
	AccessibilityCellForColumnRow(column int, row int) objc.IObject
	HasAccessibilityCellForColumnRow() bool

	// optional
	AccessibilityPerformPick() bool
	HasAccessibilityPerformPick() bool

	// optional
	AccessibilityScreenSizeForLayoutSize(size foundation.Size) foundation.Size
	HasAccessibilityScreenSizeForLayoutSize() bool

	// optional
	AccessibilityLayoutPointForScreenPoint(point foundation.Point) foundation.Point
	HasAccessibilityLayoutPointForScreenPoint() bool

	// optional
	SetAccessibilityClearButton(value objc.Object)
	HasSetAccessibilityClearButton() bool

	// optional
	AccessibilityClearButton() objc.IObject
	HasAccessibilityClearButton() bool

	// optional
	SetAccessibilityOverflowButton(value objc.Object)
	HasSetAccessibilityOverflowButton() bool

	// optional
	AccessibilityOverflowButton() objc.IObject
	HasAccessibilityOverflowButton() bool

	// optional
	SetAccessibilityChildren(value []objc.Object)
	HasSetAccessibilityChildren() bool

	// optional
	AccessibilityChildren() []objc.IObject
	HasAccessibilityChildren() bool

	// optional
	SetAccessibilityColumnHeaderUIElements(value []objc.Object)
	HasSetAccessibilityColumnHeaderUIElements() bool

	// optional
	AccessibilityColumnHeaderUIElements() []objc.IObject
	HasAccessibilityColumnHeaderUIElements() bool

	// optional
	SetAccessibilitySelectedTextRanges(value []foundation.Value)
	HasSetAccessibilitySelectedTextRanges() bool

	// optional
	AccessibilitySelectedTextRanges() []foundation.IValue
	HasAccessibilitySelectedTextRanges() bool

	// optional
	SetAccessibilityCriticalValue(value objc.Object)
	HasSetAccessibilityCriticalValue() bool

	// optional
	AccessibilityCriticalValue() objc.IObject
	HasAccessibilityCriticalValue() bool

	// optional
	SetAccessibilityHeader(value objc.Object)
	HasSetAccessibilityHeader() bool

	// optional
	AccessibilityHeader() objc.IObject
	HasAccessibilityHeader() bool

	// optional
	SetAccessibilitySharedCharacterRange(value foundation.Range)
	HasSetAccessibilitySharedCharacterRange() bool

	// optional
	AccessibilitySharedCharacterRange() foundation.Range
	HasAccessibilitySharedCharacterRange() bool

	// optional
	SetAccessibilityMarkerGroupUIElement(value objc.Object)
	HasSetAccessibilityMarkerGroupUIElement() bool

	// optional
	AccessibilityMarkerGroupUIElement() objc.IObject
	HasAccessibilityMarkerGroupUIElement() bool

	// optional
	SetAccessibilityRequired(value bool)
	HasSetAccessibilityRequired() bool

	// optional
	IsAccessibilityRequired() bool
	HasIsAccessibilityRequired() bool

	// optional
	SetAccessibilitySearchButton(value objc.Object)
	HasSetAccessibilitySearchButton() bool

	// optional
	AccessibilitySearchButton() objc.IObject
	HasAccessibilitySearchButton() bool

	// optional
	SetAccessibilityParent(value objc.Object)
	HasSetAccessibilityParent() bool

	// optional
	AccessibilityParent() objc.IObject
	HasAccessibilityParent() bool

	// optional
	SetAccessibilityNumberOfCharacters(value int)
	HasSetAccessibilityNumberOfCharacters() bool

	// optional
	AccessibilityNumberOfCharacters() int
	HasAccessibilityNumberOfCharacters() bool

	// optional
	SetAccessibilityDefaultButton(value objc.Object)
	HasSetAccessibilityDefaultButton() bool

	// optional
	AccessibilityDefaultButton() objc.IObject
	HasAccessibilityDefaultButton() bool

	// optional
	SetAccessibilityTitle(value string)
	HasSetAccessibilityTitle() bool

	// optional
	AccessibilityTitle() string
	HasAccessibilityTitle() bool

	// optional
	SetAccessibilityRowHeaderUIElements(value []objc.Object)
	HasSetAccessibilityRowHeaderUIElements() bool

	// optional
	AccessibilityRowHeaderUIElements() []objc.IObject
	HasAccessibilityRowHeaderUIElements() bool

	// optional
	SetAccessibilityVisibleCharacterRange(value foundation.Range)
	HasSetAccessibilityVisibleCharacterRange() bool

	// optional
	AccessibilityVisibleCharacterRange() foundation.Range
	HasAccessibilityVisibleCharacterRange() bool

	// optional
	SetAccessibilityFrame(value foundation.Rect)
	HasSetAccessibilityFrame() bool

	// optional
	AccessibilityFrame() foundation.Rect
	HasAccessibilityFrame() bool

	// optional
	SetAccessibilityHidden(value bool)
	HasSetAccessibilityHidden() bool

	// optional
	IsAccessibilityHidden() bool
	HasIsAccessibilityHidden() bool

	// optional
	SetAccessibilityMarkerTypeDescription(value string)
	HasSetAccessibilityMarkerTypeDescription() bool

	// optional
	AccessibilityMarkerTypeDescription() string
	HasAccessibilityMarkerTypeDescription() bool

	// optional
	SetAccessibilityRowIndexRange(value foundation.Range)
	HasSetAccessibilityRowIndexRange() bool

	// optional
	AccessibilityRowIndexRange() foundation.Range
	HasAccessibilityRowIndexRange() bool

	// optional
	SetAccessibilityVerticalUnits(value AccessibilityUnits)
	HasSetAccessibilityVerticalUnits() bool

	// optional
	AccessibilityVerticalUnits() AccessibilityUnits
	HasAccessibilityVerticalUnits() bool

	// optional
	SetAccessibilityVisibleRows(value []objc.Object)
	HasSetAccessibilityVisibleRows() bool

	// optional
	AccessibilityVisibleRows() []objc.IObject
	HasAccessibilityVisibleRows() bool

	// optional
	SetAccessibilitySelectedCells(value []objc.Object)
	HasSetAccessibilitySelectedCells() bool

	// optional
	AccessibilitySelectedCells() []objc.IObject
	HasAccessibilitySelectedCells() bool

	// optional
	SetAccessibilityVisibleColumns(value []objc.Object)
	HasSetAccessibilityVisibleColumns() bool

	// optional
	AccessibilityVisibleColumns() []objc.IObject
	HasAccessibilityVisibleColumns() bool

	// optional
	SetAccessibilityMain(value bool)
	HasSetAccessibilityMain() bool

	// optional
	IsAccessibilityMain() bool
	HasIsAccessibilityMain() bool

	// optional
	SetAccessibilityMarkerUIElements(value []objc.Object)
	HasSetAccessibilityMarkerUIElements() bool

	// optional
	AccessibilityMarkerUIElements() []objc.IObject
	HasAccessibilityMarkerUIElements() bool

	// optional
	SetAccessibilityWarningValue(value objc.Object)
	HasSetAccessibilityWarningValue() bool

	// optional
	AccessibilityWarningValue() objc.IObject
	HasAccessibilityWarningValue() bool

	// optional
	SetAccessibilityContents(value []objc.Object)
	HasSetAccessibilityContents() bool

	// optional
	AccessibilityContents() []objc.IObject
	HasAccessibilityContents() bool

	// optional
	SetAccessibilityServesAsTitleForUIElements(value []objc.Object)
	HasSetAccessibilityServesAsTitleForUIElements() bool

	// optional
	AccessibilityServesAsTitleForUIElements() []objc.IObject
	HasAccessibilityServesAsTitleForUIElements() bool

	// optional
	SetAccessibilityVerticalUnitDescription(value string)
	HasSetAccessibilityVerticalUnitDescription() bool

	// optional
	AccessibilityVerticalUnitDescription() string
	HasAccessibilityVerticalUnitDescription() bool

	// optional
	SetAccessibilityIndex(value int)
	HasSetAccessibilityIndex() bool

	// optional
	AccessibilityIndex() int
	HasAccessibilityIndex() bool

	// optional
	SetAccessibilityLabel(value string)
	HasSetAccessibilityLabel() bool

	// optional
	AccessibilityLabel() string
	HasAccessibilityLabel() bool

	// optional
	SetAccessibilityFocusedWindow(value objc.Object)
	HasSetAccessibilityFocusedWindow() bool

	// optional
	AccessibilityFocusedWindow() objc.IObject
	HasAccessibilityFocusedWindow() bool

	// optional
	SetAccessibilityToolbarButton(value objc.Object)
	HasSetAccessibilityToolbarButton() bool

	// optional
	AccessibilityToolbarButton() objc.IObject
	HasAccessibilityToolbarButton() bool

	// optional
	SetAccessibilityShownMenu(value objc.Object)
	HasSetAccessibilityShownMenu() bool

	// optional
	AccessibilityShownMenu() objc.IObject
	HasAccessibilityShownMenu() bool

	// optional
	SetAccessibilitySplitters(value []objc.Object)
	HasSetAccessibilitySplitters() bool

	// optional
	AccessibilitySplitters() []objc.IObject
	HasAccessibilitySplitters() bool

	// optional
	SetAccessibilityMainWindow(value objc.Object)
	HasSetAccessibilityMainWindow() bool

	// optional
	AccessibilityMainWindow() objc.IObject
	HasAccessibilityMainWindow() bool

	// optional
	SetAccessibilityOrientation(value AccessibilityOrientation)
	HasSetAccessibilityOrientation() bool

	// optional
	AccessibilityOrientation() AccessibilityOrientation
	HasAccessibilityOrientation() bool

	// optional
	SetAccessibilityRole(value AccessibilityRole)
	HasSetAccessibilityRole() bool

	// optional
	AccessibilityRole() AccessibilityRole
	HasAccessibilityRole() bool

	// optional
	SetAccessibilityAllowedValues(value []foundation.Number)
	HasSetAccessibilityAllowedValues() bool

	// optional
	AccessibilityAllowedValues() []foundation.INumber
	HasAccessibilityAllowedValues() bool

	// optional
	SetAccessibilityCloseButton(value objc.Object)
	HasSetAccessibilityCloseButton() bool

	// optional
	AccessibilityCloseButton() objc.IObject
	HasAccessibilityCloseButton() bool

	// optional
	SetAccessibilityCancelButton(value objc.Object)
	HasSetAccessibilityCancelButton() bool

	// optional
	AccessibilityCancelButton() objc.IObject
	HasAccessibilityCancelButton() bool

	// optional
	SetAccessibilityFocused(value bool)
	HasSetAccessibilityFocused() bool

	// optional
	IsAccessibilityFocused() bool
	HasIsAccessibilityFocused() bool

	// optional
	SetAccessibilityCustomRotors(value []AccessibilityCustomRotor)
	HasSetAccessibilityCustomRotors() bool

	// optional
	AccessibilityCustomRotors() []IAccessibilityCustomRotor
	HasAccessibilityCustomRotors() bool

	// optional
	SetAccessibilityOrderedByRow(value bool)
	HasSetAccessibilityOrderedByRow() bool

	// optional
	IsAccessibilityOrderedByRow() bool
	HasIsAccessibilityOrderedByRow() bool

	// optional
	SetAccessibilitySubrole(value AccessibilitySubrole)
	HasSetAccessibilitySubrole() bool

	// optional
	AccessibilitySubrole() AccessibilitySubrole
	HasAccessibilitySubrole() bool

	// optional
	SetAccessibilityTitleUIElement(value objc.Object)
	HasSetAccessibilityTitleUIElement() bool

	// optional
	AccessibilityTitleUIElement() objc.IObject
	HasAccessibilityTitleUIElement() bool

	// optional
	SetAccessibilityChildrenInNavigationOrder(value []objc.Object)
	HasSetAccessibilityChildrenInNavigationOrder() bool

	// optional
	AccessibilityChildrenInNavigationOrder() []objc.IObject
	HasAccessibilityChildrenInNavigationOrder() bool

	// optional
	SetAccessibilityAlternateUIVisible(value bool)
	HasSetAccessibilityAlternateUIVisible() bool

	// optional
	IsAccessibilityAlternateUIVisible() bool
	HasIsAccessibilityAlternateUIVisible() bool

	// optional
	SetAccessibilitySelectedTextRange(value foundation.Range)
	HasSetAccessibilitySelectedTextRange() bool

	// optional
	AccessibilitySelectedTextRange() foundation.Range
	HasAccessibilitySelectedTextRange() bool

	// optional
	SetAccessibilitySharedFocusElements(value []objc.Object)
	HasSetAccessibilitySharedFocusElements() bool

	// optional
	AccessibilitySharedFocusElements() []objc.IObject
	HasAccessibilitySharedFocusElements() bool

	// optional
	SetAccessibilityMaxValue(value objc.Object)
	HasSetAccessibilityMaxValue() bool

	// optional
	AccessibilityMaxValue() objc.IObject
	HasAccessibilityMaxValue() bool

	// optional
	SetAccessibilityDocument(value string)
	HasSetAccessibilityDocument() bool

	// optional
	AccessibilityDocument() string
	HasAccessibilityDocument() bool

	// optional
	SetAccessibilityCustomActions(value []AccessibilityCustomAction)
	HasSetAccessibilityCustomActions() bool

	// optional
	AccessibilityCustomActions() []IAccessibilityCustomAction
	HasAccessibilityCustomActions() bool

	// optional
	SetAccessibilityDecrementButton(value objc.Object)
	HasSetAccessibilityDecrementButton() bool

	// optional
	AccessibilityDecrementButton() objc.IObject
	HasAccessibilityDecrementButton() bool

	// optional
	SetAccessibilitySharedTextUIElements(value []objc.Object)
	HasSetAccessibilitySharedTextUIElements() bool

	// optional
	AccessibilitySharedTextUIElements() []objc.IObject
	HasAccessibilitySharedTextUIElements() bool

	// optional
	SetAccessibilitySelected(value bool)
	HasSetAccessibilitySelected() bool

	// optional
	IsAccessibilitySelected() bool
	HasIsAccessibilitySelected() bool

	// optional
	SetAccessibilityColumns(value []objc.Object)
	HasSetAccessibilityColumns() bool

	// optional
	AccessibilityColumns() []objc.IObject
	HasAccessibilityColumns() bool

	// optional
	SetAccessibilityRoleDescription(value string)
	HasSetAccessibilityRoleDescription() bool

	// optional
	AccessibilityRoleDescription() string
	HasAccessibilityRoleDescription() bool

	// optional
	SetAccessibilityActivationPoint(value foundation.Point)
	HasSetAccessibilityActivationPoint() bool

	// optional
	AccessibilityActivationPoint() foundation.Point
	HasAccessibilityActivationPoint() bool

	// optional
	SetAccessibilityIdentifier(value string)
	HasSetAccessibilityIdentifier() bool

	// optional
	AccessibilityIdentifier() string
	HasAccessibilityIdentifier() bool

	// optional
	SetAccessibilityTopLevelUIElement(value objc.Object)
	HasSetAccessibilityTopLevelUIElement() bool

	// optional
	AccessibilityTopLevelUIElement() objc.IObject
	HasAccessibilityTopLevelUIElement() bool

	// optional
	SetAccessibilityMenuBar(value objc.Object)
	HasSetAccessibilityMenuBar() bool

	// optional
	AccessibilityMenuBar() objc.IObject
	HasAccessibilityMenuBar() bool

	// optional
	SetAccessibilityColumnCount(value int)
	HasSetAccessibilityColumnCount() bool

	// optional
	AccessibilityColumnCount() int
	HasAccessibilityColumnCount() bool

	// optional
	SetAccessibilityWindows(value []objc.Object)
	HasSetAccessibilityWindows() bool

	// optional
	AccessibilityWindows() []objc.IObject
	HasAccessibilityWindows() bool

	// optional
	SetAccessibilityURL(value foundation.URL)
	HasSetAccessibilityURL() bool

	// optional
	AccessibilityURL() foundation.IURL
	HasAccessibilityURL() bool

	// optional
	SetAccessibilityMinimizeButton(value objc.Object)
	HasSetAccessibilityMinimizeButton() bool

	// optional
	AccessibilityMinimizeButton() objc.IObject
	HasAccessibilityMinimizeButton() bool

	// optional
	SetAccessibilityDisclosed(value bool)
	HasSetAccessibilityDisclosed() bool

	// optional
	IsAccessibilityDisclosed() bool
	HasIsAccessibilityDisclosed() bool

	// optional
	SetAccessibilityMinValue(value objc.Object)
	HasSetAccessibilityMinValue() bool

	// optional
	AccessibilityMinValue() objc.IObject
	HasAccessibilityMinValue() bool

	// optional
	SetAccessibilityRows(value []objc.Object)
	HasSetAccessibilityRows() bool

	// optional
	AccessibilityRows() []objc.IObject
	HasAccessibilityRows() bool

	// optional
	SetAccessibilityMarkerValues(value objc.Object)
	HasSetAccessibilityMarkerValues() bool

	// optional
	AccessibilityMarkerValues() objc.IObject
	HasAccessibilityMarkerValues() bool

	// optional
	SetAccessibilityModal(value bool)
	HasSetAccessibilityModal() bool

	// optional
	IsAccessibilityModal() bool
	HasIsAccessibilityModal() bool

	// optional
	SetAccessibilityVisibleChildren(value []objc.Object)
	HasSetAccessibilityVisibleChildren() bool

	// optional
	AccessibilityVisibleChildren() []objc.IObject
	HasAccessibilityVisibleChildren() bool

	// optional
	SetAccessibilityVisibleCells(value []objc.Object)
	HasSetAccessibilityVisibleCells() bool

	// optional
	AccessibilityVisibleCells() []objc.IObject
	HasAccessibilityVisibleCells() bool

	// optional
	SetAccessibilityLabelValue(value float64)
	HasSetAccessibilityLabelValue() bool

	// optional
	AccessibilityLabelValue() float64
	HasAccessibilityLabelValue() bool

	// optional
	SetAccessibilityExpanded(value bool)
	HasSetAccessibilityExpanded() bool

	// optional
	IsAccessibilityExpanded() bool
	HasIsAccessibilityExpanded() bool

	// optional
	SetAccessibilityRulerMarkerType(value AccessibilityRulerMarkerType)
	HasSetAccessibilityRulerMarkerType() bool

	// optional
	AccessibilityRulerMarkerType() AccessibilityRulerMarkerType
	HasAccessibilityRulerMarkerType() bool

	// optional
	SetAccessibilityProtectedContent(value bool)
	HasSetAccessibilityProtectedContent() bool

	// optional
	IsAccessibilityProtectedContent() bool
	HasIsAccessibilityProtectedContent() bool

	// optional
	SetAccessibilityValue(value objc.Object)
	HasSetAccessibilityValue() bool

	// optional
	AccessibilityValue() objc.IObject
	HasAccessibilityValue() bool

	// optional
	SetAccessibilityEdited(value bool)
	HasSetAccessibilityEdited() bool

	// optional
	IsAccessibilityEdited() bool
	HasIsAccessibilityEdited() bool

	// optional
	SetAccessibilityHelp(value string)
	HasSetAccessibilityHelp() bool

	// optional
	AccessibilityHelp() string
	HasAccessibilityHelp() bool

	// optional
	SetAccessibilityRowCount(value int)
	HasSetAccessibilityRowCount() bool

	// optional
	AccessibilityRowCount() int
	HasAccessibilityRowCount() bool

	// optional
	SetAccessibilityColumnIndexRange(value foundation.Range)
	HasSetAccessibilityColumnIndexRange() bool

	// optional
	AccessibilityColumnIndexRange() foundation.Range
	HasAccessibilityColumnIndexRange() bool

	// optional
	SetAccessibilitySortDirection(value AccessibilitySortDirection)
	HasSetAccessibilitySortDirection() bool

	// optional
	AccessibilitySortDirection() AccessibilitySortDirection
	HasAccessibilitySortDirection() bool

	// optional
	SetAccessibilityValueDescription(value string)
	HasSetAccessibilityValueDescription() bool

	// optional
	AccessibilityValueDescription() string
	HasAccessibilityValueDescription() bool

	// optional
	SetAccessibilityLinkedUIElements(value []objc.Object)
	HasSetAccessibilityLinkedUIElements() bool

	// optional
	AccessibilityLinkedUIElements() []objc.IObject
	HasAccessibilityLinkedUIElements() bool

	// optional
	SetAccessibilityExtrasMenuBar(value objc.Object)
	HasSetAccessibilityExtrasMenuBar() bool

	// optional
	AccessibilityExtrasMenuBar() objc.IObject
	HasAccessibilityExtrasMenuBar() bool

	// optional
	SetAccessibilityWindow(value objc.Object)
	HasSetAccessibilityWindow() bool

	// optional
	AccessibilityWindow() objc.IObject
	HasAccessibilityWindow() bool

	// optional
	SetAccessibilityDisclosedByRow(value objc.Object)
	HasSetAccessibilityDisclosedByRow() bool

	// optional
	AccessibilityDisclosedByRow() objc.IObject
	HasAccessibilityDisclosedByRow() bool

	// optional
	SetAccessibilityHorizontalUnitDescription(value string)
	HasSetAccessibilityHorizontalUnitDescription() bool

	// optional
	AccessibilityHorizontalUnitDescription() string
	HasAccessibilityHorizontalUnitDescription() bool

	// optional
	SetAccessibilityZoomButton(value objc.Object)
	HasSetAccessibilityZoomButton() bool

	// optional
	AccessibilityZoomButton() objc.IObject
	HasAccessibilityZoomButton() bool

	// optional
	SetAccessibilityColumnTitles(value []objc.Object)
	HasSetAccessibilityColumnTitles() bool

	// optional
	AccessibilityColumnTitles() []objc.IObject
	HasAccessibilityColumnTitles() bool

	// optional
	SetAccessibilityVerticalScrollBar(value objc.Object)
	HasSetAccessibilityVerticalScrollBar() bool

	// optional
	AccessibilityVerticalScrollBar() objc.IObject
	HasAccessibilityVerticalScrollBar() bool

	// optional
	SetAccessibilityIncrementButton(value objc.Object)
	HasSetAccessibilityIncrementButton() bool

	// optional
	AccessibilityIncrementButton() objc.IObject
	HasAccessibilityIncrementButton() bool

	// optional
	SetAccessibilityGrowArea(value objc.Object)
	HasSetAccessibilityGrowArea() bool

	// optional
	AccessibilityGrowArea() objc.IObject
	HasAccessibilityGrowArea() bool

	// optional
	SetAccessibilityNextContents(value []objc.Object)
	HasSetAccessibilityNextContents() bool

	// optional
	AccessibilityNextContents() []objc.IObject
	HasAccessibilityNextContents() bool

	// optional
	SetAccessibilityHorizontalScrollBar(value objc.Object)
	HasSetAccessibilityHorizontalScrollBar() bool

	// optional
	AccessibilityHorizontalScrollBar() objc.IObject
	HasAccessibilityHorizontalScrollBar() bool

	// optional
	SetAccessibilityUnitDescription(value string)
	HasSetAccessibilityUnitDescription() bool

	// optional
	AccessibilityUnitDescription() string
	HasAccessibilityUnitDescription() bool

	// optional
	SetAccessibilitySelectedColumns(value []objc.Object)
	HasSetAccessibilitySelectedColumns() bool

	// optional
	AccessibilitySelectedColumns() []objc.IObject
	HasAccessibilitySelectedColumns() bool

	// optional
	SetAccessibilityPreviousContents(value []objc.Object)
	HasSetAccessibilityPreviousContents() bool

	// optional
	AccessibilityPreviousContents() []objc.IObject
	HasAccessibilityPreviousContents() bool

	// optional
	SetAccessibilitySelectedText(value string)
	HasSetAccessibilitySelectedText() bool

	// optional
	AccessibilitySelectedText() string
	HasAccessibilitySelectedText() bool

	// optional
	SetAccessibilityHorizontalUnits(value AccessibilityUnits)
	HasSetAccessibilityHorizontalUnits() bool

	// optional
	AccessibilityHorizontalUnits() AccessibilityUnits
	HasAccessibilityHorizontalUnits() bool

	// optional
	SetAccessibilityEnabled(value bool)
	HasSetAccessibilityEnabled() bool

	// optional
	IsAccessibilityEnabled() bool
	HasIsAccessibilityEnabled() bool

	// optional
	SetAccessibilityTabs(value []objc.Object)
	HasSetAccessibilityTabs() bool

	// optional
	AccessibilityTabs() []objc.IObject
	HasAccessibilityTabs() bool

	// optional
	SetAccessibilityInsertionPointLineNumber(value int)
	HasSetAccessibilityInsertionPointLineNumber() bool

	// optional
	AccessibilityInsertionPointLineNumber() int
	HasAccessibilityInsertionPointLineNumber() bool

	// optional
	SetAccessibilityProxy(value objc.Object)
	HasSetAccessibilityProxy() bool

	// optional
	AccessibilityProxy() objc.IObject
	HasAccessibilityProxy() bool

	// optional
	SetAccessibilitySearchMenu(value objc.Object)
	HasSetAccessibilitySearchMenu() bool

	// optional
	AccessibilitySearchMenu() objc.IObject
	HasAccessibilitySearchMenu() bool

	// optional
	SetAccessibilityFilename(value string)
	HasSetAccessibilityFilename() bool

	// optional
	AccessibilityFilename() string
	HasAccessibilityFilename() bool

	// optional
	SetAccessibilitySelectedChildren(value []objc.Object)
	HasSetAccessibilitySelectedChildren() bool

	// optional
	AccessibilitySelectedChildren() []objc.IObject
	HasAccessibilitySelectedChildren() bool

	// optional
	SetAccessibilityApplicationFocusedUIElement(value objc.Object)
	HasSetAccessibilityApplicationFocusedUIElement() bool

	// optional
	AccessibilityApplicationFocusedUIElement() objc.IObject
	HasAccessibilityApplicationFocusedUIElement() bool

	// optional
	SetAccessibilityMinimized(value bool)
	HasSetAccessibilityMinimized() bool

	// optional
	IsAccessibilityMinimized() bool
	HasIsAccessibilityMinimized() bool

	// optional
	SetAccessibilityElement(value bool)
	HasSetAccessibilityElement() bool

	// optional
	IsAccessibilityElement() bool
	HasIsAccessibilityElement() bool

	// optional
	SetAccessibilityDisclosedRows(value objc.Object)
	HasSetAccessibilityDisclosedRows() bool

	// optional
	AccessibilityDisclosedRows() objc.IObject
	HasAccessibilityDisclosedRows() bool

	// optional
	SetAccessibilityFullScreenButton(value objc.Object)
	HasSetAccessibilityFullScreenButton() bool

	// optional
	AccessibilityFullScreenButton() objc.IObject
	HasAccessibilityFullScreenButton() bool

	// optional
	SetAccessibilityFrontmost(value bool)
	HasSetAccessibilityFrontmost() bool

	// optional
	IsAccessibilityFrontmost() bool
	HasIsAccessibilityFrontmost() bool

	// optional
	SetAccessibilityLabelUIElements(value []objc.Object)
	HasSetAccessibilityLabelUIElements() bool

	// optional
	AccessibilityLabelUIElements() []objc.IObject
	HasAccessibilityLabelUIElements() bool

	// optional
	SetAccessibilityDisclosureLevel(value int)
	HasSetAccessibilityDisclosureLevel() bool

	// optional
	AccessibilityDisclosureLevel() int
	HasAccessibilityDisclosureLevel() bool

	// optional
	SetAccessibilityPlaceholderValue(value string)
	HasSetAccessibilityPlaceholderValue() bool

	// optional
	AccessibilityPlaceholderValue() string
	HasAccessibilityPlaceholderValue() bool

	// optional
	SetAccessibilityUnits(value AccessibilityUnits)
	HasSetAccessibilityUnits() bool

	// optional
	AccessibilityUnits() AccessibilityUnits
	HasAccessibilityUnits() bool

	// optional
	SetAccessibilityHandles(value []objc.Object)
	HasSetAccessibilityHandles() bool

	// optional
	AccessibilityHandles() []objc.IObject
	HasAccessibilityHandles() bool

	// optional
	SetAccessibilitySelectedRows(value []objc.Object)
	HasSetAccessibilitySelectedRows() bool

	// optional
	AccessibilitySelectedRows() []objc.IObject
	HasAccessibilitySelectedRows() bool
}

The complete list of properties and methods for accessible elements. Full Topic

type PAccessibilityButton

type PAccessibilityButton interface {
	// optional
	AccessibilityLabel() string
	HasAccessibilityLabel() bool

	// optional
	AccessibilityPerformPress() bool
	HasAccessibilityPerformPress() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as a button. Full Topic

type PAccessibilityCheckBox

type PAccessibilityCheckBox interface {
	// optional
	AccessibilityValue() foundation.INumber
	HasAccessibilityValue() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as a checkbox. Full Topic

type PAccessibilityContainsTransientUI

type PAccessibilityContainsTransientUI interface {
	// optional
	AccessibilityPerformShowDefaultUI() bool
	HasAccessibilityPerformShowDefaultUI() bool

	// optional
	AccessibilityPerformShowAlternateUI() bool
	HasAccessibilityPerformShowAlternateUI() bool

	// optional
	IsAccessibilityAlternateUIVisible() bool
	HasIsAccessibilityAlternateUIVisible() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to support dynamic UI changes. Full Topic

type PAccessibilityCustomRotorItemSearchDelegate

type PAccessibilityCustomRotorItemSearchDelegate interface {
	// optional
	RotorResultForSearchParameters(rotor AccessibilityCustomRotor, searchParameters AccessibilityCustomRotorSearchParameters) IAccessibilityCustomRotorItemResult
	HasRotorResultForSearchParameters() bool
}

A delegate for a custom rotor that finds the next item result after performing a search with the specified search parameters. Full Topic

type PAccessibilityElementLoading

type PAccessibilityElementLoading interface {
	// optional
	AccessibilityElementWithToken(token AccessibilityLoadingToken) objc.IObject
	HasAccessibilityElementWithToken() bool

	// optional
	AccessibilityRangeInTargetElementWithToken(token AccessibilityLoadingToken) foundation.Range
	HasAccessibilityRangeInTargetElementWithToken() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to support loading. Full Topic

type PAccessibilityGroup

type PAccessibilityGroup interface {
}

A role-based protocol that declares the minimum interface necessary to act as a container for other user interface elements. Full Topic

type PAccessibilityImage

type PAccessibilityImage interface {
	// optional
	AccessibilityLabel() string
	HasAccessibilityLabel() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as an image. Full Topic

type PAccessibilityLayoutArea

type PAccessibilityLayoutArea interface {
	// optional
	AccessibilityChildren() []objc.IObject
	HasAccessibilityChildren() bool

	// optional
	AccessibilityLabel() string
	HasAccessibilityLabel() bool

	// optional
	AccessibilitySelectedChildren() []objc.IObject
	HasAccessibilitySelectedChildren() bool

	// optional
	AccessibilityFocusedUIElement() objc.IObject
	HasAccessibilityFocusedUIElement() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as a layout area. Full Topic

type PAccessibilityLayoutItem

type PAccessibilityLayoutItem interface {
	// optional
	SetAccessibilityFrame(frame foundation.Rect)
	HasSetAccessibilityFrame() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as a layout item. Full Topic

type PAccessibilityList

type PAccessibilityList interface {
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as a list view. Full Topic

type PAccessibilityNavigableStaticText

type PAccessibilityNavigableStaticText interface {
	// optional
	AccessibilityFrameForRange(range_ foundation.Range) foundation.Rect
	HasAccessibilityFrameForRange() bool

	// optional
	AccessibilityRangeForLine(lineNumber int) foundation.Range
	HasAccessibilityRangeForLine() bool

	// optional
	AccessibilityLineForIndex(index int) int
	HasAccessibilityLineForIndex() bool

	// optional
	AccessibilityStringForRange(range_ foundation.Range) string
	HasAccessibilityStringForRange() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as navigable static text. Full Topic

type PAccessibilityOutline

type PAccessibilityOutline interface {
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as an outline view. Full Topic

type PAccessibilityProgressIndicator

type PAccessibilityProgressIndicator interface {
	// optional
	AccessibilityValue() foundation.INumber
	HasAccessibilityValue() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as a progress indicator. Full Topic

type PAccessibilityRadioButton

type PAccessibilityRadioButton interface {
	// optional
	AccessibilityValue() foundation.INumber
	HasAccessibilityValue() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as a radio button. Full Topic

type PAccessibilityRow

type PAccessibilityRow interface {
	// optional
	AccessibilityIndex() int
	HasAccessibilityIndex() bool

	// optional
	AccessibilityDisclosureLevel() int
	HasAccessibilityDisclosureLevel() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as a row for a table, list, or outline view. Full Topic

type PAccessibilitySlider

type PAccessibilitySlider interface {
	// optional
	AccessibilityPerformDecrement() bool
	HasAccessibilityPerformDecrement() bool

	// optional
	AccessibilityLabel() string
	HasAccessibilityLabel() bool

	// optional
	AccessibilityPerformIncrement() bool
	HasAccessibilityPerformIncrement() bool

	// optional
	AccessibilityValue() objc.IObject
	HasAccessibilityValue() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as a slider. Full Topic

type PAccessibilityStaticText

type PAccessibilityStaticText interface {
	// optional
	AccessibilityAttributedStringForRange(range_ foundation.Range) foundation.IAttributedString
	HasAccessibilityAttributedStringForRange() bool

	// optional
	AccessibilityVisibleCharacterRange() foundation.Range
	HasAccessibilityVisibleCharacterRange() bool

	// optional
	AccessibilityValue() string
	HasAccessibilityValue() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as static text. Full Topic

type PAccessibilityStepper

type PAccessibilityStepper interface {
	// optional
	AccessibilityPerformDecrement() bool
	HasAccessibilityPerformDecrement() bool

	// optional
	AccessibilityLabel() string
	HasAccessibilityLabel() bool

	// optional
	AccessibilityPerformIncrement() bool
	HasAccessibilityPerformIncrement() bool

	// optional
	AccessibilityValue() objc.IObject
	HasAccessibilityValue() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as a stepper. Full Topic

type PAccessibilitySwitch

type PAccessibilitySwitch interface {
	// optional
	AccessibilityPerformDecrement() bool
	HasAccessibilityPerformDecrement() bool

	// optional
	AccessibilityPerformIncrement() bool
	HasAccessibilityPerformIncrement() bool

	// optional
	AccessibilityValue() string
	HasAccessibilityValue() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as a switch. Full Topic

type PAccessibilityTable

type PAccessibilityTable interface {
	// optional
	AccessibilityColumnHeaderUIElements() []objc.IObject
	HasAccessibilityColumnHeaderUIElements() bool

	// optional
	SetAccessibilitySelectedRows(selectedRows []AccessibilityRowWrapper)
	HasSetAccessibilitySelectedRows() bool

	// optional
	AccessibilityRowHeaderUIElements() []objc.IObject
	HasAccessibilityRowHeaderUIElements() bool

	// optional
	AccessibilityVisibleRows() []PAccessibilityRow
	HasAccessibilityVisibleRows() bool

	// optional
	AccessibilitySelectedCells() []objc.IObject
	HasAccessibilitySelectedCells() bool

	// optional
	AccessibilityVisibleColumns() []objc.IObject
	HasAccessibilityVisibleColumns() bool

	// optional
	AccessibilityLabel() string
	HasAccessibilityLabel() bool

	// optional
	AccessibilityColumns() []objc.IObject
	HasAccessibilityColumns() bool

	// optional
	AccessibilityRows() []PAccessibilityRow
	HasAccessibilityRows() bool

	// optional
	AccessibilityVisibleCells() []objc.IObject
	HasAccessibilityVisibleCells() bool

	// optional
	AccessibilitySelectedColumns() []objc.IObject
	HasAccessibilitySelectedColumns() bool

	// optional
	AccessibilitySelectedRows() []PAccessibilityRow
	HasAccessibilitySelectedRows() bool
}

A role-based protocol that declares the minimum interface necessary for an accessibility element to act as a table view. Full Topic

type PAlertDelegate

type PAlertDelegate interface {
	// optional
	AlertShowHelp(alert Alert) bool
	HasAlertShowHelp() bool
}

A set of optional methods implemented by the delegate of an NSAlert object to respond to a user's request for help. Full Topic

type PAlignmentFeedbackToken

type PAlignmentFeedbackToken interface {
}
[Full Topic]

type PAnimatablePropertyContainer

type PAnimatablePropertyContainer interface {
	// optional
	Animator() objc.IObject
	HasAnimator() bool

	// optional
	AnimationForKey(key AnimatablePropertyKey) objc.IObject
	HasAnimationForKey() bool

	// optional
	SetAnimations(value map[AnimatablePropertyKey]objc.Object)
	HasSetAnimations() bool

	// optional
	Animations() map[AnimatablePropertyKey]objc.IObject
	HasAnimations() bool
}

A set of methods that defines a way to add animation to an existing class with a minimum of API impact. Full Topic

type PAnimationDelegate

type PAnimationDelegate interface {
	// optional
	AnimationDidEnd(animation Animation)
	HasAnimationDidEnd() bool

	// optional
	AnimationDidReachProgressMark(animation Animation, progress AnimationProgress)
	HasAnimationDidReachProgressMark() bool

	// optional
	AnimationShouldStart(animation Animation) bool
	HasAnimationShouldStart() bool

	// optional
	AnimationDidStop(animation Animation)
	HasAnimationDidStop() bool
}

A set of optional methods implemented by delegates of NSAnimation objects. Full Topic

type PAppearanceCustomization

type PAppearanceCustomization interface {
	// optional
	EffectiveAppearance() IAppearance
	HasEffectiveAppearance() bool

	// optional
	SetAppearance(value Appearance)
	HasSetAppearance() bool

	// optional
	Appearance() IAppearance
	HasAppearance() bool
}

A set of methods for getting and setting the appearance attributes of a view. Full Topic

type PApplicationDelegate

type PApplicationDelegate interface {
	// optional
	ApplicationDidResignActive(notification foundation.Notification)
	HasApplicationDidResignActive() bool

	// optional
	ApplicationDidFinishLaunching(notification foundation.Notification)
	HasApplicationDidFinishLaunching() bool

	// optional
	ApplicationShouldTerminate(sender Application) ApplicationTerminateReply
	HasApplicationShouldTerminate() bool

	// optional
	ApplicationWillBecomeActive(notification foundation.Notification)
	HasApplicationWillBecomeActive() bool

	// optional
	ApplicationDockMenu(sender Application) IMenu
	HasApplicationDockMenu() bool

	// optional
	ApplicationWillFinishLaunching(notification foundation.Notification)
	HasApplicationWillFinishLaunching() bool

	// optional
	ApplicationShouldTerminateAfterLastWindowClosed(sender Application) bool
	HasApplicationShouldTerminateAfterLastWindowClosed() bool

	// optional
	ApplicationProtectedDataWillBecomeUnavailable(notification foundation.Notification)
	HasApplicationProtectedDataWillBecomeUnavailable() bool

	// optional
	ApplicationDidHide(notification foundation.Notification)
	HasApplicationDidHide() bool

	// optional
	ApplicationWillResignActive(notification foundation.Notification)
	HasApplicationWillResignActive() bool

	// optional
	ApplicationDidBecomeActive(notification foundation.Notification)
	HasApplicationDidBecomeActive() bool

	// optional
	ApplicationProtectedDataDidBecomeAvailable(notification foundation.Notification)
	HasApplicationProtectedDataDidBecomeAvailable() bool

	// optional
	ApplicationWillHide(notification foundation.Notification)
	HasApplicationWillHide() bool

	// optional
	ApplicationWillUpdate(notification foundation.Notification)
	HasApplicationWillUpdate() bool

	// optional
	ApplicationShouldOpenUntitledFile(sender Application) bool
	HasApplicationShouldOpenUntitledFile() bool

	// optional
	ApplicationSupportsSecureRestorableState(app Application) bool
	HasApplicationSupportsSecureRestorableState() bool

	// optional
	ApplicationWillUnhide(notification foundation.Notification)
	HasApplicationWillUnhide() bool

	// optional
	ApplicationOpenUntitledFile(sender Application) bool
	HasApplicationOpenUntitledFile() bool

	// optional
	ApplicationShouldAutomaticallyLocalizeKeyEquivalents(application Application) bool
	HasApplicationShouldAutomaticallyLocalizeKeyEquivalents() bool

	// optional
	ApplicationDidDecodeRestorableState(app Application, coder foundation.Coder)
	HasApplicationDidDecodeRestorableState() bool

	// optional
	ApplicationDidUpdate(notification foundation.Notification)
	HasApplicationDidUpdate() bool

	// optional
	ApplicationDidChangeOcclusionState(notification foundation.Notification)
	HasApplicationDidChangeOcclusionState() bool

	// optional
	ApplicationDidChangeScreenParameters(notification foundation.Notification)
	HasApplicationDidChangeScreenParameters() bool

	// optional
	ApplicationWillTerminate(notification foundation.Notification)
	HasApplicationWillTerminate() bool

	// optional
	ApplicationDidUnhide(notification foundation.Notification)
	HasApplicationDidUnhide() bool

	// optional
	ApplicationShouldHandleReopenHasVisibleWindows(sender Application, flag bool) bool
	HasApplicationShouldHandleReopenHasVisibleWindows() bool
}

A set of methods that manage your app’s life cycle and its interaction with common system services. Full Topic

type PBrowserDelegate

type PBrowserDelegate interface {
	// optional
	BrowserColumnConfigurationDidChange(notification foundation.Notification)
	HasBrowserColumnConfigurationDidChange() bool

	// optional
	RootItemForBrowser(browser Browser) objc.IObject
	HasRootItemForBrowser() bool

	// optional
	BrowserDidScroll(sender Browser)
	HasBrowserDidScroll() bool

	// optional
	BrowserObjectValueForItem(browser Browser, item objc.Object) objc.IObject
	HasBrowserObjectValueForItem() bool

	// optional
	BrowserWillScroll(sender Browser)
	HasBrowserWillScroll() bool
}

A set of methods that a browser delegate implements to manage selection, scrolling, sizing, and other behavior. Full Topic

type PCandidateListTouchBarItemDelegate

type PCandidateListTouchBarItemDelegate interface {
	// optional
	CandidateListTouchBarItemBeginSelectingCandidateAtIndex(anItem CandidateListTouchBarItem, index int)
	HasCandidateListTouchBarItemBeginSelectingCandidateAtIndex() bool
}

A set of methods that a candidate list item delegate uses to enable selection state and list visibility. Full Topic

type PChangeSpelling

type PChangeSpelling interface {
	// optional
	ChangeSpelling(sender objc.Object)
	HasChangeSpelling() bool
}

A protocol that responder objects can implement to correct a misspelled word. Full Topic

type PCloudSharingServiceDelegate

type PCloudSharingServiceDelegate interface {
	// optional
	SharingServiceDidSaveShare(sharingService SharingService, share objc.Object)
	HasSharingServiceDidSaveShare() bool

	// optional
	OptionsForSharingServiceShareProvider(cloudKitSharingService SharingService, provider foundation.ItemProvider) CloudKitSharingServiceOptions
	HasOptionsForSharingServiceShareProvider() bool
}

A set of methods for responding to the life cycle events of the cloud-sharing service. Full Topic

type PCloudSharingValidation

type PCloudSharingValidation interface {
	// optional
	CloudShareForUserInterfaceItem(item ValidatedUserInterfaceItemWrapper) objc.IObject
	HasCloudShareForUserInterfaceItem() bool
}

A protocol that a Cloud-sharing toolbar item uses to get validation of an item. Full Topic

type PCollectionLayoutContainer

type PCollectionLayoutContainer interface {
	// optional
	ContentInsets() DirectionalEdgeInsets
	HasContentInsets() bool

	// optional
	ContentSize() coregraphics.Size
	HasContentSize() bool

	// optional
	EffectiveContentInsets() DirectionalEdgeInsets
	HasEffectiveContentInsets() bool

	// optional
	EffectiveContentSize() coregraphics.Size
	HasEffectiveContentSize() bool
}

A protocol used to provide information about the size and content insets of a layout’s container. Full Topic

type PCollectionLayoutEnvironment

type PCollectionLayoutEnvironment interface {
	// optional
	Container() PCollectionLayoutContainer
	HasContainer() bool
}

A protocol used to provide information about the layout’s container and environment traits, such as size classes and display scale factor. Full Topic

type PCollectionLayoutVisibleItem

type PCollectionLayoutVisibleItem interface {
	// optional
	SetHidden(value bool)
	HasSetHidden() bool

	// optional
	IsHidden() bool
	HasIsHidden() bool

	// optional
	Name() string
	HasName() bool

	// optional
	Bounds() coregraphics.Rect
	HasBounds() bool

	// optional
	RepresentedElementKind() string
	HasRepresentedElementKind() bool

	// optional
	RepresentedElementCategory() CollectionElementCategory
	HasRepresentedElementCategory() bool

	// optional
	SetAlpha(value float64)
	HasSetAlpha() bool

	// optional
	Alpha() float64
	HasAlpha() bool

	// optional
	IndexPath() foundation.IIndexPath
	HasIndexPath() bool

	// optional
	Frame() coregraphics.Rect
	HasFrame() bool

	// optional
	SetZIndex(value int)
	HasSetZIndex() bool

	// optional
	ZIndex() int
	HasZIndex() bool

	// optional
	SetCenter(value coregraphics.Point)
	HasSetCenter() bool

	// optional
	Center() coregraphics.Point
	HasCenter() bool
}

An item that’s currently visible within the bounds of a section. Full Topic

type PCollectionViewDataSource

type PCollectionViewDataSource interface {
	// optional
	NumberOfSectionsInCollectionView(collectionView CollectionView) int
	HasNumberOfSectionsInCollectionView() bool

	// optional
	CollectionViewNumberOfItemsInSection(collectionView CollectionView, section int) int
	HasCollectionViewNumberOfItemsInSection() bool
}

A set of methods that a data source object implements to provide the information and view objects that a collection view requires to present content. Full Topic

type PCollectionViewDelegate

type PCollectionViewDelegate interface {
	// optional
	CollectionViewDidEndDisplayingItemForRepresentedObjectAtIndexPath(collectionView CollectionView, item CollectionViewItem, indexPath foundation.IndexPath)
	HasCollectionViewDidEndDisplayingItemForRepresentedObjectAtIndexPath() bool
}

A set of methods that you use to manage the behavior of a collection view. Full Topic

type PCollectionViewDelegateFlowLayout

type PCollectionViewDelegateFlowLayout interface {
	// optional
	CollectionViewLayoutInsetForSectionAtIndex(collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) foundation.EdgeInsets
	HasCollectionViewLayoutInsetForSectionAtIndex() bool
}

A set of methods that a delegate implements to provide layout information to a flow layout object in a collection view. Full Topic

type PCollectionViewElement

type PCollectionViewElement interface {
	// optional
	WillTransitionFromLayoutToLayout(oldLayout CollectionViewLayout, newLayout CollectionViewLayout)
	HasWillTransitionFromLayoutToLayout() bool

	// optional
	ApplyLayoutAttributes(layoutAttributes CollectionViewLayoutAttributes)
	HasApplyLayoutAttributes() bool

	// optional
	DidTransitionFromLayoutToLayout(oldLayout CollectionViewLayout, newLayout CollectionViewLayout)
	HasDidTransitionFromLayoutToLayout() bool

	// optional
	PrepareForReuse()
	HasPrepareForReuse() bool

	// optional
	PreferredLayoutAttributesFittingAttributes(layoutAttributes CollectionViewLayoutAttributes) ICollectionViewLayoutAttributes
	HasPreferredLayoutAttributesFittingAttributes() bool
}

A set of methods that you use to manage the content in a collection view. Full Topic

type PCollectionViewPrefetching

type PCollectionViewPrefetching interface {
	// optional
	CollectionViewPrefetchItemsAtIndexPaths(collectionView CollectionView, indexPaths []foundation.IndexPath)
	HasCollectionViewPrefetchItemsAtIndexPaths() bool
}
[Full Topic]

type PCollectionViewSectionHeaderView

type PCollectionViewSectionHeaderView interface {
	// optional
	SetSectionCollapseButton(value Button)
	HasSetSectionCollapseButton() bool

	// optional
	SectionCollapseButton() IButton
	HasSectionCollapseButton() bool
}

A protocol that defines a button to control the collapse of a collection view’s section. Full Topic

type PColorChanging

type PColorChanging interface {
	// optional
	ChangeColor(sender ColorPanel)
	HasChangeColor() bool
}
[Full Topic]

type PColorPickingCustom

type PColorPickingCustom interface {
	// optional
	ProvideNewView(initialRequest bool) IView
	HasProvideNewView() bool

	// optional
	SetColor(newColor Color)
	HasSetColor() bool

	// optional
	SupportsMode(mode ColorPanelMode) bool
	HasSupportsMode() bool

	// optional
	CurrentMode() ColorPanelMode
	HasCurrentMode() bool
}

A set of methods that provides a way to add color pickers—custom user interfaces for color selection—to an app’s color panel. Full Topic

type PColorPickingDefault

type PColorPickingDefault interface {
	// optional
	AlphaControlAddedOrRemoved(sender objc.Object)
	HasAlphaControlAddedOrRemoved() bool

	// optional
	InitWithPickerMaskColorPanel(mask uint, owningColorPanel ColorPanel) objc.IObject
	HasInitWithPickerMaskColorPanel() bool

	// optional
	AttachColorList(colorList ColorList)
	HasAttachColorList() bool

	// optional
	InsertNewButtonImageIn(newButtonImage Image, buttonCell ButtonCell)
	HasInsertNewButtonImageIn() bool

	// optional
	SetMode(mode ColorPanelMode)
	HasSetMode() bool

	// optional
	DetachColorList(colorList ColorList)
	HasDetachColorList() bool

	// optional
	ProvideNewButtonImage() IImage
	HasProvideNewButtonImage() bool

	// optional
	ButtonToolTip() string
	HasButtonToolTip() bool

	// optional
	MinContentSize() foundation.Size
	HasMinContentSize() bool

	// optional
	ViewSizeChanged(sender objc.Object)
	HasViewSizeChanged() bool
}

A set of methods that provides basic behavior for a color picker. Full Topic

type PComboBoxCellDataSource

type PComboBoxCellDataSource interface {
	// optional
	NumberOfItemsInComboBoxCell(comboBoxCell ComboBoxCell) int
	HasNumberOfItemsInComboBoxCell() bool

	// optional
	ComboBoxCellObjectValueForItemAtIndex(comboBoxCell ComboBoxCell, index int) objc.IObject
	HasComboBoxCellObjectValueForItemAtIndex() bool
}
[Full Topic]

type PComboBoxDataSource

type PComboBoxDataSource interface {
	// optional
	NumberOfItemsInComboBox(comboBox ComboBox) int
	HasNumberOfItemsInComboBox() bool

	// optional
	ComboBoxObjectValueForItemAtIndex(comboBox ComboBox, index int) objc.IObject
	HasComboBoxObjectValueForItemAtIndex() bool
}
[Full Topic]

type PComboBoxDelegate

type PComboBoxDelegate interface {
	PTextFieldDelegate
	// optional
	ComboBoxSelectionDidChange(notification foundation.Notification)
	HasComboBoxSelectionDidChange() bool

	// optional
	ComboBoxWillPopUp(notification foundation.Notification)
	HasComboBoxWillPopUp() bool

	// optional
	ComboBoxWillDismiss(notification foundation.Notification)
	HasComboBoxWillDismiss() bool

	// optional
	ComboBoxSelectionIsChanging(notification foundation.Notification)
	HasComboBoxSelectionIsChanging() bool
}

A set of optional methods implemented by delegates of combo box objects. Full Topic

type PControlTextEditingDelegate

type PControlTextEditingDelegate interface {
	// optional
	ControlTextDidChange(obj foundation.Notification)
	HasControlTextDidChange() bool

	// optional
	ControlTextDidBeginEditing(obj foundation.Notification)
	HasControlTextDidBeginEditing() bool

	// optional
	ControlTextDidEndEditing(obj foundation.Notification)
	HasControlTextDidEndEditing() bool

	// optional
	ControlTextShouldEndEditing(control Control, fieldEditor Text) bool
	HasControlTextShouldEndEditing() bool
}

A set of optional methods implemented by delegates of NSControl subclasses to respond to editing actions. Full Topic

type PDFImageRep

type PDFImageRep struct {
	ImageRep
}

An object that can render an image from a PDF format data stream. Full Topic

func NewPDFImageRep

func NewPDFImageRep() PDFImageRep

func NewPDFImageRepWithData

func NewPDFImageRepWithData(pdfData []byte) PDFImageRep

Returns a representation of an image initialized with the specified PDF data. Full Topic

func PDFImageRepFrom

func PDFImageRepFrom(ptr unsafe.Pointer) PDFImageRep

func PDFImageRep_Alloc

func PDFImageRep_Alloc() PDFImageRep

func PDFImageRep_ImageRepWithData

func PDFImageRep_ImageRepWithData(pdfData []byte) PDFImageRep

Creates and returns a representation of an image initialized with the specified PDF data. Full Topic

func (PDFImageRep) Bounds

func (p_ PDFImageRep) Bounds() foundation.Rect

The image representation’s bounding rectangle. Full Topic

func (PDFImageRep) CurrentPage

func (p_ PDFImageRep) CurrentPage() int

The page currently displayed by the image representation. Full Topic

func (PDFImageRep) Init

func (p_ PDFImageRep) Init() PDFImageRep

func (PDFImageRep) InitWithData

func (p_ PDFImageRep) InitWithData(pdfData []byte) PDFImageRep

func (PDFImageRep) PDFRepresentation

func (p_ PDFImageRep) PDFRepresentation() []byte

The PDF representation of the representation’s image. Full Topic

func (PDFImageRep) PageCount

func (p_ PDFImageRep) PageCount() int

The number of pages in the image representation. Full Topic

func (PDFImageRep) SetCurrentPage

func (p_ PDFImageRep) SetCurrentPage(value int)

The page currently displayed by the image representation. Full Topic

type PDFInfo

type PDFInfo struct {
	objc.Object
}

An object that stores information associated with the creation of a PDF file, such as its URL, tag names, page orientation, and paper size. Full Topic

func NewPDFInfo

func NewPDFInfo() PDFInfo

func PDFInfoFrom

func PDFInfoFrom(ptr unsafe.Pointer) PDFInfo

func PDFInfo_Alloc

func PDFInfo_Alloc() PDFInfo

func (PDFInfo) Attributes

func (p_ PDFInfo) Attributes() foundation.MutableDictionary

A dictionary of additional attributes that describe how to export content as a PDF file. Full Topic

func (PDFInfo) Init

func (p_ PDFInfo) Init() PDFInfo

func (PDFInfo) IsFileExtensionHidden

func (p_ PDFInfo) IsFileExtensionHidden() bool

A Boolean value that indicates whether the file extension should appear after the filename. Full Topic

func (PDFInfo) Orientation

func (p_ PDFInfo) Orientation() PaperOrientation

The paper orientation to use when exporting content as a PDF file. Full Topic

func (PDFInfo) PaperSize

func (p_ PDFInfo) PaperSize() foundation.Size

The paper size to use when exporting content as a PDF file. Full Topic

func (PDFInfo) SetFileExtensionHidden

func (p_ PDFInfo) SetFileExtensionHidden(value bool)

A Boolean value that indicates whether the file extension should appear after the filename. Full Topic

func (PDFInfo) SetOrientation

func (p_ PDFInfo) SetOrientation(value PaperOrientation)

The paper orientation to use when exporting content as a PDF file. Full Topic

func (PDFInfo) SetPaperSize

func (p_ PDFInfo) SetPaperSize(value foundation.Size)

The paper size to use when exporting content as a PDF file. Full Topic

func (PDFInfo) SetTagNames

func (p_ PDFInfo) SetTagNames(value []string)

An array of tag names that should be applied to the PDF file after it’s created. Full Topic

func (PDFInfo) SetURL

func (p_ PDFInfo) SetURL(value foundation.IURL)

The URL identifying the location at which the PDF file will be created. Full Topic

func (PDFInfo) TagNames

func (p_ PDFInfo) TagNames() []string

An array of tag names that should be applied to the PDF file after it’s created. Full Topic

func (PDFInfo) URL

func (p_ PDFInfo) URL() foundation.URL

The URL identifying the location at which the PDF file will be created. Full Topic

type PDFPanel

type PDFPanel struct {
	objc.Object
}

A Save or Export as PDF panel that’s consistent with the macOS user interface. Full Topic

func NewPDFPanel

func NewPDFPanel() PDFPanel

func PDFPanelFrom

func PDFPanelFrom(ptr unsafe.Pointer) PDFPanel

func PDFPanel_Alloc

func PDFPanel_Alloc() PDFPanel

func PDFPanel_Panel

func PDFPanel_Panel() PDFPanel

Returns a new NSPDFPanel object. Full Topic

func (PDFPanel) AccessoryController

func (p_ PDFPanel) AccessoryController() ViewController

A view controller for the accessory view that the panel can present. Full Topic

func (PDFPanel) BeginSheetWithPDFInfoModalForWindowCompletionHandler

func (p_ PDFPanel) BeginSheetWithPDFInfoModalForWindowCompletionHandler(pdfInfo IPDFInfo, docWindow IWindow, completionHandler func(arg0 int))

Presents a document-modal PDF panel. Full Topic

func (PDFPanel) DefaultFileName

func (p_ PDFPanel) DefaultFileName() string

The initial value for the user-editable filename shown in the name field of the PDF panel. Full Topic

func (PDFPanel) Init

func (p_ PDFPanel) Init() PDFPanel

func (PDFPanel) Options

func (p_ PDFPanel) Options() PDFPanelOptions

A set of configuration options that determine the accessory views the PDF panel should display. Full Topic

func (PDFPanel) SetAccessoryController

func (p_ PDFPanel) SetAccessoryController(value IViewController)

A view controller for the accessory view that the panel can present. Full Topic

func (PDFPanel) SetDefaultFileName

func (p_ PDFPanel) SetDefaultFileName(value string)

The initial value for the user-editable filename shown in the name field of the PDF panel. Full Topic

func (PDFPanel) SetOptions

func (p_ PDFPanel) SetOptions(value PDFPanelOptions)

A set of configuration options that determine the accessory views the PDF panel should display. Full Topic

type PDFPanelOptions

type PDFPanelOptions int

Constants used to configure the contents of a PDF panel. Full Topic

const (
	PDFPanelRequestsParentDirectory PDFPanelOptions = 16777216
	PDFPanelShowsOrientation        PDFPanelOptions = 8
	PDFPanelShowsPaperSize          PDFPanelOptions = 4
)

type PDatePickerCellDelegate

type PDatePickerCellDelegate interface {
	// optional
	DatePickerCellValidateProposedDateValueTimeInterval(datePickerCell DatePickerCell, proposedDateValue foundation.Date, proposedTimeInterval *foundation.TimeInterval)
	HasDatePickerCellValidateProposedDateValueTimeInterval() bool
}

A set of optional methods implemented by delegates of NSDatePickerCell objects. Full Topic

type PDockTilePlugIn

type PDockTilePlugIn interface {
	// optional
	SetDockTile(dockTile DockTile)
	HasSetDockTile() bool

	// optional
	DockMenu() IMenu
	HasDockMenu() bool
}

A set of methods implemented by plug-ins that allow an app’s Dock tile to be customized while the app is not running. Full Topic

type PDraggingDestination

type PDraggingDestination interface {
	// optional
	WantsPeriodicDraggingUpdates() bool
	HasWantsPeriodicDraggingUpdates() bool

	// optional
	PrepareForDragOperation(sender DraggingInfoWrapper) bool
	HasPrepareForDragOperation() bool

	// optional
	DraggingEntered(sender DraggingInfoWrapper) DragOperation
	HasDraggingEntered() bool

	// optional
	PerformDragOperation(sender DraggingInfoWrapper) bool
	HasPerformDragOperation() bool

	// optional
	ConcludeDragOperation(sender DraggingInfoWrapper)
	HasConcludeDragOperation() bool

	// optional
	DraggingUpdated(sender DraggingInfoWrapper) DragOperation
	HasDraggingUpdated() bool

	// optional
	DraggingEnded(sender DraggingInfoWrapper)
	HasDraggingEnded() bool

	// optional
	UpdateDraggingItemsForDrag(sender DraggingInfoWrapper)
	HasUpdateDraggingItemsForDrag() bool

	// optional
	DraggingExited(sender DraggingInfoWrapper)
	HasDraggingExited() bool
}

A set of methods that the destination object (or recipient) of a dragged image must implement. Full Topic

type PDraggingInfo

type PDraggingInfo interface {
	// optional
	EnumerateDraggingItemsWithOptionsForViewClassesSearchOptionsUsingBlock(enumOpts DraggingItemEnumerationOptions, view View, classArray []objc.Class, searchOptions map[PasteboardReadingOptionKey]objc.Object, block func(draggingItem DraggingItem, idx int, stop *bool))
	HasEnumerateDraggingItemsWithOptionsForViewClassesSearchOptionsUsingBlock() bool

	// optional
	ResetSpringLoading()
	HasResetSpringLoading() bool

	// optional
	SlideDraggedImageTo(screenPoint foundation.Point)
	HasSlideDraggedImageTo() bool

	// optional
	DraggingDestinationWindow() IWindow
	HasDraggingDestinationWindow() bool

	// optional
	DraggingPasteboard() IPasteboard
	HasDraggingPasteboard() bool

	// optional
	DraggingSourceOperationMask() DragOperation
	HasDraggingSourceOperationMask() bool

	// optional
	SetNumberOfValidItemsForDrop(value int)
	HasSetNumberOfValidItemsForDrop() bool

	// optional
	NumberOfValidItemsForDrop() int
	HasNumberOfValidItemsForDrop() bool

	// optional
	SetDraggingFormation(value DraggingFormation)
	HasSetDraggingFormation() bool

	// optional
	DraggingFormation() DraggingFormation
	HasDraggingFormation() bool

	// optional
	SpringLoadingHighlight() SpringLoadingHighlight
	HasSpringLoadingHighlight() bool

	// optional
	DraggedImageLocation() foundation.Point
	HasDraggedImageLocation() bool

	// optional
	DraggingLocation() foundation.Point
	HasDraggingLocation() bool

	// optional
	DraggingSource() objc.IObject
	HasDraggingSource() bool

	// optional
	SetAnimatesToDestination(value bool)
	HasSetAnimatesToDestination() bool

	// optional
	AnimatesToDestination() bool
	HasAnimatesToDestination() bool

	// optional
	DraggingSequenceNumber() int
	HasDraggingSequenceNumber() bool
}

A set of methods that supply information about a dragging session. Full Topic

type PDraggingSource

type PDraggingSource interface {
	// optional
	DraggingSessionMovedToPoint(session DraggingSession, screenPoint foundation.Point)
	HasDraggingSessionMovedToPoint() bool

	// optional
	IgnoreModifierKeysForDraggingSession(session DraggingSession) bool
	HasIgnoreModifierKeysForDraggingSession() bool
}

A set of methods that are implemented by the source object in a dragging session. Full Topic

type PDrawerDelegate

type PDrawerDelegate interface {
}

A set of methods that drawer delegates implement to open, close, and resize the drawer. Full Topic

type PEditor

type PEditor interface {
	// optional
	CommitEditing() bool
	HasCommitEditing() bool

	// optional
	CommitEditingWithDelegateDidCommitSelectorContextInfo(delegate objc.Object, didCommitSelector objc.Selector, contextInfo unsafe.Pointer)
	HasCommitEditingWithDelegateDidCommitSelectorContextInfo() bool

	// optional
	CommitEditingAndReturnError(error foundation.Error) bool
	HasCommitEditingAndReturnError() bool

	// optional
	DiscardEditing()
	HasDiscardEditing() bool
}
[Full Topic]

type PEditorRegistration

type PEditorRegistration interface {
	// optional
	ObjectDidBeginEditing(editor EditorWrapper)
	HasObjectDidBeginEditing() bool

	// optional
	ObjectDidEndEditing(editor EditorWrapper)
	HasObjectDidEndEditing() bool
}
[Full Topic]

type PFilePromiseProviderDelegate

type PFilePromiseProviderDelegate interface {
	// optional
	OperationQueueForFilePromiseProvider(filePromiseProvider FilePromiseProvider) foundation.IOperationQueue
	HasOperationQueueForFilePromiseProvider() bool

	// optional
	FilePromiseProviderFileNameForType(filePromiseProvider FilePromiseProvider, fileType string) string
	HasFilePromiseProviderFileNameForType() bool
}

A set of methods that provides the name of the promised file and writes the file to the destination directory when the file promise is fulfilled. Full Topic

type PFontChanging

type PFontChanging interface {
	// optional
	ChangeFont(sender FontManager)
	HasChangeFont() bool

	// optional
	ValidModesForFontPanel(fontPanel FontPanel) FontPanelModeMask
	HasValidModesForFontPanel() bool
}
[Full Topic]

type PGestureRecognizerDelegate

type PGestureRecognizerDelegate interface {
	// optional
	GestureRecognizerShouldBegin(gestureRecognizer GestureRecognizer) bool
	HasGestureRecognizerShouldBegin() bool

	// optional
	GestureRecognizerShouldReceiveTouch(gestureRecognizer GestureRecognizer, touch Touch) bool
	HasGestureRecognizerShouldReceiveTouch() bool
}

A set of methods for fine-tuning a gesture recognizer’s behavior. Full Topic

type PGlyphStorage

type PGlyphStorage interface {
	// optional
	SetIntAttributeValueForGlyphAtIndex(attributeTag int, val int, glyphIndex uint)
	HasSetIntAttributeValueForGlyphAtIndex() bool

	// optional
	AttributedString() foundation.IAttributedString
	HasAttributedString() bool

	// optional
	LayoutOptions() uint
	HasLayoutOptions() bool

	// optional
	InsertGlyphsLengthForStartingGlyphAtIndexCharacterIndex(glyphs *Glyph, length uint, glyphIndex uint, charIndex uint)
	HasInsertGlyphsLengthForStartingGlyphAtIndexCharacterIndex() bool
}

A set of methods that a glyph storage object must implement to interact properly with NSGlyphGenerator. Full Topic

type PHapticFeedbackPerformer

type PHapticFeedbackPerformer interface {
	// optional
	PerformFeedbackPatternPerformanceTime(pattern HapticFeedbackPattern, performanceTime HapticFeedbackPerformanceTime)
	HasPerformFeedbackPatternPerformanceTime() bool
}

A set of methods and constants that a haptic feedback performer implements. Full Topic

type PICTImageRep

type PICTImageRep struct {
	ImageRep
}

An object that renders an image from a PICT format data stream of version 1, version 2, and extended version 2. Full Topic

func NewPICTImageRep

func NewPICTImageRep() PICTImageRep

func NewPICTImageRepWithData

func NewPICTImageRepWithData(pictData []byte) PICTImageRep

Returns a representation of an image from the specified data in the PICT file format. Full Topic

func PICTImageRepFrom

func PICTImageRepFrom(ptr unsafe.Pointer) PICTImageRep

func PICTImageRep_Alloc

func PICTImageRep_Alloc() PICTImageRep

func PICTImageRep_ImageRepWithData

func PICTImageRep_ImageRepWithData(pictData []byte) PICTImageRep

Creates and returns a representation of an image from the specified data in the PICT file format. Full Topic

func (PICTImageRep) BoundingBox

func (p_ PICTImageRep) BoundingBox() foundation.Rect

The rectangle that bounds the image representation. Full Topic

func (PICTImageRep) Init

func (p_ PICTImageRep) Init() PICTImageRep

func (PICTImageRep) InitWithData

func (p_ PICTImageRep) InitWithData(pictData []byte) PICTImageRep

func (PICTImageRep) PICTRepresentation

func (p_ PICTImageRep) PICTRepresentation() []byte

The image representation’s PICT data. Full Topic

type PIgnoreMisspelledWords

type PIgnoreMisspelledWords interface {
	// optional
	IgnoreSpelling(sender objc.Object)
	HasIgnoreSpelling() bool
}

A protocol that enables the Ignore button in the Spelling panel to function properly. Full Topic

type PImageDelegate

type PImageDelegate interface {
	// optional
	ImageDidNotDrawInRect(sender Image, rect foundation.Rect) IImage
	HasImageDidNotDrawInRect() bool
}

A set of optional methods that you can use to respond to drawing failures and manage incremental loads. Full Topic

type PInputServerMouseTracker

type PInputServerMouseTracker interface {
}
[Full Topic]

type PInputServiceProvider

type PInputServiceProvider interface {
}
[Full Topic]

type PLayoutManagerDelegate

type PLayoutManagerDelegate interface {
	// optional
	LayoutManagerDidInvalidateLayout(sender LayoutManager)
	HasLayoutManagerDidInvalidateLayout() bool

	// optional
	LayoutManagerShouldUseTemporaryAttributesForDrawingToScreenAtCharacterIndexEffectiveRange(layoutManager LayoutManager, attrs map[foundation.AttributedStringKey]objc.Object, toScreen bool, charIndex uint, effectiveCharRange foundation.RangePointer) map[foundation.AttributedStringKey]objc.IObject
	HasLayoutManagerShouldUseTemporaryAttributesForDrawingToScreenAtCharacterIndexEffectiveRange() bool
}

A set of optional methods that delegates of layout manager objects implement. Full Topic

type PMatrixDelegate

type PMatrixDelegate interface {
	PControlTextEditingDelegate
}

The NSMatrixDelegate protocol defines the optional methods implemented by delegates of NSMatrix objects. Full Topic

type PMenuDelegate

type PMenuDelegate interface {
	// optional
	MenuHasKeyEquivalentForEventTargetAction(menu Menu, event Event, target objc.Object, action objc.Selector) bool
	HasMenuHasKeyEquivalentForEventTargetAction() bool

	// optional
	MenuWillHighlightItem(menu Menu, item MenuItem)
	HasMenuWillHighlightItem() bool

	// optional
	MenuDidClose(menu Menu)
	HasMenuDidClose() bool

	// optional
	NumberOfItemsInMenu(menu Menu) int
	HasNumberOfItemsInMenu() bool

	// optional
	MenuNeedsUpdate(menu Menu)
	HasMenuNeedsUpdate() bool

	// optional
	ConfinementRectForMenuOnScreen(menu Menu, screen Screen) foundation.Rect
	HasConfinementRectForMenuOnScreen() bool

	// optional
	MenuWillOpen(menu Menu)
	HasMenuWillOpen() bool
}

The optional methods implemented by delegates of NSMenu objects to manage menu display and handle some events. Full Topic

type PMenuItemValidation

type PMenuItemValidation interface {
	// optional
	ValidateMenuItem(menuItem MenuItem) bool
	HasValidateMenuItem() bool
}
[Full Topic]

type POpenSavePanelDelegate

type POpenSavePanelDelegate interface {
	// optional
	PanelShouldEnableURL(sender objc.Object, url foundation.URL) bool
	HasPanelShouldEnableURL() bool

	// optional
	PanelSelectionDidChange(sender objc.Object)
	HasPanelSelectionDidChange() bool
}

A set of methods for managing interactions with an open or save panel. Full Topic

type POutlineViewDataSource

type POutlineViewDataSource interface {
	// optional
	OutlineViewSortDescriptorsDidChange(outlineView OutlineView, oldDescriptors []foundation.SortDescriptor)
	HasOutlineViewSortDescriptorsDidChange() bool
}

A set of methods that an outline view calls to retrieve data and information about it from the data source delegate, and—optionally—to update data values. Full Topic

type POutlineViewDelegate

type POutlineViewDelegate interface {
	PControlTextEditingDelegate
	// optional
	OutlineViewItemDidCollapse(notification foundation.Notification)
	HasOutlineViewItemDidCollapse() bool

	// optional
	OutlineViewItemWillExpand(notification foundation.Notification)
	HasOutlineViewItemWillExpand() bool

	// optional
	OutlineViewColumnDidMove(notification foundation.Notification)
	HasOutlineViewColumnDidMove() bool

	// optional
	OutlineViewItemWillCollapse(notification foundation.Notification)
	HasOutlineViewItemWillCollapse() bool

	// optional
	OutlineViewColumnDidResize(notification foundation.Notification)
	HasOutlineViewColumnDidResize() bool

	// optional
	OutlineViewDidClickTableColumn(outlineView OutlineView, tableColumn TableColumn)
	HasOutlineViewDidClickTableColumn() bool

	// optional
	OutlineViewSelectionDidChange(notification foundation.Notification)
	HasOutlineViewSelectionDidChange() bool

	// optional
	OutlineViewItemDidExpand(notification foundation.Notification)
	HasOutlineViewItemDidExpand() bool

	// optional
	OutlineViewSelectionIsChanging(notification foundation.Notification)
	HasOutlineViewSelectionIsChanging() bool

	// optional
	SelectionShouldChangeInOutlineView(outlineView OutlineView) bool
	HasSelectionShouldChangeInOutlineView() bool
}

A set of optional methods implemented by delegates of NSOutlineView objects. Full Topic

type PPageControllerDelegate

type PPageControllerDelegate interface {
	// optional
	PageControllerDidEndLiveTransition(pageController PageController)
	HasPageControllerDidEndLiveTransition() bool

	// optional
	PageControllerWillStartLiveTransition(pageController PageController)
	HasPageControllerWillStartLiveTransition() bool

	// optional
	PageControllerDidTransitionToObject(pageController PageController, object objc.Object)
	HasPageControllerDidTransitionToObject() bool
}

The NSPageControllerDelegate protocol allows you to customize the behavior of instances of the NSPageController class. Full Topic

type PPasteboardItemDataProvider

type PPasteboardItemDataProvider interface {
	// optional
	PasteboardFinishedWithDataProvider(pasteboard Pasteboard)
	HasPasteboardFinishedWithDataProvider() bool

	// optional
	PasteboardItemProvideDataForType(pasteboard Pasteboard, item PasteboardItem, type_ PasteboardType)
	HasPasteboardItemProvideDataForType() bool
}

A set of methods implemented by the data provider of a pasteboard item to provide the data for a particular UTI type. Full Topic

type PPasteboardReading

type PPasteboardReading interface {
	// optional
	InitWithPasteboardPropertyListOfType(propertyList objc.Object, type_ PasteboardType) objc.IObject
	HasInitWithPasteboardPropertyListOfType() bool
}

A set of methods that defines the interface for initializing an object from a pasteboard. Full Topic

type PPasteboardTypeOwner

type PPasteboardTypeOwner interface {
	// optional
	PasteboardChangedOwner(sender Pasteboard)
	HasPasteboardChangedOwner() bool

	// optional
	PasteboardProvideDataForType(sender Pasteboard, type_ PasteboardType)
	HasPasteboardProvideDataForType() bool
}

An object that serves as a data provider for data types that use lazy data fulfillment from a pasteboard request. Full Topic

type PPasteboardWriting

type PPasteboardWriting interface {
	// optional
	WritableTypesForPasteboard(pasteboard Pasteboard) []PasteboardType
	HasWritableTypesForPasteboard() bool

	// optional
	PasteboardPropertyListForType(type_ PasteboardType) objc.IObject
	HasPasteboardPropertyListForType() bool

	// optional
	WritingOptionsForTypePasteboard(type_ PasteboardType, pasteboard Pasteboard) PasteboardWritingOptions
	HasWritingOptionsForTypePasteboard() bool
}

A set of methods that defines the interface for retrieving a representation of an object that can be written to a pasteboard. Full Topic

type PPathCellDelegate

type PPathCellDelegate interface {
	// optional
	PathCellWillPopUpMenu(pathCell PathCell, menu Menu)
	HasPathCellWillPopUpMenu() bool
}

A set of methods that enable the delegate of a path cell object to customize the Open panel or pop-up menu of a path whose style is set to appkit/nspathstyle/nspathstylepopup. Full Topic

type PPathControlDelegate

type PPathControlDelegate interface {
	// optional
	PathControlShouldDragItemWithPasteboard(pathControl PathControl, pathItem PathControlItem, pasteboard Pasteboard) bool
	HasPathControlShouldDragItemWithPasteboard() bool
}

A set of methods that can be implemented by the delegate of a path control object to support dragging to and from the control. Full Topic

type PPopoverDelegate

type PPopoverDelegate interface {
	// optional
	PopoverWillShow(notification foundation.Notification)
	HasPopoverWillShow() bool

	// optional
	PopoverWillClose(notification foundation.Notification)
	HasPopoverWillClose() bool

	// optional
	PopoverDidShow(notification foundation.Notification)
	HasPopoverDidShow() bool

	// optional
	PopoverDidDetach(popover Popover)
	HasPopoverDidDetach() bool

	// optional
	DetachableWindowForPopover(popover Popover) IWindow
	HasDetachableWindowForPopover() bool

	// optional
	PopoverDidClose(notification foundation.Notification)
	HasPopoverDidClose() bool

	// optional
	PopoverShouldClose(popover Popover) bool
	HasPopoverShouldClose() bool

	// optional
	PopoverShouldDetach(popover Popover) bool
	HasPopoverShouldDetach() bool
}

A set of optional methods that a popover delegate can implement to provide additional or custom functionality. Full Topic

type PPrintPanelAccessorizing

type PPrintPanelAccessorizing interface {
	// optional
	KeyPathsForValuesAffectingPreview() foundation.ISet
	HasKeyPathsForValuesAffectingPreview() bool

	// optional
	LocalizedSummaryItems() []map[PrintPanelAccessorySummaryKey]string
	HasLocalizedSummaryItems() bool
}

A set of methods that a Print panel object can use to get information from a printing accessory controller. Full Topic

type PRuleEditorDelegate

type PRuleEditorDelegate interface {
	// optional
	RuleEditorNumberOfChildrenForCriterionWithRowType(editor RuleEditor, criterion objc.Object, rowType RuleEditorRowType) int
	HasRuleEditorNumberOfChildrenForCriterionWithRowType() bool

	// optional
	RuleEditorRowsDidChange(notification foundation.Notification)
	HasRuleEditorRowsDidChange() bool
}

The NSRuleEditorDelegate protocol defines the optional methods implemented by delegates of NSRuleEditor objects. Full Topic

type PScrubberDataSource

type PScrubberDataSource interface {
	// optional
	ScrubberViewForItemAtIndex(scrubber Scrubber, index int) IScrubberItemView
	HasScrubberViewForItemAtIndex() bool

	// optional
	NumberOfItemsForScrubber(scrubber Scrubber) int
	HasNumberOfItemsForScrubber() bool
}

A set of methods that a scrubber data source object implements to provide items to the scrubber from an associated data collection in your app. Full Topic

type PScrubberDelegate

type PScrubberDelegate interface {
	// optional
	DidFinishInteractingWithScrubber(scrubber Scrubber)
	HasDidFinishInteractingWithScrubber() bool

	// optional
	ScrubberDidSelectItemAtIndex(scrubber Scrubber, selectedIndex int)
	HasScrubberDidSelectItemAtIndex() bool

	// optional
	DidBeginInteractingWithScrubber(scrubber Scrubber)
	HasDidBeginInteractingWithScrubber() bool

	// optional
	DidCancelInteractingWithScrubber(scrubber Scrubber)
	HasDidCancelInteractingWithScrubber() bool
}

A set of methods that a scrubber delegate implements to respond to user interactions. Full Topic

type PScrubberFlowLayoutDelegate

type PScrubberFlowLayoutDelegate interface {
	// optional
	ScrubberLayoutSizeForItemAtIndex(scrubber Scrubber, layout ScrubberFlowLayout, itemIndex int) foundation.Size
	HasScrubberLayoutSizeForItemAtIndex() bool
}

A protocol that a scrubber delegate can adopt to provide the size of an item. Full Topic

type PSearchFieldDelegate

type PSearchFieldDelegate interface {
	PTextFieldDelegate
	// optional
	SearchFieldDidStartSearching(sender SearchField)
	HasSearchFieldDidStartSearching() bool

	// optional
	SearchFieldDidEndSearching(sender SearchField)
	HasSearchFieldDidEndSearching() bool
}

A protocol that a search field delegate can use to determine when a search started or ended. Full Topic

type PSeguePerforming

type PSeguePerforming interface {
	// optional
	PerformSegueWithIdentifierSender(identifier StoryboardSegueIdentifier, sender objc.Object)
	HasPerformSegueWithIdentifierSender() bool

	// optional
	ShouldPerformSegueWithIdentifierSender(identifier StoryboardSegueIdentifier, sender objc.Object) bool
	HasShouldPerformSegueWithIdentifierSender() bool

	// optional
	PrepareForSegueSender(segue StoryboardSegue, sender objc.Object)
	HasPrepareForSegueSender() bool
}

A set of methods that support the mediation of a custom segue. Full Topic

type PServicesMenuRequestor

type PServicesMenuRequestor interface {
	// optional
	ReadSelectionFromPasteboard(pboard Pasteboard) bool
	HasReadSelectionFromPasteboard() bool

	// optional
	WriteSelectionToPasteboardTypes(pboard Pasteboard, types []PasteboardType) bool
	HasWriteSelectionToPasteboardTypes() bool
}

A set of methods that support interaction with items users can share through a sharing service. Full Topic

type PSharingServiceDelegate

type PSharingServiceDelegate interface {
	// optional
	SharingServiceDidShareItems(sharingService SharingService, items []objc.Object)
	HasSharingServiceDidShareItems() bool

	// optional
	AnchoringViewForSharingServiceShowRelativeToRectPreferredEdge(sharingService SharingService, positioningRect *foundation.Rect, preferredEdge *foundation.RectEdge) IView
	HasAnchoringViewForSharingServiceShowRelativeToRectPreferredEdge() bool
}

A set of methods that you use to customize the position and animation of a share sheet, and to be notified whether the item is successfully shared. Full Topic

type PSharingServicePickerDelegate

type PSharingServicePickerDelegate interface {
	// optional
	SharingServicePickerDidChooseSharingService(sharingServicePicker SharingServicePicker, service SharingService)
	HasSharingServicePickerDidChooseSharingService() bool
}

An interface for managing content for the macOS share sheet. Full Topic

type PSharingServicePickerToolbarItemDelegate

type PSharingServicePickerToolbarItemDelegate interface {
	// optional
	ItemsForSharingServicePickerToolbarItem(pickerToolbarItem SharingServicePickerToolbarItem) []objc.IObject
	HasItemsForSharingServicePickerToolbarItem() bool
}

An interface that provides the content to share from the macOS share sheet. Full Topic

type PSharingServicePickerTouchBarItemDelegate

type PSharingServicePickerTouchBarItemDelegate interface {
	// optional
	ItemsForSharingServicePickerTouchBarItem(pickerTouchBarItem SharingServicePickerTouchBarItem) []objc.IObject
	HasItemsForSharingServicePickerTouchBarItem() bool
}

A protocol that a sharing service picker item delegate uses to provide a list of items eligible for sharing. Full Topic

type PSoundDelegate

type PSoundDelegate interface {
	// optional
	SoundDidFinishPlaying(sound Sound, flag bool)
	HasSoundDidFinishPlaying() bool
}

A set of optional methods implemented by delegates of NSSound objects. Full Topic

type PSpeechRecognizerDelegate

type PSpeechRecognizerDelegate interface {
	// optional
	SpeechRecognizerDidRecognizeCommand(sender SpeechRecognizer, command string)
	HasSpeechRecognizerDidRecognizeCommand() bool
}

A set of optional methods implemented by delegates of NSSpeechRecognizer objects. Full Topic

type PSpeechSynthesizerDelegate

type PSpeechSynthesizerDelegate interface {
}

A set of optional methods implemented by delegates of NSSpeechSynthesizer objects. Full Topic

type PSplitViewDelegate

type PSplitViewDelegate interface {
	// optional
	SplitViewWillResizeSubviews(notification foundation.Notification)
	HasSplitViewWillResizeSubviews() bool

	// optional
	SplitViewDidResizeSubviews(notification foundation.Notification)
	HasSplitViewDidResizeSubviews() bool

	// optional
	SplitViewShouldHideDividerAtIndex(splitView SplitView, dividerIndex int) bool
	HasSplitViewShouldHideDividerAtIndex() bool
}

A set of optional methods that a delegate of a split view implements. Full Topic

type PSpringLoadingDestination

type PSpringLoadingDestination interface {
	// optional
	SpringLoadingUpdated(draggingInfo DraggingInfoWrapper) SpringLoadingOptions
	HasSpringLoadingUpdated() bool

	// optional
	SpringLoadingEntered(draggingInfo DraggingInfoWrapper) SpringLoadingOptions
	HasSpringLoadingEntered() bool

	// optional
	DraggingEnded(draggingInfo DraggingInfoWrapper)
	HasDraggingEnded() bool

	// optional
	SpringLoadingHighlightChanged(draggingInfo DraggingInfoWrapper)
	HasSpringLoadingHighlightChanged() bool

	// optional
	SpringLoadingActivatedDraggingInfo(activated bool, draggingInfo DraggingInfoWrapper)
	HasSpringLoadingActivatedDraggingInfo() bool

	// optional
	SpringLoadingExited(draggingInfo DraggingInfoWrapper)
	HasSpringLoadingExited() bool
}

A set of methods that the destination object (or recipient) of a dragged object can implement to support spring-loading. Full Topic

type PStackViewDelegate

type PStackViewDelegate interface {
	// optional
	StackViewDidReattachViews(stackView StackView, views []View)
	HasStackViewDidReattachViews() bool
}

A set of methods you use to respond to a stack view detaching and reattaching views. Full Topic

type PStandardKeyBindingResponding

type PStandardKeyBindingResponding interface {
	// optional
	InsertParagraphSeparator(sender objc.Object)
	HasInsertParagraphSeparator() bool

	// optional
	MoveLeftAndModifySelection(sender objc.Object)
	HasMoveLeftAndModifySelection() bool

	// optional
	InsertContainerBreak(sender objc.Object)
	HasInsertContainerBreak() bool

	// optional
	CapitalizeWord(sender objc.Object)
	HasCapitalizeWord() bool

	// optional
	InsertLineBreak(sender objc.Object)
	HasInsertLineBreak() bool

	// optional
	MoveToRightEndOfLine(sender objc.Object)
	HasMoveToRightEndOfLine() bool

	// optional
	MoveRight(sender objc.Object)
	HasMoveRight() bool

	// optional
	InsertText(insertString objc.Object)
	HasInsertText() bool

	// optional
	InsertSingleQuoteIgnoringSubstitution(sender objc.Object)
	HasInsertSingleQuoteIgnoringSubstitution() bool

	// optional
	MoveWordBackward(sender objc.Object)
	HasMoveWordBackward() bool

	// optional
	MoveToEndOfDocument(sender objc.Object)
	HasMoveToEndOfDocument() bool

	// optional
	SelectWord(sender objc.Object)
	HasSelectWord() bool

	// optional
	MoveToEndOfParagraph(sender objc.Object)
	HasMoveToEndOfParagraph() bool

	// optional
	ScrollToEndOfDocument(sender objc.Object)
	HasScrollToEndOfDocument() bool

	// optional
	DeleteForward(sender objc.Object)
	HasDeleteForward() bool

	// optional
	MoveForwardAndModifySelection(sender objc.Object)
	HasMoveForwardAndModifySelection() bool

	// optional
	DeleteToEndOfLine(sender objc.Object)
	HasDeleteToEndOfLine() bool

	// optional
	MoveToEndOfLine(sender objc.Object)
	HasMoveToEndOfLine() bool

	// optional
	QuickLookPreviewItems(sender objc.Object)
	HasQuickLookPreviewItems() bool

	// optional
	MakeTextWritingDirectionRightToLeft(sender objc.Object)
	HasMakeTextWritingDirectionRightToLeft() bool

	// optional
	SelectParagraph(sender objc.Object)
	HasSelectParagraph() bool

	// optional
	MoveToBeginningOfDocumentAndModifySelection(sender objc.Object)
	HasMoveToBeginningOfDocumentAndModifySelection() bool

	// optional
	ScrollLineDown(sender objc.Object)
	HasScrollLineDown() bool

	// optional
	DeleteToBeginningOfLine(sender objc.Object)
	HasDeleteToBeginningOfLine() bool

	// optional
	MoveUpAndModifySelection(sender objc.Object)
	HasMoveUpAndModifySelection() bool

	// optional
	DeleteWordForward(sender objc.Object)
	HasDeleteWordForward() bool

	// optional
	DeleteToMark(sender objc.Object)
	HasDeleteToMark() bool

	// optional
	MoveWordForward(sender objc.Object)
	HasMoveWordForward() bool

	// optional
	InsertNewline(sender objc.Object)
	HasInsertNewline() bool

	// optional
	DeleteBackwardByDecomposingPreviousCharacter(sender objc.Object)
	HasDeleteBackwardByDecomposingPreviousCharacter() bool

	// optional
	MoveDownAndModifySelection(sender objc.Object)
	HasMoveDownAndModifySelection() bool

	// optional
	MoveBackwardAndModifySelection(sender objc.Object)
	HasMoveBackwardAndModifySelection() bool

	// optional
	MoveWordLeftAndModifySelection(sender objc.Object)
	HasMoveWordLeftAndModifySelection() bool

	// optional
	MoveUp(sender objc.Object)
	HasMoveUp() bool

	// optional
	MoveToBeginningOfLine(sender objc.Object)
	HasMoveToBeginningOfLine() bool

	// optional
	PageDown(sender objc.Object)
	HasPageDown() bool

	// optional
	InsertTabIgnoringFieldEditor(sender objc.Object)
	HasInsertTabIgnoringFieldEditor() bool

	// optional
	SelectAll(sender objc.Object)
	HasSelectAll() bool

	// optional
	Transpose(sender objc.Object)
	HasTranspose() bool

	// optional
	DeleteToEndOfParagraph(sender objc.Object)
	HasDeleteToEndOfParagraph() bool

	// optional
	MoveBackward(sender objc.Object)
	HasMoveBackward() bool

	// optional
	MakeBaseWritingDirectionRightToLeft(sender objc.Object)
	HasMakeBaseWritingDirectionRightToLeft() bool

	// optional
	ScrollToBeginningOfDocument(sender objc.Object)
	HasScrollToBeginningOfDocument() bool

	// optional
	MoveWordLeft(sender objc.Object)
	HasMoveWordLeft() bool

	// optional
	SelectToMark(sender objc.Object)
	HasSelectToMark() bool

	// optional
	DeleteToBeginningOfParagraph(sender objc.Object)
	HasDeleteToBeginningOfParagraph() bool

	// optional
	MoveLeft(sender objc.Object)
	HasMoveLeft() bool

	// optional
	SelectLine(sender objc.Object)
	HasSelectLine() bool

	// optional
	MakeTextWritingDirectionNatural(sender objc.Object)
	HasMakeTextWritingDirectionNatural() bool

	// optional
	MoveToBeginningOfParagraph(sender objc.Object)
	HasMoveToBeginningOfParagraph() bool

	// optional
	MoveToBeginningOfParagraphAndModifySelection(sender objc.Object)
	HasMoveToBeginningOfParagraphAndModifySelection() bool

	// optional
	TransposeWords(sender objc.Object)
	HasTransposeWords() bool

	// optional
	MakeBaseWritingDirectionLeftToRight(sender objc.Object)
	HasMakeBaseWritingDirectionLeftToRight() bool

	// optional
	Complete(sender objc.Object)
	HasComplete() bool

	// optional
	MoveParagraphBackwardAndModifySelection(sender objc.Object)
	HasMoveParagraphBackwardAndModifySelection() bool

	// optional
	PageUp(sender objc.Object)
	HasPageUp() bool

	// optional
	MoveWordRightAndModifySelection(sender objc.Object)
	HasMoveWordRightAndModifySelection() bool

	// optional
	InsertDoubleQuoteIgnoringSubstitution(sender objc.Object)
	HasInsertDoubleQuoteIgnoringSubstitution() bool

	// optional
	DeleteWordBackward(sender objc.Object)
	HasDeleteWordBackward() bool

	// optional
	UppercaseWord(sender objc.Object)
	HasUppercaseWord() bool

	// optional
	CenterSelectionInVisibleArea(sender objc.Object)
	HasCenterSelectionInVisibleArea() bool

	// optional
	Yank(sender objc.Object)
	HasYank() bool

	// optional
	MoveToRightEndOfLineAndModifySelection(sender objc.Object)
	HasMoveToRightEndOfLineAndModifySelection() bool

	// optional
	CancelOperation(sender objc.Object)
	HasCancelOperation() bool

	// optional
	MoveRightAndModifySelection(sender objc.Object)
	HasMoveRightAndModifySelection() bool

	// optional
	InsertNewlineIgnoringFieldEditor(sender objc.Object)
	HasInsertNewlineIgnoringFieldEditor() bool

	// optional
	MoveWordRight(sender objc.Object)
	HasMoveWordRight() bool

	// optional
	MoveForward(sender objc.Object)
	HasMoveForward() bool

	// optional
	ChangeCaseOfLetter(sender objc.Object)
	HasChangeCaseOfLetter() bool

	// optional
	ScrollPageUp(sender objc.Object)
	HasScrollPageUp() bool

	// optional
	InsertBacktab(sender objc.Object)
	HasInsertBacktab() bool

	// optional
	InsertTab(sender objc.Object)
	HasInsertTab() bool

	// optional
	MoveDown(sender objc.Object)
	HasMoveDown() bool

	// optional
	PageDownAndModifySelection(sender objc.Object)
	HasPageDownAndModifySelection() bool

	// optional
	MoveToLeftEndOfLineAndModifySelection(sender objc.Object)
	HasMoveToLeftEndOfLineAndModifySelection() bool

	// optional
	ScrollLineUp(sender objc.Object)
	HasScrollLineUp() bool

	// optional
	DoCommandBySelector(selector objc.Selector)
	HasDoCommandBySelector() bool

	// optional
	SwapWithMark(sender objc.Object)
	HasSwapWithMark() bool

	// optional
	MoveToLeftEndOfLine(sender objc.Object)
	HasMoveToLeftEndOfLine() bool

	// optional
	DeleteBackward(sender objc.Object)
	HasDeleteBackward() bool

	// optional
	MakeTextWritingDirectionLeftToRight(sender objc.Object)
	HasMakeTextWritingDirectionLeftToRight() bool

	// optional
	MoveWordBackwardAndModifySelection(sender objc.Object)
	HasMoveWordBackwardAndModifySelection() bool

	// optional
	ScrollPageDown(sender objc.Object)
	HasScrollPageDown() bool

	// optional
	SetMark(sender objc.Object)
	HasSetMark() bool

	// optional
	MoveWordForwardAndModifySelection(sender objc.Object)
	HasMoveWordForwardAndModifySelection() bool

	// optional
	PageUpAndModifySelection(sender objc.Object)
	HasPageUpAndModifySelection() bool

	// optional
	MoveToBeginningOfDocument(sender objc.Object)
	HasMoveToBeginningOfDocument() bool

	// optional
	MoveToBeginningOfLineAndModifySelection(sender objc.Object)
	HasMoveToBeginningOfLineAndModifySelection() bool

	// optional
	LowercaseWord(sender objc.Object)
	HasLowercaseWord() bool

	// optional
	MoveToEndOfDocumentAndModifySelection(sender objc.Object)
	HasMoveToEndOfDocumentAndModifySelection() bool

	// optional
	MoveToEndOfLineAndModifySelection(sender objc.Object)
	HasMoveToEndOfLineAndModifySelection() bool

	// optional
	Indent(sender objc.Object)
	HasIndent() bool

	// optional
	MakeBaseWritingDirectionNatural(sender objc.Object)
	HasMakeBaseWritingDirectionNatural() bool

	// optional
	MoveParagraphForwardAndModifySelection(sender objc.Object)
	HasMoveParagraphForwardAndModifySelection() bool

	// optional
	MoveToEndOfParagraphAndModifySelection(sender objc.Object)
	HasMoveToEndOfParagraphAndModifySelection() bool
}

Methods that responder subclasses implement to support key binding commands, such as inserting tabs and newlines, or moving the insertion point. Full Topic

type PTabViewDelegate

type PTabViewDelegate interface {
	// optional
	TabViewDidChangeNumberOfTabViewItems(tabView TabView)
	HasTabViewDidChangeNumberOfTabViewItems() bool

	// optional
	TabViewDidSelectTabViewItem(tabView TabView, tabViewItem TabViewItem)
	HasTabViewDidSelectTabViewItem() bool
}

The NSTabViewDelegate protocol defines the optional methods implemented by delegates of NSTabView objects. Full Topic

type PTableViewDataSource

type PTableViewDataSource interface {
	// optional
	NumberOfRowsInTableView(tableView TableView) int
	HasNumberOfRowsInTableView() bool

	// optional
	TableViewSortDescriptorsDidChange(tableView TableView, oldDescriptors []foundation.SortDescriptor)
	HasTableViewSortDescriptorsDidChange() bool
}

A set of methods that a table view uses to provide data to a table view and to allow the editing of the table view's data source object. Full Topic

type PTableViewDelegate

type PTableViewDelegate interface {
	PControlTextEditingDelegate
	// optional
	TableViewSelectionDidChange(notification foundation.Notification)
	HasTableViewSelectionDidChange() bool

	// optional
	TableViewColumnDidResize(notification foundation.Notification)
	HasTableViewColumnDidResize() bool

	// optional
	TableViewSelectionIsChanging(notification foundation.Notification)
	HasTableViewSelectionIsChanging() bool

	// optional
	TableViewDidClickTableColumn(tableView TableView, tableColumn TableColumn)
	HasTableViewDidClickTableColumn() bool

	// optional
	SelectionShouldChangeInTableView(tableView TableView) bool
	HasSelectionShouldChangeInTableView() bool

	// optional
	TableViewColumnDidMove(notification foundation.Notification)
	HasTableViewColumnDidMove() bool
}

A set of optional methods you implement in a table view delegate to customize the behavior of the table view. Full Topic

type PTextAttachmentContainer

type PTextAttachmentContainer interface {
	// optional
	ImageForBoundsTextContainerCharacterIndex(imageBounds coregraphics.Rect, textContainer TextContainer, charIndex uint) IImage
	HasImageForBoundsTextContainerCharacterIndex() bool

	// optional
	AttachmentBoundsForTextContainerProposedLineFragmentGlyphPositionCharacterIndex(textContainer TextContainer, lineFrag coregraphics.Rect, position coregraphics.Point, charIndex uint) coregraphics.Rect
	HasAttachmentBoundsForTextContainerProposedLineFragmentGlyphPositionCharacterIndex() bool
}

A set of methods that defines the interface to text attachment objects from a layout manager. Full Topic

type PTextAttachmentLayout

type PTextAttachmentLayout interface {
	// optional
	ImageForBoundsAttributesLocationTextContainer(bounds coregraphics.Rect, attributes map[foundation.AttributedStringKey]objc.Object, location TextLocationWrapper, textContainer TextContainer) IImage
	HasImageForBoundsAttributesLocationTextContainer() bool

	// optional
	AttachmentBoundsForAttributesLocationTextContainerProposedLineFragmentPosition(attributes map[foundation.AttributedStringKey]objc.Object, location TextLocationWrapper, textContainer TextContainer, proposedLineFragment coregraphics.Rect, position coregraphics.Point) coregraphics.Rect
	HasAttachmentBoundsForAttributesLocationTextContainerProposedLineFragmentPosition() bool

	// optional
	ViewProviderForParentViewLocationTextContainer(parentView View, location TextLocationWrapper, textContainer TextContainer) ITextAttachmentViewProvider
	HasViewProviderForParentViewLocationTextContainer() bool
}

A set of methods that define the interface to attachment objects from a text layout manager. Full Topic

type PTextCheckingClient

type PTextCheckingClient interface {
	// optional
	RemoveAnnotationRange(annotationName foundation.AttributedStringKey, range_ foundation.Range)
	HasRemoveAnnotationRange() bool

	// optional
	ViewForRangeFirstRectActualRange(range_ foundation.Range, firstRect foundation.RectPointer, actualRange foundation.RangePointer) IView
	HasViewForRangeFirstRectActualRange() bool

	// optional
	AddAnnotationsRange(annotations map[foundation.AttributedStringKey]string, range_ foundation.Range)
	HasAddAnnotationsRange() bool

	// optional
	SetAnnotationsRange(annotations map[foundation.AttributedStringKey]string, range_ foundation.Range)
	HasSetAnnotationsRange() bool

	// optional
	CandidateListTouchBarItem() ICandidateListTouchBarItem
	HasCandidateListTouchBarItem() bool

	// optional
	ReplaceCharactersInRangeWithAnnotatedString(range_ foundation.Range, annotatedString foundation.AttributedString)
	HasReplaceCharactersInRangeWithAnnotatedString() bool

	// optional
	AnnotatedSubstringForProposedRangeActualRange(range_ foundation.Range, actualRange foundation.RangePointer) foundation.IAttributedString
	HasAnnotatedSubstringForProposedRangeActualRange() bool

	// optional
	SelectAndShowRange(range_ foundation.Range)
	HasSelectAndShowRange() bool
}
[Full Topic]

type PTextContent

type PTextContent interface {
	// optional
	SetContentType(value TextContentType)
	HasSetContentType() bool

	// optional
	ContentType() TextContentType
	HasContentType() bool
}

A protocol that describes specific kinds of input content types. Full Topic

type PTextContentManagerDelegate

type PTextContentManagerDelegate interface {
	// optional
	TextContentManagerTextElementAtLocation(textContentManager TextContentManager, location TextLocationWrapper) ITextElement
	HasTextContentManagerTextElementAtLocation() bool
}

The optional methods that delegates of content manager objects implement for customizing or validating text elements. Full Topic

type PTextContentStorageDelegate

type PTextContentStorageDelegate interface {
	// optional
	TextContentStorageTextParagraphWithRange(textContentStorage TextContentStorage, range_ foundation.Range) ITextParagraph
	HasTextContentStorageTextParagraphWithRange() bool
}

The optional methods that delegates of content storage objects implement to handle content processing. Full Topic

type PTextDelegate

type PTextDelegate interface {
	// optional
	TextShouldBeginEditing(textObject Text) bool
	HasTextShouldBeginEditing() bool

	// optional
	TextDidChange(notification foundation.Notification)
	HasTextDidChange() bool

	// optional
	TextDidBeginEditing(notification foundation.Notification)
	HasTextDidBeginEditing() bool

	// optional
	TextShouldEndEditing(textObject Text) bool
	HasTextShouldEndEditing() bool

	// optional
	TextDidEndEditing(notification foundation.Notification)
	HasTextDidEndEditing() bool
}

A set of optional methods implemented by the delegate of an NSText object to edit text and change text formats. Full Topic

type PTextElementProvider

type PTextElementProvider interface {
	// optional
	ReplaceContentsInRangeWithTextElements(range_ TextRange, textElements []TextElement)
	HasReplaceContentsInRangeWithTextElements() bool

	// optional
	AdjustedRangeFromRangeForEditingTextSelection(textRange TextRange, forEditingTextSelection bool) ITextRange
	HasAdjustedRangeFromRangeForEditingTextSelection() bool

	// optional
	EnumerateTextElementsFromLocationOptionsUsingBlock(textLocation TextLocationWrapper, options TextContentManagerEnumerationOptions, block func(element TextElement) bool) PTextLocation
	HasEnumerateTextElementsFromLocationOptionsUsingBlock() bool

	// optional
	OffsetFromLocationToLocation(from TextLocationWrapper, to TextLocationWrapper) int
	HasOffsetFromLocationToLocation() bool

	// optional
	SynchronizeToBackingStore(completionHandler func(error foundation.Error))
	HasSynchronizeToBackingStore() bool

	// optional
	LocationFromLocationWithOffset(location TextLocationWrapper, offset int) PTextLocation
	HasLocationFromLocationWithOffset() bool

	// optional
	DocumentRange() ITextRange
	HasDocumentRange() bool
}

A protocol the text content manager and its concrete subclasses conform to which defines the interface for interacting with custom content types of a text document. Full Topic

type PTextFieldDelegate

type PTextFieldDelegate interface {
	PControlTextEditingDelegate
	// optional
	TextFieldTextViewShouldSelectCandidateAtIndex(textField TextField, textView TextView, index uint) bool
	HasTextFieldTextViewShouldSelectCandidateAtIndex() bool
}

A protocol that a text field delegate can use to control its field editor action menu. Full Topic

type PTextFinderBarContainer

type PTextFinderBarContainer interface {
	// optional
	ContentView() IView
	HasContentView() bool

	// optional
	FindBarViewDidChangeHeight()
	HasFindBarViewDidChangeHeight() bool

	// optional
	SetFindBarVisible(value bool)
	HasSetFindBarVisible() bool

	// optional
	IsFindBarVisible() bool
	HasIsFindBarVisible() bool

	// optional
	SetFindBarView(value View)
	HasSetFindBarView() bool

	// optional
	FindBarView() IView
	HasFindBarView() bool
}

A protocol that provides a container in which the find bar is displayed. Full Topic

type PTextFinderClient

type PTextFinderClient interface {
	// optional
	DidReplaceCharacters()
	HasDidReplaceCharacters() bool

	// optional
	ScrollRangeToVisible(range_ foundation.Range)
	HasScrollRangeToVisible() bool

	// optional
	DrawCharactersInRangeForContentView(range_ foundation.Range, view View)
	HasDrawCharactersInRangeForContentView() bool

	// optional
	StringAtIndexEffectiveRangeEndsWithSearchBoundary(characterIndex uint, outRange foundation.RangePointer, outFlag *bool) string
	HasStringAtIndexEffectiveRangeEndsWithSearchBoundary() bool

	// optional
	StringLength() uint
	HasStringLength() bool

	// optional
	ShouldReplaceCharactersInRangesWithStrings(ranges []foundation.Value, strings []string) bool
	HasShouldReplaceCharactersInRangesWithStrings() bool

	// optional
	ReplaceCharactersInRangeWithString(range_ foundation.Range, string_ string)
	HasReplaceCharactersInRangeWithString() bool

	// optional
	RectsForCharacterRange(range_ foundation.Range) []foundation.IValue
	HasRectsForCharacterRange() bool

	// optional
	ContentViewAtIndexEffectiveCharacterRange(index uint, outRange foundation.RangePointer) IView
	HasContentViewAtIndexEffectiveCharacterRange() bool

	// optional
	IsEditable() bool
	HasIsEditable() bool

	// optional
	FirstSelectedRange() foundation.Range
	HasFirstSelectedRange() bool

	// optional
	VisibleCharacterRanges() []foundation.IValue
	HasVisibleCharacterRanges() bool

	// optional
	IsSelectable() bool
	HasIsSelectable() bool

	// optional
	String() string
	HasString() bool

	// optional
	AllowsMultipleSelection() bool
	HasAllowsMultipleSelection() bool

	// optional
	SetSelectedRanges(value []foundation.Value)
	HasSetSelectedRanges() bool

	// optional
	SelectedRanges() []foundation.IValue
	HasSelectedRanges() bool
}

A set of methods implemented by objects that support searching using the NSTextFinder class and the in-window text find bar. Full Topic

type PTextInput

type PTextInput interface {
}

A set of methods that text views need to implement to interact properly with the text input management system. Full Topic

type PTextInputClient

type PTextInputClient interface {
	// optional
	InsertTextReplacementRange(string_ objc.Object, replacementRange foundation.Range)
	HasInsertTextReplacementRange() bool

	// optional
	HasMarkedText() bool
	HasHasMarkedText() bool

	// optional
	DrawsVerticallyForCharacterAtIndex(charIndex uint) bool
	HasDrawsVerticallyForCharacterAtIndex() bool

	// optional
	AttributedString() foundation.IAttributedString
	HasAttributedString() bool

	// optional
	CharacterIndexForPoint(point foundation.Point) uint
	HasCharacterIndexForPoint() bool

	// optional
	UnmarkText()
	HasUnmarkText() bool

	// optional
	SelectedRange() foundation.Range
	HasSelectedRange() bool

	// optional
	MarkedRange() foundation.Range
	HasMarkedRange() bool

	// optional
	SetMarkedTextSelectedRangeReplacementRange(string_ objc.Object, selectedRange foundation.Range, replacementRange foundation.Range)
	HasSetMarkedTextSelectedRangeReplacementRange() bool

	// optional
	WindowLevel() int
	HasWindowLevel() bool

	// optional
	BaselineDeltaForCharacterAtIndex(anIndex uint) float64
	HasBaselineDeltaForCharacterAtIndex() bool

	// optional
	AttributedSubstringForProposedRangeActualRange(range_ foundation.Range, actualRange foundation.RangePointer) foundation.IAttributedString
	HasAttributedSubstringForProposedRangeActualRange() bool

	// optional
	FirstRectForCharacterRangeActualRange(range_ foundation.Range, actualRange foundation.RangePointer) foundation.Rect
	HasFirstRectForCharacterRangeActualRange() bool

	// optional
	DoCommandBySelector(selector objc.Selector)
	HasDoCommandBySelector() bool

	// optional
	FractionOfDistanceThroughGlyphForPoint(point foundation.Point) float64
	HasFractionOfDistanceThroughGlyphForPoint() bool

	// optional
	ValidAttributesForMarkedText() []foundation.AttributedStringKey
	HasValidAttributesForMarkedText() bool
}

A set of methods that text views need to implement to interact properly with the text input management system. Full Topic

type PTextInputTraits

type PTextInputTraits interface {
	// optional
	SetTextCompletionType(value TextInputTraitType)
	HasSetTextCompletionType() bool

	// optional
	TextCompletionType() TextInputTraitType
	HasTextCompletionType() bool

	// optional
	SetSmartQuotesType(value TextInputTraitType)
	HasSetSmartQuotesType() bool

	// optional
	SmartQuotesType() TextInputTraitType
	HasSmartQuotesType() bool

	// optional
	SetGrammarCheckingType(value TextInputTraitType)
	HasSetGrammarCheckingType() bool

	// optional
	GrammarCheckingType() TextInputTraitType
	HasGrammarCheckingType() bool

	// optional
	SetSpellCheckingType(value TextInputTraitType)
	HasSetSpellCheckingType() bool

	// optional
	SpellCheckingType() TextInputTraitType
	HasSpellCheckingType() bool

	// optional
	SetAutocorrectionType(value TextInputTraitType)
	HasSetAutocorrectionType() bool

	// optional
	AutocorrectionType() TextInputTraitType
	HasAutocorrectionType() bool

	// optional
	SetSmartDashesType(value TextInputTraitType)
	HasSetSmartDashesType() bool

	// optional
	SmartDashesType() TextInputTraitType
	HasSmartDashesType() bool

	// optional
	SetSmartInsertDeleteType(value TextInputTraitType)
	HasSetSmartInsertDeleteType() bool

	// optional
	SmartInsertDeleteType() TextInputTraitType
	HasSmartInsertDeleteType() bool

	// optional
	SetLinkDetectionType(value TextInputTraitType)
	HasSetLinkDetectionType() bool

	// optional
	LinkDetectionType() TextInputTraitType
	HasLinkDetectionType() bool

	// optional
	SetTextReplacementType(value TextInputTraitType)
	HasSetTextReplacementType() bool

	// optional
	TextReplacementType() TextInputTraitType
	HasTextReplacementType() bool

	// optional
	SetDataDetectionType(value TextInputTraitType)
	HasSetDataDetectionType() bool

	// optional
	DataDetectionType() TextInputTraitType
	HasDataDetectionType() bool
}
[Full Topic]

type PTextLayoutManagerDelegate

type PTextLayoutManagerDelegate interface {
	// optional
	TextLayoutManagerShouldBreakLineBeforeLocationHyphenating(textLayoutManager TextLayoutManager, location TextLocationWrapper, hyphenating bool) bool
	HasTextLayoutManagerShouldBreakLineBeforeLocationHyphenating() bool
}

Optional methods that delegates implement to respond to layout changes. Full Topic

type PTextLayoutOrientationProvider

type PTextLayoutOrientationProvider interface {
	// optional
	LayoutOrientation() TextLayoutOrientation
	HasLayoutOrientation() bool
}

A set of methods that define the orientation of text for an object. Full Topic

type PTextLocation

type PTextLocation interface {
	// optional
	Compare(location TextLocationWrapper) foundation.ComparisonResult
	HasCompare() bool
}

An interface you implement that represents an abstract location inside your document’s content. Full Topic

type PTextSelectionDataSource

type PTextSelectionDataSource interface {
	// optional
	BaseWritingDirectionAtLocation(location TextLocationWrapper) TextSelectionNavigationWritingDirection
	HasBaseWritingDirectionAtLocation() bool

	// optional
	LineFragmentRangeForPointInContainerAtLocation(point coregraphics.Point, location TextLocationWrapper) ITextRange
	HasLineFragmentRangeForPointInContainerAtLocation() bool

	// optional
	EnumerateContainerBoundariesFromLocationReverseUsingBlock(location TextLocationWrapper, reverse bool, block func(boundaryLocation TextLocationWrapper, stop *bool))
	HasEnumerateContainerBoundariesFromLocationReverseUsingBlock() bool

	// optional
	EnumerateSubstringsFromLocationOptionsUsingBlock(location TextLocationWrapper, options foundation.StringEnumerationOptions, block func(substring string, substringRange TextRange, enclosingRange TextRange, stop *bool))
	HasEnumerateSubstringsFromLocationOptionsUsingBlock() bool

	// optional
	EnumerateCaretOffsetsInLineFragmentAtLocationUsingBlock(location TextLocationWrapper, block func(caretOffset float64, location TextLocationWrapper, leadingEdge bool, stop *bool))
	HasEnumerateCaretOffsetsInLineFragmentAtLocationUsingBlock() bool

	// optional
	TextRangeForSelectionGranularityEnclosingLocation(selectionGranularity TextSelectionGranularity, location TextLocationWrapper) ITextRange
	HasTextRangeForSelectionGranularityEnclosingLocation() bool

	// optional
	OffsetFromLocationToLocation(from TextLocationWrapper, to TextLocationWrapper) int
	HasOffsetFromLocationToLocation() bool

	// optional
	LocationFromLocationWithOffset(location TextLocationWrapper, offset int) PTextLocation
	HasLocationFromLocationWithOffset() bool

	// optional
	TextLayoutOrientationAtLocation(location TextLocationWrapper) TextSelectionNavigationLayoutOrientation
	HasTextLayoutOrientationAtLocation() bool

	// optional
	DocumentRange() ITextRange
	HasDocumentRange() bool
}

A set of methods that objects implement to provide data for, and manage text selections. Full Topic

type PTextStorageDelegate

type PTextStorageDelegate interface {
	// optional
	TextStorageDidProcessEditingRangeChangeInLength(textStorage TextStorage, editedMask TextStorageEditActions, editedRange foundation.Range, delta int)
	HasTextStorageDidProcessEditingRangeChangeInLength() bool
}

The optional methods that delegates of text storage objects implement to handle text-edit processing. Full Topic

type PTextStorageObserving

type PTextStorageObserving interface {
	// optional
	ProcessEditingForTextStorageEditedRangeChangeInLengthInvalidatedRange(textStorage TextStorage, editMask TextStorageEditActions, newCharRange foundation.Range, delta int, invalidatedCharRange foundation.Range)
	HasProcessEditingForTextStorageEditedRangeChangeInLengthInvalidatedRange() bool

	// optional
	PerformEditingTransactionForTextStorageUsingBlock(textStorage TextStorage, transaction func())
	HasPerformEditingTransactionForTextStorageUsingBlock() bool

	// optional
	SetTextStorage(value TextStorage)
	HasSetTextStorage() bool

	// optional
	TextStorage() ITextStorage
	HasTextStorage() bool
}

Optional methods that delegates implement to handle editing and transaction processing. Full Topic

type PTextViewDelegate

type PTextViewDelegate interface {
	PTextDelegate
	// optional
	TextViewDidChangeTypingAttributes(notification foundation.Notification)
	HasTextViewDidChangeTypingAttributes() bool

	// optional
	UndoManagerForTextView(view TextView) foundation.IUndoManager
	HasUndoManagerForTextView() bool

	// optional
	TextViewCandidatesForSelectedRange(textView TextView, selectedRange foundation.Range) []objc.IObject
	HasTextViewCandidatesForSelectedRange() bool

	// optional
	TextViewDidChangeSelection(notification foundation.Notification)
	HasTextViewDidChangeSelection() bool
}

A set of optional methods that text view delegates can use to manage selection, set text attributes, work with the spell checker, and more. Full Topic

type PTextViewportLayoutControllerDelegate

type PTextViewportLayoutControllerDelegate interface {
	// optional
	ViewportBoundsForTextViewportLayoutController(textViewportLayoutController TextViewportLayoutController) coregraphics.Rect
	HasViewportBoundsForTextViewportLayoutController() bool

	// optional
	TextViewportLayoutControllerConfigureRenderingSurfaceForTextLayoutFragment(textViewportLayoutController TextViewportLayoutController, textLayoutFragment TextLayoutFragment)
	HasTextViewportLayoutControllerConfigureRenderingSurfaceForTextLayoutFragment() bool

	// optional
	TextViewportLayoutControllerDidLayout(textViewportLayoutController TextViewportLayoutController)
	HasTextViewportLayoutControllerDidLayout() bool

	// optional
	TextViewportLayoutControllerWillLayout(textViewportLayoutController TextViewportLayoutController)
	HasTextViewportLayoutControllerWillLayout() bool
}

Optional methods that delegates implement to reposond to viewport layout changes. Full Topic

type PTokenFieldCellDelegate

type PTokenFieldCellDelegate interface {
	// optional
	TokenFieldCellEditingStringForRepresentedObject(tokenFieldCell TokenFieldCell, representedObject objc.Object) string
	HasTokenFieldCellEditingStringForRepresentedObject() bool
}

A set of optional methods implemented by delegates of NSTokenFieldCell objects to work with tokenized strings. Full Topic

type PTokenFieldDelegate

type PTokenFieldDelegate interface {
	PTextFieldDelegate
	// optional
	TokenFieldEditingStringForRepresentedObject(tokenField TokenField, representedObject objc.Object) string
	HasTokenFieldEditingStringForRepresentedObject() bool
}

A set of optional methods implemented by delegates of NSTokenField objects. Full Topic

type PToolbarDelegate

type PToolbarDelegate interface {
	// optional
	ToolbarAllowedItemIdentifiers(toolbar Toolbar) []ToolbarItemIdentifier
	HasToolbarAllowedItemIdentifiers() bool

	// optional
	ToolbarWillAddItem(notification foundation.Notification)
	HasToolbarWillAddItem() bool

	// optional
	ToolbarItemForItemIdentifierWillBeInsertedIntoToolbar(toolbar Toolbar, itemIdentifier ToolbarItemIdentifier, flag bool) IToolbarItem
	HasToolbarItemForItemIdentifierWillBeInsertedIntoToolbar() bool

	// optional
	ToolbarDefaultItemIdentifiers(toolbar Toolbar) []ToolbarItemIdentifier
	HasToolbarDefaultItemIdentifiers() bool

	// optional
	ToolbarSelectableItemIdentifiers(toolbar Toolbar) []ToolbarItemIdentifier
	HasToolbarSelectableItemIdentifiers() bool

	// optional
	ToolbarDidRemoveItem(notification foundation.Notification)
	HasToolbarDidRemoveItem() bool
}

A set of optional methods you use to configure the toolbar and respond to changes. Full Topic

type PToolbarItemValidation

type PToolbarItemValidation interface {
	// optional
	ValidateToolbarItem(item ToolbarItem) bool
	HasValidateToolbarItem() bool
}

Validation of a toolbar item. Full Topic

type PTouchBarDelegate

type PTouchBarDelegate interface {
	// optional
	TouchBarMakeItemForIdentifier(touchBar TouchBar, identifier TouchBarItemIdentifier) ITouchBarItem
	HasTouchBarMakeItemForIdentifier() bool
}

A protocol that allows you to provide the items for a bar dynamically. Full Topic

type PTouchBarProvider

type PTouchBarProvider interface {
	// optional
	TouchBar() ITouchBar
	HasTouchBar() bool
}

A protocol that an object adopts to create a bar object in your app. Full Topic

type PUserActivityRestoring

type PUserActivityRestoring interface {
	// optional
	RestoreUserActivityState(userActivity foundation.UserActivity)
	HasRestoreUserActivityState() bool
}

A protocol that marks classes to restore the state of your app to continue a user activity. Full Topic

type PUserInterfaceCompression

type PUserInterfaceCompression interface {
	// optional
	MinimumSizeWithPrioritizedCompressionOptions(prioritizedOptions []UserInterfaceCompressionOptions) foundation.Size
	HasMinimumSizeWithPrioritizedCompressionOptions() bool

	// optional
	CompressWithPrioritizedCompressionOptions(prioritizedOptions []UserInterfaceCompressionOptions)
	HasCompressWithPrioritizedCompressionOptions() bool

	// optional
	ActiveCompressionOptions() IUserInterfaceCompressionOptions
	HasActiveCompressionOptions() bool
}

A protocol that describes how a UI control should redisplay when space is restricted. Full Topic

type PUserInterfaceItemIdentification

type PUserInterfaceItemIdentification interface {
	// optional
	SetIdentifier(value UserInterfaceItemIdentifier)
	HasSetIdentifier() bool

	// optional
	Identifier() UserInterfaceItemIdentifier
	HasIdentifier() bool
}

A set of methods used to associate a unique identifier with objects in your user interface. Full Topic

type PUserInterfaceItemSearching

type PUserInterfaceItemSearching interface {
	// optional
	LocalizedTitlesForItem(item objc.Object) []string
	HasLocalizedTitlesForItem() bool

	// optional
	PerformActionForItem(item objc.Object)
	HasPerformActionForItem() bool

	// optional
	SearchForItemsWithSearchStringResultLimitMatchedItemHandler(searchString string, resultLimit int, handleMatchedItems func(items []objc.Object))
	HasSearchForItemsWithSearchStringResultLimitMatchedItemHandler() bool

	// optional
	ShowAllHelpTopicsForSearchString(searchString string)
	HasShowAllHelpTopicsForSearchString() bool
}

A set of methods an app can implement to provide Spotlight for Help for its own custom help data. Full Topic

type PUserInterfaceValidations

type PUserInterfaceValidations interface {
	// optional
	ValidateUserInterfaceItem(item ValidatedUserInterfaceItemWrapper) bool
	HasValidateUserInterfaceItem() bool
}

A protocol that a custom class can adopt to manage the enabled state of a UI element. Full Topic

type PValidatedUserInterfaceItem

type PValidatedUserInterfaceItem interface {
	// optional
	Action() objc.Selector
	HasAction() bool

	// optional
	Tag() int
	HasTag() bool
}

A protocol that a custom class can adopt to manage the automatic enablement of a UI control. Full Topic

type PViewControllerPresentationAnimator

type PViewControllerPresentationAnimator interface {
	// optional
	AnimatePresentationOfViewControllerFromViewController(viewController ViewController, fromViewController ViewController)
	HasAnimatePresentationOfViewControllerFromViewController() bool

	// optional
	AnimateDismissalOfViewControllerFromViewController(viewController ViewController, fromViewController ViewController)
	HasAnimateDismissalOfViewControllerFromViewController() bool
}

A set of methods that let you define animations to play when transitioning between two view controllers. Full Topic

type PViewLayerContentScaleDelegate

type PViewLayerContentScaleDelegate interface {
	// optional
	LayerShouldInheritContentsScaleFromWindow(layer quartzcore.Layer, newScale float64, window Window) bool
	HasLayerShouldInheritContentsScaleFromWindow() bool
}

An optional layer delegate method for handling resolution changes. Full Topic

type PViewToolTipOwner

type PViewToolTipOwner interface {
	// optional
	ViewStringForToolTipPointUserData(view View, tag ToolTipTag, point foundation.Point, data unsafe.Pointer) string
	HasViewStringForToolTipPointUserData() bool
}

A set of methods for dynamically associating a tool tip with a view. Full Topic

type PWindowDelegate

type PWindowDelegate interface {
	// optional
	WindowDidFailToExitFullScreen(window Window)
	HasWindowDidFailToExitFullScreen() bool

	// optional
	WindowShouldZoomToFrame(window Window, newFrame foundation.Rect) bool
	HasWindowShouldZoomToFrame() bool

	// optional
	WindowDidEndSheet(notification foundation.Notification)
	HasWindowDidEndSheet() bool

	// optional
	WindowDidResize(notification foundation.Notification)
	HasWindowDidResize() bool

	// optional
	WindowWillEnterFullScreen(notification foundation.Notification)
	HasWindowWillEnterFullScreen() bool

	// optional
	WindowWillMove(notification foundation.Notification)
	HasWindowWillMove() bool

	// optional
	WindowWillStartLiveResize(notification foundation.Notification)
	HasWindowWillStartLiveResize() bool

	// optional
	WindowDidFailToEnterFullScreen(window Window)
	HasWindowDidFailToEnterFullScreen() bool

	// optional
	WindowWillResizeToSize(sender Window, frameSize foundation.Size) foundation.Size
	HasWindowWillResizeToSize() bool

	// optional
	WindowDidChangeOcclusionState(notification foundation.Notification)
	HasWindowDidChangeOcclusionState() bool

	// optional
	WindowDidChangeScreenProfile(notification foundation.Notification)
	HasWindowDidChangeScreenProfile() bool

	// optional
	WindowWillReturnUndoManager(window Window) foundation.IUndoManager
	HasWindowWillReturnUndoManager() bool

	// optional
	WindowWillBeginSheet(notification foundation.Notification)
	HasWindowWillBeginSheet() bool

	// optional
	WindowDidResignKey(notification foundation.Notification)
	HasWindowDidResignKey() bool

	// optional
	WindowShouldClose(sender Window) bool
	HasWindowShouldClose() bool

	// optional
	WindowDidExitVersionBrowser(notification foundation.Notification)
	HasWindowDidExitVersionBrowser() bool

	// optional
	WindowDidBecomeKey(notification foundation.Notification)
	HasWindowDidBecomeKey() bool

	// optional
	WindowDidResignMain(notification foundation.Notification)
	HasWindowDidResignMain() bool

	// optional
	WindowDidExitFullScreen(notification foundation.Notification)
	HasWindowDidExitFullScreen() bool

	// optional
	WindowDidBecomeMain(notification foundation.Notification)
	HasWindowDidBecomeMain() bool

	// optional
	WindowDidMiniaturize(notification foundation.Notification)
	HasWindowDidMiniaturize() bool

	// optional
	WindowDidExpose(notification foundation.Notification)
	HasWindowDidExpose() bool

	// optional
	WindowWillMiniaturize(notification foundation.Notification)
	HasWindowWillMiniaturize() bool

	// optional
	WindowDidChangeBackingProperties(notification foundation.Notification)
	HasWindowDidChangeBackingProperties() bool

	// optional
	WindowWillClose(notification foundation.Notification)
	HasWindowWillClose() bool

	// optional
	CustomWindowsToEnterFullScreenForWindow(window Window) []IWindow
	HasCustomWindowsToEnterFullScreenForWindow() bool

	// optional
	WindowWillEnterVersionBrowser(notification foundation.Notification)
	HasWindowWillEnterVersionBrowser() bool

	// optional
	WindowDidEndLiveResize(notification foundation.Notification)
	HasWindowDidEndLiveResize() bool

	// optional
	WindowDidUpdate(notification foundation.Notification)
	HasWindowDidUpdate() bool

	// optional
	WindowWillExitVersionBrowser(notification foundation.Notification)
	HasWindowWillExitVersionBrowser() bool

	// optional
	WindowWillReturnFieldEditorToObject(sender Window, client objc.Object) objc.IObject
	HasWindowWillReturnFieldEditorToObject() bool

	// optional
	WindowDidDeminiaturize(notification foundation.Notification)
	HasWindowDidDeminiaturize() bool

	// optional
	CustomWindowsToExitFullScreenForWindow(window Window) []IWindow
	HasCustomWindowsToExitFullScreenForWindow() bool

	// optional
	WindowDidDecodeRestorableState(window Window, state foundation.Coder)
	HasWindowDidDecodeRestorableState() bool

	// optional
	WindowDidMove(notification foundation.Notification)
	HasWindowDidMove() bool

	// optional
	WindowDidChangeScreen(notification foundation.Notification)
	HasWindowDidChangeScreen() bool

	// optional
	WindowDidEnterFullScreen(notification foundation.Notification)
	HasWindowDidEnterFullScreen() bool

	// optional
	WindowWillExitFullScreen(notification foundation.Notification)
	HasWindowWillExitFullScreen() bool

	// optional
	WindowWillUseStandardFrameDefaultFrame(window Window, newFrame foundation.Rect) foundation.Rect
	HasWindowWillUseStandardFrameDefaultFrame() bool

	// optional
	WindowDidEnterVersionBrowser(notification foundation.Notification)
	HasWindowDidEnterVersionBrowser() bool
}

A set of optional methods that a window’s delegate can implement to respond to events, such as window resizing, moving, exposing, and minimizing. Full Topic

type PWindowRestoration

type PWindowRestoration interface {
}

A set of methods that restoration classes must implement to handle the recreation of windows. Full Topic

type PageController

type PageController struct {
	ViewController
}

An object that controls swipe navigation and animations between views or view content. Full Topic

func NewPageController

func NewPageController() PageController

func NewPageControllerWithNibNameBundle

func NewPageControllerWithNibNameBundle(nibNameOrNil NibName, nibBundleOrNil foundation.IBundle) PageController

Returns a view controller object initialized to the nib file in the specified bundle. Full Topic

func PageControllerFrom

func PageControllerFrom(ptr unsafe.Pointer) PageController

func PageController_Alloc

func PageController_Alloc() PageController

func (PageController) ArrangedObjects

func (p_ PageController) ArrangedObjects() []objc.Object

An array containing the objects displayed in the page controller’s view. Full Topic

func (PageController) CompleteTransition

func (p_ PageController) CompleteTransition()

Invoked when the page transition is completed. Full Topic

func (PageController) Delegate

The page controller’s delegate object. Full Topic

func (PageController) Init

func (p_ PageController) Init() PageController

func (PageController) InitWithNibNameBundle

func (p_ PageController) InitWithNibNameBundle(nibNameOrNil NibName, nibBundleOrNil foundation.IBundle) PageController

func (PageController) NavigateBack

func (p_ PageController) NavigateBack(sender objc.IObject) objc.Object

Navigates backwards in the page controller’s arranged objects array. Full Topic

func (PageController) NavigateForward

func (p_ PageController) NavigateForward(sender objc.IObject) objc.Object

Navigates to the next object in the page controller’s arranged objects array, if appropriate. Full Topic

func (PageController) NavigateForwardToObject

func (p_ PageController) NavigateForwardToObject(object objc.IObject)

Navigates to the specific object. Full Topic

func (PageController) SelectedIndex

func (p_ PageController) SelectedIndex() int

The currently selected object in the arranged objects array. Full Topic

func (PageController) SelectedViewController

func (p_ PageController) SelectedViewController() ViewController

The view controller associated with the selected object.. Full Topic

func (PageController) SetArrangedObjects

func (p_ PageController) SetArrangedObjects(value []objc.IObject)

An array containing the objects displayed in the page controller’s view. Full Topic

func (PageController) SetDelegate

func (p_ PageController) SetDelegate(value PPageControllerDelegate)

The page controller’s delegate object. Full Topic

func (PageController) SetDelegateObject

func (p_ PageController) SetDelegateObject(valueObject objc.IObject)

The page controller’s delegate object. Full Topic

func (PageController) SetSelectedIndex

func (p_ PageController) SetSelectedIndex(value int)

The currently selected object in the arranged objects array. Full Topic

func (PageController) SetTransitionStyle

func (p_ PageController) SetTransitionStyle(value PageControllerTransitionStyle)

The transition style the page controller uses when changing pages. Full Topic

func (PageController) TakeSelectedIndexFrom

func (p_ PageController) TakeSelectedIndexFrom(sender objc.IObject) objc.Object

Navigates to the selected index, which is taken from the sender. Full Topic

func (PageController) TransitionStyle

func (p_ PageController) TransitionStyle() PageControllerTransitionStyle

The transition style the page controller uses when changing pages. Full Topic

type PageControllerDelegate

type PageControllerDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PPageControllerDelegate protocol.

func (*PageControllerDelegate) HasPageControllerDidEndLiveTransition

func (di *PageControllerDelegate) HasPageControllerDidEndLiveTransition() bool

func (*PageControllerDelegate) HasPageControllerDidTransitionToObject

func (di *PageControllerDelegate) HasPageControllerDidTransitionToObject() bool

func (*PageControllerDelegate) HasPageControllerWillStartLiveTransition

func (di *PageControllerDelegate) HasPageControllerWillStartLiveTransition() bool

func (*PageControllerDelegate) PageControllerDidEndLiveTransition

func (di *PageControllerDelegate) PageControllerDidEndLiveTransition(pageController PageController)

This message is sent when a transition animation completes. Full Topic

func (*PageControllerDelegate) PageControllerDidTransitionToObject

func (di *PageControllerDelegate) PageControllerDidTransitionToObject(pageController PageController, object objc.Object)

This message is sent when any page transition is completed. Full Topic

func (*PageControllerDelegate) PageControllerWillStartLiveTransition

func (di *PageControllerDelegate) PageControllerWillStartLiveTransition(pageController PageController)

This message is sent when the user begins a transition. Full Topic

func (*PageControllerDelegate) SetPageControllerDidEndLiveTransition

func (di *PageControllerDelegate) SetPageControllerDidEndLiveTransition(f func(pageController PageController))

This message is sent when a transition animation completes. Full Topic

func (*PageControllerDelegate) SetPageControllerDidTransitionToObject

func (di *PageControllerDelegate) SetPageControllerDidTransitionToObject(f func(pageController PageController, object objc.Object))

This message is sent when any page transition is completed. Full Topic

func (*PageControllerDelegate) SetPageControllerWillStartLiveTransition

func (di *PageControllerDelegate) SetPageControllerWillStartLiveTransition(f func(pageController PageController))

This message is sent when the user begins a transition. Full Topic

type PageControllerDelegateWrapper

type PageControllerDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PPageControllerDelegate protocol.

func (PageControllerDelegateWrapper) HasPageControllerDidEndLiveTransition

func (p_ PageControllerDelegateWrapper) HasPageControllerDidEndLiveTransition() bool

func (PageControllerDelegateWrapper) HasPageControllerDidTransitionToObject

func (p_ PageControllerDelegateWrapper) HasPageControllerDidTransitionToObject() bool

func (PageControllerDelegateWrapper) HasPageControllerWillStartLiveTransition

func (p_ PageControllerDelegateWrapper) HasPageControllerWillStartLiveTransition() bool

func (PageControllerDelegateWrapper) PageControllerDidEndLiveTransition

func (p_ PageControllerDelegateWrapper) PageControllerDidEndLiveTransition(pageController IPageController)

This message is sent when a transition animation completes. Full Topic

func (PageControllerDelegateWrapper) PageControllerDidTransitionToObject

func (p_ PageControllerDelegateWrapper) PageControllerDidTransitionToObject(pageController IPageController, object objc.IObject)

This message is sent when any page transition is completed. Full Topic

func (PageControllerDelegateWrapper) PageControllerWillStartLiveTransition

func (p_ PageControllerDelegateWrapper) PageControllerWillStartLiveTransition(pageController IPageController)

This message is sent when the user begins a transition. Full Topic

type PageControllerObjectIdentifier

type PageControllerObjectIdentifier string
[Full Topic]

type PageControllerTransitionStyle

type PageControllerTransitionStyle int

These constants control the transition style of the page controller. Full Topic

const (
	PageControllerTransitionStyleHorizontalStrip PageControllerTransitionStyle = 2
	PageControllerTransitionStyleStackBook       PageControllerTransitionStyle = 1
	PageControllerTransitionStyleStackHistory    PageControllerTransitionStyle = 0
)

type PageLayout

type PageLayout struct {
	objc.Object
}

A panel that queries the user for information such as paper type and orientation. Full Topic

func NewPageLayout

func NewPageLayout() PageLayout

func PageLayoutFrom

func PageLayoutFrom(ptr unsafe.Pointer) PageLayout

func PageLayout_Alloc

func PageLayout_Alloc() PageLayout

func PageLayout_PageLayout

func PageLayout_PageLayout() PageLayout

Returns a newly created page layout object. Full Topic

func (PageLayout) AccessoryControllers

func (p_ PageLayout) AccessoryControllers() []ViewController

An array of accessory view controllers belonging to the page layout panel. Full Topic

func (PageLayout) AddAccessoryController

func (p_ PageLayout) AddAccessoryController(accessoryController IViewController)

Adds the specified controller of an accessory view to be presented in the page setup panel. Full Topic

func (PageLayout) Init

func (p_ PageLayout) Init() PageLayout

func (PageLayout) PrintInfo

func (p_ PageLayout) PrintInfo() PrintInfo

The printing information object used when the page layout panel is run. Full Topic

func (PageLayout) RemoveAccessoryController

func (p_ PageLayout) RemoveAccessoryController(accessoryController IViewController)

Removes the specified controller of an accessory view. Full Topic

func (PageLayout) RunModal

func (p_ PageLayout) RunModal() int

Displays the page layout panel and begins the modal loop using the shared print info object. Full Topic

func (PageLayout) RunModalWithPrintInfo

func (p_ PageLayout) RunModalWithPrintInfo(printInfo IPrintInfo) int

Displays the page layout panel and begins the modal loop using the specified print info object. Full Topic

type PanGestureRecognizer

type PanGestureRecognizer struct {
	GestureRecognizer
}

A continuous gesture recognizer for panning gestures. Full Topic

func NewPanGestureRecognizer

func NewPanGestureRecognizer() PanGestureRecognizer

func NewPanGestureRecognizerWithTargetAction

func NewPanGestureRecognizerWithTargetAction(target objc.IObject, action objc.Selector) PanGestureRecognizer

Initializes the gesture recognizer with the specified target and action information. Full Topic

func PanGestureRecognizerFrom

func PanGestureRecognizerFrom(ptr unsafe.Pointer) PanGestureRecognizer

func PanGestureRecognizer_Alloc

func PanGestureRecognizer_Alloc() PanGestureRecognizer

func (PanGestureRecognizer) ButtonMask

func (p_ PanGestureRecognizer) ButtonMask() uint

A bit mask of the button (or buttons) required to recognize this gesture. Full Topic

func (PanGestureRecognizer) Init

func (PanGestureRecognizer) InitWithTargetAction

func (p_ PanGestureRecognizer) InitWithTargetAction(target objc.IObject, action objc.Selector) PanGestureRecognizer

func (PanGestureRecognizer) NumberOfTouchesRequired

func (p_ PanGestureRecognizer) NumberOfTouchesRequired() int

The number of necessary touches on a Touch Bar for the gesture recognizer to match. Full Topic

func (PanGestureRecognizer) SetButtonMask

func (p_ PanGestureRecognizer) SetButtonMask(value uint)

A bit mask of the button (or buttons) required to recognize this gesture. Full Topic

func (PanGestureRecognizer) SetNumberOfTouchesRequired

func (p_ PanGestureRecognizer) SetNumberOfTouchesRequired(value int)

The number of necessary touches on a Touch Bar for the gesture recognizer to match. Full Topic

func (PanGestureRecognizer) SetTranslationInView

func (p_ PanGestureRecognizer) SetTranslationInView(translation foundation.Point, view IView)

Changes the current translation value of the gesture recognizer. Full Topic

func (PanGestureRecognizer) TranslationInView

func (p_ PanGestureRecognizer) TranslationInView(view IView) foundation.Point

The distance traveled by the mouse during the gesture. Full Topic

func (PanGestureRecognizer) VelocityInView

func (p_ PanGestureRecognizer) VelocityInView(view IView) foundation.Point

The velocity of the pan, measured in points per second. Full Topic

type Panel

type Panel struct {
	Window
}

A special kind of window that typically performs a function that is auxiliary to the main window. Full Topic

func NewPanel

func NewPanel() Panel

func NewPanelWithContentRectStyleMaskBackingDeferScreen

func NewPanelWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) Panel

Initializes an allocated window with the specified values. Full Topic

func PanelFrom

func PanelFrom(ptr unsafe.Pointer) Panel

func Panel_Alloc

func Panel_Alloc() Panel

func Panel_WindowWithContentViewController

func Panel_WindowWithContentViewController(contentViewController IViewController) Panel

Creates a titled window that contains the specified content view controller. Full Topic

func (Panel) BecomesKeyOnlyIfNeeded

func (p_ Panel) BecomesKeyOnlyIfNeeded() bool

A Boolean value that indicates whether the receiver becomes the key window only when needed. Full Topic

func (Panel) Init

func (p_ Panel) Init() Panel

func (Panel) InitWithContentRectStyleMaskBackingDeferScreen

func (p_ Panel) InitWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) Panel

func (Panel) SetBecomesKeyOnlyIfNeeded

func (p_ Panel) SetBecomesKeyOnlyIfNeeded(value bool)

A Boolean value that indicates whether the receiver becomes the key window only when needed. Full Topic

func (Panel) SetFloatingPanel

func (p_ Panel) SetFloatingPanel(value bool)

A Boolean value that indicates whether the receiver is a floating panel. Full Topic

func (Panel) SetWorksWhenModal

func (p_ Panel) SetWorksWhenModal(value bool)

A Boolean value that indicates whether the panel receives keyboard and mouse events even when some other window is being run modally. Full Topic

type PaperOrientation

type PaperOrientation int

Constants that describe the orientation of printing on a page. Full Topic

const (
	PaperOrientationLandscape PaperOrientation = 1
	PaperOrientationPortrait  PaperOrientation = 0
)

type ParagraphStyle

type ParagraphStyle struct {
	objc.Object
}

The paragraph or ruler attributes for an attributed string. Full Topic

func NewParagraphStyle

func NewParagraphStyle() ParagraphStyle

func ParagraphStyleFrom

func ParagraphStyleFrom(ptr unsafe.Pointer) ParagraphStyle

func ParagraphStyle_Alloc

func ParagraphStyle_Alloc() ParagraphStyle

func ParagraphStyle_DefaultParagraphStyle

func ParagraphStyle_DefaultParagraphStyle() ParagraphStyle

The default paragraph style. Full Topic

func (ParagraphStyle) Alignment

func (p_ ParagraphStyle) Alignment() TextAlignment

The text alignment of the paragraph. Full Topic

func (ParagraphStyle) AllowsDefaultTighteningForTruncation

func (p_ ParagraphStyle) AllowsDefaultTighteningForTruncation() bool

A Boolean value that indicates whether the system tightens character spacing before truncating text. Full Topic

func (ParagraphStyle) BaseWritingDirection

func (p_ ParagraphStyle) BaseWritingDirection() WritingDirection

The base writing direction for the paragraph. Full Topic

func (ParagraphStyle) DefaultTabInterval

func (p_ ParagraphStyle) DefaultTabInterval() float64

The documentwide default tab interval. Full Topic

func (ParagraphStyle) FirstLineHeadIndent

func (p_ ParagraphStyle) FirstLineHeadIndent() float64

The indentation of the first line of the paragraph. Full Topic

func (ParagraphStyle) HeadIndent

func (p_ ParagraphStyle) HeadIndent() float64

The indentation of the paragraph’s lines other than the first. Full Topic

func (ParagraphStyle) HeaderLevel

func (p_ ParagraphStyle) HeaderLevel() int

The paragraph’s header level for HTML generation. Full Topic

func (ParagraphStyle) HyphenationFactor

func (p_ ParagraphStyle) HyphenationFactor() float64

The paragraph’s threshold for hyphenation. Full Topic

func (ParagraphStyle) Init

func (p_ ParagraphStyle) Init() ParagraphStyle

func (ParagraphStyle) LineBreakStrategy

func (p_ ParagraphStyle) LineBreakStrategy() LineBreakStrategy

The strategy for breaking lines while laying out paragraphs. Full Topic

func (ParagraphStyle) LineHeightMultiple

func (p_ ParagraphStyle) LineHeightMultiple() float64

The line height multiple. Full Topic

func (ParagraphStyle) LineSpacing

func (p_ ParagraphStyle) LineSpacing() float64

The distance in points between the bottom of one line fragment and the top of the next. Full Topic

func (ParagraphStyle) MaximumLineHeight

func (p_ ParagraphStyle) MaximumLineHeight() float64

The paragraph’s maximum line height. Full Topic

func (ParagraphStyle) MinimumLineHeight

func (p_ ParagraphStyle) MinimumLineHeight() float64

The paragraph’s minimum line height. Full Topic

func (ParagraphStyle) ParagraphSpacing

func (p_ ParagraphStyle) ParagraphSpacing() float64

Distance between the bottom of this paragraph and top of next. Full Topic

func (ParagraphStyle) ParagraphSpacingBefore

func (p_ ParagraphStyle) ParagraphSpacingBefore() float64

The distance between the paragraph’s top and the beginning of its text content. Full Topic

func (ParagraphStyle) TabStops

func (p_ ParagraphStyle) TabStops() []TextTab

The text tab objects that represent the paragraph’s tab stops. Full Topic

func (ParagraphStyle) TailIndent

func (p_ ParagraphStyle) TailIndent() float64

The trailing indentation of the paragraph. Full Topic

func (ParagraphStyle) TextBlocks

func (p_ ParagraphStyle) TextBlocks() []TextBlock

The text blocks that contain the paragraph. Full Topic

func (ParagraphStyle) TextLists

func (p_ ParagraphStyle) TextLists() []TextList

The text lists that contain the paragraph. Full Topic

func (ParagraphStyle) TighteningFactorForTruncation

func (p_ ParagraphStyle) TighteningFactorForTruncation() float64

The threshold for using tightening as an alternative to truncation. Full Topic

func (ParagraphStyle) UsesDefaultHyphenation

func (p_ ParagraphStyle) UsesDefaultHyphenation() bool

A Boolean value that indicates whether the paragraph style uses the system hyphenation settings. Full Topic

type Pasteboard

type Pasteboard struct {
	objc.Object
}

An object that transfers data to and from the pasteboard server. Full Topic

func NewPasteboard

func NewPasteboard() Pasteboard

func PasteboardFrom

func PasteboardFrom(ptr unsafe.Pointer) Pasteboard

func Pasteboard_Alloc

func Pasteboard_Alloc() Pasteboard

func Pasteboard_GeneralPasteboard

func Pasteboard_GeneralPasteboard() Pasteboard

The shared pasteboard object to use for general content. Full Topic

func Pasteboard_PasteboardByFilteringDataOfType

func Pasteboard_PasteboardByFilteringDataOfType(data []byte, type_ PasteboardType) Pasteboard

Creates a new pasteboard object that supplies the specified data in as many types as possible based on the available filter services. Full Topic

func Pasteboard_PasteboardByFilteringFile

func Pasteboard_PasteboardByFilteringFile(filename string) Pasteboard

Creates a new pasteboard object that supplies the specified file in as many types as possible based on the available filter services. Full Topic

func Pasteboard_PasteboardByFilteringTypesInPasteboard

func Pasteboard_PasteboardByFilteringTypesInPasteboard(pboard IPasteboard) Pasteboard

Creates a new pasteboard object that supplies the specified pasteboard data in as many types as possible based on the available filter services. Full Topic

func Pasteboard_PasteboardWithName

func Pasteboard_PasteboardWithName(name PasteboardName) Pasteboard

Returns the pasteboard with the specified name. Full Topic

func Pasteboard_PasteboardWithUniqueName

func Pasteboard_PasteboardWithUniqueName() Pasteboard

Creates and returns a new pasteboard with a name that is guaranteed to be unique with respect to other pasteboards in the system. Full Topic

func (Pasteboard) AddTypesOwner

func (p_ Pasteboard) AddTypesOwner(newTypes []PasteboardType, newOwner objc.IObject) int

Adds promises for the specified types to the first pasteboard item. Full Topic

func (Pasteboard) AvailableTypeFromArray

func (p_ Pasteboard) AvailableTypeFromArray(types []PasteboardType) PasteboardType

Scans the specified types for a type that the receiver supports. Full Topic

func (Pasteboard) CanReadItemWithDataConformingToTypes

func (p_ Pasteboard) CanReadItemWithDataConformingToTypes(types []string) bool

Returns a Boolean value that indicates whether the receiver contains any items that conform to the specified UTIs. Full Topic

func (Pasteboard) CanReadObjectForClassesOptions

func (p_ Pasteboard) CanReadObjectForClassesOptions(classArray []objc.IClass, options map[PasteboardReadingOptionKey]objc.IObject) bool

Returns a Boolean value that indicates whether the receiver contains any items that can be represented as an instance of any class in a given array. Full Topic

func (Pasteboard) ChangeCount

func (p_ Pasteboard) ChangeCount() int

The receiver’s change count. Full Topic

func (Pasteboard) ClearContents

func (p_ Pasteboard) ClearContents() int

Clears the existing contents of the pasteboard. Full Topic

func (Pasteboard) DataForType

func (p_ Pasteboard) DataForType(dataType PasteboardType) []byte

Returns the data for the specified type from the first item in the receiver that contains the type. Full Topic

func (Pasteboard) DeclareTypesOwner

func (p_ Pasteboard) DeclareTypesOwner(newTypes []PasteboardType, newOwner objc.IObject) int

Prepares the receiver for a change in its contents by declaring the new types of data it will contain and a new owner. Full Topic

func (Pasteboard) IndexOfPasteboardItem

func (p_ Pasteboard) IndexOfPasteboardItem(pasteboardItem IPasteboardItem) uint

Returns the index of the specified pasteboard item. Full Topic

func (Pasteboard) Init

func (p_ Pasteboard) Init() Pasteboard

func (Pasteboard) Name

func (p_ Pasteboard) Name() PasteboardName

The receiver’s name. Full Topic

func (Pasteboard) PasteboardItems

func (p_ Pasteboard) PasteboardItems() []PasteboardItem

An array that contains all the items held by the pasteboard. Full Topic

func (Pasteboard) PrepareForNewContentsWithOptions

func (p_ Pasteboard) PrepareForNewContentsWithOptions(options PasteboardContentsOptions) int

Prepares the pasteboard to receive new contents, removing the existing pasteboard contents. Full Topic

func (Pasteboard) PropertyListForType

func (p_ Pasteboard) PropertyListForType(dataType PasteboardType) objc.Object

Returns the property list for the specified type from the first item in the receiver that contains the type. Full Topic

func (Pasteboard) ReadFileContentsTypeToFile

func (p_ Pasteboard) ReadFileContentsTypeToFile(type_ PasteboardType, filename string) string

Reads data representing a file’s contents from the receiver and writes it to the specified file. Full Topic

func (Pasteboard) ReadFileWrapper

func (p_ Pasteboard) ReadFileWrapper() foundation.FileWrapper

Reads data representing a file’s contents from the receiver and returns it as a file wrapper. Full Topic

func (Pasteboard) ReadObjectsForClassesOptions

func (p_ Pasteboard) ReadObjectsForClassesOptions(classArray []objc.IClass, options map[PasteboardReadingOptionKey]objc.IObject) []objc.Object

Reads from the receiver objects that best match the specified array of classes. Full Topic

func (Pasteboard) ReleaseGlobally

func (p_ Pasteboard) ReleaseGlobally()

Releases the receiver’s resources in the pasteboard server. Full Topic

func (Pasteboard) SetDataForType

func (p_ Pasteboard) SetDataForType(data []byte, dataType PasteboardType) bool

Sets the data as the representation for the specified type for the first item on the receiver. Full Topic

func (Pasteboard) SetPropertyListForType

func (p_ Pasteboard) SetPropertyListForType(plist objc.IObject, dataType PasteboardType) bool

Sets the given property list as the representation for the specified type for the first item on the receiver. Full Topic

func (Pasteboard) SetStringForType

func (p_ Pasteboard) SetStringForType(string_ string, dataType PasteboardType) bool

Sets the given string as the representation for the specified type for the first item on the receiver. Full Topic

func (Pasteboard) StringForType

func (p_ Pasteboard) StringForType(dataType PasteboardType) string

Returns a concatenation of the strings for the specified type from all the items in the receiver that contain the type. Full Topic

func (Pasteboard) Types

func (p_ Pasteboard) Types() []PasteboardType

An array of the receiver’s supported data types. Full Topic

func (Pasteboard) WriteFileContents

func (p_ Pasteboard) WriteFileContents(filename string) bool

Writes the contents of the specified file to the pasteboard. Full Topic

func (Pasteboard) WriteFileWrapper

func (p_ Pasteboard) WriteFileWrapper(wrapper foundation.IFileWrapper) bool

Writes the serialized contents of the specified file wrapper to the pasteboard. Full Topic

func (Pasteboard) WriteObjects

func (p_ Pasteboard) WriteObjects(objects []PPasteboardWriting) bool

Writes an array of objects to the receiver. Full Topic

type PasteboardContentsOptions

type PasteboardContentsOptions uint

Options for preparing the pasteboard. Full Topic

const (
	PasteboardContentsCurrentHostOnly PasteboardContentsOptions = 1
)

type PasteboardItem

type PasteboardItem struct {
	objc.Object
}

An item on a pasteboard. Full Topic

func NewPasteboardItem

func NewPasteboardItem() PasteboardItem

func PasteboardItemFrom

func PasteboardItemFrom(ptr unsafe.Pointer) PasteboardItem

func PasteboardItem_Alloc

func PasteboardItem_Alloc() PasteboardItem

func (PasteboardItem) AvailableTypeFromArray

func (p_ PasteboardItem) AvailableTypeFromArray(types []PasteboardType) PasteboardType

Returns from a given array of types the first type within the pasteboard item, according to the ordering of types. Full Topic

func (PasteboardItem) DataForType

func (p_ PasteboardItem) DataForType(type_ PasteboardType) []byte

Returns the value for the specified type as a data object. Full Topic

func (PasteboardItem) Init

func (p_ PasteboardItem) Init() PasteboardItem

func (PasteboardItem) PropertyListForType

func (p_ PasteboardItem) PropertyListForType(type_ PasteboardType) objc.Object

Returns the value for the specified type as a property list. Full Topic

func (PasteboardItem) SetDataForType

func (p_ PasteboardItem) SetDataForType(data []byte, type_ PasteboardType) bool

Sets the value for a specified type as a data object. Full Topic

func (PasteboardItem) SetDataProviderForTypes

func (p_ PasteboardItem) SetDataProviderForTypes(dataProvider PPasteboardItemDataProvider, types []PasteboardType) bool

Sets the data provider for the specified types. Full Topic

func (PasteboardItem) SetDataProviderObjectForTypes

func (p_ PasteboardItem) SetDataProviderObjectForTypes(dataProviderObject objc.IObject, types []PasteboardType) bool

Sets the data provider for the specified types. Full Topic

func (PasteboardItem) SetPropertyListForType

func (p_ PasteboardItem) SetPropertyListForType(propertyList objc.IObject, type_ PasteboardType) bool

Sets the value for a specified type as a property list. Full Topic

func (PasteboardItem) SetStringForType

func (p_ PasteboardItem) SetStringForType(string_ string, type_ PasteboardType) bool

Sets the value for a specified type as a string. Full Topic

func (PasteboardItem) StringForType

func (p_ PasteboardItem) StringForType(type_ PasteboardType) string

Returns the value for the specified type as a string. Full Topic

func (PasteboardItem) Types

func (p_ PasteboardItem) Types() []PasteboardType

An array of uniform type identifier strings of the data types that the receiver supports. Full Topic

type PasteboardItemDataProviderWrapper

type PasteboardItemDataProviderWrapper struct {
	objc.Object
}

A concrete type wrapper for the PPasteboardItemDataProvider protocol.

func (PasteboardItemDataProviderWrapper) HasPasteboardFinishedWithDataProvider

func (p_ PasteboardItemDataProviderWrapper) HasPasteboardFinishedWithDataProvider() bool

func (PasteboardItemDataProviderWrapper) HasPasteboardItemProvideDataForType

func (p_ PasteboardItemDataProviderWrapper) HasPasteboardItemProvideDataForType() bool

func (PasteboardItemDataProviderWrapper) PasteboardFinishedWithDataProvider

func (p_ PasteboardItemDataProviderWrapper) PasteboardFinishedWithDataProvider(pasteboard IPasteboard)

Informs the receiver that the pasteboard no longer needs the data provider for any of its pasteboard items. Full Topic

func (PasteboardItemDataProviderWrapper) PasteboardItemProvideDataForType

func (p_ PasteboardItemDataProviderWrapper) PasteboardItemProvideDataForType(pasteboard IPasteboard, item IPasteboardItem, type_ PasteboardType)

Asks the receiver to provide data for a specified type to a given pasteboard. Full Topic

type PasteboardName

type PasteboardName string

Constants that represent the standard pasteboard names. Full Topic

const (
	DragPboard            PasteboardName = "Apple CFPasteboard drag"
	FindPboard            PasteboardName = "Apple CFPasteboard find"
	FontPboard            PasteboardName = "Apple CFPasteboard font"
	GeneralPboard         PasteboardName = "Apple CFPasteboard general"
	PasteboardNameDrag    PasteboardName = "Apple CFPasteboard drag"
	PasteboardNameFind    PasteboardName = "Apple CFPasteboard find"
	PasteboardNameFont    PasteboardName = "Apple CFPasteboard font"
	PasteboardNameGeneral PasteboardName = "Apple CFPasteboard general"
	PasteboardNameRuler   PasteboardName = "Apple CFPasteboard ruler"
	RulerPboard           PasteboardName = "Apple CFPasteboard ruler"
)

type PasteboardReadingOptionKey

type PasteboardReadingOptionKey string

Options for reading pasteboard data. Full Topic

const (
	PasteboardURLReadingContentsConformToTypesKey PasteboardReadingOptionKey = "NSPasteboardURLReadingContentsConformToTypesKey"
	PasteboardURLReadingFileURLsOnlyKey           PasteboardReadingOptionKey = "NSPasteboardURLReadingFileURLsOnlyKey"
)

type PasteboardReadingOptions

type PasteboardReadingOptions uint

Options that specify how to interpret data on the pasteboard when initializing pasteboard data. Full Topic

const (
	PasteboardReadingAsData         PasteboardReadingOptions = 0
	PasteboardReadingAsKeyedArchive PasteboardReadingOptions = 4
	PasteboardReadingAsPropertyList PasteboardReadingOptions = 2
	PasteboardReadingAsString       PasteboardReadingOptions = 1
)

type PasteboardReadingWrapper

type PasteboardReadingWrapper struct {
	objc.Object
}

A concrete type wrapper for the PPasteboardReading protocol.

func (PasteboardReadingWrapper) HasInitWithPasteboardPropertyListOfType

func (p_ PasteboardReadingWrapper) HasInitWithPasteboardPropertyListOfType() bool

func (PasteboardReadingWrapper) InitWithPasteboardPropertyListOfType

func (p_ PasteboardReadingWrapper) InitWithPasteboardPropertyListOfType(propertyList objc.IObject, type_ PasteboardType) objc.Object

Initializes an instance with a property list object and a type string. Full Topic

type PasteboardType

type PasteboardType string

The supported pasteboard types. Full Topic

const (
	ColorPboardType                      PasteboardType = "NSColor pasteboard type"
	FileContentsPboardType               PasteboardType = "NXFileContentsPboardType"
	FilenamesPboardType                  PasteboardType = "NSFilenamesPboardType"
	FilesPromisePboardType               PasteboardType = "Apple files promise pasteboard type"
	FindPanelSearchOptionsPboardType     PasteboardType = "NSFindPanel search options pasteboard type"
	FontPboardType                       PasteboardType = "NeXT font pasteboard type"
	HTMLPboardType                       PasteboardType = "Apple HTML pasteboard type"
	InkTextPboardType                    PasteboardType = "Apple InkText pasteboard type"
	MultipleTextSelectionPboardType      PasteboardType = "Apple multiple text selection pasteboard type"
	PDFPboardType                        PasteboardType = "Apple PDF pasteboard type"
	PICTPboardType                       PasteboardType = "Apple PICT pasteboard type"
	PasteboardTypeColor                  PasteboardType = "com.apple.cocoa.pasteboard.color"
	PasteboardTypeFileURL                PasteboardType = "public.file-url"
	PasteboardTypeFindPanelSearchOptions PasteboardType = "com.apple.cocoa.pasteboard.find-panel-search-options"
	PasteboardTypeFont                   PasteboardType = "com.apple.cocoa.pasteboard.character-formatting"
	PasteboardTypeHTML                   PasteboardType = "public.html"
	PasteboardTypeMultipleTextSelection  PasteboardType = "com.apple.cocoa.pasteboard.multiple-text-selection"
	PasteboardTypePDF                    PasteboardType = "com.adobe.pdf"
	PasteboardTypePNG                    PasteboardType = "public.png"
	PasteboardTypeRTF                    PasteboardType = "public.rtf"
	PasteboardTypeRTFD                   PasteboardType = "com.apple.flat-rtfd"
	PasteboardTypeRuler                  PasteboardType = "com.apple.cocoa.pasteboard.paragraph-formatting"
	PasteboardTypeSound                  PasteboardType = "com.apple.cocoa.pasteboard.sound"
	PasteboardTypeString                 PasteboardType = "public.utf8-plain-text"
	PasteboardTypeTIFF                   PasteboardType = "public.tiff"
	PasteboardTypeTabularText            PasteboardType = "public.utf8-tab-separated-values-text"
	PasteboardTypeTextFinderOptions      PasteboardType = "com.apple.cocoa.pasteboard.find-panel-search-options"
	PasteboardTypeURL                    PasteboardType = "public.url"
	PostScriptPboardType                 PasteboardType = "NeXT Encapsulated PostScript v1.2 pasteboard type"
	RTFDPboardType                       PasteboardType = "NeXT RTFD pasteboard type"
	RTFPboardType                        PasteboardType = "NeXT Rich Text Format v1.0 pasteboard type"
	RulerPboardType                      PasteboardType = "NeXT ruler pasteboard type"
	SoundPboardType                      PasteboardType = "NSSoundPboardType"
	StringPboardType                     PasteboardType = "NSStringPboardType"
	TIFFPboardType                       PasteboardType = "NeXT TIFF v4.0 pasteboard type"
	TabularTextPboardType                PasteboardType = "NeXT tabular text pasteboard type"
	URLPboardType                        PasteboardType = "Apple URL pasteboard type"
	VCardPboardType                      PasteboardType = "Apple VCard pasteboard type"
)

func Pasteboard_TypesFilterableTo

func Pasteboard_TypesFilterableTo(type_ PasteboardType) []PasteboardType

Returns the data types that can be converted to the specified type using the available filter services. Full Topic

type PasteboardTypeFindPanelSearchOptionKey

type PasteboardTypeFindPanelSearchOptionKey string

Search options for the find panel. Full Topic

const (
	FindPanelCaseInsensitiveSearch PasteboardTypeFindPanelSearchOptionKey = "NSFindPanelCaseInsensitiveSearch"
	FindPanelSubstringMatch        PasteboardTypeFindPanelSearchOptionKey = "NSFindPanelSubstringMatch"
)

type PasteboardTypeOwnerWrapper

type PasteboardTypeOwnerWrapper struct {
	objc.Object
}

A concrete type wrapper for the PPasteboardTypeOwner protocol.

func (PasteboardTypeOwnerWrapper) HasPasteboardChangedOwner

func (p_ PasteboardTypeOwnerWrapper) HasPasteboardChangedOwner() bool

func (PasteboardTypeOwnerWrapper) HasPasteboardProvideDataForType

func (p_ PasteboardTypeOwnerWrapper) HasPasteboardProvideDataForType() bool

func (PasteboardTypeOwnerWrapper) PasteboardChangedOwner

func (p_ PasteboardTypeOwnerWrapper) PasteboardChangedOwner(sender IPasteboard)

Notifies the object that the pasteboard’s owner changed. Full Topic

func (PasteboardTypeOwnerWrapper) PasteboardProvideDataForType

func (p_ PasteboardTypeOwnerWrapper) PasteboardProvideDataForType(sender IPasteboard, type_ PasteboardType)

Requests that the object provide data for the data type to the pasteboard. Full Topic

type PasteboardTypeTextFinderOptionKey

type PasteboardTypeTextFinderOptionKey string

Search options for text in Finder. Full Topic

const (
	TextFinderCaseInsensitiveKey PasteboardTypeTextFinderOptionKey = "NSFindPanelCaseInsensitiveSearch"
	TextFinderMatchingTypeKey    PasteboardTypeTextFinderOptionKey = "NSFindPanelSubstringMatch"
)

type PasteboardWritingOptions

type PasteboardWritingOptions uint

Type to specify options for writing to a pasteboard. Full Topic

const (
	PasteboardWritingPromised PasteboardWritingOptions = 512
)

type PasteboardWritingWrapper

type PasteboardWritingWrapper struct {
	objc.Object
}

A concrete type wrapper for the PPasteboardWriting protocol.

func (PasteboardWritingWrapper) HasPasteboardPropertyListForType

func (p_ PasteboardWritingWrapper) HasPasteboardPropertyListForType() bool

func (PasteboardWritingWrapper) HasWritableTypesForPasteboard

func (p_ PasteboardWritingWrapper) HasWritableTypesForPasteboard() bool

func (PasteboardWritingWrapper) HasWritingOptionsForTypePasteboard

func (p_ PasteboardWritingWrapper) HasWritingOptionsForTypePasteboard() bool

func (PasteboardWritingWrapper) PasteboardPropertyListForType

func (p_ PasteboardWritingWrapper) PasteboardPropertyListForType(type_ PasteboardType) objc.Object

Returns a property list object to represent the receiver on a pasteboard as an object of a specified type. Full Topic

func (PasteboardWritingWrapper) WritableTypesForPasteboard

func (p_ PasteboardWritingWrapper) WritableTypesForPasteboard(pasteboard IPasteboard) []PasteboardType

Returns an array of UTI strings of data types the receiver can write to a given pasteboard. Full Topic

func (PasteboardWritingWrapper) WritingOptionsForTypePasteboard

func (p_ PasteboardWritingWrapper) WritingOptionsForTypePasteboard(type_ PasteboardType, pasteboard IPasteboard) PasteboardWritingOptions

Returns options for writing data of a specified type to a given pasteboard. Full Topic

type PathCell

type PathCell struct {
	ActionCell
}

The user interface of a path control object. Full Topic

func NewPathCell

func NewPathCell() PathCell

func NewPathCellImageCell

func NewPathCellImageCell(image IImage) PathCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewPathCellTextCell

func NewPathCellTextCell(string_ string) PathCell

Returns an NSCell object initialized with the specified string and set to have the cell’s default menu. Full Topic

func PathCellFrom

func PathCellFrom(ptr unsafe.Pointer) PathCell

func PathCell_Alloc

func PathCell_Alloc() PathCell

func (PathCell) AllowedTypes

func (p_ PathCell) AllowedTypes() []string

Sets the component types allowed in the path when the cell is editable. Full Topic

func (PathCell) BackgroundColor

func (p_ PathCell) BackgroundColor() Color

Returns the current background color of the receiver. Full Topic

func (PathCell) ClickedPathComponentCell

func (p_ PathCell) ClickedPathComponentCell() PathComponentCell

Sets the value of the path displayed by the receiver. Full Topic

func (PathCell) Delegate

func (p_ PathCell) Delegate() PathCellDelegateWrapper

Sets the receiver’s delegate. Full Topic

func (PathCell) DoubleAction

func (p_ PathCell) DoubleAction() objc.Selector

Sets the receiver’s double-click action. Full Topic

func (PathCell) Init

func (p_ PathCell) Init() PathCell

func (PathCell) InitImageCell

func (p_ PathCell) InitImageCell(image IImage) PathCell

func (PathCell) InitTextCell

func (p_ PathCell) InitTextCell(string_ string) PathCell

func (PathCell) MouseEnteredWithFrameInView

func (p_ PathCell) MouseEnteredWithFrameInView(event IEvent, frame foundation.Rect, view IView)

Displays the cell component over which the mouse is hovering. Full Topic

func (PathCell) MouseExitedWithFrameInView

func (p_ PathCell) MouseExitedWithFrameInView(event IEvent, frame foundation.Rect, view IView)

Hides the cell component over which the mouse is hovering. Full Topic

func (PathCell) PathComponentCellAtPointWithFrameInView

func (p_ PathCell) PathComponentCellAtPointWithFrameInView(point foundation.Point, frame foundation.Rect, view IView) PathComponentCell

Returns the cell located at the given point within the given frame of the given view. Full Topic

func (PathCell) PathComponentCells

func (p_ PathCell) PathComponentCells() []PathComponentCell

Sets the array of NSPathComponentCell objects currently being displayed. Full Topic

func (PathCell) PathStyle

func (p_ PathCell) PathStyle() PathStyle

Sets the receiver’s path style. Full Topic

func (PathCell) PlaceholderAttributedString

func (p_ PathCell) PlaceholderAttributedString() foundation.AttributedString

Sets the value of the placeholder attributed string. Full Topic

func (PathCell) PlaceholderString

func (p_ PathCell) PlaceholderString() string

Returns the placeholder string. Full Topic

func (PathCell) RectOfPathComponentCellWithFrameInView

func (p_ PathCell) RectOfPathComponentCellWithFrameInView(cell IPathComponentCell, frame foundation.Rect, view IView) foundation.Rect

Returns the current rectangle being displayed for a given path component cell, with respect to a given frame in a given view. Full Topic

func (PathCell) SetAllowedTypes

func (p_ PathCell) SetAllowedTypes(value []string)

Sets the component types allowed in the path when the cell is editable. Full Topic

func (PathCell) SetBackgroundColor

func (p_ PathCell) SetBackgroundColor(value IColor)

Returns the current background color of the receiver. Full Topic

func (PathCell) SetDelegate

func (p_ PathCell) SetDelegate(value PPathCellDelegate)

Sets the receiver’s delegate. Full Topic

func (PathCell) SetDelegateObject

func (p_ PathCell) SetDelegateObject(valueObject objc.IObject)

Sets the receiver’s delegate. Full Topic

func (PathCell) SetDoubleAction

func (p_ PathCell) SetDoubleAction(value objc.Selector)

Sets the receiver’s double-click action. Full Topic

func (PathCell) SetPathComponentCells

func (p_ PathCell) SetPathComponentCells(value []IPathComponentCell)

Sets the array of NSPathComponentCell objects currently being displayed. Full Topic

func (PathCell) SetPathStyle

func (p_ PathCell) SetPathStyle(value PathStyle)

Sets the receiver’s path style. Full Topic

func (PathCell) SetPlaceholderAttributedString

func (p_ PathCell) SetPlaceholderAttributedString(value foundation.IAttributedString)

Sets the value of the placeholder attributed string. Full Topic

func (PathCell) SetPlaceholderString

func (p_ PathCell) SetPlaceholderString(value string)

Returns the placeholder string. Full Topic

func (PathCell) SetURL

func (p_ PathCell) SetURL(value foundation.IURL)

Returns the path displayed by the receiver. Full Topic

func (PathCell) URL

func (p_ PathCell) URL() foundation.URL

Returns the path displayed by the receiver. Full Topic

type PathCellDelegate

type PathCellDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PPathCellDelegate protocol.

func (*PathCellDelegate) HasPathCellWillPopUpMenu

func (di *PathCellDelegate) HasPathCellWillPopUpMenu() bool

func (*PathCellDelegate) PathCellWillPopUpMenu

func (di *PathCellDelegate) PathCellWillPopUpMenu(pathCell PathCell, menu Menu)

Implement this method to customize the menu of a pop-up–style path. Full Topic

func (*PathCellDelegate) SetPathCellWillPopUpMenu

func (di *PathCellDelegate) SetPathCellWillPopUpMenu(f func(pathCell PathCell, menu Menu))

Implement this method to customize the menu of a pop-up–style path. Full Topic

type PathCellDelegateWrapper

type PathCellDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PPathCellDelegate protocol.

func (PathCellDelegateWrapper) HasPathCellWillPopUpMenu

func (p_ PathCellDelegateWrapper) HasPathCellWillPopUpMenu() bool

func (PathCellDelegateWrapper) PathCellWillPopUpMenu

func (p_ PathCellDelegateWrapper) PathCellWillPopUpMenu(pathCell IPathCell, menu IMenu)

Implement this method to customize the menu of a pop-up–style path. Full Topic

type PathComponentCell

type PathComponentCell struct {
	TextFieldCell
}

A component of a path. Full Topic

func NewPathComponentCell

func NewPathComponentCell() PathComponentCell

func NewPathComponentCellImageCell

func NewPathComponentCellImageCell(image IImage) PathComponentCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewPathComponentCellTextCell

func NewPathComponentCellTextCell(string_ string) PathComponentCell

Initializes a text field cell that displays the specified string. Full Topic

func PathComponentCellFrom

func PathComponentCellFrom(ptr unsafe.Pointer) PathComponentCell

func PathComponentCell_Alloc

func PathComponentCell_Alloc() PathComponentCell

func (PathComponentCell) Init

func (PathComponentCell) InitImageCell

func (p_ PathComponentCell) InitImageCell(image IImage) PathComponentCell

func (PathComponentCell) InitTextCell

func (p_ PathComponentCell) InitTextCell(string_ string) PathComponentCell

func (PathComponentCell) SetURL

func (p_ PathComponentCell) SetURL(value foundation.IURL)

The portion of the path from the root through the component represented by the receiver. Full Topic

func (PathComponentCell) URL

func (p_ PathComponentCell) URL() foundation.URL

The portion of the path from the root through the component represented by the receiver. Full Topic

type PathControl

type PathControl struct {
	Control
}

A display of a file system path or virtual path information. Full Topic

func NewPathControl

func NewPathControl() PathControl

func NewPathControlWithFrame

func NewPathControlWithFrame(frameRect foundation.Rect) PathControl

Initializes a control with the specified frame rectangle. Full Topic

func PathControlFrom

func PathControlFrom(ptr unsafe.Pointer) PathControl

func PathControl_Alloc

func PathControl_Alloc() PathControl

func (PathControl) AllowedTypes

func (p_ PathControl) AllowedTypes() []string
[Full Topic]

func (PathControl) BackgroundColor

func (p_ PathControl) BackgroundColor() Color

The receiver’s background color. Full Topic

func (PathControl) ClickedPathItem

func (p_ PathControl) ClickedPathItem() PathControlItem
[Full Topic]

func (PathControl) Delegate

The receiver’s delegate. Full Topic

func (PathControl) DoubleAction

func (p_ PathControl) DoubleAction() objc.Selector

The receiver’s double-click action method. Full Topic

func (PathControl) Init

func (p_ PathControl) Init() PathControl

func (PathControl) InitWithFrame

func (p_ PathControl) InitWithFrame(frameRect foundation.Rect) PathControl

func (PathControl) IsEditable

func (p_ PathControl) IsEditable() bool
[Full Topic]

func (PathControl) PathItems

func (p_ PathControl) PathItems() []PathControlItem
[Full Topic]

func (PathControl) PathStyle

func (p_ PathControl) PathStyle() PathStyle

The receiver’s path style. Full Topic

func (PathControl) PlaceholderAttributedString

func (p_ PathControl) PlaceholderAttributedString() foundation.AttributedString
[Full Topic]

func (PathControl) PlaceholderString

func (p_ PathControl) PlaceholderString() string
[Full Topic]

func (PathControl) SetAllowedTypes

func (p_ PathControl) SetAllowedTypes(value []string)
[Full Topic]

func (PathControl) SetBackgroundColor

func (p_ PathControl) SetBackgroundColor(value IColor)

The receiver’s background color. Full Topic

func (PathControl) SetDelegate

func (p_ PathControl) SetDelegate(value PPathControlDelegate)

The receiver’s delegate. Full Topic

func (PathControl) SetDelegateObject

func (p_ PathControl) SetDelegateObject(valueObject objc.IObject)

The receiver’s delegate. Full Topic

func (PathControl) SetDoubleAction

func (p_ PathControl) SetDoubleAction(value objc.Selector)

The receiver’s double-click action method. Full Topic

func (PathControl) SetDraggingSourceOperationMaskForLocal

func (p_ PathControl) SetDraggingSourceOperationMaskForLocal(mask DragOperation, isLocal bool)

Configures the default value returned from draggingSourceOperationMaskForLocal:. Full Topic

func (PathControl) SetEditable

func (p_ PathControl) SetEditable(value bool)
[Full Topic]

func (PathControl) SetPathItems

func (p_ PathControl) SetPathItems(value []IPathControlItem)
[Full Topic]

func (PathControl) SetPathStyle

func (p_ PathControl) SetPathStyle(value PathStyle)

The receiver’s path style. Full Topic

func (PathControl) SetPlaceholderAttributedString

func (p_ PathControl) SetPlaceholderAttributedString(value foundation.IAttributedString)
[Full Topic]

func (PathControl) SetPlaceholderString

func (p_ PathControl) SetPlaceholderString(value string)
[Full Topic]

func (PathControl) SetURL

func (p_ PathControl) SetURL(value foundation.IURL)

The path value displayed by the receiver. Full Topic

func (PathControl) URL

func (p_ PathControl) URL() foundation.URL

The path value displayed by the receiver. Full Topic

type PathControlDelegate

type PathControlDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PPathControlDelegate protocol.

func (*PathControlDelegate) HasPathControlShouldDragItemWithPasteboard

func (di *PathControlDelegate) HasPathControlShouldDragItemWithPasteboard() bool

func (*PathControlDelegate) PathControlShouldDragItemWithPasteboard

func (di *PathControlDelegate) PathControlShouldDragItemWithPasteboard(pathControl PathControl, pathItem PathControlItem, pasteboard Pasteboard) bool
[Full Topic]

func (*PathControlDelegate) SetPathControlShouldDragItemWithPasteboard

func (di *PathControlDelegate) SetPathControlShouldDragItemWithPasteboard(f func(pathControl PathControl, pathItem PathControlItem, pasteboard Pasteboard) bool)
[Full Topic]

type PathControlDelegateWrapper

type PathControlDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PPathControlDelegate protocol.

func (PathControlDelegateWrapper) HasPathControlShouldDragItemWithPasteboard

func (p_ PathControlDelegateWrapper) HasPathControlShouldDragItemWithPasteboard() bool

func (PathControlDelegateWrapper) PathControlShouldDragItemWithPasteboard

func (p_ PathControlDelegateWrapper) PathControlShouldDragItemWithPasteboard(pathControl IPathControl, pathItem IPathControlItem, pasteboard IPasteboard) bool
[Full Topic]

type PathControlItem

type PathControlItem struct {
	objc.Object
}
[Full Topic]

func NewPathControlItem

func NewPathControlItem() PathControlItem

func PathControlItemFrom

func PathControlItemFrom(ptr unsafe.Pointer) PathControlItem

func PathControlItem_Alloc

func PathControlItem_Alloc() PathControlItem

func (PathControlItem) AttributedTitle

func (p_ PathControlItem) AttributedTitle() foundation.AttributedString
[Full Topic]

func (PathControlItem) Image

func (p_ PathControlItem) Image() Image
[Full Topic]

func (PathControlItem) Init

func (p_ PathControlItem) Init() PathControlItem

func (PathControlItem) SetAttributedTitle

func (p_ PathControlItem) SetAttributedTitle(value foundation.IAttributedString)
[Full Topic]

func (PathControlItem) SetImage

func (p_ PathControlItem) SetImage(value IImage)
[Full Topic]

func (PathControlItem) SetTitle

func (p_ PathControlItem) SetTitle(value string)
[Full Topic]

func (PathControlItem) Title

func (p_ PathControlItem) Title() string
[Full Topic]

func (PathControlItem) URL

func (p_ PathControlItem) URL() foundation.URL
[Full Topic]

type PathStyle

type PathStyle int

NSPathStyle constants represent the different visual and behavioral styles an NSPathControl or NSPathCell object can have. Full Topic

const (
	PathStyleNavigationBar PathStyle = 1
	PathStylePopUp         PathStyle = 2
	PathStyleStandard      PathStyle = 0
)

type PersistentDocument

type PersistentDocument struct {
	Document
}

A document object that can integrate with Core Data. Full Topic

func NewPersistentDocument

func NewPersistentDocument() PersistentDocument

func NewPersistentDocumentForURLWithContentsOfURLOfTypeError

func NewPersistentDocumentForURLWithContentsOfURLOfTypeError(urlOrNil foundation.IURL, contentsURL foundation.IURL, typeName string, outError foundation.IError) PersistentDocument

Initializes a document with the specified contents, and places the resulting document's file at the designated location. Full Topic

func NewPersistentDocumentWithTypeError

func NewPersistentDocumentWithTypeError(typeName string, outError foundation.IError) PersistentDocument

Initializes a document of a specified type. Full Topic

func PersistentDocumentFrom

func PersistentDocumentFrom(ptr unsafe.Pointer) PersistentDocument

func PersistentDocument_Alloc

func PersistentDocument_Alloc() PersistentDocument

func (PersistentDocument) Init

func (PersistentDocument) InitForURLWithContentsOfURLOfTypeError

func (p_ PersistentDocument) InitForURLWithContentsOfURLOfTypeError(urlOrNil foundation.IURL, contentsURL foundation.IURL, typeName string, outError foundation.IError) PersistentDocument

func (PersistentDocument) InitWithTypeError

func (p_ PersistentDocument) InitWithTypeError(typeName string, outError foundation.IError) PersistentDocument

func (PersistentDocument) ManagedObjectContext

func (p_ PersistentDocument) ManagedObjectContext() coredata.ManagedObjectContext

The managed object context for the document. Full Topic

func (PersistentDocument) ManagedObjectModel

func (p_ PersistentDocument) ManagedObjectModel() coredata.ManagedObjectModel

The managed object model of the document. Full Topic

func (PersistentDocument) PersistentStoreTypeForFileType

func (p_ PersistentDocument) PersistentStoreTypeForFileType(fileType string) string

Returns the type of persistent store associated with the specified file type. Full Topic

func (PersistentDocument) SetManagedObjectContext

func (p_ PersistentDocument) SetManagedObjectContext(value coredata.IManagedObjectContext)

The managed object context for the document. Full Topic

type PickerTouchBarItem

type PickerTouchBarItem struct {
	TouchBarItem
}

A bar item that provides a picker control with multiple options. Full Topic

func NewPickerTouchBarItem

func NewPickerTouchBarItem() PickerTouchBarItem

func NewPickerTouchBarItemWithIdentifier

func NewPickerTouchBarItemWithIdentifier(identifier TouchBarItemIdentifier) PickerTouchBarItem

Creates a new item with the specified identifier. Full Topic

func PickerTouchBarItemFrom

func PickerTouchBarItemFrom(ptr unsafe.Pointer) PickerTouchBarItem

func PickerTouchBarItem_Alloc

func PickerTouchBarItem_Alloc() PickerTouchBarItem

func PickerTouchBarItem_PickerTouchBarItemWithIdentifierLabelsSelectionModeTargetAction

func PickerTouchBarItem_PickerTouchBarItemWithIdentifierLabelsSelectionModeTargetAction(identifier TouchBarItemIdentifier, labels []string, selectionMode PickerTouchBarItemSelectionMode, target objc.IObject, action objc.Selector) PickerTouchBarItem
[Full Topic]

func (PickerTouchBarItem) Action

func (p_ PickerTouchBarItem) Action() objc.Selector
[Full Topic]

func (PickerTouchBarItem) CollapsedRepresentationImage

func (p_ PickerTouchBarItem) CollapsedRepresentationImage() Image
[Full Topic]

func (PickerTouchBarItem) CollapsedRepresentationLabel

func (p_ PickerTouchBarItem) CollapsedRepresentationLabel() string
[Full Topic]

func (PickerTouchBarItem) ControlRepresentation

[Full Topic]

func (PickerTouchBarItem) ImageAtIndex

func (p_ PickerTouchBarItem) ImageAtIndex(index int) Image
[Full Topic]

func (PickerTouchBarItem) Init

func (PickerTouchBarItem) InitWithIdentifier

func (p_ PickerTouchBarItem) InitWithIdentifier(identifier TouchBarItemIdentifier) PickerTouchBarItem

func (PickerTouchBarItem) IsEnabled

func (p_ PickerTouchBarItem) IsEnabled() bool
[Full Topic]

func (PickerTouchBarItem) IsEnabledAtIndex

func (p_ PickerTouchBarItem) IsEnabledAtIndex(index int) bool
[Full Topic]

func (PickerTouchBarItem) LabelAtIndex

func (p_ PickerTouchBarItem) LabelAtIndex(index int) string
[Full Topic]

func (PickerTouchBarItem) NumberOfOptions

func (p_ PickerTouchBarItem) NumberOfOptions() int
[Full Topic]

func (PickerTouchBarItem) SelectedIndex

func (p_ PickerTouchBarItem) SelectedIndex() int
[Full Topic]

func (PickerTouchBarItem) SelectionColor

func (p_ PickerTouchBarItem) SelectionColor() Color
[Full Topic]

func (PickerTouchBarItem) SelectionMode

[Full Topic]

func (PickerTouchBarItem) SetAction

func (p_ PickerTouchBarItem) SetAction(value objc.Selector)
[Full Topic]

func (PickerTouchBarItem) SetCollapsedRepresentationImage

func (p_ PickerTouchBarItem) SetCollapsedRepresentationImage(value IImage)
[Full Topic]

func (PickerTouchBarItem) SetCollapsedRepresentationLabel

func (p_ PickerTouchBarItem) SetCollapsedRepresentationLabel(value string)
[Full Topic]

func (PickerTouchBarItem) SetControlRepresentation

func (p_ PickerTouchBarItem) SetControlRepresentation(value PickerTouchBarItemControlRepresentation)
[Full Topic]

func (PickerTouchBarItem) SetCustomizationLabel

func (p_ PickerTouchBarItem) SetCustomizationLabel(value string)
[Full Topic]

func (PickerTouchBarItem) SetEnabled

func (p_ PickerTouchBarItem) SetEnabled(value bool)
[Full Topic]

func (PickerTouchBarItem) SetEnabledAtIndex

func (p_ PickerTouchBarItem) SetEnabledAtIndex(enabled bool, index int)
[Full Topic]

func (PickerTouchBarItem) SetImageAtIndex

func (p_ PickerTouchBarItem) SetImageAtIndex(image IImage, index int)
[Full Topic]

func (PickerTouchBarItem) SetLabelAtIndex

func (p_ PickerTouchBarItem) SetLabelAtIndex(label string, index int)
[Full Topic]

func (PickerTouchBarItem) SetNumberOfOptions

func (p_ PickerTouchBarItem) SetNumberOfOptions(value int)
[Full Topic]

func (PickerTouchBarItem) SetSelectedIndex

func (p_ PickerTouchBarItem) SetSelectedIndex(value int)
[Full Topic]

func (PickerTouchBarItem) SetSelectionColor

func (p_ PickerTouchBarItem) SetSelectionColor(value IColor)
[Full Topic]

func (PickerTouchBarItem) SetSelectionMode

func (p_ PickerTouchBarItem) SetSelectionMode(value PickerTouchBarItemSelectionMode)
[Full Topic]

func (PickerTouchBarItem) SetTarget

func (p_ PickerTouchBarItem) SetTarget(value objc.IObject)
[Full Topic]

func (PickerTouchBarItem) Target

func (p_ PickerTouchBarItem) Target() objc.Object
[Full Topic]

type PickerTouchBarItemControlRepresentation

type PickerTouchBarItemControlRepresentation int

Constants that specify display styles for picker bar items. Full Topic

const (
	PickerTouchBarItemControlRepresentationAutomatic PickerTouchBarItemControlRepresentation = 0
	PickerTouchBarItemControlRepresentationCollapsed PickerTouchBarItemControlRepresentation = 2
	PickerTouchBarItemControlRepresentationExpanded  PickerTouchBarItemControlRepresentation = 1
)

type PickerTouchBarItemSelectionMode

type PickerTouchBarItemSelectionMode int

Constants that specify selection modes for picker bar items. Full Topic

const (
	PickerTouchBarItemSelectionModeMomentary PickerTouchBarItemSelectionMode = 2
	PickerTouchBarItemSelectionModeSelectAny PickerTouchBarItemSelectionMode = 1
	PickerTouchBarItemSelectionModeSelectOne PickerTouchBarItemSelectionMode = 0
)

type PointingDeviceType

type PointingDeviceType uint

The pointing-device types for tablet-proximity events or mouse events with a proximity event subtype. Full Topic

const (
	CursorPointingDevice      PointingDeviceType = 2
	EraserPointingDevice      PointingDeviceType = 3
	PenPointingDevice         PointingDeviceType = 1
	PointingDeviceTypeCursor  PointingDeviceType = 2
	PointingDeviceTypeEraser  PointingDeviceType = 3
	PointingDeviceTypePen     PointingDeviceType = 1
	PointingDeviceTypeUnknown PointingDeviceType = 0
	UnknownPointingDevice     PointingDeviceType = 0
)

type PopUpArrowPosition

type PopUpArrowPosition uint

These constants are defined for use with the arrowPosition property. Full Topic

const (
	PopUpArrowAtBottom PopUpArrowPosition = 2
	PopUpArrowAtCenter PopUpArrowPosition = 1
	PopUpNoArrow       PopUpArrowPosition = 0
)

type PopUpButton

type PopUpButton struct {
	Button
}

A control for selecting an item from a list. Full Topic

func NewPopUpButton

func NewPopUpButton() PopUpButton

func NewPopUpButtonWithFrame

func NewPopUpButtonWithFrame(frameRect foundation.Rect) PopUpButton

Initializes a control with the specified frame rectangle. Full Topic

func NewPopUpButtonWithFramePullsDown

func NewPopUpButtonWithFramePullsDown(buttonFrame foundation.Rect, flag bool) PopUpButton

Returns an NSPopUpButton object initialized to the specified dimensions. Full Topic

func PopUpButtonFrom

func PopUpButtonFrom(ptr unsafe.Pointer) PopUpButton

func PopUpButton_Alloc

func PopUpButton_Alloc() PopUpButton

func PopUpButton_ButtonWithImageTargetAction

func PopUpButton_ButtonWithImageTargetAction(image IImage, target objc.IObject, action objc.Selector) PopUpButton

Creates a standard push button with the image you specify. Full Topic

func PopUpButton_ButtonWithTitleTargetAction

func PopUpButton_ButtonWithTitleTargetAction(title string, target objc.IObject, action objc.Selector) PopUpButton

Creates a standard push button with the title you specify. Full Topic

func PopUpButton_CheckboxWithTitleTargetAction

func PopUpButton_CheckboxWithTitleTargetAction(title string, target objc.IObject, action objc.Selector) PopUpButton

Creates a standard checkbox with the title you specify. Full Topic

func PopUpButton_RadioButtonWithTitleTargetAction

func PopUpButton_RadioButtonWithTitleTargetAction(title string, target objc.IObject, action objc.Selector) PopUpButton

Creates a standard radio button with the title you specify. Full Topic

func (PopUpButton) AddItemWithTitle

func (p_ PopUpButton) AddItemWithTitle(title string)

Adds an item with the specified title to the end of the menu. Full Topic

func (PopUpButton) AddItemsWithTitles

func (p_ PopUpButton) AddItemsWithTitles(itemTitles []string)

Adds multiple items to the end of the menu. Full Topic

func (PopUpButton) AutoenablesItems

func (p_ PopUpButton) AutoenablesItems() bool

A Boolean value indicating whether the button enables and disables its items every time a user event occurs. Full Topic

func (PopUpButton) IndexOfItem

func (p_ PopUpButton) IndexOfItem(item IMenuItem) int

Returns the index of the specified menu item. Full Topic

func (PopUpButton) IndexOfItemWithRepresentedObject

func (p_ PopUpButton) IndexOfItemWithRepresentedObject(obj objc.IObject) int

Returns the index of the menu item that holds the specified represented object. Full Topic

func (PopUpButton) IndexOfItemWithTag

func (p_ PopUpButton) IndexOfItemWithTag(tag int) int

Returns the index of the menu item with the specified tag. Full Topic

func (PopUpButton) IndexOfItemWithTargetAndAction

func (p_ PopUpButton) IndexOfItemWithTargetAndAction(target objc.IObject, actionSelector objc.Selector) int

Returns the index of the menu item with the specified target and action. Full Topic

func (PopUpButton) IndexOfItemWithTitle

func (p_ PopUpButton) IndexOfItemWithTitle(title string) int

Returns the index of the item with the specified title. Full Topic

func (PopUpButton) IndexOfSelectedItem

func (p_ PopUpButton) IndexOfSelectedItem() int

The index of the item that was last selected by the user. Full Topic

func (PopUpButton) Init

func (p_ PopUpButton) Init() PopUpButton

func (PopUpButton) InitWithFrame

func (p_ PopUpButton) InitWithFrame(frameRect foundation.Rect) PopUpButton

func (PopUpButton) InitWithFramePullsDown

func (p_ PopUpButton) InitWithFramePullsDown(buttonFrame foundation.Rect, flag bool) PopUpButton

func (PopUpButton) InsertItemWithTitleAtIndex

func (p_ PopUpButton) InsertItemWithTitleAtIndex(title string, index int)

Inserts an item at the specified position in the menu. Full Topic

func (PopUpButton) ItemArray

func (p_ PopUpButton) ItemArray() []MenuItem

The array of menu item objects associated with the button. Full Topic

func (PopUpButton) ItemAtIndex

func (p_ PopUpButton) ItemAtIndex(index int) MenuItem

Returns the menu item at the specified index. Full Topic

func (PopUpButton) ItemTitleAtIndex

func (p_ PopUpButton) ItemTitleAtIndex(index int) string

Returns the title of the item at the specified index. Full Topic

func (PopUpButton) ItemTitles

func (p_ PopUpButton) ItemTitles() []string

An array of strings corresponding to the titles of the items in the menu. Full Topic

func (PopUpButton) ItemWithTitle

func (p_ PopUpButton) ItemWithTitle(title string) MenuItem

Returns the menu item with the specified title. Full Topic

func (PopUpButton) LastItem

func (p_ PopUpButton) LastItem() MenuItem

The last item in the menu. Full Topic

func (PopUpButton) NumberOfItems

func (p_ PopUpButton) NumberOfItems() int

The number of items in the menu. Full Topic

func (PopUpButton) PreferredEdge

func (p_ PopUpButton) PreferredEdge() foundation.RectEdge

The edge of the button on which to display the menu when screen space is constrained. Full Topic

func (PopUpButton) PullsDown

func (p_ PopUpButton) PullsDown() bool

A Boolean value indicating whether the button displays a pull-down or pop-up menu. Full Topic

func (PopUpButton) RemoveAllItems

func (p_ PopUpButton) RemoveAllItems()

Removes all items in the receiver’s item menu. Full Topic

func (PopUpButton) RemoveItemAtIndex

func (p_ PopUpButton) RemoveItemAtIndex(index int)

Removes the item at the specified index. Full Topic

func (PopUpButton) RemoveItemWithTitle

func (p_ PopUpButton) RemoveItemWithTitle(title string)

Removes the item with the specified title from the menu. Full Topic

func (PopUpButton) SelectItem

func (p_ PopUpButton) SelectItem(item IMenuItem)

Selects the specified menu item. Full Topic

func (PopUpButton) SelectItemAtIndex

func (p_ PopUpButton) SelectItemAtIndex(index int)

Selects the item in the menu at the specified index. Full Topic

func (PopUpButton) SelectItemWithTag

func (p_ PopUpButton) SelectItemWithTag(tag int) bool

Selects the menu item with the specified tag. Full Topic

func (PopUpButton) SelectItemWithTitle

func (p_ PopUpButton) SelectItemWithTitle(title string)

Selects the item with the specified title. Full Topic

func (PopUpButton) SelectedItem

func (p_ PopUpButton) SelectedItem() MenuItem

The menu item that was last selected by the user. Full Topic

func (PopUpButton) SelectedTag

func (p_ PopUpButton) SelectedTag() int

The tag of the menu item that was last selected by the user. Full Topic

func (PopUpButton) SetAutoenablesItems

func (p_ PopUpButton) SetAutoenablesItems(value bool)

A Boolean value indicating whether the button enables and disables its items every time a user event occurs. Full Topic

func (PopUpButton) SetPreferredEdge

func (p_ PopUpButton) SetPreferredEdge(value foundation.RectEdge)

The edge of the button on which to display the menu when screen space is constrained. Full Topic

func (PopUpButton) SetPullsDown

func (p_ PopUpButton) SetPullsDown(value bool)

A Boolean value indicating whether the button displays a pull-down or pop-up menu. Full Topic

func (PopUpButton) SynchronizeTitleAndSelectedItem

func (p_ PopUpButton) SynchronizeTitleAndSelectedItem()

Ensures that the item being displayed by the receiver agrees with the selected item. Full Topic

func (PopUpButton) TitleOfSelectedItem

func (p_ PopUpButton) TitleOfSelectedItem() string

The title of the item that was last selected by the user. Full Topic

type PopUpButtonCell

type PopUpButtonCell struct {
	MenuItemCell
}

The NSPopUpButtonCell class defines the visual appearance of pop-up buttons that display pop-up or pull-down menus. Pop-up menus present the user with a set of choices, much the way radio buttons do, but using much less space. Pull-down menus also provide a set of choices but present the information in a slightly different way, usually to provide a set of commands from which the user can choose. Full Topic

func NewPopUpButtonCell

func NewPopUpButtonCell() PopUpButtonCell

func NewPopUpButtonCellImageCell

func NewPopUpButtonCellImageCell(image IImage) PopUpButtonCell
[Full Topic]

func NewPopUpButtonCellTextCell

func NewPopUpButtonCellTextCell(string_ string) PopUpButtonCell
[Full Topic]

func NewPopUpButtonCellTextCellPullsDown

func NewPopUpButtonCellTextCellPullsDown(stringValue string, pullDown bool) PopUpButtonCell

Returns an NSPopUpButtonCell object initialized with the specified title. Full Topic

func PopUpButtonCellFrom

func PopUpButtonCellFrom(ptr unsafe.Pointer) PopUpButtonCell

func PopUpButtonCell_Alloc

func PopUpButtonCell_Alloc() PopUpButtonCell

func (PopUpButtonCell) AddItemWithTitle

func (p_ PopUpButtonCell) AddItemWithTitle(title string)

Adds an item with the specified title to the end of the menu. Full Topic

func (PopUpButtonCell) AddItemsWithTitles

func (p_ PopUpButtonCell) AddItemsWithTitles(itemTitles []string)

Adds multiple items to the end of the menu. Full Topic

func (PopUpButtonCell) AltersStateOfSelectedItem

func (p_ PopUpButtonCell) AltersStateOfSelectedItem() bool

A Boolean value that indicates if the pop-up button links the state of the selected menu item to the current selection. Full Topic

func (PopUpButtonCell) ArrowPosition

func (p_ PopUpButtonCell) ArrowPosition() PopUpArrowPosition

The position of the arrow displayed on the button. Full Topic

func (PopUpButtonCell) AttachPopUpWithFrameInView

func (p_ PopUpButtonCell) AttachPopUpWithFrameInView(cellFrame foundation.Rect, controlView IView)

Sets up the receiver to display a menu. Full Topic

func (PopUpButtonCell) AutoenablesItems

func (p_ PopUpButtonCell) AutoenablesItems() bool

A Boolean value that indicates if the button automatically enables and disables its items every time a user event occurs. Full Topic

func (PopUpButtonCell) DismissPopUp

func (p_ PopUpButtonCell) DismissPopUp()

Dismisses the pop-up button’s menu by ordering its window out. Full Topic

func (PopUpButtonCell) IndexOfItem

func (p_ PopUpButtonCell) IndexOfItem(item IMenuItem) int

Returns the index of the specified menu item. Full Topic

func (PopUpButtonCell) IndexOfItemWithRepresentedObject

func (p_ PopUpButtonCell) IndexOfItemWithRepresentedObject(obj objc.IObject) int

Returns the index of the menu item that holds the specified represented object. Full Topic

func (PopUpButtonCell) IndexOfItemWithTag

func (p_ PopUpButtonCell) IndexOfItemWithTag(tag int) int

Returns the index of the menu item with the specified tag. Full Topic

func (PopUpButtonCell) IndexOfItemWithTargetAndAction

func (p_ PopUpButtonCell) IndexOfItemWithTargetAndAction(target objc.IObject, actionSelector objc.Selector) int

Returns the index of the menu item with the specified target and action. Full Topic

func (PopUpButtonCell) IndexOfItemWithTitle

func (p_ PopUpButtonCell) IndexOfItemWithTitle(title string) int

Returns the index of the item with the specified title. Full Topic

func (PopUpButtonCell) IndexOfSelectedItem

func (p_ PopUpButtonCell) IndexOfSelectedItem() int

The index of the item last selected by the user. Full Topic

func (PopUpButtonCell) Init

func (p_ PopUpButtonCell) Init() PopUpButtonCell

func (PopUpButtonCell) InitImageCell

func (p_ PopUpButtonCell) InitImageCell(image IImage) PopUpButtonCell

func (PopUpButtonCell) InitTextCell

func (p_ PopUpButtonCell) InitTextCell(string_ string) PopUpButtonCell

func (PopUpButtonCell) InitTextCellPullsDown

func (p_ PopUpButtonCell) InitTextCellPullsDown(stringValue string, pullDown bool) PopUpButtonCell

func (PopUpButtonCell) InsertItemWithTitleAtIndex

func (p_ PopUpButtonCell) InsertItemWithTitleAtIndex(title string, index int)

Inserts an item at the specified position in the menu. Full Topic

func (PopUpButtonCell) ItemArray

func (p_ PopUpButtonCell) ItemArray() []MenuItem

An array of NSMenuItem objects that represent the items in the menu. Full Topic

func (PopUpButtonCell) ItemAtIndex

func (p_ PopUpButtonCell) ItemAtIndex(index int) MenuItem

Returns the menu item at the specified index. Full Topic

func (PopUpButtonCell) ItemTitleAtIndex

func (p_ PopUpButtonCell) ItemTitleAtIndex(index int) string

Returns the title of the item at the specified index. Full Topic

func (PopUpButtonCell) ItemTitles

func (p_ PopUpButtonCell) ItemTitles() []string

An array of NSString objects containing the titles of every item in the menu. Full Topic

func (PopUpButtonCell) ItemWithTitle

func (p_ PopUpButtonCell) ItemWithTitle(title string) MenuItem

Returns the menu item with the specified title. Full Topic

func (PopUpButtonCell) LastItem

func (p_ PopUpButtonCell) LastItem() MenuItem

The last item in the menu. Full Topic

func (PopUpButtonCell) NumberOfItems

func (p_ PopUpButtonCell) NumberOfItems() int

The number of items in the menu. Full Topic

func (PopUpButtonCell) PerformClickWithFrameInView

func (p_ PopUpButtonCell) PerformClickWithFrameInView(frame foundation.Rect, controlView IView)

Displays the receiver’s menu and track mouse events in it. Full Topic

func (PopUpButtonCell) PreferredEdge

func (p_ PopUpButtonCell) PreferredEdge() foundation.RectEdge

The edge of the cell from which the menu should pop out when screen conditions are restrictive. Full Topic

func (PopUpButtonCell) PullsDown

func (p_ PopUpButtonCell) PullsDown() bool

A Boolean value that indicates the behavior of the button’s menu. Full Topic

func (PopUpButtonCell) RemoveAllItems

func (p_ PopUpButtonCell) RemoveAllItems()

Removes all items in the receiver’s item menu. Full Topic

func (PopUpButtonCell) RemoveItemAtIndex

func (p_ PopUpButtonCell) RemoveItemAtIndex(index int)

Removes the item at the specified index. Full Topic

func (PopUpButtonCell) RemoveItemWithTitle

func (p_ PopUpButtonCell) RemoveItemWithTitle(title string)

Removes the item with the specified title from the menu. Full Topic

func (PopUpButtonCell) SelectItem

func (p_ PopUpButtonCell) SelectItem(item IMenuItem)

Selects the specified menu item. Full Topic

func (PopUpButtonCell) SelectItemAtIndex

func (p_ PopUpButtonCell) SelectItemAtIndex(index int)

Selects the item in the menu at the specified index. Full Topic

func (PopUpButtonCell) SelectItemWithTag

func (p_ PopUpButtonCell) SelectItemWithTag(tag int) bool

Selects the menu item with the specified tag. Full Topic

func (PopUpButtonCell) SelectItemWithTitle

func (p_ PopUpButtonCell) SelectItemWithTitle(title string)

Selects the item with the specified title. Full Topic

func (PopUpButtonCell) SelectedItem

func (p_ PopUpButtonCell) SelectedItem() MenuItem

The menu item last selected by the user. Full Topic

func (PopUpButtonCell) SetAltersStateOfSelectedItem

func (p_ PopUpButtonCell) SetAltersStateOfSelectedItem(value bool)

A Boolean value that indicates if the pop-up button links the state of the selected menu item to the current selection. Full Topic

func (PopUpButtonCell) SetArrowPosition

func (p_ PopUpButtonCell) SetArrowPosition(value PopUpArrowPosition)

The position of the arrow displayed on the button. Full Topic

func (PopUpButtonCell) SetAutoenablesItems

func (p_ PopUpButtonCell) SetAutoenablesItems(value bool)

A Boolean value that indicates if the button automatically enables and disables its items every time a user event occurs. Full Topic

func (PopUpButtonCell) SetPreferredEdge

func (p_ PopUpButtonCell) SetPreferredEdge(value foundation.RectEdge)

The edge of the cell from which the menu should pop out when screen conditions are restrictive. Full Topic

func (PopUpButtonCell) SetPullsDown

func (p_ PopUpButtonCell) SetPullsDown(value bool)

A Boolean value that indicates the behavior of the button’s menu. Full Topic

func (PopUpButtonCell) SetUsesItemFromMenu

func (p_ PopUpButtonCell) SetUsesItemFromMenu(value bool)

A Boolean value that indicates if the control uses an item from the menu for its own title. Full Topic

func (PopUpButtonCell) SynchronizeTitleAndSelectedItem

func (p_ PopUpButtonCell) SynchronizeTitleAndSelectedItem()

Synchronizes the pop-up button’s displayed item with the currently selected menu item. Full Topic

func (PopUpButtonCell) TitleOfSelectedItem

func (p_ PopUpButtonCell) TitleOfSelectedItem() string

The title of the item last selected by the user. Full Topic

func (PopUpButtonCell) UsesItemFromMenu

func (p_ PopUpButtonCell) UsesItemFromMenu() bool

A Boolean value that indicates if the control uses an item from the menu for its own title. Full Topic

type Popover

type Popover struct {
	Responder
}

A means to display additional content related to existing content on the screen. Full Topic

func NewPopover

func NewPopover() Popover

func PopoverFrom

func PopoverFrom(ptr unsafe.Pointer) Popover

func Popover_Alloc

func Popover_Alloc() Popover

func (Popover) Animates

func (p_ Popover) Animates() bool

Specifies if the popover is to be animated. Full Topic

func (Popover) Appearance

func (p_ Popover) Appearance() Appearance

The appearance of the popover. Full Topic

func (Popover) Behavior

func (p_ Popover) Behavior() PopoverBehavior

Specifies the behavior of the popover. Full Topic

func (Popover) Close

func (p_ Popover) Close()

Forces the popover to close without consulting its delegate. Full Topic

func (Popover) ContentSize

func (p_ Popover) ContentSize() foundation.Size

The content size of the popover. Full Topic

func (Popover) ContentViewController

func (p_ Popover) ContentViewController() ViewController

The view controller that manages the content of the popover. Full Topic

func (Popover) Delegate

func (p_ Popover) Delegate() PopoverDelegateWrapper

The delegate of the popover. Full Topic

func (Popover) EffectiveAppearance

func (p_ Popover) EffectiveAppearance() Appearance

The appearance that will be used when the popover is displayed onscreen. Full Topic

func (Popover) Init

func (p_ Popover) Init() Popover

func (Popover) IsDetached

func (p_ Popover) IsDetached() bool

A Boolean value that indicates whether the window created by a popover's detachment is automatically created. Full Topic

func (Popover) IsShown

func (p_ Popover) IsShown() bool

The display state of the popover. Full Topic

func (Popover) PerformClose

func (p_ Popover) PerformClose(sender objc.IObject) objc.Object

Attempts to close the popover. Full Topic

func (Popover) PositioningRect

func (p_ Popover) PositioningRect() foundation.Rect

The rectangle within the positioning view relative to which the popover should be positioned. Full Topic

func (Popover) SetAnimates

func (p_ Popover) SetAnimates(value bool)

Specifies if the popover is to be animated. Full Topic

func (Popover) SetAppearance

func (p_ Popover) SetAppearance(value IAppearance)

The appearance of the popover. Full Topic

func (Popover) SetBehavior

func (p_ Popover) SetBehavior(value PopoverBehavior)

Specifies the behavior of the popover. Full Topic

func (Popover) SetContentSize

func (p_ Popover) SetContentSize(value foundation.Size)

The content size of the popover. Full Topic

func (Popover) SetContentViewController

func (p_ Popover) SetContentViewController(value IViewController)

The view controller that manages the content of the popover. Full Topic

func (Popover) SetDelegate

func (p_ Popover) SetDelegate(value PPopoverDelegate)

The delegate of the popover. Full Topic

func (Popover) SetDelegateObject

func (p_ Popover) SetDelegateObject(valueObject objc.IObject)

The delegate of the popover. Full Topic

func (Popover) SetPositioningRect

func (p_ Popover) SetPositioningRect(value foundation.Rect)

The rectangle within the positioning view relative to which the popover should be positioned. Full Topic

func (Popover) ShowRelativeToRectOfViewPreferredEdge

func (p_ Popover) ShowRelativeToRectOfViewPreferredEdge(positioningRect foundation.Rect, positioningView IView, preferredEdge foundation.RectEdge)

Shows the popover anchored to the specified view. Full Topic

type PopoverAppearance

type PopoverAppearance int

The set of predefined appearances for a popover. Full Topic

const (
	PopoverAppearanceHUD     PopoverAppearance = 1
	PopoverAppearanceMinimal PopoverAppearance = 0
)

type PopoverBehavior

type PopoverBehavior int

The appearance and disappearance behavior of a popover. Full Topic

const (
	PopoverBehaviorApplicationDefined PopoverBehavior = 0
	PopoverBehaviorSemitransient      PopoverBehavior = 2
	PopoverBehaviorTransient          PopoverBehavior = 1
)

type PopoverCloseReasonValue

type PopoverCloseReasonValue string

Values that specify the reason for the NSPopoverWillCloseNotification notification. Full Topic

const (
	PopoverCloseReasonDetachToWindow PopoverCloseReasonValue = "NSPopoverCloseReasonDetachToWindow"
	PopoverCloseReasonStandard       PopoverCloseReasonValue = "NSPopoverCloseReasonStandard"
)

type PopoverDelegate

type PopoverDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PPopoverDelegate protocol.

func (*PopoverDelegate) DetachableWindowForPopover

func (di *PopoverDelegate) DetachableWindowForPopover(popover Popover) IWindow

Detaches the popover creating a window containing the content. Full Topic

func (*PopoverDelegate) HasDetachableWindowForPopover

func (di *PopoverDelegate) HasDetachableWindowForPopover() bool

func (*PopoverDelegate) HasPopoverDidClose

func (di *PopoverDelegate) HasPopoverDidClose() bool

func (*PopoverDelegate) HasPopoverDidDetach

func (di *PopoverDelegate) HasPopoverDidDetach() bool

func (*PopoverDelegate) HasPopoverDidShow

func (di *PopoverDelegate) HasPopoverDidShow() bool

func (*PopoverDelegate) HasPopoverShouldClose

func (di *PopoverDelegate) HasPopoverShouldClose() bool

func (*PopoverDelegate) HasPopoverShouldDetach

func (di *PopoverDelegate) HasPopoverShouldDetach() bool

func (*PopoverDelegate) HasPopoverWillClose

func (di *PopoverDelegate) HasPopoverWillClose() bool

func (*PopoverDelegate) HasPopoverWillShow

func (di *PopoverDelegate) HasPopoverWillShow() bool

func (*PopoverDelegate) PopoverDidClose

func (di *PopoverDelegate) PopoverDidClose(notification foundation.Notification)

Invoked when the popover did close. Full Topic

func (*PopoverDelegate) PopoverDidDetach

func (di *PopoverDelegate) PopoverDidDetach(popover Popover)

Indicates that a popover has been released while it's in an implicitly detached state. Full Topic

func (*PopoverDelegate) PopoverDidShow

func (di *PopoverDelegate) PopoverDidShow(notification foundation.Notification)

Invoked when the popover has been shown. Full Topic

func (*PopoverDelegate) PopoverShouldClose

func (di *PopoverDelegate) PopoverShouldClose(popover Popover) bool

Allows a delegate to override a close request. Full Topic

func (*PopoverDelegate) PopoverShouldDetach

func (di *PopoverDelegate) PopoverShouldDetach(popover Popover) bool

Returns a Boolean value that indicates whether a popover should detach from its positioning view and become a separate window. Full Topic

func (*PopoverDelegate) PopoverWillClose

func (di *PopoverDelegate) PopoverWillClose(notification foundation.Notification)

Invoked when the popover is about to close. Full Topic

func (*PopoverDelegate) PopoverWillShow

func (di *PopoverDelegate) PopoverWillShow(notification foundation.Notification)

Invoked when the popover will show. Full Topic

func (*PopoverDelegate) SetDetachableWindowForPopover

func (di *PopoverDelegate) SetDetachableWindowForPopover(f func(popover Popover) IWindow)

Detaches the popover creating a window containing the content. Full Topic

func (*PopoverDelegate) SetPopoverDidClose

func (di *PopoverDelegate) SetPopoverDidClose(f func(notification foundation.Notification))

Invoked when the popover did close. Full Topic

func (*PopoverDelegate) SetPopoverDidDetach

func (di *PopoverDelegate) SetPopoverDidDetach(f func(popover Popover))

Indicates that a popover has been released while it's in an implicitly detached state. Full Topic

func (*PopoverDelegate) SetPopoverDidShow

func (di *PopoverDelegate) SetPopoverDidShow(f func(notification foundation.Notification))

Invoked when the popover has been shown. Full Topic

func (*PopoverDelegate) SetPopoverShouldClose

func (di *PopoverDelegate) SetPopoverShouldClose(f func(popover Popover) bool)

Allows a delegate to override a close request. Full Topic

func (*PopoverDelegate) SetPopoverShouldDetach

func (di *PopoverDelegate) SetPopoverShouldDetach(f func(popover Popover) bool)

Returns a Boolean value that indicates whether a popover should detach from its positioning view and become a separate window. Full Topic

func (*PopoverDelegate) SetPopoverWillClose

func (di *PopoverDelegate) SetPopoverWillClose(f func(notification foundation.Notification))

Invoked when the popover is about to close. Full Topic

func (*PopoverDelegate) SetPopoverWillShow

func (di *PopoverDelegate) SetPopoverWillShow(f func(notification foundation.Notification))

Invoked when the popover will show. Full Topic

type PopoverDelegateWrapper

type PopoverDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PPopoverDelegate protocol.

func (PopoverDelegateWrapper) DetachableWindowForPopover

func (p_ PopoverDelegateWrapper) DetachableWindowForPopover(popover IPopover) Window

Detaches the popover creating a window containing the content. Full Topic

func (PopoverDelegateWrapper) HasDetachableWindowForPopover

func (p_ PopoverDelegateWrapper) HasDetachableWindowForPopover() bool

func (PopoverDelegateWrapper) HasPopoverDidClose

func (p_ PopoverDelegateWrapper) HasPopoverDidClose() bool

func (PopoverDelegateWrapper) HasPopoverDidDetach

func (p_ PopoverDelegateWrapper) HasPopoverDidDetach() bool

func (PopoverDelegateWrapper) HasPopoverDidShow

func (p_ PopoverDelegateWrapper) HasPopoverDidShow() bool

func (PopoverDelegateWrapper) HasPopoverShouldClose

func (p_ PopoverDelegateWrapper) HasPopoverShouldClose() bool

func (PopoverDelegateWrapper) HasPopoverShouldDetach

func (p_ PopoverDelegateWrapper) HasPopoverShouldDetach() bool

func (PopoverDelegateWrapper) HasPopoverWillClose

func (p_ PopoverDelegateWrapper) HasPopoverWillClose() bool

func (PopoverDelegateWrapper) HasPopoverWillShow

func (p_ PopoverDelegateWrapper) HasPopoverWillShow() bool

func (PopoverDelegateWrapper) PopoverDidClose

func (p_ PopoverDelegateWrapper) PopoverDidClose(notification foundation.INotification)

Invoked when the popover did close. Full Topic

func (PopoverDelegateWrapper) PopoverDidDetach

func (p_ PopoverDelegateWrapper) PopoverDidDetach(popover IPopover)

Indicates that a popover has been released while it's in an implicitly detached state. Full Topic

func (PopoverDelegateWrapper) PopoverDidShow

func (p_ PopoverDelegateWrapper) PopoverDidShow(notification foundation.INotification)

Invoked when the popover has been shown. Full Topic

func (PopoverDelegateWrapper) PopoverShouldClose

func (p_ PopoverDelegateWrapper) PopoverShouldClose(popover IPopover) bool

Allows a delegate to override a close request. Full Topic

func (PopoverDelegateWrapper) PopoverShouldDetach

func (p_ PopoverDelegateWrapper) PopoverShouldDetach(popover IPopover) bool

Returns a Boolean value that indicates whether a popover should detach from its positioning view and become a separate window. Full Topic

func (PopoverDelegateWrapper) PopoverWillClose

func (p_ PopoverDelegateWrapper) PopoverWillClose(notification foundation.INotification)

Invoked when the popover is about to close. Full Topic

func (PopoverDelegateWrapper) PopoverWillShow

func (p_ PopoverDelegateWrapper) PopoverWillShow(notification foundation.INotification)

Invoked when the popover will show. Full Topic

type PopoverTouchBarItem

type PopoverTouchBarItem struct {
	TouchBarItem
}

A bar item that provides a two-state control that can expand into its second state, showing the contents of a bar that it owns. Full Topic

func NewPopoverTouchBarItem

func NewPopoverTouchBarItem() PopoverTouchBarItem

func NewPopoverTouchBarItemWithIdentifier

func NewPopoverTouchBarItemWithIdentifier(identifier TouchBarItemIdentifier) PopoverTouchBarItem

Creates a new item with the specified identifier. Full Topic

func PopoverTouchBarItemFrom

func PopoverTouchBarItemFrom(ptr unsafe.Pointer) PopoverTouchBarItem

func PopoverTouchBarItem_Alloc

func PopoverTouchBarItem_Alloc() PopoverTouchBarItem

func (PopoverTouchBarItem) CollapsedRepresentation

func (p_ PopoverTouchBarItem) CollapsedRepresentation() View

The view displayed when this item is displayed in its parent bar. Full Topic

func (PopoverTouchBarItem) CollapsedRepresentationImage

func (p_ PopoverTouchBarItem) CollapsedRepresentationImage() Image

The image displayed by the button for the default collapsed representation. Full Topic

func (PopoverTouchBarItem) CollapsedRepresentationLabel

func (p_ PopoverTouchBarItem) CollapsedRepresentationLabel() string

The localized string displayed by the button for the default collapsed representation. Full Topic

func (PopoverTouchBarItem) DismissPopover

func (p_ PopoverTouchBarItem) DismissPopover(sender objc.IObject)

Restores the previously visible main bar. Full Topic

func (PopoverTouchBarItem) Init

func (PopoverTouchBarItem) InitWithIdentifier

func (p_ PopoverTouchBarItem) InitWithIdentifier(identifier TouchBarItemIdentifier) PopoverTouchBarItem

func (PopoverTouchBarItem) MakeStandardActivatePopoverGestureRecognizer

func (p_ PopoverTouchBarItem) MakeStandardActivatePopoverGestureRecognizer() GestureRecognizer

Returns a gesture recognizer, configured to invoke the showPopover: method. Full Topic

func (PopoverTouchBarItem) PopoverTouchBar

func (p_ PopoverTouchBarItem) PopoverTouchBar() TouchBar

The bar displayed when this item is "popped." Full Topic

func (PopoverTouchBarItem) PressAndHoldTouchBar

func (p_ PopoverTouchBarItem) PressAndHoldTouchBar() TouchBar

The bar that is displayed when a user press-and-holds on the popover item. Full Topic

func (PopoverTouchBarItem) SetCollapsedRepresentation

func (p_ PopoverTouchBarItem) SetCollapsedRepresentation(value IView)

The view displayed when this item is displayed in its parent bar. Full Topic

func (PopoverTouchBarItem) SetCollapsedRepresentationImage

func (p_ PopoverTouchBarItem) SetCollapsedRepresentationImage(value IImage)

The image displayed by the button for the default collapsed representation. Full Topic

func (PopoverTouchBarItem) SetCollapsedRepresentationLabel

func (p_ PopoverTouchBarItem) SetCollapsedRepresentationLabel(value string)

The localized string displayed by the button for the default collapsed representation. Full Topic

func (PopoverTouchBarItem) SetCustomizationLabel

func (p_ PopoverTouchBarItem) SetCustomizationLabel(value string)

The user-visible string identifying this item during bar customization. Full Topic

func (PopoverTouchBarItem) SetPopoverTouchBar

func (p_ PopoverTouchBarItem) SetPopoverTouchBar(value ITouchBar)

The bar displayed when this item is "popped." Full Topic

func (PopoverTouchBarItem) SetPressAndHoldTouchBar

func (p_ PopoverTouchBarItem) SetPressAndHoldTouchBar(value ITouchBar)

The bar that is displayed when a user press-and-holds on the popover item. Full Topic

func (PopoverTouchBarItem) SetShowsCloseButton

func (p_ PopoverTouchBarItem) SetShowsCloseButton(value bool)

A Boolean value that determines whether a close button should be shown on the popover bar. Full Topic

func (PopoverTouchBarItem) ShowPopover

func (p_ PopoverTouchBarItem) ShowPopover(sender objc.IObject)

Replaces the main bar with this item's popover bar. Full Topic

func (PopoverTouchBarItem) ShowsCloseButton

func (p_ PopoverTouchBarItem) ShowsCloseButton() bool

A Boolean value that determines whether a close button should be shown on the popover bar. Full Topic

type PredicateEditor

type PredicateEditor struct {
	RuleEditor
}

A defined set of rules that allows the editing of predicate objects. Full Topic

func NewPredicateEditor

func NewPredicateEditor() PredicateEditor

func NewPredicateEditorWithFrame

func NewPredicateEditorWithFrame(frameRect foundation.Rect) PredicateEditor

Initializes a control with the specified frame rectangle. Full Topic

func PredicateEditorFrom

func PredicateEditorFrom(ptr unsafe.Pointer) PredicateEditor

func PredicateEditor_Alloc

func PredicateEditor_Alloc() PredicateEditor

func (PredicateEditor) Init

func (p_ PredicateEditor) Init() PredicateEditor

func (PredicateEditor) InitWithFrame

func (p_ PredicateEditor) InitWithFrame(frameRect foundation.Rect) PredicateEditor

func (PredicateEditor) RowTemplates

func (p_ PredicateEditor) RowTemplates() []PredicateEditorRowTemplate

The row templates for the receiver. Full Topic

func (PredicateEditor) SetRowTemplates

func (p_ PredicateEditor) SetRowTemplates(value []IPredicateEditorRowTemplate)

The row templates for the receiver. Full Topic

type PredicateEditorRowTemplate

type PredicateEditorRowTemplate struct {
	objc.Object
}

A template that describes available predicates and how to display them. Full Topic

func NewPredicateEditorRowTemplate

func NewPredicateEditorRowTemplate() PredicateEditorRowTemplate

func NewPredicateEditorRowTemplateWithCompoundTypes

func NewPredicateEditorRowTemplateWithCompoundTypes(compoundTypes []foundation.INumber) PredicateEditorRowTemplate

Initializes and returns a row template suitable for displaying compound predicates. Full Topic

func NewPredicateEditorRowTemplateWithLeftExpressionsRightExpressionsModifierOperatorsOptions

func NewPredicateEditorRowTemplateWithLeftExpressionsRightExpressionsModifierOperatorsOptions(leftExpressions []foundation.IExpression, rightExpressions []foundation.IExpression, modifier foundation.ComparisonPredicateModifier, operators []foundation.INumber, options uint) PredicateEditorRowTemplate

Initializes and returns a “pop-up-pop-up-pop-up”–style row template. Full Topic

func PredicateEditorRowTemplateFrom

func PredicateEditorRowTemplateFrom(ptr unsafe.Pointer) PredicateEditorRowTemplate

func PredicateEditorRowTemplate_Alloc

func PredicateEditorRowTemplate_Alloc() PredicateEditorRowTemplate

func PredicateEditorRowTemplate_TemplatesWithAttributeKeyPathsInEntityDescription

func PredicateEditorRowTemplate_TemplatesWithAttributeKeyPathsInEntityDescription(keyPaths []string, entityDescription coredata.IEntityDescription) []PredicateEditorRowTemplate

Returns an array of predicate templates for the given attribute key paths for a given entity. Full Topic

func (PredicateEditorRowTemplate) CompoundTypes

func (p_ PredicateEditorRowTemplate) CompoundTypes() []foundation.Number

Returns the compound predicate types. Full Topic

func (PredicateEditorRowTemplate) DisplayableSubpredicatesOfPredicate

func (p_ PredicateEditorRowTemplate) DisplayableSubpredicatesOfPredicate(predicate foundation.IPredicate) []foundation.Predicate

Returns the subpredicates that should be made sub-rows of a given predicate. Full Topic

func (PredicateEditorRowTemplate) Init

func (PredicateEditorRowTemplate) InitWithCompoundTypes

func (p_ PredicateEditorRowTemplate) InitWithCompoundTypes(compoundTypes []foundation.INumber) PredicateEditorRowTemplate

func (PredicateEditorRowTemplate) InitWithLeftExpressionsRightExpressionsModifierOperatorsOptions

func (p_ PredicateEditorRowTemplate) InitWithLeftExpressionsRightExpressionsModifierOperatorsOptions(leftExpressions []foundation.IExpression, rightExpressions []foundation.IExpression, modifier foundation.ComparisonPredicateModifier, operators []foundation.INumber, options uint) PredicateEditorRowTemplate

func (PredicateEditorRowTemplate) LeftExpressions

func (p_ PredicateEditorRowTemplate) LeftExpressions() []foundation.Expression

Returns the left hand expressions for the receiver. Full Topic

func (PredicateEditorRowTemplate) MatchForPredicate

func (p_ PredicateEditorRowTemplate) MatchForPredicate(predicate foundation.IPredicate) float64

Returns a positive number if the receiver can represent a given predicate, and 0 if it cannot. Full Topic

func (PredicateEditorRowTemplate) Modifier

Returns the comparison predicate modifier for the receiver. Full Topic

func (PredicateEditorRowTemplate) Operators

func (p_ PredicateEditorRowTemplate) Operators() []foundation.Number

Returns the array of comparison predicate operators. Full Topic

func (PredicateEditorRowTemplate) Options

func (p_ PredicateEditorRowTemplate) Options() uint

Returns the comparison predicate options. Full Topic

func (PredicateEditorRowTemplate) PredicateWithSubpredicates

func (p_ PredicateEditorRowTemplate) PredicateWithSubpredicates(subpredicates []foundation.IPredicate) foundation.Predicate

Returns the predicate represented by the receiver’s views' values and the given sub-predicates. Full Topic

func (PredicateEditorRowTemplate) RightExpressionAttributeType

func (p_ PredicateEditorRowTemplate) RightExpressionAttributeType() coredata.AttributeType

Returns the attribute type of the receiver’s right expression. Full Topic

func (PredicateEditorRowTemplate) RightExpressions

func (p_ PredicateEditorRowTemplate) RightExpressions() []foundation.Expression

Returns the right hand expressions for the receiver. Full Topic

func (PredicateEditorRowTemplate) SetPredicate

func (p_ PredicateEditorRowTemplate) SetPredicate(predicate foundation.IPredicate)

Sets the value of the views according to the given predicate. Full Topic

func (PredicateEditorRowTemplate) TemplateViews

func (p_ PredicateEditorRowTemplate) TemplateViews() []View

Returns the views that display this template’s predicate. Full Topic

type PressGestureRecognizer

type PressGestureRecognizer struct {
	GestureRecognizer
}

A discrete gesture recognizer that tracks whether the user holds down a mouse button for a minimum amount of time before releasing it. Full Topic

func NewPressGestureRecognizer

func NewPressGestureRecognizer() PressGestureRecognizer

func NewPressGestureRecognizerWithTargetAction

func NewPressGestureRecognizerWithTargetAction(target objc.IObject, action objc.Selector) PressGestureRecognizer

Initializes the gesture recognizer with the specified target and action information. Full Topic

func PressGestureRecognizerFrom

func PressGestureRecognizerFrom(ptr unsafe.Pointer) PressGestureRecognizer

func PressGestureRecognizer_Alloc

func PressGestureRecognizer_Alloc() PressGestureRecognizer

func (PressGestureRecognizer) AllowableMovement

func (p_ PressGestureRecognizer) AllowableMovement() float64

The maximum movement of the mouse in the view before the gesture fails. Full Topic

func (PressGestureRecognizer) ButtonMask

func (p_ PressGestureRecognizer) ButtonMask() uint

A bit mask of the buttons required to recognize this press. Full Topic

func (PressGestureRecognizer) Init

func (PressGestureRecognizer) InitWithTargetAction

func (p_ PressGestureRecognizer) InitWithTargetAction(target objc.IObject, action objc.Selector) PressGestureRecognizer

func (PressGestureRecognizer) MinimumPressDuration

func (p_ PressGestureRecognizer) MinimumPressDuration() foundation.TimeInterval

The minimum time (in seconds) that the user must hold the mouse button in the view for a valid gesture. Full Topic

func (PressGestureRecognizer) NumberOfTouchesRequired

func (p_ PressGestureRecognizer) NumberOfTouchesRequired() int

The number of necessary touches on a Touch Bar for the gesture recognizer to match. Full Topic

func (PressGestureRecognizer) SetAllowableMovement

func (p_ PressGestureRecognizer) SetAllowableMovement(value float64)

The maximum movement of the mouse in the view before the gesture fails. Full Topic

func (PressGestureRecognizer) SetButtonMask

func (p_ PressGestureRecognizer) SetButtonMask(value uint)

A bit mask of the buttons required to recognize this press. Full Topic

func (PressGestureRecognizer) SetMinimumPressDuration

func (p_ PressGestureRecognizer) SetMinimumPressDuration(value foundation.TimeInterval)

The minimum time (in seconds) that the user must hold the mouse button in the view for a valid gesture. Full Topic

func (PressGestureRecognizer) SetNumberOfTouchesRequired

func (p_ PressGestureRecognizer) SetNumberOfTouchesRequired(value int)

The number of necessary touches on a Touch Bar for the gesture recognizer to match. Full Topic

type PressureBehavior

type PressureBehavior int

These constants describe the behavior and progression of a pressure gesture. Full Topic

const (
	PressureBehaviorPrimaryAccelerator PressureBehavior = 3
	PressureBehaviorPrimaryClick       PressureBehavior = 1
	PressureBehaviorPrimaryDeepClick   PressureBehavior = 5
	PressureBehaviorPrimaryDeepDrag    PressureBehavior = 6
	PressureBehaviorPrimaryDefault     PressureBehavior = 0
	PressureBehaviorPrimaryGeneric     PressureBehavior = 2
	PressureBehaviorUnknown            PressureBehavior = -1
)

type PressureConfiguration

type PressureConfiguration struct {
	objc.Object
}

An encapsulation of the behavior and progression of a Force Touch trackpad as it responds to specific events. Full Topic

func NewPressureConfiguration

func NewPressureConfiguration() PressureConfiguration

func NewPressureConfigurationWithPressureBehavior

func NewPressureConfigurationWithPressureBehavior(pressureBehavior PressureBehavior) PressureConfiguration

Initializes a pressure configuration object with a specified pressure behavior. Full Topic

func PressureConfigurationFrom

func PressureConfigurationFrom(ptr unsafe.Pointer) PressureConfiguration

func PressureConfiguration_Alloc

func PressureConfiguration_Alloc() PressureConfiguration

func (PressureConfiguration) Init

func (PressureConfiguration) InitWithPressureBehavior

func (p_ PressureConfiguration) InitWithPressureBehavior(pressureBehavior PressureBehavior) PressureConfiguration

func (PressureConfiguration) PressureBehavior

func (p_ PressureConfiguration) PressureBehavior() PressureBehavior

The pressure behavior of the pressure configuration object. Full Topic

func (PressureConfiguration) Set

func (p_ PressureConfiguration) Set()

Changes the pressure configuration of the trackpad to the initialized pressure configuration. Full Topic

type PrintInfo

type PrintInfo struct {
	objc.Object
}

An object that stores information that’s used to generate printed output. Full Topic

func NewPrintInfo

func NewPrintInfo() PrintInfo

func NewPrintInfoWithDictionary

func NewPrintInfoWithDictionary(attributes map[PrintInfoAttributeKey]objc.IObject) PrintInfo

Returns a printing information object initialized with the parameters in the specified dictionary. Full Topic

func PrintInfoFrom

func PrintInfoFrom(ptr unsafe.Pointer) PrintInfo

func PrintInfo_Alloc

func PrintInfo_Alloc() PrintInfo

func PrintInfo_SharedPrintInfo

func PrintInfo_SharedPrintInfo() PrintInfo

The shared printing information object. Full Topic

func (PrintInfo) BottomMargin

func (p_ PrintInfo) BottomMargin() float64

The height of the bottom margin. Full Topic

func (PrintInfo) Dictionary

func (p_ PrintInfo) Dictionary() foundation.MutableDictionary

Returns the print info’s dictionary that contains the printing attributes. Full Topic

func (PrintInfo) HorizontalPagination

func (p_ PrintInfo) HorizontalPagination() PrintingPaginationMode

The horizontal pagination mode. Full Topic

func (PrintInfo) ImageablePageBounds

func (p_ PrintInfo) ImageablePageBounds() foundation.Rect

The imageable area of a sheet of paper specified by the print info. Full Topic

func (PrintInfo) Init

func (p_ PrintInfo) Init() PrintInfo

func (PrintInfo) InitWithDictionary

func (p_ PrintInfo) InitWithDictionary(attributes map[PrintInfoAttributeKey]objc.IObject) PrintInfo

func (PrintInfo) IsHorizontallyCentered

func (p_ PrintInfo) IsHorizontallyCentered() bool

A Boolean value that indicates whether the image is centered horizontally. Full Topic

func (PrintInfo) IsSelectionOnly

func (p_ PrintInfo) IsSelectionOnly() bool

A Boolean value that indicates whether only the currently selected contents should be printed. Full Topic

func (PrintInfo) IsVerticallyCentered

func (p_ PrintInfo) IsVerticallyCentered() bool

A Boolean value that indicates whether the image is centered vertically. Full Topic

func (PrintInfo) JobDisposition

func (p_ PrintInfo) JobDisposition() PrintJobDispositionValue

The action specified for the job. Full Topic

func (PrintInfo) LeftMargin

func (p_ PrintInfo) LeftMargin() float64

The width of the left margin. Full Topic

func (PrintInfo) LocalizedPaperName

func (p_ PrintInfo) LocalizedPaperName() string

The human-readable name of the currently selected paper size, suitable for presentation in user interfaces. Full Topic

func (PrintInfo) Orientation

func (p_ PrintInfo) Orientation() PaperOrientation

The orientation attribute. Full Topic

func (PrintInfo) PMPageFormat

func (p_ PrintInfo) PMPageFormat() unsafe.Pointer

Returns a Core Printing object configured with the print info’s page format information. Full Topic

func (PrintInfo) PMPrintSession

func (p_ PrintInfo) PMPrintSession() unsafe.Pointer

Returns a Core Printing object configured with the print info’s session information. Full Topic

func (PrintInfo) PMPrintSettings

func (p_ PrintInfo) PMPrintSettings() unsafe.Pointer

Returns a Core Printing object configured with the print info’s print settings information Full Topic

func (PrintInfo) PaperName

func (p_ PrintInfo) PaperName() PrinterPaperName

The name of the currently selected paper size. Full Topic

func (PrintInfo) PaperSize

func (p_ PrintInfo) PaperSize() foundation.Size

The size of the paper. Full Topic

func (PrintInfo) PrintSettings

func (p_ PrintInfo) PrintSettings() foundation.MutableDictionary

A mutable dictionary containing the print settings from Core Printing. Full Topic

func (PrintInfo) Printer

func (p_ PrintInfo) Printer() Printer

The printer object to be used for printing. Full Topic

func (PrintInfo) RightMargin

func (p_ PrintInfo) RightMargin() float64

The width of the right margin. Full Topic

func (PrintInfo) ScalingFactor

func (p_ PrintInfo) ScalingFactor() float64

The current scaling factor. Full Topic

func (PrintInfo) SetBottomMargin

func (p_ PrintInfo) SetBottomMargin(value float64)

The height of the bottom margin. Full Topic

func (PrintInfo) SetHorizontalPagination

func (p_ PrintInfo) SetHorizontalPagination(value PrintingPaginationMode)

The horizontal pagination mode. Full Topic

func (PrintInfo) SetHorizontallyCentered

func (p_ PrintInfo) SetHorizontallyCentered(value bool)

A Boolean value that indicates whether the image is centered horizontally. Full Topic

func (PrintInfo) SetJobDisposition

func (p_ PrintInfo) SetJobDisposition(value PrintJobDispositionValue)

The action specified for the job. Full Topic

func (PrintInfo) SetLeftMargin

func (p_ PrintInfo) SetLeftMargin(value float64)

The width of the left margin. Full Topic

func (PrintInfo) SetOrientation

func (p_ PrintInfo) SetOrientation(value PaperOrientation)

The orientation attribute. Full Topic

func (PrintInfo) SetPaperName

func (p_ PrintInfo) SetPaperName(value PrinterPaperName)

The name of the currently selected paper size. Full Topic

func (PrintInfo) SetPaperSize

func (p_ PrintInfo) SetPaperSize(value foundation.Size)

The size of the paper. Full Topic

func (PrintInfo) SetPrinter

func (p_ PrintInfo) SetPrinter(value IPrinter)

The printer object to be used for printing. Full Topic

func (PrintInfo) SetRightMargin

func (p_ PrintInfo) SetRightMargin(value float64)

The width of the right margin. Full Topic

func (PrintInfo) SetScalingFactor

func (p_ PrintInfo) SetScalingFactor(value float64)

The current scaling factor. Full Topic

func (PrintInfo) SetSelectionOnly

func (p_ PrintInfo) SetSelectionOnly(value bool)

A Boolean value that indicates whether only the currently selected contents should be printed. Full Topic

func (PrintInfo) SetTopMargin

func (p_ PrintInfo) SetTopMargin(value float64)

The top margin to the specified size. Full Topic

func (PrintInfo) SetUpPrintOperationDefaultValues

func (p_ PrintInfo) SetUpPrintOperationDefaultValues()

Validates the attributes encapsulated by the print info. Full Topic

func (PrintInfo) SetVerticalPagination

func (p_ PrintInfo) SetVerticalPagination(value PrintingPaginationMode)

The vertical pagination to the specified mode. Full Topic

func (PrintInfo) SetVerticallyCentered

func (p_ PrintInfo) SetVerticallyCentered(value bool)

A Boolean value that indicates whether the image is centered vertically. Full Topic

func (PrintInfo) TakeSettingsFromPDFInfo

func (p_ PrintInfo) TakeSettingsFromPDFInfo(inPDFInfo IPDFInfo)

Updates the print info with all the settings and attributes in the specified PDF info object. Full Topic

func (PrintInfo) TopMargin

func (p_ PrintInfo) TopMargin() float64

The top margin to the specified size. Full Topic

func (PrintInfo) UpdateFromPMPageFormat

func (p_ PrintInfo) UpdateFromPMPageFormat()

Synchronizes the print info’s page format information with information from its associated page format object. Full Topic

func (PrintInfo) UpdateFromPMPrintSettings

func (p_ PrintInfo) UpdateFromPMPrintSettings()

Synchronizes the print info’s print settings information with information from its associated print settings object. Full Topic

func (PrintInfo) VerticalPagination

func (p_ PrintInfo) VerticalPagination() PrintingPaginationMode

The vertical pagination to the specified mode. Full Topic

type PrintInfoAttributeKey

type PrintInfoAttributeKey string

Constants that specify print job attributes. Full Topic

const (
	PrintAllPages                         PrintInfoAttributeKey = "NSPrintAllPages"
	PrintBottomMargin                     PrintInfoAttributeKey = "NSBottomMargin"
	PrintCopies                           PrintInfoAttributeKey = "NSCopies"
	PrintDetailedErrorReporting           PrintInfoAttributeKey = "NSDetailedErrorReporting"
	PrintFaxNumber                        PrintInfoAttributeKey = "NSFaxNumber"
	PrintFirstPage                        PrintInfoAttributeKey = "NSFirstPage"
	PrintHeaderAndFooter                  PrintInfoAttributeKey = "NSPrintHeaderAndFooter"
	PrintHorizontalPagination             PrintInfoAttributeKey = "NSHorizonalPagination"
	PrintHorizontallyCentered             PrintInfoAttributeKey = "NSHorizontallyCentered"
	PrintJobDisposition                   PrintInfoAttributeKey = "NSJobDisposition"
	PrintJobSavingFileNameExtensionHidden PrintInfoAttributeKey = "NSJobSavingFileNameExtensionHidden"
	PrintJobSavingURL                     PrintInfoAttributeKey = "NSJobSavingURL"
	PrintLastPage                         PrintInfoAttributeKey = "NSLastPage"
	PrintLeftMargin                       PrintInfoAttributeKey = "NSLeftMargin"
	PrintMustCollate                      PrintInfoAttributeKey = "NSMustCollate"
	PrintOrientation                      PrintInfoAttributeKey = "NSOrientation"
	PrintPagesAcross                      PrintInfoAttributeKey = "NSPagesAcross"
	PrintPagesDown                        PrintInfoAttributeKey = "NSPagesDown"
	PrintPaperName                        PrintInfoAttributeKey = "NSPaperName"
	PrintPaperSize                        PrintInfoAttributeKey = "NSPaperSize"
	PrintPrinter                          PrintInfoAttributeKey = "NSPrinter"
	PrintPrinterName                      PrintInfoAttributeKey = "NSPrinterName"
	PrintReversePageOrder                 PrintInfoAttributeKey = "NSReversePageOrder"
	PrintRightMargin                      PrintInfoAttributeKey = "NSRightMargin"
	PrintScalingFactor                    PrintInfoAttributeKey = "NSScalingFactor"
	PrintSelectionOnly                    PrintInfoAttributeKey = "NSPrintSelectionOnly"
	PrintTime                             PrintInfoAttributeKey = "NSPrintTime"
	PrintTopMargin                        PrintInfoAttributeKey = "NSTopMargin"
	PrintVerticalPagination               PrintInfoAttributeKey = "NSVerticalPagination"
	PrintVerticallyCentered               PrintInfoAttributeKey = "NSVerticallyCentered"
)

type PrintInfoSettingKey

type PrintInfoSettingKey string

The type you use to specify a print info setting key. Full Topic

type PrintJobDispositionValue

type PrintJobDispositionValue string

Constants that specify values for the print job disposition. Full Topic

const (
	PrintCancelJob  PrintJobDispositionValue = "NSPrintCancelJob"
	PrintPreviewJob PrintJobDispositionValue = "NSPrintPreviewJob"
	PrintSaveJob    PrintJobDispositionValue = "NSPrintSaveJob"
	PrintSpoolJob   PrintJobDispositionValue = "NSPrintSpoolJob"
)

type PrintOperation

type PrintOperation struct {
	objc.Object
}

An object that controls operations that generate Encapsulated PostScript (EPS) code, Portable Document Format (PDF) code, or print jobs. Full Topic

func NewPrintOperation

func NewPrintOperation() PrintOperation

func PrintOperationFrom

func PrintOperationFrom(ptr unsafe.Pointer) PrintOperation

func PrintOperation_Alloc

func PrintOperation_Alloc() PrintOperation

func PrintOperation_CurrentOperation

func PrintOperation_CurrentOperation() PrintOperation

The current print operation for this thread. Full Topic

func PrintOperation_EPSOperationWithViewInsideRectToPathPrintInfo

func PrintOperation_EPSOperationWithViewInsideRectToPathPrintInfo(view IView, rect foundation.Rect, path string, printInfo IPrintInfo) PrintOperation

Creates and returns a new print operation object ready to control the copying of EPS graphics from the specified view and write the resulting data to the specified file. Full Topic

func PrintOperation_PDFOperationWithViewInsideRectToData

func PrintOperation_PDFOperationWithViewInsideRectToData(view IView, rect foundation.Rect, data foundation.IMutableData) PrintOperation

Creates and returns a new print operation object ready to control the copying of PDF graphics from the specified view. Full Topic

func PrintOperation_PrintOperationWithView

func PrintOperation_PrintOperationWithView(view IView) PrintOperation

Creates and returns an print operation object ready to control the printing of the specified view. Full Topic

func (PrintOperation) CanSpawnSeparateThread

func (p_ PrintOperation) CanSpawnSeparateThread() bool

A Boolean value that determines whether the print operation is allowed to spawn a separate printing thread. Full Topic

func (PrintOperation) CleanUpOperation

func (p_ PrintOperation) CleanUpOperation()

Called at the end of a print operation to remove the print operation as the current operation. Full Topic

func (PrintOperation) Context

func (p_ PrintOperation) Context() GraphicsContext

The graphics context object used for generating output. Full Topic

func (PrintOperation) CreateContext

func (p_ PrintOperation) CreateContext() GraphicsContext

Creates the graphics context object used for drawing during the operation. Full Topic

func (PrintOperation) CurrentPage

func (p_ PrintOperation) CurrentPage() int

The current page number being printed. Full Topic

func (PrintOperation) DeliverResult

func (p_ PrintOperation) DeliverResult() bool

Delivers the results of the print operation to the intended destination. Full Topic

func (PrintOperation) DestroyContext

func (p_ PrintOperation) DestroyContext()

Destroys the print operation’s graphics context. Full Topic

func (PrintOperation) Init

func (p_ PrintOperation) Init() PrintOperation

func (PrintOperation) IsCopyingOperation

func (p_ PrintOperation) IsCopyingOperation() bool

A Boolean value that indicates whether the print operation is an EPS or PDF copy operation. Full Topic

func (PrintOperation) JobTitle

func (p_ PrintOperation) JobTitle() string

The custom title of the print job. Full Topic

func (PrintOperation) PDFPanel

func (p_ PrintOperation) PDFPanel() PDFPanel

The PDF panel object to use during the operation. Full Topic

func (PrintOperation) PageOrder

func (p_ PrintOperation) PageOrder() PrintingPageOrder

The print order for the pages of the operation. Full Topic

func (PrintOperation) PageRange

func (p_ PrintOperation) PageRange() foundation.Range

The range of pages associated with the print operation. Full Topic

func (PrintOperation) PreferredRenderingQuality

func (p_ PrintOperation) PreferredRenderingQuality() PrintRenderingQuality

The printing quality. Full Topic

func (PrintOperation) PrintInfo

func (p_ PrintOperation) PrintInfo() PrintInfo

The printing information associated with the print operation. Full Topic

func (PrintOperation) PrintPanel

func (p_ PrintOperation) PrintPanel() PrintPanel

The print panel object to use during the operation. Full Topic

func (PrintOperation) RunOperation

func (p_ PrintOperation) RunOperation() bool

Runs the print operation on the current thread. Full Topic

func (PrintOperation) RunOperationModalForWindowDelegateDidRunSelectorContextInfo

func (p_ PrintOperation) RunOperationModalForWindowDelegateDidRunSelectorContextInfo(docWindow IWindow, delegate objc.IObject, didRunSelector objc.Selector, contextInfo unsafe.Pointer)

Runs the print operation, calling your custom delegate method upon completion. Full Topic

func (PrintOperation) SetCanSpawnSeparateThread

func (p_ PrintOperation) SetCanSpawnSeparateThread(value bool)

A Boolean value that determines whether the print operation is allowed to spawn a separate printing thread. Full Topic

func (PrintOperation) SetJobTitle

func (p_ PrintOperation) SetJobTitle(value string)

The custom title of the print job. Full Topic

func (PrintOperation) SetPDFPanel

func (p_ PrintOperation) SetPDFPanel(value IPDFPanel)

The PDF panel object to use during the operation. Full Topic

func (PrintOperation) SetPageOrder

func (p_ PrintOperation) SetPageOrder(value PrintingPageOrder)

The print order for the pages of the operation. Full Topic

func (PrintOperation) SetPrintInfo

func (p_ PrintOperation) SetPrintInfo(value IPrintInfo)

The printing information associated with the print operation. Full Topic

func (PrintOperation) SetPrintPanel

func (p_ PrintOperation) SetPrintPanel(value IPrintPanel)

The print panel object to use during the operation. Full Topic

func (PrintOperation) SetShowsPrintPanel

func (p_ PrintOperation) SetShowsPrintPanel(value bool)

A Boolean value that determines whether the print operation displays a print panel. Full Topic

func (PrintOperation) SetShowsProgressPanel

func (p_ PrintOperation) SetShowsProgressPanel(value bool)

A Boolean value that determines whether the print operation displays a progress panel. Full Topic

func (PrintOperation) ShowsPrintPanel

func (p_ PrintOperation) ShowsPrintPanel() bool

A Boolean value that determines whether the print operation displays a print panel. Full Topic

func (PrintOperation) ShowsProgressPanel

func (p_ PrintOperation) ShowsProgressPanel() bool

A Boolean value that determines whether the print operation displays a progress panel. Full Topic

func (PrintOperation) View

func (p_ PrintOperation) View() View

The view object that generates the actual data for the print operation. Full Topic

type PrintPanel

type PrintPanel struct {
	objc.Object
}

The Print panel that queries the user for information about a print job. Full Topic

func NewPrintPanel

func NewPrintPanel() PrintPanel

func PrintPanelFrom

func PrintPanelFrom(ptr unsafe.Pointer) PrintPanel

func PrintPanel_Alloc

func PrintPanel_Alloc() PrintPanel

func PrintPanel_PrintPanel

func PrintPanel_PrintPanel() PrintPanel

Returns a new print panel object. Full Topic

func (PrintPanel) AccessoryControllers

func (p_ PrintPanel) AccessoryControllers() []ViewController

The array of controller objects that manage the Print panel’s accessory views. Full Topic

func (PrintPanel) AddAccessoryController

func (p_ PrintPanel) AddAccessoryController(accessoryController IViewController)

Adds a custom controller to the Print panel to manage an accessory view. Full Topic

func (PrintPanel) DefaultButtonTitle

func (p_ PrintPanel) DefaultButtonTitle() string

Returns the title of the Print panel’s default button. Full Topic

func (PrintPanel) HelpAnchor

func (p_ PrintPanel) HelpAnchor() HelpAnchorName

The HTML help anchor associated with the Print panel. Full Topic

func (PrintPanel) Init

func (p_ PrintPanel) Init() PrintPanel

func (PrintPanel) JobStyleHint

func (p_ PrintPanel) JobStyleHint() PrintPanelJobStyleHint

The type of settings that the print panel displays. Full Topic

func (PrintPanel) Options

func (p_ PrintPanel) Options() PrintPanelOptions

The current configuration options for the Print panel. Full Topic

func (PrintPanel) PrintInfo

func (p_ PrintPanel) PrintInfo() PrintInfo

The information associated with the running Print panel. Full Topic

func (PrintPanel) RemoveAccessoryController

func (p_ PrintPanel) RemoveAccessoryController(accessoryController IViewController)

Removes the specified controller and accessory view from the Print panel. Full Topic

func (PrintPanel) RunModal

func (p_ PrintPanel) RunModal() int

Displays the Print panel and begins the modal loop. Full Topic

func (PrintPanel) RunModalWithPrintInfo

func (p_ PrintPanel) RunModalWithPrintInfo(printInfo IPrintInfo) int

Displays the Print panel and runs the modal loop using the specified printing information. Full Topic

func (PrintPanel) SetDefaultButtonTitle

func (p_ PrintPanel) SetDefaultButtonTitle(defaultButtonTitle string)

Sets the title of the Print panel’s default button. Full Topic

func (PrintPanel) SetHelpAnchor

func (p_ PrintPanel) SetHelpAnchor(value HelpAnchorName)

The HTML help anchor associated with the Print panel. Full Topic

func (PrintPanel) SetJobStyleHint

func (p_ PrintPanel) SetJobStyleHint(value PrintPanelJobStyleHint)

The type of settings that the print panel displays. Full Topic

func (PrintPanel) SetOptions

func (p_ PrintPanel) SetOptions(value PrintPanelOptions)

The current configuration options for the Print panel. Full Topic

type PrintPanelAccessorizingWrapper

type PrintPanelAccessorizingWrapper struct {
	objc.Object
}

A concrete type wrapper for the PPrintPanelAccessorizing protocol.

func (PrintPanelAccessorizingWrapper) HasKeyPathsForValuesAffectingPreview

func (p_ PrintPanelAccessorizingWrapper) HasKeyPathsForValuesAffectingPreview() bool

func (PrintPanelAccessorizingWrapper) HasLocalizedSummaryItems

func (p_ PrintPanelAccessorizingWrapper) HasLocalizedSummaryItems() bool

func (PrintPanelAccessorizingWrapper) KeyPathsForValuesAffectingPreview

func (p_ PrintPanelAccessorizingWrapper) KeyPathsForValuesAffectingPreview() foundation.Set

Returns a set of strings identifying the key paths for any properties that might affect the built-in print preview. Full Topic

func (PrintPanelAccessorizingWrapper) LocalizedSummaryItems

func (p_ PrintPanelAccessorizingWrapper) LocalizedSummaryItems() []map[PrintPanelAccessorySummaryKey]string

Returns an array of dictionaries containing the localized user setting summary strings. Full Topic

type PrintPanelAccessorySummaryKey

type PrintPanelAccessorySummaryKey string

Constants that specify the accessory panel keys. Full Topic

const (
	PrintPanelAccessorySummaryItemDescriptionKey PrintPanelAccessorySummaryKey = "description"
	PrintPanelAccessorySummaryItemNameKey        PrintPanelAccessorySummaryKey = "name"
)

type PrintPanelJobStyleHint

type PrintPanelJobStyleHint string

Constants that specify job style hints for activating the simplified Print panel interface and setting the options to display. Full Topic

const (
	PrintAllPresetsJobStyleHint PrintPanelJobStyleHint = "All"
	PrintNoPresetsJobStyleHint  PrintPanelJobStyleHint = "None"
	PrintPhotoJobStyleHint      PrintPanelJobStyleHint = "Photo"
)

type PrintPanelOptions

type PrintPanelOptions uint

Constants that specify options for configuring the contents of the main Print panel. Full Topic

const (
	PrintPanelShowsCopies             PrintPanelOptions = 1
	PrintPanelShowsOrientation        PrintPanelOptions = 8
	PrintPanelShowsPageRange          PrintPanelOptions = 2
	PrintPanelShowsPageSetupAccessory PrintPanelOptions = 256
	PrintPanelShowsPaperSize          PrintPanelOptions = 4
	PrintPanelShowsPreview            PrintPanelOptions = 131072
	PrintPanelShowsPrintSelection     PrintPanelOptions = 32
	PrintPanelShowsScaling            PrintPanelOptions = 16
)

type PrintRenderingQuality

type PrintRenderingQuality int

Constants that specify the print quality in use. Full Topic

const (
	PrintRenderingQualityBest       PrintRenderingQuality = 0
	PrintRenderingQualityResponsive PrintRenderingQuality = 1
)

type Printer

type Printer struct {
	objc.Object
}

An object that describes a printer’s capabilities. Full Topic

func NewPrinter

func NewPrinter() Printer

func PrintInfo_DefaultPrinter

func PrintInfo_DefaultPrinter() Printer

Deprecated. Full Topic

func PrinterFrom

func PrinterFrom(ptr unsafe.Pointer) Printer

func Printer_Alloc

func Printer_Alloc() Printer

func Printer_PrinterWithType

func Printer_PrinterWithType(type_ PrinterTypeName) Printer

Creates and returns a printer object initialized to the first available printer with the specified make and model information. Full Topic

func (Printer) DeviceDescription

func (p_ Printer) DeviceDescription() map[DeviceDescriptionKey]objc.Object

A dictionary of keys and values that describe the device. Full Topic

func (Printer) Init

func (p_ Printer) Init() Printer

func (Printer) LanguageLevel

func (p_ Printer) LanguageLevel() int

The PostScript language level recognized by the printer. Full Topic

func (Printer) Name

func (p_ Printer) Name() string

The printer’s name. Full Topic

func (Printer) PageSizeForPaper

func (p_ Printer) PageSizeForPaper(paperName PrinterPaperName) foundation.Size

Returns the size of the page for the specified paper type. Full Topic

func (Printer) Type

func (p_ Printer) Type() PrinterTypeName

A description of the printer’s make and model. Full Topic

type PrinterPaperName

type PrinterPaperName string

The type you use to specify the name of a type of paper. Full Topic

type PrinterTableStatus

type PrinterTableStatus uint

Constants that describe the state of a printer information table stored by a printer object. Full Topic

const (
	PrinterTableError    PrinterTableStatus = 2
	PrinterTableNotFound PrinterTableStatus = 1
	PrinterTableOK       PrinterTableStatus = 0
)

type PrinterTypeName

type PrinterTypeName string

The type you use to describe a printer’s make and model. Full Topic

func Printer_PrinterTypes

func Printer_PrinterTypes() []PrinterTypeName

Returns descriptions of the makes and models of all available printers. Full Topic

type PrintingOrientation

type PrintingOrientation uint

Constants that specify page orientations. Full Topic

const (
	LandscapeOrientation PrintingOrientation = 1
	PortraitOrientation  PrintingOrientation = 0
)

type PrintingPageOrder

type PrintingPageOrder int

Constants that specify the page order. Full Topic

const (
	AscendingPageOrder  PrintingPageOrder = 1
	DescendingPageOrder PrintingPageOrder = -1
	SpecialPageOrder    PrintingPageOrder = 0
	UnknownPageOrder    PrintingPageOrder = 2
)

type PrintingPaginationMode

type PrintingPaginationMode uint

Constants that specify the different ways in which an image is divided into pages. Full Topic

const (
	AutoPagination                  PrintingPaginationMode = 0
	ClipPagination                  PrintingPaginationMode = 2
	FitPagination                   PrintingPaginationMode = 1
	PrintingPaginationModeAutomatic PrintingPaginationMode = 0
	PrintingPaginationModeClip      PrintingPaginationMode = 2
	PrintingPaginationModeFit       PrintingPaginationMode = 1
)

type ProgressIndicator

type ProgressIndicator struct {
	View
}

An interface that provides visual feedback to the user about the status of an ongoing task. Full Topic

func NewProgressIndicator

func NewProgressIndicator() ProgressIndicator

func NewProgressIndicatorWithFrame

func NewProgressIndicatorWithFrame(frameRect foundation.Rect) ProgressIndicator

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func ProgressIndicatorFrom

func ProgressIndicatorFrom(ptr unsafe.Pointer) ProgressIndicator

func ProgressIndicator_Alloc

func ProgressIndicator_Alloc() ProgressIndicator

func (ProgressIndicator) ControlSize

func (p_ ProgressIndicator) ControlSize() ControlSize

The size of the progress indicator. Full Topic

func (ProgressIndicator) DoubleValue

func (p_ ProgressIndicator) DoubleValue() float64

The value that indicates the current extent of the progress indicator. Full Topic

func (ProgressIndicator) IncrementBy

func (p_ ProgressIndicator) IncrementBy(delta float64)

Advances the progress bar of a determinate progress indicator by the specified amount. Full Topic

func (ProgressIndicator) Init

func (ProgressIndicator) InitWithFrame

func (p_ ProgressIndicator) InitWithFrame(frameRect foundation.Rect) ProgressIndicator

func (ProgressIndicator) IsDisplayedWhenStopped

func (p_ ProgressIndicator) IsDisplayedWhenStopped() bool

A Boolean that indicates whether the progress indicator hides itself when it isn’t animating. Full Topic

func (ProgressIndicator) IsIndeterminate

func (p_ ProgressIndicator) IsIndeterminate() bool

A Boolean that indicates whether the progress indicator is indeterminate. Full Topic

func (ProgressIndicator) MaxValue

func (p_ ProgressIndicator) MaxValue() float64

The maximum value for the progress indicator. Full Topic

func (ProgressIndicator) MinValue

func (p_ ProgressIndicator) MinValue() float64

The minimum value for the progress indicator. Full Topic

func (ProgressIndicator) SetControlSize

func (p_ ProgressIndicator) SetControlSize(value ControlSize)

The size of the progress indicator. Full Topic

func (ProgressIndicator) SetDisplayedWhenStopped

func (p_ ProgressIndicator) SetDisplayedWhenStopped(value bool)

A Boolean that indicates whether the progress indicator hides itself when it isn’t animating. Full Topic

func (ProgressIndicator) SetDoubleValue

func (p_ ProgressIndicator) SetDoubleValue(value float64)

The value that indicates the current extent of the progress indicator. Full Topic

func (ProgressIndicator) SetIndeterminate

func (p_ ProgressIndicator) SetIndeterminate(value bool)

A Boolean that indicates whether the progress indicator is indeterminate. Full Topic

func (ProgressIndicator) SetMaxValue

func (p_ ProgressIndicator) SetMaxValue(value float64)

The maximum value for the progress indicator. Full Topic

func (ProgressIndicator) SetMinValue

func (p_ ProgressIndicator) SetMinValue(value float64)

The minimum value for the progress indicator. Full Topic

func (ProgressIndicator) SetStyle

func (p_ ProgressIndicator) SetStyle(value ProgressIndicatorStyle)

The style of the progress indicator (bar or spinning). Full Topic

func (ProgressIndicator) SetUsesThreadedAnimation

func (p_ ProgressIndicator) SetUsesThreadedAnimation(value bool)

A Boolean that indicates whether the progress indicator implements animation in a separate thread. Full Topic

func (ProgressIndicator) SizeToFit

func (p_ ProgressIndicator) SizeToFit()

This action method resizes the progress indicator to an appropriate size depending on the value of style. Full Topic

func (ProgressIndicator) StartAnimation

func (p_ ProgressIndicator) StartAnimation(sender objc.IObject)

Starts the animation of an indeterminate progress indicator. Full Topic

func (ProgressIndicator) StopAnimation

func (p_ ProgressIndicator) StopAnimation(sender objc.IObject)

Stops the animation of an indeterminate progress indicator. Full Topic

func (ProgressIndicator) Style

The style of the progress indicator (bar or spinning). Full Topic

func (ProgressIndicator) UsesThreadedAnimation

func (p_ ProgressIndicator) UsesThreadedAnimation() bool

A Boolean that indicates whether the progress indicator implements animation in a separate thread. Full Topic

type ProgressIndicatorStyle

type ProgressIndicatorStyle uint

Constants that specify the progress indicator’s style. Full Topic

const (
	ProgressIndicatorStyleBar      ProgressIndicatorStyle = 0
	ProgressIndicatorStyleSpinning ProgressIndicatorStyle = 1
)

type ProgressIndicatorThickness

type ProgressIndicatorThickness uint

Specify the height of a progress indicator. Full Topic

const (
	ProgressIndicatorPreferredAquaThickness  ProgressIndicatorThickness = 12
	ProgressIndicatorPreferredLargeThickness ProgressIndicatorThickness = 18
	ProgressIndicatorPreferredSmallThickness ProgressIndicatorThickness = 10
	ProgressIndicatorPreferredThickness      ProgressIndicatorThickness = 14
)

type RectAlignment

type RectAlignment int

Constants that specify alignment to an edge or a set of edges depending on the user interface layout direction. Full Topic

const (
	RectAlignmentBottom         RectAlignment = 5
	RectAlignmentBottomLeading  RectAlignment = 4
	RectAlignmentBottomTrailing RectAlignment = 6
	RectAlignmentLeading        RectAlignment = 3
	RectAlignmentNone           RectAlignment = 0
	RectAlignmentTop            RectAlignment = 1
	RectAlignmentTopLeading     RectAlignment = 2
	RectAlignmentTopTrailing    RectAlignment = 8
	RectAlignmentTrailing       RectAlignment = 7
)

type RemoteNotificationType

type RemoteNotificationType uint

These constants determine whether apps launched by remote notifications display a badge. Full Topic

const (
	RemoteNotificationTypeAlert RemoteNotificationType = 4
	RemoteNotificationTypeBadge RemoteNotificationType = 1
	RemoteNotificationTypeNone  RemoteNotificationType = 0
	RemoteNotificationTypeSound RemoteNotificationType = 2
)

type RequestUserAttentionType

type RequestUserAttentionType uint

These constants specify the level of severity of a user attention request and are used by cancelUserAttentionRequest: and requestUserAttention:. Full Topic

const (
	CriticalRequest      RequestUserAttentionType = 0
	InformationalRequest RequestUserAttentionType = 10
)

type Responder

type Responder struct {
	objc.Object
}

An abstract class that forms the basis of event and command processing in AppKit. Full Topic

func NewResponder

func NewResponder() Responder

func ResponderFrom

func ResponderFrom(ptr unsafe.Pointer) Responder

func Responder_Alloc

func Responder_Alloc() Responder

func (Responder) AcceptsFirstResponder

func (r_ Responder) AcceptsFirstResponder() bool

A Boolean value that indicates whether the responder accepts first responder status. Full Topic

func (Responder) BecomeFirstResponder

func (r_ Responder) BecomeFirstResponder() bool

Notifies the receiver that it’s about to become first responder in its NSWindow. Full Topic

func (Responder) BeginGestureWithEvent

func (r_ Responder) BeginGestureWithEvent(event IEvent)

Informs the receiver that the user has begun a touch gesture. Full Topic

func (Responder) ChangeModeWithEvent

func (r_ Responder) ChangeModeWithEvent(event IEvent)

Informs the responder that performed a double-tap on the side of an Apple Pencil. Full Topic

func (Responder) CursorUpdate

func (r_ Responder) CursorUpdate(event IEvent)

Informs the receiver that the mouse cursor has moved into a cursor rectangle. Full Topic

func (Responder) EncodeRestorableStateWithCoderBackgroundQueue

func (r_ Responder) EncodeRestorableStateWithCoderBackgroundQueue(coder foundation.ICoder, queue foundation.IOperationQueue)

Saves the interface-related state of the responder to a keyed archiver either synchronously or asynchronously on the given operation queue. Full Topic

func (Responder) EndGestureWithEvent

func (r_ Responder) EndGestureWithEvent(event IEvent)

Informs the receiver that the user has ended a touch gesture. Full Topic

func (Responder) FlagsChanged

func (r_ Responder) FlagsChanged(event IEvent)

Informs the receiver that the user has pressed or released a modifier key (Shift, Control, and so on). Full Topic

func (Responder) FlushBufferedKeyEvents

func (r_ Responder) FlushBufferedKeyEvents()

Clears any unprocessed key events when overridden by subclasses. Full Topic

func (Responder) HelpRequested

func (r_ Responder) HelpRequested(eventPtr IEvent)

Displays context-sensitive help for the receiver if help has been registered. Full Topic

func (Responder) Init

func (r_ Responder) Init() Responder

func (Responder) InterpretKeyEvents

func (r_ Responder) InterpretKeyEvents(eventArray []IEvent)

Handles a series of key events. Full Topic

func (Responder) InvalidateRestorableState

func (r_ Responder) InvalidateRestorableState()

Marks the responder’s interface-related state as dirty. Full Topic

func (Responder) KeyDown

func (r_ Responder) KeyDown(event IEvent)

Informs the receiver that the user has pressed a key. Full Topic

func (Responder) KeyUp

func (r_ Responder) KeyUp(event IEvent)

Informs the receiver that the user has released a key. Full Topic

func (Responder) MagnifyWithEvent

func (r_ Responder) MagnifyWithEvent(event IEvent)

Informs the receiver that the user has begun a pinch gesture. Full Topic

func (Responder) MakeTouchBar

func (r_ Responder) MakeTouchBar() TouchBar

Your custom subclass of the NSResponder class should override this method to create and configure your subclass’s default NSTouchBar object. Full Topic

func (Responder) Menu

func (r_ Responder) Menu() Menu

Returns the responder’s menu. Full Topic

func (Responder) MouseDown

func (r_ Responder) MouseDown(event IEvent)

Informs the receiver that the user has pressed the left mouse button. Full Topic

func (Responder) MouseDragged

func (r_ Responder) MouseDragged(event IEvent)

Informs the receiver that the user has moved the mouse with the left button pressed. Full Topic

func (Responder) MouseEntered

func (r_ Responder) MouseEntered(event IEvent)

Informs the receiver that the cursor has entered a tracking rectangle. Full Topic

func (Responder) MouseExited

func (r_ Responder) MouseExited(event IEvent)

Informs the receiver that the cursor has exited a tracking rectangle. Full Topic

func (Responder) MouseMoved

func (r_ Responder) MouseMoved(event IEvent)

Informs the receiver that the mouse has moved. Full Topic

func (Responder) MouseUp

func (r_ Responder) MouseUp(event IEvent)

Informs the receiver that the user has released the left mouse button. Full Topic

func (Responder) NewWindowForTab

func (r_ Responder) NewWindowForTab(sender objc.IObject) objc.Object

Creates a new window to show as a tab in a tabbed window. Full Topic

func (Responder) NextResponder

func (r_ Responder) NextResponder() Responder

The next responder after this one, or nil if it has none. Full Topic

func (Responder) NoResponderFor

func (r_ Responder) NoResponderFor(eventSelector objc.Selector)

Handles the case where an event or action message falls off the end of the responder chain. Full Topic

func (Responder) OtherMouseDown

func (r_ Responder) OtherMouseDown(event IEvent)

Informs the receiver that the user has pressed a mouse button other than the left or right one. Full Topic

func (Responder) OtherMouseDragged

func (r_ Responder) OtherMouseDragged(event IEvent)

Informs the receiver that the user has moved the mouse with a button other than the left or right button pressed. Full Topic

func (Responder) OtherMouseUp

func (r_ Responder) OtherMouseUp(event IEvent)

Informs the receiver that the user has released a mouse button other than the left or right button. Full Topic

func (Responder) PerformKeyEquivalent

func (r_ Responder) PerformKeyEquivalent(event IEvent) bool

Handle a key equivalent. Full Topic

func (Responder) PerformTextFinderAction

func (r_ Responder) PerformTextFinderAction(sender objc.IObject)

Performs all find oriented actions. Full Topic

func (Responder) PresentErrorModalForWindowDelegateDidPresentSelectorContextInfo

func (r_ Responder) PresentErrorModalForWindowDelegateDidPresentSelectorContextInfo(error foundation.IError, window IWindow, delegate objc.IObject, didPresentSelector objc.Selector, contextInfo unsafe.Pointer)

Presents an error alert to the user as a document-modal sheet attached to document window. Full Topic

func (Responder) PressureChangeWithEvent

func (r_ Responder) PressureChangeWithEvent(event IEvent)

Indicates a pressure change as the result of a user input event on a system that supports pressure sensitivity. Full Topic

func (Responder) QuickLookWithEvent

func (r_ Responder) QuickLookWithEvent(event IEvent)

Performs a Quick Look on the content at the location specified by the supplied event. Full Topic

func (Responder) ResignFirstResponder

func (r_ Responder) ResignFirstResponder() bool

Notifies the receiver that it’s been asked to relinquish its status as first responder in its window. Full Topic

func (Responder) RestoreStateWithCoder

func (r_ Responder) RestoreStateWithCoder(coder foundation.ICoder)

Restores the interface-related state of the responder. Full Topic

func (Responder) RightMouseDown

func (r_ Responder) RightMouseDown(event IEvent)

Informs the receiver that the user has pressed the right mouse button. Full Topic

func (Responder) RightMouseDragged

func (r_ Responder) RightMouseDragged(event IEvent)

Informs the receiver that the user has moved the mouse with the right button pressed. Full Topic

func (Responder) RightMouseUp

func (r_ Responder) RightMouseUp(event IEvent)

Informs the receiver that the user has released the right mouse button. Full Topic

func (Responder) RotateWithEvent

func (r_ Responder) RotateWithEvent(event IEvent)

Informs the receiver that the user has begun a rotation gesture. Full Topic

func (Responder) ScrollWheel

func (r_ Responder) ScrollWheel(event IEvent)

Informs the receiver that the mouse’s scroll wheel has moved. Full Topic

func (Responder) SetMenu

func (r_ Responder) SetMenu(value IMenu)

Returns the responder’s menu. Full Topic

func (Responder) SetNextResponder

func (r_ Responder) SetNextResponder(value IResponder)

The next responder after this one, or nil if it has none. Full Topic

func (Responder) SetTouchBar

func (r_ Responder) SetTouchBar(value ITouchBar)

The NSTouchBar object associated with the responder. Full Topic

func (Responder) SetUserActivity

func (r_ Responder) SetUserActivity(value foundation.IUserActivity)

An object encapsulating a user activity supported by this responder. Full Topic

func (Responder) ShouldBeTreatedAsInkEvent

func (r_ Responder) ShouldBeTreatedAsInkEvent(event IEvent) bool

Indicates whether a pen-down event should be treated as an ink event. Full Topic

func (Responder) ShowContextHelp

func (r_ Responder) ShowContextHelp(sender objc.IObject)

Implemented by subclasses to invoke the help system, displaying information relevant to the receiver and its current state. Full Topic

func (Responder) SmartMagnifyWithEvent

func (r_ Responder) SmartMagnifyWithEvent(event IEvent)

Informs the receiver that the user performed a smart zoom gesture. Full Topic

func (Responder) SupplementalTargetForActionSender

func (r_ Responder) SupplementalTargetForActionSender(action objc.Selector, sender objc.IObject) objc.Object

Finds a target for an action method. Full Topic

func (Responder) SwipeWithEvent

func (r_ Responder) SwipeWithEvent(event IEvent)

Informs the receiver that the user has begun a swipe gesture. Full Topic

func (Responder) TabletPoint

func (r_ Responder) TabletPoint(event IEvent)

Informs the receiver that a tablet-point event has occurred. Full Topic

func (Responder) TabletProximity

func (r_ Responder) TabletProximity(event IEvent)

Informs the receiver that a tablet-proximity event has occurred. Full Topic

func (Responder) TouchBar

func (r_ Responder) TouchBar() TouchBar

The NSTouchBar object associated with the responder. Full Topic

func (Responder) TouchesBeganWithEvent

func (r_ Responder) TouchesBeganWithEvent(event IEvent)

Informs the receiver that new set of touches has been recognized. Full Topic

func (Responder) TouchesCancelledWithEvent

func (r_ Responder) TouchesCancelledWithEvent(event IEvent)

Informs the receiver that tracking of touches has been cancelled for any reason. Full Topic

func (Responder) TouchesEndedWithEvent

func (r_ Responder) TouchesEndedWithEvent(event IEvent)

Returns that a set of touches have been removed. Full Topic

func (Responder) TouchesMovedWithEvent

func (r_ Responder) TouchesMovedWithEvent(event IEvent)

Informs the receiver that one or more touches has moved. Full Topic

func (Responder) TryToPerformWith

func (r_ Responder) TryToPerformWith(action objc.Selector, object objc.IObject) bool

Attempts to perform the method indicated by an action with a specified argument. Full Topic

func (Responder) UndoManager

func (r_ Responder) UndoManager() foundation.UndoManager

The undo manager for this responder. Full Topic

func (Responder) UpdateUserActivityState

func (r_ Responder) UpdateUserActivityState(userActivity foundation.IUserActivity)

Updates the state of the given user activity. Full Topic

func (Responder) UserActivity

func (r_ Responder) UserActivity() foundation.UserActivity

An object encapsulating a user activity supported by this responder. Full Topic

func (Responder) ValidRequestorForSendTypeReturnType

func (r_ Responder) ValidRequestorForSendTypeReturnType(sendType PasteboardType, returnType PasteboardType) objc.Object

Overridden by subclasses to determine what services are available. Full Topic

func (Responder) ValidateProposedFirstResponderForEvent

func (r_ Responder) ValidateProposedFirstResponderForEvent(responder IResponder, event IEvent) bool

Allows controls to determine when they should become first responder. Full Topic

func (Responder) WantsForwardedScrollEventsForAxis

func (r_ Responder) WantsForwardedScrollEventsForAxis(axis EventGestureAxis) bool

Returns whether to forward elastic scrolling gesture events up the responder. Full Topic

func (Responder) WantsScrollEventsForSwipeTrackingOnAxis

func (r_ Responder) WantsScrollEventsForSwipeTrackingOnAxis(axis EventGestureAxis) bool

Implement this method to track gesture scroll events such as a swipe. Full Topic

func (Responder) WillPresentError

func (r_ Responder) WillPresentError(error foundation.IError) foundation.Error

Returns a custom version of the supplied error object that’s more suitable for presentation in alert sheets and dialogs. Full Topic

type RotationGestureRecognizer

type RotationGestureRecognizer struct {
	GestureRecognizer
}

A continuous gesture recognizer that tracks two trackpad touches moving opposite each other in a circular motion. Full Topic

func NewRotationGestureRecognizer

func NewRotationGestureRecognizer() RotationGestureRecognizer

func NewRotationGestureRecognizerWithTargetAction

func NewRotationGestureRecognizerWithTargetAction(target objc.IObject, action objc.Selector) RotationGestureRecognizer

Initializes the gesture recognizer with the specified target and action information. Full Topic

func RotationGestureRecognizerFrom

func RotationGestureRecognizerFrom(ptr unsafe.Pointer) RotationGestureRecognizer

func RotationGestureRecognizer_Alloc

func RotationGestureRecognizer_Alloc() RotationGestureRecognizer

func (RotationGestureRecognizer) Init

func (RotationGestureRecognizer) InitWithTargetAction

func (r_ RotationGestureRecognizer) InitWithTargetAction(target objc.IObject, action objc.Selector) RotationGestureRecognizer

func (RotationGestureRecognizer) Rotation

func (r_ RotationGestureRecognizer) Rotation() float64

The rotation of the gesture in radians. Full Topic

func (RotationGestureRecognizer) RotationInDegrees

func (r_ RotationGestureRecognizer) RotationInDegrees() float64

The rotation of the gesture in degrees. Full Topic

func (RotationGestureRecognizer) SetRotation

func (r_ RotationGestureRecognizer) SetRotation(value float64)

The rotation of the gesture in radians. Full Topic

func (RotationGestureRecognizer) SetRotationInDegrees

func (r_ RotationGestureRecognizer) SetRotationInDegrees(value float64)

The rotation of the gesture in degrees. Full Topic

type RuleEditor

type RuleEditor struct {
	Control
}

An interface for configuring a rule-based list of options. Full Topic

func NewRuleEditor

func NewRuleEditor() RuleEditor

func NewRuleEditorWithFrame

func NewRuleEditorWithFrame(frameRect foundation.Rect) RuleEditor

Initializes a control with the specified frame rectangle. Full Topic

func RuleEditorFrom

func RuleEditorFrom(ptr unsafe.Pointer) RuleEditor

func RuleEditor_Alloc

func RuleEditor_Alloc() RuleEditor

func (RuleEditor) AddRow

func (r_ RuleEditor) AddRow(sender objc.IObject)

Adds a row to the receiver. Full Topic

func (RuleEditor) CanRemoveAllRows

func (r_ RuleEditor) CanRemoveAllRows() bool

A Boolean value that indicates whether all the rows can be removed. Full Topic

func (RuleEditor) CriteriaForRow

func (r_ RuleEditor) CriteriaForRow(row int) []objc.Object

Returns the currently chosen items for a given row. Full Topic

func (RuleEditor) CriteriaKeyPath

func (r_ RuleEditor) CriteriaKeyPath() string

The criteria key path. Full Topic

func (RuleEditor) Delegate

func (r_ RuleEditor) Delegate() RuleEditorDelegateWrapper

The rule editor’s delegate. Full Topic

func (RuleEditor) DisplayValuesForRow

func (r_ RuleEditor) DisplayValuesForRow(row int) []objc.Object

Returns the chosen values for a given row. Full Topic

func (RuleEditor) DisplayValuesKeyPath

func (r_ RuleEditor) DisplayValuesKeyPath() string

The display values key path. Full Topic

func (RuleEditor) FormattingDictionary

func (r_ RuleEditor) FormattingDictionary() map[string]string

The formatting dictionary for the rule editor. Full Topic

func (RuleEditor) FormattingStringsFilename

func (r_ RuleEditor) FormattingStringsFilename() string

The name of the rule editor’s strings file. Full Topic

func (RuleEditor) Init

func (r_ RuleEditor) Init() RuleEditor

func (RuleEditor) InitWithFrame

func (r_ RuleEditor) InitWithFrame(frameRect foundation.Rect) RuleEditor

func (RuleEditor) InsertRowAtIndexWithTypeAsSubrowOfRowAnimate

func (r_ RuleEditor) InsertRowAtIndexWithTypeAsSubrowOfRowAnimate(rowIndex int, rowType RuleEditorRowType, parentRow int, shouldAnimate bool)

Adds a new row of a given type at a given location. Full Topic

func (RuleEditor) IsEditable

func (r_ RuleEditor) IsEditable() bool

A Boolean value that determines whether the rule editor is editable. Full Topic

func (RuleEditor) NestingMode

func (r_ RuleEditor) NestingMode() RuleEditorNestingMode

The rule editor’s nesting mode. Full Topic

func (RuleEditor) NumberOfRows

func (r_ RuleEditor) NumberOfRows() int

The number of rows in the rule editor. Full Topic

func (RuleEditor) ParentRowForRow

func (r_ RuleEditor) ParentRowForRow(rowIndex int) int

Returns the index of the parent of a given row. Full Topic

func (RuleEditor) Predicate

func (r_ RuleEditor) Predicate() foundation.Predicate

The rule editor’s predicate. Full Topic

func (RuleEditor) PredicateForRow

func (r_ RuleEditor) PredicateForRow(row int) foundation.Predicate

Returns the predicate for a given row. Full Topic

func (RuleEditor) ReloadCriteria

func (r_ RuleEditor) ReloadCriteria()

Instructs the receiver to refetch criteria from its delegate. Full Topic

func (RuleEditor) ReloadPredicate

func (r_ RuleEditor) ReloadPredicate()

Instructs the receiver to regenerate its predicate by invoking the corresponding delegate method. Full Topic

func (RuleEditor) RemoveRowAtIndex

func (r_ RuleEditor) RemoveRowAtIndex(rowIndex int)

Removes the row at a given index. Full Topic

func (RuleEditor) RemoveRowsAtIndexesIncludeSubrows

func (r_ RuleEditor) RemoveRowsAtIndexesIncludeSubrows(rowIndexes foundation.IIndexSet, includeSubrows bool)

Removes the rows at given indexes. Full Topic

func (RuleEditor) RowClass

func (r_ RuleEditor) RowClass() objc.Class

The class used to create a new row in the “rows” binding. Full Topic

func (RuleEditor) RowForDisplayValue

func (r_ RuleEditor) RowForDisplayValue(displayValue objc.IObject) int

Returns the index of the row containing a given value. Full Topic

func (RuleEditor) RowHeight

func (r_ RuleEditor) RowHeight() float64

The rule editor’s row height. Full Topic

func (RuleEditor) RowTypeForRow

func (r_ RuleEditor) RowTypeForRow(rowIndex int) RuleEditorRowType

Returns the type of a given row. Full Topic

func (RuleEditor) RowTypeKeyPath

func (r_ RuleEditor) RowTypeKeyPath() string

The key path for the row type. Full Topic

func (RuleEditor) SelectRowIndexesByExtendingSelection

func (r_ RuleEditor) SelectRowIndexesByExtendingSelection(indexes foundation.IIndexSet, extend bool)

Sets in the receiver the indexes of rows that are selected. Full Topic

func (RuleEditor) SelectedRowIndexes

func (r_ RuleEditor) SelectedRowIndexes() foundation.IndexSet

The indexes of the rule editor’s selected rows. Full Topic

func (RuleEditor) SetCanRemoveAllRows

func (r_ RuleEditor) SetCanRemoveAllRows(value bool)

A Boolean value that indicates whether all the rows can be removed. Full Topic

func (RuleEditor) SetCriteriaAndDisplayValuesForRowAtIndex

func (r_ RuleEditor) SetCriteriaAndDisplayValuesForRowAtIndex(criteria []objc.IObject, values []objc.IObject, rowIndex int)

Modifies the row at a given index to contain the given items and values. Full Topic

func (RuleEditor) SetCriteriaKeyPath

func (r_ RuleEditor) SetCriteriaKeyPath(value string)

The criteria key path. Full Topic

func (RuleEditor) SetDelegate

func (r_ RuleEditor) SetDelegate(value PRuleEditorDelegate)

The rule editor’s delegate. Full Topic

func (RuleEditor) SetDelegateObject

func (r_ RuleEditor) SetDelegateObject(valueObject objc.IObject)

The rule editor’s delegate. Full Topic

func (RuleEditor) SetDisplayValuesKeyPath

func (r_ RuleEditor) SetDisplayValuesKeyPath(value string)

The display values key path. Full Topic

func (RuleEditor) SetEditable

func (r_ RuleEditor) SetEditable(value bool)

A Boolean value that determines whether the rule editor is editable. Full Topic

func (RuleEditor) SetFormattingDictionary

func (r_ RuleEditor) SetFormattingDictionary(value map[string]string)

The formatting dictionary for the rule editor. Full Topic

func (RuleEditor) SetFormattingStringsFilename

func (r_ RuleEditor) SetFormattingStringsFilename(value string)

The name of the rule editor’s strings file. Full Topic

func (RuleEditor) SetNestingMode

func (r_ RuleEditor) SetNestingMode(value RuleEditorNestingMode)

The rule editor’s nesting mode. Full Topic

func (RuleEditor) SetRowClass

func (r_ RuleEditor) SetRowClass(value objc.IClass)

The class used to create a new row in the “rows” binding. Full Topic

func (RuleEditor) SetRowHeight

func (r_ RuleEditor) SetRowHeight(value float64)

The rule editor’s row height. Full Topic

func (RuleEditor) SetRowTypeKeyPath

func (r_ RuleEditor) SetRowTypeKeyPath(value string)

The key path for the row type. Full Topic

func (RuleEditor) SetSubrowsKeyPath

func (r_ RuleEditor) SetSubrowsKeyPath(value string)

The key path for the subrows. Full Topic

func (RuleEditor) SubrowIndexesForRow

func (r_ RuleEditor) SubrowIndexesForRow(rowIndex int) foundation.IndexSet

Returns the immediate subrows of a given row. Full Topic

func (RuleEditor) SubrowsKeyPath

func (r_ RuleEditor) SubrowsKeyPath() string

The key path for the subrows. Full Topic

type RuleEditorDelegate

type RuleEditorDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PRuleEditorDelegate protocol.

func (*RuleEditorDelegate) HasRuleEditorNumberOfChildrenForCriterionWithRowType

func (di *RuleEditorDelegate) HasRuleEditorNumberOfChildrenForCriterionWithRowType() bool

func (*RuleEditorDelegate) HasRuleEditorRowsDidChange

func (di *RuleEditorDelegate) HasRuleEditorRowsDidChange() bool

func (*RuleEditorDelegate) RuleEditorNumberOfChildrenForCriterionWithRowType

func (di *RuleEditorDelegate) RuleEditorNumberOfChildrenForCriterionWithRowType(editor RuleEditor, criterion objc.Object, rowType RuleEditorRowType) int

Returns the number of child items of a given criterion or row type. Full Topic

func (*RuleEditorDelegate) RuleEditorRowsDidChange

func (di *RuleEditorDelegate) RuleEditorRowsDidChange(notification foundation.Notification)

Notifies the receiver that a rule editor’s rows changed. Full Topic

func (*RuleEditorDelegate) SetRuleEditorNumberOfChildrenForCriterionWithRowType

func (di *RuleEditorDelegate) SetRuleEditorNumberOfChildrenForCriterionWithRowType(f func(editor RuleEditor, criterion objc.Object, rowType RuleEditorRowType) int)

Returns the number of child items of a given criterion or row type. Full Topic

func (*RuleEditorDelegate) SetRuleEditorRowsDidChange

func (di *RuleEditorDelegate) SetRuleEditorRowsDidChange(f func(notification foundation.Notification))

Notifies the receiver that a rule editor’s rows changed. Full Topic

type RuleEditorDelegateWrapper

type RuleEditorDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PRuleEditorDelegate protocol.

func (RuleEditorDelegateWrapper) HasRuleEditorNumberOfChildrenForCriterionWithRowType

func (r_ RuleEditorDelegateWrapper) HasRuleEditorNumberOfChildrenForCriterionWithRowType() bool

func (RuleEditorDelegateWrapper) HasRuleEditorRowsDidChange

func (r_ RuleEditorDelegateWrapper) HasRuleEditorRowsDidChange() bool

func (RuleEditorDelegateWrapper) RuleEditorNumberOfChildrenForCriterionWithRowType

func (r_ RuleEditorDelegateWrapper) RuleEditorNumberOfChildrenForCriterionWithRowType(editor IRuleEditor, criterion objc.IObject, rowType RuleEditorRowType) int

Returns the number of child items of a given criterion or row type. Full Topic

func (RuleEditorDelegateWrapper) RuleEditorRowsDidChange

func (r_ RuleEditorDelegateWrapper) RuleEditorRowsDidChange(notification foundation.INotification)

Notifies the receiver that a rule editor’s rows changed. Full Topic

type RuleEditorNestingMode

type RuleEditorNestingMode uint

Specifies a type for nesting modes. Full Topic

const (
	RuleEditorNestingModeCompound RuleEditorNestingMode = 2
	RuleEditorNestingModeList     RuleEditorNestingMode = 1
	RuleEditorNestingModeSimple   RuleEditorNestingMode = 3
	RuleEditorNestingModeSingle   RuleEditorNestingMode = 0
)

type RuleEditorPredicatePartKey

type RuleEditorPredicatePartKey string

These strings are used as keys to the dictionary returned from the delegate’s ruleEditor:numberOfChildrenForCriterion:withRowType: optional method. To construct a valid predicate, the union of the dictionaries for each item in the row must contain the required parts. Full Topic

const (
	RuleEditorPredicateComparisonModifier RuleEditorPredicatePartKey = "NSRuleEditorPredicateComparisonModifier"
	RuleEditorPredicateCompoundType       RuleEditorPredicatePartKey = "NSRuleEditorPredicateCompoundType"
	RuleEditorPredicateCustomSelector     RuleEditorPredicatePartKey = "NSRuleEditorPredicateCustomSelector"
	RuleEditorPredicateLeftExpression     RuleEditorPredicatePartKey = "NSRuleEditorPredicateLeftExpression"
	RuleEditorPredicateOperatorType       RuleEditorPredicatePartKey = "NSRuleEditorPredicateOperatorType"
	RuleEditorPredicateOptions            RuleEditorPredicatePartKey = "NSRuleEditorPredicateOptions"
	RuleEditorPredicateRightExpression    RuleEditorPredicatePartKey = "NSRuleEditorPredicateRightExpression"
)

type RuleEditorRowType

type RuleEditorRowType uint

Specifies a type for row types. Full Topic

const (
	RuleEditorRowTypeCompound RuleEditorRowType = 1
	RuleEditorRowTypeSimple   RuleEditorRowType = 0
)

type RulerMarker

type RulerMarker struct {
	objc.Object
}

A symbol on a ruler view, indicating a location for the graphics element it represents in the client of the ruler view. Full Topic

func NewRulerMarker

func NewRulerMarker() RulerMarker

func NewRulerMarkerWithRulerViewMarkerLocationImageImageOrigin

func NewRulerMarkerWithRulerViewMarkerLocationImageImageOrigin(ruler IRulerView, location float64, image IImage, imageOrigin foundation.Point) RulerMarker

Initializes a newly allocated ruler marker, associating it with (but not adding it to) a specified ruler view and assigning the attributes provided. Full Topic

func RulerMarkerFrom

func RulerMarkerFrom(ptr unsafe.Pointer) RulerMarker

func RulerMarker_Alloc

func RulerMarker_Alloc() RulerMarker

func (RulerMarker) DrawRect

func (r_ RulerMarker) DrawRect(rect foundation.Rect)

Draws the receiver’s image that appears in the supplied rectangle. Full Topic

func (RulerMarker) Image

func (r_ RulerMarker) Image() Image

The receiver’s image. Full Topic

func (RulerMarker) ImageOrigin

func (r_ RulerMarker) ImageOrigin() foundation.Point

The point in the receiver’s image that is positioned at the receiver’s location on the ruler view. Full Topic

func (RulerMarker) ImageRectInRuler

func (r_ RulerMarker) ImageRectInRuler() foundation.Rect

The rectangle occupied by the receiver’s image. Full Topic

func (RulerMarker) Init

func (r_ RulerMarker) Init() RulerMarker

func (RulerMarker) InitWithRulerViewMarkerLocationImageImageOrigin

func (r_ RulerMarker) InitWithRulerViewMarkerLocationImageImageOrigin(ruler IRulerView, location float64, image IImage, imageOrigin foundation.Point) RulerMarker

func (RulerMarker) IsDragging

func (r_ RulerMarker) IsDragging() bool

A Boolean that indicates whether the receiver is being dragged. Full Topic

func (RulerMarker) IsMovable

func (r_ RulerMarker) IsMovable() bool

A Boolean that indicates whether the user can move the receiver in its ruler view. Full Topic

func (RulerMarker) IsRemovable

func (r_ RulerMarker) IsRemovable() bool

A Boolean that indicates whether the user can remove the receiver from its ruler view. Full Topic

func (RulerMarker) MarkerLocation

func (r_ RulerMarker) MarkerLocation() float64

The location of the receiver in the coordinate system of the ruler view's client view. Full Topic

func (RulerMarker) RepresentedObject

func (r_ RulerMarker) RepresentedObject() foundation.CopyingWrapper

The object the receiver represents. Full Topic

func (RulerMarker) Ruler

func (r_ RulerMarker) Ruler() RulerView

The receiver's ruler view. Full Topic

func (RulerMarker) SetImage

func (r_ RulerMarker) SetImage(value IImage)

The receiver’s image. Full Topic

func (RulerMarker) SetImageOrigin

func (r_ RulerMarker) SetImageOrigin(value foundation.Point)

The point in the receiver’s image that is positioned at the receiver’s location on the ruler view. Full Topic

func (RulerMarker) SetMarkerLocation

func (r_ RulerMarker) SetMarkerLocation(value float64)

The location of the receiver in the coordinate system of the ruler view's client view. Full Topic

func (RulerMarker) SetMovable

func (r_ RulerMarker) SetMovable(value bool)

A Boolean that indicates whether the user can move the receiver in its ruler view. Full Topic

func (RulerMarker) SetRemovable

func (r_ RulerMarker) SetRemovable(value bool)

A Boolean that indicates whether the user can remove the receiver from its ruler view. Full Topic

func (RulerMarker) SetRepresentedObject

func (r_ RulerMarker) SetRepresentedObject(value foundation.PCopying)

The object the receiver represents. Full Topic

func (RulerMarker) SetRepresentedObjectObject

func (r_ RulerMarker) SetRepresentedObjectObject(valueObject objc.IObject)

The object the receiver represents. Full Topic

func (RulerMarker) ThicknessRequiredInRuler

func (r_ RulerMarker) ThicknessRequiredInRuler() float64

The amount of the receiver’s image that’s displayed above or to the left of the ruler view's baseline. Full Topic

func (RulerMarker) TrackMouseAdding

func (r_ RulerMarker) TrackMouseAdding(mouseDownEvent IEvent, isAdding bool) bool

Handles user manipulation of the receiver in its ruler view. Full Topic

type RulerOrientation

type RulerOrientation uint

These constants are defined to specify a ruler’s orientation and are used by orientation. Full Topic

const (
	HorizontalRuler RulerOrientation = 0
	VerticalRuler   RulerOrientation = 1
)

type RulerView

type RulerView struct {
	View
}

A ruler and the markers above or to the side of a scroll view’s document view. Full Topic

func NewRulerView

func NewRulerView() RulerView

func NewRulerViewWithFrame

func NewRulerViewWithFrame(frameRect foundation.Rect) RulerView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func NewRulerViewWithScrollViewOrientation

func NewRulerViewWithScrollViewOrientation(scrollView IScrollView, orientation RulerOrientation) RulerView

Initializes a newly allocated NSRulerView to have orientation (NSHorizontalRuler or NSVerticalRuler) within aScrollView. Full Topic

func RulerViewFrom

func RulerViewFrom(ptr unsafe.Pointer) RulerView

func RulerView_Alloc

func RulerView_Alloc() RulerView

func (RulerView) AccessoryView

func (r_ RulerView) AccessoryView() View

The receiver’s accessory view to aView. Full Topic

func (RulerView) AddMarker

func (r_ RulerView) AddMarker(marker IRulerMarker)

Adds aMarker to the receiver, without consulting the client view for approval. Full Topic

func (RulerView) BaselineLocation

func (r_ RulerView) BaselineLocation() float64

The location of the receiver’s baseline, in its own coordinate system. Full Topic

func (RulerView) ClientView

func (r_ RulerView) ClientView() View

The receiver’s client view, if it has one. Full Topic

func (RulerView) DrawHashMarksAndLabelsInRect

func (r_ RulerView) DrawHashMarksAndLabelsInRect(rect foundation.Rect)

Draws the receiver’s hash marks and labels in aRect, which is expressed in the receiver’s coordinate system. Full Topic

func (RulerView) DrawMarkersInRect

func (r_ RulerView) DrawMarkersInRect(rect foundation.Rect)

Draws the receiver’s markers in aRect, which is expressed in the receiver’s coordinate system. Full Topic

func (RulerView) Init

func (r_ RulerView) Init() RulerView

func (RulerView) InitWithFrame

func (r_ RulerView) InitWithFrame(frameRect foundation.Rect) RulerView

func (RulerView) InitWithScrollViewOrientation

func (r_ RulerView) InitWithScrollViewOrientation(scrollView IScrollView, orientation RulerOrientation) RulerView

func (RulerView) InvalidateHashMarks

func (r_ RulerView) InvalidateHashMarks()

Forces recalculation of the hash mark spacing for the next time the receiver is displayed. Full Topic

func (RulerView) Markers

func (r_ RulerView) Markers() []RulerMarker

The receiver’s ruler markers to markers, removing any existing ruler markers and not consulting with the client view about the new markers. Full Topic

func (RulerView) MeasurementUnits

func (r_ RulerView) MeasurementUnits() RulerViewUnitName

The measurement units used by the ruler to unitName. Full Topic

func (RulerView) MoveRulerlineFromLocationToLocation

func (r_ RulerView) MoveRulerlineFromLocationToLocation(oldLocation float64, newLocation float64)

Draws temporary lines in the ruler area. Full Topic

func (RulerView) Orientation

func (r_ RulerView) Orientation() RulerOrientation

The orientation of the receiver to orientation. Full Topic

func (RulerView) OriginOffset

func (r_ RulerView) OriginOffset() float64

The distance to the zero hash mark from the bounds origin of the NSScrollView’s document view (not of the receiver’s client view), in the document view’s coordinate system. Full Topic

func (RulerView) RemoveMarker

func (r_ RulerView) RemoveMarker(marker IRulerMarker)

Removes aMarker from the receiver, without consulting the client view for approval. Full Topic

func (RulerView) RequiredThickness

func (r_ RulerView) RequiredThickness() float64

The thickness needed for proper tiling of the receiver within an NSScrollView. Full Topic

func (RulerView) ReservedThicknessForAccessoryView

func (r_ RulerView) ReservedThicknessForAccessoryView() float64

The room available for the receiver’s accessory view to thickness. Full Topic

func (RulerView) ReservedThicknessForMarkers

func (r_ RulerView) ReservedThicknessForMarkers() float64

The room available for ruler markers to thickness. Full Topic

func (RulerView) RuleThickness

func (r_ RulerView) RuleThickness() float64

The thickness of the area where ruler hash marks and labels are drawn. Full Topic

func (RulerView) ScrollView

func (r_ RulerView) ScrollView() ScrollView

The NSScrollView that owns the receiver to scrollView, without retaining it. Full Topic

func (RulerView) SetAccessoryView

func (r_ RulerView) SetAccessoryView(value IView)

The receiver’s accessory view to aView. Full Topic

func (RulerView) SetClientView

func (r_ RulerView) SetClientView(value IView)

The receiver’s client view, if it has one. Full Topic

func (RulerView) SetMarkers

func (r_ RulerView) SetMarkers(value []IRulerMarker)

The receiver’s ruler markers to markers, removing any existing ruler markers and not consulting with the client view about the new markers. Full Topic

func (RulerView) SetMeasurementUnits

func (r_ RulerView) SetMeasurementUnits(value RulerViewUnitName)

The measurement units used by the ruler to unitName. Full Topic

func (RulerView) SetOrientation

func (r_ RulerView) SetOrientation(value RulerOrientation)

The orientation of the receiver to orientation. Full Topic

func (RulerView) SetOriginOffset

func (r_ RulerView) SetOriginOffset(value float64)

The distance to the zero hash mark from the bounds origin of the NSScrollView’s document view (not of the receiver’s client view), in the document view’s coordinate system. Full Topic

func (RulerView) SetReservedThicknessForAccessoryView

func (r_ RulerView) SetReservedThicknessForAccessoryView(value float64)

The room available for the receiver’s accessory view to thickness. Full Topic

func (RulerView) SetReservedThicknessForMarkers

func (r_ RulerView) SetReservedThicknessForMarkers(value float64)

The room available for ruler markers to thickness. Full Topic

func (RulerView) SetRuleThickness

func (r_ RulerView) SetRuleThickness(value float64)

The thickness of the area where ruler hash marks and labels are drawn. Full Topic

func (RulerView) SetScrollView

func (r_ RulerView) SetScrollView(value IScrollView)

The NSScrollView that owns the receiver to scrollView, without retaining it. Full Topic

func (RulerView) TrackMarkerWithMouseEvent

func (r_ RulerView) TrackMarkerWithMouseEvent(marker IRulerMarker, event IEvent) bool

Tracks the mouse to add aMarker based on the initial mouse-down or mouse-dragged event theEvent. Full Topic

type RulerViewUnitName

type RulerViewUnitName string
[Full Topic]
const (
	RulerViewUnitCentimeters RulerViewUnitName = "Centimeters"
	RulerViewUnitInches      RulerViewUnitName = "Inches"
	RulerViewUnitPicas       RulerViewUnitName = "Picas"
	RulerViewUnitPoints      RulerViewUnitName = "Points"
)

type RunningApplication

type RunningApplication struct {
	objc.Object
}

An object that can manipulate and provide information for a single instance of an app. Full Topic

func NewRunningApplication

func NewRunningApplication() RunningApplication

func RunningApplicationFrom

func RunningApplicationFrom(ptr unsafe.Pointer) RunningApplication

func RunningApplication_Alloc

func RunningApplication_Alloc() RunningApplication

func RunningApplication_CurrentApplication

func RunningApplication_CurrentApplication() RunningApplication

Returns an NSRunningApplication representing this application. Full Topic

func RunningApplication_RunningApplicationsWithBundleIdentifier

func RunningApplication_RunningApplicationsWithBundleIdentifier(bundleIdentifier string) []RunningApplication

Returns an array of currently running applications with the specified bundle identifier. Full Topic

func (RunningApplication) ActivateWithOptions

func (r_ RunningApplication) ActivateWithOptions(options ApplicationActivationOptions) bool

Attempts to activate the application using the specified options. Full Topic

func (RunningApplication) ActivationPolicy

func (r_ RunningApplication) ActivationPolicy() ApplicationActivationPolicy

Indicates the activation policy of the application. Full Topic

func (RunningApplication) BundleIdentifier

func (r_ RunningApplication) BundleIdentifier() string

Indicates the CFBundleIdentifier of the application. Full Topic

func (RunningApplication) BundleURL

func (r_ RunningApplication) BundleURL() foundation.URL

Indicates the URL to the application's bundle. Full Topic

func (RunningApplication) ExecutableArchitecture

func (r_ RunningApplication) ExecutableArchitecture() int

Indicates the executing processor architecture for the application. Full Topic

func (RunningApplication) ExecutableURL

func (r_ RunningApplication) ExecutableURL() foundation.URL

Indicates the URL to the application's executable. Full Topic

func (RunningApplication) ForceTerminate

func (r_ RunningApplication) ForceTerminate() bool

Attempts to force the receiver to quit. Full Topic

func (RunningApplication) Hide

func (r_ RunningApplication) Hide() bool

Attempts to hide or the application. Full Topic

func (RunningApplication) Icon

func (r_ RunningApplication) Icon() Image

Returns the icon for the receiver’s application. Full Topic

func (RunningApplication) Init

func (RunningApplication) IsActive

func (r_ RunningApplication) IsActive() bool

Indicates whether the application is currently frontmost. Full Topic

func (RunningApplication) IsFinishedLaunching

func (r_ RunningApplication) IsFinishedLaunching() bool

Indicates whether the receiver’s process has finished launching, Full Topic

func (RunningApplication) IsHidden

func (r_ RunningApplication) IsHidden() bool

Indicates whether the application is currently hidden. Full Topic

func (RunningApplication) IsTerminated

func (r_ RunningApplication) IsTerminated() bool

Indicates that the receiver’s application has terminated. Full Topic

func (RunningApplication) LaunchDate

func (r_ RunningApplication) LaunchDate() foundation.Date

Indicates the date when the application was launched. Full Topic

func (RunningApplication) LocalizedName

func (r_ RunningApplication) LocalizedName() string

Indicates the localized name of the application. Full Topic

func (RunningApplication) OwnsMenuBar

func (r_ RunningApplication) OwnsMenuBar() bool

Returns whether the application owns the current menu bar. Full Topic

func (RunningApplication) Terminate

func (r_ RunningApplication) Terminate() bool

Attempts to quit the receiver normally. Full Topic

func (RunningApplication) Unhide

func (r_ RunningApplication) Unhide() bool

Attempts to unhide or the application. Full Topic

type SaveOperationType

type SaveOperationType uint

Constants for specifying the type of document-save operation to perform. Full Topic

const (
	AutosaveAsOperation        SaveOperationType = 5
	AutosaveElsewhereOperation SaveOperationType = 3
	AutosaveInPlaceOperation   SaveOperationType = 4
	AutosaveOperation          SaveOperationType = 3
	SaveAsOperation            SaveOperationType = 1
	SaveOperation              SaveOperationType = 0
	SaveToOperation            SaveOperationType = 2
)

type SavePanel

type SavePanel struct {
	Panel
}

A panel that prompts the user for information about where to save a file. Full Topic

func NewSavePanel

func NewSavePanel() SavePanel

func NewSavePanelWithContentRectStyleMaskBackingDeferScreen

func NewSavePanelWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) SavePanel

Initializes an allocated window with the specified values. Full Topic

func SavePanelFrom

func SavePanelFrom(ptr unsafe.Pointer) SavePanel

func SavePanel_Alloc

func SavePanel_Alloc() SavePanel

func SavePanel_SavePanel

func SavePanel_SavePanel() SavePanel

Creates a new Save panel and initializes it with default information. Full Topic

func SavePanel_WindowWithContentViewController

func SavePanel_WindowWithContentViewController(contentViewController IViewController) SavePanel

Creates a titled window that contains the specified content view controller. Full Topic

func (SavePanel) AccessoryView

func (s_ SavePanel) AccessoryView() View

The custom accessory view for the current app. Full Topic

func (SavePanel) AllowedContentTypes

func (s_ SavePanel) AllowedContentTypes() []uti.Type

An array of types that specify the files types to which you can save. Full Topic

func (SavePanel) AllowsOtherFileTypes

func (s_ SavePanel) AllowsOtherFileTypes() bool

A Boolean value that indicates whether the panel allows the user to save files with a filename extension that’s not in the list of allowed types. Full Topic

func (SavePanel) BeginSheetModalForWindowCompletionHandler

func (s_ SavePanel) BeginSheetModalForWindowCompletionHandler(window IWindow, handler func(result ModalResponse))

Presents the panel as a sheet modal to the specified window. Full Topic

func (SavePanel) BeginWithCompletionHandler

func (s_ SavePanel) BeginWithCompletionHandler(handler func(result ModalResponse))

Presents the panel as a modeless window. Full Topic

func (SavePanel) CanCreateDirectories

func (s_ SavePanel) CanCreateDirectories() bool

A Boolean value that indicates whether the panel displays UI for creating directories. Full Topic

func (SavePanel) CanSelectHiddenExtension

func (s_ SavePanel) CanSelectHiddenExtension() bool

A Boolean value that indicates whether the panel displays UI for hiding or showing filename extensions. Full Topic

func (SavePanel) Cancel

func (s_ SavePanel) Cancel(sender objc.IObject) objc.Object

The action method that the panel calls when the user clicks the Cancel button. Full Topic

func (SavePanel) DirectoryURL

func (s_ SavePanel) DirectoryURL() foundation.URL

The current directory shown in the panel. Full Topic

func (SavePanel) Init

func (s_ SavePanel) Init() SavePanel

func (SavePanel) InitWithContentRectStyleMaskBackingDeferScreen

func (s_ SavePanel) InitWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) SavePanel

func (SavePanel) IsExpanded

func (s_ SavePanel) IsExpanded() bool

A Boolean value that indicates whether whether the panel is expanded. Full Topic

func (SavePanel) IsExtensionHidden

func (s_ SavePanel) IsExtensionHidden() bool

A Boolean value that indicates whether to display filename extensions. Full Topic

func (SavePanel) Message

func (s_ SavePanel) Message() string

The message text displayed in the panel. Full Topic

func (SavePanel) NameFieldLabel

func (s_ SavePanel) NameFieldLabel() string

The label text displayed in front of the filename text field. Full Topic

func (SavePanel) NameFieldStringValue

func (s_ SavePanel) NameFieldStringValue() string

The user-editable filename currently shown in the name field. Full Topic

func (SavePanel) Ok

func (s_ SavePanel) Ok(sender objc.IObject) objc.Object

The action method that the panel calls when the user clicks the OK button. Full Topic

func (SavePanel) Prompt

func (s_ SavePanel) Prompt() string

The text to display in the default button. Full Topic

func (SavePanel) RunModal

func (s_ SavePanel) RunModal() ModalResponse

Displays the panel and begins its event loop with the current working (or last-selected) directory as the default starting point. Full Topic

func (SavePanel) SetAccessoryView

func (s_ SavePanel) SetAccessoryView(value IView)

The custom accessory view for the current app. Full Topic

func (SavePanel) SetAllowedContentTypes

func (s_ SavePanel) SetAllowedContentTypes(value []uti.IType)

An array of types that specify the files types to which you can save. Full Topic

func (SavePanel) SetAllowsOtherFileTypes

func (s_ SavePanel) SetAllowsOtherFileTypes(value bool)

A Boolean value that indicates whether the panel allows the user to save files with a filename extension that’s not in the list of allowed types. Full Topic

func (SavePanel) SetCanCreateDirectories

func (s_ SavePanel) SetCanCreateDirectories(value bool)

A Boolean value that indicates whether the panel displays UI for creating directories. Full Topic

func (SavePanel) SetCanSelectHiddenExtension

func (s_ SavePanel) SetCanSelectHiddenExtension(value bool)

A Boolean value that indicates whether the panel displays UI for hiding or showing filename extensions. Full Topic

func (SavePanel) SetDirectoryURL

func (s_ SavePanel) SetDirectoryURL(value foundation.IURL)

The current directory shown in the panel. Full Topic

func (SavePanel) SetExtensionHidden

func (s_ SavePanel) SetExtensionHidden(value bool)

A Boolean value that indicates whether to display filename extensions. Full Topic

func (SavePanel) SetMessage

func (s_ SavePanel) SetMessage(value string)

The message text displayed in the panel. Full Topic

func (SavePanel) SetNameFieldLabel

func (s_ SavePanel) SetNameFieldLabel(value string)

The label text displayed in front of the filename text field. Full Topic

func (SavePanel) SetNameFieldStringValue

func (s_ SavePanel) SetNameFieldStringValue(value string)

The user-editable filename currently shown in the name field. Full Topic

func (SavePanel) SetPrompt

func (s_ SavePanel) SetPrompt(value string)

The text to display in the default button. Full Topic

func (SavePanel) SetShowsHiddenFiles

func (s_ SavePanel) SetShowsHiddenFiles(value bool)

A Boolean value that indicates whether the panel displays files that are normally hidden from the user. Full Topic

func (SavePanel) SetShowsTagField

func (s_ SavePanel) SetShowsTagField(value bool)

A Boolean value that indicates whether the panel displays the Tags field. Full Topic

func (SavePanel) SetTagNames

func (s_ SavePanel) SetTagNames(value []string)

The tag names that you want to include on a saved file. Full Topic

func (SavePanel) SetTreatsFilePackagesAsDirectories

func (s_ SavePanel) SetTreatsFilePackagesAsDirectories(value bool)

A Boolean value that indicates whether the panel displays file packages as directories. Full Topic

func (SavePanel) ShowsHiddenFiles

func (s_ SavePanel) ShowsHiddenFiles() bool

A Boolean value that indicates whether the panel displays files that are normally hidden from the user. Full Topic

func (SavePanel) ShowsTagField

func (s_ SavePanel) ShowsTagField() bool

A Boolean value that indicates whether the panel displays the Tags field. Full Topic

func (SavePanel) TagNames

func (s_ SavePanel) TagNames() []string

The tag names that you want to include on a saved file. Full Topic

func (SavePanel) TreatsFilePackagesAsDirectories

func (s_ SavePanel) TreatsFilePackagesAsDirectories() bool

A Boolean value that indicates whether the panel displays file packages as directories. Full Topic

func (SavePanel) URL

func (s_ SavePanel) URL() foundation.URL

A URL that contains the fully specified location of the targeted file. Full Topic

func (SavePanel) ValidateVisibleColumns

func (s_ SavePanel) ValidateVisibleColumns()

Validates and reloads the browser columns visible in the panel. Full Topic

type Screen

type Screen struct {
	objc.Object
}

An object that describes the attributes of a computer’s monitor or screen. Full Topic

func NewScreen

func NewScreen() Screen

func ScreenFrom

func ScreenFrom(ptr unsafe.Pointer) Screen

func Screen_Alloc

func Screen_Alloc() Screen

func Screen_DeepestScreen

func Screen_DeepestScreen() Screen

Returns a screen object representing the screen that can best represent color. Full Topic

func Screen_MainScreen

func Screen_MainScreen() Screen

Returns the screen object containing the window with the keyboard focus. Full Topic

func Screen_Screens

func Screen_Screens() []Screen

Returns an array of screen objects representing all of the screens available on the system. Full Topic

func (Screen) BackingAlignedRectOptions

func (s_ Screen) BackingAlignedRectOptions(rect foundation.Rect, options foundation.AlignmentOptions) foundation.Rect

Converts a rectangle in global screen coordinates to a pixel aligned rectangle. Full Topic

func (Screen) BackingScaleFactor

func (s_ Screen) BackingScaleFactor() float64

The backing store pixel scale factor for the screen. Full Topic

func (Screen) CanRepresentDisplayGamut

func (s_ Screen) CanRepresentDisplayGamut(displayGamut DisplayGamut) bool

A Boolean value indicating whether the color space of the screen is capable of representing the specified display gamut. Full Topic

func (Screen) ColorSpace

func (s_ Screen) ColorSpace() ColorSpace

The color space of the screen. Full Topic

func (Screen) ConvertRectFromBacking

func (s_ Screen) ConvertRectFromBacking(rect foundation.Rect) foundation.Rect

Converts the rectangle from the device pixel aligned coordinates system of a screen. Full Topic

func (Screen) ConvertRectToBacking

func (s_ Screen) ConvertRectToBacking(rect foundation.Rect) foundation.Rect

Converts the rectangle to the device pixel aligned coordinates system of a screen. Full Topic

func (Screen) Depth

func (s_ Screen) Depth() WindowDepth

The current bit depth and colorspace information of the screen. Full Topic

func (Screen) DeviceDescription

func (s_ Screen) DeviceDescription() map[DeviceDescriptionKey]objc.Object

The device dictionary for the screen. Full Topic

func (Screen) DisplayUpdateGranularity

func (s_ Screen) DisplayUpdateGranularity() foundation.TimeInterval

The number of seconds between the screen’s supported update rates, for screens that support fixed update rates. Full Topic

func (Screen) Frame

func (s_ Screen) Frame() foundation.Rect

The dimensions and location of the screen. Full Topic

func (Screen) Init

func (s_ Screen) Init() Screen

func (Screen) LastDisplayUpdateTimestamp

func (s_ Screen) LastDisplayUpdateTimestamp() foundation.TimeInterval

The time of the last framebuffer update, expressed as the number of seconds since system startup. Full Topic

func (Screen) LocalizedName

func (s_ Screen) LocalizedName() string

The localized name of the display. Full Topic

func (Screen) MaximumExtendedDynamicRangeColorComponentValue

func (s_ Screen) MaximumExtendedDynamicRangeColorComponentValue() float64

The current maximum color component value for the screen. Full Topic

func (Screen) MaximumFramesPerSecond

func (s_ Screen) MaximumFramesPerSecond() int

The maximum number of frames per second that the screen supports. Full Topic

func (Screen) MaximumPotentialExtendedDynamicRangeColorComponentValue

func (s_ Screen) MaximumPotentialExtendedDynamicRangeColorComponentValue() float64

The maximum possible color component value for the screen when it's in extended dynamic range (EDR) mode. Full Topic

func (Screen) MaximumReferenceExtendedDynamicRangeColorComponentValue

func (s_ Screen) MaximumReferenceExtendedDynamicRangeColorComponentValue() float64

The current maximum color component value for reference rendering to the screen. Full Topic

func (Screen) MaximumRefreshInterval

func (s_ Screen) MaximumRefreshInterval() foundation.TimeInterval

The largest refresh interval that the screen supports. Full Topic

func (Screen) MinimumRefreshInterval

func (s_ Screen) MinimumRefreshInterval() foundation.TimeInterval

The shortest refresh interval that the screen supports. Full Topic

func (Screen) SafeAreaInsets

func (s_ Screen) SafeAreaInsets() foundation.EdgeInsets

The distances from the screen’s edges at which content isn’t obscured. Full Topic

func (Screen) SupportedWindowDepths

func (s_ Screen) SupportedWindowDepths() *WindowDepth

A zero-terminated array of the window depths supported by the screen. Full Topic

func (Screen) VisibleFrame

func (s_ Screen) VisibleFrame() foundation.Rect

The current location and dimensions of the visible screen. Full Topic

type ScrollArrowPosition

type ScrollArrowPosition uint

These constants specify where the scroller’s buttons appear and are used by the arrowsPosition property. Full Topic

const (
	ScrollerArrowsDefaultSetting ScrollArrowPosition = 0
	ScrollerArrowsMaxEnd         ScrollArrowPosition = 0
	ScrollerArrowsMinEnd         ScrollArrowPosition = 1
	ScrollerArrowsNone           ScrollArrowPosition = 2
)

type ScrollElasticity

type ScrollElasticity int

These constants determine the elasticity behavior for an axis of the scrollview. Full Topic

const (
	ScrollElasticityAllowed   ScrollElasticity = 2
	ScrollElasticityAutomatic ScrollElasticity = 0
	ScrollElasticityNone      ScrollElasticity = 1
)

type ScrollView

type ScrollView struct {
	View
}

A view that displays a portion of a document view and provides scroll bars that allow the user to move the document view within the scroll view. Full Topic

func NewScrollView

func NewScrollView() ScrollView

func NewScrollViewWithFrame

func NewScrollViewWithFrame(frameRect foundation.Rect) ScrollView
[Full Topic]

func ScrollViewFrom

func ScrollViewFrom(ptr unsafe.Pointer) ScrollView

func ScrollView_Alloc

func ScrollView_Alloc() ScrollView

func TextView_ScrollableDocumentContentTextView

func TextView_ScrollableDocumentContentTextView() ScrollView
[Full Topic]

func TextView_ScrollablePlainDocumentContentTextView

func TextView_ScrollablePlainDocumentContentTextView() ScrollView
[Full Topic]

func TextView_ScrollableTextView

func TextView_ScrollableTextView() ScrollView
[Full Topic]

func (ScrollView) AddFloatingSubviewForAxis

func (s_ ScrollView) AddFloatingSubviewForAxis(view IView, axis EventGestureAxis)

Adds a floating subview to the document view. Full Topic

func (ScrollView) AllowsMagnification

func (s_ ScrollView) AllowsMagnification() bool

Allows the user to magnify the scroll view. Full Topic

func (ScrollView) AutohidesScrollers

func (s_ ScrollView) AutohidesScrollers() bool

A Boolean that indicates whether the scroll view automatically hides its scroll bars when they are not needed. Full Topic

func (ScrollView) AutomaticallyAdjustsContentInsets

func (s_ ScrollView) AutomaticallyAdjustsContentInsets() bool

A Boolean that indicates whether the scroll view automatically adjusts its content insets. Full Topic

func (ScrollView) BackgroundColor

func (s_ ScrollView) BackgroundColor() Color

The color of the content view’s background. Full Topic

func (ScrollView) BorderType

func (s_ ScrollView) BorderType() BorderType

A value that specifies the appearance of the scroll view’s border. Full Topic

func (ScrollView) ContentInsets

func (s_ ScrollView) ContentInsets() foundation.EdgeInsets

The distance that the scroll view’s subviews are inset from the enclosing scroll view during tiling. Full Topic

func (ScrollView) ContentSize

func (s_ ScrollView) ContentSize() foundation.Size

The size of the scroll view’s content view. Full Topic

func (ScrollView) ContentView

func (s_ ScrollView) ContentView() ClipView

The scroll view’s content view, the view that clips the document view. Full Topic

func (ScrollView) DocumentCursor

func (s_ ScrollView) DocumentCursor() Cursor

The content view’s document cursor. Full Topic

func (ScrollView) DocumentView

func (s_ ScrollView) DocumentView() View

The view the scroll view scrolls within its content view. Full Topic

func (ScrollView) DocumentVisibleRect

func (s_ ScrollView) DocumentVisibleRect() foundation.Rect

The portion of the document view, in its own coordinate system, visible through the scroll view’s content view. Full Topic

func (ScrollView) DrawsBackground

func (s_ ScrollView) DrawsBackground() bool

A Boolean that indicates whether the scroll view draws its background. Full Topic

func (ScrollView) FindBarPosition

func (s_ ScrollView) FindBarPosition() ScrollViewFindBarPosition

The position of the find bar. Full Topic

func (ScrollView) FlashScrollers

func (s_ ScrollView) FlashScrollers()

Flash the overlay scroll bars. Full Topic

func (ScrollView) HasHorizontalRuler

func (s_ ScrollView) HasHorizontalRuler() bool

A Boolean that indicates whether the scroll view keeps a horizontal ruler object. Full Topic

func (ScrollView) HasHorizontalScroller

func (s_ ScrollView) HasHorizontalScroller() bool

A Boolean that indicates whether the scroll view has a horizontal scroller. Full Topic

func (ScrollView) HasVerticalRuler

func (s_ ScrollView) HasVerticalRuler() bool

A Boolean that indicates whether the scroll view keeps a vertical ruler object. Full Topic

func (ScrollView) HasVerticalScroller

func (s_ ScrollView) HasVerticalScroller() bool

A Boolean that indicates whether the scroll view has a vertical scroller. Full Topic

func (ScrollView) HorizontalLineScroll

func (s_ ScrollView) HorizontalLineScroll() float64

The scroll view’s horizontal line by line scroll amount. Full Topic

func (ScrollView) HorizontalPageScroll

func (s_ ScrollView) HorizontalPageScroll() float64

The amount of the document view kept visible when scrolling horizontally page by page. Full Topic

func (ScrollView) HorizontalRulerView

func (s_ ScrollView) HorizontalRulerView() RulerView

The scroll view’s horizontal ruler view. Full Topic

func (ScrollView) HorizontalScrollElasticity

func (s_ ScrollView) HorizontalScrollElasticity() ScrollElasticity

The scroll view’s horizontal scrolling elasticity mode. Full Topic

func (ScrollView) HorizontalScroller

func (s_ ScrollView) HorizontalScroller() Scroller

The scroll view’s horizontal scroller. Full Topic

func (ScrollView) Init

func (s_ ScrollView) Init() ScrollView

func (ScrollView) InitWithFrame

func (s_ ScrollView) InitWithFrame(frameRect foundation.Rect) ScrollView

func (ScrollView) LineScroll

func (s_ ScrollView) LineScroll() float64

The scroll view’s line by line scroll amount. Full Topic

func (ScrollView) Magnification

func (s_ ScrollView) Magnification() float64

The amount by which the content is currently scaled. Full Topic

func (ScrollView) MagnifyToFitRect

func (s_ ScrollView) MagnifyToFitRect(rect foundation.Rect)

Magnifies the content view proportionally such that the given rectangle fits centered in the scroll view. Full Topic

func (ScrollView) MaxMagnification

func (s_ ScrollView) MaxMagnification() float64

The maximum value to which the content can be magnified. Full Topic

func (ScrollView) MinMagnification

func (s_ ScrollView) MinMagnification() float64

The minimum value to which the content can be magnified. Full Topic

func (ScrollView) PageScroll

func (s_ ScrollView) PageScroll() float64

The amount of the document view kept visible when scrolling page by page. Full Topic

func (ScrollView) RulersVisible

func (s_ ScrollView) RulersVisible() bool

A Boolean that indicates whether the scroll view displays its rulers. Full Topic

func (ScrollView) ScrollerInsets

func (s_ ScrollView) ScrollerInsets() foundation.EdgeInsets

The distance the scrollers are inset from the edge of the scroll view. Full Topic

func (ScrollView) ScrollerKnobStyle

func (s_ ScrollView) ScrollerKnobStyle() ScrollerKnobStyle

The knob style of scroll views that use the overlay scroller style. Full Topic

func (ScrollView) ScrollerStyle

func (s_ ScrollView) ScrollerStyle() ScrollerStyle

The scroller style used by the scroll view. Full Topic

func (ScrollView) ScrollsDynamically

func (s_ ScrollView) ScrollsDynamically() bool

A Boolean that indicates whether the scroll view redraws its document view while scrolling continuously. Full Topic

func (ScrollView) SetAllowsMagnification

func (s_ ScrollView) SetAllowsMagnification(value bool)

Allows the user to magnify the scroll view. Full Topic

func (ScrollView) SetAutohidesScrollers

func (s_ ScrollView) SetAutohidesScrollers(value bool)

A Boolean that indicates whether the scroll view automatically hides its scroll bars when they are not needed. Full Topic

func (ScrollView) SetAutomaticallyAdjustsContentInsets

func (s_ ScrollView) SetAutomaticallyAdjustsContentInsets(value bool)

A Boolean that indicates whether the scroll view automatically adjusts its content insets. Full Topic

func (ScrollView) SetBackgroundColor

func (s_ ScrollView) SetBackgroundColor(value IColor)

The color of the content view’s background. Full Topic

func (ScrollView) SetBorderType

func (s_ ScrollView) SetBorderType(value BorderType)

A value that specifies the appearance of the scroll view’s border. Full Topic

func (ScrollView) SetContentInsets

func (s_ ScrollView) SetContentInsets(value foundation.EdgeInsets)

The distance that the scroll view’s subviews are inset from the enclosing scroll view during tiling. Full Topic

func (ScrollView) SetContentView

func (s_ ScrollView) SetContentView(value IClipView)

The scroll view’s content view, the view that clips the document view. Full Topic

func (ScrollView) SetDocumentCursor

func (s_ ScrollView) SetDocumentCursor(value ICursor)

The content view’s document cursor. Full Topic

func (ScrollView) SetDocumentView

func (s_ ScrollView) SetDocumentView(value IView)

The view the scroll view scrolls within its content view. Full Topic

func (ScrollView) SetDrawsBackground

func (s_ ScrollView) SetDrawsBackground(value bool)

A Boolean that indicates whether the scroll view draws its background. Full Topic

func (ScrollView) SetFindBarPosition

func (s_ ScrollView) SetFindBarPosition(value ScrollViewFindBarPosition)

The position of the find bar. Full Topic

func (ScrollView) SetHasHorizontalRuler

func (s_ ScrollView) SetHasHorizontalRuler(value bool)

A Boolean that indicates whether the scroll view keeps a horizontal ruler object. Full Topic

func (ScrollView) SetHasHorizontalScroller

func (s_ ScrollView) SetHasHorizontalScroller(value bool)

A Boolean that indicates whether the scroll view has a horizontal scroller. Full Topic

func (ScrollView) SetHasVerticalRuler

func (s_ ScrollView) SetHasVerticalRuler(value bool)

A Boolean that indicates whether the scroll view keeps a vertical ruler object. Full Topic

func (ScrollView) SetHasVerticalScroller

func (s_ ScrollView) SetHasVerticalScroller(value bool)

A Boolean that indicates whether the scroll view has a vertical scroller. Full Topic

func (ScrollView) SetHorizontalLineScroll

func (s_ ScrollView) SetHorizontalLineScroll(value float64)

The scroll view’s horizontal line by line scroll amount. Full Topic

func (ScrollView) SetHorizontalPageScroll

func (s_ ScrollView) SetHorizontalPageScroll(value float64)

The amount of the document view kept visible when scrolling horizontally page by page. Full Topic

func (ScrollView) SetHorizontalRulerView

func (s_ ScrollView) SetHorizontalRulerView(value IRulerView)

The scroll view’s horizontal ruler view. Full Topic

func (ScrollView) SetHorizontalScrollElasticity

func (s_ ScrollView) SetHorizontalScrollElasticity(value ScrollElasticity)

The scroll view’s horizontal scrolling elasticity mode. Full Topic

func (ScrollView) SetHorizontalScroller

func (s_ ScrollView) SetHorizontalScroller(value IScroller)

The scroll view’s horizontal scroller. Full Topic

func (ScrollView) SetLineScroll

func (s_ ScrollView) SetLineScroll(value float64)

The scroll view’s line by line scroll amount. Full Topic

func (ScrollView) SetMagnification

func (s_ ScrollView) SetMagnification(value float64)

The amount by which the content is currently scaled. Full Topic

func (ScrollView) SetMagnificationCenteredAtPoint

func (s_ ScrollView) SetMagnificationCenteredAtPoint(magnification float64, point foundation.Point)

Magnify the content by the given amount and center the result on the given point. Full Topic

func (ScrollView) SetMaxMagnification

func (s_ ScrollView) SetMaxMagnification(value float64)

The maximum value to which the content can be magnified. Full Topic

func (ScrollView) SetMinMagnification

func (s_ ScrollView) SetMinMagnification(value float64)

The minimum value to which the content can be magnified. Full Topic

func (ScrollView) SetPageScroll

func (s_ ScrollView) SetPageScroll(value float64)

The amount of the document view kept visible when scrolling page by page. Full Topic

func (ScrollView) SetRulersVisible

func (s_ ScrollView) SetRulersVisible(value bool)

A Boolean that indicates whether the scroll view displays its rulers. Full Topic

func (ScrollView) SetScrollerInsets

func (s_ ScrollView) SetScrollerInsets(value foundation.EdgeInsets)

The distance the scrollers are inset from the edge of the scroll view. Full Topic

func (ScrollView) SetScrollerKnobStyle

func (s_ ScrollView) SetScrollerKnobStyle(value ScrollerKnobStyle)

The knob style of scroll views that use the overlay scroller style. Full Topic

func (ScrollView) SetScrollerStyle

func (s_ ScrollView) SetScrollerStyle(value ScrollerStyle)

The scroller style used by the scroll view. Full Topic

func (ScrollView) SetScrollsDynamically

func (s_ ScrollView) SetScrollsDynamically(value bool)

A Boolean that indicates whether the scroll view redraws its document view while scrolling continuously. Full Topic

func (ScrollView) SetUsesPredominantAxisScrolling

func (s_ ScrollView) SetUsesPredominantAxisScrolling(value bool)

A Boolean that indicates whether the scroll view uses a predominant scrolling axis for content. Full Topic

func (ScrollView) SetVerticalLineScroll

func (s_ ScrollView) SetVerticalLineScroll(value float64)

The scroll view’s vertical line by line scroll amount. Full Topic

func (ScrollView) SetVerticalPageScroll

func (s_ ScrollView) SetVerticalPageScroll(value float64)

The amount of the document view kept visible when scrolling vertically page by page. Full Topic

func (ScrollView) SetVerticalRulerView

func (s_ ScrollView) SetVerticalRulerView(value IRulerView)

The scroll view’s vertical ruler view. Full Topic

func (ScrollView) SetVerticalScrollElasticity

func (s_ ScrollView) SetVerticalScrollElasticity(value ScrollElasticity)

The scroll view’s vertical scrolling elasticity mode. Full Topic

func (ScrollView) SetVerticalScroller

func (s_ ScrollView) SetVerticalScroller(value IScroller)

The scroll view’s vertical scroller. Full Topic

func (ScrollView) Tile

func (s_ ScrollView) Tile()

Lays out the components of the receiver: the content view, the scrollers, and the ruler views. Full Topic

func (ScrollView) UsesPredominantAxisScrolling

func (s_ ScrollView) UsesPredominantAxisScrolling() bool

A Boolean that indicates whether the scroll view uses a predominant scrolling axis for content. Full Topic

func (ScrollView) VerticalLineScroll

func (s_ ScrollView) VerticalLineScroll() float64

The scroll view’s vertical line by line scroll amount. Full Topic

func (ScrollView) VerticalPageScroll

func (s_ ScrollView) VerticalPageScroll() float64

The amount of the document view kept visible when scrolling vertically page by page. Full Topic

func (ScrollView) VerticalRulerView

func (s_ ScrollView) VerticalRulerView() RulerView

The scroll view’s vertical ruler view. Full Topic

func (ScrollView) VerticalScrollElasticity

func (s_ ScrollView) VerticalScrollElasticity() ScrollElasticity

The scroll view’s vertical scrolling elasticity mode. Full Topic

func (ScrollView) VerticalScroller

func (s_ ScrollView) VerticalScroller() Scroller

The scroll view’s vertical scroller. Full Topic

type ScrollViewFindBarPosition

type ScrollViewFindBarPosition int

These constants define the position of the find bar in relation to the scroll view. Full Topic

const (
	ScrollViewFindBarPositionAboveContent         ScrollViewFindBarPosition = 1
	ScrollViewFindBarPositionAboveHorizontalRuler ScrollViewFindBarPosition = 0
	ScrollViewFindBarPositionBelowContent         ScrollViewFindBarPosition = 2
)

type ScrollableTextView

type ScrollableTextView struct {
	ScrollView
}

ScrollableTextView is ScrollView that contains a TextView

func NewScrollableTextView

func NewScrollableTextView() ScrollableTextView

NewScrollableTextView create and return new scrollable text view.

func (*ScrollableTextView) ContentTextView

func (t *ScrollableTextView) ContentTextView() TextView

ContentTextView return the inner TextView

type Scroller

type Scroller struct {
	Control
}

An object that controls scrolling of a document view within a scroll view or other type of container view. Full Topic

func NewScroller

func NewScroller() Scroller

func NewScrollerWithFrame

func NewScrollerWithFrame(frameRect foundation.Rect) Scroller

Initializes a control with the specified frame rectangle. Full Topic

func ScrollerFrom

func ScrollerFrom(ptr unsafe.Pointer) Scroller

func Scroller_Alloc

func Scroller_Alloc() Scroller

func (Scroller) CheckSpaceForParts

func (s_ Scroller) CheckSpaceForParts()

Checks to see if there is enough room in the receiver to display the knob and buttons. Full Topic

func (Scroller) DrawKnob

func (s_ Scroller) DrawKnob()

Draws the knob. Full Topic

func (Scroller) DrawKnobSlotInRectHighlight

func (s_ Scroller) DrawKnobSlotInRectHighlight(slotRect foundation.Rect, flag bool)

Draws the portion of the scroller’s track, possibly including the line increment and decrement arrow buttons, that falls in the given rectangle. Full Topic

func (Scroller) HitPart

func (s_ Scroller) HitPart() ScrollerPart

A part code indicating the manner in which the scrolling should be performed. Full Topic

func (Scroller) Init

func (s_ Scroller) Init() Scroller

func (Scroller) InitWithFrame

func (s_ Scroller) InitWithFrame(frameRect foundation.Rect) Scroller

func (Scroller) KnobProportion

func (s_ Scroller) KnobProportion() float64

The proportion of the knob slot that the knob should fill. Full Topic

func (Scroller) KnobStyle

func (s_ Scroller) KnobStyle() ScrollerKnobStyle

The scroller’s knob style. Full Topic

func (Scroller) RectForPart

func (s_ Scroller) RectForPart(partCode ScrollerPart) foundation.Rect

Returns the rectangle occupied by aPart, which for this method is interpreted literally rather than as an indicator of scrolling direction. Full Topic

func (Scroller) ScrollerStyle

func (s_ Scroller) ScrollerStyle() ScrollerStyle

The scroller style for this scroller. Full Topic

func (Scroller) SetKnobProportion

func (s_ Scroller) SetKnobProportion(proportion float64)

The proportion of the knob slot that the knob should fill. Full Topic

func (Scroller) SetKnobStyle

func (s_ Scroller) SetKnobStyle(value ScrollerKnobStyle)

The scroller’s knob style. Full Topic

func (Scroller) SetScrollerStyle

func (s_ Scroller) SetScrollerStyle(value ScrollerStyle)

The scroller style for this scroller. Full Topic

func (Scroller) TestPart

func (s_ Scroller) TestPart(point foundation.Point) ScrollerPart

Returns the part that would be hit by a mouse-down event at aPoint (expressed in the window’s coordinate system). Full Topic

func (Scroller) TrackKnob

func (s_ Scroller) TrackKnob(event IEvent)

Tracks the knob and sends action messages to the receiver’s target. Full Topic

func (Scroller) UsableParts

func (s_ Scroller) UsableParts() UsableScrollerParts

A value that indicates which parts of the receiver are displayed and usable. Full Topic

type ScrollerArrow

type ScrollerArrow uint

These constants describe the two scroller buttons and are used by drawArrow:highlight:. Full Topic

const (
	ScrollerDecrementArrow ScrollerArrow = 1
	ScrollerIncrementArrow ScrollerArrow = 0
)

type ScrollerKnobStyle

type ScrollerKnobStyle int

Specify different knob styles. Full Topic

const (
	ScrollerKnobStyleDark    ScrollerKnobStyle = 1
	ScrollerKnobStyleDefault ScrollerKnobStyle = 0
	ScrollerKnobStyleLight   ScrollerKnobStyle = 2
)

type ScrollerPart

type ScrollerPart uint

These constants specify the different parts of the scroller: Full Topic

const (
	ScrollerDecrementLine ScrollerPart = 4
	ScrollerDecrementPage ScrollerPart = 1
	ScrollerIncrementLine ScrollerPart = 5
	ScrollerIncrementPage ScrollerPart = 3
	ScrollerKnob          ScrollerPart = 2
	ScrollerKnobSlot      ScrollerPart = 6
	ScrollerNoPart        ScrollerPart = 0
)

type ScrollerStyle

type ScrollerStyle int

Constants to specify the scroller style. Full Topic

const (
	ScrollerStyleLegacy  ScrollerStyle = 0
	ScrollerStyleOverlay ScrollerStyle = 1
)

func Scroller_PreferredScrollerStyle

func Scroller_PreferredScrollerStyle() ScrollerStyle

Returns the style of scrollers that applications should use wherever possible. Full Topic

type Scrubber

type Scrubber struct {
	View
}

A customizable item picker control for the Touch Bar. Full Topic

func NewScrubber

func NewScrubber() Scrubber

func NewScrubberWithFrame

func NewScrubberWithFrame(frameRect foundation.Rect) Scrubber

Initializes and returns a newly allocated scrubber object with the specified frame rectangle. Full Topic

func ScrubberFrom

func ScrubberFrom(ptr unsafe.Pointer) Scrubber

func Scrubber_Alloc

func Scrubber_Alloc() Scrubber

func (Scrubber) BackgroundColor

func (s_ Scrubber) BackgroundColor() Color

The color displayed behind the scrubber content. Full Topic

func (Scrubber) BackgroundView

func (s_ Scrubber) BackgroundView() View

A view that is displayed behind the scrubber content. Full Topic

func (Scrubber) DataSource

func (s_ Scrubber) DataSource() ScrubberDataSourceWrapper

The object that provides the data for the scrubber. Full Topic

func (Scrubber) Delegate

func (s_ Scrubber) Delegate() ScrubberDelegateWrapper

The object that acts as the delegate of the scrubber. Full Topic

func (Scrubber) FloatsSelectionViews

func (s_ Scrubber) FloatsSelectionViews() bool

A Boolean value that determines the behavior of the item selection decorations as the scrubber's selection changes. Full Topic

func (Scrubber) HighlightedIndex

func (s_ Scrubber) HighlightedIndex() int

The index of the highlighted item in the scrubber. Full Topic

func (Scrubber) Init

func (s_ Scrubber) Init() Scrubber

func (Scrubber) InitWithFrame

func (s_ Scrubber) InitWithFrame(frameRect foundation.Rect) Scrubber

func (Scrubber) InsertItemsAtIndexes

func (s_ Scrubber) InsertItemsAtIndexes(indexes foundation.IIndexSet)

Inserts new items at the specified indexes into the scrubber. Full Topic

func (Scrubber) IsContinuous

func (s_ Scrubber) IsContinuous() bool

A Boolean value that, together with the mode property, determines scrubber interaction style. Full Topic

func (Scrubber) ItemAlignment

func (s_ Scrubber) ItemAlignment() ScrubberAlignment

A setting that specifies the snapping behavior of items in the scrubber. Full Topic

func (Scrubber) ItemViewForItemAtIndex

func (s_ Scrubber) ItemViewForItemAtIndex(index int) ScrubberItemView

Returns the view for the item at the specified index. Full Topic

func (Scrubber) MakeItemWithIdentifierOwner

func (s_ Scrubber) MakeItemWithIdentifierOwner(itemIdentifier UserInterfaceItemIdentifier, owner objc.IObject) ScrubberItemView

Creates or returns a reusable item object with the specified identifier. Full Topic

func (Scrubber) Mode

func (s_ Scrubber) Mode() ScrubberMode

A setting that determines whether interaction with the scrubber is fixed or free. Full Topic

func (Scrubber) MoveItemAtIndexToIndex

func (s_ Scrubber) MoveItemAtIndexToIndex(oldIndex int, newIndex int)

Moves an item from one index to another in the scrubber. Full Topic

func (Scrubber) NumberOfItems

func (s_ Scrubber) NumberOfItems() int

The number of items represented by the scrubber. Full Topic

func (Scrubber) PerformSequentialBatchUpdates

func (s_ Scrubber) PerformSequentialBatchUpdates(updateBlock func())

Combines multiple scrubber content updates into a single action. Full Topic

func (Scrubber) RegisterClassForItemIdentifier

func (s_ Scrubber) RegisterClassForItemIdentifier(itemViewClass objc.IClass, itemIdentifier UserInterfaceItemIdentifier)

Registers a class for the scrubber to use when it creates new items. Full Topic

func (Scrubber) RegisterNibForItemIdentifier

func (s_ Scrubber) RegisterNibForItemIdentifier(nib INib, itemIdentifier UserInterfaceItemIdentifier)

Registers a nib file for the scrubber to use when it creates new items in the scrubber. Full Topic

func (Scrubber) ReloadData

func (s_ Scrubber) ReloadData()

Reloads the content of the entire scrubber, and deselects the currently selected item. Full Topic

func (Scrubber) ReloadItemsAtIndexes

func (s_ Scrubber) ReloadItemsAtIndexes(indexes foundation.IIndexSet)

Reloads the items at the specified indexes. Full Topic

func (Scrubber) RemoveItemsAtIndexes

func (s_ Scrubber) RemoveItemsAtIndexes(indexes foundation.IIndexSet)

Removes the items at the specified indexes from the scrubber. Full Topic

func (Scrubber) ScrollItemAtIndexToAlignment

func (s_ Scrubber) ScrollItemAtIndexToAlignment(index int, alignment ScrubberAlignment)

Scrolls an item to a specified alignment within the scrubber. Full Topic

func (Scrubber) ScrubberLayout

func (s_ Scrubber) ScrubberLayout() ScrubberLayout

An object used to describe the layout of items within the scrubber. Full Topic

func (Scrubber) SelectedIndex

func (s_ Scrubber) SelectedIndex() int

The index of the selected item in the scrubber. Full Topic

func (Scrubber) SelectionBackgroundStyle

func (s_ Scrubber) SelectionBackgroundStyle() ScrubberSelectionStyle

The style applied to the background of selected items. Full Topic

func (Scrubber) SelectionOverlayStyle

func (s_ Scrubber) SelectionOverlayStyle() ScrubberSelectionStyle

The style overlaid on selected items. Full Topic

func (Scrubber) SetBackgroundColor

func (s_ Scrubber) SetBackgroundColor(value IColor)

The color displayed behind the scrubber content. Full Topic

func (Scrubber) SetBackgroundView

func (s_ Scrubber) SetBackgroundView(value IView)

A view that is displayed behind the scrubber content. Full Topic

func (Scrubber) SetContinuous

func (s_ Scrubber) SetContinuous(value bool)

A Boolean value that, together with the mode property, determines scrubber interaction style. Full Topic

func (Scrubber) SetDataSource

func (s_ Scrubber) SetDataSource(value PScrubberDataSource)

The object that provides the data for the scrubber. Full Topic

func (Scrubber) SetDataSourceObject

func (s_ Scrubber) SetDataSourceObject(valueObject objc.IObject)

The object that provides the data for the scrubber. Full Topic

func (Scrubber) SetDelegate

func (s_ Scrubber) SetDelegate(value PScrubberDelegate)

The object that acts as the delegate of the scrubber. Full Topic

func (Scrubber) SetDelegateObject

func (s_ Scrubber) SetDelegateObject(valueObject objc.IObject)

The object that acts as the delegate of the scrubber. Full Topic

func (Scrubber) SetFloatsSelectionViews

func (s_ Scrubber) SetFloatsSelectionViews(value bool)

A Boolean value that determines the behavior of the item selection decorations as the scrubber's selection changes. Full Topic

func (Scrubber) SetItemAlignment

func (s_ Scrubber) SetItemAlignment(value ScrubberAlignment)

A setting that specifies the snapping behavior of items in the scrubber. Full Topic

func (Scrubber) SetMode

func (s_ Scrubber) SetMode(value ScrubberMode)

A setting that determines whether interaction with the scrubber is fixed or free. Full Topic

func (Scrubber) SetScrubberLayout

func (s_ Scrubber) SetScrubberLayout(value IScrubberLayout)

An object used to describe the layout of items within the scrubber. Full Topic

func (Scrubber) SetSelectedIndex

func (s_ Scrubber) SetSelectedIndex(value int)

The index of the selected item in the scrubber. Full Topic

func (Scrubber) SetSelectionBackgroundStyle

func (s_ Scrubber) SetSelectionBackgroundStyle(value IScrubberSelectionStyle)

The style applied to the background of selected items. Full Topic

func (Scrubber) SetSelectionOverlayStyle

func (s_ Scrubber) SetSelectionOverlayStyle(value IScrubberSelectionStyle)

The style overlaid on selected items. Full Topic

func (Scrubber) SetShowsAdditionalContentIndicators

func (s_ Scrubber) SetShowsAdditionalContentIndicators(value bool)

A Boolean value that specifies whether the scrubber should display the existence of additional items beyond the leading and trailing edges. Full Topic

func (Scrubber) SetShowsArrowButtons

func (s_ Scrubber) SetShowsArrowButtons(value bool)

A Boolean value that specifies whether arrow buttons should be displayed at the leading and trailing edges of the scrubber. Full Topic

func (Scrubber) ShowsAdditionalContentIndicators

func (s_ Scrubber) ShowsAdditionalContentIndicators() bool

A Boolean value that specifies whether the scrubber should display the existence of additional items beyond the leading and trailing edges. Full Topic

func (Scrubber) ShowsArrowButtons

func (s_ Scrubber) ShowsArrowButtons() bool

A Boolean value that specifies whether arrow buttons should be displayed at the leading and trailing edges of the scrubber. Full Topic

type ScrubberAlignment

type ScrubberAlignment int

The specified preferred alignment of items within the scrubber, when they come to rest following a user’s scrolling or paging interaction. Full Topic

const (
	ScrubberAlignmentCenter   ScrubberAlignment = 3
	ScrubberAlignmentLeading  ScrubberAlignment = 1
	ScrubberAlignmentNone     ScrubberAlignment = 0
	ScrubberAlignmentTrailing ScrubberAlignment = 2
)

type ScrubberArrangedView

type ScrubberArrangedView struct {
	View
}

An abstract base class for the views whose layout is managed by a scrubber. Full Topic

func NewScrubberArrangedView

func NewScrubberArrangedView() ScrubberArrangedView

func NewScrubberArrangedViewWithFrame

func NewScrubberArrangedViewWithFrame(frameRect foundation.Rect) ScrubberArrangedView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func ScrubberArrangedViewFrom

func ScrubberArrangedViewFrom(ptr unsafe.Pointer) ScrubberArrangedView

func ScrubberArrangedView_Alloc

func ScrubberArrangedView_Alloc() ScrubberArrangedView

func (ScrubberArrangedView) ApplyLayoutAttributes

func (s_ ScrubberArrangedView) ApplyLayoutAttributes(layoutAttributes IScrubberLayoutAttributes)

Updates the layout of the arranged view to respect the provided layout attributes. Full Topic

func (ScrubberArrangedView) Init

func (ScrubberArrangedView) InitWithFrame

func (s_ ScrubberArrangedView) InitWithFrame(frameRect foundation.Rect) ScrubberArrangedView

func (ScrubberArrangedView) IsHighlighted

func (s_ ScrubberArrangedView) IsHighlighted() bool

A Boolean value that specifies whether the view is currently highlighted. Full Topic

func (ScrubberArrangedView) IsSelected

func (s_ ScrubberArrangedView) IsSelected() bool

A Boolean value that specifies whether the current view is selected. Full Topic

func (ScrubberArrangedView) SetHighlighted

func (s_ ScrubberArrangedView) SetHighlighted(value bool)

A Boolean value that specifies whether the view is currently highlighted. Full Topic

func (ScrubberArrangedView) SetSelected

func (s_ ScrubberArrangedView) SetSelected(value bool)

A Boolean value that specifies whether the current view is selected. Full Topic

type ScrubberDataSourceWrapper

type ScrubberDataSourceWrapper struct {
	objc.Object
}

A concrete type wrapper for the PScrubberDataSource protocol.

func (ScrubberDataSourceWrapper) HasNumberOfItemsForScrubber

func (s_ ScrubberDataSourceWrapper) HasNumberOfItemsForScrubber() bool

func (ScrubberDataSourceWrapper) HasScrubberViewForItemAtIndex

func (s_ ScrubberDataSourceWrapper) HasScrubberViewForItemAtIndex() bool

func (ScrubberDataSourceWrapper) NumberOfItemsForScrubber

func (s_ ScrubberDataSourceWrapper) NumberOfItemsForScrubber(scrubber IScrubber) int

Asks the data source for the number of items in the scrubber. Full Topic

func (ScrubberDataSourceWrapper) ScrubberViewForItemAtIndex

func (s_ ScrubberDataSourceWrapper) ScrubberViewForItemAtIndex(scrubber IScrubber, index int) ScrubberItemView

Asks the data source object for the view the corresponds to the specified item in the scrubber. Full Topic

type ScrubberDelegate

type ScrubberDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PScrubberDelegate protocol.

func (*ScrubberDelegate) DidBeginInteractingWithScrubber

func (di *ScrubberDelegate) DidBeginInteractingWithScrubber(scrubber Scrubber)

Tells the delegate that the user is panning or scrolling the scrubber. Full Topic

func (*ScrubberDelegate) DidCancelInteractingWithScrubber

func (di *ScrubberDelegate) DidCancelInteractingWithScrubber(scrubber Scrubber)

Tells the delegate that a user interaction with the scrubber has been canceled. Full Topic

func (*ScrubberDelegate) DidFinishInteractingWithScrubber

func (di *ScrubberDelegate) DidFinishInteractingWithScrubber(scrubber Scrubber)

Tells the delegate that a pan or scroll interaction with the scrubber has ended. Full Topic

func (*ScrubberDelegate) HasDidBeginInteractingWithScrubber

func (di *ScrubberDelegate) HasDidBeginInteractingWithScrubber() bool

func (*ScrubberDelegate) HasDidCancelInteractingWithScrubber

func (di *ScrubberDelegate) HasDidCancelInteractingWithScrubber() bool

func (*ScrubberDelegate) HasDidFinishInteractingWithScrubber

func (di *ScrubberDelegate) HasDidFinishInteractingWithScrubber() bool

func (*ScrubberDelegate) HasScrubberDidSelectItemAtIndex

func (di *ScrubberDelegate) HasScrubberDidSelectItemAtIndex() bool

func (*ScrubberDelegate) ScrubberDidSelectItemAtIndex

func (di *ScrubberDelegate) ScrubberDidSelectItemAtIndex(scrubber Scrubber, selectedIndex int)

Tells the delegate that the item at the specified index was selected. Full Topic

func (*ScrubberDelegate) SetDidBeginInteractingWithScrubber

func (di *ScrubberDelegate) SetDidBeginInteractingWithScrubber(f func(scrubber Scrubber))

Tells the delegate that the user is panning or scrolling the scrubber. Full Topic

func (*ScrubberDelegate) SetDidCancelInteractingWithScrubber

func (di *ScrubberDelegate) SetDidCancelInteractingWithScrubber(f func(scrubber Scrubber))

Tells the delegate that a user interaction with the scrubber has been canceled. Full Topic

func (*ScrubberDelegate) SetDidFinishInteractingWithScrubber

func (di *ScrubberDelegate) SetDidFinishInteractingWithScrubber(f func(scrubber Scrubber))

Tells the delegate that a pan or scroll interaction with the scrubber has ended. Full Topic

func (*ScrubberDelegate) SetScrubberDidSelectItemAtIndex

func (di *ScrubberDelegate) SetScrubberDidSelectItemAtIndex(f func(scrubber Scrubber, selectedIndex int))

Tells the delegate that the item at the specified index was selected. Full Topic

type ScrubberDelegateWrapper

type ScrubberDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PScrubberDelegate protocol.

func (ScrubberDelegateWrapper) DidBeginInteractingWithScrubber

func (s_ ScrubberDelegateWrapper) DidBeginInteractingWithScrubber(scrubber IScrubber)

Tells the delegate that the user is panning or scrolling the scrubber. Full Topic

func (ScrubberDelegateWrapper) DidCancelInteractingWithScrubber

func (s_ ScrubberDelegateWrapper) DidCancelInteractingWithScrubber(scrubber IScrubber)

Tells the delegate that a user interaction with the scrubber has been canceled. Full Topic

func (ScrubberDelegateWrapper) DidFinishInteractingWithScrubber

func (s_ ScrubberDelegateWrapper) DidFinishInteractingWithScrubber(scrubber IScrubber)

Tells the delegate that a pan or scroll interaction with the scrubber has ended. Full Topic

func (ScrubberDelegateWrapper) HasDidBeginInteractingWithScrubber

func (s_ ScrubberDelegateWrapper) HasDidBeginInteractingWithScrubber() bool

func (ScrubberDelegateWrapper) HasDidCancelInteractingWithScrubber

func (s_ ScrubberDelegateWrapper) HasDidCancelInteractingWithScrubber() bool

func (ScrubberDelegateWrapper) HasDidFinishInteractingWithScrubber

func (s_ ScrubberDelegateWrapper) HasDidFinishInteractingWithScrubber() bool

func (ScrubberDelegateWrapper) HasScrubberDidSelectItemAtIndex

func (s_ ScrubberDelegateWrapper) HasScrubberDidSelectItemAtIndex() bool

func (ScrubberDelegateWrapper) ScrubberDidSelectItemAtIndex

func (s_ ScrubberDelegateWrapper) ScrubberDidSelectItemAtIndex(scrubber IScrubber, selectedIndex int)

Tells the delegate that the item at the specified index was selected. Full Topic

type ScrubberFlowLayout

type ScrubberFlowLayout struct {
	ScrubberLayout
}

A concrete layout object that arranges items end-to-end in a linear strip. Full Topic

func NewScrubberFlowLayout

func NewScrubberFlowLayout() ScrubberFlowLayout

func ScrubberFlowLayoutFrom

func ScrubberFlowLayoutFrom(ptr unsafe.Pointer) ScrubberFlowLayout

func ScrubberFlowLayout_Alloc

func ScrubberFlowLayout_Alloc() ScrubberFlowLayout

func (ScrubberFlowLayout) Init

func (ScrubberFlowLayout) InvalidateLayoutForItemsAtIndexes

func (s_ ScrubberFlowLayout) InvalidateLayoutForItemsAtIndexes(invalidItemIndexes foundation.IIndexSet)

Informs the scrubber that it should perform a new layout pass for the items at the specified indexes. Full Topic

func (ScrubberFlowLayout) ItemSize

func (s_ ScrubberFlowLayout) ItemSize() foundation.Size

The frame size for each item in the scrubber. Full Topic

func (ScrubberFlowLayout) ItemSpacing

func (s_ ScrubberFlowLayout) ItemSpacing() float64

The horizontal spacing between items, specified in points. Full Topic

func (ScrubberFlowLayout) SetItemSize

func (s_ ScrubberFlowLayout) SetItemSize(value foundation.Size)

The frame size for each item in the scrubber. Full Topic

func (ScrubberFlowLayout) SetItemSpacing

func (s_ ScrubberFlowLayout) SetItemSpacing(value float64)

The horizontal spacing between items, specified in points. Full Topic

type ScrubberFlowLayoutDelegate

type ScrubberFlowLayoutDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PScrubberFlowLayoutDelegate protocol.

func (*ScrubberFlowLayoutDelegate) HasScrubberLayoutSizeForItemAtIndex

func (di *ScrubberFlowLayoutDelegate) HasScrubberLayoutSizeForItemAtIndex() bool

func (*ScrubberFlowLayoutDelegate) ScrubberLayoutSizeForItemAtIndex

func (di *ScrubberFlowLayoutDelegate) ScrubberLayoutSizeForItemAtIndex(scrubber Scrubber, layout ScrubberFlowLayout, itemIndex int) foundation.Size

Asks the delegate for the size of each item in a scrubber whose items are arranged in a flow layout. Full Topic

func (*ScrubberFlowLayoutDelegate) SetScrubberLayoutSizeForItemAtIndex

func (di *ScrubberFlowLayoutDelegate) SetScrubberLayoutSizeForItemAtIndex(f func(scrubber Scrubber, layout ScrubberFlowLayout, itemIndex int) foundation.Size)

Asks the delegate for the size of each item in a scrubber whose items are arranged in a flow layout. Full Topic

type ScrubberFlowLayoutDelegateWrapper

type ScrubberFlowLayoutDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PScrubberFlowLayoutDelegate protocol.

func (ScrubberFlowLayoutDelegateWrapper) HasScrubberLayoutSizeForItemAtIndex

func (s_ ScrubberFlowLayoutDelegateWrapper) HasScrubberLayoutSizeForItemAtIndex() bool

func (ScrubberFlowLayoutDelegateWrapper) ScrubberLayoutSizeForItemAtIndex

func (s_ ScrubberFlowLayoutDelegateWrapper) ScrubberLayoutSizeForItemAtIndex(scrubber IScrubber, layout IScrubberFlowLayout, itemIndex int) foundation.Size

Asks the delegate for the size of each item in a scrubber whose items are arranged in a flow layout. Full Topic

type ScrubberImageItemView

type ScrubberImageItemView struct {
	ScrubberItemView
}

A concrete view subclass for displaying images in a scrubber items. Full Topic

func NewScrubberImageItemView

func NewScrubberImageItemView() ScrubberImageItemView

func NewScrubberImageItemViewWithFrame

func NewScrubberImageItemViewWithFrame(frameRect foundation.Rect) ScrubberImageItemView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func ScrubberImageItemViewFrom

func ScrubberImageItemViewFrom(ptr unsafe.Pointer) ScrubberImageItemView

func ScrubberImageItemView_Alloc

func ScrubberImageItemView_Alloc() ScrubberImageItemView

func (ScrubberImageItemView) Image

func (s_ ScrubberImageItemView) Image() Image

The image displayed by the scrubber item. Full Topic

func (ScrubberImageItemView) ImageAlignment

func (s_ ScrubberImageItemView) ImageAlignment() ImageAlignment

The alignment of the image within the scrubber item. Full Topic

func (ScrubberImageItemView) ImageView

func (s_ ScrubberImageItemView) ImageView() ImageView

The image view that the scrubber item uses to display its image. Full Topic

func (ScrubberImageItemView) Init

func (ScrubberImageItemView) InitWithFrame

func (s_ ScrubberImageItemView) InitWithFrame(frameRect foundation.Rect) ScrubberImageItemView

func (ScrubberImageItemView) SetImage

func (s_ ScrubberImageItemView) SetImage(value IImage)

The image displayed by the scrubber item. Full Topic

func (ScrubberImageItemView) SetImageAlignment

func (s_ ScrubberImageItemView) SetImageAlignment(value ImageAlignment)

The alignment of the image within the scrubber item. Full Topic

type ScrubberItemView

type ScrubberItemView struct {
	ScrubberArrangedView
}

An item at a specific index position in the scrubber. Full Topic

func NewScrubberItemView

func NewScrubberItemView() ScrubberItemView

func NewScrubberItemViewWithFrame

func NewScrubberItemViewWithFrame(frameRect foundation.Rect) ScrubberItemView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func ScrubberItemViewFrom

func ScrubberItemViewFrom(ptr unsafe.Pointer) ScrubberItemView

func ScrubberItemView_Alloc

func ScrubberItemView_Alloc() ScrubberItemView

func (ScrubberItemView) Init

func (ScrubberItemView) InitWithFrame

func (s_ ScrubberItemView) InitWithFrame(frameRect foundation.Rect) ScrubberItemView

type ScrubberLayout

type ScrubberLayout struct {
	objc.Object
}

An abstract class that describes the layout of items within a scrubber control. Full Topic

func NewScrubberLayout

func NewScrubberLayout() ScrubberLayout

func ScrubberLayoutFrom

func ScrubberLayoutFrom(ptr unsafe.Pointer) ScrubberLayout

func ScrubberLayout_Alloc

func ScrubberLayout_Alloc() ScrubberLayout

func (ScrubberLayout) AutomaticallyMirrorsInRightToLeftLayout

func (s_ ScrubberLayout) AutomaticallyMirrorsInRightToLeftLayout() bool

Determines whether the scrubber mirrors its layout for right-to-left layouts. Full Topic

func (ScrubberLayout) Init

func (s_ ScrubberLayout) Init() ScrubberLayout

func (ScrubberLayout) InvalidateLayout

func (s_ ScrubberLayout) InvalidateLayout()

Signals that the layout has been invalidated, and that the scrubber control should perform a new layout pass. Full Topic

func (ScrubberLayout) LayoutAttributesForItemAtIndex

func (s_ ScrubberLayout) LayoutAttributesForItemAtIndex(index int) ScrubberLayoutAttributes

The layout attributes for the item with the specified index. Full Topic

func (ScrubberLayout) LayoutAttributesForItemsInRect

func (s_ ScrubberLayout) LayoutAttributesForItemsInRect(rect foundation.Rect) foundation.Set

The set of layout attributes for all items within the provided rectangle. Full Topic

func (ScrubberLayout) PrepareLayout

func (s_ ScrubberLayout) PrepareLayout()

Gives you an opportunity to perform layout calculations when the scrubber's layout is invalidated. Full Topic

func (ScrubberLayout) Scrubber

func (s_ ScrubberLayout) Scrubber() Scrubber

The scrubber control that this layout is assigned to. Full Topic

func (ScrubberLayout) ScrubberContentSize

func (s_ ScrubberLayout) ScrubberContentSize() foundation.Size

The size required to contain all elements within the scrubber. Full Topic

func (ScrubberLayout) ShouldInvalidateLayoutForChangeFromVisibleRectToVisibleRect

func (s_ ScrubberLayout) ShouldInvalidateLayoutForChangeFromVisibleRectToVisibleRect(fromVisibleRect foundation.Rect, toVisibleRect foundation.Rect) bool

Determines whether the scrubber should refresh its layout in response to a change of its visible region. Full Topic

func (ScrubberLayout) ShouldInvalidateLayoutForHighlightChange

func (s_ ScrubberLayout) ShouldInvalidateLayoutForHighlightChange() bool

Determines whether the scrubber should refresh its layout when an item is highlighted. Full Topic

func (ScrubberLayout) ShouldInvalidateLayoutForSelectionChange

func (s_ ScrubberLayout) ShouldInvalidateLayoutForSelectionChange() bool

Determines whether the scrubber should refresh its layout when the selection changes. Full Topic

func (ScrubberLayout) VisibleRect

func (s_ ScrubberLayout) VisibleRect() foundation.Rect

The currently visible rectangle, in the coordinate space of the scrubber content. Full Topic

type ScrubberLayoutAttributes

type ScrubberLayoutAttributes struct {
	objc.Object
}

The layout of a scrubber item. Full Topic

func NewScrubberLayoutAttributes

func NewScrubberLayoutAttributes() ScrubberLayoutAttributes

func ScrubberLayoutAttributesFrom

func ScrubberLayoutAttributesFrom(ptr unsafe.Pointer) ScrubberLayoutAttributes

func ScrubberLayoutAttributes_Alloc

func ScrubberLayoutAttributes_Alloc() ScrubberLayoutAttributes

func ScrubberLayoutAttributes_LayoutAttributesForItemAtIndex

func ScrubberLayoutAttributes_LayoutAttributesForItemAtIndex(index int) ScrubberLayoutAttributes

Creates a new layout attributes object for the specified scrubber item index. Full Topic

func (ScrubberLayoutAttributes) Alpha

func (s_ ScrubberLayoutAttributes) Alpha() float64

The item's alpha value. Full Topic

func (ScrubberLayoutAttributes) Frame

The frame of the scrubber item. Full Topic

func (ScrubberLayoutAttributes) Init

func (ScrubberLayoutAttributes) ItemIndex

func (s_ ScrubberLayoutAttributes) ItemIndex() int

The index of the scrubber item that is represented by the item's layout attributes. Full Topic

func (ScrubberLayoutAttributes) SetAlpha

func (s_ ScrubberLayoutAttributes) SetAlpha(value float64)

The item's alpha value. Full Topic

func (ScrubberLayoutAttributes) SetFrame

func (s_ ScrubberLayoutAttributes) SetFrame(value foundation.Rect)

The frame of the scrubber item. Full Topic

func (ScrubberLayoutAttributes) SetItemIndex

func (s_ ScrubberLayoutAttributes) SetItemIndex(value int)

The index of the scrubber item that is represented by the item's layout attributes. Full Topic

type ScrubberMode

type ScrubberMode int

The scrolling behavior for a scrubber. Full Topic

const (
	ScrubberModeFixed ScrubberMode = 0
	ScrubberModeFree  ScrubberMode = 1
)

type ScrubberProportionalLayout

type ScrubberProportionalLayout struct {
	ScrubberLayout
}

A concrete layout object that sizes each item to some fraction of the scrubber's visible size. Full Topic

func NewScrubberProportionalLayout

func NewScrubberProportionalLayout() ScrubberProportionalLayout

func NewScrubberProportionalLayoutWithNumberOfVisibleItems

func NewScrubberProportionalLayoutWithNumberOfVisibleItems(numberOfVisibleItems int) ScrubberProportionalLayout

Initializes and returns a newly allocated proportional layout, configured to display the given number of items. Full Topic

func ScrubberProportionalLayoutFrom

func ScrubberProportionalLayoutFrom(ptr unsafe.Pointer) ScrubberProportionalLayout

func ScrubberProportionalLayout_Alloc

func ScrubberProportionalLayout_Alloc() ScrubberProportionalLayout

func (ScrubberProportionalLayout) Init

func (ScrubberProportionalLayout) InitWithNumberOfVisibleItems

func (s_ ScrubberProportionalLayout) InitWithNumberOfVisibleItems(numberOfVisibleItems int) ScrubberProportionalLayout

func (ScrubberProportionalLayout) NumberOfVisibleItems

func (s_ ScrubberProportionalLayout) NumberOfVisibleItems() int

The number of items visible in the scrubber at once. Full Topic

func (ScrubberProportionalLayout) SetNumberOfVisibleItems

func (s_ ScrubberProportionalLayout) SetNumberOfVisibleItems(value int)

The number of items visible in the scrubber at once. Full Topic

type ScrubberSelectionStyle

type ScrubberSelectionStyle struct {
	objc.Object
}

An abstract class that provides decorative accessory views for selected and highlighted items within a scrubber control. Full Topic

func NewScrubberSelectionStyle

func NewScrubberSelectionStyle() ScrubberSelectionStyle

func ScrubberSelectionStyleFrom

func ScrubberSelectionStyleFrom(ptr unsafe.Pointer) ScrubberSelectionStyle

func ScrubberSelectionStyle_Alloc

func ScrubberSelectionStyle_Alloc() ScrubberSelectionStyle

func ScrubberSelectionStyle_OutlineOverlayStyle

func ScrubberSelectionStyle_OutlineOverlayStyle() ScrubberSelectionStyle

A built-in selection style that draws the outline of the scrubber item. Full Topic

func ScrubberSelectionStyle_RoundedBackgroundStyle

func ScrubberSelectionStyle_RoundedBackgroundStyle() ScrubberSelectionStyle

A built-in selection style that draws a rounded rectangle as the background of the scrubber item. Full Topic

func (ScrubberSelectionStyle) Init

func (ScrubberSelectionStyle) MakeSelectionView

func (s_ ScrubberSelectionStyle) MakeSelectionView() ScrubberSelectionView

Provides an opportunity to create a customized scrubber selection style. Full Topic

type ScrubberSelectionView

type ScrubberSelectionView struct {
	ScrubberArrangedView
}

An abstract base class for specifying the appearance of a highlighted or selected item in a scrubber. Full Topic

func NewScrubberSelectionView

func NewScrubberSelectionView() ScrubberSelectionView

func NewScrubberSelectionViewWithFrame

func NewScrubberSelectionViewWithFrame(frameRect foundation.Rect) ScrubberSelectionView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func ScrubberSelectionViewFrom

func ScrubberSelectionViewFrom(ptr unsafe.Pointer) ScrubberSelectionView

func ScrubberSelectionView_Alloc

func ScrubberSelectionView_Alloc() ScrubberSelectionView

func (ScrubberSelectionView) Init

func (ScrubberSelectionView) InitWithFrame

func (s_ ScrubberSelectionView) InitWithFrame(frameRect foundation.Rect) ScrubberSelectionView

type ScrubberTextItemView

type ScrubberTextItemView struct {
	ScrubberItemView
}

A concrete view subclass for displaying text for an item in a scrubber. Full Topic

func NewScrubberTextItemView

func NewScrubberTextItemView() ScrubberTextItemView

func NewScrubberTextItemViewWithFrame

func NewScrubberTextItemViewWithFrame(frameRect foundation.Rect) ScrubberTextItemView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func ScrubberTextItemViewFrom

func ScrubberTextItemViewFrom(ptr unsafe.Pointer) ScrubberTextItemView

func ScrubberTextItemView_Alloc

func ScrubberTextItemView_Alloc() ScrubberTextItemView

func (ScrubberTextItemView) Init

func (ScrubberTextItemView) InitWithFrame

func (s_ ScrubberTextItemView) InitWithFrame(frameRect foundation.Rect) ScrubberTextItemView

func (ScrubberTextItemView) SetTitle

func (s_ ScrubberTextItemView) SetTitle(value string)

The text displayed for the scrubber item. Full Topic

func (ScrubberTextItemView) TextField

func (s_ ScrubberTextItemView) TextField() TextField

The text field that the scrubber item uses to display its text. Full Topic

func (ScrubberTextItemView) Title

func (s_ ScrubberTextItemView) Title() string

The text displayed for the scrubber item. Full Topic

type SearchField

type SearchField struct {
	TextField
}

A text field optimized for performing text-based searches. Full Topic

func NewSearchField

func NewSearchField() SearchField

func NewSearchFieldWithFrame

func NewSearchFieldWithFrame(frameRect foundation.Rect) SearchField

Initializes a control with the specified frame rectangle. Full Topic

func SearchFieldFrom

func SearchFieldFrom(ptr unsafe.Pointer) SearchField

func SearchField_Alloc

func SearchField_Alloc() SearchField

func SearchField_LabelWithAttributedString

func SearchField_LabelWithAttributedString(attributedStringValue foundation.IAttributedString) SearchField

Creates a text field for use as a static label that displays styled text, doesn’t wrap, and doesn’t have selectable text. Full Topic

func SearchField_LabelWithString

func SearchField_LabelWithString(stringValue string) SearchField

Initializes a text field for use as a static label that uses the system default font, doesn’t wrap, and doesn’t have selectable text. Full Topic

func SearchField_TextFieldWithString

func SearchField_TextFieldWithString(stringValue string) SearchField

Initializes a single-line editable text field for user input using the system default font and standard visual appearance. Full Topic

func SearchField_WrappingLabelWithString

func SearchField_WrappingLabelWithString(stringValue string) SearchField

Initializes a text field for use as a multiline static label with selectable text that uses the system default font. Full Topic

func (SearchField) CancelButtonBounds

func (s_ SearchField) CancelButtonBounds() foundation.Rect

The rectangle for the cancel button within the bounds of the search field. Full Topic

func (SearchField) Init

func (s_ SearchField) Init() SearchField

func (SearchField) InitWithFrame

func (s_ SearchField) InitWithFrame(frameRect foundation.Rect) SearchField

func (SearchField) MaximumRecents

func (s_ SearchField) MaximumRecents() int

The maximum number of search strings that can appear in the search menu. Full Topic

func (SearchField) RecentSearches

func (s_ SearchField) RecentSearches() []string

The list of recent search strings for the control. Full Topic

func (SearchField) RecentsAutosaveName

func (s_ SearchField) RecentsAutosaveName() SearchFieldRecentsAutosaveName

The name under which the search field automatically archives the list of recent search strings. Full Topic

func (SearchField) SearchButtonBounds

func (s_ SearchField) SearchButtonBounds() foundation.Rect

The rectangle for the search button within the bounds of the search field. Full Topic

func (SearchField) SearchMenuTemplate

func (s_ SearchField) SearchMenuTemplate() Menu

The menu object used to dynamically construct the search field’s pop-up icon menu. Full Topic

func (SearchField) SearchTextBounds

func (s_ SearchField) SearchTextBounds() foundation.Rect

The rectangle for the search text within the bounds of the search field. Full Topic

func (SearchField) SendsSearchStringImmediately

func (s_ SearchField) SendsSearchStringImmediately() bool

A Boolean value indicating whether the cell calls its action method immediately when an appropriate action occurs. Full Topic

func (SearchField) SendsWholeSearchString

func (s_ SearchField) SendsWholeSearchString() bool

A Boolean value indicating whether the cell calls its search action method when the user clicks the search button or presses Return, or after each keystroke. Full Topic

func (SearchField) SetMaximumRecents

func (s_ SearchField) SetMaximumRecents(value int)

The maximum number of search strings that can appear in the search menu. Full Topic

func (SearchField) SetRecentSearches

func (s_ SearchField) SetRecentSearches(value []string)

The list of recent search strings for the control. Full Topic

func (SearchField) SetRecentsAutosaveName

func (s_ SearchField) SetRecentsAutosaveName(value SearchFieldRecentsAutosaveName)

The name under which the search field automatically archives the list of recent search strings. Full Topic

func (SearchField) SetSearchMenuTemplate

func (s_ SearchField) SetSearchMenuTemplate(value IMenu)

The menu object used to dynamically construct the search field’s pop-up icon menu. Full Topic

func (SearchField) SetSendsSearchStringImmediately

func (s_ SearchField) SetSendsSearchStringImmediately(value bool)

A Boolean value indicating whether the cell calls its action method immediately when an appropriate action occurs. Full Topic

func (SearchField) SetSendsWholeSearchString

func (s_ SearchField) SetSendsWholeSearchString(value bool)

A Boolean value indicating whether the cell calls its search action method when the user clicks the search button or presses Return, or after each keystroke. Full Topic

type SearchFieldCell

type SearchFieldCell struct {
	TextFieldCell
}

The programmatic interface for text fields that are used for text-based searches. Full Topic

func NewSearchFieldCell

func NewSearchFieldCell() SearchFieldCell

func NewSearchFieldCellImageCell

func NewSearchFieldCellImageCell(image IImage) SearchFieldCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewSearchFieldCellTextCell

func NewSearchFieldCellTextCell(string_ string) SearchFieldCell
[Full Topic]

func SearchFieldCellFrom

func SearchFieldCellFrom(ptr unsafe.Pointer) SearchFieldCell

func SearchFieldCell_Alloc

func SearchFieldCell_Alloc() SearchFieldCell

func (SearchFieldCell) CancelButtonCell

func (s_ SearchFieldCell) CancelButtonCell() ButtonCell

The button cell used to display the cancel-button image. Full Topic

func (SearchFieldCell) CancelButtonRectForBounds

func (s_ SearchFieldCell) CancelButtonRectForBounds(rect foundation.Rect) foundation.Rect

Modifies the bounding rectangle for the cancel button cell. Full Topic

func (SearchFieldCell) Init

func (s_ SearchFieldCell) Init() SearchFieldCell

func (SearchFieldCell) InitImageCell

func (s_ SearchFieldCell) InitImageCell(image IImage) SearchFieldCell

func (SearchFieldCell) InitTextCell

func (s_ SearchFieldCell) InitTextCell(string_ string) SearchFieldCell

func (SearchFieldCell) MaximumRecents

func (s_ SearchFieldCell) MaximumRecents() int

The maximum number of search strings that can appear in the search menu. Full Topic

func (SearchFieldCell) RecentSearches

func (s_ SearchFieldCell) RecentSearches() []string

An array of the recent search strings to display in the pop-up icon menu of the search field. Full Topic

func (SearchFieldCell) RecentsAutosaveName

func (s_ SearchFieldCell) RecentsAutosaveName() SearchFieldRecentsAutosaveName

The autosave name under which the search field automatically saves the list of recent search strings. Full Topic

func (SearchFieldCell) ResetCancelButtonCell

func (s_ SearchFieldCell) ResetCancelButtonCell()

Resets the cancel button cell to its default attributes. Full Topic

func (SearchFieldCell) ResetSearchButtonCell

func (s_ SearchFieldCell) ResetSearchButtonCell()

Resets the search button cell to its default attributes. Full Topic

func (SearchFieldCell) SearchButtonCell

func (s_ SearchFieldCell) SearchButtonCell() ButtonCell

The button cell used to display the search-button image. Full Topic

func (SearchFieldCell) SearchButtonRectForBounds

func (s_ SearchFieldCell) SearchButtonRectForBounds(rect foundation.Rect) foundation.Rect

Modifies the bounding rectangle for the search button cell. Full Topic

func (SearchFieldCell) SearchMenuTemplate

func (s_ SearchFieldCell) SearchMenuTemplate() Menu

The menu object used to dynamically construct the search field’s pop-up icon menu. Full Topic

func (SearchFieldCell) SearchTextRectForBounds

func (s_ SearchFieldCell) SearchTextRectForBounds(rect foundation.Rect) foundation.Rect

Modifies the bounding rectangle for the search-text field cell. Full Topic

func (SearchFieldCell) SendsSearchStringImmediately

func (s_ SearchFieldCell) SendsSearchStringImmediately() bool

A Boolean value indicating whether the cell calls its action method immediately when an appropriate action occurs. Full Topic

func (SearchFieldCell) SendsWholeSearchString

func (s_ SearchFieldCell) SendsWholeSearchString() bool

A Boolean value indicating whether the cell calls its search action method when the user clicks the search button (or presses Return) or after each keystroke. Full Topic

func (SearchFieldCell) SetCancelButtonCell

func (s_ SearchFieldCell) SetCancelButtonCell(value IButtonCell)

The button cell used to display the cancel-button image. Full Topic

func (SearchFieldCell) SetMaximumRecents

func (s_ SearchFieldCell) SetMaximumRecents(value int)

The maximum number of search strings that can appear in the search menu. Full Topic

func (SearchFieldCell) SetRecentSearches

func (s_ SearchFieldCell) SetRecentSearches(value []string)

An array of the recent search strings to display in the pop-up icon menu of the search field. Full Topic

func (SearchFieldCell) SetRecentsAutosaveName

func (s_ SearchFieldCell) SetRecentsAutosaveName(value SearchFieldRecentsAutosaveName)

The autosave name under which the search field automatically saves the list of recent search strings. Full Topic

func (SearchFieldCell) SetSearchButtonCell

func (s_ SearchFieldCell) SetSearchButtonCell(value IButtonCell)

The button cell used to display the search-button image. Full Topic

func (SearchFieldCell) SetSearchMenuTemplate

func (s_ SearchFieldCell) SetSearchMenuTemplate(value IMenu)

The menu object used to dynamically construct the search field’s pop-up icon menu. Full Topic

func (SearchFieldCell) SetSendsSearchStringImmediately

func (s_ SearchFieldCell) SetSendsSearchStringImmediately(value bool)

A Boolean value indicating whether the cell calls its action method immediately when an appropriate action occurs. Full Topic

func (SearchFieldCell) SetSendsWholeSearchString

func (s_ SearchFieldCell) SetSendsWholeSearchString(value bool)

A Boolean value indicating whether the cell calls its search action method when the user clicks the search button (or presses Return) or after each keystroke. Full Topic

type SearchFieldDelegate

type SearchFieldDelegate struct {
	TextFieldDelegate
	// contains filtered or unexported fields
}

A delegate implementation builder for the PSearchFieldDelegate protocol.

func (*SearchFieldDelegate) HasSearchFieldDidEndSearching

func (di *SearchFieldDelegate) HasSearchFieldDidEndSearching() bool

func (*SearchFieldDelegate) HasSearchFieldDidStartSearching

func (di *SearchFieldDelegate) HasSearchFieldDidStartSearching() bool

func (*SearchFieldDelegate) SearchFieldDidEndSearching

func (di *SearchFieldDelegate) SearchFieldDidEndSearching(sender SearchField)

The method that is called when the search field has ended its search for content. Full Topic

func (*SearchFieldDelegate) SearchFieldDidStartSearching

func (di *SearchFieldDelegate) SearchFieldDidStartSearching(sender SearchField)

The method that is called when the search field begins searching for content. Full Topic

func (*SearchFieldDelegate) SetSearchFieldDidEndSearching

func (di *SearchFieldDelegate) SetSearchFieldDidEndSearching(f func(sender SearchField))

The method that is called when the search field has ended its search for content. Full Topic

func (*SearchFieldDelegate) SetSearchFieldDidStartSearching

func (di *SearchFieldDelegate) SetSearchFieldDidStartSearching(f func(sender SearchField))

The method that is called when the search field begins searching for content. Full Topic

type SearchFieldDelegateWrapper

type SearchFieldDelegateWrapper struct {
	TextFieldDelegateWrapper
}

A concrete type wrapper for the PSearchFieldDelegate protocol.

func (SearchFieldDelegateWrapper) HasSearchFieldDidEndSearching

func (s_ SearchFieldDelegateWrapper) HasSearchFieldDidEndSearching() bool

func (SearchFieldDelegateWrapper) HasSearchFieldDidStartSearching

func (s_ SearchFieldDelegateWrapper) HasSearchFieldDidStartSearching() bool

func (SearchFieldDelegateWrapper) SearchFieldDidEndSearching

func (s_ SearchFieldDelegateWrapper) SearchFieldDidEndSearching(sender ISearchField)

The method that is called when the search field has ended its search for content. Full Topic

func (SearchFieldDelegateWrapper) SearchFieldDidStartSearching

func (s_ SearchFieldDelegateWrapper) SearchFieldDidStartSearching(sender ISearchField)

The method that is called when the search field begins searching for content. Full Topic

type SearchFieldRecentsAutosaveName

type SearchFieldRecentsAutosaveName string

The string that stores the name under which a search field automatically archives a list of recent search strings. Full Topic

type SearchToolbarItem

type SearchToolbarItem struct {
	ToolbarItem
}

A toolbar item that contains a search field optimized for performing text-based searches. Full Topic

func NewSearchToolbarItem

func NewSearchToolbarItem() SearchToolbarItem

func NewSearchToolbarItemWithItemIdentifier

func NewSearchToolbarItemWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) SearchToolbarItem

Creates a toolbar item with the specified identifier. Full Topic

func SearchToolbarItemFrom

func SearchToolbarItemFrom(ptr unsafe.Pointer) SearchToolbarItem

func SearchToolbarItem_Alloc

func SearchToolbarItem_Alloc() SearchToolbarItem

func (SearchToolbarItem) BeginSearchInteraction

func (s_ SearchToolbarItem) BeginSearchInteraction()

Starts a search interaction and moves the keyboard focus to the search field. Full Topic

func (SearchToolbarItem) EndSearchInteraction

func (s_ SearchToolbarItem) EndSearchInteraction()

Ends a search interaction by giving up the first responder and adjusting the size of the search field to the available width for the toolbar item if necessary. Full Topic

func (SearchToolbarItem) Init

func (SearchToolbarItem) InitWithItemIdentifier

func (s_ SearchToolbarItem) InitWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) SearchToolbarItem

func (SearchToolbarItem) PreferredWidthForSearchField

func (s_ SearchToolbarItem) PreferredWidthForSearchField() float64

The preferred width for the toolbar item when it has keyboard focus. Full Topic

func (SearchToolbarItem) ResignsFirstResponderWithCancel

func (s_ SearchToolbarItem) ResignsFirstResponderWithCancel() bool

A Boolean value that enables the cancel button in the search field to resign the first responder in addition to clearing the contents. Full Topic

func (SearchToolbarItem) SearchField

func (s_ SearchToolbarItem) SearchField() SearchField

The search field inside the toolbar item. Full Topic

func (SearchToolbarItem) SetPreferredWidthForSearchField

func (s_ SearchToolbarItem) SetPreferredWidthForSearchField(value float64)

The preferred width for the toolbar item when it has keyboard focus. Full Topic

func (SearchToolbarItem) SetResignsFirstResponderWithCancel

func (s_ SearchToolbarItem) SetResignsFirstResponderWithCancel(value bool)

A Boolean value that enables the cancel button in the search field to resign the first responder in addition to clearing the contents. Full Topic

func (SearchToolbarItem) SetSearchField

func (s_ SearchToolbarItem) SetSearchField(value ISearchField)

The search field inside the toolbar item. Full Topic

type SecureTextField

type SecureTextField struct {
	TextField
}

A text field that hides the typed text. Full Topic

func NewSecureTextField

func NewSecureTextField() SecureTextField

func NewSecureTextFieldWithFrame

func NewSecureTextFieldWithFrame(frameRect foundation.Rect) SecureTextField

Initializes a control with the specified frame rectangle. Full Topic

func SecureTextFieldFrom

func SecureTextFieldFrom(ptr unsafe.Pointer) SecureTextField

func SecureTextField_Alloc

func SecureTextField_Alloc() SecureTextField

func SecureTextField_LabelWithAttributedString

func SecureTextField_LabelWithAttributedString(attributedStringValue foundation.IAttributedString) SecureTextField

Creates a text field for use as a static label that displays styled text, doesn’t wrap, and doesn’t have selectable text. Full Topic

func SecureTextField_LabelWithString

func SecureTextField_LabelWithString(stringValue string) SecureTextField

Initializes a text field for use as a static label that uses the system default font, doesn’t wrap, and doesn’t have selectable text. Full Topic

func SecureTextField_TextFieldWithString

func SecureTextField_TextFieldWithString(stringValue string) SecureTextField

Initializes a single-line editable text field for user input using the system default font and standard visual appearance. Full Topic

func SecureTextField_WrappingLabelWithString

func SecureTextField_WrappingLabelWithString(stringValue string) SecureTextField

Initializes a text field for use as a multiline static label with selectable text that uses the system default font. Full Topic

func (SecureTextField) Init

func (s_ SecureTextField) Init() SecureTextField

func (SecureTextField) InitWithFrame

func (s_ SecureTextField) InitWithFrame(frameRect foundation.Rect) SecureTextField

type SecureTextFieldCell

type SecureTextFieldCell struct {
	TextFieldCell
}

A text field whose value is hidden from the user. Full Topic

func NewSecureTextFieldCell

func NewSecureTextFieldCell() SecureTextFieldCell

func NewSecureTextFieldCellImageCell

func NewSecureTextFieldCellImageCell(image IImage) SecureTextFieldCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewSecureTextFieldCellTextCell

func NewSecureTextFieldCellTextCell(string_ string) SecureTextFieldCell

Initializes a text field cell that displays the specified string. Full Topic

func SecureTextFieldCellFrom

func SecureTextFieldCellFrom(ptr unsafe.Pointer) SecureTextFieldCell

func SecureTextFieldCell_Alloc

func SecureTextFieldCell_Alloc() SecureTextFieldCell

func (SecureTextFieldCell) EchosBullets

func (s_ SecureTextFieldCell) EchosBullets() bool

A Boolean that indicates whether the receiver echoes a bullet character rather than each character typed. Full Topic

func (SecureTextFieldCell) Init

func (SecureTextFieldCell) InitImageCell

func (s_ SecureTextFieldCell) InitImageCell(image IImage) SecureTextFieldCell

func (SecureTextFieldCell) InitTextCell

func (s_ SecureTextFieldCell) InitTextCell(string_ string) SecureTextFieldCell

func (SecureTextFieldCell) SetEchosBullets

func (s_ SecureTextFieldCell) SetEchosBullets(value bool)

A Boolean that indicates whether the receiver echoes a bullet character rather than each character typed. Full Topic

type SegmentDistribution

type SegmentDistribution int
[Full Topic]
const (
	SegmentDistributionFill               SegmentDistribution = 1
	SegmentDistributionFillEqually        SegmentDistribution = 2
	SegmentDistributionFillProportionally SegmentDistribution = 3
	SegmentDistributionFit                SegmentDistribution = 0
)

type SegmentStyle

type SegmentStyle int

The following constants specify the visual style used to display the segmented control. They are used by segmentStyle. Full Topic

const (
	SegmentStyleAutomatic       SegmentStyle = 0
	SegmentStyleCapsule         SegmentStyle = 5
	SegmentStyleRoundRect       SegmentStyle = 3
	SegmentStyleRounded         SegmentStyle = 1
	SegmentStyleSeparated       SegmentStyle = 8
	SegmentStyleSmallSquare     SegmentStyle = 6
	SegmentStyleTexturedRounded SegmentStyle = 2
	SegmentStyleTexturedSquare  SegmentStyle = 4
)

type SegmentSwitchTracking

type SegmentSwitchTracking uint

The following constants specify the type of tracking behavior a segmented control exhibits. They are used by trackingMode. Full Topic

const (
	SegmentSwitchTrackingMomentary            SegmentSwitchTracking = 2
	SegmentSwitchTrackingMomentaryAccelerator SegmentSwitchTracking = 3
	SegmentSwitchTrackingSelectAny            SegmentSwitchTracking = 1
	SegmentSwitchTrackingSelectOne            SegmentSwitchTracking = 0
)

type SegmentedCell

type SegmentedCell struct {
	ActionCell
}

An NSSegmentedCell object implements the appearance and behavior of a horizontal button divided into multiple segments. This class is used in conjunction with the NSSegmentedControl class to implement a segmented control. Full Topic

func NewSegmentedCell

func NewSegmentedCell() SegmentedCell

func NewSegmentedCellImageCell

func NewSegmentedCellImageCell(image IImage) SegmentedCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewSegmentedCellTextCell

func NewSegmentedCellTextCell(string_ string) SegmentedCell

Returns an NSCell object initialized with the specified string and set to have the cell’s default menu. Full Topic

func SegmentedCellFrom

func SegmentedCellFrom(ptr unsafe.Pointer) SegmentedCell

func SegmentedCell_Alloc

func SegmentedCell_Alloc() SegmentedCell

func (SegmentedCell) DrawSegmentInFrameWithView

func (s_ SegmentedCell) DrawSegmentInFrameWithView(segment int, frame foundation.Rect, controlView IView)

Draws the image and label of the segment in the specified view. Full Topic

func (SegmentedCell) ImageForSegment

func (s_ SegmentedCell) ImageForSegment(segment int) Image

Returns the image associated with the specified segment. Full Topic

func (SegmentedCell) ImageScalingForSegment

func (s_ SegmentedCell) ImageScalingForSegment(segment int) ImageScaling

Returns the image scaling mode associated with the specified segment. Full Topic

func (SegmentedCell) Init

func (s_ SegmentedCell) Init() SegmentedCell

func (SegmentedCell) InitImageCell

func (s_ SegmentedCell) InitImageCell(image IImage) SegmentedCell

func (SegmentedCell) InitTextCell

func (s_ SegmentedCell) InitTextCell(string_ string) SegmentedCell

func (SegmentedCell) InteriorBackgroundStyleForSegment

func (s_ SegmentedCell) InteriorBackgroundStyleForSegment(segment int) BackgroundStyle

Returns the interior background style for the specified segment. Full Topic

func (SegmentedCell) IsEnabledForSegment

func (s_ SegmentedCell) IsEnabledForSegment(segment int) bool

Returns a Boolean value indicating whether the specified segment is enabled. Full Topic

func (SegmentedCell) IsSelectedForSegment

func (s_ SegmentedCell) IsSelectedForSegment(segment int) bool

Returns a Boolean value indicating whether the specified segment is selected, Full Topic

func (SegmentedCell) LabelForSegment

func (s_ SegmentedCell) LabelForSegment(segment int) string

Returns the label of the specified segment. Full Topic

func (SegmentedCell) MakeNextSegmentKey

func (s_ SegmentedCell) MakeNextSegmentKey()

Selects the next segment. Full Topic

func (SegmentedCell) MakePreviousSegmentKey

func (s_ SegmentedCell) MakePreviousSegmentKey()

Selects the previous segment. Full Topic

func (SegmentedCell) MenuForSegment

func (s_ SegmentedCell) MenuForSegment(segment int) Menu

Returns the menu for the specified segment. Full Topic

func (SegmentedCell) SegmentCount

func (s_ SegmentedCell) SegmentCount() int

The number of segments in the segmented control. Full Topic

func (SegmentedCell) SegmentStyle

func (s_ SegmentedCell) SegmentStyle() SegmentStyle

The visual style used to display the segmented control. Full Topic

func (SegmentedCell) SelectSegmentWithTag

func (s_ SegmentedCell) SelectSegmentWithTag(tag int) bool

Selects the segment with the specified tag. Full Topic

func (SegmentedCell) SelectedSegment

func (s_ SegmentedCell) SelectedSegment() int

The index of the selected segment of the control, or -1 if no segment is selected. Full Topic

func (SegmentedCell) SetEnabledForSegment

func (s_ SegmentedCell) SetEnabledForSegment(enabled bool, segment int)

Sets the enabled state of the specified segment Full Topic

func (SegmentedCell) SetImageForSegment

func (s_ SegmentedCell) SetImageForSegment(image IImage, segment int)

Sets the image for the specified segment. Full Topic

func (SegmentedCell) SetImageScalingForSegment

func (s_ SegmentedCell) SetImageScalingForSegment(scaling ImageScaling, segment int)

Sets the image scaling mode for the specified segment. Full Topic

func (SegmentedCell) SetLabelForSegment

func (s_ SegmentedCell) SetLabelForSegment(label string, segment int)

Sets the label for the specified segment. Full Topic

func (SegmentedCell) SetMenuForSegment

func (s_ SegmentedCell) SetMenuForSegment(menu IMenu, segment int)

Sets the menu for the specified segment. Full Topic

func (SegmentedCell) SetSegmentCount

func (s_ SegmentedCell) SetSegmentCount(value int)

The number of segments in the segmented control. Full Topic

func (SegmentedCell) SetSegmentStyle

func (s_ SegmentedCell) SetSegmentStyle(value SegmentStyle)

The visual style used to display the segmented control. Full Topic

func (SegmentedCell) SetSelectedForSegment

func (s_ SegmentedCell) SetSelectedForSegment(selected bool, segment int)

Sets the selection state of the specified segment. Full Topic

func (SegmentedCell) SetSelectedSegment

func (s_ SegmentedCell) SetSelectedSegment(value int)

The index of the selected segment of the control, or -1 if no segment is selected. Full Topic

func (SegmentedCell) SetTagForSegment

func (s_ SegmentedCell) SetTagForSegment(tag int, segment int)

Sets the tag for the specified segment. Full Topic

func (SegmentedCell) SetToolTipForSegment

func (s_ SegmentedCell) SetToolTipForSegment(toolTip string, segment int)

Sets the tooltip for the specified segment. Full Topic

func (SegmentedCell) SetTrackingMode

func (s_ SegmentedCell) SetTrackingMode(value SegmentSwitchTracking)

The tracking mode used for the segments of the control. Full Topic

func (SegmentedCell) SetWidthForSegment

func (s_ SegmentedCell) SetWidthForSegment(width float64, segment int)

Sets the width of the specified segment. Full Topic

func (SegmentedCell) TagForSegment

func (s_ SegmentedCell) TagForSegment(segment int) int

Returns the tag of the specified segment. Full Topic

func (SegmentedCell) ToolTipForSegment

func (s_ SegmentedCell) ToolTipForSegment(segment int) string

Returns the tooltip of the specified segment. Full Topic

func (SegmentedCell) TrackingMode

func (s_ SegmentedCell) TrackingMode() SegmentSwitchTracking

The tracking mode used for the segments of the control. Full Topic

func (SegmentedCell) WidthForSegment

func (s_ SegmentedCell) WidthForSegment(segment int) float64

Returns the width of the specified segment. Full Topic

type SegmentedControl

type SegmentedControl struct {
	Control
}

Display one or more buttons in a single horizontal group. Full Topic

func NewSegmentedControl

func NewSegmentedControl() SegmentedControl

func NewSegmentedControlWithFrame

func NewSegmentedControlWithFrame(frameRect foundation.Rect) SegmentedControl

Initializes a control with the specified frame rectangle. Full Topic

func SegmentedControlFrom

func SegmentedControlFrom(ptr unsafe.Pointer) SegmentedControl

func SegmentedControl_Alloc

func SegmentedControl_Alloc() SegmentedControl

func SegmentedControl_SegmentedControlWithImagesTrackingModeTargetAction

func SegmentedControl_SegmentedControlWithImagesTrackingModeTargetAction(images []IImage, trackingMode SegmentSwitchTracking, target objc.IObject, action objc.Selector) SegmentedControl
[Full Topic]

func SegmentedControl_SegmentedControlWithLabelsTrackingModeTargetAction

func SegmentedControl_SegmentedControlWithLabelsTrackingModeTargetAction(labels []string, trackingMode SegmentSwitchTracking, target objc.IObject, action objc.Selector) SegmentedControl
[Full Topic]

func (SegmentedControl) ActiveCompressionOptions

func (s_ SegmentedControl) ActiveCompressionOptions() UserInterfaceCompressionOptions
[Full Topic]

func (SegmentedControl) AlignmentForSegment

func (s_ SegmentedControl) AlignmentForSegment(segment int) TextAlignment
[Full Topic]

func (SegmentedControl) CompressWithPrioritizedCompressionOptions

func (s_ SegmentedControl) CompressWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions)
[Full Topic]

func (SegmentedControl) DoubleValueForSelectedSegment

func (s_ SegmentedControl) DoubleValueForSelectedSegment() float64

When the tracking mode for the control is set to use a momentary accelerator, returns a value for the selected segment. Full Topic

func (SegmentedControl) ImageForSegment

func (s_ SegmentedControl) ImageForSegment(segment int) Image

Returns the image associated with the specified segment. Full Topic

func (SegmentedControl) ImageScalingForSegment

func (s_ SegmentedControl) ImageScalingForSegment(segment int) ImageScaling

Returns the scaling mode used to display the specified segment’s image. Full Topic

func (SegmentedControl) IndexOfSelectedItem

func (s_ SegmentedControl) IndexOfSelectedItem() int
[Full Topic]

func (SegmentedControl) Init

func (SegmentedControl) InitWithFrame

func (s_ SegmentedControl) InitWithFrame(frameRect foundation.Rect) SegmentedControl

func (SegmentedControl) IsEnabledForSegment

func (s_ SegmentedControl) IsEnabledForSegment(segment int) bool

Returns a Boolean value indicating whether the specified segment is enabled. Full Topic

func (SegmentedControl) IsSelectedForSegment

func (s_ SegmentedControl) IsSelectedForSegment(segment int) bool

Returns a Boolean value indicating whether the specified segment is selected. Full Topic

func (SegmentedControl) IsSpringLoaded

func (s_ SegmentedControl) IsSpringLoaded() bool

A Boolean value that indicates whether spring loading is enabled for the control. Full Topic

func (SegmentedControl) LabelForSegment

func (s_ SegmentedControl) LabelForSegment(segment int) string

Returns the label of the specified segment. Full Topic

func (SegmentedControl) MenuForSegment

func (s_ SegmentedControl) MenuForSegment(segment int) Menu

Returns the menu for the specified segment. Full Topic

func (SegmentedControl) MinimumSizeWithPrioritizedCompressionOptions

func (s_ SegmentedControl) MinimumSizeWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions) foundation.Size
[Full Topic]

func (SegmentedControl) SegmentCount

func (s_ SegmentedControl) SegmentCount() int

The number of segments in the control. Full Topic

func (SegmentedControl) SegmentDistribution

func (s_ SegmentedControl) SegmentDistribution() SegmentDistribution
[Full Topic]

func (SegmentedControl) SegmentStyle

func (s_ SegmentedControl) SegmentStyle() SegmentStyle

The visual style used to display the control. Full Topic

func (SegmentedControl) SelectSegmentWithTag

func (s_ SegmentedControl) SelectSegmentWithTag(tag int) bool

Selects the segment with the specified tag. Full Topic

func (SegmentedControl) SelectedSegment

func (s_ SegmentedControl) SelectedSegment() int

The index of the selected segment of the control, or -1 if no segment is selected. Full Topic

func (SegmentedControl) SelectedSegmentBezelColor

func (s_ SegmentedControl) SelectedSegmentBezelColor() Color

The color of the selected segment's bezel, in appearances that support it. Full Topic

func (SegmentedControl) SetAlignmentForSegment

func (s_ SegmentedControl) SetAlignmentForSegment(alignment TextAlignment, segment int)
[Full Topic]

func (SegmentedControl) SetEnabledForSegment

func (s_ SegmentedControl) SetEnabledForSegment(enabled bool, segment int)

Sets the enabled state of the specified segment Full Topic

func (SegmentedControl) SetImageForSegment

func (s_ SegmentedControl) SetImageForSegment(image IImage, segment int)

Sets the image for the specified segment. Full Topic

func (SegmentedControl) SetImageScalingForSegment

func (s_ SegmentedControl) SetImageScalingForSegment(scaling ImageScaling, segment int)

Sets the scaling mode used to display the specified segment’s image. Full Topic

func (SegmentedControl) SetLabelForSegment

func (s_ SegmentedControl) SetLabelForSegment(label string, segment int)

Sets the label for the specified segment. Full Topic

func (SegmentedControl) SetMenuForSegment

func (s_ SegmentedControl) SetMenuForSegment(menu IMenu, segment int)

Sets the menu for the specified segment. Full Topic

func (SegmentedControl) SetSegmentCount

func (s_ SegmentedControl) SetSegmentCount(value int)

The number of segments in the control. Full Topic

func (SegmentedControl) SetSegmentDistribution

func (s_ SegmentedControl) SetSegmentDistribution(value SegmentDistribution)
[Full Topic]

func (SegmentedControl) SetSegmentStyle

func (s_ SegmentedControl) SetSegmentStyle(value SegmentStyle)

The visual style used to display the control. Full Topic

func (SegmentedControl) SetSelectedForSegment

func (s_ SegmentedControl) SetSelectedForSegment(selected bool, segment int)

Sets the selection state of the specified segment. Full Topic

func (SegmentedControl) SetSelectedSegment

func (s_ SegmentedControl) SetSelectedSegment(value int)

The index of the selected segment of the control, or -1 if no segment is selected. Full Topic

func (SegmentedControl) SetSelectedSegmentBezelColor

func (s_ SegmentedControl) SetSelectedSegmentBezelColor(value IColor)

The color of the selected segment's bezel, in appearances that support it. Full Topic

func (SegmentedControl) SetShowsMenuIndicatorForSegment

func (s_ SegmentedControl) SetShowsMenuIndicatorForSegment(showsMenuIndicator bool, segment int)
[Full Topic]

func (SegmentedControl) SetSpringLoaded

func (s_ SegmentedControl) SetSpringLoaded(value bool)

A Boolean value that indicates whether spring loading is enabled for the control. Full Topic

func (SegmentedControl) SetTagForSegment

func (s_ SegmentedControl) SetTagForSegment(tag int, segment int)
[Full Topic]

func (SegmentedControl) SetToolTipForSegment

func (s_ SegmentedControl) SetToolTipForSegment(toolTip string, segment int)
[Full Topic]

func (SegmentedControl) SetTrackingMode

func (s_ SegmentedControl) SetTrackingMode(value SegmentSwitchTracking)

The type of tracking behavior the control exhibits. Full Topic

func (SegmentedControl) SetWidthForSegment

func (s_ SegmentedControl) SetWidthForSegment(width float64, segment int)

Sets the width of the specified segment. Full Topic

func (SegmentedControl) ShowsMenuIndicatorForSegment

func (s_ SegmentedControl) ShowsMenuIndicatorForSegment(segment int) bool
[Full Topic]

func (SegmentedControl) TagForSegment

func (s_ SegmentedControl) TagForSegment(segment int) int
[Full Topic]

func (SegmentedControl) ToolTipForSegment

func (s_ SegmentedControl) ToolTipForSegment(segment int) string
[Full Topic]

func (SegmentedControl) TrackingMode

func (s_ SegmentedControl) TrackingMode() SegmentSwitchTracking

The type of tracking behavior the control exhibits. Full Topic

func (SegmentedControl) WidthForSegment

func (s_ SegmentedControl) WidthForSegment(segment int) float64

Returns the width of the specified segment. Full Topic

type SeguePerformingWrapper

type SeguePerformingWrapper struct {
	objc.Object
}

A concrete type wrapper for the PSeguePerforming protocol.

func (SeguePerformingWrapper) HasPerformSegueWithIdentifierSender

func (s_ SeguePerformingWrapper) HasPerformSegueWithIdentifierSender() bool

func (SeguePerformingWrapper) HasPrepareForSegueSender

func (s_ SeguePerformingWrapper) HasPrepareForSegueSender() bool

func (SeguePerformingWrapper) HasShouldPerformSegueWithIdentifierSender

func (s_ SeguePerformingWrapper) HasShouldPerformSegueWithIdentifierSender() bool

func (SeguePerformingWrapper) PerformSegueWithIdentifierSender

func (s_ SeguePerformingWrapper) PerformSegueWithIdentifierSender(identifier StoryboardSegueIdentifier, sender objc.IObject)

Performs the specified segue. Full Topic

func (SeguePerformingWrapper) PrepareForSegueSender

func (s_ SeguePerformingWrapper) PrepareForSegueSender(segue IStoryboardSegue, sender objc.IObject)

Called when a segue is about to be performed. Full Topic

func (SeguePerformingWrapper) ShouldPerformSegueWithIdentifierSender

func (s_ SeguePerformingWrapper) ShouldPerformSegueWithIdentifierSender(identifier StoryboardSegueIdentifier, sender objc.IObject) bool

Called immediately prior to the performance of a storyboard segue. Full Topic

type SelectionAffinity

type SelectionAffinity uint

These constants specify the preferred direction of selection. They’re used by selectionAffinity and setSelectedRange:affinity:stillSelecting:. Full Topic

const (
	SelectionAffinityDownstream SelectionAffinity = 1
	SelectionAffinityUpstream   SelectionAffinity = 0
)

type SelectionDirection

type SelectionDirection uint

Constants that specify the direction a window is currently using to change the key view. Full Topic

const (
	DirectSelection   SelectionDirection = 0
	SelectingNext     SelectionDirection = 1
	SelectingPrevious SelectionDirection = 2
)

type SelectionGranularity

type SelectionGranularity uint

These constants specify how much the text view extends the selection when the user drags the mouse. They’re used by selectionGranularity, and selectionRangeForProposedRange:granularity:: Full Topic

const (
	SelectByCharacter SelectionGranularity = 0
	SelectByParagraph SelectionGranularity = 2
	SelectByWord      SelectionGranularity = 1
)

type ServiceProviderName

type ServiceProviderName string
[Full Topic]

type ServicesMenuRequestorWrapper

type ServicesMenuRequestorWrapper struct {
	objc.Object
}

A concrete type wrapper for the PServicesMenuRequestor protocol.

func (ServicesMenuRequestorWrapper) HasReadSelectionFromPasteboard

func (s_ ServicesMenuRequestorWrapper) HasReadSelectionFromPasteboard() bool

func (ServicesMenuRequestorWrapper) HasWriteSelectionToPasteboardTypes

func (s_ ServicesMenuRequestorWrapper) HasWriteSelectionToPasteboardTypes() bool

func (ServicesMenuRequestorWrapper) ReadSelectionFromPasteboard

func (s_ ServicesMenuRequestorWrapper) ReadSelectionFromPasteboard(pboard IPasteboard) bool

Reads data from the pasteboard and uses it to replace the current selection. Full Topic

func (ServicesMenuRequestorWrapper) WriteSelectionToPasteboardTypes

func (s_ ServicesMenuRequestorWrapper) WriteSelectionToPasteboardTypes(pboard IPasteboard, types []PasteboardType) bool

Writes the current selection to the pasteboard. Full Topic

type Shadow

type Shadow struct {
	objc.Object
}

An object you use to specify attributes to create and style a drop shadow during drawing operations. Full Topic

func NewShadow

func NewShadow() Shadow

func ShadowFrom

func ShadowFrom(ptr unsafe.Pointer) Shadow

func Shadow_Alloc

func Shadow_Alloc() Shadow

func (Shadow) Init

func (s_ Shadow) Init() Shadow

func (Shadow) Set

func (s_ Shadow) Set()

Sets the shadow of subsequent drawing operations to the current shadow. Full Topic

func (Shadow) SetShadowBlurRadius

func (s_ Shadow) SetShadowBlurRadius(value float64)

The blur radius of the shadow. Full Topic

func (Shadow) SetShadowColor

func (s_ Shadow) SetShadowColor(value objc.IObject)

The color of the shadow. Full Topic

func (Shadow) SetShadowOffset

func (s_ Shadow) SetShadowOffset(value coregraphics.Size)

The shadow’s relative position, which you specify with horizontal and vertical offset values. Full Topic

func (Shadow) ShadowBlurRadius

func (s_ Shadow) ShadowBlurRadius() float64

The blur radius of the shadow. Full Topic

func (Shadow) ShadowColor

func (s_ Shadow) ShadowColor() objc.Object

The color of the shadow. Full Topic

func (Shadow) ShadowOffset

func (s_ Shadow) ShadowOffset() coregraphics.Size

The shadow’s relative position, which you specify with horizontal and vertical offset values. Full Topic

type SharingContentScope

type SharingContentScope int

The sharing scope constants specify the nature of the things you are sharing. Full Topic

const (
	SharingContentScopeFull    SharingContentScope = 2
	SharingContentScopeItem    SharingContentScope = 0
	SharingContentScopePartial SharingContentScope = 1
)

type SharingService

type SharingService struct {
	objc.Object
}

An object that facilitates the sharing of content with social media services, or with apps like Mail or Safari. Full Topic

func NewSharingService

func NewSharingService() SharingService

func NewSharingServiceWithTitleImageAlternateImageHandler

func NewSharingServiceWithTitleImageAlternateImageHandler(title string, image IImage, alternateImage IImage, block func()) SharingService

Creates a custom sharing service object. Full Topic

func SharingServiceFrom

func SharingServiceFrom(ptr unsafe.Pointer) SharingService

func SharingService_Alloc

func SharingService_Alloc() SharingService

func SharingService_SharingServiceNamed

func SharingService_SharingServiceNamed(serviceName SharingServiceName) SharingService

Returns a sharing service instance representing the specified service name. Full Topic

func (SharingService) AccountName

func (s_ SharingService) AccountName() string

The account name used for posting on Twitter or Sina Weibo. Full Topic

func (SharingService) AlternateImage

func (s_ SharingService) AlternateImage() Image

The alternate image representing the sharing service. Full Topic

func (SharingService) AttachmentFileURLs

func (s_ SharingService) AttachmentFileURLs() []foundation.URL

An array of NSURL objects representing the files that were shared. Full Topic

func (SharingService) CanPerformWithItems

func (s_ SharingService) CanPerformWithItems(items []objc.IObject) bool

Returns whether the service can share all the specified items. Full Topic

func (SharingService) Delegate

Specifies the delegate of the sharing service. Full Topic

func (SharingService) Image

func (s_ SharingService) Image() Image

The primary image representing the sharing service. Full Topic

func (SharingService) Init

func (s_ SharingService) Init() SharingService

func (SharingService) InitWithTitleImageAlternateImageHandler

func (s_ SharingService) InitWithTitleImageAlternateImageHandler(title string, image IImage, alternateImage IImage, block func()) SharingService

func (SharingService) MenuItemTitle

func (s_ SharingService) MenuItemTitle() string

The title of the service in the Share menu. Full Topic

func (SharingService) MessageBody

func (s_ SharingService) MessageBody() string

The message body as a string. Full Topic

func (SharingService) PerformWithItems

func (s_ SharingService) PerformWithItems(items []objc.IObject)

Manually performs the service on the provided items. Full Topic

func (s_ SharingService) PermanentLink() foundation.URL

A permanent URL (permalink) that your app can use to access the post. Full Topic

func (SharingService) Recipients

func (s_ SharingService) Recipients() []string

An array containing the user handles of the desired recipients. Full Topic

func (SharingService) SetDelegate

func (s_ SharingService) SetDelegate(value PSharingServiceDelegate)

Specifies the delegate of the sharing service. Full Topic

func (SharingService) SetDelegateObject

func (s_ SharingService) SetDelegateObject(valueObject objc.IObject)

Specifies the delegate of the sharing service. Full Topic

func (SharingService) SetMenuItemTitle

func (s_ SharingService) SetMenuItemTitle(value string)

The title of the service in the Share menu. Full Topic

func (SharingService) SetRecipients

func (s_ SharingService) SetRecipients(value []string)

An array containing the user handles of the desired recipients. Full Topic

func (SharingService) SetSubject

func (s_ SharingService) SetSubject(value string)

The subject of the post. Full Topic

func (SharingService) Subject

func (s_ SharingService) Subject() string

The subject of the post. Full Topic

func (SharingService) Title

func (s_ SharingService) Title() string

The title of the sharing service. Full Topic

type SharingServiceDelegate

type SharingServiceDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PSharingServiceDelegate protocol.

func (*SharingServiceDelegate) AnchoringViewForSharingServiceShowRelativeToRectPreferredEdge

func (di *SharingServiceDelegate) AnchoringViewForSharingServiceShowRelativeToRectPreferredEdge(sharingService SharingService, positioningRect *foundation.Rect, preferredEdge *foundation.RectEdge) IView
[Full Topic]

func (*SharingServiceDelegate) HasAnchoringViewForSharingServiceShowRelativeToRectPreferredEdge

func (di *SharingServiceDelegate) HasAnchoringViewForSharingServiceShowRelativeToRectPreferredEdge() bool

func (*SharingServiceDelegate) HasSharingServiceDidShareItems

func (di *SharingServiceDelegate) HasSharingServiceDidShareItems() bool

func (*SharingServiceDelegate) SetAnchoringViewForSharingServiceShowRelativeToRectPreferredEdge

func (di *SharingServiceDelegate) SetAnchoringViewForSharingServiceShowRelativeToRectPreferredEdge(f func(sharingService SharingService, positioningRect *foundation.Rect, preferredEdge *foundation.RectEdge) IView)
[Full Topic]

func (*SharingServiceDelegate) SetSharingServiceDidShareItems

func (di *SharingServiceDelegate) SetSharingServiceDidShareItems(f func(sharingService SharingService, items []objc.Object))

Invoked when the sharing service has finished sharing the items. Full Topic

func (*SharingServiceDelegate) SharingServiceDidShareItems

func (di *SharingServiceDelegate) SharingServiceDidShareItems(sharingService SharingService, items []objc.Object)

Invoked when the sharing service has finished sharing the items. Full Topic

type SharingServiceDelegateWrapper

type SharingServiceDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PSharingServiceDelegate protocol.

func (SharingServiceDelegateWrapper) AnchoringViewForSharingServiceShowRelativeToRectPreferredEdge

func (s_ SharingServiceDelegateWrapper) AnchoringViewForSharingServiceShowRelativeToRectPreferredEdge(sharingService ISharingService, positioningRect *foundation.Rect, preferredEdge *foundation.RectEdge) View
[Full Topic]

func (SharingServiceDelegateWrapper) HasAnchoringViewForSharingServiceShowRelativeToRectPreferredEdge

func (s_ SharingServiceDelegateWrapper) HasAnchoringViewForSharingServiceShowRelativeToRectPreferredEdge() bool

func (SharingServiceDelegateWrapper) HasSharingServiceDidShareItems

func (s_ SharingServiceDelegateWrapper) HasSharingServiceDidShareItems() bool

func (SharingServiceDelegateWrapper) SharingServiceDidShareItems

func (s_ SharingServiceDelegateWrapper) SharingServiceDidShareItems(sharingService ISharingService, items []objc.IObject)

Invoked when the sharing service has finished sharing the items. Full Topic

type SharingServiceName

type SharingServiceName string

Constants that describe the sharing services that macOS supports. Full Topic

const (
	SharingServiceNameAddToAperture             SharingServiceName = "com.apple.share.System.add-to-aperture"
	SharingServiceNameAddToIPhoto               SharingServiceName = "com.apple.share.System.add-to-iphoto"
	SharingServiceNameAddToSafariReadingList    SharingServiceName = "com.apple.share.System.add-to-safari-reading-list"
	SharingServiceNameCloudSharing              SharingServiceName = "com.apple.share.CloudSharing"
	SharingServiceNameComposeEmail              SharingServiceName = "com.apple.share.Mail.compose"
	SharingServiceNameComposeMessage            SharingServiceName = "com.apple.messages.ShareExtension"
	SharingServiceNamePostImageOnFlickr         SharingServiceName = "com.apple.share.Video.upload-image-Flickr"
	SharingServiceNamePostOnFacebook            SharingServiceName = "com.apple.share.Facebook.post"
	SharingServiceNamePostOnLinkedIn            SharingServiceName = "com.apple.share.LinkedIn.post"
	SharingServiceNamePostOnSinaWeibo           SharingServiceName = "com.apple.share.SinaWeibo.post"
	SharingServiceNamePostOnTencentWeibo        SharingServiceName = "com.apple.share.TencentWeibo.post"
	SharingServiceNamePostOnTwitter             SharingServiceName = "com.apple.share.Twitter.post"
	SharingServiceNamePostVideoOnTudou          SharingServiceName = "com.apple.share.Video.upload-Tudou"
	SharingServiceNamePostVideoOnVimeo          SharingServiceName = "com.apple.share.Video.upload-Vimeo"
	SharingServiceNamePostVideoOnYouku          SharingServiceName = "com.apple.share.Video.upload-Youku"
	SharingServiceNameSendViaAirDrop            SharingServiceName = "com.apple.share.AirDrop.send"
	SharingServiceNameUseAsDesktopPicture       SharingServiceName = "com.apple.share.System.set-desktop-image"
	SharingServiceNameUseAsFacebookProfileImage SharingServiceName = "com.apple.share.Facebook.set-profile-image"
	SharingServiceNameUseAsLinkedInProfileImage SharingServiceName = "com.apple.share.LinkedIn.set-profile-image"
	SharingServiceNameUseAsTwitterProfileImage  SharingServiceName = "com.apple.share.Twitter.set-profile-image"
)

type SharingServicePicker

type SharingServicePicker struct {
	objc.Object
}

A list of sharing services that the user can choose from. Full Topic

func NewSharingServicePicker

func NewSharingServicePicker() SharingServicePicker

func NewSharingServicePickerWithItems

func NewSharingServicePickerWithItems(items []objc.IObject) SharingServicePicker

Creates a new sharing service picker for the selected items. Full Topic

func SharingServicePickerFrom

func SharingServicePickerFrom(ptr unsafe.Pointer) SharingServicePicker

func SharingServicePicker_Alloc

func SharingServicePicker_Alloc() SharingServicePicker

func (SharingServicePicker) Delegate

The object for managing the sharing service picker. Full Topic

func (SharingServicePicker) Init

func (SharingServicePicker) InitWithItems

func (s_ SharingServicePicker) InitWithItems(items []objc.IObject) SharingServicePicker

func (SharingServicePicker) SetDelegate

The object for managing the sharing service picker. Full Topic

func (SharingServicePicker) SetDelegateObject

func (s_ SharingServicePicker) SetDelegateObject(valueObject objc.IObject)

The object for managing the sharing service picker. Full Topic

func (SharingServicePicker) ShowRelativeToRectOfViewPreferredEdge

func (s_ SharingServicePicker) ShowRelativeToRectOfViewPreferredEdge(rect foundation.Rect, view IView, preferredEdge foundation.RectEdge)

Shows the picker interface and populates it with the relevant sharing services. Full Topic

type SharingServicePickerDelegate

type SharingServicePickerDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PSharingServicePickerDelegate protocol.

func (*SharingServicePickerDelegate) HasSharingServicePickerDidChooseSharingService

func (di *SharingServicePickerDelegate) HasSharingServicePickerDidChooseSharingService() bool

func (*SharingServicePickerDelegate) SetSharingServicePickerDidChooseSharingService

func (di *SharingServicePickerDelegate) SetSharingServicePickerDidChooseSharingService(f func(sharingServicePicker SharingServicePicker, service SharingService))

Tells the delegate that the person selected a sharing service for the current item. Full Topic

func (*SharingServicePickerDelegate) SharingServicePickerDidChooseSharingService

func (di *SharingServicePickerDelegate) SharingServicePickerDidChooseSharingService(sharingServicePicker SharingServicePicker, service SharingService)

Tells the delegate that the person selected a sharing service for the current item. Full Topic

type SharingServicePickerDelegateWrapper

type SharingServicePickerDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PSharingServicePickerDelegate protocol.

func (SharingServicePickerDelegateWrapper) HasSharingServicePickerDidChooseSharingService

func (s_ SharingServicePickerDelegateWrapper) HasSharingServicePickerDidChooseSharingService() bool

func (SharingServicePickerDelegateWrapper) SharingServicePickerDidChooseSharingService

func (s_ SharingServicePickerDelegateWrapper) SharingServicePickerDidChooseSharingService(sharingServicePicker ISharingServicePicker, service ISharingService)

Tells the delegate that the person selected a sharing service for the current item. Full Topic

type SharingServicePickerToolbarItem

type SharingServicePickerToolbarItem struct {
	ToolbarItem
}

A toolbar item that displays the macOS share sheet. Full Topic

func NewSharingServicePickerToolbarItem

func NewSharingServicePickerToolbarItem() SharingServicePickerToolbarItem

func NewSharingServicePickerToolbarItemWithItemIdentifier

func NewSharingServicePickerToolbarItemWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) SharingServicePickerToolbarItem

Creates a toolbar item with the specified identifier. Full Topic

func SharingServicePickerToolbarItemFrom

func SharingServicePickerToolbarItemFrom(ptr unsafe.Pointer) SharingServicePickerToolbarItem

func SharingServicePickerToolbarItem_Alloc

func SharingServicePickerToolbarItem_Alloc() SharingServicePickerToolbarItem

func (SharingServicePickerToolbarItem) Delegate

The custom object from your app that provides the items to share. Full Topic

func (SharingServicePickerToolbarItem) Init

func (SharingServicePickerToolbarItem) InitWithItemIdentifier

func (SharingServicePickerToolbarItem) SetDelegate

The custom object from your app that provides the items to share. Full Topic

func (SharingServicePickerToolbarItem) SetDelegateObject

func (s_ SharingServicePickerToolbarItem) SetDelegateObject(valueObject objc.IObject)

The custom object from your app that provides the items to share. Full Topic

type SharingServicePickerToolbarItemDelegate

type SharingServicePickerToolbarItemDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PSharingServicePickerToolbarItemDelegate protocol.

func (*SharingServicePickerToolbarItemDelegate) HasItemsForSharingServicePickerToolbarItem

func (di *SharingServicePickerToolbarItemDelegate) HasItemsForSharingServicePickerToolbarItem() bool

func (*SharingServicePickerToolbarItemDelegate) ItemsForSharingServicePickerToolbarItem

func (di *SharingServicePickerToolbarItemDelegate) ItemsForSharingServicePickerToolbarItem(pickerToolbarItem SharingServicePickerToolbarItem) []objc.IObject

Asks the delegate for the items to share. Full Topic

func (*SharingServicePickerToolbarItemDelegate) SetItemsForSharingServicePickerToolbarItem

func (di *SharingServicePickerToolbarItemDelegate) SetItemsForSharingServicePickerToolbarItem(f func(pickerToolbarItem SharingServicePickerToolbarItem) []objc.IObject)

Asks the delegate for the items to share. Full Topic

type SharingServicePickerToolbarItemDelegateWrapper

type SharingServicePickerToolbarItemDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PSharingServicePickerToolbarItemDelegate protocol.

func (SharingServicePickerToolbarItemDelegateWrapper) HasItemsForSharingServicePickerToolbarItem

func (s_ SharingServicePickerToolbarItemDelegateWrapper) HasItemsForSharingServicePickerToolbarItem() bool

func (SharingServicePickerToolbarItemDelegateWrapper) ItemsForSharingServicePickerToolbarItem

func (s_ SharingServicePickerToolbarItemDelegateWrapper) ItemsForSharingServicePickerToolbarItem(pickerToolbarItem ISharingServicePickerToolbarItem) []objc.Object

Asks the delegate for the items to share. Full Topic

type SharingServicePickerTouchBarItem

type SharingServicePickerTouchBarItem struct {
	TouchBarItem
}

A bar item that, along with its delegate, provides a list of objects eligible for sharing. Full Topic

func NewSharingServicePickerTouchBarItem

func NewSharingServicePickerTouchBarItem() SharingServicePickerTouchBarItem

func NewSharingServicePickerTouchBarItemWithIdentifier

func NewSharingServicePickerTouchBarItemWithIdentifier(identifier TouchBarItemIdentifier) SharingServicePickerTouchBarItem

Creates a new item with the specified identifier. Full Topic

func SharingServicePickerTouchBarItemFrom

func SharingServicePickerTouchBarItemFrom(ptr unsafe.Pointer) SharingServicePickerTouchBarItem

func SharingServicePickerTouchBarItem_Alloc

func SharingServicePickerTouchBarItem_Alloc() SharingServicePickerTouchBarItem

func (SharingServicePickerTouchBarItem) ButtonImage

func (s_ SharingServicePickerTouchBarItem) ButtonImage() Image

The image displayed in the sharing service picker item button. Full Topic

func (SharingServicePickerTouchBarItem) ButtonTitle

func (s_ SharingServicePickerTouchBarItem) ButtonTitle() string

The text displayed in the sharing service picker item button. Full Topic

func (SharingServicePickerTouchBarItem) Delegate

The object that acts as the delegate of the sharing service picker bar item. Full Topic

func (SharingServicePickerTouchBarItem) Init

func (SharingServicePickerTouchBarItem) InitWithIdentifier

func (SharingServicePickerTouchBarItem) IsEnabled

func (s_ SharingServicePickerTouchBarItem) IsEnabled() bool

A Boolean value that specifies whether the sharing service picker item is enabled. Full Topic

func (SharingServicePickerTouchBarItem) SetButtonImage

func (s_ SharingServicePickerTouchBarItem) SetButtonImage(value IImage)

The image displayed in the sharing service picker item button. Full Topic

func (SharingServicePickerTouchBarItem) SetButtonTitle

func (s_ SharingServicePickerTouchBarItem) SetButtonTitle(value string)

The text displayed in the sharing service picker item button. Full Topic

func (SharingServicePickerTouchBarItem) SetDelegate

The object that acts as the delegate of the sharing service picker bar item. Full Topic

func (SharingServicePickerTouchBarItem) SetDelegateObject

func (s_ SharingServicePickerTouchBarItem) SetDelegateObject(valueObject objc.IObject)

The object that acts as the delegate of the sharing service picker bar item. Full Topic

func (SharingServicePickerTouchBarItem) SetEnabled

func (s_ SharingServicePickerTouchBarItem) SetEnabled(value bool)

A Boolean value that specifies whether the sharing service picker item is enabled. Full Topic

type SharingServicePickerTouchBarItemDelegate

type SharingServicePickerTouchBarItemDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PSharingServicePickerTouchBarItemDelegate protocol.

func (*SharingServicePickerTouchBarItemDelegate) HasItemsForSharingServicePickerTouchBarItem

func (di *SharingServicePickerTouchBarItemDelegate) HasItemsForSharingServicePickerTouchBarItem() bool

func (*SharingServicePickerTouchBarItemDelegate) ItemsForSharingServicePickerTouchBarItem

func (di *SharingServicePickerTouchBarItemDelegate) ItemsForSharingServicePickerTouchBarItem(pickerTouchBarItem SharingServicePickerTouchBarItem) []objc.IObject

Asks the delegate for items that represent the objects to be shared. Full Topic

func (*SharingServicePickerTouchBarItemDelegate) SetItemsForSharingServicePickerTouchBarItem

func (di *SharingServicePickerTouchBarItemDelegate) SetItemsForSharingServicePickerTouchBarItem(f func(pickerTouchBarItem SharingServicePickerTouchBarItem) []objc.IObject)

Asks the delegate for items that represent the objects to be shared. Full Topic

type SharingServicePickerTouchBarItemDelegateWrapper

type SharingServicePickerTouchBarItemDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PSharingServicePickerTouchBarItemDelegate protocol.

func (SharingServicePickerTouchBarItemDelegateWrapper) HasItemsForSharingServicePickerTouchBarItem

func (s_ SharingServicePickerTouchBarItemDelegateWrapper) HasItemsForSharingServicePickerTouchBarItem() bool

func (SharingServicePickerTouchBarItemDelegateWrapper) ItemsForSharingServicePickerTouchBarItem

func (s_ SharingServicePickerTouchBarItemDelegateWrapper) ItemsForSharingServicePickerTouchBarItem(pickerTouchBarItem ISharingServicePickerTouchBarItem) []objc.Object

Asks the delegate for items that represent the objects to be shared. Full Topic

type Slider

type Slider struct {
	Control
}

A display of a bar representing a continuous range of numerical values and a knob representing the currently selected value. Full Topic

func NewSlider

func NewSlider() Slider

func NewSliderWithFrame

func NewSliderWithFrame(frameRect foundation.Rect) Slider

Initializes a control with the specified frame rectangle. Full Topic

func SliderFrom

func SliderFrom(ptr unsafe.Pointer) Slider

func Slider_Alloc

func Slider_Alloc() Slider

func Slider_SliderWithTargetAction

func Slider_SliderWithTargetAction(target objc.IObject, action objc.Selector) Slider

Creates a continuous horizontal slider whose values range from 0.0 to 1.0. Full Topic

func Slider_SliderWithValueMinValueMaxValueTargetAction

func Slider_SliderWithValueMinValueMaxValueTargetAction(value float64, minValue float64, maxValue float64, target objc.IObject, action objc.Selector) Slider

Creates a continuous horizontal slider that represents values over the specified range. Full Topic

func (Slider) AllowsTickMarkValuesOnly

func (s_ Slider) AllowsTickMarkValuesOnly() bool

A Boolean value that indicates whether the slider fixes its values to those values represented by its tick marks. Full Topic

func (Slider) AltIncrementValue

func (s_ Slider) AltIncrementValue() float64

The amount by which the slider changes its value when the user Option-drags the slider knob. Full Topic

func (Slider) ClosestTickMarkValueToValue

func (s_ Slider) ClosestTickMarkValueToValue(value float64) float64

Returns the value of the tick mark closest to the specified value. Full Topic

func (Slider) IndexOfTickMarkAtPoint

func (s_ Slider) IndexOfTickMarkAtPoint(point foundation.Point) int

Returns the index of the tick mark closest to the location of the slider represented by the given point. Full Topic

func (Slider) Init

func (s_ Slider) Init() Slider

func (Slider) InitWithFrame

func (s_ Slider) InitWithFrame(frameRect foundation.Rect) Slider

func (Slider) IsVertical

func (s_ Slider) IsVertical() bool

An integer indicating the orientation (horizontal or vertical) of the slider. Full Topic

func (Slider) KnobThickness

func (s_ Slider) KnobThickness() float64

The knob’s thickness, in pixels. Full Topic

func (Slider) MaxValue

func (s_ Slider) MaxValue() float64

The maximum value the slider can send to its target. Full Topic

func (Slider) MinValue

func (s_ Slider) MinValue() float64

The minimum value the slider can send to its target. Full Topic

func (Slider) NumberOfTickMarks

func (s_ Slider) NumberOfTickMarks() int

The number of tick marks associated with the slider. Full Topic

func (Slider) RectOfTickMarkAtIndex

func (s_ Slider) RectOfTickMarkAtIndex(index int) foundation.Rect

Returns the bounding rectangle of the tick mark at the given index. Full Topic

func (Slider) SetAllowsTickMarkValuesOnly

func (s_ Slider) SetAllowsTickMarkValuesOnly(value bool)

A Boolean value that indicates whether the slider fixes its values to those values represented by its tick marks. Full Topic

func (Slider) SetAltIncrementValue

func (s_ Slider) SetAltIncrementValue(value float64)

The amount by which the slider changes its value when the user Option-drags the slider knob. Full Topic

func (Slider) SetMaxValue

func (s_ Slider) SetMaxValue(value float64)

The maximum value the slider can send to its target. Full Topic

func (Slider) SetMinValue

func (s_ Slider) SetMinValue(value float64)

The minimum value the slider can send to its target. Full Topic

func (Slider) SetNumberOfTickMarks

func (s_ Slider) SetNumberOfTickMarks(value int)

The number of tick marks associated with the slider. Full Topic

func (Slider) SetSliderType

func (s_ Slider) SetSliderType(value SliderType)

The type of the slider, such as vertical or circular. Full Topic

func (Slider) SetTickMarkPosition

func (s_ Slider) SetTickMarkPosition(value TickMarkPosition)

Determines where the slider’s tick marks are displayed. Full Topic

func (Slider) SetTrackFillColor

func (s_ Slider) SetTrackFillColor(value IColor)

The color of the filled portion of the slider track, in appearances that support it. Full Topic

func (Slider) SetVertical

func (s_ Slider) SetVertical(value bool)

An integer indicating the orientation (horizontal or vertical) of the slider. Full Topic

func (Slider) SliderType

func (s_ Slider) SliderType() SliderType

The type of the slider, such as vertical or circular. Full Topic

func (Slider) TickMarkPosition

func (s_ Slider) TickMarkPosition() TickMarkPosition

Determines where the slider’s tick marks are displayed. Full Topic

func (Slider) TickMarkValueAtIndex

func (s_ Slider) TickMarkValueAtIndex(index int) float64

Returns the slider’s value represented by the tick mark at the specified index. Full Topic

func (Slider) TrackFillColor

func (s_ Slider) TrackFillColor() Color

The color of the filled portion of the slider track, in appearances that support it. Full Topic

type SliderAccessory

type SliderAccessory struct {
	objc.Object
}
[Full Topic]

func NewSliderAccessory

func NewSliderAccessory() SliderAccessory

func SliderAccessoryFrom

func SliderAccessoryFrom(ptr unsafe.Pointer) SliderAccessory

func SliderAccessory_AccessoryWithImage

func SliderAccessory_AccessoryWithImage(image IImage) SliderAccessory
[Full Topic]

func SliderAccessory_Alloc

func SliderAccessory_Alloc() SliderAccessory

func (SliderAccessory) Behavior

[Full Topic]

func (SliderAccessory) Init

func (s_ SliderAccessory) Init() SliderAccessory

func (SliderAccessory) IsEnabled

func (s_ SliderAccessory) IsEnabled() bool
[Full Topic]

func (SliderAccessory) SetBehavior

func (s_ SliderAccessory) SetBehavior(value ISliderAccessoryBehavior)
[Full Topic]

func (SliderAccessory) SetEnabled

func (s_ SliderAccessory) SetEnabled(value bool)
[Full Topic]

type SliderAccessoryBehavior

type SliderAccessoryBehavior struct {
	objc.Object
}
[Full Topic]

func NewSliderAccessoryBehavior

func NewSliderAccessoryBehavior() SliderAccessoryBehavior

func SliderAccessoryBehaviorFrom

func SliderAccessoryBehaviorFrom(ptr unsafe.Pointer) SliderAccessoryBehavior

func SliderAccessoryBehavior_Alloc

func SliderAccessoryBehavior_Alloc() SliderAccessoryBehavior

func SliderAccessoryBehavior_AutomaticBehavior

func SliderAccessoryBehavior_AutomaticBehavior() SliderAccessoryBehavior
[Full Topic]

func SliderAccessoryBehavior_BehaviorWithHandler

func SliderAccessoryBehavior_BehaviorWithHandler(handler func(arg0 SliderAccessory)) SliderAccessoryBehavior
[Full Topic]

func SliderAccessoryBehavior_BehaviorWithTargetAction

func SliderAccessoryBehavior_BehaviorWithTargetAction(target objc.IObject, action objc.Selector) SliderAccessoryBehavior
[Full Topic]

func SliderAccessoryBehavior_ValueResetBehavior

func SliderAccessoryBehavior_ValueResetBehavior() SliderAccessoryBehavior
[Full Topic]

func SliderAccessoryBehavior_ValueStepBehavior

func SliderAccessoryBehavior_ValueStepBehavior() SliderAccessoryBehavior
[Full Topic]

func (SliderAccessoryBehavior) HandleAction

func (s_ SliderAccessoryBehavior) HandleAction(sender ISliderAccessory)
[Full Topic]

func (SliderAccessoryBehavior) Init

type SliderAccessoryWidth

type SliderAccessoryWidth float64
[Full Topic]
const (
	SliderAccessoryWidthDefault SliderAccessoryWidth = 36.000000
	SliderAccessoryWidthWide    SliderAccessoryWidth = 72.000000
)

type SliderCell

type SliderCell struct {
	ActionCell
}

The appearance and behavior of an NSSlider object. Full Topic

func NewSliderCell

func NewSliderCell() SliderCell

func NewSliderCellImageCell

func NewSliderCellImageCell(image IImage) SliderCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewSliderCellTextCell

func NewSliderCellTextCell(string_ string) SliderCell

Returns an NSCell object initialized with the specified string and set to have the cell’s default menu. Full Topic

func SliderCellFrom

func SliderCellFrom(ptr unsafe.Pointer) SliderCell

func SliderCell_Alloc

func SliderCell_Alloc() SliderCell

func (SliderCell) AllowsTickMarkValuesOnly

func (s_ SliderCell) AllowsTickMarkValuesOnly() bool

A Boolean value indicating whether the receiver fixes its values to those values represented by its tick marks. Full Topic

func (SliderCell) AltIncrementValue

func (s_ SliderCell) AltIncrementValue() float64

The amount by which the slider changes its value when the user Option-drags the knob. Full Topic

func (SliderCell) BarRectFlipped

func (s_ SliderCell) BarRectFlipped(flipped bool) foundation.Rect

Returns the rectangle in which the bar is drawn. Full Topic

func (SliderCell) ClosestTickMarkValueToValue

func (s_ SliderCell) ClosestTickMarkValueToValue(value float64) float64

Returns the value of the tick mark closest to the specified value. Full Topic

func (SliderCell) DrawBarInsideFlipped

func (s_ SliderCell) DrawBarInsideFlipped(rect foundation.Rect, flipped bool)

Draws the slider’s bar—but not its bezel or knob—inside the specified rectangle. Full Topic

func (SliderCell) DrawKnob

func (s_ SliderCell) DrawKnob(knobRect foundation.Rect)

Draws the slider knob in the given rectangle. Full Topic

func (SliderCell) DrawTickMarks

func (s_ SliderCell) DrawTickMarks()

Draws the slider’s tick marks. Full Topic

func (SliderCell) IndexOfTickMarkAtPoint

func (s_ SliderCell) IndexOfTickMarkAtPoint(point foundation.Point) int

Returns the index of the tick mark closest to the location of the slider represented by the specified point. Full Topic

func (SliderCell) Init

func (s_ SliderCell) Init() SliderCell

func (SliderCell) InitImageCell

func (s_ SliderCell) InitImageCell(image IImage) SliderCell

func (SliderCell) InitTextCell

func (s_ SliderCell) InitTextCell(string_ string) SliderCell

func (SliderCell) IsVertical

func (s_ SliderCell) IsVertical() bool

An integer indicating the orientation (vertical or horizontal) of the slider. Full Topic

func (SliderCell) KnobRectFlipped

func (s_ SliderCell) KnobRectFlipped(flipped bool) foundation.Rect

Returns the rectangle in which the slider knob is drawn. Full Topic

func (SliderCell) KnobThickness

func (s_ SliderCell) KnobThickness() float64

The thickness of the slider knob, in pixels. Full Topic

func (SliderCell) MaxValue

func (s_ SliderCell) MaxValue() float64

The maximum value the slider can send to its target. Full Topic

func (SliderCell) MinValue

func (s_ SliderCell) MinValue() float64

The minimum value the slider can send to its target. Full Topic

func (SliderCell) NumberOfTickMarks

func (s_ SliderCell) NumberOfTickMarks() int

The number of tick marks associated with the slider, including the tick marks assigned to the minimum and maximum values. Full Topic

func (SliderCell) RectOfTickMarkAtIndex

func (s_ SliderCell) RectOfTickMarkAtIndex(index int) foundation.Rect

Returns the bounding rectangle of the tick mark at the specified index. Full Topic

func (SliderCell) SetAllowsTickMarkValuesOnly

func (s_ SliderCell) SetAllowsTickMarkValuesOnly(value bool)

A Boolean value indicating whether the receiver fixes its values to those values represented by its tick marks. Full Topic

func (SliderCell) SetAltIncrementValue

func (s_ SliderCell) SetAltIncrementValue(value float64)

The amount by which the slider changes its value when the user Option-drags the knob. Full Topic

func (SliderCell) SetMaxValue

func (s_ SliderCell) SetMaxValue(value float64)

The maximum value the slider can send to its target. Full Topic

func (SliderCell) SetMinValue

func (s_ SliderCell) SetMinValue(value float64)

The minimum value the slider can send to its target. Full Topic

func (SliderCell) SetNumberOfTickMarks

func (s_ SliderCell) SetNumberOfTickMarks(value int)

The number of tick marks associated with the slider, including the tick marks assigned to the minimum and maximum values. Full Topic

func (SliderCell) SetSliderType

func (s_ SliderCell) SetSliderType(value SliderType)

The slider type, either linear or circular. Full Topic

func (SliderCell) SetTickMarkPosition

func (s_ SliderCell) SetTickMarkPosition(value TickMarkPosition)

The position of the tick marks relative to the receiver. Full Topic

func (SliderCell) SetVertical

func (s_ SliderCell) SetVertical(value bool)

An integer indicating the orientation (vertical or horizontal) of the slider. Full Topic

func (SliderCell) SliderType

func (s_ SliderCell) SliderType() SliderType

The slider type, either linear or circular. Full Topic

func (SliderCell) TickMarkPosition

func (s_ SliderCell) TickMarkPosition() TickMarkPosition

The position of the tick marks relative to the receiver. Full Topic

func (SliderCell) TickMarkValueAtIndex

func (s_ SliderCell) TickMarkValueAtIndex(index int) float64

Returns the receiver’s value represented by the tick mark at the specified index. Full Topic

func (SliderCell) TrackRect

func (s_ SliderCell) TrackRect() foundation.Rect

The rectangle within which the cell tracks the pointer while the mouse button is down. Full Topic

type SliderTouchBarItem

type SliderTouchBarItem struct {
	TouchBarItem
}

A bar item that provides a slider control for choosing a value in a range. Full Topic

func NewSliderTouchBarItem

func NewSliderTouchBarItem() SliderTouchBarItem

func NewSliderTouchBarItemWithIdentifier

func NewSliderTouchBarItemWithIdentifier(identifier TouchBarItemIdentifier) SliderTouchBarItem

Creates a new item with the specified identifier. Full Topic

func SliderTouchBarItemFrom

func SliderTouchBarItemFrom(ptr unsafe.Pointer) SliderTouchBarItem

func SliderTouchBarItem_Alloc

func SliderTouchBarItem_Alloc() SliderTouchBarItem

func (SliderTouchBarItem) Action

func (s_ SliderTouchBarItem) Action() objc.Selector

The selector on the target object that is invoked when a user interacts with the slider or either of the accessories. Full Topic

func (SliderTouchBarItem) DoubleValue

func (s_ SliderTouchBarItem) DoubleValue() float64

The double value of the slider. Full Topic

func (SliderTouchBarItem) Init

func (SliderTouchBarItem) InitWithIdentifier

func (s_ SliderTouchBarItem) InitWithIdentifier(identifier TouchBarItemIdentifier) SliderTouchBarItem

func (SliderTouchBarItem) Label

func (s_ SliderTouchBarItem) Label() string

The text displayed alongside the slider. Full Topic

func (SliderTouchBarItem) MaximumSliderWidth

func (s_ SliderTouchBarItem) MaximumSliderWidth() float64

The maximum width of the slider’s track. Full Topic

func (SliderTouchBarItem) MaximumValueAccessory

func (s_ SliderTouchBarItem) MaximumValueAccessory() SliderAccessory

The accessory that appears at the end of the slider with the maximum value. Full Topic

func (SliderTouchBarItem) MinimumSliderWidth

func (s_ SliderTouchBarItem) MinimumSliderWidth() float64

The minimum width of the slider’s track. Full Topic

func (SliderTouchBarItem) MinimumValueAccessory

func (s_ SliderTouchBarItem) MinimumValueAccessory() SliderAccessory

The accessory that appears at the end of the slider with the minimum value. Full Topic

func (SliderTouchBarItem) SetAction

func (s_ SliderTouchBarItem) SetAction(value objc.Selector)

The selector on the target object that is invoked when a user interacts with the slider or either of the accessories. Full Topic

func (SliderTouchBarItem) SetCustomizationLabel

func (s_ SliderTouchBarItem) SetCustomizationLabel(value string)

The user-visible string identifying this item during bar customization. Full Topic

func (SliderTouchBarItem) SetDoubleValue

func (s_ SliderTouchBarItem) SetDoubleValue(value float64)

The double value of the slider. Full Topic

func (SliderTouchBarItem) SetLabel

func (s_ SliderTouchBarItem) SetLabel(value string)

The text displayed alongside the slider. Full Topic

func (SliderTouchBarItem) SetMaximumSliderWidth

func (s_ SliderTouchBarItem) SetMaximumSliderWidth(value float64)

The maximum width of the slider’s track. Full Topic

func (SliderTouchBarItem) SetMaximumValueAccessory

func (s_ SliderTouchBarItem) SetMaximumValueAccessory(value ISliderAccessory)

The accessory that appears at the end of the slider with the maximum value. Full Topic

func (SliderTouchBarItem) SetMinimumSliderWidth

func (s_ SliderTouchBarItem) SetMinimumSliderWidth(value float64)

The minimum width of the slider’s track. Full Topic

func (SliderTouchBarItem) SetMinimumValueAccessory

func (s_ SliderTouchBarItem) SetMinimumValueAccessory(value ISliderAccessory)

The accessory that appears at the end of the slider with the minimum value. Full Topic

func (SliderTouchBarItem) SetSlider

func (s_ SliderTouchBarItem) SetSlider(value ISlider)

The slider displayed by the bar item. Full Topic

func (SliderTouchBarItem) SetTarget

func (s_ SliderTouchBarItem) SetTarget(value objc.IObject)

An object that is notified when a user interacts with the slider or either of the accessories. Full Topic

func (SliderTouchBarItem) SetValueAccessoryWidth

func (s_ SliderTouchBarItem) SetValueAccessoryWidth(value SliderAccessoryWidth)

The width of the value accessories that appear at either end of the slider. Full Topic

func (SliderTouchBarItem) Slider

func (s_ SliderTouchBarItem) Slider() Slider

The slider displayed by the bar item. Full Topic

func (SliderTouchBarItem) Target

func (s_ SliderTouchBarItem) Target() objc.Object

An object that is notified when a user interacts with the slider or either of the accessories. Full Topic

func (SliderTouchBarItem) ValueAccessoryWidth

func (s_ SliderTouchBarItem) ValueAccessoryWidth() SliderAccessoryWidth

The width of the value accessories that appear at either end of the slider. Full Topic

type SliderType

type SliderType uint

The types of sliders, used by sliderType. Full Topic

const (
	CircularSlider     SliderType = 1
	LinearSlider       SliderType = 0
	SliderTypeCircular SliderType = 1
	SliderTypeLinear   SliderType = 0
)

type Sound

type Sound struct {
	objc.Object
}

A simple interface for loading and playing audio files. Full Topic

func NewSound

func NewSound() Sound

func NewSoundWithContentsOfFileByReference

func NewSoundWithContentsOfFileByReference(path string, byRef bool) Sound

Initializes the receiver with the audio data located at a given filepath. Full Topic

func NewSoundWithContentsOfURLByReference

func NewSoundWithContentsOfURLByReference(url foundation.IURL, byRef bool) Sound

Initializes the receiver with the audio data located at a given URL. Full Topic

func NewSoundWithData

func NewSoundWithData(data []byte) Sound

Initializes the receiver with a given audio data. Full Topic

func NewSoundWithPasteboard

func NewSoundWithPasteboard(pasteboard IPasteboard) Sound

Initializes the receiver with data from a pasteboard. The pasteboard should contain a type returned by NSSound. NSSound expects the data to have a proper magic number, sound header, and data for the formats it supports. Full Topic

func SoundFrom

func SoundFrom(ptr unsafe.Pointer) Sound

func Sound_Alloc

func Sound_Alloc() Sound

func Sound_SoundNamed

func Sound_SoundNamed(name SoundName) Sound

Returns the NSSound instance associated with a given name. Full Topic

func (Sound) CurrentTime

func (s_ Sound) CurrentTime() foundation.TimeInterval

The sound’s playback progress, in seconds. Full Topic

func (Sound) Delegate

func (s_ Sound) Delegate() SoundDelegateWrapper

The sound’s delegate. Full Topic

func (Sound) Duration

func (s_ Sound) Duration() foundation.TimeInterval

The duration of the sound, in seconds. Full Topic

func (Sound) Init

func (s_ Sound) Init() Sound

func (Sound) InitWithContentsOfFileByReference

func (s_ Sound) InitWithContentsOfFileByReference(path string, byRef bool) Sound

func (Sound) InitWithContentsOfURLByReference

func (s_ Sound) InitWithContentsOfURLByReference(url foundation.IURL, byRef bool) Sound

func (Sound) InitWithData

func (s_ Sound) InitWithData(data []byte) Sound

func (Sound) InitWithPasteboard

func (s_ Sound) InitWithPasteboard(pasteboard IPasteboard) Sound

func (Sound) IsPlaying

func (s_ Sound) IsPlaying() bool

A Boolean that indicates whether the sound is playing its audio data. Full Topic

func (Sound) Loops

func (s_ Sound) Loops() bool

A Boolean that indicates whether the sound restarts playback when it reaches the end of its content. Full Topic

func (Sound) Name

func (s_ Sound) Name() SoundName

The name assigned to the sound. Full Topic

func (Sound) Pause

func (s_ Sound) Pause() bool

Pauses audio playback. Full Topic

func (Sound) Play

func (s_ Sound) Play() bool

Initiates audio playback. Full Topic

func (Sound) PlaybackDeviceIdentifier

func (s_ Sound) PlaybackDeviceIdentifier() SoundPlaybackDeviceIdentifier

Identifies the sound’s output device Full Topic

func (Sound) Resume

func (s_ Sound) Resume() bool

Resumes audio playback. Full Topic

func (Sound) SetCurrentTime

func (s_ Sound) SetCurrentTime(value foundation.TimeInterval)

The sound’s playback progress, in seconds. Full Topic

func (Sound) SetDelegate

func (s_ Sound) SetDelegate(value PSoundDelegate)

The sound’s delegate. Full Topic

func (Sound) SetDelegateObject

func (s_ Sound) SetDelegateObject(valueObject objc.IObject)

The sound’s delegate. Full Topic

func (Sound) SetLoops

func (s_ Sound) SetLoops(value bool)

A Boolean that indicates whether the sound restarts playback when it reaches the end of its content. Full Topic

func (Sound) SetName

func (s_ Sound) SetName(string_ SoundName) bool
[Full Topic]

func (Sound) SetPlaybackDeviceIdentifier

func (s_ Sound) SetPlaybackDeviceIdentifier(value SoundPlaybackDeviceIdentifier)

Identifies the sound’s output device Full Topic

func (Sound) SetVolume

func (s_ Sound) SetVolume(value float64)

The volume of the sound. Full Topic

func (Sound) Stop

func (s_ Sound) Stop() bool

Concludes audio playback. Full Topic

func (Sound) Volume

func (s_ Sound) Volume() float64

The volume of the sound. Full Topic

func (Sound) WriteToPasteboard

func (s_ Sound) WriteToPasteboard(pasteboard IPasteboard)

Writes the receiver’s data to a pasteboard. Full Topic

type SoundDelegate

type SoundDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PSoundDelegate protocol.

func (*SoundDelegate) HasSoundDidFinishPlaying

func (di *SoundDelegate) HasSoundDidFinishPlaying() bool

func (*SoundDelegate) SetSoundDidFinishPlaying

func (di *SoundDelegate) SetSoundDidFinishPlaying(f func(sound Sound, flag bool))

This delegate method is called when an NSSound instance has completed playback of its sound data. Full Topic

func (*SoundDelegate) SoundDidFinishPlaying

func (di *SoundDelegate) SoundDidFinishPlaying(sound Sound, flag bool)

This delegate method is called when an NSSound instance has completed playback of its sound data. Full Topic

type SoundDelegateWrapper

type SoundDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PSoundDelegate protocol.

func (SoundDelegateWrapper) HasSoundDidFinishPlaying

func (s_ SoundDelegateWrapper) HasSoundDidFinishPlaying() bool

func (SoundDelegateWrapper) SoundDidFinishPlaying

func (s_ SoundDelegateWrapper) SoundDidFinishPlaying(sound ISound, flag bool)

This delegate method is called when an NSSound instance has completed playback of its sound data. Full Topic

type SoundName

type SoundName string
[Full Topic]

type SoundPlaybackDeviceIdentifier

type SoundPlaybackDeviceIdentifier string
[Full Topic]

type SpeechBoundary

type SpeechBoundary uint

These constants are used to indicate where speech should be stopped and paused. See pauseSpeakingAtBoundary: and stopSpeakingAtBoundary:. Full Topic

const (
	SpeechImmediateBoundary SpeechBoundary = 0
	SpeechSentenceBoundary  SpeechBoundary = 2
	SpeechWordBoundary      SpeechBoundary = 1
)

type SpeechCommandDelimiterKey

type SpeechCommandDelimiterKey string

Keys for the command delimiters. Full Topic

const (
	SpeechCommandPrefix SpeechCommandDelimiterKey = "Prefix"
	SpeechCommandSuffix SpeechCommandDelimiterKey = "Suffix"
)

type SpeechDictionaryKey

type SpeechDictionaryKey string

These constants identify key-value pairs used to add vocabulary to the dictionary using addSpeechDictionary:. Full Topic

const (
	SpeechDictionaryAbbreviations    SpeechDictionaryKey = "Abbreviations"
	SpeechDictionaryEntryPhonemes    SpeechDictionaryKey = "Phonemes"
	SpeechDictionaryEntrySpelling    SpeechDictionaryKey = "Spelling"
	SpeechDictionaryLocaleIdentifier SpeechDictionaryKey = "LocaleIdentifier"
	SpeechDictionaryModificationDate SpeechDictionaryKey = "ModificationDate"
	SpeechDictionaryPronunciations   SpeechDictionaryKey = "Pronunciations"
)

type SpeechErrorKey

type SpeechErrorKey string

Keys that identify errors that may occur during speech synthesis. Full Topic

const (
	SpeechErrorCount                 SpeechErrorKey = "Count"
	SpeechErrorNewestCharacterOffset SpeechErrorKey = "NewestCharacterOffset"
	SpeechErrorNewestCode            SpeechErrorKey = "NewestCode"
	SpeechErrorOldestCharacterOffset SpeechErrorKey = "OldestCharacterOffset"
	SpeechErrorOldestCode            SpeechErrorKey = "OldestCode"
)

type SpeechMode

type SpeechMode string

Keys for the speaking mode. Full Topic

const (
	SpeechModeLiteral SpeechMode = "LTRL"
	SpeechModeNormal  SpeechMode = "NORM"
	SpeechModePhoneme SpeechMode = "PHON"
	SpeechModeText    SpeechMode = "TEXT"
)

type SpeechPhonemeInfoKey

type SpeechPhonemeInfoKey string

Keys for the speech phoneme information. Full Topic

const (
	SpeechPhonemeInfoExample     SpeechPhonemeInfoKey = "Example"
	SpeechPhonemeInfoHiliteEnd   SpeechPhonemeInfoKey = "HiliteEnd"
	SpeechPhonemeInfoHiliteStart SpeechPhonemeInfoKey = "HiliteStart"
	SpeechPhonemeInfoOpcode      SpeechPhonemeInfoKey = "Opcode"
	SpeechPhonemeInfoSymbol      SpeechPhonemeInfoKey = "Symbol"
)

type SpeechPropertyKey

type SpeechPropertyKey string

These constants are used with setObject:forProperty:error: and objectForProperty:error: to get or set the characteristics of a synthesizer. Full Topic

const (
	SpeechCharacterModeProperty    SpeechPropertyKey = "char"
	SpeechCommandDelimiterProperty SpeechPropertyKey = "dlim"
	SpeechCurrentVoiceProperty     SpeechPropertyKey = "cvox"
	SpeechErrorsProperty           SpeechPropertyKey = "erro"
	SpeechInputModeProperty        SpeechPropertyKey = "inpt"
	SpeechNumberModeProperty       SpeechPropertyKey = "nmbr"
	SpeechOutputToFileURLProperty  SpeechPropertyKey = "opaf"
	SpeechPhonemeSymbolsProperty   SpeechPropertyKey = "phsy"
	SpeechPitchBaseProperty        SpeechPropertyKey = "pbas"
	SpeechPitchModProperty         SpeechPropertyKey = "pmod"
	SpeechRateProperty             SpeechPropertyKey = "rate"
	SpeechRecentSyncProperty       SpeechPropertyKey = "sync"
	SpeechResetProperty            SpeechPropertyKey = "rset"
	SpeechStatusProperty           SpeechPropertyKey = "stat"
	SpeechSynthesizerInfoProperty  SpeechPropertyKey = "vers"
	SpeechVolumeProperty           SpeechPropertyKey = "volm"
)

type SpeechRecognizer

type SpeechRecognizer struct {
	objc.Object
}

The Cocoa interface to speech recognition in macOS. Full Topic

func NewSpeechRecognizer

func NewSpeechRecognizer() SpeechRecognizer

func SpeechRecognizerFrom

func SpeechRecognizerFrom(ptr unsafe.Pointer) SpeechRecognizer

func SpeechRecognizer_Alloc

func SpeechRecognizer_Alloc() SpeechRecognizer

func (SpeechRecognizer) BlocksOtherRecognizers

func (s_ SpeechRecognizer) BlocksOtherRecognizers() bool

A Boolean value that indicates whether the speech recognizer object should block all other recognizers (that is, other applications attempting to understand spoken commands) when listening. Full Topic

func (SpeechRecognizer) Commands

func (s_ SpeechRecognizer) Commands() []string

An array of strings defining the commands for which the speech recognizer object should listen. Full Topic

func (SpeechRecognizer) Delegate

The delegate for the speech recognizer object. Full Topic

func (SpeechRecognizer) DisplayedCommandsTitle

func (s_ SpeechRecognizer) DisplayedCommandsTitle() string

The title of the commands section in the Speech Commands window or nil if there is no title. Full Topic

func (SpeechRecognizer) Init

func (SpeechRecognizer) ListensInForegroundOnly

func (s_ SpeechRecognizer) ListensInForegroundOnly() bool

A Boolean value that indicates whether the speech recognizer object should only enable its commands when its application is the frontmost one. Full Topic

func (SpeechRecognizer) SetBlocksOtherRecognizers

func (s_ SpeechRecognizer) SetBlocksOtherRecognizers(value bool)

A Boolean value that indicates whether the speech recognizer object should block all other recognizers (that is, other applications attempting to understand spoken commands) when listening. Full Topic

func (SpeechRecognizer) SetCommands

func (s_ SpeechRecognizer) SetCommands(value []string)

An array of strings defining the commands for which the speech recognizer object should listen. Full Topic

func (SpeechRecognizer) SetDelegate

func (s_ SpeechRecognizer) SetDelegate(value PSpeechRecognizerDelegate)

The delegate for the speech recognizer object. Full Topic

func (SpeechRecognizer) SetDelegateObject

func (s_ SpeechRecognizer) SetDelegateObject(valueObject objc.IObject)

The delegate for the speech recognizer object. Full Topic

func (SpeechRecognizer) SetDisplayedCommandsTitle

func (s_ SpeechRecognizer) SetDisplayedCommandsTitle(value string)

The title of the commands section in the Speech Commands window or nil if there is no title. Full Topic

func (SpeechRecognizer) SetListensInForegroundOnly

func (s_ SpeechRecognizer) SetListensInForegroundOnly(value bool)

A Boolean value that indicates whether the speech recognizer object should only enable its commands when its application is the frontmost one. Full Topic

func (SpeechRecognizer) StartListening

func (s_ SpeechRecognizer) StartListening()

Tells the speech recognition engine to begin listening for commands. Full Topic

func (SpeechRecognizer) StopListening

func (s_ SpeechRecognizer) StopListening()

Tells the speech recognition engine to suspend listening for commands. Full Topic

type SpeechRecognizerDelegate

type SpeechRecognizerDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PSpeechRecognizerDelegate protocol.

func (*SpeechRecognizerDelegate) HasSpeechRecognizerDidRecognizeCommand

func (di *SpeechRecognizerDelegate) HasSpeechRecognizerDidRecognizeCommand() bool

func (*SpeechRecognizerDelegate) SetSpeechRecognizerDidRecognizeCommand

func (di *SpeechRecognizerDelegate) SetSpeechRecognizerDidRecognizeCommand(f func(sender SpeechRecognizer, command string))

Invoked when the recognition engine has recognized the application command command. Full Topic

func (*SpeechRecognizerDelegate) SpeechRecognizerDidRecognizeCommand

func (di *SpeechRecognizerDelegate) SpeechRecognizerDidRecognizeCommand(sender SpeechRecognizer, command string)

Invoked when the recognition engine has recognized the application command command. Full Topic

type SpeechRecognizerDelegateWrapper

type SpeechRecognizerDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PSpeechRecognizerDelegate protocol.

func (SpeechRecognizerDelegateWrapper) HasSpeechRecognizerDidRecognizeCommand

func (s_ SpeechRecognizerDelegateWrapper) HasSpeechRecognizerDidRecognizeCommand() bool

func (SpeechRecognizerDelegateWrapper) SpeechRecognizerDidRecognizeCommand

func (s_ SpeechRecognizerDelegateWrapper) SpeechRecognizerDidRecognizeCommand(sender ISpeechRecognizer, command string)

Invoked when the recognition engine has recognized the application command command. Full Topic

type SpeechStatusKey

type SpeechStatusKey string

Keys for the speech synthesizier status. Full Topic

const (
	SpeechStatusNumberOfCharactersLeft SpeechStatusKey = "NumberOfCharactersLeft"
	SpeechStatusOutputBusy             SpeechStatusKey = "OutputBusy"
	SpeechStatusOutputPaused           SpeechStatusKey = "OutputPaused"
	SpeechStatusPhonemeCode            SpeechStatusKey = "PhonemeCode"
)

type SpeechSynthesizer

type SpeechSynthesizer struct {
	objc.Object
}

The Cocoa interface to speech synthesis in macOS. Full Topic

func NewSpeechSynthesizer

func NewSpeechSynthesizer() SpeechSynthesizer

func SpeechSynthesizerFrom

func SpeechSynthesizerFrom(ptr unsafe.Pointer) SpeechSynthesizer

func SpeechSynthesizer_Alloc

func SpeechSynthesizer_Alloc() SpeechSynthesizer

func (SpeechSynthesizer) Init

type SpeechSynthesizerDelegate

type SpeechSynthesizerDelegate struct {
}

A delegate implementation builder for the PSpeechSynthesizerDelegate protocol.

type SpeechSynthesizerDelegateWrapper

type SpeechSynthesizerDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PSpeechSynthesizerDelegate protocol.

type SpeechSynthesizerInfoKey

type SpeechSynthesizerInfoKey string

Keys for the speech synthesizier information. Full Topic

const (
	SpeechSynthesizerInfoIdentifier SpeechSynthesizerInfoKey = "Identifier"
	SpeechSynthesizerInfoVersion    SpeechSynthesizerInfoKey = "Version"
)

type SpeechSynthesizerVoiceName

type SpeechSynthesizerVoiceName string
[Full Topic]

type SpellChecker

type SpellChecker struct {
	objc.Object
}

An interface to the Cocoa spell-checking service. Full Topic

func NewSpellChecker

func NewSpellChecker() SpellChecker

func SpellCheckerFrom

func SpellCheckerFrom(ptr unsafe.Pointer) SpellChecker

func SpellChecker_Alloc

func SpellChecker_Alloc() SpellChecker

func SpellChecker_SharedSpellChecker

func SpellChecker_SharedSpellChecker() SpellChecker

Returns the NSSpellChecker (one per application). Full Topic

func (SpellChecker) AccessoryView

func (s_ SpellChecker) AccessoryView() View

Makes a view an accessory of the Spelling panel by making it a subview of the panel’s content view. Full Topic

func (SpellChecker) AutomaticallyIdentifiesLanguages

func (s_ SpellChecker) AutomaticallyIdentifiesLanguages() bool

Sets whether the spell checker will automatically identify languages. Full Topic

func (SpellChecker) AvailableLanguages

func (s_ SpellChecker) AvailableLanguages() []string

Provides a list of all available languages. Full Topic

func (SpellChecker) CheckGrammarOfStringStartingAtLanguageWrapInSpellDocumentWithTagDetails

func (s_ SpellChecker) CheckGrammarOfStringStartingAtLanguageWrapInSpellDocumentWithTagDetails(stringToCheck string, startingOffset int, language string, wrapFlag bool, tag int, details []map[string]objc.IObject) foundation.Range

Initiates a grammatical analysis of a given string. Full Topic

func (SpellChecker) CheckSpellingOfStringStartingAt

func (s_ SpellChecker) CheckSpellingOfStringStartingAt(stringToCheck string, startingOffset int) foundation.Range

Starts the search for a misspelled word in stringToCheck starting at startingOffset within the string object. Full Topic

func (SpellChecker) CheckStringRangeTypesOptionsInSpellDocumentWithTagOrthographyWordCount

func (s_ SpellChecker) CheckStringRangeTypesOptionsInSpellDocumentWithTagOrthographyWordCount(stringToCheck string, range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject, tag int, orthography foundation.IOrthography, wordCount *int) []foundation.TextCheckingResult

Requests unified text checking for the given range of the given string. Full Topic

func (SpellChecker) CloseSpellDocumentWithTag

func (s_ SpellChecker) CloseSpellDocumentWithTag(tag int)

Notifies the receiver that the user has finished with the tagged document. Full Topic

func (SpellChecker) CompletionsForPartialWordRangeInStringLanguageInSpellDocumentWithTag

func (s_ SpellChecker) CompletionsForPartialWordRangeInStringLanguageInSpellDocumentWithTag(range_ foundation.Range, string_ string, language string, tag int) []string

Provides a list of complete words that the user might be trying to type based on a partial word in a given string. Full Topic

func (SpellChecker) CorrectionForWordRangeInStringLanguageInSpellDocumentWithTag

func (s_ SpellChecker) CorrectionForWordRangeInStringLanguageInSpellDocumentWithTag(range_ foundation.Range, string_ string, language string, tag int) string

Returns a single proposed correction if a word is mis-spelled. Full Topic

func (SpellChecker) CountWordsInStringLanguage

func (s_ SpellChecker) CountWordsInStringLanguage(stringToCount string, language string) int

Returns the number of words in the specified string. Full Topic

func (SpellChecker) DeletesAutospaceBetweenStringAndStringLanguage

func (s_ SpellChecker) DeletesAutospaceBetweenStringAndStringLanguage(precedingString string, followingString string, language string) bool
[Full Topic]

func (SpellChecker) DismissCorrectionIndicatorForView

func (s_ SpellChecker) DismissCorrectionIndicatorForView(view IView)

Dismisses the correction indicator for the specified view. Full Topic

func (SpellChecker) GuessesForWordRangeInStringLanguageInSpellDocumentWithTag

func (s_ SpellChecker) GuessesForWordRangeInStringLanguageInSpellDocumentWithTag(range_ foundation.Range, string_ string, language string, tag int) []string

Returns an array of possible substitutions for the specified string. Full Topic

func (SpellChecker) HasLearnedWord

func (s_ SpellChecker) HasLearnedWord(word string) bool

Indicates whether the spell checker has learned a given word. Full Topic

func (SpellChecker) IgnoreWordInSpellDocumentWithTag

func (s_ SpellChecker) IgnoreWordInSpellDocumentWithTag(wordToIgnore string, tag int)

Instructs the spell checker to ignore all future occurrences of wordToIgnore in the document identified by tag. Full Topic

func (SpellChecker) IgnoredWordsInSpellDocumentWithTag

func (s_ SpellChecker) IgnoredWordsInSpellDocumentWithTag(tag int) []string

Returns the array of ignored words for a document identified by tag. Full Topic

func (SpellChecker) Init

func (s_ SpellChecker) Init() SpellChecker

func (SpellChecker) Language

func (s_ SpellChecker) Language() string

Returns the current language used in spell checking. Full Topic

func (SpellChecker) LanguageForWordRangeInStringOrthography

func (s_ SpellChecker) LanguageForWordRangeInStringOrthography(range_ foundation.Range, string_ string, orthography foundation.IOrthography) string
[Full Topic]

func (SpellChecker) LearnWord

func (s_ SpellChecker) LearnWord(word string)

Adds the word to the spell checker dictionary. Full Topic

func (SpellChecker) MenuForResultStringOptionsAtLocationInView

func (s_ SpellChecker) MenuForResultStringOptionsAtLocationInView(result foundation.ITextCheckingResult, checkedString string, options map[TextCheckingOptionKey]objc.IObject, location foundation.Point, view IView) Menu

Provides a menu containing contextual menu items suitable for certain kinds of detected results. Full Topic

func (SpellChecker) PreventsAutocorrectionBeforeStringLanguage

func (s_ SpellChecker) PreventsAutocorrectionBeforeStringLanguage(string_ string, language string) bool
[Full Topic]

func (SpellChecker) RecordResponseToCorrectionForWordLanguageInSpellDocumentWithTag

func (s_ SpellChecker) RecordResponseToCorrectionForWordLanguageInSpellDocumentWithTag(response CorrectionResponse, correction string, word string, language string, tag int)

Records the user response to the correction indicator being displayed. Full Topic

func (SpellChecker) RequestCandidatesForSelectedRangeInStringTypesOptionsInSpellDocumentWithTagCompletionHandler

func (s_ SpellChecker) RequestCandidatesForSelectedRangeInStringTypesOptionsInSpellDocumentWithTagCompletionHandler(selectedRange foundation.Range, stringToCheck string, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject, tag int, completionHandler func(sequenceNumber int, candidates []foundation.TextCheckingResult)) int
[Full Topic]

func (SpellChecker) RequestCheckingOfStringRangeTypesOptionsInSpellDocumentWithTagCompletionHandler

func (s_ SpellChecker) RequestCheckingOfStringRangeTypesOptionsInSpellDocumentWithTagCompletionHandler(stringToCheck string, range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject, tag int, completionHandler func(sequenceNumber int, results []foundation.TextCheckingResult, orthography foundation.Orthography, wordCount int)) int

Requests that the string be checked in the background. Full Topic

func (SpellChecker) SetAccessoryView

func (s_ SpellChecker) SetAccessoryView(value IView)

Makes a view an accessory of the Spelling panel by making it a subview of the panel’s content view. Full Topic

func (SpellChecker) SetAutomaticallyIdentifiesLanguages

func (s_ SpellChecker) SetAutomaticallyIdentifiesLanguages(value bool)

Sets whether the spell checker will automatically identify languages. Full Topic

func (SpellChecker) SetIgnoredWordsInSpellDocumentWithTag

func (s_ SpellChecker) SetIgnoredWordsInSpellDocumentWithTag(words []string, tag int)

Initializes the ignored-words document (a dictionary identified by tag with someWords), an array of words to ignore. Full Topic

func (SpellChecker) SetLanguage

func (s_ SpellChecker) SetLanguage(language string) bool

Returns whether the specified language is in the Spelling pop-up list. Full Topic

func (SpellChecker) SetSubstitutionsPanelAccessoryViewController

func (s_ SpellChecker) SetSubstitutionsPanelAccessoryViewController(value IViewController)

Sets the substitutions panel’s accessory view. Full Topic

func (SpellChecker) SetWordFieldStringValue

func (s_ SpellChecker) SetWordFieldStringValue(string_ string)

Sets the string that appears in the misspelled word field, using the string object aString. Full Topic

func (SpellChecker) ShowCorrectionIndicatorOfTypePrimaryStringAlternativeStringsForStringInRectViewCompletionHandler

func (s_ SpellChecker) ShowCorrectionIndicatorOfTypePrimaryStringAlternativeStringsForStringInRectViewCompletionHandler(type_ CorrectionIndicatorType, primaryString string, alternativeStrings []string, rectOfTypedString foundation.Rect, view IView, completionBlock func(acceptedString string))

Display a suitable user interface to indicate a correction may need to be made. Full Topic

func (SpellChecker) SpellingPanel

func (s_ SpellChecker) SpellingPanel() Panel

Returns the spell checker’s panel. Full Topic

func (SpellChecker) SubstitutionsPanel

func (s_ SpellChecker) SubstitutionsPanel() Panel

Returns the substitutions panel. Full Topic

func (SpellChecker) SubstitutionsPanelAccessoryViewController

func (s_ SpellChecker) SubstitutionsPanelAccessoryViewController() ViewController

Sets the substitutions panel’s accessory view. Full Topic

func (SpellChecker) UnlearnWord

func (s_ SpellChecker) UnlearnWord(word string)

Tells the spell checker to unlearn a given word. Full Topic

func (SpellChecker) UpdatePanels

func (s_ SpellChecker) UpdatePanels()

Updates the available panels to account for user changes. Full Topic

func (SpellChecker) UpdateSpellingPanelWithGrammarStringDetail

func (s_ SpellChecker) UpdateSpellingPanelWithGrammarStringDetail(string_ string, detail map[string]objc.IObject)

Specifies a grammar-analysis detail to highlight in the Spelling panel. Full Topic

func (SpellChecker) UpdateSpellingPanelWithMisspelledWord

func (s_ SpellChecker) UpdateSpellingPanelWithMisspelledWord(word string)

Causes the spell checker to update the Spelling panel’s misspelled-word field to reflect word. Full Topic

func (SpellChecker) UserPreferredLanguages

func (s_ SpellChecker) UserPreferredLanguages() []string

Provides a subset of the available languages to be used for spell checking. Full Topic

func (SpellChecker) UserQuotesArrayForLanguage

func (s_ SpellChecker) UserQuotesArrayForLanguage(language string) []string

Returns the default values for quote replacement. Full Topic

func (SpellChecker) UserReplacementsDictionary

func (s_ SpellChecker) UserReplacementsDictionary() map[string]string

Returns the dictionary used when replacing words. Full Topic

type SpellingState

type SpellingState int

Constants for the spelling state attribute key. Full Topic

const (
	SpellingStateGrammarFlag  SpellingState = 2
	SpellingStateSpellingFlag SpellingState = 1
)

type SplitView

type SplitView struct {
	View
}

A view that arranges two or more views in a linear stack running horizontally or vertically. Full Topic

func NewSplitView

func NewSplitView() SplitView

func NewSplitViewWithFrame

func NewSplitViewWithFrame(frameRect foundation.Rect) SplitView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func SplitViewFrom

func SplitViewFrom(ptr unsafe.Pointer) SplitView

func SplitView_Alloc

func SplitView_Alloc() SplitView

func (SplitView) AddArrangedSubview

func (s_ SplitView) AddArrangedSubview(view IView)

Adds a view as an arranged split pane. Full Topic

func (SplitView) AdjustSubviews

func (s_ SplitView) AdjustSubviews()

Adjusts the sizes of the split view’s subviews so they (plus the dividers) fill the split view. Full Topic

func (SplitView) ArrangedSubviews

func (s_ SplitView) ArrangedSubviews() []View

The array of views that the split view arranges as its split panes. Full Topic

func (SplitView) ArrangesAllSubviews

func (s_ SplitView) ArrangesAllSubviews() bool

A Boolean value that determines whether the split view arranges all of its subviews as split panes. Full Topic

func (SplitView) AutosaveName

func (s_ SplitView) AutosaveName() SplitViewAutosaveName

The name to use when the system automatically saves the split view’s divider configuration. Full Topic

func (SplitView) Delegate

func (s_ SplitView) Delegate() SplitViewDelegateWrapper

The split view’s delegate. Full Topic

func (SplitView) DividerColor

func (s_ SplitView) DividerColor() Color

The color of the dividers that the split view draws between subviews. Full Topic

func (SplitView) DividerStyle

func (s_ SplitView) DividerStyle() SplitViewDividerStyle

The style of divider between views. Full Topic

func (SplitView) DividerThickness

func (s_ SplitView) DividerThickness() float64

The thickness of the dividers for the split view. Full Topic

func (SplitView) DrawDividerInRect

func (s_ SplitView) DrawDividerInRect(rect foundation.Rect)

Draws a divider between two of the split view’s subviews. Full Topic

func (SplitView) HoldingPriorityForSubviewAtIndex

func (s_ SplitView) HoldingPriorityForSubviewAtIndex(subviewIndex int) LayoutPriority

Returns the priority of the subview’s width or height when resizing. Full Topic

func (SplitView) Init

func (s_ SplitView) Init() SplitView

func (SplitView) InitWithFrame

func (s_ SplitView) InitWithFrame(frameRect foundation.Rect) SplitView

func (SplitView) InsertArrangedSubviewAtIndex

func (s_ SplitView) InsertArrangedSubviewAtIndex(view IView, index int)

Adds a view as an arranged split pane at the specified index. Full Topic

func (SplitView) IsSubviewCollapsed

func (s_ SplitView) IsSubviewCollapsed(subview IView) bool

Returns whether the specified view is in a collapsed state. Full Topic

func (SplitView) IsVertical

func (s_ SplitView) IsVertical() bool

A Boolean value that determines the geometric orientation of the split view's dividers. Full Topic

func (SplitView) MaxPossiblePositionOfDividerAtIndex

func (s_ SplitView) MaxPossiblePositionOfDividerAtIndex(dividerIndex int) float64

Returns the maximum possible position of the divider at the specified index. Full Topic

func (SplitView) MinPossiblePositionOfDividerAtIndex

func (s_ SplitView) MinPossiblePositionOfDividerAtIndex(dividerIndex int) float64

Returns the minimum possible position of the divider at the specified index. Full Topic

func (SplitView) RemoveArrangedSubview

func (s_ SplitView) RemoveArrangedSubview(view IView)

Removes a view as an arranged split pane. Full Topic

func (SplitView) SetArrangesAllSubviews

func (s_ SplitView) SetArrangesAllSubviews(value bool)

A Boolean value that determines whether the split view arranges all of its subviews as split panes. Full Topic

func (SplitView) SetAutosaveName

func (s_ SplitView) SetAutosaveName(value SplitViewAutosaveName)

The name to use when the system automatically saves the split view’s divider configuration. Full Topic

func (SplitView) SetDelegate

func (s_ SplitView) SetDelegate(value PSplitViewDelegate)

The split view’s delegate. Full Topic

func (SplitView) SetDelegateObject

func (s_ SplitView) SetDelegateObject(valueObject objc.IObject)

The split view’s delegate. Full Topic

func (SplitView) SetDividerStyle

func (s_ SplitView) SetDividerStyle(value SplitViewDividerStyle)

The style of divider between views. Full Topic

func (SplitView) SetHoldingPriorityForSubviewAtIndex

func (s_ SplitView) SetHoldingPriorityForSubviewAtIndex(priority LayoutPriority, subviewIndex int)

Sets the priority for split view subviews to maintain their width or height. Full Topic

func (SplitView) SetPositionOfDividerAtIndex

func (s_ SplitView) SetPositionOfDividerAtIndex(position float64, dividerIndex int)

Updates the location of a divider you specify by index. Full Topic

func (SplitView) SetVertical

func (s_ SplitView) SetVertical(value bool)

A Boolean value that determines the geometric orientation of the split view's dividers. Full Topic

type SplitViewAutosaveName

type SplitViewAutosaveName string

The type that specifies the split view’s autosave name. Full Topic

type SplitViewController

type SplitViewController struct {
	ViewController
}

An object that manages an array of adjacent child views, and has a split view object for managing dividers between those views. Full Topic

func NewSplitViewController

func NewSplitViewController() SplitViewController

func NewSplitViewControllerWithNibNameBundle

func NewSplitViewControllerWithNibNameBundle(nibNameOrNil NibName, nibBundleOrNil foundation.IBundle) SplitViewController

Returns a view controller object initialized to the nib file in the specified bundle. Full Topic

func SplitViewControllerFrom

func SplitViewControllerFrom(ptr unsafe.Pointer) SplitViewController

func SplitViewController_Alloc

func SplitViewController_Alloc() SplitViewController

func (SplitViewController) AddSplitViewItem

func (s_ SplitViewController) AddSplitViewItem(splitViewItem ISplitViewItem)

Adds a split view item to the end of the array of split view items. Full Topic

func (SplitViewController) Init

func (SplitViewController) InitWithNibNameBundle

func (s_ SplitViewController) InitWithNibNameBundle(nibNameOrNil NibName, nibBundleOrNil foundation.IBundle) SplitViewController

func (SplitViewController) InsertSplitViewItemAtIndex

func (s_ SplitViewController) InsertSplitViewItemAtIndex(splitViewItem ISplitViewItem, index int)

Adds a split view item to the array of split view items at the specified index position. Full Topic

func (SplitViewController) MinimumThicknessForInlineSidebars

func (s_ SplitViewController) MinimumThicknessForInlineSidebars() float64

The minimum thickness for a sidebar before it automatically collapses. Full Topic

func (SplitViewController) RemoveSplitViewItem

func (s_ SplitViewController) RemoveSplitViewItem(splitViewItem ISplitViewItem)

Removes a specified split view item from the split view controller. Full Topic

func (SplitViewController) SetMinimumThicknessForInlineSidebars

func (s_ SplitViewController) SetMinimumThicknessForInlineSidebars(value float64)

The minimum thickness for a sidebar before it automatically collapses. Full Topic

func (SplitViewController) SetSplitView

func (s_ SplitViewController) SetSplitView(value ISplitView)

The split view that the split view controller manages. Full Topic

func (SplitViewController) SetSplitViewItems

func (s_ SplitViewController) SetSplitViewItems(value []ISplitViewItem)

The array of split view items that correspond to the split view controller’s child view controllers. Full Topic

func (SplitViewController) SplitView

func (s_ SplitViewController) SplitView() SplitView

The split view that the split view controller manages. Full Topic

func (SplitViewController) SplitViewItemForViewController

func (s_ SplitViewController) SplitViewItemForViewController(viewController IViewController) SplitViewItem

Returns the corresponding split view item for the specified child view controller of the split view controller. Full Topic

func (SplitViewController) SplitViewItems

func (s_ SplitViewController) SplitViewItems() []SplitViewItem

The array of split view items that correspond to the split view controller’s child view controllers. Full Topic

func (SplitViewController) ToggleSidebar

func (s_ SplitViewController) ToggleSidebar(sender objc.IObject) objc.Object

Collapses or expands the first sidebar in the split view controller using an animation. Full Topic

func (SplitViewController) ValidateUserInterfaceItem

func (s_ SplitViewController) ValidateUserInterfaceItem(item PValidatedUserInterfaceItem) bool

Returns a Boolean value that indicates whether to enable the specified item. Full Topic

func (SplitViewController) ValidateUserInterfaceItemObject

func (s_ SplitViewController) ValidateUserInterfaceItemObject(itemObject objc.IObject) bool

Returns a Boolean value that indicates whether to enable the specified item. Full Topic

type SplitViewDelegate

type SplitViewDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PSplitViewDelegate protocol.

func (*SplitViewDelegate) HasSplitViewDidResizeSubviews

func (di *SplitViewDelegate) HasSplitViewDidResizeSubviews() bool

func (*SplitViewDelegate) HasSplitViewShouldHideDividerAtIndex

func (di *SplitViewDelegate) HasSplitViewShouldHideDividerAtIndex() bool

func (*SplitViewDelegate) HasSplitViewWillResizeSubviews

func (di *SplitViewDelegate) HasSplitViewWillResizeSubviews() bool

func (*SplitViewDelegate) SetSplitViewDidResizeSubviews

func (di *SplitViewDelegate) SetSplitViewDidResizeSubviews(f func(notification foundation.Notification))

Notifies the delegate when the split view resizes its subviews. Full Topic

func (*SplitViewDelegate) SetSplitViewShouldHideDividerAtIndex

func (di *SplitViewDelegate) SetSplitViewShouldHideDividerAtIndex(f func(splitView SplitView, dividerIndex int) bool)

Allows the delegate to determine whether the user can drag a divider or adjust it off the edge of the split view. Full Topic

func (*SplitViewDelegate) SetSplitViewWillResizeSubviews

func (di *SplitViewDelegate) SetSplitViewWillResizeSubviews(f func(notification foundation.Notification))

Notifies the delegate when the split view is about to resize its subviews. Full Topic

func (*SplitViewDelegate) SplitViewDidResizeSubviews

func (di *SplitViewDelegate) SplitViewDidResizeSubviews(notification foundation.Notification)

Notifies the delegate when the split view resizes its subviews. Full Topic

func (*SplitViewDelegate) SplitViewShouldHideDividerAtIndex

func (di *SplitViewDelegate) SplitViewShouldHideDividerAtIndex(splitView SplitView, dividerIndex int) bool

Allows the delegate to determine whether the user can drag a divider or adjust it off the edge of the split view. Full Topic

func (*SplitViewDelegate) SplitViewWillResizeSubviews

func (di *SplitViewDelegate) SplitViewWillResizeSubviews(notification foundation.Notification)

Notifies the delegate when the split view is about to resize its subviews. Full Topic

type SplitViewDelegateWrapper

type SplitViewDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PSplitViewDelegate protocol.

func (SplitViewDelegateWrapper) HasSplitViewDidResizeSubviews

func (s_ SplitViewDelegateWrapper) HasSplitViewDidResizeSubviews() bool

func (SplitViewDelegateWrapper) HasSplitViewShouldHideDividerAtIndex

func (s_ SplitViewDelegateWrapper) HasSplitViewShouldHideDividerAtIndex() bool

func (SplitViewDelegateWrapper) HasSplitViewWillResizeSubviews

func (s_ SplitViewDelegateWrapper) HasSplitViewWillResizeSubviews() bool

func (SplitViewDelegateWrapper) SplitViewDidResizeSubviews

func (s_ SplitViewDelegateWrapper) SplitViewDidResizeSubviews(notification foundation.INotification)

Notifies the delegate when the split view resizes its subviews. Full Topic

func (SplitViewDelegateWrapper) SplitViewShouldHideDividerAtIndex

func (s_ SplitViewDelegateWrapper) SplitViewShouldHideDividerAtIndex(splitView ISplitView, dividerIndex int) bool

Allows the delegate to determine whether the user can drag a divider or adjust it off the edge of the split view. Full Topic

func (SplitViewDelegateWrapper) SplitViewWillResizeSubviews

func (s_ SplitViewDelegateWrapper) SplitViewWillResizeSubviews(notification foundation.INotification)

Notifies the delegate when the split view is about to resize its subviews. Full Topic

type SplitViewDividerStyle

type SplitViewDividerStyle int

Constants that specify the style of the split view’s dividers. Full Topic

const (
	SplitViewDividerStylePaneSplitter SplitViewDividerStyle = 3
	SplitViewDividerStyleThick        SplitViewDividerStyle = 1
	SplitViewDividerStyleThin         SplitViewDividerStyle = 2
)

type SplitViewItem

type SplitViewItem struct {
	objc.Object
}

An item in a split view controller. Full Topic

func NewSplitViewItem

func NewSplitViewItem() SplitViewItem

func SplitViewItemFrom

func SplitViewItemFrom(ptr unsafe.Pointer) SplitViewItem

func SplitViewItem_Alloc

func SplitViewItem_Alloc() SplitViewItem

func SplitViewItem_ContentListWithViewController

func SplitViewItem_ContentListWithViewController(viewController IViewController) SplitViewItem

Creates a split view item that represents a content list for the specified view controller. Full Topic

func SplitViewItem_SidebarWithViewController

func SplitViewItem_SidebarWithViewController(viewController IViewController) SplitViewItem

Creates a split view item that represents a sidebar for the specified view controller. Full Topic

func SplitViewItem_SplitViewItemWithViewController

func SplitViewItem_SplitViewItemWithViewController(viewController IViewController) SplitViewItem

Creates a split view item that represents the specified view controller. Full Topic

func (SplitViewItem) AllowsFullHeightLayout

func (s_ SplitViewItem) AllowsFullHeightLayout() bool

A Boolean value that indicates whether full-height sidebars appear in the window after you set a style mask. Full Topic

func (SplitViewItem) AutomaticMaximumThickness

func (s_ SplitViewItem) AutomaticMaximumThickness() float64

The maximum thickness of the split view item when it resizes due to automatic sizing. Full Topic

func (SplitViewItem) Behavior

func (s_ SplitViewItem) Behavior() SplitViewItemBehavior

The standard behavior type of the split view item. Full Topic

func (SplitViewItem) CanCollapse

func (s_ SplitViewItem) CanCollapse() bool

A Boolean value that determines whether a user interaction can collapse the child view controller that corresponds to the split view item. Full Topic

func (SplitViewItem) CollapseBehavior

func (s_ SplitViewItem) CollapseBehavior() SplitViewItemCollapseBehavior

The resizing behavior when the split view item toggles its collapsed state. Full Topic

func (SplitViewItem) HoldingPriority

func (s_ SplitViewItem) HoldingPriority() LayoutPriority

The priority for a split view item to hold its size. Full Topic

func (SplitViewItem) Init

func (s_ SplitViewItem) Init() SplitViewItem

func (SplitViewItem) IsCollapsed

func (s_ SplitViewItem) IsCollapsed() bool

A Boolean value that determines whether the child view controller that corresponds to the split view item is in a collapsed state in the split view controller. Full Topic

func (SplitViewItem) IsSpringLoaded

func (s_ SplitViewItem) IsSpringLoaded() bool

A Boolean value that determines whether the split view item can temporarily expand during a drag. Full Topic

func (SplitViewItem) MaximumThickness

func (s_ SplitViewItem) MaximumThickness() float64

The maximum thickness of the split view item. Full Topic

func (SplitViewItem) MinimumThickness

func (s_ SplitViewItem) MinimumThickness() float64

The minimum thickness of the split view item. Full Topic

func (SplitViewItem) PreferredThicknessFraction

func (s_ SplitViewItem) PreferredThicknessFraction() float64

The preferred thickness of the split view item relative to the split view. Full Topic

func (SplitViewItem) SetAllowsFullHeightLayout

func (s_ SplitViewItem) SetAllowsFullHeightLayout(value bool)

A Boolean value that indicates whether full-height sidebars appear in the window after you set a style mask. Full Topic

func (SplitViewItem) SetAutomaticMaximumThickness

func (s_ SplitViewItem) SetAutomaticMaximumThickness(value float64)

The maximum thickness of the split view item when it resizes due to automatic sizing. Full Topic

func (SplitViewItem) SetCanCollapse

func (s_ SplitViewItem) SetCanCollapse(value bool)

A Boolean value that determines whether a user interaction can collapse the child view controller that corresponds to the split view item. Full Topic

func (SplitViewItem) SetCollapseBehavior

func (s_ SplitViewItem) SetCollapseBehavior(value SplitViewItemCollapseBehavior)

The resizing behavior when the split view item toggles its collapsed state. Full Topic

func (SplitViewItem) SetCollapsed

func (s_ SplitViewItem) SetCollapsed(value bool)

A Boolean value that determines whether the child view controller that corresponds to the split view item is in a collapsed state in the split view controller. Full Topic

func (SplitViewItem) SetHoldingPriority

func (s_ SplitViewItem) SetHoldingPriority(value LayoutPriority)

The priority for a split view item to hold its size. Full Topic

func (SplitViewItem) SetMaximumThickness

func (s_ SplitViewItem) SetMaximumThickness(value float64)

The maximum thickness of the split view item. Full Topic

func (SplitViewItem) SetMinimumThickness

func (s_ SplitViewItem) SetMinimumThickness(value float64)

The minimum thickness of the split view item. Full Topic

func (SplitViewItem) SetPreferredThicknessFraction

func (s_ SplitViewItem) SetPreferredThicknessFraction(value float64)

The preferred thickness of the split view item relative to the split view. Full Topic

func (SplitViewItem) SetSpringLoaded

func (s_ SplitViewItem) SetSpringLoaded(value bool)

A Boolean value that determines whether the split view item can temporarily expand during a drag. Full Topic

func (SplitViewItem) SetTitlebarSeparatorStyle

func (s_ SplitViewItem) SetTitlebarSeparatorStyle(value TitlebarSeparatorStyle)

The type of separator that the app displays between the title bar and content of a window. Full Topic

func (SplitViewItem) SetViewController

func (s_ SplitViewItem) SetViewController(value IViewController)

The view controller that the split view item represents. Full Topic

func (SplitViewItem) TitlebarSeparatorStyle

func (s_ SplitViewItem) TitlebarSeparatorStyle() TitlebarSeparatorStyle

The type of separator that the app displays between the title bar and content of a window. Full Topic

func (SplitViewItem) ViewController

func (s_ SplitViewItem) ViewController() ViewController

The view controller that the split view item represents. Full Topic

type SplitViewItemBehavior

type SplitViewItemBehavior int

Constants that describe the behavior of the split view item. Full Topic

const (
	SplitViewItemBehaviorContentList SplitViewItemBehavior = 2
	SplitViewItemBehaviorDefault     SplitViewItemBehavior = 0
	SplitViewItemBehaviorSidebar     SplitViewItemBehavior = 1
)

type SplitViewItemCollapseBehavior

type SplitViewItemCollapseBehavior int

Constants that describe the split view item’s collapsing behavior. Full Topic

const (
	SplitViewItemCollapseBehaviorDefault                                  SplitViewItemCollapseBehavior = 0
	SplitViewItemCollapseBehaviorPreferResizingSiblingsWithFixedSplitView SplitViewItemCollapseBehavior = 2
	SplitViewItemCollapseBehaviorPreferResizingSplitViewWithFixedSiblings SplitViewItemCollapseBehavior = 1
	SplitViewItemCollapseBehaviorUseConstraints                           SplitViewItemCollapseBehavior = 3
)

type SpringLoadingDestinationWrapper

type SpringLoadingDestinationWrapper struct {
	objc.Object
}

A concrete type wrapper for the PSpringLoadingDestination protocol.

func (SpringLoadingDestinationWrapper) DraggingEnded

func (s_ SpringLoadingDestinationWrapper) DraggingEnded(draggingInfo PDraggingInfo)

Responds to the end of a drag operation. Full Topic

func (SpringLoadingDestinationWrapper) HasDraggingEnded

func (s_ SpringLoadingDestinationWrapper) HasDraggingEnded() bool

func (SpringLoadingDestinationWrapper) HasSpringLoadingActivatedDraggingInfo

func (s_ SpringLoadingDestinationWrapper) HasSpringLoadingActivatedDraggingInfo() bool

func (SpringLoadingDestinationWrapper) HasSpringLoadingEntered

func (s_ SpringLoadingDestinationWrapper) HasSpringLoadingEntered() bool

func (SpringLoadingDestinationWrapper) HasSpringLoadingExited

func (s_ SpringLoadingDestinationWrapper) HasSpringLoadingExited() bool

func (SpringLoadingDestinationWrapper) HasSpringLoadingHighlightChanged

func (s_ SpringLoadingDestinationWrapper) HasSpringLoadingHighlightChanged() bool

func (SpringLoadingDestinationWrapper) HasSpringLoadingUpdated

func (s_ SpringLoadingDestinationWrapper) HasSpringLoadingUpdated() bool

func (SpringLoadingDestinationWrapper) SpringLoadingActivatedDraggingInfo

func (s_ SpringLoadingDestinationWrapper) SpringLoadingActivatedDraggingInfo(activated bool, draggingInfo PDraggingInfo)

Responds to the activation or deactivation of spring-loading on a destination. Full Topic

func (SpringLoadingDestinationWrapper) SpringLoadingEntered

func (s_ SpringLoadingDestinationWrapper) SpringLoadingEntered(draggingInfo PDraggingInfo) SpringLoadingOptions

Returns whether to enable or disable spring-loading when a drag enters the bounds of the spring-loading destination. Full Topic

func (SpringLoadingDestinationWrapper) SpringLoadingExited

func (s_ SpringLoadingDestinationWrapper) SpringLoadingExited(draggingInfo PDraggingInfo)

Responds when a drag exits the bounds of the spring-loading destination. Full Topic

func (SpringLoadingDestinationWrapper) SpringLoadingHighlightChanged

func (s_ SpringLoadingDestinationWrapper) SpringLoadingHighlightChanged(draggingInfo PDraggingInfo)

Updates the destination’s user interface to display a new highlighting style during a spring-loading operation. Full Topic

func (SpringLoadingDestinationWrapper) SpringLoadingUpdated

func (s_ SpringLoadingDestinationWrapper) SpringLoadingUpdated(draggingInfo PDraggingInfo) SpringLoadingOptions

Returns whether to enable or disable spring-loading as a drag moves within the bounds of the spring-loading destination or draggingInfo changes during the drag. Full Topic

type SpringLoadingHighlight

type SpringLoadingHighlight int

A group of constants that indicate a highlighting style for your app’s user interface to display during a spring-loading operation. Full Topic

const (
	SpringLoadingHighlightEmphasized SpringLoadingHighlight = 2
	SpringLoadingHighlightNone       SpringLoadingHighlight = 0
	SpringLoadingHighlightStandard   SpringLoadingHighlight = 1
)

type SpringLoadingOptions

type SpringLoadingOptions uint

These constants denote the type of spring-loading behavior configured for the destination object. Full Topic

const (
	SpringLoadingContinuousActivation SpringLoadingOptions = 2
	SpringLoadingDisabled             SpringLoadingOptions = 0
	SpringLoadingEnabled              SpringLoadingOptions = 1
	SpringLoadingNoHover              SpringLoadingOptions = 8
)

type StackView

type StackView struct {
	View
}

A view that arranges an array of views horizontally or vertically and updates their placement and sizing when the window size changes. Full Topic

func NewHorizontalStackView

func NewHorizontalStackView() StackView

NewHorizontalStackView return a new horizontal StackView

func NewStackView

func NewStackView() StackView

func NewStackViewWithFrame

func NewStackViewWithFrame(frameRect foundation.Rect) StackView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func NewVerticalStackView

func NewVerticalStackView() StackView

NewVerticalStackView return a new vertical StackView

func StackViewFrom

func StackViewFrom(ptr unsafe.Pointer) StackView

func StackView_Alloc

func StackView_Alloc() StackView

func StackView_StackViewWithViews

func StackView_StackViewWithViews(views []IView) StackView

Creates and returns a stack view with a specified array of views. Full Topic

func (StackView) AddArrangedSubview

func (s_ StackView) AddArrangedSubview(view IView)

Adds the specified view to the end of the arranged subviews list. Full Topic

func (StackView) AddViewInGravity

func (s_ StackView) AddViewInGravity(view IView, gravity StackViewGravity)

Adds a view to the end of the stack view gravity area. Full Topic

func (StackView) Alignment

func (s_ StackView) Alignment() LayoutAttribute

The view alignment within the stack view. Full Topic

func (StackView) ArrangedSubviews

func (s_ StackView) ArrangedSubviews() []View

The array of views arranged by the stack view. Full Topic

func (StackView) ClippingResistancePriorityForOrientation

func (s_ StackView) ClippingResistancePriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority

Returns the Auto Layout priority for resisting clipping of views in the stack view when Auto Layout attempts to reduce the stack view’s size. Full Topic

func (StackView) CustomSpacingAfterView

func (s_ StackView) CustomSpacingAfterView(view IView) float64

Returns the custom spacing, in points, between a specified view in the stack view and the view that follows it. Full Topic

func (StackView) Delegate

func (s_ StackView) Delegate() StackViewDelegateWrapper

The delegate object for the stack view. Full Topic

func (StackView) DetachedViews

func (s_ StackView) DetachedViews() []View

An array that contains the detached views from all the stack view’s gravity areas. Full Topic

func (StackView) DetachesHiddenViews

func (s_ StackView) DetachesHiddenViews() bool

A Boolean value that indicates whether the stack view removes hidden views from its view hierarchy. Full Topic

func (StackView) Distribution

func (s_ StackView) Distribution() StackViewDistribution
[Full Topic]

func (StackView) EdgeInsets

func (s_ StackView) EdgeInsets() foundation.EdgeInsets

The geometric padding, in points, inside the stack view, surrounding its views. Full Topic

func (StackView) HuggingPriorityForOrientation

func (s_ StackView) HuggingPriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority

Returns the Auto Layout priority for the stack view to minimize its size to fit its contained views as closely as possible, for a specified user interface axis. Full Topic

func (StackView) Init

func (s_ StackView) Init() StackView

func (StackView) InitWithFrame

func (s_ StackView) InitWithFrame(frameRect foundation.Rect) StackView

func (StackView) InsertArrangedSubviewAtIndex

func (s_ StackView) InsertArrangedSubviewAtIndex(view IView, index int)

Adds the provided view to the array of arranged subviews at the specified index. Full Topic

func (StackView) InsertViewAtIndexInGravity

func (s_ StackView) InsertViewAtIndexInGravity(view IView, index uint, gravity StackViewGravity)

Adds a view to a stack view gravity area at a specified index position. Full Topic

func (StackView) Orientation

func (s_ StackView) Orientation() UserInterfaceLayoutOrientation

The horizontal or vertical layout direction of the stack view. Full Topic

func (StackView) RemoveArrangedSubview

func (s_ StackView) RemoveArrangedSubview(view IView)

Removes the provided view from the stack’s array of arranged subviews. Full Topic

func (StackView) RemoveView

func (s_ StackView) RemoveView(view IView)

Removes a specified view from the stack view. Full Topic

func (StackView) SetAlignment

func (s_ StackView) SetAlignment(value LayoutAttribute)

The view alignment within the stack view. Full Topic

func (StackView) SetClippingResistancePriorityForOrientation

func (s_ StackView) SetClippingResistancePriorityForOrientation(clippingResistancePriority LayoutPriority, orientation LayoutConstraintOrientation)

Sets the Auto Layout priority for resisting clipping of views in the stack view when Auto Layout attempts to reduce the stack view’s size. Full Topic

func (StackView) SetCustomSpacingAfterView

func (s_ StackView) SetCustomSpacingAfterView(spacing float64, view IView)

Specifies the custom spacing, in points, between a specified view and the view that follows it in the stack view. Full Topic

func (StackView) SetDelegate

func (s_ StackView) SetDelegate(value PStackViewDelegate)

The delegate object for the stack view. Full Topic

func (StackView) SetDelegateObject

func (s_ StackView) SetDelegateObject(valueObject objc.IObject)

The delegate object for the stack view. Full Topic

func (StackView) SetDetachesHiddenViews

func (s_ StackView) SetDetachesHiddenViews(value bool)

A Boolean value that indicates whether the stack view removes hidden views from its view hierarchy. Full Topic

func (StackView) SetDistribution

func (s_ StackView) SetDistribution(value StackViewDistribution)
[Full Topic]

func (StackView) SetEdgeInsets

func (s_ StackView) SetEdgeInsets(value foundation.EdgeInsets)

The geometric padding, in points, inside the stack view, surrounding its views. Full Topic

func (StackView) SetHuggingPriorityForOrientation

func (s_ StackView) SetHuggingPriorityForOrientation(huggingPriority LayoutPriority, orientation LayoutConstraintOrientation)

Sets the Auto Layout priority for the stack view to minimize its size, for a specified user interface axis. Full Topic

func (StackView) SetOrientation

func (s_ StackView) SetOrientation(value UserInterfaceLayoutOrientation)

The horizontal or vertical layout direction of the stack view. Full Topic

func (StackView) SetSpacing

func (s_ StackView) SetSpacing(value float64)

The minimum spacing, in points, between adjacent views in the stack view. Full Topic

func (StackView) SetViewsInGravity

func (s_ StackView) SetViewsInGravity(views []IView, gravity StackViewGravity)

Specifies an array of views for a specified gravity area in the stack view, replacing any previous views in that area. Full Topic

func (StackView) SetVisibilityPriorityForView

func (s_ StackView) SetVisibilityPriorityForView(priority StackViewVisibilityPriority, view IView)

Sets the Auto Layout priority for a view to remain attached to the stack view when Auto Layout reduces the stack view’s size. Full Topic

func (StackView) Spacing

func (s_ StackView) Spacing() float64

The minimum spacing, in points, between adjacent views in the stack view. Full Topic

func (StackView) Views

func (s_ StackView) Views() []View

The array of views owned by the stack view. Full Topic

func (StackView) ViewsInGravity

func (s_ StackView) ViewsInGravity(gravity StackViewGravity) []View

Returns the array of views in the specified gravity area in the stack view. Full Topic

func (StackView) VisibilityPriorityForView

func (s_ StackView) VisibilityPriorityForView(view IView) StackViewVisibilityPriority

Returns the visibility priority for a specified view in the stack view. Full Topic

type StackViewDelegate

type StackViewDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PStackViewDelegate protocol.

func (*StackViewDelegate) HasStackViewDidReattachViews

func (di *StackViewDelegate) HasStackViewDidReattachViews() bool

func (*StackViewDelegate) SetStackViewDidReattachViews

func (di *StackViewDelegate) SetStackViewDidReattachViews(f func(stackView StackView, views []View))

Called when the stack view has automatically reattached one or more previously-detached views. Full Topic

func (*StackViewDelegate) StackViewDidReattachViews

func (di *StackViewDelegate) StackViewDidReattachViews(stackView StackView, views []View)

Called when the stack view has automatically reattached one or more previously-detached views. Full Topic

type StackViewDelegateWrapper

type StackViewDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PStackViewDelegate protocol.

func (StackViewDelegateWrapper) HasStackViewDidReattachViews

func (s_ StackViewDelegateWrapper) HasStackViewDidReattachViews() bool

func (StackViewDelegateWrapper) StackViewDidReattachViews

func (s_ StackViewDelegateWrapper) StackViewDidReattachViews(stackView IStackView, views []IView)

Called when the stack view has automatically reattached one or more previously-detached views. Full Topic

type StackViewDistribution

type StackViewDistribution int
[Full Topic]
const (
	StackViewDistributionEqualCentering     StackViewDistribution = 4
	StackViewDistributionEqualSpacing       StackViewDistribution = 3
	StackViewDistributionFill               StackViewDistribution = 0
	StackViewDistributionFillEqually        StackViewDistribution = 1
	StackViewDistributionFillProportionally StackViewDistribution = 2
	StackViewDistributionGravityAreas       StackViewDistribution = -1
)

type StackViewGravity

type StackViewGravity int

The gravity areas available in a stack view. Full Topic

const (
	StackViewGravityBottom   StackViewGravity = 3
	StackViewGravityCenter   StackViewGravity = 2
	StackViewGravityLeading  StackViewGravity = 1
	StackViewGravityTop      StackViewGravity = 1
	StackViewGravityTrailing StackViewGravity = 3
)

type StackViewVisibilityPriority

type StackViewVisibilityPriority float64

The various Auto Layout priorities for a view in the stack view to remain attached. Full Topic

const (
	StackViewVisibilityPriorityDetachOnlyIfNecessary StackViewVisibilityPriority = 900.000000
	StackViewVisibilityPriorityMustHold              StackViewVisibilityPriority = 1000.000000
	StackViewVisibilityPriorityNotVisible            StackViewVisibilityPriority = 0.000000
)

type StandardKeyBindingRespondingWrapper

type StandardKeyBindingRespondingWrapper struct {
	objc.Object
}

A concrete type wrapper for the PStandardKeyBindingResponding protocol.

func (StandardKeyBindingRespondingWrapper) CancelOperation

func (s_ StandardKeyBindingRespondingWrapper) CancelOperation(sender objc.IObject)

Cancels the current operation. Full Topic

func (StandardKeyBindingRespondingWrapper) CapitalizeWord

func (s_ StandardKeyBindingRespondingWrapper) CapitalizeWord(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) CenterSelectionInVisibleArea

func (s_ StandardKeyBindingRespondingWrapper) CenterSelectionInVisibleArea(sender objc.IObject)

Moves the visible content region so the current selection is visually centered. Full Topic

func (StandardKeyBindingRespondingWrapper) ChangeCaseOfLetter

func (s_ StandardKeyBindingRespondingWrapper) ChangeCaseOfLetter(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) Complete

func (s_ StandardKeyBindingRespondingWrapper) Complete(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) DeleteBackward

func (s_ StandardKeyBindingRespondingWrapper) DeleteBackward(sender objc.IObject)

Deletes content moving backward from the current insertion point. Full Topic

func (StandardKeyBindingRespondingWrapper) DeleteBackwardByDecomposingPreviousCharacter

func (s_ StandardKeyBindingRespondingWrapper) DeleteBackwardByDecomposingPreviousCharacter(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) DeleteForward

func (s_ StandardKeyBindingRespondingWrapper) DeleteForward(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) DeleteToBeginningOfLine

func (s_ StandardKeyBindingRespondingWrapper) DeleteToBeginningOfLine(sender objc.IObject)

Deletes content from the insertion point to the beginning of the current line. Full Topic

func (StandardKeyBindingRespondingWrapper) DeleteToBeginningOfParagraph

func (s_ StandardKeyBindingRespondingWrapper) DeleteToBeginningOfParagraph(sender objc.IObject)

Deletes content from the insertion point to the beginning of the current paragraph. Full Topic

func (StandardKeyBindingRespondingWrapper) DeleteToEndOfLine

func (s_ StandardKeyBindingRespondingWrapper) DeleteToEndOfLine(sender objc.IObject)

Deletes content from the insertion point to the end of the current line. Full Topic

func (StandardKeyBindingRespondingWrapper) DeleteToEndOfParagraph

func (s_ StandardKeyBindingRespondingWrapper) DeleteToEndOfParagraph(sender objc.IObject)

Deletes content from the insertion point to the end of the current paragraph. Full Topic

func (StandardKeyBindingRespondingWrapper) DeleteToMark

func (s_ StandardKeyBindingRespondingWrapper) DeleteToMark(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) DeleteWordBackward

func (s_ StandardKeyBindingRespondingWrapper) DeleteWordBackward(sender objc.IObject)

Deletes the word preceding the current insertion point. Full Topic

func (StandardKeyBindingRespondingWrapper) DeleteWordForward

func (s_ StandardKeyBindingRespondingWrapper) DeleteWordForward(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) DoCommandBySelector

func (s_ StandardKeyBindingRespondingWrapper) DoCommandBySelector(selector objc.Selector)

Performs the given selector if possible. Full Topic

func (StandardKeyBindingRespondingWrapper) HasCancelOperation

func (s_ StandardKeyBindingRespondingWrapper) HasCancelOperation() bool

func (StandardKeyBindingRespondingWrapper) HasCapitalizeWord

func (s_ StandardKeyBindingRespondingWrapper) HasCapitalizeWord() bool

func (StandardKeyBindingRespondingWrapper) HasCenterSelectionInVisibleArea

func (s_ StandardKeyBindingRespondingWrapper) HasCenterSelectionInVisibleArea() bool

func (StandardKeyBindingRespondingWrapper) HasChangeCaseOfLetter

func (s_ StandardKeyBindingRespondingWrapper) HasChangeCaseOfLetter() bool

func (StandardKeyBindingRespondingWrapper) HasComplete

func (s_ StandardKeyBindingRespondingWrapper) HasComplete() bool

func (StandardKeyBindingRespondingWrapper) HasDeleteBackward

func (s_ StandardKeyBindingRespondingWrapper) HasDeleteBackward() bool

func (StandardKeyBindingRespondingWrapper) HasDeleteBackwardByDecomposingPreviousCharacter

func (s_ StandardKeyBindingRespondingWrapper) HasDeleteBackwardByDecomposingPreviousCharacter() bool

func (StandardKeyBindingRespondingWrapper) HasDeleteForward

func (s_ StandardKeyBindingRespondingWrapper) HasDeleteForward() bool

func (StandardKeyBindingRespondingWrapper) HasDeleteToBeginningOfLine

func (s_ StandardKeyBindingRespondingWrapper) HasDeleteToBeginningOfLine() bool

func (StandardKeyBindingRespondingWrapper) HasDeleteToBeginningOfParagraph

func (s_ StandardKeyBindingRespondingWrapper) HasDeleteToBeginningOfParagraph() bool

func (StandardKeyBindingRespondingWrapper) HasDeleteToEndOfLine

func (s_ StandardKeyBindingRespondingWrapper) HasDeleteToEndOfLine() bool

func (StandardKeyBindingRespondingWrapper) HasDeleteToEndOfParagraph

func (s_ StandardKeyBindingRespondingWrapper) HasDeleteToEndOfParagraph() bool

func (StandardKeyBindingRespondingWrapper) HasDeleteToMark

func (s_ StandardKeyBindingRespondingWrapper) HasDeleteToMark() bool

func (StandardKeyBindingRespondingWrapper) HasDeleteWordBackward

func (s_ StandardKeyBindingRespondingWrapper) HasDeleteWordBackward() bool

func (StandardKeyBindingRespondingWrapper) HasDeleteWordForward

func (s_ StandardKeyBindingRespondingWrapper) HasDeleteWordForward() bool

func (StandardKeyBindingRespondingWrapper) HasDoCommandBySelector

func (s_ StandardKeyBindingRespondingWrapper) HasDoCommandBySelector() bool

func (StandardKeyBindingRespondingWrapper) HasIndent

func (StandardKeyBindingRespondingWrapper) HasInsertBacktab

func (s_ StandardKeyBindingRespondingWrapper) HasInsertBacktab() bool

func (StandardKeyBindingRespondingWrapper) HasInsertContainerBreak

func (s_ StandardKeyBindingRespondingWrapper) HasInsertContainerBreak() bool

func (StandardKeyBindingRespondingWrapper) HasInsertDoubleQuoteIgnoringSubstitution

func (s_ StandardKeyBindingRespondingWrapper) HasInsertDoubleQuoteIgnoringSubstitution() bool

func (StandardKeyBindingRespondingWrapper) HasInsertLineBreak

func (s_ StandardKeyBindingRespondingWrapper) HasInsertLineBreak() bool

func (StandardKeyBindingRespondingWrapper) HasInsertNewline

func (s_ StandardKeyBindingRespondingWrapper) HasInsertNewline() bool

func (StandardKeyBindingRespondingWrapper) HasInsertNewlineIgnoringFieldEditor

func (s_ StandardKeyBindingRespondingWrapper) HasInsertNewlineIgnoringFieldEditor() bool

func (StandardKeyBindingRespondingWrapper) HasInsertParagraphSeparator

func (s_ StandardKeyBindingRespondingWrapper) HasInsertParagraphSeparator() bool

func (StandardKeyBindingRespondingWrapper) HasInsertSingleQuoteIgnoringSubstitution

func (s_ StandardKeyBindingRespondingWrapper) HasInsertSingleQuoteIgnoringSubstitution() bool

func (StandardKeyBindingRespondingWrapper) HasInsertTab

func (s_ StandardKeyBindingRespondingWrapper) HasInsertTab() bool

func (StandardKeyBindingRespondingWrapper) HasInsertTabIgnoringFieldEditor

func (s_ StandardKeyBindingRespondingWrapper) HasInsertTabIgnoringFieldEditor() bool

func (StandardKeyBindingRespondingWrapper) HasInsertText

func (s_ StandardKeyBindingRespondingWrapper) HasInsertText() bool

func (StandardKeyBindingRespondingWrapper) HasLowercaseWord

func (s_ StandardKeyBindingRespondingWrapper) HasLowercaseWord() bool

func (StandardKeyBindingRespondingWrapper) HasMakeBaseWritingDirectionLeftToRight

func (s_ StandardKeyBindingRespondingWrapper) HasMakeBaseWritingDirectionLeftToRight() bool

func (StandardKeyBindingRespondingWrapper) HasMakeBaseWritingDirectionNatural

func (s_ StandardKeyBindingRespondingWrapper) HasMakeBaseWritingDirectionNatural() bool

func (StandardKeyBindingRespondingWrapper) HasMakeBaseWritingDirectionRightToLeft

func (s_ StandardKeyBindingRespondingWrapper) HasMakeBaseWritingDirectionRightToLeft() bool

func (StandardKeyBindingRespondingWrapper) HasMakeTextWritingDirectionLeftToRight

func (s_ StandardKeyBindingRespondingWrapper) HasMakeTextWritingDirectionLeftToRight() bool

func (StandardKeyBindingRespondingWrapper) HasMakeTextWritingDirectionNatural

func (s_ StandardKeyBindingRespondingWrapper) HasMakeTextWritingDirectionNatural() bool

func (StandardKeyBindingRespondingWrapper) HasMakeTextWritingDirectionRightToLeft

func (s_ StandardKeyBindingRespondingWrapper) HasMakeTextWritingDirectionRightToLeft() bool

func (StandardKeyBindingRespondingWrapper) HasMoveBackward

func (s_ StandardKeyBindingRespondingWrapper) HasMoveBackward() bool

func (StandardKeyBindingRespondingWrapper) HasMoveBackwardAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveBackwardAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveDown

func (s_ StandardKeyBindingRespondingWrapper) HasMoveDown() bool

func (StandardKeyBindingRespondingWrapper) HasMoveDownAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveDownAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveForward

func (s_ StandardKeyBindingRespondingWrapper) HasMoveForward() bool

func (StandardKeyBindingRespondingWrapper) HasMoveForwardAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveForwardAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveLeft

func (s_ StandardKeyBindingRespondingWrapper) HasMoveLeft() bool

func (StandardKeyBindingRespondingWrapper) HasMoveLeftAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveLeftAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveParagraphBackwardAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveParagraphBackwardAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveParagraphForwardAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveParagraphForwardAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveRight

func (s_ StandardKeyBindingRespondingWrapper) HasMoveRight() bool

func (StandardKeyBindingRespondingWrapper) HasMoveRightAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveRightAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToBeginningOfDocument

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToBeginningOfDocument() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToBeginningOfDocumentAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToBeginningOfDocumentAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToBeginningOfLine

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToBeginningOfLine() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToBeginningOfLineAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToBeginningOfLineAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToBeginningOfParagraph

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToBeginningOfParagraph() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToBeginningOfParagraphAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToBeginningOfParagraphAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToEndOfDocument

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToEndOfDocument() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToEndOfDocumentAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToEndOfDocumentAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToEndOfLine

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToEndOfLine() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToEndOfLineAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToEndOfLineAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToEndOfParagraph

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToEndOfParagraph() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToEndOfParagraphAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToEndOfParagraphAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToLeftEndOfLine

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToLeftEndOfLine() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToLeftEndOfLineAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToLeftEndOfLineAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToRightEndOfLine

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToRightEndOfLine() bool

func (StandardKeyBindingRespondingWrapper) HasMoveToRightEndOfLineAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveToRightEndOfLineAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveUp

func (StandardKeyBindingRespondingWrapper) HasMoveUpAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveUpAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveWordBackward

func (s_ StandardKeyBindingRespondingWrapper) HasMoveWordBackward() bool

func (StandardKeyBindingRespondingWrapper) HasMoveWordBackwardAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveWordBackwardAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveWordForward

func (s_ StandardKeyBindingRespondingWrapper) HasMoveWordForward() bool

func (StandardKeyBindingRespondingWrapper) HasMoveWordForwardAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveWordForwardAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveWordLeft

func (s_ StandardKeyBindingRespondingWrapper) HasMoveWordLeft() bool

func (StandardKeyBindingRespondingWrapper) HasMoveWordLeftAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveWordLeftAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasMoveWordRight

func (s_ StandardKeyBindingRespondingWrapper) HasMoveWordRight() bool

func (StandardKeyBindingRespondingWrapper) HasMoveWordRightAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasMoveWordRightAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasPageDown

func (s_ StandardKeyBindingRespondingWrapper) HasPageDown() bool

func (StandardKeyBindingRespondingWrapper) HasPageDownAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasPageDownAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasPageUp

func (StandardKeyBindingRespondingWrapper) HasPageUpAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) HasPageUpAndModifySelection() bool

func (StandardKeyBindingRespondingWrapper) HasQuickLookPreviewItems

func (s_ StandardKeyBindingRespondingWrapper) HasQuickLookPreviewItems() bool

func (StandardKeyBindingRespondingWrapper) HasScrollLineDown

func (s_ StandardKeyBindingRespondingWrapper) HasScrollLineDown() bool

func (StandardKeyBindingRespondingWrapper) HasScrollLineUp

func (s_ StandardKeyBindingRespondingWrapper) HasScrollLineUp() bool

func (StandardKeyBindingRespondingWrapper) HasScrollPageDown

func (s_ StandardKeyBindingRespondingWrapper) HasScrollPageDown() bool

func (StandardKeyBindingRespondingWrapper) HasScrollPageUp

func (s_ StandardKeyBindingRespondingWrapper) HasScrollPageUp() bool

func (StandardKeyBindingRespondingWrapper) HasScrollToBeginningOfDocument

func (s_ StandardKeyBindingRespondingWrapper) HasScrollToBeginningOfDocument() bool

func (StandardKeyBindingRespondingWrapper) HasScrollToEndOfDocument

func (s_ StandardKeyBindingRespondingWrapper) HasScrollToEndOfDocument() bool

func (StandardKeyBindingRespondingWrapper) HasSelectAll

func (s_ StandardKeyBindingRespondingWrapper) HasSelectAll() bool

func (StandardKeyBindingRespondingWrapper) HasSelectLine

func (s_ StandardKeyBindingRespondingWrapper) HasSelectLine() bool

func (StandardKeyBindingRespondingWrapper) HasSelectParagraph

func (s_ StandardKeyBindingRespondingWrapper) HasSelectParagraph() bool

func (StandardKeyBindingRespondingWrapper) HasSelectToMark

func (s_ StandardKeyBindingRespondingWrapper) HasSelectToMark() bool

func (StandardKeyBindingRespondingWrapper) HasSelectWord

func (s_ StandardKeyBindingRespondingWrapper) HasSelectWord() bool

func (StandardKeyBindingRespondingWrapper) HasSetMark

func (s_ StandardKeyBindingRespondingWrapper) HasSetMark() bool

func (StandardKeyBindingRespondingWrapper) HasSwapWithMark

func (s_ StandardKeyBindingRespondingWrapper) HasSwapWithMark() bool

func (StandardKeyBindingRespondingWrapper) HasTranspose

func (s_ StandardKeyBindingRespondingWrapper) HasTranspose() bool

func (StandardKeyBindingRespondingWrapper) HasTransposeWords

func (s_ StandardKeyBindingRespondingWrapper) HasTransposeWords() bool

func (StandardKeyBindingRespondingWrapper) HasUppercaseWord

func (s_ StandardKeyBindingRespondingWrapper) HasUppercaseWord() bool

func (StandardKeyBindingRespondingWrapper) HasYank

func (StandardKeyBindingRespondingWrapper) Indent

Indents the content at the current selection. Full Topic

func (StandardKeyBindingRespondingWrapper) InsertBacktab

func (s_ StandardKeyBindingRespondingWrapper) InsertBacktab(sender objc.IObject)

Inserts a backtab character. Full Topic

func (StandardKeyBindingRespondingWrapper) InsertContainerBreak

func (s_ StandardKeyBindingRespondingWrapper) InsertContainerBreak(sender objc.IObject)

Inserts a container break, such as a new page break. Full Topic

func (StandardKeyBindingRespondingWrapper) InsertDoubleQuoteIgnoringSubstitution

func (s_ StandardKeyBindingRespondingWrapper) InsertDoubleQuoteIgnoringSubstitution(sender objc.IObject)

Inserts a double quotation mark without substituting a curly quotation mark. Full Topic

func (StandardKeyBindingRespondingWrapper) InsertLineBreak

func (s_ StandardKeyBindingRespondingWrapper) InsertLineBreak(sender objc.IObject)

Inserts a line break character. Full Topic

func (StandardKeyBindingRespondingWrapper) InsertNewline

func (s_ StandardKeyBindingRespondingWrapper) InsertNewline(sender objc.IObject)

Inserts a newline character. Full Topic

func (StandardKeyBindingRespondingWrapper) InsertNewlineIgnoringFieldEditor

func (s_ StandardKeyBindingRespondingWrapper) InsertNewlineIgnoringFieldEditor(sender objc.IObject)

Inserts a newline character without invoking the field editor’s normal handling to end editing. Full Topic

func (StandardKeyBindingRespondingWrapper) InsertParagraphSeparator

func (s_ StandardKeyBindingRespondingWrapper) InsertParagraphSeparator(sender objc.IObject)

Inserts a paragraph separator. Full Topic

func (StandardKeyBindingRespondingWrapper) InsertSingleQuoteIgnoringSubstitution

func (s_ StandardKeyBindingRespondingWrapper) InsertSingleQuoteIgnoringSubstitution(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) InsertTab

func (s_ StandardKeyBindingRespondingWrapper) InsertTab(sender objc.IObject)

Inserts a tab character. Full Topic

func (StandardKeyBindingRespondingWrapper) InsertTabIgnoringFieldEditor

func (s_ StandardKeyBindingRespondingWrapper) InsertTabIgnoringFieldEditor(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) InsertText

func (s_ StandardKeyBindingRespondingWrapper) InsertText(insertString objc.IObject)

Inserts the text you specify. Full Topic

func (StandardKeyBindingRespondingWrapper) LowercaseWord

func (s_ StandardKeyBindingRespondingWrapper) LowercaseWord(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MakeBaseWritingDirectionLeftToRight

func (s_ StandardKeyBindingRespondingWrapper) MakeBaseWritingDirectionLeftToRight(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MakeBaseWritingDirectionNatural

func (s_ StandardKeyBindingRespondingWrapper) MakeBaseWritingDirectionNatural(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MakeBaseWritingDirectionRightToLeft

func (s_ StandardKeyBindingRespondingWrapper) MakeBaseWritingDirectionRightToLeft(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MakeTextWritingDirectionLeftToRight

func (s_ StandardKeyBindingRespondingWrapper) MakeTextWritingDirectionLeftToRight(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MakeTextWritingDirectionNatural

func (s_ StandardKeyBindingRespondingWrapper) MakeTextWritingDirectionNatural(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MakeTextWritingDirectionRightToLeft

func (s_ StandardKeyBindingRespondingWrapper) MakeTextWritingDirectionRightToLeft(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveBackward

func (s_ StandardKeyBindingRespondingWrapper) MoveBackward(sender objc.IObject)

Moves the insertion pointer backward in the current content. Full Topic

func (StandardKeyBindingRespondingWrapper) MoveBackwardAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveBackwardAndModifySelection(sender objc.IObject)

Extends the selection to include the content before the current selection. Full Topic

func (StandardKeyBindingRespondingWrapper) MoveDown

func (s_ StandardKeyBindingRespondingWrapper) MoveDown(sender objc.IObject)

Moves the insertion pointer down in the current content. Full Topic

func (StandardKeyBindingRespondingWrapper) MoveDownAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveDownAndModifySelection(sender objc.IObject)

Extends the selection to include the content below the current selection. Full Topic

func (StandardKeyBindingRespondingWrapper) MoveForward

func (s_ StandardKeyBindingRespondingWrapper) MoveForward(sender objc.IObject)

Moves the insertion pointer forward in the current content. Full Topic

func (StandardKeyBindingRespondingWrapper) MoveForwardAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveForwardAndModifySelection(sender objc.IObject)

Extends the selection to include the content after the current selection. Full Topic

func (StandardKeyBindingRespondingWrapper) MoveLeft

func (s_ StandardKeyBindingRespondingWrapper) MoveLeft(sender objc.IObject)

Moves the insertion pointer left in the current content. Full Topic

func (StandardKeyBindingRespondingWrapper) MoveLeftAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveLeftAndModifySelection(sender objc.IObject)

Extends the selection to include the content to the left of the current selection. Full Topic

func (StandardKeyBindingRespondingWrapper) MoveParagraphBackwardAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveParagraphBackwardAndModifySelection(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveParagraphForwardAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveParagraphForwardAndModifySelection(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveRight

func (s_ StandardKeyBindingRespondingWrapper) MoveRight(sender objc.IObject)

Moves the insertion pointer right in the current content. Full Topic

func (StandardKeyBindingRespondingWrapper) MoveRightAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveRightAndModifySelection(sender objc.IObject)

Extends the selection to include the content to the right of the current selection. Full Topic

func (StandardKeyBindingRespondingWrapper) MoveToBeginningOfDocument

func (s_ StandardKeyBindingRespondingWrapper) MoveToBeginningOfDocument(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveToBeginningOfDocumentAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveToBeginningOfDocumentAndModifySelection(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveToBeginningOfLine

func (s_ StandardKeyBindingRespondingWrapper) MoveToBeginningOfLine(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveToBeginningOfLineAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveToBeginningOfLineAndModifySelection(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveToBeginningOfParagraph

func (s_ StandardKeyBindingRespondingWrapper) MoveToBeginningOfParagraph(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveToBeginningOfParagraphAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveToBeginningOfParagraphAndModifySelection(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveToEndOfDocument

func (s_ StandardKeyBindingRespondingWrapper) MoveToEndOfDocument(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveToEndOfDocumentAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveToEndOfDocumentAndModifySelection(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveToEndOfLine

func (s_ StandardKeyBindingRespondingWrapper) MoveToEndOfLine(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveToEndOfLineAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveToEndOfLineAndModifySelection(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveToEndOfParagraph

func (s_ StandardKeyBindingRespondingWrapper) MoveToEndOfParagraph(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveToEndOfParagraphAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveToEndOfParagraphAndModifySelection(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveToLeftEndOfLine

func (s_ StandardKeyBindingRespondingWrapper) MoveToLeftEndOfLine(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveToLeftEndOfLineAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveToLeftEndOfLineAndModifySelection(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveToRightEndOfLine

func (s_ StandardKeyBindingRespondingWrapper) MoveToRightEndOfLine(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveToRightEndOfLineAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveToRightEndOfLineAndModifySelection(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveUp

Moves the insertion pointer up in the current content. Full Topic

func (StandardKeyBindingRespondingWrapper) MoveUpAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveUpAndModifySelection(sender objc.IObject)

Extends the selection to include the content above the current selection. Full Topic

func (StandardKeyBindingRespondingWrapper) MoveWordBackward

func (s_ StandardKeyBindingRespondingWrapper) MoveWordBackward(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveWordBackwardAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveWordBackwardAndModifySelection(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveWordForward

func (s_ StandardKeyBindingRespondingWrapper) MoveWordForward(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveWordForwardAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveWordForwardAndModifySelection(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveWordLeft

func (s_ StandardKeyBindingRespondingWrapper) MoveWordLeft(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveWordLeftAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveWordLeftAndModifySelection(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveWordRight

func (s_ StandardKeyBindingRespondingWrapper) MoveWordRight(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) MoveWordRightAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) MoveWordRightAndModifySelection(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) PageDown

func (s_ StandardKeyBindingRespondingWrapper) PageDown(sender objc.IObject)

Moves the visible content region down by a page. Full Topic

func (StandardKeyBindingRespondingWrapper) PageDownAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) PageDownAndModifySelection(sender objc.IObject)

Moves the visible content region down by a page, and extends the current selection. Full Topic

func (StandardKeyBindingRespondingWrapper) PageUp

Moves the visible content region up by a page. Full Topic

func (StandardKeyBindingRespondingWrapper) PageUpAndModifySelection

func (s_ StandardKeyBindingRespondingWrapper) PageUpAndModifySelection(sender objc.IObject)

Moves the visible content region up by a page, and extends the current selection. Full Topic

func (StandardKeyBindingRespondingWrapper) QuickLookPreviewItems

func (s_ StandardKeyBindingRespondingWrapper) QuickLookPreviewItems(sender objc.IObject)

Invokes QuickLook to preview the current selection. Full Topic

func (StandardKeyBindingRespondingWrapper) ScrollLineDown

func (s_ StandardKeyBindingRespondingWrapper) ScrollLineDown(sender objc.IObject)

Scrolls the content down by a line. Full Topic

func (StandardKeyBindingRespondingWrapper) ScrollLineUp

func (s_ StandardKeyBindingRespondingWrapper) ScrollLineUp(sender objc.IObject)

Scrolls the content up by a line. Full Topic

func (StandardKeyBindingRespondingWrapper) ScrollPageDown

func (s_ StandardKeyBindingRespondingWrapper) ScrollPageDown(sender objc.IObject)

Scrolls the content down by a page. Full Topic

func (StandardKeyBindingRespondingWrapper) ScrollPageUp

func (s_ StandardKeyBindingRespondingWrapper) ScrollPageUp(sender objc.IObject)

Scrolls the content up by a page. Full Topic

func (StandardKeyBindingRespondingWrapper) ScrollToBeginningOfDocument

func (s_ StandardKeyBindingRespondingWrapper) ScrollToBeginningOfDocument(sender objc.IObject)

Scrolls the content to the beginning of the document. Full Topic

func (StandardKeyBindingRespondingWrapper) ScrollToEndOfDocument

func (s_ StandardKeyBindingRespondingWrapper) ScrollToEndOfDocument(sender objc.IObject)

Scrolls the content to the end of the document. Full Topic

func (StandardKeyBindingRespondingWrapper) SelectAll

func (s_ StandardKeyBindingRespondingWrapper) SelectAll(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) SelectLine

func (s_ StandardKeyBindingRespondingWrapper) SelectLine(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) SelectParagraph

func (s_ StandardKeyBindingRespondingWrapper) SelectParagraph(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) SelectToMark

func (s_ StandardKeyBindingRespondingWrapper) SelectToMark(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) SelectWord

func (s_ StandardKeyBindingRespondingWrapper) SelectWord(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) SetMark

[Full Topic]

func (StandardKeyBindingRespondingWrapper) SwapWithMark

func (s_ StandardKeyBindingRespondingWrapper) SwapWithMark(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) Transpose

func (s_ StandardKeyBindingRespondingWrapper) Transpose(sender objc.IObject)

Transposes the content around the current selection. Full Topic

func (StandardKeyBindingRespondingWrapper) TransposeWords

func (s_ StandardKeyBindingRespondingWrapper) TransposeWords(sender objc.IObject)

Transposes the words around the current selection. Full Topic

func (StandardKeyBindingRespondingWrapper) UppercaseWord

func (s_ StandardKeyBindingRespondingWrapper) UppercaseWord(sender objc.IObject)
[Full Topic]

func (StandardKeyBindingRespondingWrapper) Yank

Deletes the current selection, placing it in a temporary buffer, such as the Clipboard. Full Topic

type StatusBar

type StatusBar struct {
	objc.Object
}

An object that manages a collection of status items displayed within the system-wide menu bar. Full Topic

func NewStatusBar

func NewStatusBar() StatusBar

func StatusBarFrom

func StatusBarFrom(ptr unsafe.Pointer) StatusBar

func StatusBar_Alloc

func StatusBar_Alloc() StatusBar

func StatusBar_SystemStatusBar

func StatusBar_SystemStatusBar() StatusBar

Returns the system-wide status bar located in the menu bar. Full Topic

func (StatusBar) Init

func (s_ StatusBar) Init() StatusBar

func (StatusBar) IsVertical

func (s_ StatusBar) IsVertical() bool

A Boolean value indicating whether the status bar has a vertical orientation. Full Topic

func (StatusBar) RemoveStatusItem

func (s_ StatusBar) RemoveStatusItem(item IStatusItem)

Removes the specified status item from the receiver. Full Topic

func (StatusBar) StatusItemWithLength

func (s_ StatusBar) StatusItemWithLength(length float64) StatusItem

Returns a newly created status item that has been allotted a specified space within the status bar. Full Topic

func (StatusBar) Thickness

func (s_ StatusBar) Thickness() float64

The thickness of the status bar, in pixels. Full Topic

type StatusBarButton

type StatusBarButton struct {
	Button
}

The appearance and behavior of an item in the systemwide menu bar. Full Topic

func NewStatusBarButton

func NewStatusBarButton() StatusBarButton

func NewStatusBarButtonWithFrame

func NewStatusBarButtonWithFrame(frameRect foundation.Rect) StatusBarButton

Initializes a control with the specified frame rectangle. Full Topic

func StatusBarButtonFrom

func StatusBarButtonFrom(ptr unsafe.Pointer) StatusBarButton

func StatusBarButton_Alloc

func StatusBarButton_Alloc() StatusBarButton

func StatusBarButton_ButtonWithImageTargetAction

func StatusBarButton_ButtonWithImageTargetAction(image IImage, target objc.IObject, action objc.Selector) StatusBarButton

Creates a standard push button with the image you specify. Full Topic

func StatusBarButton_ButtonWithTitleTargetAction

func StatusBarButton_ButtonWithTitleTargetAction(title string, target objc.IObject, action objc.Selector) StatusBarButton

Creates a standard push button with the title you specify. Full Topic

func StatusBarButton_CheckboxWithTitleTargetAction

func StatusBarButton_CheckboxWithTitleTargetAction(title string, target objc.IObject, action objc.Selector) StatusBarButton

Creates a standard checkbox with the title you specify. Full Topic

func StatusBarButton_RadioButtonWithTitleTargetAction

func StatusBarButton_RadioButtonWithTitleTargetAction(title string, target objc.IObject, action objc.Selector) StatusBarButton

Creates a standard radio button with the title you specify. Full Topic

func (StatusBarButton) AppearsDisabled

func (s_ StatusBarButton) AppearsDisabled() bool
[Full Topic]

func (StatusBarButton) Init

func (s_ StatusBarButton) Init() StatusBarButton

func (StatusBarButton) InitWithFrame

func (s_ StatusBarButton) InitWithFrame(frameRect foundation.Rect) StatusBarButton

func (StatusBarButton) SetAppearsDisabled

func (s_ StatusBarButton) SetAppearsDisabled(value bool)
[Full Topic]

type StatusItem

type StatusItem struct {
	objc.Object
}

An individual element displayed in the system menu bar. Full Topic

func NewStatusItem

func NewStatusItem() StatusItem

func StatusItemFrom

func StatusItemFrom(ptr unsafe.Pointer) StatusItem

func StatusItem_Alloc

func StatusItem_Alloc() StatusItem

func (StatusItem) AutosaveName

func (s_ StatusItem) AutosaveName() StatusItemAutosaveName

A unique name for saving and restoring information about a status item. Full Topic

func (StatusItem) Behavior

func (s_ StatusItem) Behavior() StatusItemBehavior

The set of allowed behaviors for the status item. Full Topic

func (StatusItem) Button

func (s_ StatusItem) Button() StatusBarButton

The button displayed in the status bar. Full Topic

func (StatusItem) Init

func (s_ StatusItem) Init() StatusItem

func (StatusItem) IsVisible

func (s_ StatusItem) IsVisible() bool

A Boolean value indicating if the menu bar currently displays the status item. Full Topic

func (StatusItem) Length

func (s_ StatusItem) Length() float64

The amount of space in the status bar that should be allocated to the status item. Full Topic

func (StatusItem) Menu

func (s_ StatusItem) Menu() Menu

The pull-down menu displayed when the user clicks the status item. Full Topic

func (StatusItem) SetAutosaveName

func (s_ StatusItem) SetAutosaveName(value StatusItemAutosaveName)

A unique name for saving and restoring information about a status item. Full Topic

func (StatusItem) SetBehavior

func (s_ StatusItem) SetBehavior(value StatusItemBehavior)

The set of allowed behaviors for the status item. Full Topic

func (StatusItem) SetLength

func (s_ StatusItem) SetLength(value float64)

The amount of space in the status bar that should be allocated to the status item. Full Topic

func (StatusItem) SetMenu

func (s_ StatusItem) SetMenu(value IMenu)

The pull-down menu displayed when the user clicks the status item. Full Topic

func (StatusItem) SetVisible

func (s_ StatusItem) SetVisible(value bool)

A Boolean value indicating if the menu bar currently displays the status item. Full Topic

func (StatusItem) StatusBar

func (s_ StatusItem) StatusBar() StatusBar

The status bar that displays the status item. Full Topic

type StatusItemAutosaveName

type StatusItemAutosaveName string
[Full Topic]

type StatusItemBehavior

type StatusItemBehavior uint

A set of optional status item behaviors. Full Topic

const (
	StatusItemBehaviorRemovalAllowed       StatusItemBehavior = 2
	StatusItemBehaviorTerminationOnRemoval StatusItemBehavior = 4
)

type Stepper

type Stepper struct {
	Control
}

An interface with up and down arrow buttons for incrementing or decrementing a value. Full Topic

func NewStepper

func NewStepper() Stepper

func NewStepperWithFrame

func NewStepperWithFrame(frameRect foundation.Rect) Stepper

Initializes a control with the specified frame rectangle. Full Topic

func StepperFrom

func StepperFrom(ptr unsafe.Pointer) Stepper

func Stepper_Alloc

func Stepper_Alloc() Stepper

func (Stepper) Autorepeat

func (s_ Stepper) Autorepeat() bool

A Boolean value that indicates how the stepper responds to mouse events. Full Topic

func (Stepper) Increment

func (s_ Stepper) Increment() float64

The amount by which the receiver changes with each increment or decrement. Full Topic

func (Stepper) Init

func (s_ Stepper) Init() Stepper

func (Stepper) InitWithFrame

func (s_ Stepper) InitWithFrame(frameRect foundation.Rect) Stepper

func (Stepper) MaxValue

func (s_ Stepper) MaxValue() float64

The stepper’s maximum value. Full Topic

func (Stepper) MinValue

func (s_ Stepper) MinValue() float64

The stepper’s minimum value. Full Topic

func (Stepper) SetAutorepeat

func (s_ Stepper) SetAutorepeat(value bool)

A Boolean value that indicates how the stepper responds to mouse events. Full Topic

func (Stepper) SetIncrement

func (s_ Stepper) SetIncrement(value float64)

The amount by which the receiver changes with each increment or decrement. Full Topic

func (Stepper) SetMaxValue

func (s_ Stepper) SetMaxValue(value float64)

The stepper’s maximum value. Full Topic

func (Stepper) SetMinValue

func (s_ Stepper) SetMinValue(value float64)

The stepper’s minimum value. Full Topic

func (Stepper) SetValueWraps

func (s_ Stepper) SetValueWraps(value bool)

A Boolean value that indicates whether the stepper wraps around the minimum and maximum values. Full Topic

func (Stepper) ValueWraps

func (s_ Stepper) ValueWraps() bool

A Boolean value that indicates whether the stepper wraps around the minimum and maximum values. Full Topic

type StepperCell

type StepperCell struct {
	ActionCell
}

An NSStepperCell object controls the appearance and behavior of an NSStepper object. Full Topic

func NewStepperCell

func NewStepperCell() StepperCell

func NewStepperCellImageCell

func NewStepperCellImageCell(image IImage) StepperCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewStepperCellTextCell

func NewStepperCellTextCell(string_ string) StepperCell

Returns an NSCell object initialized with the specified string and set to have the cell’s default menu. Full Topic

func StepperCellFrom

func StepperCellFrom(ptr unsafe.Pointer) StepperCell

func StepperCell_Alloc

func StepperCell_Alloc() StepperCell

func (StepperCell) Autorepeat

func (s_ StepperCell) Autorepeat() bool

A Boolean value indicating how the receiver responds to mouse events. Full Topic

func (StepperCell) Increment

func (s_ StepperCell) Increment() float64

The amount by which the receiver will change per increment or decrement. Full Topic

func (StepperCell) Init

func (s_ StepperCell) Init() StepperCell

func (StepperCell) InitImageCell

func (s_ StepperCell) InitImageCell(image IImage) StepperCell

func (StepperCell) InitTextCell

func (s_ StepperCell) InitTextCell(string_ string) StepperCell

func (StepperCell) MaxValue

func (s_ StepperCell) MaxValue() float64

The maximum value for the receiver. Full Topic

func (StepperCell) MinValue

func (s_ StepperCell) MinValue() float64

The minimum value for the receiver. Full Topic

func (StepperCell) SetAutorepeat

func (s_ StepperCell) SetAutorepeat(value bool)

A Boolean value indicating how the receiver responds to mouse events. Full Topic

func (StepperCell) SetIncrement

func (s_ StepperCell) SetIncrement(value float64)

The amount by which the receiver will change per increment or decrement. Full Topic

func (StepperCell) SetMaxValue

func (s_ StepperCell) SetMaxValue(value float64)

The maximum value for the receiver. Full Topic

func (StepperCell) SetMinValue

func (s_ StepperCell) SetMinValue(value float64)

The minimum value for the receiver. Full Topic

func (StepperCell) SetValueWraps

func (s_ StepperCell) SetValueWraps(value bool)

A Boolean value indicating whether the receiver wraps around the minimum and maximum values. Full Topic

func (StepperCell) ValueWraps

func (s_ StepperCell) ValueWraps() bool

A Boolean value indicating whether the receiver wraps around the minimum and maximum values. Full Topic

type StepperTouchBarItem

type StepperTouchBarItem struct {
	TouchBarItem
}

A bar item that provides a stepper control for incrementing or decrementing a value. Full Topic

func NewStepperTouchBarItem

func NewStepperTouchBarItem() StepperTouchBarItem

func NewStepperTouchBarItemWithIdentifier

func NewStepperTouchBarItemWithIdentifier(identifier TouchBarItemIdentifier) StepperTouchBarItem

Creates a new item with the specified identifier. Full Topic

func StepperTouchBarItemFrom

func StepperTouchBarItemFrom(ptr unsafe.Pointer) StepperTouchBarItem

func StepperTouchBarItem_Alloc

func StepperTouchBarItem_Alloc() StepperTouchBarItem

func StepperTouchBarItem_StepperTouchBarItemWithIdentifierFormatter

func StepperTouchBarItem_StepperTouchBarItemWithIdentifierFormatter(identifier TouchBarItemIdentifier, formatter foundation.IFormatter) StepperTouchBarItem
[Full Topic]

func (StepperTouchBarItem) Action

func (s_ StepperTouchBarItem) Action() objc.Selector
[Full Topic]

func (StepperTouchBarItem) Increment

func (s_ StepperTouchBarItem) Increment() float64
[Full Topic]

func (StepperTouchBarItem) Init

func (StepperTouchBarItem) InitWithIdentifier

func (s_ StepperTouchBarItem) InitWithIdentifier(identifier TouchBarItemIdentifier) StepperTouchBarItem

func (StepperTouchBarItem) MaxValue

func (s_ StepperTouchBarItem) MaxValue() float64
[Full Topic]

func (StepperTouchBarItem) MinValue

func (s_ StepperTouchBarItem) MinValue() float64
[Full Topic]

func (StepperTouchBarItem) SetAction

func (s_ StepperTouchBarItem) SetAction(value objc.Selector)
[Full Topic]

func (StepperTouchBarItem) SetCustomizationLabel

func (s_ StepperTouchBarItem) SetCustomizationLabel(value string)
[Full Topic]

func (StepperTouchBarItem) SetIncrement

func (s_ StepperTouchBarItem) SetIncrement(value float64)
[Full Topic]

func (StepperTouchBarItem) SetMaxValue

func (s_ StepperTouchBarItem) SetMaxValue(value float64)
[Full Topic]

func (StepperTouchBarItem) SetMinValue

func (s_ StepperTouchBarItem) SetMinValue(value float64)
[Full Topic]

func (StepperTouchBarItem) SetTarget

func (s_ StepperTouchBarItem) SetTarget(value objc.IObject)
[Full Topic]

func (StepperTouchBarItem) SetValue

func (s_ StepperTouchBarItem) SetValue(value float64)
[Full Topic]

func (StepperTouchBarItem) Target

func (s_ StepperTouchBarItem) Target() objc.Object
[Full Topic]

func (StepperTouchBarItem) Value

func (s_ StepperTouchBarItem) Value() float64
[Full Topic]

type Storyboard

type Storyboard struct {
	objc.Object
}

An encapsulation of the design-time view controller and window controller graph represented in an Interface Builder storyboard resource file. Full Topic

func NewStoryboard

func NewStoryboard() Storyboard

func StoryboardFrom

func StoryboardFrom(ptr unsafe.Pointer) Storyboard

func Storyboard_Alloc

func Storyboard_Alloc() Storyboard

func Storyboard_MainStoryboard

func Storyboard_MainStoryboard() Storyboard

The app's main storyboard. Full Topic

func Storyboard_StoryboardWithNameBundle

func Storyboard_StoryboardWithNameBundle(name StoryboardName, storyboardBundleOrNil foundation.IBundle) Storyboard

Creates a storyboard based on the named storyboard file in the specified bundle. Full Topic

func (Storyboard) Init

func (s_ Storyboard) Init() Storyboard

func (Storyboard) InstantiateControllerWithIdentifierCreator

func (s_ Storyboard) InstantiateControllerWithIdentifierCreator(identifier StoryboardSceneIdentifier, block StoryboardControllerCreator) objc.Object
[Full Topic]

func (Storyboard) InstantiateInitialController

func (s_ Storyboard) InstantiateInitialController() objc.Object

Creates the initial view controller or window controller from a storyboard. Full Topic

func (Storyboard) InstantiateInitialControllerWithCreator

func (s_ Storyboard) InstantiateInitialControllerWithCreator(block StoryboardControllerCreator) objc.Object
[Full Topic]

type StoryboardControllerCreator

type StoryboardControllerCreator = func(coder foundation.Coder) objc.Object

A block that you use to handle the custom creation of controller objects from your storyboard file. Full Topic

type StoryboardName

type StoryboardName string

The name of the storyboard file. Full Topic

type StoryboardSceneIdentifier

type StoryboardSceneIdentifier string

A string that uniquely identifies a view controller or window controller in your storyboard file. Full Topic

type StoryboardSegue

type StoryboardSegue struct {
	objc.Object
}

A transition or containment relationship between two scenes in a storyboard. Full Topic

func NewStoryboardSegue

func NewStoryboardSegue() StoryboardSegue

func NewStoryboardSegueWithIdentifierSourceDestination

func NewStoryboardSegueWithIdentifierSourceDestination(identifier StoryboardSegueIdentifier, sourceController objc.IObject, destinationController objc.IObject) StoryboardSegue

The designated initializer for a storyboard segue. Full Topic

func StoryboardSegueFrom

func StoryboardSegueFrom(ptr unsafe.Pointer) StoryboardSegue

func StoryboardSegue_Alloc

func StoryboardSegue_Alloc() StoryboardSegue

func StoryboardSegue_SegueWithIdentifierSourceDestinationPerformHandler

func StoryboardSegue_SegueWithIdentifierSourceDestinationPerformHandler(identifier StoryboardSegueIdentifier, sourceController objc.IObject, destinationController objc.IObject, performHandler func()) StoryboardSegue

Creates a storyboard segue and a block used when the segue is performed. Full Topic

func (StoryboardSegue) DestinationController

func (s_ StoryboardSegue) DestinationController() objc.Object

The ending/contained view controller or window controller for the storyboard segue. Full Topic

func (StoryboardSegue) Identifier

An optional, unique identifier for the storyboard segue that you can specify using the Identity inspector in Interface Builder. Full Topic

func (StoryboardSegue) Init

func (s_ StoryboardSegue) Init() StoryboardSegue

func (StoryboardSegue) InitWithIdentifierSourceDestination

func (s_ StoryboardSegue) InitWithIdentifierSourceDestination(identifier StoryboardSegueIdentifier, sourceController objc.IObject, destinationController objc.IObject) StoryboardSegue

func (StoryboardSegue) Perform

func (s_ StoryboardSegue) Perform()

Performs a visual transition from one controller to another. Full Topic

func (StoryboardSegue) SourceController

func (s_ StoryboardSegue) SourceController() objc.Object

The starting/containing view controller or window controller for the storyboard segue. Full Topic

type StoryboardSegueIdentifier

type StoryboardSegueIdentifier string
[Full Topic]

type StringDrawingContext

type StringDrawingContext struct {
	objc.Object
}

An object that manages metrics for drawing attributed strings. Full Topic

func NewStringDrawingContext

func NewStringDrawingContext() StringDrawingContext

func StringDrawingContextFrom

func StringDrawingContextFrom(ptr unsafe.Pointer) StringDrawingContext

func StringDrawingContext_Alloc

func StringDrawingContext_Alloc() StringDrawingContext

func (StringDrawingContext) ActualScaleFactor

func (s_ StringDrawingContext) ActualScaleFactor() float64

The actual scale factor that the system applied to the font during drawing. Full Topic

func (StringDrawingContext) Init

func (StringDrawingContext) MinimumScaleFactor

func (s_ StringDrawingContext) MinimumScaleFactor() float64

The scale factor that determines the smallest font size to use during drawing. Full Topic

func (StringDrawingContext) SetMinimumScaleFactor

func (s_ StringDrawingContext) SetMinimumScaleFactor(value float64)

The scale factor that determines the smallest font size to use during drawing. Full Topic

func (StringDrawingContext) TotalBounds

func (s_ StringDrawingContext) TotalBounds() coregraphics.Rect

The most recent bounding rectangle that the system used to draw the string. Full Topic

type StringDrawingOptions

type StringDrawingOptions int

Constants that specify the rendering options for drawing a string. Full Topic

const (
	StringDrawingDisableScreenFontSubstitution StringDrawingOptions = 4
	StringDrawingOneShot                       StringDrawingOptions = 16
	StringDrawingTruncatesLastVisibleLine      StringDrawingOptions = 32
	StringDrawingUsesDeviceMetrics             StringDrawingOptions = 8
	StringDrawingUsesFontLeading               StringDrawingOptions = 2
	StringDrawingUsesLineFragmentOrigin        StringDrawingOptions = 1
)

type Switch

type Switch struct {
	Control
}

A control that offers a binary choice. Full Topic

func NewSwitch

func NewSwitch() Switch

func NewSwitchWithFrame

func NewSwitchWithFrame(frameRect foundation.Rect) Switch

Initializes a control with the specified frame rectangle. Full Topic

func SwitchFrom

func SwitchFrom(ptr unsafe.Pointer) Switch

func Switch_Alloc

func Switch_Alloc() Switch

func (Switch) Init

func (s_ Switch) Init() Switch

func (Switch) InitWithFrame

func (s_ Switch) InitWithFrame(frameRect foundation.Rect) Switch

func (Switch) SetState

func (s_ Switch) SetState(value ControlStateValue)

The current position of the switch. Full Topic

func (Switch) State

func (s_ Switch) State() ControlStateValue

The current position of the switch. Full Topic

type TIFFCompression

type TIFFCompression uint

Constants that represent the supported TIFF data-compression schemes. Full Topic

const (
	TIFFCompressionCCITTFAX3 TIFFCompression = 3
	TIFFCompressionCCITTFAX4 TIFFCompression = 4
	TIFFCompressionJPEG      TIFFCompression = 6
	TIFFCompressionLZW       TIFFCompression = 5
	TIFFCompressionNEXT      TIFFCompression = 32766
	TIFFCompressionNone      TIFFCompression = 1
	TIFFCompressionOldJPEG   TIFFCompression = 32865
	TIFFCompressionPackBits  TIFFCompression = 32773
)

type TabPosition

type TabPosition uint
[Full Topic]
const (
	TabPositionBottom TabPosition = 3
	TabPositionLeft   TabPosition = 2
	TabPositionNone   TabPosition = 0
	TabPositionRight  TabPosition = 4
	TabPositionTop    TabPosition = 1
)

type TabState

type TabState uint

These constants describe the current display state of a tab: Full Topic

const (
	BackgroundTab TabState = 1
	PressedTab    TabState = 2
	SelectedTab   TabState = 0
)

type TabView

type TabView struct {
	View
}

A multipage interface that displays one page at a time. Full Topic

func NewTabView

func NewTabView() TabView

func NewTabViewWithFrame

func NewTabViewWithFrame(frameRect foundation.Rect) TabView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func TabViewFrom

func TabViewFrom(ptr unsafe.Pointer) TabView

func TabView_Alloc

func TabView_Alloc() TabView

func (TabView) AddTabViewItem

func (t_ TabView) AddTabViewItem(tabViewItem ITabViewItem)

Adds the specified tab item. Full Topic

func (TabView) AllowsTruncatedLabels

func (t_ TabView) AllowsTruncatedLabels() bool

A Boolean value that indicates if the tab view allows truncating for labels that don’t fit on a tab. Full Topic

func (TabView) ContentRect

func (t_ TabView) ContentRect() foundation.Rect

The rectangle describing the content area of the tab view. Full Topic

func (TabView) ControlSize

func (t_ TabView) ControlSize() ControlSize

The size of the tab view. Full Topic

func (TabView) Delegate

func (t_ TabView) Delegate() TabViewDelegateWrapper

The tab view’s delegate. Full Topic

func (TabView) DrawsBackground

func (t_ TabView) DrawsBackground() bool

A Boolean value that indicates if the tab view draws a background color when its type is NSNoTabsNoBorder. Full Topic

func (TabView) Font

func (t_ TabView) Font() Font

The font used for the tab view’s label text. Full Topic

func (TabView) IndexOfTabViewItem

func (t_ TabView) IndexOfTabViewItem(tabViewItem ITabViewItem) int

Returns the index of the specified item in the tab view. Full Topic

func (TabView) IndexOfTabViewItemWithIdentifier

func (t_ TabView) IndexOfTabViewItemWithIdentifier(identifier objc.IObject) int

Returns the index of the item that matches the specified identifier or NSNotFound if the item is not found. Full Topic

func (TabView) Init

func (t_ TabView) Init() TabView

func (TabView) InitWithFrame

func (t_ TabView) InitWithFrame(frameRect foundation.Rect) TabView

func (TabView) InsertTabViewItemAtIndex

func (t_ TabView) InsertTabViewItemAtIndex(tabViewItem ITabViewItem, index int)

Inserts the specified item into the tab view’s array of tab view items at the specified index. Full Topic

func (TabView) MinimumSize

func (t_ TabView) MinimumSize() foundation.Size

The minimum size necessary for the tab view to display tabs in a useful way. Full Topic

func (TabView) NumberOfTabViewItems

func (t_ TabView) NumberOfTabViewItems() int

The number of items in the tab view’s array of tab view items. Full Topic

func (TabView) RemoveTabViewItem

func (t_ TabView) RemoveTabViewItem(tabViewItem ITabViewItem)

Removes the specified item from the tab view’s array of tab view items. Full Topic

func (TabView) SelectFirstTabViewItem

func (t_ TabView) SelectFirstTabViewItem(sender objc.IObject)

This action method selects the first tab view item. Full Topic

func (TabView) SelectLastTabViewItem

func (t_ TabView) SelectLastTabViewItem(sender objc.IObject)

This action method selects the last tab view item. Full Topic

func (TabView) SelectNextTabViewItem

func (t_ TabView) SelectNextTabViewItem(sender objc.IObject)

This action method selects the next tab view item in the sequence. Full Topic

func (TabView) SelectPreviousTabViewItem

func (t_ TabView) SelectPreviousTabViewItem(sender objc.IObject)

This action method selects the previous tab view item in the sequence. Full Topic

func (TabView) SelectTabViewItem

func (t_ TabView) SelectTabViewItem(tabViewItem ITabViewItem)

Selects the specified tab view item. Full Topic

func (TabView) SelectTabViewItemAtIndex

func (t_ TabView) SelectTabViewItemAtIndex(index int)

Selects the tab view item specified by index. Full Topic

func (TabView) SelectTabViewItemWithIdentifier

func (t_ TabView) SelectTabViewItemWithIdentifier(identifier objc.IObject)

Selects the tab view item specified by identifier. Full Topic

func (TabView) SelectedTabViewItem

func (t_ TabView) SelectedTabViewItem() TabViewItem

The tab view item for the currently selected tab. Full Topic

func (TabView) SetAllowsTruncatedLabels

func (t_ TabView) SetAllowsTruncatedLabels(value bool)

A Boolean value that indicates if the tab view allows truncating for labels that don’t fit on a tab. Full Topic

func (TabView) SetControlSize

func (t_ TabView) SetControlSize(value ControlSize)

The size of the tab view. Full Topic

func (TabView) SetDelegate

func (t_ TabView) SetDelegate(value PTabViewDelegate)

The tab view’s delegate. Full Topic

func (TabView) SetDelegateObject

func (t_ TabView) SetDelegateObject(valueObject objc.IObject)

The tab view’s delegate. Full Topic

func (TabView) SetDrawsBackground

func (t_ TabView) SetDrawsBackground(value bool)

A Boolean value that indicates if the tab view draws a background color when its type is NSNoTabsNoBorder. Full Topic

func (TabView) SetFont

func (t_ TabView) SetFont(value IFont)

The font used for the tab view’s label text. Full Topic

func (TabView) SetTabPosition

func (t_ TabView) SetTabPosition(value TabPosition)
[Full Topic]

func (TabView) SetTabViewBorderType

func (t_ TabView) SetTabViewBorderType(value TabViewBorderType)
[Full Topic]

func (TabView) SetTabViewItems

func (t_ TabView) SetTabViewItems(value []ITabViewItem)

The tab view’s array of tab view items. Full Topic

func (TabView) SetTabViewType

func (t_ TabView) SetTabViewType(value TabViewType)

The tab type to display the tabs. Full Topic

func (TabView) TabPosition

func (t_ TabView) TabPosition() TabPosition
[Full Topic]

func (TabView) TabViewBorderType

func (t_ TabView) TabViewBorderType() TabViewBorderType
[Full Topic]

func (TabView) TabViewItemAtIndex

func (t_ TabView) TabViewItemAtIndex(index int) TabViewItem

Returns the tab view item at index in the tab view’s array of items. Full Topic

func (TabView) TabViewItemAtPoint

func (t_ TabView) TabViewItemAtPoint(point foundation.Point) TabViewItem

Returns the tab view item at the specified point. Full Topic

func (TabView) TabViewItems

func (t_ TabView) TabViewItems() []TabViewItem

The tab view’s array of tab view items. Full Topic

func (TabView) TabViewType

func (t_ TabView) TabViewType() TabViewType

The tab type to display the tabs. Full Topic

func (TabView) TakeSelectedTabViewItemFromSender

func (t_ TabView) TakeSelectedTabViewItemFromSender(sender objc.IObject)

Sets the selected tab view item to the selected item obtained from the sender. Full Topic

type TabViewBorderType

type TabViewBorderType uint
[Full Topic]
const (
	TabViewBorderTypeBezel TabViewBorderType = 2
	TabViewBorderTypeLine  TabViewBorderType = 1
	TabViewBorderTypeNone  TabViewBorderType = 0
)

type TabViewController

type TabViewController struct {
	ViewController
}

A container view controller that manages a tab view interface, which organizes multiple pages of content but displays only one page at a time. Full Topic

func NewTabViewController

func NewTabViewController() TabViewController

func NewTabViewControllerWithNibNameBundle

func NewTabViewControllerWithNibNameBundle(nibNameOrNil NibName, nibBundleOrNil foundation.IBundle) TabViewController

Returns a view controller object initialized to the nib file in the specified bundle. Full Topic

func TabViewControllerFrom

func TabViewControllerFrom(ptr unsafe.Pointer) TabViewController

func TabViewController_Alloc

func TabViewController_Alloc() TabViewController

func (TabViewController) AddTabViewItem

func (t_ TabViewController) AddTabViewItem(tabViewItem ITabViewItem)

Adds the specified tab to the end of the tab view controller’s list of tabs. Full Topic

func (TabViewController) CanPropagateSelectedChildViewControllerTitle

func (t_ TabViewController) CanPropagateSelectedChildViewControllerTitle() bool

A Boolean value indicating whether the tab view controller gets its title from the selected child view controller. Full Topic

func (TabViewController) Init

func (TabViewController) InitWithNibNameBundle

func (t_ TabViewController) InitWithNibNameBundle(nibNameOrNil NibName, nibBundleOrNil foundation.IBundle) TabViewController

func (TabViewController) InsertTabViewItemAtIndex

func (t_ TabViewController) InsertTabViewItemAtIndex(tabViewItem ITabViewItem, index int)

Inserts a tab view into the tab view controller’s list of tabs. Full Topic

func (TabViewController) RemoveTabViewItem

func (t_ TabViewController) RemoveTabViewItem(tabViewItem ITabViewItem)

Removes the specified tab view item from the tab view controller. Full Topic

func (TabViewController) SelectedTabViewItemIndex

func (t_ TabViewController) SelectedTabViewItemIndex() int

The index of the selected tab. Full Topic

func (TabViewController) SetCanPropagateSelectedChildViewControllerTitle

func (t_ TabViewController) SetCanPropagateSelectedChildViewControllerTitle(value bool)

A Boolean value indicating whether the tab view controller gets its title from the selected child view controller. Full Topic

func (TabViewController) SetSelectedTabViewItemIndex

func (t_ TabViewController) SetSelectedTabViewItemIndex(value int)

The index of the selected tab. Full Topic

func (TabViewController) SetTabStyle

func (t_ TabViewController) SetTabStyle(value TabViewControllerTabStyle)

The style used to display the tabs. Full Topic

func (TabViewController) SetTabView

func (t_ TabViewController) SetTabView(value ITabView)

The tab view that manages the views of the interface. Full Topic

func (TabViewController) SetTabViewItems

func (t_ TabViewController) SetTabViewItems(value []ITabViewItem)

The array of tab view items used to manage each of the child view controllers. Full Topic

func (TabViewController) SetTransitionOptions

func (t_ TabViewController) SetTransitionOptions(value ViewControllerTransitionOptions)

The animation options to use when switching between tabs. Full Topic

func (TabViewController) TabStyle

The style used to display the tabs. Full Topic

func (TabViewController) TabView

func (t_ TabViewController) TabView() TabView

The tab view that manages the views of the interface. Full Topic

func (TabViewController) TabViewItemForViewController

func (t_ TabViewController) TabViewItemForViewController(viewController IViewController) TabViewItem

Returns the tab view item for the specified child view controller. Full Topic

func (TabViewController) TabViewItems

func (t_ TabViewController) TabViewItems() []TabViewItem

The array of tab view items used to manage each of the child view controllers. Full Topic

func (TabViewController) ToolbarAllowedItemIdentifiers

func (t_ TabViewController) ToolbarAllowedItemIdentifiers(toolbar IToolbar) []ToolbarItemIdentifier

Returns the array of identifier strings for the allowed toolbar items. Full Topic

func (TabViewController) ToolbarDefaultItemIdentifiers

func (t_ TabViewController) ToolbarDefaultItemIdentifiers(toolbar IToolbar) []ToolbarItemIdentifier

Returns the array of identifier strings for the default toolbar items. Full Topic

func (TabViewController) ToolbarItemForItemIdentifierWillBeInsertedIntoToolbar

func (t_ TabViewController) ToolbarItemForItemIdentifierWillBeInsertedIntoToolbar(toolbar IToolbar, itemIdentifier ToolbarItemIdentifier, flag bool) ToolbarItem

Returns the toolbar item for the specified identifier. Full Topic

func (TabViewController) ToolbarSelectableItemIdentifiers

func (t_ TabViewController) ToolbarSelectableItemIdentifiers(toolbar IToolbar) []ToolbarItemIdentifier

Returns the array of identifier strings for the selectable toolbar items Full Topic

func (TabViewController) TransitionOptions

func (t_ TabViewController) TransitionOptions() ViewControllerTransitionOptions

The animation options to use when switching between tabs. Full Topic

type TabViewControllerTabStyle

type TabViewControllerTabStyle int

Tab control style options for a tab view controller. Full Topic

const (
	TabViewControllerTabStyleSegmentedControlOnBottom TabViewControllerTabStyle = 1
	TabViewControllerTabStyleSegmentedControlOnTop    TabViewControllerTabStyle = 0
	TabViewControllerTabStyleToolbar                  TabViewControllerTabStyle = 2
	TabViewControllerTabStyleUnspecified              TabViewControllerTabStyle = -1
)

type TabViewDelegate

type TabViewDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PTabViewDelegate protocol.

func (*TabViewDelegate) HasTabViewDidChangeNumberOfTabViewItems

func (di *TabViewDelegate) HasTabViewDidChangeNumberOfTabViewItems() bool

func (*TabViewDelegate) HasTabViewDidSelectTabViewItem

func (di *TabViewDelegate) HasTabViewDidSelectTabViewItem() bool

func (*TabViewDelegate) SetTabViewDidChangeNumberOfTabViewItems

func (di *TabViewDelegate) SetTabViewDidChangeNumberOfTabViewItems(f func(tabView TabView))

Informs the delegate that the number of tab view items in tabView has changed. Full Topic

func (*TabViewDelegate) SetTabViewDidSelectTabViewItem

func (di *TabViewDelegate) SetTabViewDidSelectTabViewItem(f func(tabView TabView, tabViewItem TabViewItem))

Informs the delegate that tabView has selected tabViewItem. Full Topic

func (*TabViewDelegate) TabViewDidChangeNumberOfTabViewItems

func (di *TabViewDelegate) TabViewDidChangeNumberOfTabViewItems(tabView TabView)

Informs the delegate that the number of tab view items in tabView has changed. Full Topic

func (*TabViewDelegate) TabViewDidSelectTabViewItem

func (di *TabViewDelegate) TabViewDidSelectTabViewItem(tabView TabView, tabViewItem TabViewItem)

Informs the delegate that tabView has selected tabViewItem. Full Topic

type TabViewDelegateWrapper

type TabViewDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTabViewDelegate protocol.

func (TabViewDelegateWrapper) HasTabViewDidChangeNumberOfTabViewItems

func (t_ TabViewDelegateWrapper) HasTabViewDidChangeNumberOfTabViewItems() bool

func (TabViewDelegateWrapper) HasTabViewDidSelectTabViewItem

func (t_ TabViewDelegateWrapper) HasTabViewDidSelectTabViewItem() bool

func (TabViewDelegateWrapper) TabViewDidChangeNumberOfTabViewItems

func (t_ TabViewDelegateWrapper) TabViewDidChangeNumberOfTabViewItems(tabView ITabView)

Informs the delegate that the number of tab view items in tabView has changed. Full Topic

func (TabViewDelegateWrapper) TabViewDidSelectTabViewItem

func (t_ TabViewDelegateWrapper) TabViewDidSelectTabViewItem(tabView ITabView, tabViewItem ITabViewItem)

Informs the delegate that tabView has selected tabViewItem. Full Topic

type TabViewItem

type TabViewItem struct {
	objc.Object
}

An item in a tab view. Full Topic

func NewTabViewItem

func NewTabViewItem() TabViewItem

func NewTabViewItemWithIdentifier

func NewTabViewItemWithIdentifier(identifier objc.IObject) TabViewItem

Performs default initialization for the receiver. Full Topic

func TabViewItemFrom

func TabViewItemFrom(ptr unsafe.Pointer) TabViewItem

func TabViewItem_Alloc

func TabViewItem_Alloc() TabViewItem

func TabViewItem_TabViewItemWithViewController

func TabViewItem_TabViewItemWithViewController(viewController IViewController) TabViewItem
[Full Topic]

func (TabViewItem) Color

func (t_ TabViewItem) Color() Color

Sets the background color for content in the view. Full Topic

func (TabViewItem) DrawLabelInRect

func (t_ TabViewItem) DrawLabelInRect(shouldTruncateLabel bool, labelRect foundation.Rect)

Draws the receiver’s label in tabRect, which is the area between the curved end caps. Full Topic

func (TabViewItem) Identifier

func (t_ TabViewItem) Identifier() objc.Object

Sets the receiver’s optional identifier object to identifier. Full Topic

func (TabViewItem) Image

func (t_ TabViewItem) Image() Image
[Full Topic]

func (TabViewItem) Init

func (t_ TabViewItem) Init() TabViewItem

func (TabViewItem) InitWithIdentifier

func (t_ TabViewItem) InitWithIdentifier(identifier objc.IObject) TabViewItem

func (TabViewItem) InitialFirstResponder

func (t_ TabViewItem) InitialFirstResponder() View

Sets the initial first responder for the view associated with the receiver (the view that is displayed when a user clicks on the tab) to view. Full Topic

func (TabViewItem) Label

func (t_ TabViewItem) Label() string

Sets the label text for the receiver to label. Full Topic

func (TabViewItem) SetColor

func (t_ TabViewItem) SetColor(value IColor)

Sets the background color for content in the view. Full Topic

func (TabViewItem) SetIdentifier

func (t_ TabViewItem) SetIdentifier(value objc.IObject)

Sets the receiver’s optional identifier object to identifier. Full Topic

func (TabViewItem) SetImage

func (t_ TabViewItem) SetImage(value IImage)
[Full Topic]

func (TabViewItem) SetInitialFirstResponder

func (t_ TabViewItem) SetInitialFirstResponder(value IView)

Sets the initial first responder for the view associated with the receiver (the view that is displayed when a user clicks on the tab) to view. Full Topic

func (TabViewItem) SetLabel

func (t_ TabViewItem) SetLabel(value string)

Sets the label text for the receiver to label. Full Topic

func (TabViewItem) SetToolTip

func (t_ TabViewItem) SetToolTip(value string)

Sets the tooltip displayed for the tab view item. Full Topic

func (TabViewItem) SetView

func (t_ TabViewItem) SetView(value IView)

Sets the view associated with the receiver to view. Full Topic

func (TabViewItem) SetViewController

func (t_ TabViewItem) SetViewController(value IViewController)
[Full Topic]

func (TabViewItem) SizeOfLabel

func (t_ TabViewItem) SizeOfLabel(computeMin bool) foundation.Size

Calculates the size of the receiver’s label. Full Topic

func (TabViewItem) TabState

func (t_ TabViewItem) TabState() TabState

Returns the current display state of the tab associated with the receiver. Full Topic

func (TabViewItem) TabView

func (t_ TabViewItem) TabView() TabView

Returns the parent tab view for the receiver. Full Topic

func (TabViewItem) ToolTip

func (t_ TabViewItem) ToolTip() string

Sets the tooltip displayed for the tab view item. Full Topic

func (TabViewItem) View

func (t_ TabViewItem) View() View

Sets the view associated with the receiver to view. Full Topic

func (TabViewItem) ViewController

func (t_ TabViewItem) ViewController() ViewController
[Full Topic]

type TabViewType

type TabViewType uint

These constants specify the tab view’s type as used by the tabViewType property. Full Topic

const (
	BottomTabsBezelBorder TabViewType = 2
	LeftTabsBezelBorder   TabViewType = 1
	NoTabsBezelBorder     TabViewType = 4
	NoTabsLineBorder      TabViewType = 5
	NoTabsNoBorder        TabViewType = 6
	RightTabsBezelBorder  TabViewType = 3
	TopTabsBezelBorder    TabViewType = 0
)

type TableCellView

type TableCellView struct {
	View
}

A reusable container view shown for a particular cell in a table view that uses rows for content. Full Topic

func NewTableCellView

func NewTableCellView() TableCellView

func NewTableCellViewWithFrame

func NewTableCellViewWithFrame(frameRect foundation.Rect) TableCellView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func TableCellViewFrom

func TableCellViewFrom(ptr unsafe.Pointer) TableCellView

func TableCellView_Alloc

func TableCellView_Alloc() TableCellView

func (TableCellView) BackgroundStyle

func (t_ TableCellView) BackgroundStyle() BackgroundStyle

This property is automatically set by the enclosing row view to let this view know what its background looks like. Full Topic

func (TableCellView) DraggingImageComponents

func (t_ TableCellView) DraggingImageComponents() []DraggingImageComponent

Returns dragging images for the cell. Full Topic

func (TableCellView) ImageView

func (t_ TableCellView) ImageView() ImageView

Image displayed by the cell. Full Topic

func (TableCellView) Init

func (t_ TableCellView) Init() TableCellView

func (TableCellView) InitWithFrame

func (t_ TableCellView) InitWithFrame(frameRect foundation.Rect) TableCellView

func (TableCellView) ObjectValue

func (t_ TableCellView) ObjectValue() objc.Object

The object that represents the cell data. Full Topic

func (TableCellView) RowSizeStyle

func (t_ TableCellView) RowSizeStyle() TableViewRowSizeStyle

Returns the row size style. Full Topic

func (TableCellView) SetBackgroundStyle

func (t_ TableCellView) SetBackgroundStyle(value BackgroundStyle)

This property is automatically set by the enclosing row view to let this view know what its background looks like. Full Topic

func (TableCellView) SetImageView

func (t_ TableCellView) SetImageView(value IImageView)

Image displayed by the cell. Full Topic

func (TableCellView) SetObjectValue

func (t_ TableCellView) SetObjectValue(value objc.IObject)

The object that represents the cell data. Full Topic

func (TableCellView) SetRowSizeStyle

func (t_ TableCellView) SetRowSizeStyle(value TableViewRowSizeStyle)

Returns the row size style. Full Topic

func (TableCellView) SetTextField

func (t_ TableCellView) SetTextField(value ITextField)

Text displayed by the cell. Full Topic

func (TableCellView) TextField

func (t_ TableCellView) TextField() TextField

Text displayed by the cell. Full Topic

type TableColumn

type TableColumn struct {
	objc.Object
}

The display characteristics and identifier for a column in a table view. Full Topic

func NewTableColumn

func NewTableColumn() TableColumn

func NewTableColumnWithIdentifier

func NewTableColumnWithIdentifier(identifier UserInterfaceItemIdentifier) TableColumn

Initializes a newly created table column with a string identifier. Full Topic

func TableColumnFrom

func TableColumnFrom(ptr unsafe.Pointer) TableColumn

func TableColumn_Alloc

func TableColumn_Alloc() TableColumn

func (TableColumn) HeaderCell

func (t_ TableColumn) HeaderCell() TableHeaderCell

The cell used to draw the table column’s header. Full Topic

func (TableColumn) HeaderToolTip

func (t_ TableColumn) HeaderToolTip() string

The string that’s displayed in a help tag over the table column header. Full Topic

func (TableColumn) Identifier

func (t_ TableColumn) Identifier() UserInterfaceItemIdentifier

The identifier string for the table column. Full Topic

func (TableColumn) Init

func (t_ TableColumn) Init() TableColumn

func (TableColumn) InitWithIdentifier

func (t_ TableColumn) InitWithIdentifier(identifier UserInterfaceItemIdentifier) TableColumn

func (TableColumn) IsEditable

func (t_ TableColumn) IsEditable() bool

A Boolean that indicates whether a cell-based table’s column cells are user editable. Full Topic

func (TableColumn) IsHidden

func (t_ TableColumn) IsHidden() bool

A Boolean that indicates whether the table column is hidden. Full Topic

func (TableColumn) MaxWidth

func (t_ TableColumn) MaxWidth() float64

The table column’s maximum width, in points. Full Topic

func (TableColumn) MinWidth

func (t_ TableColumn) MinWidth() float64

The table column’s minimum width, in points. Full Topic

func (TableColumn) ResizingMask

func (t_ TableColumn) ResizingMask() TableColumnResizingOptions

The table column’s resizing mask. Full Topic

func (TableColumn) SetEditable

func (t_ TableColumn) SetEditable(value bool)

A Boolean that indicates whether a cell-based table’s column cells are user editable. Full Topic

func (TableColumn) SetHeaderCell

func (t_ TableColumn) SetHeaderCell(value ITableHeaderCell)

The cell used to draw the table column’s header. Full Topic

func (TableColumn) SetHeaderToolTip

func (t_ TableColumn) SetHeaderToolTip(value string)

The string that’s displayed in a help tag over the table column header. Full Topic

func (TableColumn) SetHidden

func (t_ TableColumn) SetHidden(value bool)

A Boolean that indicates whether the table column is hidden. Full Topic

func (TableColumn) SetIdentifier

func (t_ TableColumn) SetIdentifier(value UserInterfaceItemIdentifier)

The identifier string for the table column. Full Topic

func (TableColumn) SetMaxWidth

func (t_ TableColumn) SetMaxWidth(value float64)

The table column’s maximum width, in points. Full Topic

func (TableColumn) SetMinWidth

func (t_ TableColumn) SetMinWidth(value float64)

The table column’s minimum width, in points. Full Topic

func (TableColumn) SetResizingMask

func (t_ TableColumn) SetResizingMask(value TableColumnResizingOptions)

The table column’s resizing mask. Full Topic

func (TableColumn) SetSortDescriptorPrototype

func (t_ TableColumn) SetSortDescriptorPrototype(value foundation.ISortDescriptor)

The table column’s sort descriptor prototype. Full Topic

func (TableColumn) SetTableView

func (t_ TableColumn) SetTableView(value ITableView)

The table view that contains the table column. Full Topic

func (TableColumn) SetTitle

func (t_ TableColumn) SetTitle(value string)

The title of the table column’s header. Full Topic

func (TableColumn) SetWidth

func (t_ TableColumn) SetWidth(value float64)

The table column’s width, in points. Full Topic

func (TableColumn) SizeToFit

func (t_ TableColumn) SizeToFit()

Resizes the table column to fit the width of its header cell. Full Topic

func (TableColumn) SortDescriptorPrototype

func (t_ TableColumn) SortDescriptorPrototype() foundation.SortDescriptor

The table column’s sort descriptor prototype. Full Topic

func (TableColumn) TableView

func (t_ TableColumn) TableView() TableView

The table view that contains the table column. Full Topic

func (TableColumn) Title

func (t_ TableColumn) Title() string

The title of the table column’s header. Full Topic

func (TableColumn) Width

func (t_ TableColumn) Width() float64

The table column’s width, in points. Full Topic

type TableColumnResizingOptions

type TableColumnResizingOptions uint
[Full Topic]
const (
	TableColumnAutoresizingMask TableColumnResizingOptions = 1
	TableColumnNoResizing       TableColumnResizingOptions = 0
	TableColumnUserResizingMask TableColumnResizingOptions = 2
)

type TableHeaderCell

type TableHeaderCell struct {
	TextFieldCell
}

An object that a table header view uses to draw the content of the column headers. Full Topic

func NewTableHeaderCell

func NewTableHeaderCell() TableHeaderCell

func NewTableHeaderCellImageCell

func NewTableHeaderCellImageCell(image IImage) TableHeaderCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewTableHeaderCellTextCell

func NewTableHeaderCellTextCell(string_ string) TableHeaderCell

Initializes a text field cell that displays the specified string. Full Topic

func TableHeaderCellFrom

func TableHeaderCellFrom(ptr unsafe.Pointer) TableHeaderCell

func TableHeaderCell_Alloc

func TableHeaderCell_Alloc() TableHeaderCell

func (TableHeaderCell) DrawSortIndicatorWithFrameInViewAscendingPriority

func (t_ TableHeaderCell) DrawSortIndicatorWithFrameInViewAscendingPriority(cellFrame foundation.Rect, controlView IView, ascending bool, priority int)

Draws a sorting indicator given a cell frame contained inside a view. Full Topic

func (TableHeaderCell) Init

func (t_ TableHeaderCell) Init() TableHeaderCell

func (TableHeaderCell) InitImageCell

func (t_ TableHeaderCell) InitImageCell(image IImage) TableHeaderCell

func (TableHeaderCell) InitTextCell

func (t_ TableHeaderCell) InitTextCell(string_ string) TableHeaderCell

func (TableHeaderCell) SortIndicatorRectForBounds

func (t_ TableHeaderCell) SortIndicatorRectForBounds(rect foundation.Rect) foundation.Rect

Returns the location to display the sorting indicator given theRect. Full Topic

type TableHeaderView

type TableHeaderView struct {
	View
}

An object that draws headers over a table view's columns and handles mouse events in those headers. Full Topic

func NewTableHeaderView

func NewTableHeaderView() TableHeaderView

func NewTableHeaderViewWithFrame

func NewTableHeaderViewWithFrame(frameRect foundation.Rect) TableHeaderView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func TableHeaderViewFrom

func TableHeaderViewFrom(ptr unsafe.Pointer) TableHeaderView

func TableHeaderView_Alloc

func TableHeaderView_Alloc() TableHeaderView

func (TableHeaderView) ColumnAtPoint

func (t_ TableHeaderView) ColumnAtPoint(point foundation.Point) int

Returns the index of the column whose header lies under aPoint in the receiver, or –1 if no such column is found. Full Topic

func (TableHeaderView) DraggedColumn

func (t_ TableHeaderView) DraggedColumn() int

The index of the column that the user is dragging. Full Topic

func (TableHeaderView) DraggedDistance

func (t_ TableHeaderView) DraggedDistance() float64

The horizontal distance that the user has dragged a column. Full Topic

func (TableHeaderView) HeaderRectOfColumn

func (t_ TableHeaderView) HeaderRectOfColumn(column int) foundation.Rect

Returns the rectangle containing the header tile for the column at columnIndex. Full Topic

func (TableHeaderView) Init

func (t_ TableHeaderView) Init() TableHeaderView

func (TableHeaderView) InitWithFrame

func (t_ TableHeaderView) InitWithFrame(frameRect foundation.Rect) TableHeaderView

func (TableHeaderView) ResizedColumn

func (t_ TableHeaderView) ResizedColumn() int

The index of the column that the user is resizing. Full Topic

func (TableHeaderView) SetTableView

func (t_ TableHeaderView) SetTableView(value ITableView)

The NSTableView instance that this table header view belongs to. Full Topic

func (TableHeaderView) TableView

func (t_ TableHeaderView) TableView() TableView

The NSTableView instance that this table header view belongs to. Full Topic

type TableRowActionEdge

type TableRowActionEdge int

These constants define table row edges on which row actions are attached. They are used by the tableView:rowActionsForRow:edge: delegate method. Full Topic

const (
	TableRowActionEdgeLeading  TableRowActionEdge = 0
	TableRowActionEdgeTrailing TableRowActionEdge = 1
)

type TableRowView

type TableRowView struct {
	View
}

The view shown for a row in a table view. Full Topic

func NewTableRowView

func NewTableRowView() TableRowView

func NewTableRowViewWithFrame

func NewTableRowViewWithFrame(frameRect foundation.Rect) TableRowView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func TableRowViewFrom

func TableRowViewFrom(ptr unsafe.Pointer) TableRowView

func TableRowView_Alloc

func TableRowView_Alloc() TableRowView

func (TableRowView) BackgroundColor

func (t_ TableRowView) BackgroundColor() Color

The background color of the row. Full Topic

func (TableRowView) DraggingDestinationFeedbackStyle

func (t_ TableRowView) DraggingDestinationFeedbackStyle() TableViewDraggingDestinationFeedbackStyle

Specifies the dragging destination feedback style. Full Topic

func (TableRowView) DrawBackgroundInRect

func (t_ TableRowView) DrawBackgroundInRect(dirtyRect foundation.Rect)

Draws the background of the row in the rectangle. Full Topic

func (TableRowView) DrawDraggingDestinationFeedbackInRect

func (t_ TableRowView) DrawDraggingDestinationFeedbackInRect(dirtyRect foundation.Rect)

Draws the row’s dragging destination feedback when the entire row is a drop target. Full Topic

func (TableRowView) DrawSelectionInRect

func (t_ TableRowView) DrawSelectionInRect(dirtyRect foundation.Rect)

Draws the selected row. Full Topic

func (TableRowView) DrawSeparatorInRect

func (t_ TableRowView) DrawSeparatorInRect(dirtyRect foundation.Rect)

Draws the horizontal separator between table rows. Full Topic

func (TableRowView) IndentationForDropOperation

func (t_ TableRowView) IndentationForDropOperation() float64

Defines the amount the drag target for a row should be indented. Full Topic

func (TableRowView) Init

func (t_ TableRowView) Init() TableRowView

func (TableRowView) InitWithFrame

func (t_ TableRowView) InitWithFrame(frameRect foundation.Rect) TableRowView

func (TableRowView) InteriorBackgroundStyle

func (t_ TableRowView) InteriorBackgroundStyle() BackgroundStyle

Specifies how the subviews should draw. Full Topic

func (TableRowView) IsEmphasized

func (t_ TableRowView) IsEmphasized() bool

Determines whether the row will draw with the alternate or secondary color (unless overridden). Full Topic

func (TableRowView) IsFloating

func (t_ TableRowView) IsFloating() bool

Specifies whether the row is drawn using the floating style. Full Topic

func (TableRowView) IsGroupRowStyle

func (t_ TableRowView) IsGroupRowStyle() bool

Specifies whether this row view is a group row. Full Topic

func (TableRowView) IsNextRowSelected

func (t_ TableRowView) IsNextRowSelected() bool
[Full Topic]

func (TableRowView) IsPreviousRowSelected

func (t_ TableRowView) IsPreviousRowSelected() bool
[Full Topic]

func (TableRowView) IsSelected

func (t_ TableRowView) IsSelected() bool

Determines whether the row is selected. Full Topic

func (TableRowView) IsTargetForDropOperation

func (t_ TableRowView) IsTargetForDropOperation() bool

Specifies whether this row will draw a drop indicator based on the current dragging feedback style. Full Topic

func (TableRowView) NumberOfColumns

func (t_ TableRowView) NumberOfColumns() int

Returns the number of columns represented by views in the table row view. Full Topic

func (TableRowView) SelectionHighlightStyle

func (t_ TableRowView) SelectionHighlightStyle() TableViewSelectionHighlightStyle

Specifies the selection highlight style. Full Topic

func (TableRowView) SetBackgroundColor

func (t_ TableRowView) SetBackgroundColor(value IColor)

The background color of the row. Full Topic

func (TableRowView) SetDraggingDestinationFeedbackStyle

func (t_ TableRowView) SetDraggingDestinationFeedbackStyle(value TableViewDraggingDestinationFeedbackStyle)

Specifies the dragging destination feedback style. Full Topic

func (TableRowView) SetEmphasized

func (t_ TableRowView) SetEmphasized(value bool)

Determines whether the row will draw with the alternate or secondary color (unless overridden). Full Topic

func (TableRowView) SetFloating

func (t_ TableRowView) SetFloating(value bool)

Specifies whether the row is drawn using the floating style. Full Topic

func (TableRowView) SetGroupRowStyle

func (t_ TableRowView) SetGroupRowStyle(value bool)

Specifies whether this row view is a group row. Full Topic

func (TableRowView) SetIndentationForDropOperation

func (t_ TableRowView) SetIndentationForDropOperation(value float64)

Defines the amount the drag target for a row should be indented. Full Topic

func (TableRowView) SetNextRowSelected

func (t_ TableRowView) SetNextRowSelected(value bool)
[Full Topic]

func (TableRowView) SetPreviousRowSelected

func (t_ TableRowView) SetPreviousRowSelected(value bool)
[Full Topic]

func (TableRowView) SetSelected

func (t_ TableRowView) SetSelected(value bool)

Determines whether the row is selected. Full Topic

func (TableRowView) SetSelectionHighlightStyle

func (t_ TableRowView) SetSelectionHighlightStyle(value TableViewSelectionHighlightStyle)

Specifies the selection highlight style. Full Topic

func (TableRowView) SetTargetForDropOperation

func (t_ TableRowView) SetTargetForDropOperation(value bool)

Specifies whether this row will draw a drop indicator based on the current dragging feedback style. Full Topic

func (TableRowView) ViewAtColumn

func (t_ TableRowView) ViewAtColumn(column int) objc.Object

Provides access to the given view at a particular column. Full Topic

type TableView

type TableView struct {
	Control
}

A set of related records, displayed in rows that represent individual records and columns that represent the attributes of those records. Full Topic

func NewTableView

func NewTableView() TableView

func NewTableViewWithFrame

func NewTableViewWithFrame(frameRect foundation.Rect) TableView
[Full Topic]

func TableViewFrom

func TableViewFrom(ptr unsafe.Pointer) TableView

func TableView_Alloc

func TableView_Alloc() TableView

func (TableView) AddTableColumn

func (t_ TableView) AddTableColumn(tableColumn ITableColumn)

Adds the specified column as the last column of the table view. Full Topic

func (TableView) AllowsColumnReordering

func (t_ TableView) AllowsColumnReordering() bool

A Boolean value indicating whether the table view allows the user to rearrange columns by dragging their headers. Full Topic

func (TableView) AllowsColumnResizing

func (t_ TableView) AllowsColumnResizing() bool

A Boolean value indicating whether the table view allows the user to resize columns by dragging between their headers. Full Topic

func (TableView) AllowsColumnSelection

func (t_ TableView) AllowsColumnSelection() bool

A Boolean value indicating whether the table view allows the user to select columns by clicking their headers. Full Topic

func (TableView) AllowsEmptySelection

func (t_ TableView) AllowsEmptySelection() bool

A Boolean value indicating whether the table view allows the user to select zero columns or rows. Full Topic

func (TableView) AllowsMultipleSelection

func (t_ TableView) AllowsMultipleSelection() bool

A Boolean value indicating whether the table view allows the user to select more than one column or row at a time. Full Topic

func (TableView) AllowsTypeSelect

func (t_ TableView) AllowsTypeSelect() bool

A Boolean value indicating whether the table view allows the user to type characters to select rows. Full Topic

func (TableView) AutosaveName

func (t_ TableView) AutosaveName() TableViewAutosaveName

The name under which table information is automatically saved. Full Topic

func (TableView) AutosaveTableColumns

func (t_ TableView) AutosaveTableColumns() bool

A Boolean value indicating whether the order and width of the table view’s columns are automatically saved. Full Topic

func (TableView) BackgroundColor

func (t_ TableView) BackgroundColor() Color

The color used to draw the background of the table. Full Topic

func (TableView) BeginUpdates

func (t_ TableView) BeginUpdates()

Begins a group of updates for the table view. Full Topic

func (TableView) CanDragRowsWithIndexesAtPoint

func (t_ TableView) CanDragRowsWithIndexesAtPoint(rowIndexes foundation.IIndexSet, mouseDownPoint foundation.Point) bool

Returns a Boolean value indicating whether the table view allows dragging the rows with the drag initiated at the specified point. Full Topic

func (TableView) ClickedColumn

func (t_ TableView) ClickedColumn() int

The index of the column the user clicked. Full Topic

func (TableView) ClickedRow

func (t_ TableView) ClickedRow() int

The index of the row the user clicked. Full Topic

func (TableView) ColumnAtPoint

func (t_ TableView) ColumnAtPoint(point foundation.Point) int

Returns the index of the column the specified point lies in. Full Topic

func (TableView) ColumnAutoresizingStyle

func (t_ TableView) ColumnAutoresizingStyle() TableViewColumnAutoresizingStyle

The table view’s column autoresizing style. Full Topic

func (TableView) ColumnForView

func (t_ TableView) ColumnForView(view IView) int

Returns the column index for the specified view. Full Topic

func (TableView) ColumnIndexesInRect

func (t_ TableView) ColumnIndexesInRect(rect foundation.Rect) foundation.IndexSet

Returns the indexes of the table view’s columns that intersect the specified rectangle. Full Topic

func (TableView) ColumnWithIdentifier

func (t_ TableView) ColumnWithIdentifier(identifier UserInterfaceItemIdentifier) int

Returns the index of the first column in the table view whose identifier is equal to the specified identifier. Full Topic

func (TableView) CornerView

func (t_ TableView) CornerView() View

The view used to draw the area to the right of the column headers and above the vertical scroller of the enclosing scroll view. Full Topic

func (TableView) DataSource

func (t_ TableView) DataSource() TableViewDataSourceWrapper

The object that provides the data displayed by the table view. Full Topic

func (TableView) Delegate

func (t_ TableView) Delegate() TableViewDelegateWrapper

The table view’s delegate. Full Topic

func (TableView) DeselectAll

func (t_ TableView) DeselectAll(sender objc.IObject)

Deselects all selected rows or columns if empty selection is allowed; otherwise does nothing. Full Topic

func (TableView) DeselectColumn

func (t_ TableView) DeselectColumn(column int)

Deselects the column at the specified index if it’s selected. Full Topic

func (TableView) DeselectRow

func (t_ TableView) DeselectRow(row int)

Deselects the row at the specified index if it’s selected. Full Topic

func (TableView) DidAddRowViewForRow

func (t_ TableView) DidAddRowViewForRow(rowView ITableRowView, row int)

Invoked when a row view is added to the table. Full Topic

func (TableView) DidRemoveRowViewForRow

func (t_ TableView) DidRemoveRowViewForRow(rowView ITableRowView, row int)

Invoked when a row view is removed from the table. Full Topic

func (TableView) DoubleAction

func (t_ TableView) DoubleAction() objc.Selector

The message sent to the table view’s target when the user double-clicks a cell or column header. Full Topic

func (TableView) DragImageForRowsWithIndexesTableColumnsEventOffset

func (t_ TableView) DragImageForRowsWithIndexesTableColumnsEventOffset(dragRows foundation.IIndexSet, tableColumns []ITableColumn, dragEvent IEvent, dragImageOffset foundation.PointPointer) Image

Computes and returns an image to use for dragging. Full Topic

func (TableView) DraggingDestinationFeedbackStyle

func (t_ TableView) DraggingDestinationFeedbackStyle() TableViewDraggingDestinationFeedbackStyle

The feedback style displayed when the user drags over the table view. Full Topic

func (TableView) DrawBackgroundInClipRect

func (t_ TableView) DrawBackgroundInClipRect(clipRect foundation.Rect)

Draws the background of the table view in the clip rect specified by the rectangle. Full Topic

func (TableView) DrawGridInClipRect

func (t_ TableView) DrawGridInClipRect(clipRect foundation.Rect)

Draws the grid lines within the supplied rectangle. Full Topic

func (TableView) DrawRowClipRect

func (t_ TableView) DrawRowClipRect(row int, clipRect foundation.Rect)

Draws the cells for the row at rowIndex in the columns that intersect clipRect. Full Topic

func (TableView) EditColumnRowWithEventSelect

func (t_ TableView) EditColumnRowWithEventSelect(column int, row int, event IEvent, select_ bool)

Edits the cell at the specified column and row using the specified event and selection behavior. Full Topic

func (TableView) EditedColumn

func (t_ TableView) EditedColumn() int

The index of the column being edited. Full Topic

func (TableView) EditedRow

func (t_ TableView) EditedRow() int

The index of the row being edited. Full Topic

func (TableView) EffectiveRowSizeStyle

func (t_ TableView) EffectiveRowSizeStyle() TableViewRowSizeStyle

The effective row size style for the table. Full Topic

func (TableView) EffectiveStyle

func (t_ TableView) EffectiveStyle() TableViewStyle

The effective style that the table uses. Full Topic

func (TableView) EndUpdates

func (t_ TableView) EndUpdates()

Ends the group of updates for the table view. Full Topic

func (TableView) EnumerateAvailableRowViewsUsingBlock

func (t_ TableView) EnumerateAvailableRowViewsUsingBlock(handler func(rowView TableRowView, row int))

Allows the enumeration of all the table rows that are known to the table view. Full Topic

func (TableView) FloatsGroupRows

func (t_ TableView) FloatsGroupRows() bool

A Boolean value indicating whether the table view draws grouped rows as if they are floating. Full Topic

func (TableView) FrameOfCellAtColumnRow

func (t_ TableView) FrameOfCellAtColumnRow(column int, row int) foundation.Rect

Returns a rectangle locating the cell that lies at the intersection of the specified column and row. Full Topic

func (TableView) GridColor

func (t_ TableView) GridColor() Color

The color used to draw grid lines. Full Topic

func (TableView) GridStyleMask

func (t_ TableView) GridStyleMask() TableViewGridLineStyle

The grid lines drawn by the table view. Full Topic

func (TableView) HeaderView

func (t_ TableView) HeaderView() TableHeaderView

The view object used to draw headers over columns. Full Topic

func (TableView) HiddenRowIndexes

func (t_ TableView) HiddenRowIndexes() foundation.IndexSet

The indexes of all hidden table rows. Full Topic

func (TableView) HideRowsAtIndexesWithAnimation

func (t_ TableView) HideRowsAtIndexesWithAnimation(indexes foundation.IIndexSet, rowAnimation TableViewAnimationOptions)

Hides the specified table rows. Full Topic

func (TableView) HighlightSelectionInClipRect

func (t_ TableView) HighlightSelectionInClipRect(clipRect foundation.Rect)

Highlights the region of the table view in the specified rectangle. Full Topic

func (TableView) HighlightedTableColumn

func (t_ TableView) HighlightedTableColumn() TableColumn

The column highlighted in the table. Full Topic

func (TableView) IndicatorImageInTableColumn

func (t_ TableView) IndicatorImageInTableColumn(tableColumn ITableColumn) Image

Returns the indicator image of the specified table column. Full Topic

func (TableView) Init

func (t_ TableView) Init() TableView

func (TableView) InitWithFrame

func (t_ TableView) InitWithFrame(frameRect foundation.Rect) TableView

func (TableView) InsertRowsAtIndexesWithAnimation

func (t_ TableView) InsertRowsAtIndexesWithAnimation(indexes foundation.IIndexSet, animationOptions TableViewAnimationOptions)

Inserts the rows using the specified animation. Full Topic

func (TableView) IntercellSpacing

func (t_ TableView) IntercellSpacing() foundation.Size

The horizontal and vertical spacing between cells. Full Topic

func (TableView) IsColumnSelected

func (t_ TableView) IsColumnSelected(column int) bool

Returns a Boolean value that indicates whether the column at the specified index is selected. Full Topic

func (TableView) IsRowSelected

func (t_ TableView) IsRowSelected(row int) bool

Returns a Boolean value that indicates whether the row at the specified index is selected. Full Topic

func (TableView) MakeViewWithIdentifierOwner

func (t_ TableView) MakeViewWithIdentifierOwner(identifier UserInterfaceItemIdentifier, owner objc.IObject) View

Returns a new or existing view with the specified identifier. Full Topic

func (TableView) MoveColumnToColumn

func (t_ TableView) MoveColumnToColumn(oldIndex int, newIndex int)

Moves the column and heading at the specified index to the new specified index. Full Topic

func (TableView) MoveRowAtIndexToIndex

func (t_ TableView) MoveRowAtIndexToIndex(oldIndex int, newIndex int)

Moves the specified row to the new row location using animation. Full Topic

func (TableView) NoteHeightOfRowsWithIndexesChanged

func (t_ TableView) NoteHeightOfRowsWithIndexesChanged(indexSet foundation.IIndexSet)

Informs the table view that the rows specified in indexSet have changed height. Full Topic

func (TableView) NoteNumberOfRowsChanged

func (t_ TableView) NoteNumberOfRowsChanged()

Informs the table view that the number of records in its data source has changed. Full Topic

func (TableView) NumberOfColumns

func (t_ TableView) NumberOfColumns() int

The number of columns in the table. Full Topic

func (TableView) NumberOfRows

func (t_ TableView) NumberOfRows() int

The number of rows in the table. Full Topic

func (TableView) NumberOfSelectedColumns

func (t_ TableView) NumberOfSelectedColumns() int

The number of selected columns. Full Topic

func (TableView) NumberOfSelectedRows

func (t_ TableView) NumberOfSelectedRows() int

The number of selected rows. Full Topic

func (TableView) RectOfColumn

func (t_ TableView) RectOfColumn(column int) foundation.Rect

Returns the rectangle containing the column at the specified index. Full Topic

func (TableView) RectOfRow

func (t_ TableView) RectOfRow(row int) foundation.Rect

Returns the rectangle containing the row at the specified index. Full Topic

func (TableView) RegisterNibForIdentifier

func (t_ TableView) RegisterNibForIdentifier(nib INib, identifier UserInterfaceItemIdentifier)

Registers a NIB for the specified identifier, so that view-based table views can use it to instantiate views. Full Topic

func (TableView) RegisteredNibsByIdentifier

func (t_ TableView) RegisteredNibsByIdentifier() map[UserInterfaceItemIdentifier]Nib

The dictionary of all registered nib files for view-based table view identifiers. Full Topic

func (TableView) ReloadData

func (t_ TableView) ReloadData()

Marks the table view as needing redisplay, so it will reload the data for visible cells and draw the new values. Full Topic

func (TableView) ReloadDataForRowIndexesColumnIndexes

func (t_ TableView) ReloadDataForRowIndexesColumnIndexes(rowIndexes foundation.IIndexSet, columnIndexes foundation.IIndexSet)

Reloads the data for only the specified rows and columns. Full Topic

func (TableView) RemoveRowsAtIndexesWithAnimation

func (t_ TableView) RemoveRowsAtIndexesWithAnimation(indexes foundation.IIndexSet, animationOptions TableViewAnimationOptions)

Removes the rows using the specified animation. Full Topic

func (TableView) RemoveTableColumn

func (t_ TableView) RemoveTableColumn(tableColumn ITableColumn)

Removes the specified column from the table view. Full Topic

func (TableView) RowActionsVisible

func (t_ TableView) RowActionsVisible() bool

A Boolean value indicating whether a table row’s actions are visible. Full Topic

func (TableView) RowAtPoint

func (t_ TableView) RowAtPoint(point foundation.Point) int

Returns the index of the row the specified point lies in. Full Topic

func (TableView) RowForView

func (t_ TableView) RowForView(view IView) int

Returns the index of the row for the specified view. Full Topic

func (TableView) RowHeight

func (t_ TableView) RowHeight() float64

The height of each row in the table. Full Topic

func (TableView) RowSizeStyle

func (t_ TableView) RowSizeStyle() TableViewRowSizeStyle

The row size style (small, medium, large, or custom) used by the table view. Full Topic

func (TableView) RowViewAtRowMakeIfNecessary

func (t_ TableView) RowViewAtRowMakeIfNecessary(row int, makeIfNecessary bool) TableRowView

Returns a row view at the specified index, creating one if necessary. Full Topic

func (TableView) RowsInRect

func (t_ TableView) RowsInRect(rect foundation.Rect) foundation.Range

Returns a range of indexes for the rows that lie wholly or partially within the vertical boundaries of the specified rectangle. Full Topic

func (TableView) ScrollColumnToVisible

func (t_ TableView) ScrollColumnToVisible(column int)

Scrolls the view so the specified column is visible. Full Topic

func (TableView) ScrollRowToVisible

func (t_ TableView) ScrollRowToVisible(row int)

Scrolls the view so the specified row is visible. Full Topic

func (TableView) SelectAll

func (t_ TableView) SelectAll(sender objc.IObject)

Selects all rows or all columns, according to whether rows or columns were most recently selected. Full Topic

func (TableView) SelectColumnIndexesByExtendingSelection

func (t_ TableView) SelectColumnIndexesByExtendingSelection(indexes foundation.IIndexSet, extend bool)

Sets the column selection using indexes possibly extending the selection. Full Topic

func (TableView) SelectRowIndexesByExtendingSelection

func (t_ TableView) SelectRowIndexesByExtendingSelection(indexes foundation.IIndexSet, extend bool)

Sets the row selection using indexes extending the selection if specified. Full Topic

func (TableView) SelectedColumn

func (t_ TableView) SelectedColumn() int

The index of the last selected column (or the last column added to the selection). Full Topic

func (TableView) SelectedColumnIndexes

func (t_ TableView) SelectedColumnIndexes() foundation.IndexSet

An index set containing the indexes of the selected columns. Full Topic

func (TableView) SelectedRow

func (t_ TableView) SelectedRow() int

The index of the last selected row (or the last row added to the selection). Full Topic

func (TableView) SelectedRowIndexes

func (t_ TableView) SelectedRowIndexes() foundation.IndexSet

An index set containing the indexes of the selected rows. Full Topic

func (TableView) SelectionHighlightStyle

func (t_ TableView) SelectionHighlightStyle() TableViewSelectionHighlightStyle

The selection highlight style used by the table view to indicate row and column selection. Full Topic

func (TableView) SetAllowsColumnReordering

func (t_ TableView) SetAllowsColumnReordering(value bool)

A Boolean value indicating whether the table view allows the user to rearrange columns by dragging their headers. Full Topic

func (TableView) SetAllowsColumnResizing

func (t_ TableView) SetAllowsColumnResizing(value bool)

A Boolean value indicating whether the table view allows the user to resize columns by dragging between their headers. Full Topic

func (TableView) SetAllowsColumnSelection

func (t_ TableView) SetAllowsColumnSelection(value bool)

A Boolean value indicating whether the table view allows the user to select columns by clicking their headers. Full Topic

func (TableView) SetAllowsEmptySelection

func (t_ TableView) SetAllowsEmptySelection(value bool)

A Boolean value indicating whether the table view allows the user to select zero columns or rows. Full Topic

func (TableView) SetAllowsMultipleSelection

func (t_ TableView) SetAllowsMultipleSelection(value bool)

A Boolean value indicating whether the table view allows the user to select more than one column or row at a time. Full Topic

func (TableView) SetAllowsTypeSelect

func (t_ TableView) SetAllowsTypeSelect(value bool)

A Boolean value indicating whether the table view allows the user to type characters to select rows. Full Topic

func (TableView) SetAutosaveName

func (t_ TableView) SetAutosaveName(value TableViewAutosaveName)

The name under which table information is automatically saved. Full Topic

func (TableView) SetAutosaveTableColumns

func (t_ TableView) SetAutosaveTableColumns(value bool)

A Boolean value indicating whether the order and width of the table view’s columns are automatically saved. Full Topic

func (TableView) SetBackgroundColor

func (t_ TableView) SetBackgroundColor(value IColor)

The color used to draw the background of the table. Full Topic

func (TableView) SetColumnAutoresizingStyle

func (t_ TableView) SetColumnAutoresizingStyle(value TableViewColumnAutoresizingStyle)

The table view’s column autoresizing style. Full Topic

func (TableView) SetCornerView

func (t_ TableView) SetCornerView(value IView)

The view used to draw the area to the right of the column headers and above the vertical scroller of the enclosing scroll view. Full Topic

func (TableView) SetDataSource

func (t_ TableView) SetDataSource(value PTableViewDataSource)

The object that provides the data displayed by the table view. Full Topic

func (TableView) SetDataSourceObject

func (t_ TableView) SetDataSourceObject(valueObject objc.IObject)

The object that provides the data displayed by the table view. Full Topic

func (TableView) SetDelegate

func (t_ TableView) SetDelegate(value PTableViewDelegate)

The table view’s delegate. Full Topic

func (TableView) SetDelegateObject

func (t_ TableView) SetDelegateObject(valueObject objc.IObject)

The table view’s delegate. Full Topic

func (TableView) SetDoubleAction

func (t_ TableView) SetDoubleAction(value objc.Selector)

The message sent to the table view’s target when the user double-clicks a cell or column header. Full Topic

func (TableView) SetDraggingDestinationFeedbackStyle

func (t_ TableView) SetDraggingDestinationFeedbackStyle(value TableViewDraggingDestinationFeedbackStyle)

The feedback style displayed when the user drags over the table view. Full Topic

func (TableView) SetDraggingSourceOperationMaskForLocal

func (t_ TableView) SetDraggingSourceOperationMaskForLocal(mask DragOperation, isLocal bool)

Sets the default operation mask returned by draggingSourceOperationMaskForLocal: to mask. Full Topic

func (TableView) SetDropRowDropOperation

func (t_ TableView) SetDropRowDropOperation(row int, dropOperation TableViewDropOperation)

Retargets the proposed drop operation. Full Topic

func (TableView) SetFloatsGroupRows

func (t_ TableView) SetFloatsGroupRows(value bool)

A Boolean value indicating whether the table view draws grouped rows as if they are floating. Full Topic

func (TableView) SetGridColor

func (t_ TableView) SetGridColor(value IColor)

The color used to draw grid lines. Full Topic

func (TableView) SetGridStyleMask

func (t_ TableView) SetGridStyleMask(value TableViewGridLineStyle)

The grid lines drawn by the table view. Full Topic

func (TableView) SetHeaderView

func (t_ TableView) SetHeaderView(value ITableHeaderView)

The view object used to draw headers over columns. Full Topic

func (TableView) SetHighlightedTableColumn

func (t_ TableView) SetHighlightedTableColumn(value ITableColumn)

The column highlighted in the table. Full Topic

func (TableView) SetIndicatorImageInTableColumn

func (t_ TableView) SetIndicatorImageInTableColumn(image IImage, tableColumn ITableColumn)

Sets the indicator image of the specified column. Full Topic

func (TableView) SetIntercellSpacing

func (t_ TableView) SetIntercellSpacing(value foundation.Size)

The horizontal and vertical spacing between cells. Full Topic

func (TableView) SetRowActionsVisible

func (t_ TableView) SetRowActionsVisible(value bool)

A Boolean value indicating whether a table row’s actions are visible. Full Topic

func (TableView) SetRowHeight

func (t_ TableView) SetRowHeight(value float64)

The height of each row in the table. Full Topic

func (TableView) SetRowSizeStyle

func (t_ TableView) SetRowSizeStyle(value TableViewRowSizeStyle)

The row size style (small, medium, large, or custom) used by the table view. Full Topic

func (TableView) SetSelectionHighlightStyle

func (t_ TableView) SetSelectionHighlightStyle(value TableViewSelectionHighlightStyle)

The selection highlight style used by the table view to indicate row and column selection. Full Topic

func (TableView) SetSortDescriptors

func (t_ TableView) SetSortDescriptors(value []foundation.ISortDescriptor)

The table view’s sort descriptors. Full Topic

func (TableView) SetStyle

func (t_ TableView) SetStyle(value TableViewStyle)

The style that the table view uses. Full Topic

func (TableView) SetUsesAlternatingRowBackgroundColors

func (t_ TableView) SetUsesAlternatingRowBackgroundColors(value bool)

A Boolean value indicating whether the table view uses alternating row colors for its background. Full Topic

func (TableView) SetUsesAutomaticRowHeights

func (t_ TableView) SetUsesAutomaticRowHeights(value bool)

A Boolean value that indicates whether the table view uses autolayout to calculate the height of rows. Full Topic

func (TableView) SetUsesStaticContents

func (t_ TableView) SetUsesStaticContents(value bool)

A Boolean value indicating whether the table uses static data. Full Topic

func (TableView) SetVerticalMotionCanBeginDrag

func (t_ TableView) SetVerticalMotionCanBeginDrag(value bool)

A Boolean value indicating whether vertical motion is treated as a drag or selection change. Full Topic

func (TableView) SizeLastColumnToFit

func (t_ TableView) SizeLastColumnToFit()

Resizes the last column so the table view fits exactly within its enclosing clip view. Full Topic

func (TableView) SortDescriptors

func (t_ TableView) SortDescriptors() []foundation.SortDescriptor

The table view’s sort descriptors. Full Topic

func (TableView) Style

func (t_ TableView) Style() TableViewStyle

The style that the table view uses. Full Topic

func (TableView) TableColumnWithIdentifier

func (t_ TableView) TableColumnWithIdentifier(identifier UserInterfaceItemIdentifier) TableColumn

Returns the NSTableColumn object for the first column whose identifier is equal to the specified object. Full Topic

func (TableView) TableColumns

func (t_ TableView) TableColumns() []TableColumn

An array containing the current table column objects. Full Topic

func (TableView) Tile

func (t_ TableView) Tile()

Properly sizes the table view and its header view and marks it as needing display. Full Topic

func (TableView) UnhideRowsAtIndexesWithAnimation

func (t_ TableView) UnhideRowsAtIndexesWithAnimation(indexes foundation.IIndexSet, rowAnimation TableViewAnimationOptions)

Unhides the specified table rows. Full Topic

func (TableView) UsesAlternatingRowBackgroundColors

func (t_ TableView) UsesAlternatingRowBackgroundColors() bool

A Boolean value indicating whether the table view uses alternating row colors for its background. Full Topic

func (TableView) UsesAutomaticRowHeights

func (t_ TableView) UsesAutomaticRowHeights() bool

A Boolean value that indicates whether the table view uses autolayout to calculate the height of rows. Full Topic

func (TableView) UsesStaticContents

func (t_ TableView) UsesStaticContents() bool

A Boolean value indicating whether the table uses static data. Full Topic

func (TableView) VerticalMotionCanBeginDrag

func (t_ TableView) VerticalMotionCanBeginDrag() bool

A Boolean value indicating whether vertical motion is treated as a drag or selection change. Full Topic

func (TableView) ViewAtColumnRowMakeIfNecessary

func (t_ TableView) ViewAtColumnRowMakeIfNecessary(column int, row int, makeIfNecessary bool) View

Returns a view at the specified row and column indexes, creating one if necessary. Full Topic

type TableViewAnimationOptions

type TableViewAnimationOptions uint

Specifies the animation effects to apply when inserting or removing rows. Full Topic

const (
	TableViewAnimationEffectFade TableViewAnimationOptions = 1
	TableViewAnimationEffectGap  TableViewAnimationOptions = 2
	TableViewAnimationEffectNone TableViewAnimationOptions = 0
	TableViewAnimationSlideDown  TableViewAnimationOptions = 32
	TableViewAnimationSlideLeft  TableViewAnimationOptions = 48
	TableViewAnimationSlideRight TableViewAnimationOptions = 64
	TableViewAnimationSlideUp    TableViewAnimationOptions = 16
)

type TableViewAutosaveName

type TableViewAutosaveName string
[Full Topic]

type TableViewColumnAutoresizingStyle

type TableViewColumnAutoresizingStyle uint

The following constants specify the autoresizing styles. These constants are used by the columnAutoresizingStyle property. Full Topic

const (
	TableViewFirstColumnOnlyAutoresizingStyle         TableViewColumnAutoresizingStyle = 5
	TableViewLastColumnOnlyAutoresizingStyle          TableViewColumnAutoresizingStyle = 4
	TableViewNoColumnAutoresizing                     TableViewColumnAutoresizingStyle = 0
	TableViewReverseSequentialColumnAutoresizingStyle TableViewColumnAutoresizingStyle = 3
	TableViewSequentialColumnAutoresizingStyle        TableViewColumnAutoresizingStyle = 2
	TableViewUniformColumnAutoresizingStyle           TableViewColumnAutoresizingStyle = 1
)

type TableViewDataSourceWrapper

type TableViewDataSourceWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTableViewDataSource protocol.

func (TableViewDataSourceWrapper) HasNumberOfRowsInTableView

func (t_ TableViewDataSourceWrapper) HasNumberOfRowsInTableView() bool

func (TableViewDataSourceWrapper) HasTableViewSortDescriptorsDidChange

func (t_ TableViewDataSourceWrapper) HasTableViewSortDescriptorsDidChange() bool

func (TableViewDataSourceWrapper) NumberOfRowsInTableView

func (t_ TableViewDataSourceWrapper) NumberOfRowsInTableView(tableView ITableView) int

Returns the number of records managed for aTableView by the data source object. Full Topic

func (TableViewDataSourceWrapper) TableViewSortDescriptorsDidChange

func (t_ TableViewDataSourceWrapper) TableViewSortDescriptorsDidChange(tableView ITableView, oldDescriptors []foundation.ISortDescriptor)

Called by aTableView to indicate that sorting may need to be done. Full Topic

type TableViewDelegate

type TableViewDelegate struct {
	ControlTextEditingDelegate
	// contains filtered or unexported fields
}

A delegate implementation builder for the PTableViewDelegate protocol.

func (*TableViewDelegate) HasSelectionShouldChangeInTableView

func (di *TableViewDelegate) HasSelectionShouldChangeInTableView() bool

func (*TableViewDelegate) HasTableViewColumnDidMove

func (di *TableViewDelegate) HasTableViewColumnDidMove() bool

func (*TableViewDelegate) HasTableViewColumnDidResize

func (di *TableViewDelegate) HasTableViewColumnDidResize() bool

func (*TableViewDelegate) HasTableViewDidClickTableColumn

func (di *TableViewDelegate) HasTableViewDidClickTableColumn() bool

func (*TableViewDelegate) HasTableViewSelectionDidChange

func (di *TableViewDelegate) HasTableViewSelectionDidChange() bool

func (*TableViewDelegate) HasTableViewSelectionIsChanging

func (di *TableViewDelegate) HasTableViewSelectionIsChanging() bool

func (*TableViewDelegate) SelectionShouldChangeInTableView

func (di *TableViewDelegate) SelectionShouldChangeInTableView(tableView TableView) bool

Asks the delegate if the user is allowed to change the selection. Full Topic

func (*TableViewDelegate) SetSelectionShouldChangeInTableView

func (di *TableViewDelegate) SetSelectionShouldChangeInTableView(f func(tableView TableView) bool)

Asks the delegate if the user is allowed to change the selection. Full Topic

func (*TableViewDelegate) SetTableViewColumnDidMove

func (di *TableViewDelegate) SetTableViewColumnDidMove(f func(notification foundation.Notification))

Tells the delegate that a table column was moved by user action. Full Topic

func (*TableViewDelegate) SetTableViewColumnDidResize

func (di *TableViewDelegate) SetTableViewColumnDidResize(f func(notification foundation.Notification))

Tells the delegate that a table column was resized. Full Topic

func (*TableViewDelegate) SetTableViewDidClickTableColumn

func (di *TableViewDelegate) SetTableViewDidClickTableColumn(f func(tableView TableView, tableColumn TableColumn))

Tells the delegate that the mouse button was clicked in the specified table column, but the column was not dragged. Full Topic

func (*TableViewDelegate) SetTableViewSelectionDidChange

func (di *TableViewDelegate) SetTableViewSelectionDidChange(f func(notification foundation.Notification))

Tells the delegate that the table view’s selection has changed. Full Topic

func (*TableViewDelegate) SetTableViewSelectionIsChanging

func (di *TableViewDelegate) SetTableViewSelectionIsChanging(f func(notification foundation.Notification))

Tells the delegate that the table view’s selection is in the process of changing. Full Topic

func (*TableViewDelegate) TableViewColumnDidMove

func (di *TableViewDelegate) TableViewColumnDidMove(notification foundation.Notification)

Tells the delegate that a table column was moved by user action. Full Topic

func (*TableViewDelegate) TableViewColumnDidResize

func (di *TableViewDelegate) TableViewColumnDidResize(notification foundation.Notification)

Tells the delegate that a table column was resized. Full Topic

func (*TableViewDelegate) TableViewDidClickTableColumn

func (di *TableViewDelegate) TableViewDidClickTableColumn(tableView TableView, tableColumn TableColumn)

Tells the delegate that the mouse button was clicked in the specified table column, but the column was not dragged. Full Topic

func (*TableViewDelegate) TableViewSelectionDidChange

func (di *TableViewDelegate) TableViewSelectionDidChange(notification foundation.Notification)

Tells the delegate that the table view’s selection has changed. Full Topic

func (*TableViewDelegate) TableViewSelectionIsChanging

func (di *TableViewDelegate) TableViewSelectionIsChanging(notification foundation.Notification)

Tells the delegate that the table view’s selection is in the process of changing. Full Topic

type TableViewDelegateWrapper

type TableViewDelegateWrapper struct {
	ControlTextEditingDelegateWrapper
}

A concrete type wrapper for the PTableViewDelegate protocol.

func (TableViewDelegateWrapper) HasSelectionShouldChangeInTableView

func (t_ TableViewDelegateWrapper) HasSelectionShouldChangeInTableView() bool

func (TableViewDelegateWrapper) HasTableViewColumnDidMove

func (t_ TableViewDelegateWrapper) HasTableViewColumnDidMove() bool

func (TableViewDelegateWrapper) HasTableViewColumnDidResize

func (t_ TableViewDelegateWrapper) HasTableViewColumnDidResize() bool

func (TableViewDelegateWrapper) HasTableViewDidClickTableColumn

func (t_ TableViewDelegateWrapper) HasTableViewDidClickTableColumn() bool

func (TableViewDelegateWrapper) HasTableViewSelectionDidChange

func (t_ TableViewDelegateWrapper) HasTableViewSelectionDidChange() bool

func (TableViewDelegateWrapper) HasTableViewSelectionIsChanging

func (t_ TableViewDelegateWrapper) HasTableViewSelectionIsChanging() bool

func (TableViewDelegateWrapper) SelectionShouldChangeInTableView

func (t_ TableViewDelegateWrapper) SelectionShouldChangeInTableView(tableView ITableView) bool

Asks the delegate if the user is allowed to change the selection. Full Topic

func (TableViewDelegateWrapper) TableViewColumnDidMove

func (t_ TableViewDelegateWrapper) TableViewColumnDidMove(notification foundation.INotification)

Tells the delegate that a table column was moved by user action. Full Topic

func (TableViewDelegateWrapper) TableViewColumnDidResize

func (t_ TableViewDelegateWrapper) TableViewColumnDidResize(notification foundation.INotification)

Tells the delegate that a table column was resized. Full Topic

func (TableViewDelegateWrapper) TableViewDidClickTableColumn

func (t_ TableViewDelegateWrapper) TableViewDidClickTableColumn(tableView ITableView, tableColumn ITableColumn)

Tells the delegate that the mouse button was clicked in the specified table column, but the column was not dragged. Full Topic

func (TableViewDelegateWrapper) TableViewSelectionDidChange

func (t_ TableViewDelegateWrapper) TableViewSelectionDidChange(notification foundation.INotification)

Tells the delegate that the table view’s selection has changed. Full Topic

func (TableViewDelegateWrapper) TableViewSelectionIsChanging

func (t_ TableViewDelegateWrapper) TableViewSelectionIsChanging(notification foundation.INotification)

Tells the delegate that the table view’s selection is in the process of changing. Full Topic

type TableViewDiffableDataSource

type TableViewDiffableDataSource struct {
	objc.Object
}

The object you use to manage data and provide items for a table view. Full Topic

func NewTableViewDiffableDataSource

func NewTableViewDiffableDataSource() TableViewDiffableDataSource

func NewTableViewDiffableDataSourceWithTableViewCellProvider

func NewTableViewDiffableDataSourceWithTableViewCellProvider(tableView ITableView, cellProvider TableViewDiffableDataSourceCellProvider) TableViewDiffableDataSource

Creates a diffable data source with the specified cell provider, and connects it to the specified table view. Full Topic

func TableViewDiffableDataSourceFrom

func TableViewDiffableDataSourceFrom(ptr unsafe.Pointer) TableViewDiffableDataSource

func TableViewDiffableDataSource_Alloc

func TableViewDiffableDataSource_Alloc() TableViewDiffableDataSource

func (TableViewDiffableDataSource) DefaultRowAnimation

func (t_ TableViewDiffableDataSource) DefaultRowAnimation() TableViewAnimationOptions

The default animation the UI uses to show differences between rows. Full Topic

func (TableViewDiffableDataSource) Init

func (TableViewDiffableDataSource) InitWithTableViewCellProvider

func (t_ TableViewDiffableDataSource) InitWithTableViewCellProvider(tableView ITableView, cellProvider TableViewDiffableDataSourceCellProvider) TableViewDiffableDataSource

func (TableViewDiffableDataSource) ItemIdentifierForRow

func (t_ TableViewDiffableDataSource) ItemIdentifierForRow(row int) objc.Object

Returns an identifier for the item at the specified row in the table view. Full Topic

func (TableViewDiffableDataSource) RowForItemIdentifier

func (t_ TableViewDiffableDataSource) RowForItemIdentifier(identifier objc.IObject) int

Returns a row for the item with the specified identifier in the table view. Full Topic

func (TableViewDiffableDataSource) RowForSectionIdentifier

func (t_ TableViewDiffableDataSource) RowForSectionIdentifier(identifier objc.IObject) int

Returns a row for the section with the specified identifier in the table view. Full Topic

func (TableViewDiffableDataSource) RowViewProvider

The closure that configures and returns the table view’s row views from the diffable data source. Full Topic

func (TableViewDiffableDataSource) SectionHeaderViewProvider

The closure that configures and returns the table view’s section header views from the diffable data source. Full Topic

func (TableViewDiffableDataSource) SectionIdentifierForRow

func (t_ TableViewDiffableDataSource) SectionIdentifierForRow(row int) objc.Object

Returns the identifier of the section containing the specified row in the snapshot. Full Topic

func (TableViewDiffableDataSource) SetDefaultRowAnimation

func (t_ TableViewDiffableDataSource) SetDefaultRowAnimation(value TableViewAnimationOptions)

The default animation the UI uses to show differences between rows. Full Topic

func (TableViewDiffableDataSource) SetRowViewProvider

The closure that configures and returns the table view’s row views from the diffable data source. Full Topic

func (TableViewDiffableDataSource) SetSectionHeaderViewProvider

The closure that configures and returns the table view’s section header views from the diffable data source. Full Topic

type TableViewDiffableDataSourceCellProvider

type TableViewDiffableDataSourceCellProvider = func(tableView TableView, column TableColumn, row int, itemId objc.Object) View

A closure that configures and returns a cell for a table view from its diffable data source. Full Topic

type TableViewDiffableDataSourceRowProvider

type TableViewDiffableDataSourceRowProvider = func(tableView TableView, row int, identifier objc.Object) TableRowView

A closure that configures and returns a row view for a table view from its diffable data source. Full Topic

type TableViewDiffableDataSourceSectionHeaderViewProvider

type TableViewDiffableDataSourceSectionHeaderViewProvider = func(tableView TableView, row int, sectionId objc.Object) View

A closure that configures and returns a section header view for a table view from its diffable data source. Full Topic

type TableViewDraggingDestinationFeedbackStyle

type TableViewDraggingDestinationFeedbackStyle int

These constants specify the drag styles displayed by the table view. They’re used by draggingDestinationFeedbackStyle. Full Topic

const (
	TableViewDraggingDestinationFeedbackStyleGap        TableViewDraggingDestinationFeedbackStyle = 2
	TableViewDraggingDestinationFeedbackStyleNone       TableViewDraggingDestinationFeedbackStyle = -1
	TableViewDraggingDestinationFeedbackStyleRegular    TableViewDraggingDestinationFeedbackStyle = 0
	TableViewDraggingDestinationFeedbackStyleSourceList TableViewDraggingDestinationFeedbackStyle = 1
)

type TableViewDropOperation

type TableViewDropOperation uint

NSTableView defines these constants to specify drop operations. Full Topic

const (
	TableViewDropAbove TableViewDropOperation = 1
	TableViewDropOn    TableViewDropOperation = 0
)

type TableViewGridLineStyle

type TableViewGridLineStyle uint

NSTableView defines these constants to specify grid styles. These constants are used by the gridStyleMask property. The mask can be either appkit/nstableviewgridlinestyle/nstableviewgridnone or it can contain either or both of the other options combined using the C bitwise OR operator. Full Topic

const (
	TableViewDashedHorizontalGridLineMask TableViewGridLineStyle = 8
	TableViewGridNone                     TableViewGridLineStyle = 0
	TableViewSolidHorizontalGridLineMask  TableViewGridLineStyle = 2
	TableViewSolidVerticalGridLineMask    TableViewGridLineStyle = 1
)

type TableViewRowAction

type TableViewRowAction struct {
	objc.Object
}

A single action to present when the user swipes horizontally on a table row. Full Topic

func NewTableViewRowAction

func NewTableViewRowAction() TableViewRowAction

func TableViewRowActionFrom

func TableViewRowActionFrom(ptr unsafe.Pointer) TableViewRowAction

func TableViewRowAction_Alloc

func TableViewRowAction_Alloc() TableViewRowAction

func TableViewRowAction_RowActionWithStyleTitleHandler

func TableViewRowAction_RowActionWithStyleTitleHandler(style TableViewRowActionStyle, title string, handler func(action TableViewRowAction, row int)) TableViewRowAction

Creates and returns a new table view row action object. Full Topic

func (TableViewRowAction) BackgroundColor

func (t_ TableViewRowAction) BackgroundColor() Color

The background color of the action button. Full Topic

func (TableViewRowAction) Image

func (t_ TableViewRowAction) Image() Image
[Full Topic]

func (TableViewRowAction) Init

func (TableViewRowAction) SetBackgroundColor

func (t_ TableViewRowAction) SetBackgroundColor(value IColor)

The background color of the action button. Full Topic

func (TableViewRowAction) SetImage

func (t_ TableViewRowAction) SetImage(value IImage)
[Full Topic]

func (TableViewRowAction) SetTitle

func (t_ TableViewRowAction) SetTitle(value string)

The title of the action button. Full Topic

func (TableViewRowAction) Style

The style applied to the action button. Full Topic

func (TableViewRowAction) Title

func (t_ TableViewRowAction) Title() string

The title of the action button. Full Topic

type TableViewRowActionStyle

type TableViewRowActionStyle int

Constants that help define the appearance and behavior of action buttons. Full Topic

const (
	TableViewRowActionStyleDestructive TableViewRowActionStyle = 1
	TableViewRowActionStyleRegular     TableViewRowActionStyle = 0
)

type TableViewRowSizeStyle

type TableViewRowSizeStyle int

The row size style constants define the size of the rows in the table view. They are used by the effectiveRowSizeStyle and rowSizeStyle properties. You can also query the row size in the NSTableCellView class’ property rowSizeStyle. Full Topic

const (
	TableViewRowSizeStyleCustom  TableViewRowSizeStyle = 0
	TableViewRowSizeStyleDefault TableViewRowSizeStyle = -1
	TableViewRowSizeStyleLarge   TableViewRowSizeStyle = 3
	TableViewRowSizeStyleMedium  TableViewRowSizeStyle = 2
	TableViewRowSizeStyleSmall   TableViewRowSizeStyle = 1
)

type TableViewSelectionHighlightStyle

type TableViewSelectionHighlightStyle int

The following constants specify the selection highlight styles. These constants are used by the selectionHighlightStyle property. Full Topic

const (
	TableViewSelectionHighlightStyleNone       TableViewSelectionHighlightStyle = -1
	TableViewSelectionHighlightStyleRegular    TableViewSelectionHighlightStyle = 0
	TableViewSelectionHighlightStyleSourceList TableViewSelectionHighlightStyle = 1
)

type TableViewStyle

type TableViewStyle int

Contains the possible style values for a table view. Full Topic

const (
	TableViewStyleAutomatic  TableViewStyle = 0
	TableViewStyleFullWidth  TableViewStyle = 1
	TableViewStyleInset      TableViewStyle = 2
	TableViewStylePlain      TableViewStyle = 4
	TableViewStyleSourceList TableViewStyle = 3
)

type Text

type Text struct {
	View
}

The most general programmatic interface for objects that manage text. Full Topic

func NewText

func NewText() Text

func NewTextWithFrame

func NewTextWithFrame(frameRect foundation.Rect) Text
[Full Topic]

func TextFrom

func TextFrom(ptr unsafe.Pointer) Text

func Text_Alloc

func Text_Alloc() Text

func (Text) AlignCenter

func (t_ Text) AlignCenter(sender objc.IObject)

This action method applies center alignment to selected paragraphs (or all text if the receiver is a plain text object). Full Topic

func (Text) AlignLeft

func (t_ Text) AlignLeft(sender objc.IObject)

This action method applies left alignment to selected paragraphs (or all text if the receiver is a plain text object). Full Topic

func (Text) AlignRight

func (t_ Text) AlignRight(sender objc.IObject)

This action method applies right alignment to selected paragraphs (or all text if the receiver is a plain text object). Full Topic

func (Text) Alignment

func (t_ Text) Alignment() TextAlignment

The alignment of all the receiver’s text. Full Topic

func (Text) BackgroundColor

func (t_ Text) BackgroundColor() Color

The receiver’s background color to a given color. Full Topic

func (Text) BaseWritingDirection

func (t_ Text) BaseWritingDirection() WritingDirection

The initial writing direction used to determine the actual writing direction for text. Full Topic

func (Text) ChangeFont

func (t_ Text) ChangeFont(sender objc.IObject)

This action method changes the font of the selection for a rich text object, or of all text for a plain text object. Full Topic

func (Text) CheckSpelling

func (t_ Text) CheckSpelling(sender objc.IObject)

This action method searches for a misspelled word in the receiver’s text. Full Topic

func (Text) Copy

func (t_ Text) Copy(sender objc.IObject)

This action method copies the selected text onto the general pasteboard, in as many formats as the receiver supports. Full Topic

func (Text) CopyFont

func (t_ Text) CopyFont(sender objc.IObject)

This action method copies the font information for the first character of the selection (or for the insertion point) onto the font pasteboard, as NSFontPboardType. Full Topic

func (Text) CopyRuler

func (t_ Text) CopyRuler(sender objc.IObject)

This action method copies the paragraph style information for first selected paragraph onto the ruler pasteboard, as NSRulerPboardType, and expands the selection to paragraph boundaries. Full Topic

func (Text) Cut

func (t_ Text) Cut(sender objc.IObject)

This action method deletes the selected text and places it onto the general pasteboard, in as many formats as the receiver supports. Full Topic

func (Text) Delegate

func (t_ Text) Delegate() TextDelegateWrapper

The receiver’s delegate. Full Topic

func (Text) Delete

func (t_ Text) Delete(sender objc.IObject)

This action method deletes the selected text. Full Topic

func (Text) DrawsBackground

func (t_ Text) DrawsBackground() bool

A Boolean that controls whether the receiver draws its background. Full Topic

func (Text) Font

func (t_ Text) Font() Font

The font of all the receiver’s text. Full Topic

func (Text) ImportsGraphics

func (t_ Text) ImportsGraphics() bool

A Boolean that controls whether the receiver allows the user to import files by dragging. Full Topic

func (Text) Init

func (t_ Text) Init() Text

func (Text) InitWithFrame

func (t_ Text) InitWithFrame(frameRect foundation.Rect) Text

func (Text) IsEditable

func (t_ Text) IsEditable() bool

A Boolean that controls whether the receiver allows the user to edit its text. Full Topic

func (Text) IsFieldEditor

func (t_ Text) IsFieldEditor() bool

A Boolean that controls whether the receiver interprets Tab, Shift-Tab, and Return (Enter) as cues to end editing and possibly to change the first responder. Full Topic

func (Text) IsHorizontallyResizable

func (t_ Text) IsHorizontallyResizable() bool

A Boolean that controls whether the receiver changes its width to fit the width of its text. Full Topic

func (Text) IsRichText

func (t_ Text) IsRichText() bool

A Boolean that controls whether the receiver allows the user to apply attributes to specific ranges of the text. Full Topic

func (Text) IsRulerVisible

func (t_ Text) IsRulerVisible() bool

A Boolean value that indicates whether the receiver’s enclosing scroll view shows its ruler. Full Topic

func (Text) IsSelectable

func (t_ Text) IsSelectable() bool

A Boolean that controls whether the receiver allows the user to select its text. Full Topic

func (Text) IsVerticallyResizable

func (t_ Text) IsVerticallyResizable() bool

A Boolean that controls whether the receiver changes its height to fit the height of its text. Full Topic

func (Text) MaxSize

func (t_ Text) MaxSize() foundation.Size

The receiver’s maximum size. Full Topic

func (Text) MinSize

func (t_ Text) MinSize() foundation.Size

The receiver’s minimum size. Full Topic

func (Text) Paste

func (t_ Text) Paste(sender objc.IObject)

This action method pastes text from the general pasteboard at the insertion point or over the selection. Full Topic

func (Text) PasteFont

func (t_ Text) PasteFont(sender objc.IObject)

This action method pastes font information from the font pasteboard onto the selected text or insertion point of a rich text object, or over all text of a plain text object. Full Topic

func (Text) PasteRuler

func (t_ Text) PasteRuler(sender objc.IObject)

This action method pastes paragraph style information from the ruler pasteboard onto the selected paragraphs of a rich text object. Full Topic

func (Text) RTFDFromRange

func (t_ Text) RTFDFromRange(range_ foundation.Range) []byte

Returns an NSData object that contains an RTFD stream corresponding to the characters and attributes within aRange. Full Topic

func (Text) RTFFromRange

func (t_ Text) RTFFromRange(range_ foundation.Range) []byte

Returns an NSData object that contains an RTF stream corresponding to the characters and attributes within aRange, omitting any attachment characters and attributes. Full Topic

func (Text) ReadRTFDFromFile

func (t_ Text) ReadRTFDFromFile(path string) bool

Attempts to read the RTFD file at path, returning YES if successful and NO if not. Full Topic

func (Text) ReplaceCharactersInRangeWithRTF

func (t_ Text) ReplaceCharactersInRangeWithRTF(range_ foundation.Range, rtfData []byte)

Replaces the characters in the given range with RTF text interpreted from the given RTF data. Full Topic

func (Text) ScrollRangeToVisible

func (t_ Text) ScrollRangeToVisible(range_ foundation.Range)

Scrolls the receiver in its enclosing scroll view so the first characters of aRange are visible. Full Topic

func (Text) SelectAll

func (t_ Text) SelectAll(sender objc.IObject)

This action method selects all of the receiver’s text. Full Topic

func (Text) SelectedRange

func (t_ Text) SelectedRange() foundation.Range

The receiver’s characters within aRange. Full Topic

func (Text) SetAlignment

func (t_ Text) SetAlignment(value TextAlignment)

The alignment of all the receiver’s text. Full Topic

func (Text) SetBackgroundColor

func (t_ Text) SetBackgroundColor(value IColor)

The receiver’s background color to a given color. Full Topic

func (Text) SetBaseWritingDirection

func (t_ Text) SetBaseWritingDirection(value WritingDirection)

The initial writing direction used to determine the actual writing direction for text. Full Topic

func (Text) SetDelegate

func (t_ Text) SetDelegate(value PTextDelegate)

The receiver’s delegate. Full Topic

func (Text) SetDelegateObject

func (t_ Text) SetDelegateObject(valueObject objc.IObject)

The receiver’s delegate. Full Topic

func (Text) SetDrawsBackground

func (t_ Text) SetDrawsBackground(value bool)

A Boolean that controls whether the receiver draws its background. Full Topic

func (Text) SetEditable

func (t_ Text) SetEditable(value bool)

A Boolean that controls whether the receiver allows the user to edit its text. Full Topic

func (Text) SetFieldEditor

func (t_ Text) SetFieldEditor(value bool)

A Boolean that controls whether the receiver interprets Tab, Shift-Tab, and Return (Enter) as cues to end editing and possibly to change the first responder. Full Topic

func (Text) SetFont

func (t_ Text) SetFont(value IFont)

The font of all the receiver’s text. Full Topic

func (Text) SetFontRange

func (t_ Text) SetFontRange(font IFont, range_ foundation.Range)

Sets the font of characters within aRange to aFont. Full Topic

func (Text) SetHorizontallyResizable

func (t_ Text) SetHorizontallyResizable(value bool)

A Boolean that controls whether the receiver changes its width to fit the width of its text. Full Topic

func (Text) SetImportsGraphics

func (t_ Text) SetImportsGraphics(value bool)

A Boolean that controls whether the receiver allows the user to import files by dragging. Full Topic

func (Text) SetMaxSize

func (t_ Text) SetMaxSize(value foundation.Size)

The receiver’s maximum size. Full Topic

func (Text) SetMinSize

func (t_ Text) SetMinSize(value foundation.Size)

The receiver’s minimum size. Full Topic

func (Text) SetRichText

func (t_ Text) SetRichText(value bool)

A Boolean that controls whether the receiver allows the user to apply attributes to specific ranges of the text. Full Topic

func (Text) SetSelectable

func (t_ Text) SetSelectable(value bool)

A Boolean that controls whether the receiver allows the user to select its text. Full Topic

func (Text) SetSelectedRange

func (t_ Text) SetSelectedRange(value foundation.Range)

The receiver’s characters within aRange. Full Topic

func (Text) SetString

func (t_ Text) SetString(value string)

The characters of the receiver’s text. Full Topic

func (Text) SetTextColor

func (t_ Text) SetTextColor(value IColor)

The text color of all characters in the receiver. Full Topic

func (Text) SetTextColorRange

func (t_ Text) SetTextColorRange(color IColor, range_ foundation.Range)

Sets the text color of characters within the specified range to the specified color. Full Topic

func (Text) SetUsesFontPanel

func (t_ Text) SetUsesFontPanel(value bool)

A Boolean that controls whether the receiver uses the Font panel and Font menu. Full Topic

func (Text) SetVerticallyResizable

func (t_ Text) SetVerticallyResizable(value bool)

A Boolean that controls whether the receiver changes its height to fit the height of its text. Full Topic

func (Text) ShowGuessPanel

func (t_ Text) ShowGuessPanel(sender objc.IObject)

This action method opens the Spelling panel, allowing the user to make a correction during spell checking. Full Topic

func (Text) SizeToFit

func (t_ Text) SizeToFit()

Resizes the receiver to fit its text. Full Topic

func (Text) String

func (t_ Text) String() string

The characters of the receiver’s text. Full Topic

func (Text) Subscript

func (t_ Text) Subscript(sender objc.IObject)

This action method applies a subscript attribute to selected text (or all text if the receiver is a plain text object), lowering its baseline offset by a predefined amount. Full Topic

func (Text) Superscript

func (t_ Text) Superscript(sender objc.IObject)

This action method applies a superscript attribute to selected text (or all text if the receiver is a plain text object), raising its baseline offset by a predefined amount. Full Topic

func (Text) TextColor

func (t_ Text) TextColor() Color

The text color of all characters in the receiver. Full Topic

func (Text) ToggleRuler

func (t_ Text) ToggleRuler(sender objc.IObject)

This action method shows or hides the ruler, if the receiver is enclosed in a scroll view. Full Topic

func (Text) Underline

func (t_ Text) Underline(sender objc.IObject)

Adds the underline attribute to the selected text attributes if absent; removes the attribute if present. Full Topic

func (Text) Unscript

func (t_ Text) Unscript(sender objc.IObject)

This action method removes any superscripting or subscripting from selected text (or all text if the receiver is a plain text object). Full Topic

func (Text) UsesFontPanel

func (t_ Text) UsesFontPanel() bool

A Boolean that controls whether the receiver uses the Font panel and Font menu. Full Topic

func (Text) WriteRTFDToFileAtomically

func (t_ Text) WriteRTFDToFileAtomically(path string, flag bool) bool

Writes the receiver’s text as RTF with attachments to a file or directory at path. Full Topic

type TextAlignment

type TextAlignment int

Constants that specify text alignment. Full Topic

const (
	CenterTextAlignment    TextAlignment = 2
	JustifiedTextAlignment TextAlignment = 3
	LeftTextAlignment      TextAlignment = 0
	NaturalTextAlignment   TextAlignment = 4
	RightTextAlignment     TextAlignment = 1
	TextAlignmentJustified TextAlignment = 3
	TextAlignmentLeft      TextAlignment = 0
	TextAlignmentNatural   TextAlignment = 4
)
const (
	TextAlignmentCenter TextAlignment = 2
	TextAlignmentRight  TextAlignment = 1
)

type TextAlternatives

type TextAlternatives struct {
	objc.Object
}

A list of alternative strings for a piece of text. Full Topic

func NewTextAlternatives

func NewTextAlternatives() TextAlternatives

func NewTextAlternativesWithPrimaryStringAlternativeStrings

func NewTextAlternativesWithPrimaryStringAlternativeStrings(primaryString string, alternativeStrings []string) TextAlternatives

Initializes an NSTextAlternatives instance. Full Topic

func TextAlternativesFrom

func TextAlternativesFrom(ptr unsafe.Pointer) TextAlternatives

func TextAlternatives_Alloc

func TextAlternatives_Alloc() TextAlternatives

func (TextAlternatives) AlternativeStrings

func (t_ TextAlternatives) AlternativeStrings() []string

An array of alternative possible interpretations that the user might select. Full Topic

func (TextAlternatives) Init

func (TextAlternatives) InitWithPrimaryStringAlternativeStrings

func (t_ TextAlternatives) InitWithPrimaryStringAlternativeStrings(primaryString string, alternativeStrings []string) TextAlternatives

func (TextAlternatives) NoteSelectedAlternativeString

func (t_ TextAlternatives) NoteSelectedAlternativeString(alternativeString string)

Sent to the NSTextAlternatives object by the text view when the user chooses one of the alternative strings. Full Topic

func (TextAlternatives) PrimaryString

func (t_ TextAlternatives) PrimaryString() string

The text that was initially chosen as the input string. Full Topic

type TextAttachment

type TextAttachment struct {
	objc.Object
}

The values for the attachment characteristics of attributed strings and related objects. Full Topic

func NewTextAttachment

func NewTextAttachment() TextAttachment

func NewTextAttachmentWithDataOfType

func NewTextAttachmentWithDataOfType(contentData []byte, uti string) TextAttachment

Creates a text attachment object with the specified data. Full Topic

func NewTextAttachmentWithFileWrapper

func NewTextAttachmentWithFileWrapper(fileWrapper foundation.IFileWrapper) TextAttachment

Creates a text attachment object to contain the specified file wrapper. Full Topic

func TextAttachmentFrom

func TextAttachmentFrom(ptr unsafe.Pointer) TextAttachment

func TextAttachment_Alloc

func TextAttachment_Alloc() TextAttachment

func (TextAttachment) AllowsTextAttachmentView

func (t_ TextAttachment) AllowsTextAttachmentView() bool

A Boolean value that determines whether the text attachment uses text attachment views. Full Topic

func (TextAttachment) AttachmentCell

func (t_ TextAttachment) AttachmentCell() objc.Object

The object that draws the icon for the text attachment and handles mouse events. Full Topic

func (TextAttachment) Bounds

func (t_ TextAttachment) Bounds() coregraphics.Rect

The layout bounds of the text attachment’s graphical representation in the text coordinate system. Full Topic

func (TextAttachment) Contents

func (t_ TextAttachment) Contents() []byte

The contents for the text attachment. Full Topic

func (TextAttachment) FileType

func (t_ TextAttachment) FileType() string

The file type of the contents for the text attachment. Full Topic

func (TextAttachment) FileWrapper

func (t_ TextAttachment) FileWrapper() foundation.FileWrapper

The text attachment’s file wrapper. Full Topic

func (TextAttachment) Image

func (t_ TextAttachment) Image() Image

An instance of the relevant image class that represents the contents of the text attachment object. Full Topic

func (TextAttachment) Init

func (t_ TextAttachment) Init() TextAttachment

func (TextAttachment) InitWithDataOfType

func (t_ TextAttachment) InitWithDataOfType(contentData []byte, uti string) TextAttachment

func (TextAttachment) InitWithFileWrapper

func (t_ TextAttachment) InitWithFileWrapper(fileWrapper foundation.IFileWrapper) TextAttachment

func (TextAttachment) LineLayoutPadding

func (t_ TextAttachment) LineLayoutPadding() float64

The layout padding before and after the text attachment bounds. Full Topic

func (TextAttachment) SetAllowsTextAttachmentView

func (t_ TextAttachment) SetAllowsTextAttachmentView(value bool)

A Boolean value that determines whether the text attachment uses text attachment views. Full Topic

func (TextAttachment) SetAttachmentCell

func (t_ TextAttachment) SetAttachmentCell(value objc.IObject)

The object that draws the icon for the text attachment and handles mouse events. Full Topic

func (TextAttachment) SetBounds

func (t_ TextAttachment) SetBounds(value coregraphics.Rect)

The layout bounds of the text attachment’s graphical representation in the text coordinate system. Full Topic

func (TextAttachment) SetContents

func (t_ TextAttachment) SetContents(value []byte)

The contents for the text attachment. Full Topic

func (TextAttachment) SetFileType

func (t_ TextAttachment) SetFileType(value string)

The file type of the contents for the text attachment. Full Topic

func (TextAttachment) SetFileWrapper

func (t_ TextAttachment) SetFileWrapper(value foundation.IFileWrapper)

The text attachment’s file wrapper. Full Topic

func (TextAttachment) SetImage

func (t_ TextAttachment) SetImage(value IImage)

An instance of the relevant image class that represents the contents of the text attachment object. Full Topic

func (TextAttachment) SetLineLayoutPadding

func (t_ TextAttachment) SetLineLayoutPadding(value float64)

The layout padding before and after the text attachment bounds. Full Topic

func (TextAttachment) UsesTextAttachmentView

func (t_ TextAttachment) UsesTextAttachmentView() bool

A Boolean value that indicates whether the text attachment uses text attachment views. Full Topic

type TextAttachmentCell

type TextAttachmentCell struct {
	Cell
}

An object that implements the functionality of the text attachment cell protocol. Full Topic

func NewTextAttachmentCell

func NewTextAttachmentCell() TextAttachmentCell

func NewTextAttachmentCellImageCell

func NewTextAttachmentCellImageCell(image IImage) TextAttachmentCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewTextAttachmentCellTextCell

func NewTextAttachmentCellTextCell(string_ string) TextAttachmentCell

Returns an NSCell object initialized with the specified string and set to have the cell’s default menu. Full Topic

func TextAttachmentCellFrom

func TextAttachmentCellFrom(ptr unsafe.Pointer) TextAttachmentCell

func TextAttachmentCell_Alloc

func TextAttachmentCell_Alloc() TextAttachmentCell

func (TextAttachmentCell) Attachment

func (t_ TextAttachmentCell) Attachment() TextAttachment

Returns the text attachment object that owns the cell. Full Topic

func (TextAttachmentCell) CellBaselineOffset

func (t_ TextAttachmentCell) CellBaselineOffset() foundation.Point

Returns the text position where you draw the attachment cell’s image, relative to the current point established in the glyph layout. Full Topic

func (TextAttachmentCell) CellFrameForTextContainerProposedLineFragmentGlyphPositionCharacterIndex

func (t_ TextAttachmentCell) CellFrameForTextContainerProposedLineFragmentGlyphPositionCharacterIndex(textContainer ITextContainer, lineFrag foundation.Rect, position foundation.Point, charIndex uint) foundation.Rect

Returns the frame of the cell to draw at the specified position in a text container. Full Topic

func (TextAttachmentCell) DrawWithFrameInViewCharacterIndex

func (t_ TextAttachmentCell) DrawWithFrameInViewCharacterIndex(cellFrame foundation.Rect, controlView IView, charIndex uint)

Draws the cell's image at the specified index point in the view. Full Topic

func (TextAttachmentCell) Init

func (TextAttachmentCell) InitImageCell

func (t_ TextAttachmentCell) InitImageCell(image IImage) TextAttachmentCell

func (TextAttachmentCell) InitTextCell

func (t_ TextAttachmentCell) InitTextCell(string_ string) TextAttachmentCell

func (TextAttachmentCell) SetAttachment

func (t_ TextAttachmentCell) SetAttachment(value ITextAttachment)

Returns the text attachment object that owns the cell. Full Topic

func (TextAttachmentCell) TrackMouseInRectOfViewAtCharacterIndexUntilMouseUp

func (t_ TextAttachmentCell) TrackMouseInRectOfViewAtCharacterIndexUntilMouseUp(theEvent IEvent, cellFrame foundation.Rect, controlView IView, charIndex uint, flag bool) bool

Handles a mouse-down event on the image at the specified character position. Full Topic

func (TextAttachmentCell) WantsToTrackMouse

func (t_ TextAttachmentCell) WantsToTrackMouse() bool

Returns a Boolean value that indicates whether the attachment handles mouse events occurring over its image. Full Topic

func (TextAttachmentCell) WantsToTrackMouseForEventInRectOfViewAtCharacterIndex

func (t_ TextAttachmentCell) WantsToTrackMouseForEventInRectOfViewAtCharacterIndex(theEvent IEvent, cellFrame foundation.Rect, controlView IView, charIndex uint) bool

Allows an attachment to specify the events for which it tracks the mouse. Full Topic

type TextAttachmentContainerWrapper

type TextAttachmentContainerWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextAttachmentContainer protocol.

func (TextAttachmentContainerWrapper) AttachmentBoundsForTextContainerProposedLineFragmentGlyphPositionCharacterIndex

func (t_ TextAttachmentContainerWrapper) AttachmentBoundsForTextContainerProposedLineFragmentGlyphPositionCharacterIndex(textContainer ITextContainer, lineFrag coregraphics.Rect, position coregraphics.Point, charIndex uint) coregraphics.Rect

Returns the layout bounds of the text attachment to the layout manager. Full Topic

func (TextAttachmentContainerWrapper) HasAttachmentBoundsForTextContainerProposedLineFragmentGlyphPositionCharacterIndex

func (t_ TextAttachmentContainerWrapper) HasAttachmentBoundsForTextContainerProposedLineFragmentGlyphPositionCharacterIndex() bool

func (TextAttachmentContainerWrapper) HasImageForBoundsTextContainerCharacterIndex

func (t_ TextAttachmentContainerWrapper) HasImageForBoundsTextContainerCharacterIndex() bool

func (TextAttachmentContainerWrapper) ImageForBoundsTextContainerCharacterIndex

func (t_ TextAttachmentContainerWrapper) ImageForBoundsTextContainerCharacterIndex(imageBounds coregraphics.Rect, textContainer ITextContainer, charIndex uint) Image

Returns the image object that the layout manager renders in the specified image bounds rectangle inside the text container. Full Topic

type TextAttachmentLayoutWrapper

type TextAttachmentLayoutWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextAttachmentLayout protocol.

func (TextAttachmentLayoutWrapper) AttachmentBoundsForAttributesLocationTextContainerProposedLineFragmentPosition

func (t_ TextAttachmentLayoutWrapper) AttachmentBoundsForAttributesLocationTextContainerProposedLineFragmentPosition(attributes map[foundation.AttributedStringKey]objc.IObject, location PTextLocation, textContainer ITextContainer, proposedLineFragment coregraphics.Rect, position coregraphics.Point) coregraphics.Rect

Returns the layout bounds of the attachment you specify. Full Topic

func (TextAttachmentLayoutWrapper) HasAttachmentBoundsForAttributesLocationTextContainerProposedLineFragmentPosition

func (t_ TextAttachmentLayoutWrapper) HasAttachmentBoundsForAttributesLocationTextContainerProposedLineFragmentPosition() bool

func (TextAttachmentLayoutWrapper) HasImageForBoundsAttributesLocationTextContainer

func (t_ TextAttachmentLayoutWrapper) HasImageForBoundsAttributesLocationTextContainer() bool

func (TextAttachmentLayoutWrapper) HasViewProviderForParentViewLocationTextContainer

func (t_ TextAttachmentLayoutWrapper) HasViewProviderForParentViewLocationTextContainer() bool

func (TextAttachmentLayoutWrapper) ImageForBoundsAttributesLocationTextContainer

func (t_ TextAttachmentLayoutWrapper) ImageForBoundsAttributesLocationTextContainer(bounds coregraphics.Rect, attributes map[foundation.AttributedStringKey]objc.IObject, location PTextLocation, textContainer ITextContainer) Image

Returns the image object rendered at the bounds and inside the text container you specify. Full Topic

func (TextAttachmentLayoutWrapper) ViewProviderForParentViewLocationTextContainer

func (t_ TextAttachmentLayoutWrapper) ViewProviderForParentViewLocationTextContainer(parentView IView, location PTextLocation, textContainer ITextContainer) TextAttachmentViewProvider

Returns the text attachment view provider corresponding to the file type. Full Topic

type TextAttachmentViewProvider

type TextAttachmentViewProvider struct {
	objc.Object
}

A container object that associates a text attachment at a particular document location with a view object. Full Topic

func NewTextAttachmentViewProvider

func NewTextAttachmentViewProvider() TextAttachmentViewProvider

func NewTextAttachmentViewProviderWithTextAttachmentParentViewTextLayoutManagerLocation

func NewTextAttachmentViewProviderWithTextAttachmentParentViewTextLayoutManagerLocation(textAttachment ITextAttachment, parentView IView, textLayoutManager ITextLayoutManager, location PTextLocation) TextAttachmentViewProvider

Creates a new text attachment view whose content starts at the location you provide. Full Topic

func TextAttachmentViewProviderFrom

func TextAttachmentViewProviderFrom(ptr unsafe.Pointer) TextAttachmentViewProvider

func TextAttachmentViewProvider_Alloc

func TextAttachmentViewProvider_Alloc() TextAttachmentViewProvider

func (TextAttachmentViewProvider) AttachmentBoundsForAttributesLocationObjectTextContainerProposedLineFragmentPosition

func (t_ TextAttachmentViewProvider) AttachmentBoundsForAttributesLocationObjectTextContainerProposedLineFragmentPosition(attributes map[foundation.AttributedStringKey]objc.IObject, locationObject objc.IObject, textContainer ITextContainer, proposedLineFragment coregraphics.Rect, position coregraphics.Point) coregraphics.Rect

Returns the layout bounds for an attachment at a specific text location that contains the text attributes you specify. Full Topic

func (TextAttachmentViewProvider) AttachmentBoundsForAttributesLocationTextContainerProposedLineFragmentPosition

func (t_ TextAttachmentViewProvider) AttachmentBoundsForAttributesLocationTextContainerProposedLineFragmentPosition(attributes map[foundation.AttributedStringKey]objc.IObject, location PTextLocation, textContainer ITextContainer, proposedLineFragment coregraphics.Rect, position coregraphics.Point) coregraphics.Rect

Returns the layout bounds for an attachment at a specific text location that contains the text attributes you specify. Full Topic

func (TextAttachmentViewProvider) Init

func (TextAttachmentViewProvider) InitWithTextAttachmentParentViewTextLayoutManagerLocation

func (t_ TextAttachmentViewProvider) InitWithTextAttachmentParentViewTextLayoutManagerLocation(textAttachment ITextAttachment, parentView IView, textLayoutManager ITextLayoutManager, location PTextLocation) TextAttachmentViewProvider

func (TextAttachmentViewProvider) LoadView

func (t_ TextAttachmentViewProvider) LoadView()

Draws the custom view hierarchy that text attachment view subclasses implement. Full Topic

func (TextAttachmentViewProvider) Location

The location that indicates the start of the text attachment. Full Topic

func (TextAttachmentViewProvider) SetTracksTextAttachmentViewBounds

func (t_ TextAttachmentViewProvider) SetTracksTextAttachmentViewBounds(value bool)

A Boolean value that determines the text attachment’s bounds policy. Full Topic

func (TextAttachmentViewProvider) SetView

func (t_ TextAttachmentViewProvider) SetView(value IView)

The text attachment’s view. Full Topic

func (TextAttachmentViewProvider) TextAttachment

func (t_ TextAttachmentViewProvider) TextAttachment() TextAttachment

The text attachment for this view. Full Topic

func (TextAttachmentViewProvider) TextLayoutManager

func (t_ TextAttachmentViewProvider) TextLayoutManager() TextLayoutManager

The text layout manager for this view. Full Topic

func (TextAttachmentViewProvider) TracksTextAttachmentViewBounds

func (t_ TextAttachmentViewProvider) TracksTextAttachmentViewBounds() bool

A Boolean value that determines the text attachment’s bounds policy. Full Topic

func (TextAttachmentViewProvider) View

func (t_ TextAttachmentViewProvider) View() View

The text attachment’s view. Full Topic

type TextBlock

type TextBlock struct {
	objc.Object
}

A block of text laid out in a subregion of the text container. Full Topic

func NewTextBlock

func NewTextBlock() TextBlock

func TextBlockFrom

func TextBlockFrom(ptr unsafe.Pointer) TextBlock

func TextBlock_Alloc

func TextBlock_Alloc() TextBlock

func (TextBlock) BackgroundColor

func (t_ TextBlock) BackgroundColor() Color

The background color of the text block. Full Topic

func (TextBlock) BorderColorForEdge

func (t_ TextBlock) BorderColorForEdge(edge foundation.RectEdge) Color

Returns the border color of the specified text block edge. Full Topic

func (TextBlock) BoundsRectForContentRectInRectTextContainerCharacterRange

func (t_ TextBlock) BoundsRectForContentRectInRectTextContainerCharacterRange(contentRect foundation.Rect, rect foundation.Rect, textContainer ITextContainer, charRange foundation.Range) foundation.Rect

Returns the rectangle the text in the block actually occupies, including padding, borders, and margins. Full Topic

func (TextBlock) ContentWidth

func (t_ TextBlock) ContentWidth() float64

The width of the text block. Full Topic

func (TextBlock) ContentWidthValueType

func (t_ TextBlock) ContentWidthValueType() TextBlockValueType

The type of value stored for the text block width. Full Topic

func (TextBlock) DrawBackgroundWithFrameInViewCharacterRangeLayoutManager

func (t_ TextBlock) DrawBackgroundWithFrameInViewCharacterRangeLayoutManager(frameRect foundation.Rect, controlView IView, charRange foundation.Range, layoutManager ILayoutManager)

Called by the layout manager to draw any colors and other decorations before the text is drawn. Full Topic

func (TextBlock) Init

func (t_ TextBlock) Init() TextBlock

func (TextBlock) RectForLayoutAtPointInRectTextContainerCharacterRange

func (t_ TextBlock) RectForLayoutAtPointInRectTextContainerCharacterRange(startingPoint foundation.Point, rect foundation.Rect, textContainer ITextContainer, charRange foundation.Range) foundation.Rect

Returns the rectangle within which glyphs should be laid out for the specified arguments. Full Topic

func (TextBlock) SetBackgroundColor

func (t_ TextBlock) SetBackgroundColor(value IColor)

The background color of the text block. Full Topic

func (TextBlock) SetBorderColor

func (t_ TextBlock) SetBorderColor(color IColor)

Sets the color of all borders of the text block. Full Topic

func (TextBlock) SetContentWidthType

func (t_ TextBlock) SetContentWidthType(val float64, type_ TextBlockValueType)

Sets the width of the text block. Full Topic

func (TextBlock) SetValueTypeForDimension

func (t_ TextBlock) SetValueTypeForDimension(val float64, type_ TextBlockValueType, dimension TextBlockDimension)

Sets a dimension of the text block. Full Topic

func (TextBlock) SetVerticalAlignment

func (t_ TextBlock) SetVerticalAlignment(value TextBlockVerticalAlignment)

The vertical alignment of the text block. Full Topic

func (TextBlock) SetWidthTypeForLayer

func (t_ TextBlock) SetWidthTypeForLayer(val float64, type_ TextBlockValueType, layer TextBlockLayer)

Sets the width of all edges of a specified layer of the text block. Full Topic

func (TextBlock) ValueForDimension

func (t_ TextBlock) ValueForDimension(dimension TextBlockDimension) float64

Returns the value of the specified text block dimension. Full Topic

func (TextBlock) ValueTypeForDimension

func (t_ TextBlock) ValueTypeForDimension(dimension TextBlockDimension) TextBlockValueType

Returns the value type of the specified text block dimension. Full Topic

func (TextBlock) VerticalAlignment

func (t_ TextBlock) VerticalAlignment() TextBlockVerticalAlignment

The vertical alignment of the text block. Full Topic

func (TextBlock) WidthForLayerEdge

func (t_ TextBlock) WidthForLayerEdge(layer TextBlockLayer, edge foundation.RectEdge) float64

Returns the width of an edge of a specified layer of the text block. Full Topic

func (TextBlock) WidthValueTypeForLayerEdge

func (t_ TextBlock) WidthValueTypeForLayerEdge(layer TextBlockLayer, edge foundation.RectEdge) TextBlockValueType

Returns the value type of an edge of a specified layer of the text block. Full Topic

type TextBlockDimension

type TextBlockDimension uint

The following constants specify values used by the methods setValue:type:forDimension:, valueForDimension:, and valueTypeForDimension: to specify text block dimensions. Full Topic

const (
	TextBlockHeight        TextBlockDimension = 4
	TextBlockMaximumHeight TextBlockDimension = 6
	TextBlockMaximumWidth  TextBlockDimension = 2
	TextBlockMinimumHeight TextBlockDimension = 5
	TextBlockMinimumWidth  TextBlockDimension = 1
	TextBlockWidth         TextBlockDimension = 0
)

type TextBlockLayer

type TextBlockLayer int

The following constants specify values used by the properties and methods contentWidthValueType, setWidth:type:forLayer:, setWidth:type:forLayer:, widthForLayer:edge:, and widthValueTypeForLayer:edge: to specify text block layer values. Full Topic

const (
	TextBlockBorder  TextBlockLayer = 0
	TextBlockMargin  TextBlockLayer = 1
	TextBlockPadding TextBlockLayer = -1
)

type TextBlockValueType

type TextBlockValueType uint

The following constants specify values used by the methods setValue:type:forDimension: and valueTypeForDimension: to specify text block value types. Full Topic

const (
	TextBlockAbsoluteValueType   TextBlockValueType = 0
	TextBlockPercentageValueType TextBlockValueType = 1
)

type TextBlockVerticalAlignment

type TextBlockVerticalAlignment uint

The following constants specify values used by the property verticalAlignment to specify vertical alignment. Full Topic

const (
	TextBlockBaselineAlignment TextBlockVerticalAlignment = 3
	TextBlockBottomAlignment   TextBlockVerticalAlignment = 2
	TextBlockMiddleAlignment   TextBlockVerticalAlignment = 1
	TextBlockTopAlignment      TextBlockVerticalAlignment = 0
)

type TextCheckingClientWrapper

type TextCheckingClientWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextCheckingClient protocol.

func (TextCheckingClientWrapper) AddAnnotationsRange

func (t_ TextCheckingClientWrapper) AddAnnotationsRange(annotations map[foundation.AttributedStringKey]string, range_ foundation.Range)
[Full Topic]

func (TextCheckingClientWrapper) AnnotatedSubstringForProposedRangeActualRange

func (t_ TextCheckingClientWrapper) AnnotatedSubstringForProposedRangeActualRange(range_ foundation.Range, actualRange foundation.RangePointer) foundation.AttributedString
[Full Topic]

func (TextCheckingClientWrapper) CandidateListTouchBarItem

func (t_ TextCheckingClientWrapper) CandidateListTouchBarItem() CandidateListTouchBarItem
[Full Topic]

func (TextCheckingClientWrapper) HasAddAnnotationsRange

func (t_ TextCheckingClientWrapper) HasAddAnnotationsRange() bool

func (TextCheckingClientWrapper) HasAnnotatedSubstringForProposedRangeActualRange

func (t_ TextCheckingClientWrapper) HasAnnotatedSubstringForProposedRangeActualRange() bool

func (TextCheckingClientWrapper) HasCandidateListTouchBarItem

func (t_ TextCheckingClientWrapper) HasCandidateListTouchBarItem() bool

func (TextCheckingClientWrapper) HasRemoveAnnotationRange

func (t_ TextCheckingClientWrapper) HasRemoveAnnotationRange() bool

func (TextCheckingClientWrapper) HasReplaceCharactersInRangeWithAnnotatedString

func (t_ TextCheckingClientWrapper) HasReplaceCharactersInRangeWithAnnotatedString() bool

func (TextCheckingClientWrapper) HasSelectAndShowRange

func (t_ TextCheckingClientWrapper) HasSelectAndShowRange() bool

func (TextCheckingClientWrapper) HasSetAnnotationsRange

func (t_ TextCheckingClientWrapper) HasSetAnnotationsRange() bool

func (TextCheckingClientWrapper) HasViewForRangeFirstRectActualRange

func (t_ TextCheckingClientWrapper) HasViewForRangeFirstRectActualRange() bool

func (TextCheckingClientWrapper) RemoveAnnotationRange

func (t_ TextCheckingClientWrapper) RemoveAnnotationRange(annotationName foundation.AttributedStringKey, range_ foundation.Range)
[Full Topic]

func (TextCheckingClientWrapper) ReplaceCharactersInRangeWithAnnotatedString

func (t_ TextCheckingClientWrapper) ReplaceCharactersInRangeWithAnnotatedString(range_ foundation.Range, annotatedString foundation.IAttributedString)
[Full Topic]

func (TextCheckingClientWrapper) SelectAndShowRange

func (t_ TextCheckingClientWrapper) SelectAndShowRange(range_ foundation.Range)
[Full Topic]

func (TextCheckingClientWrapper) SetAnnotationsRange

func (t_ TextCheckingClientWrapper) SetAnnotationsRange(annotations map[foundation.AttributedStringKey]string, range_ foundation.Range)
[Full Topic]

func (TextCheckingClientWrapper) ViewForRangeFirstRectActualRange

func (t_ TextCheckingClientWrapper) ViewForRangeFirstRectActualRange(range_ foundation.Range, firstRect foundation.RectPointer, actualRange foundation.RangePointer) View
[Full Topic]

type TextCheckingController

type TextCheckingController struct {
	objc.Object
}
[Full Topic]

func NewTextCheckingController

func NewTextCheckingController() TextCheckingController

func NewTextCheckingControllerWithClient

func NewTextCheckingControllerWithClient(client PTextCheckingClient) TextCheckingController
[Full Topic]

func TextCheckingControllerFrom

func TextCheckingControllerFrom(ptr unsafe.Pointer) TextCheckingController

func TextCheckingController_Alloc

func TextCheckingController_Alloc() TextCheckingController

func (TextCheckingController) ChangeSpelling

func (t_ TextCheckingController) ChangeSpelling(sender objc.IObject)
[Full Topic]

func (TextCheckingController) CheckSpelling

func (t_ TextCheckingController) CheckSpelling(sender objc.IObject)
[Full Topic]

func (TextCheckingController) CheckTextInDocument

func (t_ TextCheckingController) CheckTextInDocument(sender objc.IObject)
[Full Topic]

func (TextCheckingController) CheckTextInRangeTypesOptions

func (t_ TextCheckingController) CheckTextInRangeTypesOptions(range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject)
[Full Topic]

func (TextCheckingController) CheckTextInSelection

func (t_ TextCheckingController) CheckTextInSelection(sender objc.IObject)
[Full Topic]

func (TextCheckingController) Client

[Full Topic]

func (TextCheckingController) ConsiderTextCheckingForRange

func (t_ TextCheckingController) ConsiderTextCheckingForRange(range_ foundation.Range)
[Full Topic]

func (TextCheckingController) DidChangeSelectedRange

func (t_ TextCheckingController) DidChangeSelectedRange()
[Full Topic]

func (TextCheckingController) DidChangeTextInRange

func (t_ TextCheckingController) DidChangeTextInRange(range_ foundation.Range)
[Full Topic]

func (TextCheckingController) IgnoreSpelling

func (t_ TextCheckingController) IgnoreSpelling(sender objc.IObject)
[Full Topic]

func (TextCheckingController) Init

func (TextCheckingController) InitWithClient

func (TextCheckingController) InsertedTextInRange

func (t_ TextCheckingController) InsertedTextInRange(range_ foundation.Range)
[Full Topic]

func (TextCheckingController) Invalidate

func (t_ TextCheckingController) Invalidate()
[Full Topic]

func (TextCheckingController) MenuAtIndexClickedOnSelectionEffectiveRange

func (t_ TextCheckingController) MenuAtIndexClickedOnSelectionEffectiveRange(location uint, clickedOnSelection bool, effectiveRange foundation.RangePointer) Menu
[Full Topic]

func (TextCheckingController) OrderFrontSubstitutionsPanel

func (t_ TextCheckingController) OrderFrontSubstitutionsPanel(sender objc.IObject)
[Full Topic]

func (TextCheckingController) SetSpellCheckerDocumentTag

func (t_ TextCheckingController) SetSpellCheckerDocumentTag(value int)
[Full Topic]

func (TextCheckingController) ShowGuessPanel

func (t_ TextCheckingController) ShowGuessPanel(sender objc.IObject)
[Full Topic]

func (TextCheckingController) SpellCheckerDocumentTag

func (t_ TextCheckingController) SpellCheckerDocumentTag() int
[Full Topic]

func (TextCheckingController) UpdateCandidates

func (t_ TextCheckingController) UpdateCandidates()
[Full Topic]

func (TextCheckingController) ValidAnnotations

func (t_ TextCheckingController) ValidAnnotations() []foundation.AttributedStringKey
[Full Topic]

type TextCheckingOptionKey

type TextCheckingOptionKey string

The constants are optional keys that can be used in the options dictionary parameter of the checkString:range:types:options:inSpellDocumentWithTag:orthography:wordCount:, requestCheckingOfString:range:types:options:inSpellDocumentWithTag:completionHandler:, and menuForResult:string:options:atLocation:inView: methods. Full Topic

const (
	TextCheckingDocumentAuthorKey     TextCheckingOptionKey = "DocumentAuthor"
	TextCheckingDocumentTitleKey      TextCheckingOptionKey = "DocumentTitle"
	TextCheckingDocumentURLKey        TextCheckingOptionKey = "DocumentURL"
	TextCheckingOrthographyKey        TextCheckingOptionKey = "Orthography"
	TextCheckingQuotesKey             TextCheckingOptionKey = "Quotes"
	TextCheckingReferenceDateKey      TextCheckingOptionKey = "ReferenceDate"
	TextCheckingReferenceTimeZoneKey  TextCheckingOptionKey = "ReferenceTimeZone"
	TextCheckingRegularExpressionsKey TextCheckingOptionKey = "RegularExpressions"
	TextCheckingReplacementsKey       TextCheckingOptionKey = "Replacements"
	TextCheckingSelectedRangeKey      TextCheckingOptionKey = "SelectedRange"
)

type TextContainer

type TextContainer struct {
	objc.Object
}

A region where text layout occurs. Full Topic

func NewTextContainer

func NewTextContainer() TextContainer

func NewTextContainerWithSize

func NewTextContainerWithSize(size coregraphics.Size) TextContainer

Initializes a text container with a specified bounding rectangle. Full Topic

func TextContainerFrom

func TextContainerFrom(ptr unsafe.Pointer) TextContainer

func TextContainer_Alloc

func TextContainer_Alloc() TextContainer

func (TextContainer) ExclusionPaths

func (t_ TextContainer) ExclusionPaths() []BezierPath

An array of path objects that represents the regions where text doesn’t display in the text container. Full Topic

func (TextContainer) HeightTracksTextView

func (t_ TextContainer) HeightTracksTextView() bool

A Boolean that controls whether the text container adjusts the height of its bounding rectangle when its text view resizes. Full Topic

func (TextContainer) Init

func (t_ TextContainer) Init() TextContainer

func (TextContainer) InitWithSize

func (t_ TextContainer) InitWithSize(size coregraphics.Size) TextContainer

func (TextContainer) IsSimpleRectangularTextContainer

func (t_ TextContainer) IsSimpleRectangularTextContainer() bool

A Boolean that indicates whether the text container’s region is a rectangle with no holes or gaps, and whose edges are parallel to the text view's coordinate system axes. Full Topic

func (TextContainer) LayoutManager

func (t_ TextContainer) LayoutManager() LayoutManager

The text container’s layout manager. Full Topic

func (TextContainer) LineFragmentPadding

func (t_ TextContainer) LineFragmentPadding() float64

The value for the text inset within line fragment rectangles. Full Topic

func (TextContainer) MaximumNumberOfLines

func (t_ TextContainer) MaximumNumberOfLines() uint

The maximum number of lines that the text container can store. Full Topic

func (TextContainer) ReplaceLayoutManager

func (t_ TextContainer) ReplaceLayoutManager(newLayoutManager ILayoutManager)

Replaces the layout manager for the group of text system objects that contains the text container. Full Topic

func (TextContainer) SetExclusionPaths

func (t_ TextContainer) SetExclusionPaths(value []IBezierPath)

An array of path objects that represents the regions where text doesn’t display in the text container. Full Topic

func (TextContainer) SetHeightTracksTextView

func (t_ TextContainer) SetHeightTracksTextView(value bool)

A Boolean that controls whether the text container adjusts the height of its bounding rectangle when its text view resizes. Full Topic

func (TextContainer) SetLayoutManager

func (t_ TextContainer) SetLayoutManager(value ILayoutManager)

The text container’s layout manager. Full Topic

func (TextContainer) SetLineFragmentPadding

func (t_ TextContainer) SetLineFragmentPadding(value float64)

The value for the text inset within line fragment rectangles. Full Topic

func (TextContainer) SetMaximumNumberOfLines

func (t_ TextContainer) SetMaximumNumberOfLines(value uint)

The maximum number of lines that the text container can store. Full Topic

func (TextContainer) SetSize

func (t_ TextContainer) SetSize(value coregraphics.Size)

The size of the text container’s bounding rectangle. Full Topic

func (TextContainer) SetTextView

func (t_ TextContainer) SetTextView(value ITextView)

The text container’s text view. Full Topic

func (TextContainer) SetWidthTracksTextView

func (t_ TextContainer) SetWidthTracksTextView(value bool)

A Boolean that controls whether the text container adjusts the width of its bounding rectangle when its text view resizes. Full Topic

func (TextContainer) Size

func (t_ TextContainer) Size() coregraphics.Size

The size of the text container’s bounding rectangle. Full Topic

func (TextContainer) TextLayoutManager

func (t_ TextContainer) TextLayoutManager() TextLayoutManager
[Full Topic]

func (TextContainer) TextView

func (t_ TextContainer) TextView() TextView

The text container’s text view. Full Topic

func (TextContainer) WidthTracksTextView

func (t_ TextContainer) WidthTracksTextView() bool

A Boolean that controls whether the text container adjusts the width of its bounding rectangle when its text view resizes. Full Topic

type TextContentManager

type TextContentManager struct {
	objc.Object
}

An abstract class that defines the interface and a default implementation for managing the text document contents. Full Topic

func NewTextContentManager

func NewTextContentManager() TextContentManager

func TextContentManagerFrom

func TextContentManagerFrom(ptr unsafe.Pointer) TextContentManager

func TextContentManager_Alloc

func TextContentManager_Alloc() TextContentManager

func (TextContentManager) AddTextLayoutManager

func (t_ TextContentManager) AddTextLayoutManager(textLayoutManager ITextLayoutManager)

Adds the layout manager you provide to the list of layout managers. Full Topic

func (TextContentManager) AutomaticallySynchronizesTextLayoutManagers

func (t_ TextContentManager) AutomaticallySynchronizesTextLayoutManagers() bool

Determines if the framework should automatically synchronize all text layout managers when exiting an editing transaction. Full Topic

func (TextContentManager) AutomaticallySynchronizesToBackingStore

func (t_ TextContentManager) AutomaticallySynchronizesToBackingStore() bool

Determines whether to automatically synchronize with the backing store when an editing transaction finishes. Full Topic

func (TextContentManager) Delegate

The delegate for the content manager object. Full Topic

func (TextContentManager) HasEditingTransaction

func (t_ TextContentManager) HasEditingTransaction() bool

Indicates there’s an active editing transaction from the primary text layout manager. Full Topic

func (TextContentManager) Init

func (TextContentManager) PerformEditingTransactionUsingBlock

func (t_ TextContentManager) PerformEditingTransactionUsingBlock(transaction func())

Performs an editing transaction and invokes a block upon completion. Full Topic

func (TextContentManager) PrimaryTextLayoutManager

func (t_ TextContentManager) PrimaryTextLayoutManager() TextLayoutManager

The primary text layout manager for this content. Full Topic

func (TextContentManager) RecordEditActionInRangeNewTextRange

func (t_ TextContentManager) RecordEditActionInRangeNewTextRange(originalTextRange ITextRange, newTextRange ITextRange)

Records information about an edit action to the transaction. Full Topic

func (TextContentManager) RemoveTextLayoutManager

func (t_ TextContentManager) RemoveTextLayoutManager(textLayoutManager ITextLayoutManager)

Removes the layout manager you specifiy from the list of layout managers. Full Topic

func (TextContentManager) SetAutomaticallySynchronizesTextLayoutManagers

func (t_ TextContentManager) SetAutomaticallySynchronizesTextLayoutManagers(value bool)

Determines if the framework should automatically synchronize all text layout managers when exiting an editing transaction. Full Topic

func (TextContentManager) SetAutomaticallySynchronizesToBackingStore

func (t_ TextContentManager) SetAutomaticallySynchronizesToBackingStore(value bool)

Determines whether to automatically synchronize with the backing store when an editing transaction finishes. Full Topic

func (TextContentManager) SetDelegate

func (t_ TextContentManager) SetDelegate(value PTextContentManagerDelegate)

The delegate for the content manager object. Full Topic

func (TextContentManager) SetDelegateObject

func (t_ TextContentManager) SetDelegateObject(valueObject objc.IObject)

The delegate for the content manager object. Full Topic

func (TextContentManager) SetPrimaryTextLayoutManager

func (t_ TextContentManager) SetPrimaryTextLayoutManager(value ITextLayoutManager)

The primary text layout manager for this content. Full Topic

func (TextContentManager) SynchronizeTextLayoutManagers

func (t_ TextContentManager) SynchronizeTextLayoutManagers(completionHandler func(error foundation.Error))

Synchronizes changes to all nonprimary text layout managers. Full Topic

func (TextContentManager) TextElementsForRange

func (t_ TextContentManager) TextElementsForRange(range_ ITextRange) []TextElement

Returns an array of text elements that intersect with the range you specify. Full Topic

func (TextContentManager) TextLayoutManagers

func (t_ TextContentManager) TextLayoutManagers() []TextLayoutManager

The array of text layout managers associated with this text content manager. Full Topic

type TextContentManagerDelegate

type TextContentManagerDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PTextContentManagerDelegate protocol.

func (*TextContentManagerDelegate) HasTextContentManagerTextElementAtLocation

func (di *TextContentManagerDelegate) HasTextContentManagerTextElementAtLocation() bool

func (*TextContentManagerDelegate) SetTextContentManagerTextElementAtLocation

func (di *TextContentManagerDelegate) SetTextContentManagerTextElementAtLocation(f func(textContentManager TextContentManager, location TextLocationWrapper) ITextElement)

The method the framework calls to return the text element at a specific location. Full Topic

func (*TextContentManagerDelegate) TextContentManagerTextElementAtLocation

func (di *TextContentManagerDelegate) TextContentManagerTextElementAtLocation(textContentManager TextContentManager, location TextLocationWrapper) ITextElement

The method the framework calls to return the text element at a specific location. Full Topic

type TextContentManagerDelegateWrapper

type TextContentManagerDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextContentManagerDelegate protocol.

func (TextContentManagerDelegateWrapper) HasTextContentManagerTextElementAtLocation

func (t_ TextContentManagerDelegateWrapper) HasTextContentManagerTextElementAtLocation() bool

func (TextContentManagerDelegateWrapper) TextContentManagerTextElementAtLocation

func (t_ TextContentManagerDelegateWrapper) TextContentManagerTextElementAtLocation(textContentManager ITextContentManager, location PTextLocation) TextElement

The method the framework calls to return the text element at a specific location. Full Topic

type TextContentManagerEnumerationOptions

type TextContentManagerEnumerationOptions uint

Values that control the order in which the framework enumerates text elements. Full Topic

const (
	TextContentManagerEnumerationOptionsNone    TextContentManagerEnumerationOptions = 0
	TextContentManagerEnumerationOptionsReverse TextContentManagerEnumerationOptions = 1
)

type TextContentStorage

type TextContentStorage struct {
	TextContentManager
}

A concrete subclass of the text content manager that provides support for attributed strings that you use as a backing store. Full Topic

func NewTextContentStorage

func NewTextContentStorage() TextContentStorage

func TextContentStorageFrom

func TextContentStorageFrom(ptr unsafe.Pointer) TextContentStorage

func TextContentStorage_Alloc

func TextContentStorage_Alloc() TextContentStorage

func (TextContentStorage) AdjustedRangeFromRangeForEditingTextSelection

func (t_ TextContentStorage) AdjustedRangeFromRangeForEditingTextSelection(textRange ITextRange, forEditingTextSelection bool) TextRange

Returns the text range, if any, in the backing store that required manual adjustment after editing. Full Topic

func (TextContentStorage) AttributedString

func (t_ TextContentStorage) AttributedString() foundation.AttributedString

The contents of a document. Full Topic

func (TextContentStorage) AttributedStringForTextElement

func (t_ TextContentStorage) AttributedStringForTextElement(textElement ITextElement) foundation.AttributedString

Returns a new attributed string for the text element. Full Topic

func (TextContentStorage) Init

func (TextContentStorage) LocationFromLocationObjectWithOffset

func (t_ TextContentStorage) LocationFromLocationObjectWithOffset(locationObject objc.IObject, offset int) TextLocationWrapper

Returns a new text location from an existing location and offset you provide. Full Topic

func (TextContentStorage) LocationFromLocationWithOffset

func (t_ TextContentStorage) LocationFromLocationWithOffset(location PTextLocation, offset int) TextLocationWrapper

Returns a new text location from an existing location and offset you provide. Full Topic

func (TextContentStorage) OffsetFromLocationObjectToLocationObject

func (t_ TextContentStorage) OffsetFromLocationObjectToLocationObject(fromObject objc.IObject, toObject objc.IObject) int

Returns the offset between the two specified locations. Full Topic

func (TextContentStorage) OffsetFromLocationToLocation

func (t_ TextContentStorage) OffsetFromLocationToLocation(from PTextLocation, to PTextLocation) int

Returns the offset between the two specified locations. Full Topic

func (TextContentStorage) SetAttributedString

func (t_ TextContentStorage) SetAttributedString(value foundation.IAttributedString)

The contents of a document. Full Topic

func (TextContentStorage) TextElementForAttributedString

func (t_ TextContentStorage) TextElementForAttributedString(attributedString foundation.IAttributedString) TextElement

Returns the text element corresponding to object’s attributed string. Full Topic

type TextContentStorageDelegate

type TextContentStorageDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PTextContentStorageDelegate protocol.

func (*TextContentStorageDelegate) HasTextContentStorageTextParagraphWithRange

func (di *TextContentStorageDelegate) HasTextContentStorageTextParagraphWithRange() bool

func (*TextContentStorageDelegate) SetTextContentStorageTextParagraphWithRange

func (di *TextContentStorageDelegate) SetTextContentStorageTextParagraphWithRange(f func(textContentStorage TextContentStorage, range_ foundation.Range) ITextParagraph)

Returns a custom paragraph for a range that you provide from the object’s attributed string. Full Topic

func (*TextContentStorageDelegate) TextContentStorageTextParagraphWithRange

func (di *TextContentStorageDelegate) TextContentStorageTextParagraphWithRange(textContentStorage TextContentStorage, range_ foundation.Range) ITextParagraph

Returns a custom paragraph for a range that you provide from the object’s attributed string. Full Topic

type TextContentStorageDelegateWrapper

type TextContentStorageDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextContentStorageDelegate protocol.

func (TextContentStorageDelegateWrapper) HasTextContentStorageTextParagraphWithRange

func (t_ TextContentStorageDelegateWrapper) HasTextContentStorageTextParagraphWithRange() bool

func (TextContentStorageDelegateWrapper) TextContentStorageTextParagraphWithRange

func (t_ TextContentStorageDelegateWrapper) TextContentStorageTextParagraphWithRange(textContentStorage ITextContentStorage, range_ foundation.Range) TextParagraph

Returns a custom paragraph for a range that you provide from the object’s attributed string. Full Topic

type TextContentType

type TextContentType string

Constants that identify the semantic meaning for a text-entry area. Full Topic

const (
	TextContentTypeOneTimeCode TextContentType = "one-time-code"
	TextContentTypePassword    TextContentType = "password"
	TextContentTypeUsername    TextContentType = "username"
)

type TextContentWrapper

type TextContentWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextContent protocol.

func (TextContentWrapper) ContentType

func (t_ TextContentWrapper) ContentType() TextContentType

The semantic meaning for a text input area. Full Topic

func (TextContentWrapper) HasContentType

func (t_ TextContentWrapper) HasContentType() bool

func (TextContentWrapper) HasSetContentType

func (t_ TextContentWrapper) HasSetContentType() bool

func (TextContentWrapper) SetContentType

func (t_ TextContentWrapper) SetContentType(value TextContentType)

The semantic meaning for a text input area. Full Topic

type TextDelegate

type TextDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PTextDelegate protocol.

func (*TextDelegate) HasTextDidBeginEditing

func (di *TextDelegate) HasTextDidBeginEditing() bool

func (*TextDelegate) HasTextDidChange

func (di *TextDelegate) HasTextDidChange() bool

func (*TextDelegate) HasTextDidEndEditing

func (di *TextDelegate) HasTextDidEndEditing() bool

func (*TextDelegate) HasTextShouldBeginEditing

func (di *TextDelegate) HasTextShouldBeginEditing() bool

func (*TextDelegate) HasTextShouldEndEditing

func (di *TextDelegate) HasTextShouldEndEditing() bool

func (*TextDelegate) SetTextDidBeginEditing

func (di *TextDelegate) SetTextDidBeginEditing(f func(notification foundation.Notification))

Informs the delegate that the text object has begun editing (that the user has begun changing it). Full Topic

func (*TextDelegate) SetTextDidChange

func (di *TextDelegate) SetTextDidChange(f func(notification foundation.Notification))

Informs the delegate that the text object has changed its characters or formatting attributes. Full Topic

func (*TextDelegate) SetTextDidEndEditing

func (di *TextDelegate) SetTextDidEndEditing(f func(notification foundation.Notification))

Informs the delegate that the text object has finished editing (that it has resigned first responder status). Full Topic

func (*TextDelegate) SetTextShouldBeginEditing

func (di *TextDelegate) SetTextShouldBeginEditing(f func(textObject Text) bool)

Invoked when a text object begins to change its text, this method requests permission for aTextObject to begin editing. Full Topic

func (*TextDelegate) SetTextShouldEndEditing

func (di *TextDelegate) SetTextShouldEndEditing(f func(textObject Text) bool)

Invoked from a text object’s implementation of resignFirstResponder, this method requests permission for aTextObject to end editing. Full Topic

func (*TextDelegate) TextDidBeginEditing

func (di *TextDelegate) TextDidBeginEditing(notification foundation.Notification)

Informs the delegate that the text object has begun editing (that the user has begun changing it). Full Topic

func (*TextDelegate) TextDidChange

func (di *TextDelegate) TextDidChange(notification foundation.Notification)

Informs the delegate that the text object has changed its characters or formatting attributes. Full Topic

func (*TextDelegate) TextDidEndEditing

func (di *TextDelegate) TextDidEndEditing(notification foundation.Notification)

Informs the delegate that the text object has finished editing (that it has resigned first responder status). Full Topic

func (*TextDelegate) TextShouldBeginEditing

func (di *TextDelegate) TextShouldBeginEditing(textObject Text) bool

Invoked when a text object begins to change its text, this method requests permission for aTextObject to begin editing. Full Topic

func (*TextDelegate) TextShouldEndEditing

func (di *TextDelegate) TextShouldEndEditing(textObject Text) bool

Invoked from a text object’s implementation of resignFirstResponder, this method requests permission for aTextObject to end editing. Full Topic

type TextDelegateWrapper

type TextDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextDelegate protocol.

func (TextDelegateWrapper) HasTextDidBeginEditing

func (t_ TextDelegateWrapper) HasTextDidBeginEditing() bool

func (TextDelegateWrapper) HasTextDidChange

func (t_ TextDelegateWrapper) HasTextDidChange() bool

func (TextDelegateWrapper) HasTextDidEndEditing

func (t_ TextDelegateWrapper) HasTextDidEndEditing() bool

func (TextDelegateWrapper) HasTextShouldBeginEditing

func (t_ TextDelegateWrapper) HasTextShouldBeginEditing() bool

func (TextDelegateWrapper) HasTextShouldEndEditing

func (t_ TextDelegateWrapper) HasTextShouldEndEditing() bool

func (TextDelegateWrapper) TextDidBeginEditing

func (t_ TextDelegateWrapper) TextDidBeginEditing(notification foundation.INotification)

Informs the delegate that the text object has begun editing (that the user has begun changing it). Full Topic

func (TextDelegateWrapper) TextDidChange

func (t_ TextDelegateWrapper) TextDidChange(notification foundation.INotification)

Informs the delegate that the text object has changed its characters or formatting attributes. Full Topic

func (TextDelegateWrapper) TextDidEndEditing

func (t_ TextDelegateWrapper) TextDidEndEditing(notification foundation.INotification)

Informs the delegate that the text object has finished editing (that it has resigned first responder status). Full Topic

func (TextDelegateWrapper) TextShouldBeginEditing

func (t_ TextDelegateWrapper) TextShouldBeginEditing(textObject IText) bool

Invoked when a text object begins to change its text, this method requests permission for aTextObject to begin editing. Full Topic

func (TextDelegateWrapper) TextShouldEndEditing

func (t_ TextDelegateWrapper) TextShouldEndEditing(textObject IText) bool

Invoked from a text object’s implementation of resignFirstResponder, this method requests permission for aTextObject to end editing. Full Topic

type TextEffectStyle

type TextEffectStyle string

Constants for the text effect attribute key. Full Topic

const (
	TextEffectLetterpressStyle TextEffectStyle = "_UIKitNewLetterpressStyle"
)

type TextElement

type TextElement struct {
	objc.Object
}

An abstract base class that represents the smallest units of text layout such as paragraphs or attachments. Full Topic

func NewTextElement

func NewTextElement() TextElement

func NewTextElementWithTextContentManager

func NewTextElementWithTextContentManager(textContentManager ITextContentManager) TextElement

Creates a new text element with the content manager you provide. Full Topic

func TextElementFrom

func TextElementFrom(ptr unsafe.Pointer) TextElement

func TextElement_Alloc

func TextElement_Alloc() TextElement

func (TextElement) ElementRange

func (t_ TextElement) ElementRange() TextRange

A range value that represents the range of the element inside the document. Full Topic

func (TextElement) Init

func (t_ TextElement) Init() TextElement

func (TextElement) InitWithTextContentManager

func (t_ TextElement) InitWithTextContentManager(textContentManager ITextContentManager) TextElement

func (TextElement) SetElementRange

func (t_ TextElement) SetElementRange(value ITextRange)

A range value that represents the range of the element inside the document. Full Topic

func (TextElement) SetTextContentManager

func (t_ TextElement) SetTextContentManager(value ITextContentManager)

The value that represents the current content manager. Full Topic

func (TextElement) TextContentManager

func (t_ TextElement) TextContentManager() TextContentManager

The value that represents the current content manager. Full Topic

type TextElementProviderWrapper

type TextElementProviderWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextElementProvider protocol.

func (TextElementProviderWrapper) AdjustedRangeFromRangeForEditingTextSelection

func (t_ TextElementProviderWrapper) AdjustedRangeFromRangeForEditingTextSelection(textRange ITextRange, forEditingTextSelection bool) TextRange

A method you implement if the location backing store requires manual adjustment after editing. Full Topic

func (TextElementProviderWrapper) DocumentRange

func (t_ TextElementProviderWrapper) DocumentRange() TextRange

Describes the starting and ending locations for the document. Full Topic

func (TextElementProviderWrapper) EnumerateTextElementsFromLocationOptionsUsingBlock

func (t_ TextElementProviderWrapper) EnumerateTextElementsFromLocationOptionsUsingBlock(textLocation PTextLocation, options TextContentManagerEnumerationOptions, block func(element TextElement) bool) TextLocationWrapper

Enumerates text elements starting at the text location you provide. Full Topic

func (TextElementProviderWrapper) HasAdjustedRangeFromRangeForEditingTextSelection

func (t_ TextElementProviderWrapper) HasAdjustedRangeFromRangeForEditingTextSelection() bool

func (TextElementProviderWrapper) HasDocumentRange

func (t_ TextElementProviderWrapper) HasDocumentRange() bool

func (TextElementProviderWrapper) HasEnumerateTextElementsFromLocationOptionsUsingBlock

func (t_ TextElementProviderWrapper) HasEnumerateTextElementsFromLocationOptionsUsingBlock() bool

func (TextElementProviderWrapper) HasLocationFromLocationWithOffset

func (t_ TextElementProviderWrapper) HasLocationFromLocationWithOffset() bool

func (TextElementProviderWrapper) HasOffsetFromLocationToLocation

func (t_ TextElementProviderWrapper) HasOffsetFromLocationToLocation() bool

func (TextElementProviderWrapper) HasReplaceContentsInRangeWithTextElements

func (t_ TextElementProviderWrapper) HasReplaceContentsInRangeWithTextElements() bool

func (TextElementProviderWrapper) HasSynchronizeToBackingStore

func (t_ TextElementProviderWrapper) HasSynchronizeToBackingStore() bool

func (TextElementProviderWrapper) LocationFromLocationWithOffset

func (t_ TextElementProviderWrapper) LocationFromLocationWithOffset(location PTextLocation, offset int) TextLocationWrapper

Returns a new location from location with offset you provide. Full Topic

func (TextElementProviderWrapper) OffsetFromLocationToLocation

func (t_ TextElementProviderWrapper) OffsetFromLocationToLocation(from PTextLocation, to PTextLocation) int

Returns the offset between the two specified locations. Full Topic

func (TextElementProviderWrapper) ReplaceContentsInRangeWithTextElements

func (t_ TextElementProviderWrapper) ReplaceContentsInRangeWithTextElements(range_ ITextRange, textElements []ITextElement)

Replaces the characters specified by range with the text elements you provide. Full Topic

func (TextElementProviderWrapper) SynchronizeToBackingStore

func (t_ TextElementProviderWrapper) SynchronizeToBackingStore(completionHandler func(error foundation.Error))

Synchronizes changes to the backing store. Full Topic

type TextField

type TextField struct {
	Control
}

Text the user can select or edit to send an action message to a target when the user presses the Return key. Full Topic

func NewLabel

func NewLabel(title string) TextField

NewLabel create a text field, which looks like a Label

func NewTextField

func NewTextField() TextField

func NewTextFieldWithFrame

func NewTextFieldWithFrame(frameRect foundation.Rect) TextField

Initializes a control with the specified frame rectangle. Full Topic

func TextFieldFrom

func TextFieldFrom(ptr unsafe.Pointer) TextField

func TextField_Alloc

func TextField_Alloc() TextField

func TextField_LabelWithAttributedString

func TextField_LabelWithAttributedString(attributedStringValue foundation.IAttributedString) TextField

Creates a text field for use as a static label that displays styled text, doesn’t wrap, and doesn’t have selectable text. Full Topic

func TextField_LabelWithString

func TextField_LabelWithString(stringValue string) TextField

Initializes a text field for use as a static label that uses the system default font, doesn’t wrap, and doesn’t have selectable text. Full Topic

func TextField_TextFieldWithString

func TextField_TextFieldWithString(stringValue string) TextField

Initializes a single-line editable text field for user input using the system default font and standard visual appearance. Full Topic

func TextField_WrappingLabelWithString

func TextField_WrappingLabelWithString(stringValue string) TextField

Initializes a text field for use as a multiline static label with selectable text that uses the system default font. Full Topic

func (TextField) AllowsCharacterPickerTouchBarItem

func (t_ TextField) AllowsCharacterPickerTouchBarItem() bool

A Boolean value that controls whether the Touch Bar displays the character picker item for rich text fields. Full Topic

func (TextField) AllowsDefaultTighteningForTruncation

func (t_ TextField) AllowsDefaultTighteningForTruncation() bool

A Boolean value that controls whether single-line text fields tighten intercharacter spacing before truncating the text. Full Topic

func (TextField) AllowsEditingTextAttributes

func (t_ TextField) AllowsEditingTextAttributes() bool

A Boolean value that controls whether the user can change font attributes of the text field’s string. Full Topic

func (TextField) BackgroundColor

func (t_ TextField) BackgroundColor() Color

The color of the background the text field’s cell draws behind the text. Full Topic

func (TextField) BezelStyle

func (t_ TextField) BezelStyle() TextFieldBezelStyle

The text field’s bezel style, square or rounded. Full Topic

func (TextField) Delegate

func (t_ TextField) Delegate() TextFieldDelegateWrapper

The text field’s delegate. Full Topic

func (TextField) DrawsBackground

func (t_ TextField) DrawsBackground() bool

A Boolean value that controls whether the text field’s cell draws a background color behind the text. Full Topic

func (TextField) ImportsGraphics

func (t_ TextField) ImportsGraphics() bool

A Boolean value that controls whether the user can drag image files into the text field. Full Topic

func (TextField) Init

func (t_ TextField) Init() TextField

func (TextField) InitWithFrame

func (t_ TextField) InitWithFrame(frameRect foundation.Rect) TextField

func (TextField) IsAutomaticTextCompletionEnabled

func (t_ TextField) IsAutomaticTextCompletionEnabled() bool

A Boolean value that indicates whether the text field automatically completes text as the user types. Full Topic

func (TextField) IsBezeled

func (t_ TextField) IsBezeled() bool

A Boolean value that controls whether the text field draws a bezeled background around its contents. Full Topic

func (TextField) IsBordered

func (t_ TextField) IsBordered() bool

A Boolean value that controls whether the text field draws a solid black border around its contents. Full Topic

func (TextField) IsEditable

func (t_ TextField) IsEditable() bool

A Boolean value that controls whether the user can edit the value in the text field. Full Topic

func (TextField) IsSelectable

func (t_ TextField) IsSelectable() bool

A Boolean value that determines whether the user can select the content of the text field. Full Topic

func (TextField) LineBreakStrategy

func (t_ TextField) LineBreakStrategy() LineBreakStrategy

The strategy that the system uses to break lines when laying out multiple lines of text. Full Topic

func (TextField) MaximumNumberOfLines

func (t_ TextField) MaximumNumberOfLines() int

The maximum number of lines a wrapping text field displays before clipping or truncating the text. Full Topic

func (TextField) PlaceholderAttributedString

func (t_ TextField) PlaceholderAttributedString() foundation.AttributedString

The attributed string the text field displays when empty to help the user understand the text field’s purpose. Full Topic

func (TextField) PlaceholderString

func (t_ TextField) PlaceholderString() string

The string the text field displays when empty to help the user understand the text field’s purpose. Full Topic

func (TextField) PreferredMaxLayoutWidth

func (t_ TextField) PreferredMaxLayoutWidth() float64

The maximum width of the text field’s intrinsic content size. Full Topic

func (TextField) SelectText

func (t_ TextField) SelectText(sender objc.IObject)

Ends editing in the text field and, if it’s selectable, selects the entire text content. Full Topic

func (TextField) SetAllowsCharacterPickerTouchBarItem

func (t_ TextField) SetAllowsCharacterPickerTouchBarItem(value bool)

A Boolean value that controls whether the Touch Bar displays the character picker item for rich text fields. Full Topic

func (TextField) SetAllowsDefaultTighteningForTruncation

func (t_ TextField) SetAllowsDefaultTighteningForTruncation(value bool)

A Boolean value that controls whether single-line text fields tighten intercharacter spacing before truncating the text. Full Topic

func (TextField) SetAllowsEditingTextAttributes

func (t_ TextField) SetAllowsEditingTextAttributes(value bool)

A Boolean value that controls whether the user can change font attributes of the text field’s string. Full Topic

func (TextField) SetAutomaticTextCompletionEnabled

func (t_ TextField) SetAutomaticTextCompletionEnabled(value bool)

A Boolean value that indicates whether the text field automatically completes text as the user types. Full Topic

func (TextField) SetBackgroundColor

func (t_ TextField) SetBackgroundColor(value IColor)

The color of the background the text field’s cell draws behind the text. Full Topic

func (TextField) SetBezelStyle

func (t_ TextField) SetBezelStyle(value TextFieldBezelStyle)

The text field’s bezel style, square or rounded. Full Topic

func (TextField) SetBezeled

func (t_ TextField) SetBezeled(value bool)

A Boolean value that controls whether the text field draws a bezeled background around its contents. Full Topic

func (TextField) SetBordered

func (t_ TextField) SetBordered(value bool)

A Boolean value that controls whether the text field draws a solid black border around its contents. Full Topic

func (TextField) SetDelegate

func (t_ TextField) SetDelegate(value PTextFieldDelegate)

The text field’s delegate. Full Topic

func (TextField) SetDelegateObject

func (t_ TextField) SetDelegateObject(valueObject objc.IObject)

The text field’s delegate. Full Topic

func (TextField) SetDrawsBackground

func (t_ TextField) SetDrawsBackground(value bool)

A Boolean value that controls whether the text field’s cell draws a background color behind the text. Full Topic

func (TextField) SetEditable

func (t_ TextField) SetEditable(value bool)

A Boolean value that controls whether the user can edit the value in the text field. Full Topic

func (TextField) SetImportsGraphics

func (t_ TextField) SetImportsGraphics(value bool)

A Boolean value that controls whether the user can drag image files into the text field. Full Topic

func (TextField) SetLineBreakStrategy

func (t_ TextField) SetLineBreakStrategy(value LineBreakStrategy)

The strategy that the system uses to break lines when laying out multiple lines of text. Full Topic

func (TextField) SetMaximumNumberOfLines

func (t_ TextField) SetMaximumNumberOfLines(value int)

The maximum number of lines a wrapping text field displays before clipping or truncating the text. Full Topic

func (TextField) SetPlaceholderAttributedString

func (t_ TextField) SetPlaceholderAttributedString(value foundation.IAttributedString)

The attributed string the text field displays when empty to help the user understand the text field’s purpose. Full Topic

func (TextField) SetPlaceholderString

func (t_ TextField) SetPlaceholderString(value string)

The string the text field displays when empty to help the user understand the text field’s purpose. Full Topic

func (TextField) SetPreferredMaxLayoutWidth

func (t_ TextField) SetPreferredMaxLayoutWidth(value float64)

The maximum width of the text field’s intrinsic content size. Full Topic

func (TextField) SetSelectable

func (t_ TextField) SetSelectable(value bool)

A Boolean value that determines whether the user can select the content of the text field. Full Topic

func (TextField) SetTextColor

func (t_ TextField) SetTextColor(value IColor)

The color of the text field’s content. Full Topic

func (TextField) TextColor

func (t_ TextField) TextColor() Color

The color of the text field’s content. Full Topic

func (TextField) TextDidBeginEditing

func (t_ TextField) TextDidBeginEditing(notification foundation.INotification)

Posts a notification to the default notification center that the text is about to go into edit mode. Full Topic

func (TextField) TextDidChange

func (t_ TextField) TextDidChange(notification foundation.INotification)

Posts a notification when the text changes, and forwards the message to the text field’s cell if it responds. Full Topic

func (TextField) TextDidEndEditing

func (t_ TextField) TextDidEndEditing(notification foundation.INotification)

Posts a notification when the text is no longer in edit mode. Full Topic

func (TextField) TextShouldBeginEditing

func (t_ TextField) TextShouldBeginEditing(textObject IText) bool

Requests permission to begin editing a text object. Full Topic

func (TextField) TextShouldEndEditing

func (t_ TextField) TextShouldEndEditing(textObject IText) bool

Performs validation on the text field’s new value. Full Topic

type TextFieldBezelStyle

type TextFieldBezelStyle uint

The style of bezel the text field displays. Full Topic

const (
	TextFieldRoundedBezel TextFieldBezelStyle = 1
	TextFieldSquareBezel  TextFieldBezelStyle = 0
)

type TextFieldCell

type TextFieldCell struct {
	ActionCell
}

An object that enhances the text display capabilities of a cell. Full Topic

func NewTextFieldCell

func NewTextFieldCell() TextFieldCell

func NewTextFieldCellImageCell

func NewTextFieldCellImageCell(image IImage) TextFieldCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewTextFieldCellTextCell

func NewTextFieldCellTextCell(string_ string) TextFieldCell

Initializes a text field cell that displays the specified string. Full Topic

func TextFieldCellFrom

func TextFieldCellFrom(ptr unsafe.Pointer) TextFieldCell

func TextFieldCell_Alloc

func TextFieldCell_Alloc() TextFieldCell

func (TextFieldCell) AllowedInputSourceLocales

func (t_ TextFieldCell) AllowedInputSourceLocales() []string

An array of locale identifiers that represent the allowed input sources when the text field has the keyboard focus. Full Topic

func (TextFieldCell) BackgroundColor

func (t_ TextFieldCell) BackgroundColor() Color

The color of the cell’s background. Full Topic

func (TextFieldCell) BezelStyle

func (t_ TextFieldCell) BezelStyle() TextFieldBezelStyle

The bezel style to use when drawing the text field. Full Topic

func (TextFieldCell) DrawsBackground

func (t_ TextFieldCell) DrawsBackground() bool

A Boolean value that indicates whether the cell draws its background color. Full Topic

func (TextFieldCell) Init

func (t_ TextFieldCell) Init() TextFieldCell

func (TextFieldCell) InitImageCell

func (t_ TextFieldCell) InitImageCell(image IImage) TextFieldCell

func (TextFieldCell) InitTextCell

func (t_ TextFieldCell) InitTextCell(string_ string) TextFieldCell

func (TextFieldCell) PlaceholderAttributedString

func (t_ TextFieldCell) PlaceholderAttributedString() foundation.AttributedString

The placeholder text for the cell, specified as an attributed string. Full Topic

func (TextFieldCell) PlaceholderString

func (t_ TextFieldCell) PlaceholderString() string

The placeholder text for the cell, specified as a plain text string. Full Topic

func (TextFieldCell) SetAllowedInputSourceLocales

func (t_ TextFieldCell) SetAllowedInputSourceLocales(value []string)

An array of locale identifiers that represent the allowed input sources when the text field has the keyboard focus. Full Topic

func (TextFieldCell) SetBackgroundColor

func (t_ TextFieldCell) SetBackgroundColor(value IColor)

The color of the cell’s background. Full Topic

func (TextFieldCell) SetBezelStyle

func (t_ TextFieldCell) SetBezelStyle(value TextFieldBezelStyle)

The bezel style to use when drawing the text field. Full Topic

func (TextFieldCell) SetDrawsBackground

func (t_ TextFieldCell) SetDrawsBackground(value bool)

A Boolean value that indicates whether the cell draws its background color. Full Topic

func (TextFieldCell) SetPlaceholderAttributedString

func (t_ TextFieldCell) SetPlaceholderAttributedString(value foundation.IAttributedString)

The placeholder text for the cell, specified as an attributed string. Full Topic

func (TextFieldCell) SetPlaceholderString

func (t_ TextFieldCell) SetPlaceholderString(value string)

The placeholder text for the cell, specified as a plain text string. Full Topic

func (TextFieldCell) SetTextColor

func (t_ TextFieldCell) SetTextColor(value IColor)

The color to use to draw the cell’s text. Full Topic

func (TextFieldCell) SetWantsNotificationForMarkedText

func (t_ TextFieldCell) SetWantsNotificationForMarkedText(flag bool)

Directs the cell’s associated field editor to post text change notifications. Full Topic

func (TextFieldCell) TextColor

func (t_ TextFieldCell) TextColor() Color

The color to use to draw the cell’s text. Full Topic

type TextFieldDelegate

type TextFieldDelegate struct {
	ControlTextEditingDelegate
	// contains filtered or unexported fields
}

A delegate implementation builder for the PTextFieldDelegate protocol.

func (*TextFieldDelegate) HasTextFieldTextViewShouldSelectCandidateAtIndex

func (di *TextFieldDelegate) HasTextFieldTextViewShouldSelectCandidateAtIndex() bool

func (*TextFieldDelegate) SetTextFieldTextViewShouldSelectCandidateAtIndex

func (di *TextFieldDelegate) SetTextFieldTextViewShouldSelectCandidateAtIndex(f func(textField TextField, textView TextView, index uint) bool)
[Full Topic]

func (*TextFieldDelegate) TextFieldTextViewShouldSelectCandidateAtIndex

func (di *TextFieldDelegate) TextFieldTextViewShouldSelectCandidateAtIndex(textField TextField, textView TextView, index uint) bool
[Full Topic]

type TextFieldDelegateWrapper

type TextFieldDelegateWrapper struct {
	ControlTextEditingDelegateWrapper
}

A concrete type wrapper for the PTextFieldDelegate protocol.

func (TextFieldDelegateWrapper) HasTextFieldTextViewShouldSelectCandidateAtIndex

func (t_ TextFieldDelegateWrapper) HasTextFieldTextViewShouldSelectCandidateAtIndex() bool

func (TextFieldDelegateWrapper) TextFieldTextViewShouldSelectCandidateAtIndex

func (t_ TextFieldDelegateWrapper) TextFieldTextViewShouldSelectCandidateAtIndex(textField ITextField, textView ITextView, index uint) bool
[Full Topic]

type TextFinder

type TextFinder struct {
	objc.Object
}

An optional search-and-replace find interface inside a view, usually a scroll view. Full Topic

func NewTextFinder

func NewTextFinder() TextFinder

func TextFinderFrom

func TextFinderFrom(ptr unsafe.Pointer) TextFinder

func TextFinder_Alloc

func TextFinder_Alloc() TextFinder

func (TextFinder) CancelFindIndicator

func (t_ TextFinder) CancelFindIndicator()

Cancels the find indicator immediately. Full Topic

func (TextFinder) Client

func (t_ TextFinder) Client() TextFinderClientWrapper

The object that provides the target search string, find bar location, and feedback methods. Full Topic

func (TextFinder) FindBarContainer

func (t_ TextFinder) FindBarContainer() TextFinderBarContainerWrapper

Specifies the find bar container. Full Topic

func (TextFinder) FindIndicatorNeedsUpdate

func (t_ TextFinder) FindIndicatorNeedsUpdate() bool

Invoke to specify that the find indicator needs updating when not contained within a scroll view. Full Topic

func (TextFinder) IncrementalMatchRanges

func (t_ TextFinder) IncrementalMatchRanges() []foundation.Value

Array of incremental search matches posted on the main queue, which have been found during a background search. Full Topic

func (TextFinder) IncrementalSearchingShouldDimContentView

func (t_ TextFinder) IncrementalSearchingShouldDimContentView() bool

Determines the type of incremental search feedback to be presented Full Topic

func (TextFinder) Init

func (t_ TextFinder) Init() TextFinder

func (TextFinder) IsIncrementalSearchingEnabled

func (t_ TextFinder) IsIncrementalSearchingEnabled() bool

Determines if incremental searching is enabled. Full Topic

func (TextFinder) NoteClientStringWillChange

func (t_ TextFinder) NoteClientStringWillChange()

Invoke this method when the searched content will change. Full Topic

func (TextFinder) PerformAction

func (t_ TextFinder) PerformAction(op TextFinderAction)

Performs the specified text finding action. Full Topic

func (TextFinder) SetClient

func (t_ TextFinder) SetClient(value PTextFinderClient)

The object that provides the target search string, find bar location, and feedback methods. Full Topic

func (TextFinder) SetClientObject

func (t_ TextFinder) SetClientObject(valueObject objc.IObject)

The object that provides the target search string, find bar location, and feedback methods. Full Topic

func (TextFinder) SetFindBarContainer

func (t_ TextFinder) SetFindBarContainer(value PTextFinderBarContainer)

Specifies the find bar container. Full Topic

func (TextFinder) SetFindBarContainerObject

func (t_ TextFinder) SetFindBarContainerObject(valueObject objc.IObject)

Specifies the find bar container. Full Topic

func (TextFinder) SetFindIndicatorNeedsUpdate

func (t_ TextFinder) SetFindIndicatorNeedsUpdate(value bool)

Invoke to specify that the find indicator needs updating when not contained within a scroll view. Full Topic

func (TextFinder) SetIncrementalSearchingEnabled

func (t_ TextFinder) SetIncrementalSearchingEnabled(value bool)

Determines if incremental searching is enabled. Full Topic

func (TextFinder) SetIncrementalSearchingShouldDimContentView

func (t_ TextFinder) SetIncrementalSearchingShouldDimContentView(value bool)

Determines the type of incremental search feedback to be presented Full Topic

func (TextFinder) ValidateAction

func (t_ TextFinder) ValidateAction(op TextFinderAction) bool

Allows validation of the find action before performing. Full Topic

type TextFinderAction

type TextFinderAction int

These constants specify the user interface item tags that correspond find action. These constants are passed to the performTextFinderAction: method, the responder will call the appropriate method for the tag. That method will, in turn, determine the desired action and invoke the appropriate method in the NSTextFinder object’s NSTextFinderClient protocol. Full Topic

const (
	TextFinderActionHideFindInterface     TextFinderAction = 11
	TextFinderActionHideReplaceInterface  TextFinderAction = 13
	TextFinderActionNextMatch             TextFinderAction = 2
	TextFinderActionPreviousMatch         TextFinderAction = 3
	TextFinderActionReplace               TextFinderAction = 5
	TextFinderActionReplaceAll            TextFinderAction = 4
	TextFinderActionReplaceAllInSelection TextFinderAction = 8
	TextFinderActionReplaceAndFind        TextFinderAction = 6
	TextFinderActionSelectAll             TextFinderAction = 9
	TextFinderActionSelectAllInSelection  TextFinderAction = 10
	TextFinderActionSetSearchString       TextFinderAction = 7
	TextFinderActionShowFindInterface     TextFinderAction = 1
	TextFinderActionShowReplaceInterface  TextFinderAction = 12
)

type TextFinderBarContainerWrapper

type TextFinderBarContainerWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextFinderBarContainer protocol.

func (TextFinderBarContainerWrapper) ContentView

func (t_ TextFinderBarContainerWrapper) ContentView() View

A view hierarchy that contains all the views which display the contents being searched. Full Topic

func (TextFinderBarContainerWrapper) FindBarView

func (t_ TextFinderBarContainerWrapper) FindBarView() View

The view assigned by the text bar as the find bar view for the container. Full Topic

func (TextFinderBarContainerWrapper) FindBarViewDidChangeHeight

func (t_ TextFinderBarContainerWrapper) FindBarViewDidChangeHeight()

Notifies the find bar container that the find bar has changed its height. Full Topic

func (TextFinderBarContainerWrapper) HasContentView

func (t_ TextFinderBarContainerWrapper) HasContentView() bool

func (TextFinderBarContainerWrapper) HasFindBarView

func (t_ TextFinderBarContainerWrapper) HasFindBarView() bool

func (TextFinderBarContainerWrapper) HasFindBarViewDidChangeHeight

func (t_ TextFinderBarContainerWrapper) HasFindBarViewDidChangeHeight() bool

func (TextFinderBarContainerWrapper) HasIsFindBarVisible

func (t_ TextFinderBarContainerWrapper) HasIsFindBarVisible() bool

func (TextFinderBarContainerWrapper) HasSetFindBarView

func (t_ TextFinderBarContainerWrapper) HasSetFindBarView() bool

func (TextFinderBarContainerWrapper) HasSetFindBarVisible

func (t_ TextFinderBarContainerWrapper) HasSetFindBarVisible() bool

func (TextFinderBarContainerWrapper) IsFindBarVisible

func (t_ TextFinderBarContainerWrapper) IsFindBarVisible() bool

Returns whether the container should display its find bar. Full Topic

func (TextFinderBarContainerWrapper) SetFindBarView

func (t_ TextFinderBarContainerWrapper) SetFindBarView(value IView)

The view assigned by the text bar as the find bar view for the container. Full Topic

func (TextFinderBarContainerWrapper) SetFindBarVisible

func (t_ TextFinderBarContainerWrapper) SetFindBarVisible(value bool)

Returns whether the container should display its find bar. Full Topic

type TextFinderClientWrapper

type TextFinderClientWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextFinderClient protocol.

func (TextFinderClientWrapper) AllowsMultipleSelection

func (t_ TextFinderClientWrapper) AllowsMultipleSelection() bool

Returns whether multiple items can be selected. Full Topic

func (TextFinderClientWrapper) ContentViewAtIndexEffectiveCharacterRange

func (t_ TextFinderClientWrapper) ContentViewAtIndexEffectiveCharacterRange(index uint, outRange foundation.RangePointer) View

Returns the view the context is displayed in. Full Topic

func (TextFinderClientWrapper) DidReplaceCharacters

func (t_ TextFinderClientWrapper) DidReplaceCharacters()

Specifies whether text characters were replaced. Full Topic

func (TextFinderClientWrapper) DrawCharactersInRangeForContentView

func (t_ TextFinderClientWrapper) DrawCharactersInRangeForContentView(range_ foundation.Range, view IView)

Draw the glyphs for the requested character range as they are drawn in the given content view. Full Topic

func (TextFinderClientWrapper) FirstSelectedRange

func (t_ TextFinderClientWrapper) FirstSelectedRange() foundation.Range

Returns the currently selected range. Full Topic

func (TextFinderClientWrapper) HasAllowsMultipleSelection

func (t_ TextFinderClientWrapper) HasAllowsMultipleSelection() bool

func (TextFinderClientWrapper) HasContentViewAtIndexEffectiveCharacterRange

func (t_ TextFinderClientWrapper) HasContentViewAtIndexEffectiveCharacterRange() bool

func (TextFinderClientWrapper) HasDidReplaceCharacters

func (t_ TextFinderClientWrapper) HasDidReplaceCharacters() bool

func (TextFinderClientWrapper) HasDrawCharactersInRangeForContentView

func (t_ TextFinderClientWrapper) HasDrawCharactersInRangeForContentView() bool

func (TextFinderClientWrapper) HasFirstSelectedRange

func (t_ TextFinderClientWrapper) HasFirstSelectedRange() bool

func (TextFinderClientWrapper) HasIsEditable

func (t_ TextFinderClientWrapper) HasIsEditable() bool

func (TextFinderClientWrapper) HasIsSelectable

func (t_ TextFinderClientWrapper) HasIsSelectable() bool

func (TextFinderClientWrapper) HasRectsForCharacterRange

func (t_ TextFinderClientWrapper) HasRectsForCharacterRange() bool

func (TextFinderClientWrapper) HasReplaceCharactersInRangeWithString

func (t_ TextFinderClientWrapper) HasReplaceCharactersInRangeWithString() bool

func (TextFinderClientWrapper) HasScrollRangeToVisible

func (t_ TextFinderClientWrapper) HasScrollRangeToVisible() bool

func (TextFinderClientWrapper) HasSelectedRanges

func (t_ TextFinderClientWrapper) HasSelectedRanges() bool

func (TextFinderClientWrapper) HasSetSelectedRanges

func (t_ TextFinderClientWrapper) HasSetSelectedRanges() bool

func (TextFinderClientWrapper) HasShouldReplaceCharactersInRangesWithStrings

func (t_ TextFinderClientWrapper) HasShouldReplaceCharactersInRangesWithStrings() bool

func (TextFinderClientWrapper) HasString

func (t_ TextFinderClientWrapper) HasString() bool

func (TextFinderClientWrapper) HasStringAtIndexEffectiveRangeEndsWithSearchBoundary

func (t_ TextFinderClientWrapper) HasStringAtIndexEffectiveRangeEndsWithSearchBoundary() bool

func (TextFinderClientWrapper) HasStringLength

func (t_ TextFinderClientWrapper) HasStringLength() bool

func (TextFinderClientWrapper) HasVisibleCharacterRanges

func (t_ TextFinderClientWrapper) HasVisibleCharacterRanges() bool

func (TextFinderClientWrapper) IsEditable

func (t_ TextFinderClientWrapper) IsEditable() bool

Returns whether the text is editable. Full Topic

func (TextFinderClientWrapper) IsSelectable

func (t_ TextFinderClientWrapper) IsSelectable() bool

Returns whether the text is selectable. Full Topic

func (TextFinderClientWrapper) RectsForCharacterRange

func (t_ TextFinderClientWrapper) RectsForCharacterRange(range_ foundation.Range) []foundation.Value

An array containing the located text in the content view’s coordinate system. Full Topic

func (TextFinderClientWrapper) ReplaceCharactersInRangeWithString

func (t_ TextFinderClientWrapper) ReplaceCharactersInRangeWithString(range_ foundation.Range, string_ string)

Replaces the text in the specified range with the new string. Full Topic

func (TextFinderClientWrapper) ScrollRangeToVisible

func (t_ TextFinderClientWrapper) ScrollRangeToVisible(range_ foundation.Range)

Scrolls the specified range such that it is visible. Full Topic

func (TextFinderClientWrapper) SelectedRanges

func (t_ TextFinderClientWrapper) SelectedRanges() []foundation.Value

Returns an array of selected ranges. Full Topic

func (TextFinderClientWrapper) SetSelectedRanges

func (t_ TextFinderClientWrapper) SetSelectedRanges(value []foundation.IValue)

Returns an array of selected ranges. Full Topic

func (TextFinderClientWrapper) ShouldReplaceCharactersInRangesWithStrings

func (t_ TextFinderClientWrapper) ShouldReplaceCharactersInRangesWithStrings(ranges []foundation.IValue, strings []string) bool

Returns whether the specified strings should be replaced. Full Topic

func (TextFinderClientWrapper) String

func (t_ TextFinderClientWrapper) String() string

Allows the client to specify a single string for searching. Full Topic

func (TextFinderClientWrapper) StringAtIndexEffectiveRangeEndsWithSearchBoundary

func (t_ TextFinderClientWrapper) StringAtIndexEffectiveRangeEndsWithSearchBoundary(characterIndex uint, outRange foundation.RangePointer, outFlag *bool) string

Returns the found string that is created by conceptually mapping its content to a single string, which is composed of a concatenation of all its substrings. Full Topic

func (TextFinderClientWrapper) StringLength

func (t_ TextFinderClientWrapper) StringLength() uint

Returns the full length of the conceptually concatenated string return by the stringAtIndex:effectiveRange:endsWithSearchBoundary: method. Full Topic

func (TextFinderClientWrapper) VisibleCharacterRanges

func (t_ TextFinderClientWrapper) VisibleCharacterRanges() []foundation.Value

An array of visible character ranges. Full Topic

type TextFinderMatchingType

type TextFinderMatchingType int

The following constants indicate the type of search anchor an action should perform. Full Topic

const (
	TextFinderMatchingTypeContains   TextFinderMatchingType = 0
	TextFinderMatchingTypeEndsWith   TextFinderMatchingType = 3
	TextFinderMatchingTypeFullWord   TextFinderMatchingType = 2
	TextFinderMatchingTypeStartsWith TextFinderMatchingType = 1
)

type TextInputClientWrapper

type TextInputClientWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextInputClient protocol.

func (TextInputClientWrapper) AttributedString

func (t_ TextInputClientWrapper) AttributedString() foundation.AttributedString

Returns an attributed string representing the receiver's text storage. Full Topic

func (TextInputClientWrapper) AttributedSubstringForProposedRangeActualRange

func (t_ TextInputClientWrapper) AttributedSubstringForProposedRangeActualRange(range_ foundation.Range, actualRange foundation.RangePointer) foundation.AttributedString

Returns an attributed string derived from the given range in the receiver's text storage. Full Topic

func (TextInputClientWrapper) BaselineDeltaForCharacterAtIndex

func (t_ TextInputClientWrapper) BaselineDeltaForCharacterAtIndex(anIndex uint) float64

Returns the baseline position of a given character relative to the origin of rectangle returned by firstRectForCharacterRange:actualRange:. Full Topic

func (TextInputClientWrapper) CharacterIndexForPoint

func (t_ TextInputClientWrapper) CharacterIndexForPoint(point foundation.Point) uint

Returns the index of the character whose bounding rectangle includes the given point. Full Topic

func (TextInputClientWrapper) DoCommandBySelector

func (t_ TextInputClientWrapper) DoCommandBySelector(selector objc.Selector)

Invokes the action specified by the given selector. Full Topic

func (TextInputClientWrapper) DrawsVerticallyForCharacterAtIndex

func (t_ TextInputClientWrapper) DrawsVerticallyForCharacterAtIndex(charIndex uint) bool

Informs the text input management system whether the protocol-conforming client renders the character at the given index vertically. Full Topic

func (TextInputClientWrapper) FirstRectForCharacterRangeActualRange

func (t_ TextInputClientWrapper) FirstRectForCharacterRangeActualRange(range_ foundation.Range, actualRange foundation.RangePointer) foundation.Rect

Returns the first logical boundary rectangle for characters in the given range. Full Topic

func (TextInputClientWrapper) FractionOfDistanceThroughGlyphForPoint

func (t_ TextInputClientWrapper) FractionOfDistanceThroughGlyphForPoint(point foundation.Point) float64

Returns the fraction of the distance from the left side of the character to the right side that a given point lies. Full Topic

func (TextInputClientWrapper) HasAttributedString

func (t_ TextInputClientWrapper) HasAttributedString() bool

func (TextInputClientWrapper) HasAttributedSubstringForProposedRangeActualRange

func (t_ TextInputClientWrapper) HasAttributedSubstringForProposedRangeActualRange() bool

func (TextInputClientWrapper) HasBaselineDeltaForCharacterAtIndex

func (t_ TextInputClientWrapper) HasBaselineDeltaForCharacterAtIndex() bool

func (TextInputClientWrapper) HasCharacterIndexForPoint

func (t_ TextInputClientWrapper) HasCharacterIndexForPoint() bool

func (TextInputClientWrapper) HasDoCommandBySelector

func (t_ TextInputClientWrapper) HasDoCommandBySelector() bool

func (TextInputClientWrapper) HasDrawsVerticallyForCharacterAtIndex

func (t_ TextInputClientWrapper) HasDrawsVerticallyForCharacterAtIndex() bool

func (TextInputClientWrapper) HasFirstRectForCharacterRangeActualRange

func (t_ TextInputClientWrapper) HasFirstRectForCharacterRangeActualRange() bool

func (TextInputClientWrapper) HasFractionOfDistanceThroughGlyphForPoint

func (t_ TextInputClientWrapper) HasFractionOfDistanceThroughGlyphForPoint() bool

func (TextInputClientWrapper) HasHasMarkedText

func (t_ TextInputClientWrapper) HasHasMarkedText() bool

func (TextInputClientWrapper) HasInsertTextReplacementRange

func (t_ TextInputClientWrapper) HasInsertTextReplacementRange() bool

func (TextInputClientWrapper) HasMarkedRange

func (t_ TextInputClientWrapper) HasMarkedRange() bool

func (TextInputClientWrapper) HasMarkedText

func (t_ TextInputClientWrapper) HasMarkedText() bool

Returns a Boolean value indicating whether the receiver has marked text. Full Topic

func (TextInputClientWrapper) HasSelectedRange

func (t_ TextInputClientWrapper) HasSelectedRange() bool

func (TextInputClientWrapper) HasSetMarkedTextSelectedRangeReplacementRange

func (t_ TextInputClientWrapper) HasSetMarkedTextSelectedRangeReplacementRange() bool

func (TextInputClientWrapper) HasUnmarkText

func (t_ TextInputClientWrapper) HasUnmarkText() bool

func (TextInputClientWrapper) HasValidAttributesForMarkedText

func (t_ TextInputClientWrapper) HasValidAttributesForMarkedText() bool

func (TextInputClientWrapper) HasWindowLevel

func (t_ TextInputClientWrapper) HasWindowLevel() bool

func (TextInputClientWrapper) InsertTextReplacementRange

func (t_ TextInputClientWrapper) InsertTextReplacementRange(string_ objc.IObject, replacementRange foundation.Range)

Inserts the given string into the receiver, replacing the specified content. Full Topic

func (TextInputClientWrapper) MarkedRange

func (t_ TextInputClientWrapper) MarkedRange() foundation.Range

Returns the range of the marked text. Full Topic

func (TextInputClientWrapper) SelectedRange

func (t_ TextInputClientWrapper) SelectedRange() foundation.Range

Returns the range of selected text. Full Topic

func (TextInputClientWrapper) SetMarkedTextSelectedRangeReplacementRange

func (t_ TextInputClientWrapper) SetMarkedTextSelectedRangeReplacementRange(string_ objc.IObject, selectedRange foundation.Range, replacementRange foundation.Range)

Replaces a specified range in the receiver’s text storage with the given string and sets the selection. Full Topic

func (TextInputClientWrapper) UnmarkText

func (t_ TextInputClientWrapper) UnmarkText()

Unmarks the marked text. Full Topic

func (TextInputClientWrapper) ValidAttributesForMarkedText

func (t_ TextInputClientWrapper) ValidAttributesForMarkedText() []foundation.AttributedStringKey

Returns an array of attribute names recognized by the receiver. Full Topic

func (TextInputClientWrapper) WindowLevel

func (t_ TextInputClientWrapper) WindowLevel() int

Returns the window level of the receiver. Full Topic

type TextInputContext

type TextInputContext struct {
	objc.Object
}

An object that represents the Cocoa text input system. Full Topic

func NewTextInputContext

func NewTextInputContext() TextInputContext

func NewTextInputContextWithClient

func NewTextInputContextWithClient(client PTextInputClient) TextInputContext

The designated initializer Full Topic

func TextInputContextFrom

func TextInputContextFrom(ptr unsafe.Pointer) TextInputContext

func TextInputContext_Alloc

func TextInputContext_Alloc() TextInputContext

func TextInputContext_CurrentInputContext

func TextInputContext_CurrentInputContext() TextInputContext

Returns the current, activated, text input context object. Full Topic

func (TextInputContext) AcceptsGlyphInfo

func (t_ TextInputContext) AcceptsGlyphInfo() bool

A Boolean value that indicates whether the client handles NSGlyphInfoAttributeName or not. Full Topic

func (TextInputContext) Activate

func (t_ TextInputContext) Activate()

Activates the receiver. Full Topic

func (TextInputContext) AllowedInputSourceLocales

func (t_ TextInputContext) AllowedInputSourceLocales() []string

The set of keyboard input source locales allowed when this input context is active. Full Topic

func (TextInputContext) Client

The owner of this input context. (read-only) Full Topic

func (TextInputContext) Deactivate

func (t_ TextInputContext) Deactivate()

Deactivates the receiver. Full Topic

func (TextInputContext) DiscardMarkedText

func (t_ TextInputContext) DiscardMarkedText()

Tells the Cocoa text input system to discard the current conversion session. Full Topic

func (TextInputContext) HandleEvent

func (t_ TextInputContext) HandleEvent(event IEvent) bool

Tells the Cocoa text input system to handle mouse or key events. Full Topic

func (TextInputContext) Init

func (TextInputContext) InitWithClient

func (t_ TextInputContext) InitWithClient(client PTextInputClient) TextInputContext

func (TextInputContext) InvalidateCharacterCoordinates

func (t_ TextInputContext) InvalidateCharacterCoordinates()

Notifies the Cocoa text input system that the position information previously queried via methods like firstRectForCharacterRange:actualRange: needs to be updated. Full Topic

func (TextInputContext) KeyboardInputSources

func (t_ TextInputContext) KeyboardInputSources() []TextInputSourceIdentifier

The array of keyboard text input source identifier strings available to the receiver. (read-only) Full Topic

func (TextInputContext) SelectedKeyboardInputSource

func (t_ TextInputContext) SelectedKeyboardInputSource() TextInputSourceIdentifier

The identifier string for the selected keyboard text input source. Full Topic

func (TextInputContext) SetAcceptsGlyphInfo

func (t_ TextInputContext) SetAcceptsGlyphInfo(value bool)

A Boolean value that indicates whether the client handles NSGlyphInfoAttributeName or not. Full Topic

func (TextInputContext) SetAllowedInputSourceLocales

func (t_ TextInputContext) SetAllowedInputSourceLocales(value []string)

The set of keyboard input source locales allowed when this input context is active. Full Topic

func (TextInputContext) SetSelectedKeyboardInputSource

func (t_ TextInputContext) SetSelectedKeyboardInputSource(value TextInputSourceIdentifier)

The identifier string for the selected keyboard text input source. Full Topic

type TextInputSourceIdentifier

type TextInputSourceIdentifier string
[Full Topic]

type TextInputTraitType

type TextInputTraitType int
[Full Topic]
const (
	TextInputTraitTypeDefault TextInputTraitType = 0
	TextInputTraitTypeNo      TextInputTraitType = 1
	TextInputTraitTypeYes     TextInputTraitType = 2
)

type TextInputTraitsWrapper

type TextInputTraitsWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextInputTraits protocol.

func (TextInputTraitsWrapper) AutocorrectionType

func (t_ TextInputTraitsWrapper) AutocorrectionType() TextInputTraitType
[Full Topic]

func (TextInputTraitsWrapper) DataDetectionType

func (t_ TextInputTraitsWrapper) DataDetectionType() TextInputTraitType
[Full Topic]

func (TextInputTraitsWrapper) GrammarCheckingType

func (t_ TextInputTraitsWrapper) GrammarCheckingType() TextInputTraitType
[Full Topic]

func (TextInputTraitsWrapper) HasAutocorrectionType

func (t_ TextInputTraitsWrapper) HasAutocorrectionType() bool

func (TextInputTraitsWrapper) HasDataDetectionType

func (t_ TextInputTraitsWrapper) HasDataDetectionType() bool

func (TextInputTraitsWrapper) HasGrammarCheckingType

func (t_ TextInputTraitsWrapper) HasGrammarCheckingType() bool

func (TextInputTraitsWrapper) HasLinkDetectionType

func (t_ TextInputTraitsWrapper) HasLinkDetectionType() bool

func (TextInputTraitsWrapper) HasSetAutocorrectionType

func (t_ TextInputTraitsWrapper) HasSetAutocorrectionType() bool

func (TextInputTraitsWrapper) HasSetDataDetectionType

func (t_ TextInputTraitsWrapper) HasSetDataDetectionType() bool

func (TextInputTraitsWrapper) HasSetGrammarCheckingType

func (t_ TextInputTraitsWrapper) HasSetGrammarCheckingType() bool

func (TextInputTraitsWrapper) HasSetLinkDetectionType

func (t_ TextInputTraitsWrapper) HasSetLinkDetectionType() bool

func (TextInputTraitsWrapper) HasSetSmartDashesType

func (t_ TextInputTraitsWrapper) HasSetSmartDashesType() bool

func (TextInputTraitsWrapper) HasSetSmartInsertDeleteType

func (t_ TextInputTraitsWrapper) HasSetSmartInsertDeleteType() bool

func (TextInputTraitsWrapper) HasSetSmartQuotesType

func (t_ TextInputTraitsWrapper) HasSetSmartQuotesType() bool

func (TextInputTraitsWrapper) HasSetSpellCheckingType

func (t_ TextInputTraitsWrapper) HasSetSpellCheckingType() bool

func (TextInputTraitsWrapper) HasSetTextCompletionType

func (t_ TextInputTraitsWrapper) HasSetTextCompletionType() bool

func (TextInputTraitsWrapper) HasSetTextReplacementType

func (t_ TextInputTraitsWrapper) HasSetTextReplacementType() bool

func (TextInputTraitsWrapper) HasSmartDashesType

func (t_ TextInputTraitsWrapper) HasSmartDashesType() bool

func (TextInputTraitsWrapper) HasSmartInsertDeleteType

func (t_ TextInputTraitsWrapper) HasSmartInsertDeleteType() bool

func (TextInputTraitsWrapper) HasSmartQuotesType

func (t_ TextInputTraitsWrapper) HasSmartQuotesType() bool

func (TextInputTraitsWrapper) HasSpellCheckingType

func (t_ TextInputTraitsWrapper) HasSpellCheckingType() bool

func (TextInputTraitsWrapper) HasTextCompletionType

func (t_ TextInputTraitsWrapper) HasTextCompletionType() bool

func (TextInputTraitsWrapper) HasTextReplacementType

func (t_ TextInputTraitsWrapper) HasTextReplacementType() bool

func (TextInputTraitsWrapper) LinkDetectionType

func (t_ TextInputTraitsWrapper) LinkDetectionType() TextInputTraitType
[Full Topic]

func (TextInputTraitsWrapper) SetAutocorrectionType

func (t_ TextInputTraitsWrapper) SetAutocorrectionType(value TextInputTraitType)
[Full Topic]

func (TextInputTraitsWrapper) SetDataDetectionType

func (t_ TextInputTraitsWrapper) SetDataDetectionType(value TextInputTraitType)
[Full Topic]

func (TextInputTraitsWrapper) SetGrammarCheckingType

func (t_ TextInputTraitsWrapper) SetGrammarCheckingType(value TextInputTraitType)
[Full Topic]

func (TextInputTraitsWrapper) SetLinkDetectionType

func (t_ TextInputTraitsWrapper) SetLinkDetectionType(value TextInputTraitType)
[Full Topic]

func (TextInputTraitsWrapper) SetSmartDashesType

func (t_ TextInputTraitsWrapper) SetSmartDashesType(value TextInputTraitType)
[Full Topic]

func (TextInputTraitsWrapper) SetSmartInsertDeleteType

func (t_ TextInputTraitsWrapper) SetSmartInsertDeleteType(value TextInputTraitType)
[Full Topic]

func (TextInputTraitsWrapper) SetSmartQuotesType

func (t_ TextInputTraitsWrapper) SetSmartQuotesType(value TextInputTraitType)
[Full Topic]

func (TextInputTraitsWrapper) SetSpellCheckingType

func (t_ TextInputTraitsWrapper) SetSpellCheckingType(value TextInputTraitType)
[Full Topic]

func (TextInputTraitsWrapper) SetTextCompletionType

func (t_ TextInputTraitsWrapper) SetTextCompletionType(value TextInputTraitType)
[Full Topic]

func (TextInputTraitsWrapper) SetTextReplacementType

func (t_ TextInputTraitsWrapper) SetTextReplacementType(value TextInputTraitType)
[Full Topic]

func (TextInputTraitsWrapper) SmartDashesType

func (t_ TextInputTraitsWrapper) SmartDashesType() TextInputTraitType
[Full Topic]

func (TextInputTraitsWrapper) SmartInsertDeleteType

func (t_ TextInputTraitsWrapper) SmartInsertDeleteType() TextInputTraitType
[Full Topic]

func (TextInputTraitsWrapper) SmartQuotesType

func (t_ TextInputTraitsWrapper) SmartQuotesType() TextInputTraitType
[Full Topic]

func (TextInputTraitsWrapper) SpellCheckingType

func (t_ TextInputTraitsWrapper) SpellCheckingType() TextInputTraitType
[Full Topic]

func (TextInputTraitsWrapper) TextCompletionType

func (t_ TextInputTraitsWrapper) TextCompletionType() TextInputTraitType
[Full Topic]

func (TextInputTraitsWrapper) TextReplacementType

func (t_ TextInputTraitsWrapper) TextReplacementType() TextInputTraitType
[Full Topic]

type TextInputWrapper

type TextInputWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextInput protocol.

type TextLayoutFragment

type TextLayoutFragment struct {
	objc.Object
}

A class that represents the layout fragment typically corresponding to a rendering surface such as layer or view subclass. Full Topic

func NewTextLayoutFragment

func NewTextLayoutFragment() TextLayoutFragment

func NewTextLayoutFragmentWithTextElementRange

func NewTextLayoutFragmentWithTextElementRange(textElement ITextElement, rangeInElement ITextRange) TextLayoutFragment

Create a new layout fragment using the provided text element and range. Full Topic

func TextLayoutFragmentFrom

func TextLayoutFragmentFrom(ptr unsafe.Pointer) TextLayoutFragment

func TextLayoutFragment_Alloc

func TextLayoutFragment_Alloc() TextLayoutFragment

func (TextLayoutFragment) BottomMargin

func (t_ TextLayoutFragment) BottomMargin() float64

Returns the amount of space reserved during paragraph layout between the bottom of the last line in the paragraph and the bottom of the text layout fragment. Full Topic

func (TextLayoutFragment) DrawAtPointInContext

func (t_ TextLayoutFragment) DrawAtPointInContext(point coregraphics.Point, context coregraphics.ContextRef)

Renders the visual representation of this element in the specified graphics context. Full Topic

func (TextLayoutFragment) FrameForTextAttachmentAtLocation

func (t_ TextLayoutFragment) FrameForTextAttachmentAtLocation(location PTextLocation) coregraphics.Rect

Returns the frame in the text layout fragment coordinate system for the attachment at the location you specify. Full Topic

func (TextLayoutFragment) FrameForTextAttachmentAtLocationObject

func (t_ TextLayoutFragment) FrameForTextAttachmentAtLocationObject(locationObject objc.IObject) coregraphics.Rect

Returns the frame in the text layout fragment coordinate system for the attachment at the location you specify. Full Topic

func (TextLayoutFragment) Init

func (TextLayoutFragment) InitWithTextElementRange

func (t_ TextLayoutFragment) InitWithTextElementRange(textElement ITextElement, rangeInElement ITextRange) TextLayoutFragment

func (TextLayoutFragment) InvalidateLayout

func (t_ TextLayoutFragment) InvalidateLayout()

Invalidates any layout information associated with the text layout fragment. Full Topic

func (TextLayoutFragment) LayoutFragmentFrame

func (t_ TextLayoutFragment) LayoutFragmentFrame() coregraphics.Rect

Returns the rectangle the framework uses for tiling the layout fragment inside the target layout coordinate system. Full Topic

func (TextLayoutFragment) LayoutQueue

func (t_ TextLayoutFragment) LayoutQueue() foundation.OperationQueue

The queue on which the framework dispatches layout operations. Full Topic

func (TextLayoutFragment) LeadingPadding

func (t_ TextLayoutFragment) LeadingPadding() float64

Returns the amount of margin space reserved during paragraph layout between the leading edge of the text layout fragment and the start of the lines in the paragraph. Full Topic

func (TextLayoutFragment) RangeInElement

func (t_ TextLayoutFragment) RangeInElement() TextRange

Returns the range inside the text element relative to the document origin. Full Topic

func (TextLayoutFragment) RenderingSurfaceBounds

func (t_ TextLayoutFragment) RenderingSurfaceBounds() coregraphics.Rect

Returns the bounds defining the area required for rendering the contents. Full Topic

func (TextLayoutFragment) SetLayoutQueue

func (t_ TextLayoutFragment) SetLayoutQueue(value foundation.IOperationQueue)

The queue on which the framework dispatches layout operations. Full Topic

func (TextLayoutFragment) State

The layout information state. Full Topic

func (TextLayoutFragment) TextAttachmentViewProviders

func (t_ TextLayoutFragment) TextAttachmentViewProviders() []TextAttachmentViewProvider

Returns the attachment view provider associated with the text layout fragment. Full Topic

func (TextLayoutFragment) TextElement

func (t_ TextLayoutFragment) TextElement() TextElement

Returns the parent text element. Full Topic

func (TextLayoutFragment) TextLayoutManager

func (t_ TextLayoutFragment) TextLayoutManager() TextLayoutManager

Returns the layout manager for this text layout fragment. Full Topic

func (TextLayoutFragment) TextLineFragments

func (t_ TextLayoutFragment) TextLineFragments() []TextLineFragment

Returns an array of text line fragments. Full Topic

func (TextLayoutFragment) TopMargin

func (t_ TextLayoutFragment) TopMargin() float64

Returns the amount of space reserved during paragraph layout between the top of the text layout fragment and the top of the first line in the paragraph. Full Topic

func (TextLayoutFragment) TrailingPadding

func (t_ TextLayoutFragment) TrailingPadding() float64

Returns the amount of margin space reserved during paragraph layout between the end of the lines in the paragraph and the trailing edge of the text layout fragment. Full Topic

type TextLayoutFragmentEnumerationOptions

type TextLayoutFragmentEnumerationOptions uint

Values that describe options for enumerating text layout fragments. Full Topic

const (
	TextLayoutFragmentEnumerationOptionsEnsuresExtraLineFragment TextLayoutFragmentEnumerationOptions = 8
	TextLayoutFragmentEnumerationOptionsEnsuresLayout            TextLayoutFragmentEnumerationOptions = 4
	TextLayoutFragmentEnumerationOptionsEstimatesSize            TextLayoutFragmentEnumerationOptions = 2
	TextLayoutFragmentEnumerationOptionsNone                     TextLayoutFragmentEnumerationOptions = 0
	TextLayoutFragmentEnumerationOptionsReverse                  TextLayoutFragmentEnumerationOptions = 1
)

type TextLayoutFragmentState

type TextLayoutFragmentState uint

Values that describe the possible layout states. Full Topic

const (
	TextLayoutFragmentStateCalculatedUsageBounds TextLayoutFragmentState = 2
	TextLayoutFragmentStateEstimatedUsageBounds  TextLayoutFragmentState = 1
	TextLayoutFragmentStateLayoutAvailable       TextLayoutFragmentState = 3
	TextLayoutFragmentStateNone                  TextLayoutFragmentState = 0
)

type TextLayoutManager

type TextLayoutManager struct {
	objc.Object
}

The primary class that you use to manage text layout and presentation for custom text displays. Full Topic

func NewTextLayoutManager

func NewTextLayoutManager() TextLayoutManager

func TextLayoutManagerFrom

func TextLayoutManagerFrom(ptr unsafe.Pointer) TextLayoutManager

func TextLayoutManager_Alloc

func TextLayoutManager_Alloc() TextLayoutManager

func (TextLayoutManager) AddRenderingAttributeValueForTextRange

func (t_ TextLayoutManager) AddRenderingAttributeValueForTextRange(renderingAttribute foundation.AttributedStringKey, value objc.IObject, textRange ITextRange)

Sets the rendering attribute for the value and range you specify. Full Topic

func (TextLayoutManager) Delegate

The delegate for the text layout manager object. Full Topic

func (TextLayoutManager) EnsureLayoutForBounds

func (t_ TextLayoutManager) EnsureLayoutForBounds(bounds coregraphics.Rect)

Performs the layout for filling the bounds you specify inside the last text container. Full Topic

func (TextLayoutManager) EnsureLayoutForRange

func (t_ TextLayoutManager) EnsureLayoutForRange(range_ ITextRange)

Performs the layout for specified text range. Full Topic

func (TextLayoutManager) EnumerateRenderingAttributesFromLocationObjectReverseUsingBlock

func (t_ TextLayoutManager) EnumerateRenderingAttributesFromLocationObjectReverseUsingBlock(locationObject objc.IObject, reverse bool, block func(textLayoutManager TextLayoutManager, attributes map[foundation.AttributedStringKey]objc.Object, textRange TextRange) bool)

Enumerates the rendering attributes from a location you specify. Full Topic

func (TextLayoutManager) EnumerateRenderingAttributesFromLocationReverseUsingBlock

func (t_ TextLayoutManager) EnumerateRenderingAttributesFromLocationReverseUsingBlock(location PTextLocation, reverse bool, block func(textLayoutManager TextLayoutManager, attributes map[foundation.AttributedStringKey]objc.Object, textRange TextRange) bool)

Enumerates the rendering attributes from a location you specify. Full Topic

func (TextLayoutManager) EnumerateTextLayoutFragmentsFromLocationObjectOptionsUsingBlock

func (t_ TextLayoutManager) EnumerateTextLayoutFragmentsFromLocationObjectOptionsUsingBlock(locationObject objc.IObject, options TextLayoutFragmentEnumerationOptions, block func(layoutFragment TextLayoutFragment) bool) TextLocationWrapper

Enumerates the text layout fragments starting at the specified location. Full Topic

func (TextLayoutManager) EnumerateTextLayoutFragmentsFromLocationOptionsUsingBlock

func (t_ TextLayoutManager) EnumerateTextLayoutFragmentsFromLocationOptionsUsingBlock(location PTextLocation, options TextLayoutFragmentEnumerationOptions, block func(layoutFragment TextLayoutFragment) bool) TextLocationWrapper

Enumerates the text layout fragments starting at the specified location. Full Topic

func (TextLayoutManager) EnumerateTextSegmentsInRangeTypeOptionsUsingBlock

func (t_ TextLayoutManager) EnumerateTextSegmentsInRangeTypeOptionsUsingBlock(textRange ITextRange, type_ TextLayoutManagerSegmentType, options TextLayoutManagerSegmentOptions, block func(textSegmentRange TextRange, textSegmentFrame coregraphics.Rect, baselinePosition float64, textContainer TextContainer) bool)

Enumerates text segments of a specific type and in the text range you provide. Full Topic

func (TextLayoutManager) Init

func (TextLayoutManager) InvalidateLayoutForRange

func (t_ TextLayoutManager) InvalidateLayoutForRange(range_ ITextRange)

Invalidates the layout information for specified text range. Full Topic

func (TextLayoutManager) InvalidateRenderingAttributesForTextRange

func (t_ TextLayoutManager) InvalidateRenderingAttributesForTextRange(textRange ITextRange)

Invalidates the rendering attributes of the specified text range. Full Topic

func (TextLayoutManager) LayoutQueue

func (t_ TextLayoutManager) LayoutQueue() foundation.OperationQueue

The queue that the framework dispatches layout operations on. Full Topic

func (TextLayoutManager) LimitsLayoutForSuspiciousContents

func (t_ TextLayoutManager) LimitsLayoutForSuspiciousContents() bool

A Boolean value that controls internal security analysis for malicious inputs and activates defensive behaviors. Full Topic

func (TextLayoutManager) RemoveRenderingAttributeForTextRange

func (t_ TextLayoutManager) RemoveRenderingAttributeForTextRange(renderingAttribute foundation.AttributedStringKey, textRange ITextRange)

Removes the rendering attribute from the specified text range. Full Topic

func (TextLayoutManager) RenderingAttributesForLinkAtLocation

func (t_ TextLayoutManager) RenderingAttributesForLinkAtLocation(link objc.IObject, location PTextLocation) map[foundation.AttributedStringKey]objc.Object

Returns a dictionary of rendering attributes for rendering a link. Full Topic

func (TextLayoutManager) RenderingAttributesForLinkAtLocationObject

func (t_ TextLayoutManager) RenderingAttributesForLinkAtLocationObject(link objc.IObject, locationObject objc.IObject) map[foundation.AttributedStringKey]objc.Object

Returns a dictionary of rendering attributes for rendering a link. Full Topic

func (TextLayoutManager) RenderingAttributesValidator

func (t_ TextLayoutManager) RenderingAttributesValidator() func(textLayoutManager TextLayoutManager, textLayoutFragment TextLayoutFragment)

A callback block that the framework invokes whenever the text layout manager needs to validate the rendering attributes for the range. Full Topic

func (TextLayoutManager) ReplaceContentsInRangeWithAttributedString

func (t_ TextLayoutManager) ReplaceContentsInRangeWithAttributedString(range_ ITextRange, attributedString foundation.IAttributedString)

Replaces content at the location you specify with an attributed string you provide. Full Topic

func (TextLayoutManager) ReplaceTextContentManager

func (t_ TextLayoutManager) ReplaceTextContentManager(textContentManager ITextContentManager)

Replaces the current text content manager with a new one you provide. Full Topic

func (TextLayoutManager) SetDelegate

func (t_ TextLayoutManager) SetDelegate(value PTextLayoutManagerDelegate)

The delegate for the text layout manager object. Full Topic

func (TextLayoutManager) SetDelegateObject

func (t_ TextLayoutManager) SetDelegateObject(valueObject objc.IObject)

The delegate for the text layout manager object. Full Topic

func (TextLayoutManager) SetLayoutQueue

func (t_ TextLayoutManager) SetLayoutQueue(value foundation.IOperationQueue)

The queue that the framework dispatches layout operations on. Full Topic

func (TextLayoutManager) SetLimitsLayoutForSuspiciousContents

func (t_ TextLayoutManager) SetLimitsLayoutForSuspiciousContents(value bool)

A Boolean value that controls internal security analysis for malicious inputs and activates defensive behaviors. Full Topic

func (TextLayoutManager) SetRenderingAttributesForTextRange

func (t_ TextLayoutManager) SetRenderingAttributesForTextRange(renderingAttributes map[foundation.AttributedStringKey]objc.IObject, textRange ITextRange)

Sets the rendering attributes for the range you specify. Full Topic

func (TextLayoutManager) SetRenderingAttributesValidator

func (t_ TextLayoutManager) SetRenderingAttributesValidator(value func(textLayoutManager TextLayoutManager, textLayoutFragment TextLayoutFragment))

A callback block that the framework invokes whenever the text layout manager needs to validate the rendering attributes for the range. Full Topic

func (TextLayoutManager) SetTextContainer

func (t_ TextLayoutManager) SetTextContainer(value ITextContainer)

The text container object that provides geometric information for the layout destination. Full Topic

func (TextLayoutManager) SetTextSelectionNavigation

func (t_ TextLayoutManager) SetTextSelectionNavigation(value ITextSelectionNavigation)

Returns a text selection manager configured to have the text layout manager as its data source. Full Topic

func (TextLayoutManager) SetTextSelections

func (t_ TextLayoutManager) SetTextSelections(value []ITextSelection)

An array of text selections associated by the text layout manager. Full Topic

func (TextLayoutManager) SetUsesFontLeading

func (t_ TextLayoutManager) SetUsesFontLeading(value bool)

A Boolean value that controls whether the framework uses the leading information specified by the font when laying out text. Full Topic

func (TextLayoutManager) SetUsesHyphenation

func (t_ TextLayoutManager) SetUsesHyphenation(value bool)

A Boolean values that controls whether the text layout manager attempts to hyphenate when wrapping lines. Full Topic

func (TextLayoutManager) TextContainer

func (t_ TextLayoutManager) TextContainer() TextContainer

The text container object that provides geometric information for the layout destination. Full Topic

func (TextLayoutManager) TextContentManager

func (t_ TextLayoutManager) TextContentManager() TextContentManager

Returns the text content manager associated with this text layout manager. Full Topic

func (TextLayoutManager) TextLayoutFragmentForLocation

func (t_ TextLayoutManager) TextLayoutFragmentForLocation(location PTextLocation) TextLayoutFragment

Returns the text layout fragment from the document at the specified location. Full Topic

func (TextLayoutManager) TextLayoutFragmentForLocationObject

func (t_ TextLayoutManager) TextLayoutFragmentForLocationObject(locationObject objc.IObject) TextLayoutFragment

Returns the text layout fragment from the document at the specified location. Full Topic

func (TextLayoutManager) TextLayoutFragmentForPosition

func (t_ TextLayoutManager) TextLayoutFragmentForPosition(position coregraphics.Point) TextLayoutFragment

Returns the text layout fragment at the position you specify in the text container. Full Topic

func (TextLayoutManager) TextSelectionNavigation

func (t_ TextLayoutManager) TextSelectionNavigation() TextSelectionNavigation

Returns a text selection manager configured to have the text layout manager as its data source. Full Topic

func (TextLayoutManager) TextSelections

func (t_ TextLayoutManager) TextSelections() []TextSelection

An array of text selections associated by the text layout manager. Full Topic

func (TextLayoutManager) TextViewportLayoutController

func (t_ TextLayoutManager) TextViewportLayoutController() TextViewportLayoutController

Returns text viewport layout controller associated with the layout manager’s text container. Full Topic

func (TextLayoutManager) UsageBoundsForTextContainer

func (t_ TextLayoutManager) UsageBoundsForTextContainer() coregraphics.Rect

Returns the usage bounds for the text container. Full Topic

func (TextLayoutManager) UsesFontLeading

func (t_ TextLayoutManager) UsesFontLeading() bool

A Boolean value that controls whether the framework uses the leading information specified by the font when laying out text. Full Topic

func (TextLayoutManager) UsesHyphenation

func (t_ TextLayoutManager) UsesHyphenation() bool

A Boolean values that controls whether the text layout manager attempts to hyphenate when wrapping lines. Full Topic

type TextLayoutManagerDelegate

type TextLayoutManagerDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PTextLayoutManagerDelegate protocol.

func (*TextLayoutManagerDelegate) HasTextLayoutManagerShouldBreakLineBeforeLocationHyphenating

func (di *TextLayoutManagerDelegate) HasTextLayoutManagerShouldBreakLineBeforeLocationHyphenating() bool

func (*TextLayoutManagerDelegate) SetTextLayoutManagerShouldBreakLineBeforeLocationHyphenating

func (di *TextLayoutManagerDelegate) SetTextLayoutManagerShouldBreakLineBeforeLocationHyphenating(f func(textLayoutManager TextLayoutManager, location TextLocationWrapper, hyphenating bool) bool)

The method the framework calls to determine the soft line break point. Full Topic

func (*TextLayoutManagerDelegate) TextLayoutManagerShouldBreakLineBeforeLocationHyphenating

func (di *TextLayoutManagerDelegate) TextLayoutManagerShouldBreakLineBeforeLocationHyphenating(textLayoutManager TextLayoutManager, location TextLocationWrapper, hyphenating bool) bool

The method the framework calls to determine the soft line break point. Full Topic

type TextLayoutManagerDelegateWrapper

type TextLayoutManagerDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextLayoutManagerDelegate protocol.

func (TextLayoutManagerDelegateWrapper) HasTextLayoutManagerShouldBreakLineBeforeLocationHyphenating

func (t_ TextLayoutManagerDelegateWrapper) HasTextLayoutManagerShouldBreakLineBeforeLocationHyphenating() bool

func (TextLayoutManagerDelegateWrapper) TextLayoutManagerShouldBreakLineBeforeLocationHyphenating

func (t_ TextLayoutManagerDelegateWrapper) TextLayoutManagerShouldBreakLineBeforeLocationHyphenating(textLayoutManager ITextLayoutManager, location PTextLocation, hyphenating bool) bool

The method the framework calls to determine the soft line break point. Full Topic

type TextLayoutManagerSegmentOptions

type TextLayoutManagerSegmentOptions uint

Values that describe where and how the framework extends segments of a selection. Full Topic

const (
	TextLayoutManagerSegmentOptionsHeadSegmentExtended     TextLayoutManagerSegmentOptions = 4
	TextLayoutManagerSegmentOptionsMiddleFragmentsExcluded TextLayoutManagerSegmentOptions = 2
	TextLayoutManagerSegmentOptionsNone                    TextLayoutManagerSegmentOptions = 0
	TextLayoutManagerSegmentOptionsRangeNotRequired        TextLayoutManagerSegmentOptions = 1
	TextLayoutManagerSegmentOptionsTailSegmentExtended     TextLayoutManagerSegmentOptions = 8
	TextLayoutManagerSegmentOptionsUpstreamAffinity        TextLayoutManagerSegmentOptions = 16
)

type TextLayoutManagerSegmentType

type TextLayoutManagerSegmentType int

Values that describe the rendering of selection boundaries. Full Topic

const (
	TextLayoutManagerSegmentTypeHighlight TextLayoutManagerSegmentType = 2
	TextLayoutManagerSegmentTypeSelection TextLayoutManagerSegmentType = 1
	TextLayoutManagerSegmentTypeStandard  TextLayoutManagerSegmentType = 0
)

type TextLayoutOrientation

type TextLayoutOrientation int

Constants that describe the text layout orientation. Full Topic

const (
	TextLayoutOrientationHorizontal TextLayoutOrientation = 0
	TextLayoutOrientationVertical   TextLayoutOrientation = 1
)

type TextLayoutOrientationProviderWrapper

type TextLayoutOrientationProviderWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextLayoutOrientationProvider protocol.

func (TextLayoutOrientationProviderWrapper) HasLayoutOrientation

func (t_ TextLayoutOrientationProviderWrapper) HasLayoutOrientation() bool

func (TextLayoutOrientationProviderWrapper) LayoutOrientation

The default layout orientation. Full Topic

type TextLayoutSectionKey

type TextLayoutSectionKey string

Constants for the text layout sections document attribute key. Full Topic

const (
	TextLayoutSectionOrientation TextLayoutSectionKey = "NSTextLayoutSectionOrientation"
	TextLayoutSectionRange       TextLayoutSectionKey = "NSTextLayoutSectionRange"
)

type TextLineFragment

type TextLineFragment struct {
	objc.Object
}

A class that represents a line fragment as a single textual layout and rendering unit inside a text layout fragment. Full Topic

func NewTextLineFragment

func NewTextLineFragment() TextLineFragment

func NewTextLineFragmentWithAttributedStringRange

func NewTextLineFragmentWithAttributedStringRange(attributedString foundation.IAttributedString, range_ foundation.Range) TextLineFragment

Creates a new line fragment from the attributed string for the range of characters you specify. Full Topic

func NewTextLineFragmentWithStringAttributesRange

func NewTextLineFragmentWithStringAttributesRange(string_ string, attributes map[foundation.AttributedStringKey]objc.IObject, range_ foundation.Range) TextLineFragment

Creates a new line fragment using the string, attributes, and range you provide. Full Topic

func TextLineFragmentFrom

func TextLineFragmentFrom(ptr unsafe.Pointer) TextLineFragment

func TextLineFragment_Alloc

func TextLineFragment_Alloc() TextLineFragment

func (TextLineFragment) AttributedString

func (t_ TextLineFragment) AttributedString() foundation.AttributedString

The source attributed string. Full Topic

func (TextLineFragment) CharacterIndexForPoint

func (t_ TextLineFragment) CharacterIndexForPoint(point coregraphics.Point) int

Returns character index for a point inside the line fragment coordinate system. Full Topic

func (TextLineFragment) CharacterRange

func (t_ TextLineFragment) CharacterRange() foundation.Range

The string range for the source attributed string that corresponds to this line fragment. Full Topic

func (TextLineFragment) DrawAtPointInContext

func (t_ TextLineFragment) DrawAtPointInContext(point coregraphics.Point, context coregraphics.ContextRef)

Renders the line fragment contents at the rendering origin. Full Topic

func (TextLineFragment) FractionOfDistanceThroughGlyphForPoint

func (t_ TextLineFragment) FractionOfDistanceThroughGlyphForPoint(point coregraphics.Point) float64

Returns character index for a point inside the line fragment coordinate system. Full Topic

func (TextLineFragment) GlyphOrigin

func (t_ TextLineFragment) GlyphOrigin() coregraphics.Point

Rendering origin for the left-most glyph in the line fragment coordinate system. Full Topic

func (TextLineFragment) Init

func (TextLineFragment) InitWithAttributedStringRange

func (t_ TextLineFragment) InitWithAttributedStringRange(attributedString foundation.IAttributedString, range_ foundation.Range) TextLineFragment

func (TextLineFragment) InitWithStringAttributesRange

func (t_ TextLineFragment) InitWithStringAttributesRange(string_ string, attributes map[foundation.AttributedStringKey]objc.IObject, range_ foundation.Range) TextLineFragment

func (TextLineFragment) LocationForCharacterAtIndex

func (t_ TextLineFragment) LocationForCharacterAtIndex(index int) coregraphics.Point

Returns the location of the character at the specified index. Full Topic

func (TextLineFragment) TypographicBounds

func (t_ TextLineFragment) TypographicBounds() coregraphics.Rect

The typographic bounds that specifies the dimensions of the line fragment for laying out line fragments to each other. Full Topic

type TextList

type TextList struct {
	objc.Object
}

A section of text that forms a single list. Full Topic

func NewTextList

func NewTextList() TextList

func NewTextListWithMarkerFormatOptions

func NewTextListWithMarkerFormatOptions(markerFormat TextListMarkerFormat, options uint) TextList

Returns an initialized text list. Full Topic

func TextListFrom

func TextListFrom(ptr unsafe.Pointer) TextList

func TextList_Alloc

func TextList_Alloc() TextList

func (TextList) Init

func (t_ TextList) Init() TextList

func (TextList) InitWithMarkerFormatOptions

func (t_ TextList) InitWithMarkerFormatOptions(markerFormat TextListMarkerFormat, options uint) TextList

func (TextList) ListOptions

func (t_ TextList) ListOptions() TextListOptions

Returns the list options mask value of the receiver. Full Topic

func (TextList) MarkerForItemNumber

func (t_ TextList) MarkerForItemNumber(itemNumber int) string

Returns the computed value for a specific ordinal position in the list. Full Topic

func (TextList) MarkerFormat

func (t_ TextList) MarkerFormat() TextListMarkerFormat

Returns the marker format string used by the receiver. Full Topic

func (TextList) SetStartingItemNumber

func (t_ TextList) SetStartingItemNumber(value int)

Sets the starting item number for the text list. Full Topic

func (TextList) StartingItemNumber

func (t_ TextList) StartingItemNumber() int

Sets the starting item number for the text list. Full Topic

type TextListMarkerFormat

type TextListMarkerFormat string
[Full Topic]
const (
	TextListMarkerBox                  TextListMarkerFormat = "{box}"
	TextListMarkerCheck                TextListMarkerFormat = "{check}"
	TextListMarkerCircle               TextListMarkerFormat = "{circle}"
	TextListMarkerDecimal              TextListMarkerFormat = "{decimal}"
	TextListMarkerDiamond              TextListMarkerFormat = "{diamond}"
	TextListMarkerDisc                 TextListMarkerFormat = "{disc}"
	TextListMarkerHyphen               TextListMarkerFormat = "{hyphen}"
	TextListMarkerLowercaseAlpha       TextListMarkerFormat = "{lower-alpha}"
	TextListMarkerLowercaseHexadecimal TextListMarkerFormat = "{lower-hexadecimal}"
	TextListMarkerLowercaseLatin       TextListMarkerFormat = "{lower-latin}"
	TextListMarkerLowercaseRoman       TextListMarkerFormat = "{lower-roman}"
	TextListMarkerOctal                TextListMarkerFormat = "{octal}"
	TextListMarkerSquare               TextListMarkerFormat = "{square}"
	TextListMarkerUppercaseAlpha       TextListMarkerFormat = "{upper-alpha}"
	TextListMarkerUppercaseHexadecimal TextListMarkerFormat = "{upper-hexadecimal}"
	TextListMarkerUppercaseLatin       TextListMarkerFormat = "{upper-latin}"
	TextListMarkerUppercaseRoman       TextListMarkerFormat = "{upper-roman}"
)

type TextListOptions

type TextListOptions uint

Values that available options for text list items. Full Topic

const (
	TextListPrependEnclosingMarker TextListOptions = 1
)

type TextLocationWrapper

type TextLocationWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextLocation protocol.

func (TextLocationWrapper) Compare

Compares and returns the logical ordering to location. Full Topic

func (TextLocationWrapper) HasCompare

func (t_ TextLocationWrapper) HasCompare() bool

type TextMovement

type TextMovement int
[Full Topic]
const (
	TextMovementBacktab TextMovement = 18
	TextMovementCancel  TextMovement = 23
	TextMovementDown    TextMovement = 22
	TextMovementLeft    TextMovement = 19
	TextMovementOther   TextMovement = 0
	TextMovementReturn  TextMovement = 16
	TextMovementRight   TextMovement = 20
	TextMovementTab     TextMovement = 17
	TextMovementUp      TextMovement = 21
)

type TextParagraph

type TextParagraph struct {
	TextElement
}

A class that represents a single paragraph backed by an attributed string as the contents. Full Topic

func NewTextParagraph

func NewTextParagraph() TextParagraph

func NewTextParagraphWithAttributedString

func NewTextParagraphWithAttributedString(attributedString foundation.IAttributedString) TextParagraph

Creates a new paragraph with the attributed string you provide. Full Topic

func NewTextParagraphWithTextContentManager

func NewTextParagraphWithTextContentManager(textContentManager ITextContentManager) TextParagraph

Creates a new text element with the content manager you provide. Full Topic

func TextParagraphFrom

func TextParagraphFrom(ptr unsafe.Pointer) TextParagraph

func TextParagraph_Alloc

func TextParagraph_Alloc() TextParagraph

func (TextParagraph) AttributedString

func (t_ TextParagraph) AttributedString() foundation.AttributedString

Returns the source attributed string. Full Topic

func (TextParagraph) Init

func (t_ TextParagraph) Init() TextParagraph

func (TextParagraph) InitWithAttributedString

func (t_ TextParagraph) InitWithAttributedString(attributedString foundation.IAttributedString) TextParagraph

func (TextParagraph) InitWithTextContentManager

func (t_ TextParagraph) InitWithTextContentManager(textContentManager ITextContentManager) TextParagraph

func (TextParagraph) ParagraphContentRange

func (t_ TextParagraph) ParagraphContentRange() TextRange

Returns the range of the paragraph in the attributed string. Full Topic

func (TextParagraph) ParagraphSeparatorRange

func (t_ TextParagraph) ParagraphSeparatorRange() TextRange

Returns the range of the paragraph separator in the attributed string. Full Topic

type TextRange

type TextRange struct {
	objc.Object
}

A class that represents a contiguous range between two locations inside document contents. Full Topic

func NewTextRange

func NewTextRange() TextRange

func NewTextRangeWithLocation

func NewTextRangeWithLocation(location PTextLocation) TextRange

Creates a new text range at the location you specify. Full Topic

func TextRangeFrom

func TextRangeFrom(ptr unsafe.Pointer) TextRange

func TextRange_Alloc

func TextRange_Alloc() TextRange

func TextRange_TextRangeByFormingUnionWithTextRange

func TextRange_TextRangeByFormingUnionWithTextRange(textRange ITextRange) TextRange

Returns a new text range by forming the union with the text range you provide. Full Topic

func TextRange_TextRangeByIntersectingWithTextRange

func TextRange_TextRangeByIntersectingWithTextRange(textRange ITextRange) TextRange

Returns the range, if any, where two text ranges intersect. Full Topic

func (TextRange) ContainsLocation

func (t_ TextRange) ContainsLocation(location PTextLocation) bool

Determines if the text location you specify is in the current text range. Full Topic

func (TextRange) ContainsLocationObject

func (t_ TextRange) ContainsLocationObject(locationObject objc.IObject) bool

Determines if the text location you specify is in the current text range. Full Topic

func (TextRange) ContainsRange

func (t_ TextRange) ContainsRange(textRange ITextRange) bool

Determines if the text range you specify is in the current text range. Full Topic

func (TextRange) EndLocation

func (t_ TextRange) EndLocation() TextLocationWrapper

Returns the ending location of the text range. Full Topic

func (TextRange) Init

func (t_ TextRange) Init() TextRange

func (TextRange) InitWithLocation

func (t_ TextRange) InitWithLocation(location PTextLocation) TextRange

func (TextRange) IntersectsWithTextRange

func (t_ TextRange) IntersectsWithTextRange(textRange ITextRange) bool

Determines if two ranges intersect. Full Topic

func (TextRange) IsEmpty

func (t_ TextRange) IsEmpty() bool

Returns whether the text range is empty. Full Topic

func (TextRange) IsEqualToTextRange

func (t_ TextRange) IsEqualToTextRange(textRange ITextRange) bool

Compares two text ranges. Full Topic

func (TextRange) Location

func (t_ TextRange) Location() TextLocationWrapper

Returns the starting location of the text range. Full Topic

func (TextRange) TextRangeByFormingUnionWithTextRange

func (t_ TextRange) TextRangeByFormingUnionWithTextRange(textRange ITextRange) TextRange

func (TextRange) TextRangeByIntersectingWithTextRange

func (t_ TextRange) TextRangeByIntersectingWithTextRange(textRange ITextRange) TextRange

type TextScalingType

type TextScalingType int

Constants that specify the text scaling. Full Topic

const (
	TextScalingStandard TextScalingType = 0
	TextScalingiOS      TextScalingType = 1
)

type TextSelection

type TextSelection struct {
	objc.Object
}

A class that represents a single logical selection context that corresponds to an insertion point. Full Topic

func NewTextSelection

func NewTextSelection() TextSelection

func NewTextSelectionWithLocationAffinity

func NewTextSelectionWithLocationAffinity(location PTextLocation, affinity TextSelectionAffinity) TextSelection

Creates a new text selection with the location and selection affinity you provide. Full Topic

func NewTextSelectionWithRangeAffinityGranularity

func NewTextSelectionWithRangeAffinityGranularity(range_ ITextRange, affinity TextSelectionAffinity, granularity TextSelectionGranularity) TextSelection

Creates a new text selection with the range, selection affinity, and granularity you provide. Full Topic

func NewTextSelectionWithRangesAffinityGranularity

func NewTextSelectionWithRangesAffinityGranularity(textRanges []ITextRange, affinity TextSelectionAffinity, granularity TextSelectionGranularity) TextSelection

Creates a new text selection with the ranges, selection affinity, and granularity you provide. Full Topic

func TextSelectionFrom

func TextSelectionFrom(ptr unsafe.Pointer) TextSelection

func TextSelection_Alloc

func TextSelection_Alloc() TextSelection

func (TextSelection) Affinity

func (t_ TextSelection) Affinity() TextSelectionAffinity

Returns the selection affinity of the text selection. Full Topic

func (TextSelection) AnchorPositionOffset

func (t_ TextSelection) AnchorPositionOffset() float64

Represents the anchor position offset from the beginning of a line fragment in the visual order for the initial tap or click location. Full Topic

func (TextSelection) Granularity

func (t_ TextSelection) Granularity() TextSelectionGranularity

The granularity of the selection. Full Topic

func (TextSelection) Init

func (t_ TextSelection) Init() TextSelection

func (TextSelection) InitWithLocationAffinity

func (t_ TextSelection) InitWithLocationAffinity(location PTextLocation, affinity TextSelectionAffinity) TextSelection

func (TextSelection) InitWithRangeAffinityGranularity

func (t_ TextSelection) InitWithRangeAffinityGranularity(range_ ITextRange, affinity TextSelectionAffinity, granularity TextSelectionGranularity) TextSelection

func (TextSelection) InitWithRangesAffinityGranularity

func (t_ TextSelection) InitWithRangesAffinityGranularity(textRanges []ITextRange, affinity TextSelectionAffinity, granularity TextSelectionGranularity) TextSelection

func (TextSelection) IsLogical

func (t_ TextSelection) IsLogical() bool

A Boolean value that indicates whether the framework interprets the selection as logical or visual. Full Topic

func (TextSelection) IsTransient

func (t_ TextSelection) IsTransient() bool

A Boolean value that indicates transient text selection during drag handling. Full Topic

func (TextSelection) SecondarySelectionLocation

func (t_ TextSelection) SecondarySelectionLocation() TextLocationWrapper

Specifies the secondary character location when user taps or clicks at a directional boundary. Full Topic

func (TextSelection) SetAnchorPositionOffset

func (t_ TextSelection) SetAnchorPositionOffset(value float64)

Represents the anchor position offset from the beginning of a line fragment in the visual order for the initial tap or click location. Full Topic

func (TextSelection) SetLogical

func (t_ TextSelection) SetLogical(value bool)

A Boolean value that indicates whether the framework interprets the selection as logical or visual. Full Topic

func (TextSelection) SetSecondarySelectionLocation

func (t_ TextSelection) SetSecondarySelectionLocation(value PTextLocation)

Specifies the secondary character location when user taps or clicks at a directional boundary. Full Topic

func (TextSelection) SetSecondarySelectionLocationObject

func (t_ TextSelection) SetSecondarySelectionLocationObject(valueObject objc.IObject)

Specifies the secondary character location when user taps or clicks at a directional boundary. Full Topic

func (TextSelection) SetTypingAttributes

func (t_ TextSelection) SetTypingAttributes(value map[foundation.AttributedStringKey]objc.IObject)

The template attributes the framework uses for characters that replace the contents of this selection. Full Topic

func (TextSelection) TextRanges

func (t_ TextSelection) TextRanges() []TextRange

Represents an array of noncontiguous logical ranges in the selection. Full Topic

func (TextSelection) TextSelectionWithTextRanges

func (t_ TextSelection) TextSelectionWithTextRanges(textRanges []ITextRange) TextSelection

Creates a subselection of the current text selection with the ranges you specify. Full Topic

func (TextSelection) TypingAttributes

func (t_ TextSelection) TypingAttributes() map[foundation.AttributedStringKey]objc.Object

The template attributes the framework uses for characters that replace the contents of this selection. Full Topic

type TextSelectionAffinity

type TextSelectionAffinity int

Values that describe the visual location of the text cursor, or the direction of the non-anchored edge of the selection. Full Topic

const (
	TextSelectionAffinityDownstream TextSelectionAffinity = 1
	TextSelectionAffinityUpstream   TextSelectionAffinity = 0
)

type TextSelectionDataSourceWrapper

type TextSelectionDataSourceWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextSelectionDataSource protocol.

func (TextSelectionDataSourceWrapper) BaseWritingDirectionAtLocation

func (t_ TextSelectionDataSourceWrapper) BaseWritingDirectionAtLocation(location PTextLocation) TextSelectionNavigationWritingDirection

Returns the base writing direction at the location you specify. Full Topic

func (TextSelectionDataSourceWrapper) DocumentRange

func (t_ TextSelectionDataSourceWrapper) DocumentRange() TextRange

Returns the starting and ending locations for the document. Full Topic

func (TextSelectionDataSourceWrapper) EnumerateCaretOffsetsInLineFragmentAtLocationUsingBlock

func (t_ TextSelectionDataSourceWrapper) EnumerateCaretOffsetsInLineFragmentAtLocationUsingBlock(location PTextLocation, block func(caretOffset float64, location TextLocationWrapper, leadingEdge bool, stop *bool))

Enumerates all the insertion point caret offsets from left to right in visual order. Full Topic

func (TextSelectionDataSourceWrapper) EnumerateContainerBoundariesFromLocationReverseUsingBlock

func (t_ TextSelectionDataSourceWrapper) EnumerateContainerBoundariesFromLocationReverseUsingBlock(location PTextLocation, reverse bool, block func(boundaryLocation TextLocationWrapper, stop *bool))

Enumerates all the container boundaries starting from the location you specify. Full Topic

func (TextSelectionDataSourceWrapper) EnumerateSubstringsFromLocationOptionsUsingBlock

func (t_ TextSelectionDataSourceWrapper) EnumerateSubstringsFromLocationOptionsUsingBlock(location PTextLocation, options foundation.StringEnumerationOptions, block func(substring string, substringRange TextRange, enclosingRange TextRange, stop *bool))

Enumerates the textual segment boundaries starting at the location you specify. Full Topic

func (TextSelectionDataSourceWrapper) HasBaseWritingDirectionAtLocation

func (t_ TextSelectionDataSourceWrapper) HasBaseWritingDirectionAtLocation() bool

func (TextSelectionDataSourceWrapper) HasDocumentRange

func (t_ TextSelectionDataSourceWrapper) HasDocumentRange() bool

func (TextSelectionDataSourceWrapper) HasEnumerateCaretOffsetsInLineFragmentAtLocationUsingBlock

func (t_ TextSelectionDataSourceWrapper) HasEnumerateCaretOffsetsInLineFragmentAtLocationUsingBlock() bool

func (TextSelectionDataSourceWrapper) HasEnumerateContainerBoundariesFromLocationReverseUsingBlock

func (t_ TextSelectionDataSourceWrapper) HasEnumerateContainerBoundariesFromLocationReverseUsingBlock() bool

func (TextSelectionDataSourceWrapper) HasEnumerateSubstringsFromLocationOptionsUsingBlock

func (t_ TextSelectionDataSourceWrapper) HasEnumerateSubstringsFromLocationOptionsUsingBlock() bool

func (TextSelectionDataSourceWrapper) HasLineFragmentRangeForPointInContainerAtLocation

func (t_ TextSelectionDataSourceWrapper) HasLineFragmentRangeForPointInContainerAtLocation() bool

func (TextSelectionDataSourceWrapper) HasLocationFromLocationWithOffset

func (t_ TextSelectionDataSourceWrapper) HasLocationFromLocationWithOffset() bool

func (TextSelectionDataSourceWrapper) HasOffsetFromLocationToLocation

func (t_ TextSelectionDataSourceWrapper) HasOffsetFromLocationToLocation() bool

func (TextSelectionDataSourceWrapper) HasTextLayoutOrientationAtLocation

func (t_ TextSelectionDataSourceWrapper) HasTextLayoutOrientationAtLocation() bool

func (TextSelectionDataSourceWrapper) HasTextRangeForSelectionGranularityEnclosingLocation

func (t_ TextSelectionDataSourceWrapper) HasTextRangeForSelectionGranularityEnclosingLocation() bool

func (TextSelectionDataSourceWrapper) LineFragmentRangeForPointInContainerAtLocation

func (t_ TextSelectionDataSourceWrapper) LineFragmentRangeForPointInContainerAtLocation(point coregraphics.Point, location PTextLocation) TextRange

Returns the range of the line fragment that contains the point you specify. Full Topic

func (TextSelectionDataSourceWrapper) LocationFromLocationWithOffset

func (t_ TextSelectionDataSourceWrapper) LocationFromLocationWithOffset(location PTextLocation, offset int) TextLocationWrapper

Returns a new location using the location and offset you specify. Full Topic

func (TextSelectionDataSourceWrapper) OffsetFromLocationToLocation

func (t_ TextSelectionDataSourceWrapper) OffsetFromLocationToLocation(from PTextLocation, to PTextLocation) int

Returns the offset between the two locations you specify. Full Topic

func (TextSelectionDataSourceWrapper) TextLayoutOrientationAtLocation

func (t_ TextSelectionDataSourceWrapper) TextLayoutOrientationAtLocation(location PTextLocation) TextSelectionNavigationLayoutOrientation

Returns the layout orientation at the location you specify. Full Topic

func (TextSelectionDataSourceWrapper) TextRangeForSelectionGranularityEnclosingLocation

func (t_ TextSelectionDataSourceWrapper) TextRangeForSelectionGranularityEnclosingLocation(selectionGranularity TextSelectionGranularity, location PTextLocation) TextRange

Returns a text range that corresponds to selection granularity of the enclosing location. Full Topic

type TextSelectionGranularity

type TextSelectionGranularity int

Values that describe the different granularities available to make a selection. Full Topic

const (
	TextSelectionGranularityCharacter TextSelectionGranularity = 0
	TextSelectionGranularityLine      TextSelectionGranularity = 3
	TextSelectionGranularityParagraph TextSelectionGranularity = 2
	TextSelectionGranularitySentence  TextSelectionGranularity = 4
	TextSelectionGranularityWord      TextSelectionGranularity = 1
)

type TextSelectionNavigation

type TextSelectionNavigation struct {
	objc.Object
}

An interface used to expose methods for obtaining results from actions performed on text selections. Full Topic

func NewTextSelectionNavigation

func NewTextSelectionNavigation() TextSelectionNavigation

func NewTextSelectionNavigationWithDataSource

func NewTextSelectionNavigationWithDataSource(dataSource PTextSelectionDataSource) TextSelectionNavigation

Creates a new object using the text selection data source you provide. Full Topic

func TextSelectionNavigationFrom

func TextSelectionNavigationFrom(ptr unsafe.Pointer) TextSelectionNavigation

func TextSelectionNavigation_Alloc

func TextSelectionNavigation_Alloc() TextSelectionNavigation

func (TextSelectionNavigation) AllowsNonContiguousRanges

func (t_ TextSelectionNavigation) AllowsNonContiguousRanges() bool

Determines if the instance could produce selections with multiple noncontiguous selections. Full Topic

func (TextSelectionNavigation) DeletionRangesForTextSelectionDirectionDestinationAllowsDecomposition

func (t_ TextSelectionNavigation) DeletionRangesForTextSelectionDirectionDestinationAllowsDecomposition(textSelection ITextSelection, direction TextSelectionNavigationDirection, destination TextSelectionNavigationDestination, allowsDecomposition bool) []TextRange

Returns the ranges for deleting the text based on the current selection and movement arguments. Full Topic

func (TextSelectionNavigation) DestinationSelectionForTextSelectionDirectionDestinationExtendingConfined

func (t_ TextSelectionNavigation) DestinationSelectionForTextSelectionDirectionDestinationExtendingConfined(textSelection ITextSelection, direction TextSelectionNavigationDirection, destination TextSelectionNavigationDestination, extending bool, confined bool) TextSelection

Returns a new selection that results from applying the navigation operations you specify to the text selection you provide. Full Topic

func (TextSelectionNavigation) FlushLayoutCache

func (t_ TextSelectionNavigation) FlushLayoutCache()

Flushes cached layout information. Full Topic

func (TextSelectionNavigation) Init

func (TextSelectionNavigation) InitWithDataSource

func (TextSelectionNavigation) ResolvedInsertionLocationForTextSelectionWritingDirection

func (t_ TextSelectionNavigation) ResolvedInsertionLocationForTextSelectionWritingDirection(textSelection ITextSelection, writingDirection TextSelectionNavigationWritingDirection) TextLocationWrapper

Returns the location for inserting the next input depending on the state of the current and secondary selections. Full Topic

func (TextSelectionNavigation) RotatesCoordinateSystemForLayoutOrientation

func (t_ TextSelectionNavigation) RotatesCoordinateSystemForLayoutOrientation() bool

Determines if the framework rotates the coordinate system to match the layout orientation. Full Topic

func (TextSelectionNavigation) SetAllowsNonContiguousRanges

func (t_ TextSelectionNavigation) SetAllowsNonContiguousRanges(value bool)

Determines if the instance could produce selections with multiple noncontiguous selections. Full Topic

func (TextSelectionNavigation) SetRotatesCoordinateSystemForLayoutOrientation

func (t_ TextSelectionNavigation) SetRotatesCoordinateSystemForLayoutOrientation(value bool)

Determines if the framework rotates the coordinate system to match the layout orientation. Full Topic

func (TextSelectionNavigation) TextSelectionDataSource

func (t_ TextSelectionNavigation) TextSelectionDataSource() TextSelectionDataSourceWrapper

The data source associated with this selection navigation. Full Topic

func (TextSelectionNavigation) TextSelectionForSelectionGranularityEnclosingTextSelection

func (t_ TextSelectionNavigation) TextSelectionForSelectionGranularityEnclosingTextSelection(selectionGranularity TextSelectionGranularity, textSelection ITextSelection) TextSelection

Returns a text selection expanded to the nearest boundaries for the selection granularity and enclosing text selection text ranges you specify. Full Topic

func (TextSelectionNavigation) TextSelectionsInteractingAtPointInContainerAtLocationAnchorsModifiersSelectingBounds

func (t_ TextSelectionNavigation) TextSelectionsInteractingAtPointInContainerAtLocationAnchorsModifiersSelectingBounds(point coregraphics.Point, containerLocation PTextLocation, anchors []ITextSelection, modifiers TextSelectionNavigationModifier, selecting bool, bounds coregraphics.Rect) []TextSelection

Returns an array of text selections produced by a tap or click at the point you specify. Full Topic

func (TextSelectionNavigation) TextSelectionsInteractingAtPointInContainerAtLocationObjectAnchorsModifiersSelectingBounds

func (t_ TextSelectionNavigation) TextSelectionsInteractingAtPointInContainerAtLocationObjectAnchorsModifiersSelectingBounds(point coregraphics.Point, containerLocationObject objc.IObject, anchors []ITextSelection, modifiers TextSelectionNavigationModifier, selecting bool, bounds coregraphics.Rect) []TextSelection

Returns an array of text selections produced by a tap or click at the point you specify. Full Topic

type TextSelectionNavigationDestination

type TextSelectionNavigationDestination int

Values that affect how the framework handles navigation across different textual boundaries during a selection. Full Topic

const (
	TextSelectionNavigationDestinationCharacter TextSelectionNavigationDestination = 0
	TextSelectionNavigationDestinationContainer TextSelectionNavigationDestination = 5
	TextSelectionNavigationDestinationDocument  TextSelectionNavigationDestination = 6
	TextSelectionNavigationDestinationLine      TextSelectionNavigationDestination = 2
	TextSelectionNavigationDestinationParagraph TextSelectionNavigationDestination = 4
	TextSelectionNavigationDestinationSentence  TextSelectionNavigationDestination = 3
	TextSelectionNavigationDestinationWord      TextSelectionNavigationDestination = 1
)

type TextSelectionNavigationDirection

type TextSelectionNavigationDirection int

Values that describe the direction of a selection. Full Topic

const (
	TextSelectionNavigationDirectionBackward TextSelectionNavigationDirection = 1
	TextSelectionNavigationDirectionDown     TextSelectionNavigationDirection = 5
	TextSelectionNavigationDirectionForward  TextSelectionNavigationDirection = 0
	TextSelectionNavigationDirectionLeft     TextSelectionNavigationDirection = 3
	TextSelectionNavigationDirectionRight    TextSelectionNavigationDirection = 2
	TextSelectionNavigationDirectionUp       TextSelectionNavigationDirection = 4
)

type TextSelectionNavigationLayoutOrientation

type TextSelectionNavigationLayoutOrientation int

Values that describe the possible layout orientations. Full Topic

const (
	TextSelectionNavigationLayoutOrientationHorizontal TextSelectionNavigationLayoutOrientation = 0
	TextSelectionNavigationLayoutOrientationVertical   TextSelectionNavigationLayoutOrientation = 1
)

type TextSelectionNavigationModifier

type TextSelectionNavigationModifier uint

Values that describe how the framework handles different kinds of selection modifiers. Full Topic

const (
	TextSelectionNavigationModifierExtend   TextSelectionNavigationModifier = 1
	TextSelectionNavigationModifierMultiple TextSelectionNavigationModifier = 4
	TextSelectionNavigationModifierVisual   TextSelectionNavigationModifier = 2
)

type TextSelectionNavigationWritingDirection

type TextSelectionNavigationWritingDirection int

Values that describe the writing direction inside a text selection. Full Topic

const (
	TextSelectionNavigationWritingDirectionLeftToRight TextSelectionNavigationWritingDirection = 0
	TextSelectionNavigationWritingDirectionRightToLeft TextSelectionNavigationWritingDirection = 1
)

type TextStorage

type TextStorage struct {
	foundation.MutableAttributedString
}

The fundamental storage mechanism of TextKit that contains the text managed by the system. Full Topic

func NewTextStorage

func NewTextStorage() TextStorage

func NewTextStorageWithAttributedString

func NewTextStorageWithAttributedString(attrStr foundation.IAttributedString) TextStorage

Creates an attributed string with the characters and attributes of the specified attributed string. Full Topic

func NewTextStorageWithContentsOfMarkdownFileAtURLOptionsBaseURLError

func NewTextStorageWithContentsOfMarkdownFileAtURLOptionsBaseURLError(markdownFile foundation.IURL, options foundation.IAttributedStringMarkdownParsingOptions, baseURL foundation.IURL, error foundation.IError) TextStorage

Creates an attributed string from the contents of a specified URL that contains Markdown-formatted data using the provided options. Full Topic

func NewTextStorageWithDataOptionsDocumentAttributesError

func NewTextStorageWithDataOptionsDocumentAttributesError(data []byte, options map[AttributedStringDocumentReadingOptionKey]objc.IObject, dict map[AttributedStringDocumentAttributeKey]objc.IObject, error foundation.IError) TextStorage

Creates an attributed string from the data in the specified data object. Full Topic

func NewTextStorageWithDocFormatDocumentAttributes

func NewTextStorageWithDocFormatDocumentAttributes(data []byte, dict map[AttributedStringDocumentAttributeKey]objc.IObject) TextStorage

Creates an attributed string from Microsoft Word format data in the specified data object. Full Topic

func NewTextStorageWithFormatOptionsLocale

func NewTextStorageWithFormatOptionsLocale(format foundation.IAttributedString, options foundation.AttributedStringFormattingOptions, locale foundation.ILocale, args ...any) TextStorage
[Full Topic]

func NewTextStorageWithHTMLOptionsDocumentAttributes

func NewTextStorageWithHTMLOptionsDocumentAttributes(data []byte, options map[AttributedStringDocumentReadingOptionKey]objc.IObject, dict map[AttributedStringDocumentAttributeKey]objc.IObject) TextStorage

Creates an attributed string from the HTML in the specified data object. Full Topic

func NewTextStorageWithMarkdownOptionsBaseURLError

func NewTextStorageWithMarkdownOptionsBaseURLError(markdown []byte, options foundation.IAttributedStringMarkdownParsingOptions, baseURL foundation.IURL, error foundation.IError) TextStorage

Creates an attributed string from Markdown-formatted data using the provided options. Full Topic

func NewTextStorageWithMarkdownStringOptionsBaseURLError

func NewTextStorageWithMarkdownStringOptionsBaseURLError(markdownString string, options foundation.IAttributedStringMarkdownParsingOptions, baseURL foundation.IURL, error foundation.IError) TextStorage

Creates an attributed string from a Markdown-formatted string using the provided options. Full Topic

func NewTextStorageWithRTFDDocumentAttributes

func NewTextStorageWithRTFDDocumentAttributes(data []byte, dict map[AttributedStringDocumentAttributeKey]objc.IObject) TextStorage

Creates an attributed string by decoding the stream of RTFD commands and data in the specified data object. Full Topic

func NewTextStorageWithRTFDFileWrapperDocumentAttributes

func NewTextStorageWithRTFDFileWrapperDocumentAttributes(wrapper foundation.IFileWrapper, dict map[AttributedStringDocumentAttributeKey]objc.IObject) TextStorage

Creates an attributed string from the specified file wrapper that contains an RTFD document. Full Topic

func NewTextStorageWithRTFDocumentAttributes

func NewTextStorageWithRTFDocumentAttributes(data []byte, dict map[AttributedStringDocumentAttributeKey]objc.IObject) TextStorage

Creates an attributed string by decoding the stream of RTF commands and data in the specified data object. Full Topic

func NewTextStorageWithString

func NewTextStorageWithString(str string) TextStorage

Creates an attributed string with the characters of the specified string and no attribute information. Full Topic

func TextStorageFrom

func TextStorageFrom(ptr unsafe.Pointer) TextStorage

func TextStorage_Alloc

func TextStorage_Alloc() TextStorage

func TextStorage_LocalizedAttributedStringWithFormat

func TextStorage_LocalizedAttributedStringWithFormat(format foundation.IAttributedString, args ...any) TextStorage
[Full Topic]

func (TextStorage) AddLayoutManager

func (t_ TextStorage) AddLayoutManager(aLayoutManager ILayoutManager)

Adds a layout manager to the text storage object’s set of layout managers. Full Topic

func (TextStorage) AttributeRuns

func (t_ TextStorage) AttributeRuns() []TextStorage

The text storage contents as an array of attribute runs. Full Topic

func (TextStorage) ChangeInLength

func (t_ TextStorage) ChangeInLength() int

The difference between the current length of the edited range and its length before editing. Full Topic

func (TextStorage) Characters

func (t_ TextStorage) Characters() []TextStorage

The text storage contents as an array of characters. Full Topic

func (TextStorage) Delegate

The delegate for the text storage object. Full Topic

func (TextStorage) EditedMask

func (t_ TextStorage) EditedMask() TextStorageEditActions

A mask that describes the kinds of edits pending for the text storage object. Full Topic

func (TextStorage) EditedRange

func (t_ TextStorage) EditedRange() foundation.Range

The range of text that contains changes. Full Topic

func (TextStorage) EditedRangeChangeInLength

func (t_ TextStorage) EditedRangeChangeInLength(editedMask TextStorageEditActions, editedRange foundation.Range, delta int)

Tracks changes made to the text storage object, allowing the text storage to record the full extent of changes. Full Topic

func (TextStorage) EnsureAttributesAreFixedInRange

func (t_ TextStorage) EnsureAttributesAreFixedInRange(range_ foundation.Range)

Ensures that attribute fixing occurs in the specified range. Full Topic

func (TextStorage) FixesAttributesLazily

func (t_ TextStorage) FixesAttributesLazily() bool

A Boolean value that indicates whether the text storage object fixes attributes lazily. Full Topic

func (TextStorage) Font

func (t_ TextStorage) Font() Font

The font for the text storage. Full Topic

func (TextStorage) ForegroundColor

func (t_ TextStorage) ForegroundColor() Color

The color for the text. Full Topic

func (TextStorage) Init

func (t_ TextStorage) Init() TextStorage

func (TextStorage) InitWithAttributedString

func (t_ TextStorage) InitWithAttributedString(attrStr foundation.IAttributedString) TextStorage

func (TextStorage) InitWithContentsOfMarkdownFileAtURLOptionsBaseURLError

func (t_ TextStorage) InitWithContentsOfMarkdownFileAtURLOptionsBaseURLError(markdownFile foundation.IURL, options foundation.IAttributedStringMarkdownParsingOptions, baseURL foundation.IURL, error foundation.IError) TextStorage

func (TextStorage) InitWithDataOptionsDocumentAttributesError

func (t_ TextStorage) InitWithDataOptionsDocumentAttributesError(data []byte, options map[AttributedStringDocumentReadingOptionKey]objc.IObject, dict map[AttributedStringDocumentAttributeKey]objc.IObject, error foundation.IError) TextStorage

func (TextStorage) InitWithDocFormatDocumentAttributes

func (t_ TextStorage) InitWithDocFormatDocumentAttributes(data []byte, dict map[AttributedStringDocumentAttributeKey]objc.IObject) TextStorage

func (TextStorage) InitWithFormatOptionsLocale

func (t_ TextStorage) InitWithFormatOptionsLocale(format foundation.IAttributedString, options foundation.AttributedStringFormattingOptions, locale foundation.ILocale, args ...any) TextStorage

func (TextStorage) InitWithHTMLOptionsDocumentAttributes

func (t_ TextStorage) InitWithHTMLOptionsDocumentAttributes(data []byte, options map[AttributedStringDocumentReadingOptionKey]objc.IObject, dict map[AttributedStringDocumentAttributeKey]objc.IObject) TextStorage

func (TextStorage) InitWithMarkdownOptionsBaseURLError

func (t_ TextStorage) InitWithMarkdownOptionsBaseURLError(markdown []byte, options foundation.IAttributedStringMarkdownParsingOptions, baseURL foundation.IURL, error foundation.IError) TextStorage

func (TextStorage) InitWithMarkdownStringOptionsBaseURLError

func (t_ TextStorage) InitWithMarkdownStringOptionsBaseURLError(markdownString string, options foundation.IAttributedStringMarkdownParsingOptions, baseURL foundation.IURL, error foundation.IError) TextStorage

func (TextStorage) InitWithRTFDDocumentAttributes

func (t_ TextStorage) InitWithRTFDDocumentAttributes(data []byte, dict map[AttributedStringDocumentAttributeKey]objc.IObject) TextStorage

func (TextStorage) InitWithRTFDFileWrapperDocumentAttributes

func (t_ TextStorage) InitWithRTFDFileWrapperDocumentAttributes(wrapper foundation.IFileWrapper, dict map[AttributedStringDocumentAttributeKey]objc.IObject) TextStorage

func (TextStorage) InitWithRTFDocumentAttributes

func (t_ TextStorage) InitWithRTFDocumentAttributes(data []byte, dict map[AttributedStringDocumentAttributeKey]objc.IObject) TextStorage

func (TextStorage) InitWithString

func (t_ TextStorage) InitWithString(str string) TextStorage

func (TextStorage) InvalidateAttributesInRange

func (t_ TextStorage) InvalidateAttributesInRange(range_ foundation.Range)

Invalidates attributes in the specified range. Full Topic

func (TextStorage) LayoutManagers

func (t_ TextStorage) LayoutManagers() []LayoutManager

The layout managers for the text storage object. Full Topic

func (TextStorage) Paragraphs

func (t_ TextStorage) Paragraphs() []TextStorage

The text storage contents as an array of paragraphs. Full Topic

func (TextStorage) ProcessEditing

func (t_ TextStorage) ProcessEditing()

Cleans up changes to the text storage object and notifies its delegate and layout managers of changes. Full Topic

func (TextStorage) RemoveLayoutManager

func (t_ TextStorage) RemoveLayoutManager(aLayoutManager ILayoutManager)

Removes a layout manager from the text storage object’s set of layout managers. Full Topic

func (TextStorage) SetAttributeRuns

func (t_ TextStorage) SetAttributeRuns(value []ITextStorage)

The text storage contents as an array of attribute runs. Full Topic

func (TextStorage) SetCharacters

func (t_ TextStorage) SetCharacters(value []ITextStorage)

The text storage contents as an array of characters. Full Topic

func (TextStorage) SetDelegate

func (t_ TextStorage) SetDelegate(value PTextStorageDelegate)

The delegate for the text storage object. Full Topic

func (TextStorage) SetDelegateObject

func (t_ TextStorage) SetDelegateObject(valueObject objc.IObject)

The delegate for the text storage object. Full Topic

func (TextStorage) SetFont

func (t_ TextStorage) SetFont(value IFont)

The font for the text storage. Full Topic

func (TextStorage) SetForegroundColor

func (t_ TextStorage) SetForegroundColor(value IColor)

The color for the text. Full Topic

func (TextStorage) SetParagraphs

func (t_ TextStorage) SetParagraphs(value []ITextStorage)

The text storage contents as an array of paragraphs. Full Topic

func (TextStorage) SetTextStorageObserver

func (t_ TextStorage) SetTextStorageObserver(value PTextStorageObserving)

The observer for the text storage object. Full Topic

func (TextStorage) SetTextStorageObserverObject

func (t_ TextStorage) SetTextStorageObserverObject(valueObject objc.IObject)

The observer for the text storage object. Full Topic

func (TextStorage) SetWords

func (t_ TextStorage) SetWords(value []ITextStorage)

The text storage contents as an array of words. Full Topic

func (TextStorage) TextStorageObserver

func (t_ TextStorage) TextStorageObserver() TextStorageObservingWrapper

The observer for the text storage object. Full Topic

func (TextStorage) Words

func (t_ TextStorage) Words() []TextStorage

The text storage contents as an array of words. Full Topic

type TextStorageDelegate

type TextStorageDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PTextStorageDelegate protocol.

func (*TextStorageDelegate) HasTextStorageDidProcessEditingRangeChangeInLength

func (di *TextStorageDelegate) HasTextStorageDidProcessEditingRangeChangeInLength() bool

func (*TextStorageDelegate) SetTextStorageDidProcessEditingRangeChangeInLength

func (di *TextStorageDelegate) SetTextStorageDidProcessEditingRangeChangeInLength(f func(textStorage TextStorage, editedMask TextStorageEditActions, editedRange foundation.Range, delta int))

The method the framework calls when a text storage object has finished processing edits. Full Topic

func (*TextStorageDelegate) TextStorageDidProcessEditingRangeChangeInLength

func (di *TextStorageDelegate) TextStorageDidProcessEditingRangeChangeInLength(textStorage TextStorage, editedMask TextStorageEditActions, editedRange foundation.Range, delta int)

The method the framework calls when a text storage object has finished processing edits. Full Topic

type TextStorageDelegateWrapper

type TextStorageDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextStorageDelegate protocol.

func (TextStorageDelegateWrapper) HasTextStorageDidProcessEditingRangeChangeInLength

func (t_ TextStorageDelegateWrapper) HasTextStorageDidProcessEditingRangeChangeInLength() bool

func (TextStorageDelegateWrapper) TextStorageDidProcessEditingRangeChangeInLength

func (t_ TextStorageDelegateWrapper) TextStorageDidProcessEditingRangeChangeInLength(textStorage ITextStorage, editedMask TextStorageEditActions, editedRange foundation.Range, delta int)

The method the framework calls when a text storage object has finished processing edits. Full Topic

type TextStorageEditActions

type TextStorageEditActions uint

Constants that indicate the types of changes. Full Topic

const (
	TextStorageEditedAttributes TextStorageEditActions = 1
	TextStorageEditedCharacters TextStorageEditActions = 2
)

type TextStorageEditedOptions

type TextStorageEditedOptions uint

Constants that indicate the types of edits. Full Topic

type TextStorageObservingWrapper

type TextStorageObservingWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextStorageObserving protocol.

func (TextStorageObservingWrapper) HasPerformEditingTransactionForTextStorageUsingBlock

func (t_ TextStorageObservingWrapper) HasPerformEditingTransactionForTextStorageUsingBlock() bool

func (TextStorageObservingWrapper) HasProcessEditingForTextStorageEditedRangeChangeInLengthInvalidatedRange

func (t_ TextStorageObservingWrapper) HasProcessEditingForTextStorageEditedRangeChangeInLengthInvalidatedRange() bool

func (TextStorageObservingWrapper) HasSetTextStorage

func (t_ TextStorageObservingWrapper) HasSetTextStorage() bool

func (TextStorageObservingWrapper) HasTextStorage

func (t_ TextStorageObservingWrapper) HasTextStorage() bool

func (TextStorageObservingWrapper) PerformEditingTransactionForTextStorageUsingBlock

func (t_ TextStorageObservingWrapper) PerformEditingTransactionForTextStorageUsingBlock(textStorage ITextStorage, transaction func())
[Full Topic]

func (TextStorageObservingWrapper) ProcessEditingForTextStorageEditedRangeChangeInLengthInvalidatedRange

func (t_ TextStorageObservingWrapper) ProcessEditingForTextStorageEditedRangeChangeInLengthInvalidatedRange(textStorage ITextStorage, editMask TextStorageEditActions, newCharRange foundation.Range, delta int, invalidatedCharRange foundation.Range)
[Full Topic]

func (TextStorageObservingWrapper) SetTextStorage

func (t_ TextStorageObservingWrapper) SetTextStorage(value ITextStorage)
[Full Topic]

func (TextStorageObservingWrapper) TextStorage

func (t_ TextStorageObservingWrapper) TextStorage() TextStorage
[Full Topic]

type TextTab

type TextTab struct {
	objc.Object
}

A tab in a paragraph. Full Topic

func NewTextTab

func NewTextTab() TextTab

func NewTextTabWithTextAlignmentLocationOptions

func NewTextTabWithTextAlignmentLocationOptions(alignment TextAlignment, loc float64, options map[TextTabOptionKey]objc.IObject) TextTab

Initializes a text tab with the specified text alignment, location, and options. Full Topic

func TextTabFrom

func TextTabFrom(ptr unsafe.Pointer) TextTab

func TextTab_Alloc

func TextTab_Alloc() TextTab

func (TextTab) Alignment

func (t_ TextTab) Alignment() TextAlignment

The text alignment of the text tab. Full Topic

func (TextTab) Init

func (t_ TextTab) Init() TextTab

func (TextTab) InitWithTextAlignmentLocationOptions

func (t_ TextTab) InitWithTextAlignmentLocationOptions(alignment TextAlignment, loc float64, options map[TextTabOptionKey]objc.IObject) TextTab

func (TextTab) Location

func (t_ TextTab) Location() float64

The text tab’s ruler location relative to the back margin. Full Topic

func (TextTab) Options

func (t_ TextTab) Options() map[TextTabOptionKey]objc.Object

The dictionary of attributes for the text tab. Full Topic

type TextTabOptionKey

type TextTabOptionKey string

The terminating character for a tab column. Full Topic

const (
	TabColumnTerminatorsAttributeName TextTabOptionKey = "NSTabColumnTerminatorsAttributeName"
)

type TextTabType

type TextTabType uint

Constants that specify the type of tab stop. Full Topic

const (
	CenterTabStopType  TextTabType = 2
	DecimalTabStopType TextTabType = 3
	LeftTabStopType    TextTabType = 0
	RightTabStopType   TextTabType = 1
)

type TextTable

type TextTable struct {
	TextBlock
}

An object that represents a text table as a whole. Full Topic

func NewTextTable

func NewTextTable() TextTable

func TextTableFrom

func TextTableFrom(ptr unsafe.Pointer) TextTable

func TextTable_Alloc

func TextTable_Alloc() TextTable

func (TextTable) BoundsRectForBlockContentRectInRectTextContainerCharacterRange

func (t_ TextTable) BoundsRectForBlockContentRectInRectTextContainerCharacterRange(block ITextTableBlock, contentRect foundation.Rect, rect foundation.Rect, textContainer ITextContainer, charRange foundation.Range) foundation.Rect

Returns the rectangle the text table block actually occupies, including padding, borders, and margins. Full Topic

func (TextTable) CollapsesBorders

func (t_ TextTable) CollapsesBorders() bool

A Boolean value indicating whether the text table borders are collapsible. Full Topic

func (TextTable) DrawBackgroundForBlockWithFrameInViewCharacterRangeLayoutManager

func (t_ TextTable) DrawBackgroundForBlockWithFrameInViewCharacterRangeLayoutManager(block ITextTableBlock, frameRect foundation.Rect, controlView IView, charRange foundation.Range, layoutManager ILayoutManager)

Draws any colors and other decorations for a text table block. Full Topic

func (TextTable) HidesEmptyCells

func (t_ TextTable) HidesEmptyCells() bool

A Boolean value indicating whether the text table hides empty cells. Full Topic

func (TextTable) Init

func (t_ TextTable) Init() TextTable

func (TextTable) LayoutAlgorithm

func (t_ TextTable) LayoutAlgorithm() TextTableLayoutAlgorithm

The text table layout algorithm. Full Topic

func (TextTable) NumberOfColumns

func (t_ TextTable) NumberOfColumns() uint

The number of columns in the text table. Full Topic

func (TextTable) RectForBlockLayoutAtPointInRectTextContainerCharacterRange

func (t_ TextTable) RectForBlockLayoutAtPointInRectTextContainerCharacterRange(block ITextTableBlock, startingPoint foundation.Point, rect foundation.Rect, textContainer ITextContainer, charRange foundation.Range) foundation.Rect

Returns the rectangle within which glyphs should be laid out for a text table block. Full Topic

func (TextTable) SetCollapsesBorders

func (t_ TextTable) SetCollapsesBorders(value bool)

A Boolean value indicating whether the text table borders are collapsible. Full Topic

func (TextTable) SetHidesEmptyCells

func (t_ TextTable) SetHidesEmptyCells(value bool)

A Boolean value indicating whether the text table hides empty cells. Full Topic

func (TextTable) SetLayoutAlgorithm

func (t_ TextTable) SetLayoutAlgorithm(value TextTableLayoutAlgorithm)

The text table layout algorithm. Full Topic

func (TextTable) SetNumberOfColumns

func (t_ TextTable) SetNumberOfColumns(value uint)

The number of columns in the text table. Full Topic

type TextTableBlock

type TextTableBlock struct {
	TextBlock
}

A text block that appears as a cell in a text table. Full Topic

func NewTextTableBlock

func NewTextTableBlock() TextTableBlock

func NewTextTableBlockWithTableStartingRowRowSpanStartingColumnColumnSpan

func NewTextTableBlockWithTableStartingRowRowSpanStartingColumnColumnSpan(table ITextTable, row int, rowSpan int, col int, colSpan int) TextTableBlock

Returns an initialized text table block. Full Topic

func TextTableBlockFrom

func TextTableBlockFrom(ptr unsafe.Pointer) TextTableBlock

func TextTableBlock_Alloc

func TextTableBlock_Alloc() TextTableBlock

func (TextTableBlock) ColumnSpan

func (t_ TextTableBlock) ColumnSpan() int

Returns the number of table columns spanned by this text table block. Full Topic

func (TextTableBlock) Init

func (t_ TextTableBlock) Init() TextTableBlock

func (TextTableBlock) InitWithTableStartingRowRowSpanStartingColumnColumnSpan

func (t_ TextTableBlock) InitWithTableStartingRowRowSpanStartingColumnColumnSpan(table ITextTable, row int, rowSpan int, col int, colSpan int) TextTableBlock

func (TextTableBlock) RowSpan

func (t_ TextTableBlock) RowSpan() int

Returns the number of table rows spanned by this text table block. Full Topic

func (TextTableBlock) StartingColumn

func (t_ TextTableBlock) StartingColumn() int

Returns the table column at which this text table block starts. Full Topic

func (TextTableBlock) StartingRow

func (t_ TextTableBlock) StartingRow() int

Returns the table row at which this text table block starts. Full Topic

func (TextTableBlock) Table

func (t_ TextTableBlock) Table() TextTable

Returns the table containing this text table block. Full Topic

type TextTableLayoutAlgorithm

type TextTableLayoutAlgorithm uint

These constants, specifying the type of text table layout algorithm, are used with layoutAlgorithm. Full Topic

const (
	TextTableAutomaticLayoutAlgorithm TextTableLayoutAlgorithm = 0
	TextTableFixedLayoutAlgorithm     TextTableLayoutAlgorithm = 1
)

type TextView

type TextView struct {
	Text
}

A view that draws text and handles user interactions with that text. Full Topic

func NewTextView

func NewTextView() TextView

func NewTextViewWithFrame

func NewTextViewWithFrame(frameRect foundation.Rect) TextView
[Full Topic]

func NewTextViewWithFrameTextContainer

func NewTextViewWithFrameTextContainer(frameRect foundation.Rect, container ITextContainer) TextView

Initializes a text view. Full Topic

func TextViewFrom

func TextViewFrom(ptr unsafe.Pointer) TextView

func TextView_Alloc

func TextView_Alloc() TextView

func (TextView) AcceptableDragTypes

func (t_ TextView) AcceptableDragTypes() []PasteboardType

The data types that the receiver accepts as the destination view of a dragging operation. Full Topic

func (TextView) AcceptsGlyphInfo

func (t_ TextView) AcceptsGlyphInfo() bool

A Boolean value that indicates whether the receiver accepts the glyph info attribute. Full Topic

func (TextView) AlignJustified

func (t_ TextView) AlignJustified(sender objc.IObject)

Applies full justification to selected paragraphs (or all text, if the receiver is a plain text object). Full Topic

func (TextView) AllowedInputSourceLocales

func (t_ TextView) AllowedInputSourceLocales() []string

An array of locale identifiers representing input sources that are allowed to be enabled when the receiver has the keyboard focus. Full Topic

func (TextView) AllowsCharacterPickerTouchBarItem

func (t_ TextView) AllowsCharacterPickerTouchBarItem() bool
[Full Topic]

func (TextView) AllowsDocumentBackgroundColorChange

func (t_ TextView) AllowsDocumentBackgroundColorChange() bool

A Boolean value that indicates whether the receiver allows its background color to change. Full Topic

func (TextView) AllowsImageEditing

func (t_ TextView) AllowsImageEditing() bool

Indicates whether image attachments should permit editing of their images. Full Topic

func (TextView) AllowsUndo

func (t_ TextView) AllowsUndo() bool

A Boolean value that indicates whether the receiver allows undo. Full Topic

func (TextView) BreakUndoCoalescing

func (t_ TextView) BreakUndoCoalescing()

Informs the receiver that it should begin coalescing successive typing operations in a new undo grouping. Full Topic

func (TextView) ChangeAttributes

func (t_ TextView) ChangeAttributes(sender objc.IObject)

Changes the attributes of the current selection. Full Topic

func (TextView) ChangeColor

func (t_ TextView) ChangeColor(sender objc.IObject)

Sets the color of the selected text. Full Topic

func (TextView) ChangeDocumentBackgroundColor

func (t_ TextView) ChangeDocumentBackgroundColor(sender objc.IObject)

An action method used to set the background color. Full Topic

func (TextView) ChangeLayoutOrientation

func (t_ TextView) ChangeLayoutOrientation(sender objc.IObject)

An action method that sets the layout orientation of the text. Full Topic

func (TextView) CharacterIndexForInsertionAtPoint

func (t_ TextView) CharacterIndexForInsertionAtPoint(point foundation.Point) uint

Returns a character index appropriate for placing a zero-length selection for an insertion point associated with the mouse at the given point. Full Topic

func (TextView) CheckTextInDocument

func (t_ TextView) CheckTextInDocument(sender objc.IObject)

Performs the default text checking on the entire document. Full Topic

func (TextView) CheckTextInRangeTypesOptions

func (t_ TextView) CheckTextInRangeTypesOptions(range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject)

Check and replace the text in the range using the specified checking types and options. Full Topic

func (TextView) CheckTextInSelection

func (t_ TextView) CheckTextInSelection(sender objc.IObject)

Performs the default text checking on the current selection. Full Topic

func (TextView) CleanUpAfterDragOperation

func (t_ TextView) CleanUpAfterDragOperation()

Releases the drag information still existing after the dragging session has completed. Full Topic

func (TextView) ClickedOnLinkAtIndex

func (t_ TextView) ClickedOnLinkAtIndex(link objc.IObject, charIndex uint)

Causes the text view to act as if the user clicked on some text with the given link as the value of a link attribute associated with the text. Full Topic

func (TextView) Complete

func (t_ TextView) Complete(sender objc.IObject)

Invokes completion in a text view. Full Topic

func (TextView) CompletionsForPartialWordRangeIndexOfSelectedItem

func (t_ TextView) CompletionsForPartialWordRangeIndexOfSelectedItem(charRange foundation.Range, index *int) []string

Returns an array of potential completions, in the order to be presented, representing possible word completions available from a partial word. Full Topic

func (TextView) DefaultParagraphStyle

func (t_ TextView) DefaultParagraphStyle() ParagraphStyle

The receiver’s default paragraph style. Full Topic

func (TextView) DidChangeText

func (t_ TextView) DidChangeText()

Sends out necessary notifications when a text change completes. Full Topic

func (TextView) DisplaysLinkToolTips

func (t_ TextView) DisplaysLinkToolTips() bool

A Boolean value that indicates whether the text view automatically supplies the destination of a link as a tooltip for text that has a link attribute. Full Topic

func (TextView) DragImageForSelectionWithEventOrigin

func (t_ TextView) DragImageForSelectionWithEventOrigin(event IEvent, origin foundation.PointPointer) Image

Returns an appropriate drag image for the drag initiated by the specified event. Full Topic

func (TextView) DragOperationForDraggingInfoObjectType

func (t_ TextView) DragOperationForDraggingInfoObjectType(dragInfoObject objc.IObject, type_ PasteboardType) DragOperation

Returns the type of drag operation that should be performed if the image were released now. Full Topic

func (TextView) DragOperationForDraggingInfoType

func (t_ TextView) DragOperationForDraggingInfoType(dragInfo PDraggingInfo, type_ PasteboardType) DragOperation

Returns the type of drag operation that should be performed if the image were released now. Full Topic

func (TextView) DragSelectionWithEventOffsetSlideBack

func (t_ TextView) DragSelectionWithEventOffsetSlideBack(event IEvent, mouseOffset foundation.Size, slideBack bool) bool

Begins dragging the current selected text range. Full Topic

func (TextView) DrawInsertionPointInRectColorTurnedOn

func (t_ TextView) DrawInsertionPointInRectColorTurnedOn(rect foundation.Rect, color IColor, flag bool)

Draws or erases the insertion point. Full Topic

func (TextView) DrawViewBackgroundInRect

func (t_ TextView) DrawViewBackgroundInRect(rect foundation.Rect)

Draws the background of the text view. Full Topic

func (TextView) EnabledTextCheckingTypes

func (t_ TextView) EnabledTextCheckingTypes() foundation.TextCheckingTypes

The default text checking types. Full Topic

func (TextView) HandleTextCheckingResultsForRangeTypesOptionsOrthographyWordCount

func (t_ TextView) HandleTextCheckingResultsForRangeTypesOptionsOrthographyWordCount(results []foundation.ITextCheckingResult, range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject, orthography foundation.IOrthography, wordCount int)

Handles the text checking results returned by the text view Full Topic

func (TextView) Init

func (t_ TextView) Init() TextView

func (TextView) InitWithFrame

func (t_ TextView) InitWithFrame(frameRect foundation.Rect) TextView

func (TextView) InitWithFrameTextContainer

func (t_ TextView) InitWithFrameTextContainer(frameRect foundation.Rect, container ITextContainer) TextView

func (TextView) InsertCompletionForPartialWordRangeMovementIsFinal

func (t_ TextView) InsertCompletionForPartialWordRangeMovementIsFinal(word string, charRange foundation.Range, movement int, flag bool)

Inserts the selected completion into the text at the appropriate location. Full Topic

func (TextView) InsertionPointColor

func (t_ TextView) InsertionPointColor() Color

The color of the insertion point. Full Topic

func (TextView) InvalidateTextContainerOrigin

func (t_ TextView) InvalidateTextContainerOrigin()

Invalidates the calculated origin of the text container. Full Topic

func (TextView) IsAutomaticDashSubstitutionEnabled

func (t_ TextView) IsAutomaticDashSubstitutionEnabled() bool

A Boolean value that indicates whether automatic dash substitution is enabled. Full Topic

func (TextView) IsAutomaticDataDetectionEnabled

func (t_ TextView) IsAutomaticDataDetectionEnabled() bool

A Boolean value that indicates whether automatic data detection is enabled. Full Topic

func (TextView) IsAutomaticLinkDetectionEnabled

func (t_ TextView) IsAutomaticLinkDetectionEnabled() bool

A Boolean value that enables or disables automatic link detection. Full Topic

func (TextView) IsAutomaticQuoteSubstitutionEnabled

func (t_ TextView) IsAutomaticQuoteSubstitutionEnabled() bool

A Boolean value that enables and disables automatic quotation mark substitution. Full Topic

func (TextView) IsAutomaticSpellingCorrectionEnabled

func (t_ TextView) IsAutomaticSpellingCorrectionEnabled() bool

A Boolean value that indicates whether automatic spelling correction is enabled. Full Topic

func (TextView) IsAutomaticTextCompletionEnabled

func (t_ TextView) IsAutomaticTextCompletionEnabled() bool

A Boolean value that indicates whether the text view supplies autocompletion suggestions as the user types. Full Topic

func (TextView) IsAutomaticTextReplacementEnabled

func (t_ TextView) IsAutomaticTextReplacementEnabled() bool

A Boolean value that indicates whether automatic text replacement is enabled. Full Topic

func (TextView) IsCoalescingUndo

func (t_ TextView) IsCoalescingUndo() bool

A Boolean value that indicates whether undo coalescing is in progress. Full Topic

func (TextView) IsContinuousSpellCheckingEnabled

func (t_ TextView) IsContinuousSpellCheckingEnabled() bool

A Boolean value that indicates whether the receiver has continuous spell checking enabled. Full Topic

func (TextView) IsGrammarCheckingEnabled

func (t_ TextView) IsGrammarCheckingEnabled() bool

Enables and disables grammar checking. Full Topic

func (TextView) IsIncrementalSearchingEnabled

func (t_ TextView) IsIncrementalSearchingEnabled() bool

A Boolean value that indicates whether incremental searching is enabled. Full Topic

func (TextView) LayoutManager

func (t_ TextView) LayoutManager() LayoutManager

The layout manager that lays out text for the receiver’s text container. Full Topic

func (TextView) LinkTextAttributes

func (t_ TextView) LinkTextAttributes() map[foundation.AttributedStringKey]objc.Object

The attributes used to draw the onscreen presentation of link text. Full Topic

func (TextView) LoosenKerning

func (t_ TextView) LoosenKerning(sender objc.IObject)

Increases the space between glyphs in the receiver’s selection, or in all text if the receiver is a plain text view. Full Topic

func (TextView) LowerBaseline

func (t_ TextView) LowerBaseline(sender objc.IObject)

Lowers the baseline offset of selected text by 1 point, or of all text if the receiver is a plain text view. Full Topic

func (TextView) MarkedTextAttributes

func (t_ TextView) MarkedTextAttributes() map[foundation.AttributedStringKey]objc.Object

The attributes used to draw marked text. Full Topic

func (TextView) OrderFrontLinkPanel

func (t_ TextView) OrderFrontLinkPanel(sender objc.IObject)

Brings forward a panel allowing the user to manipulate links in the text view. Full Topic

func (TextView) OrderFrontListPanel

func (t_ TextView) OrderFrontListPanel(sender objc.IObject)

Brings forward a panel allowing the user to manipulate text lists in the text view. Full Topic

func (TextView) OrderFrontSharingServicePicker

func (t_ TextView) OrderFrontSharingServicePicker(sender objc.IObject) objc.Object

Creates and displays a new instance of the sharing service picker. Full Topic

func (TextView) OrderFrontSpacingPanel

func (t_ TextView) OrderFrontSpacingPanel(sender objc.IObject)

Brings forward a panel allowing the user to manipulate text line heights, interline spacing, and paragraph spacing, in the text view. Full Topic

func (TextView) OrderFrontSubstitutionsPanel

func (t_ TextView) OrderFrontSubstitutionsPanel(sender objc.IObject)

Brings forward a panel allowing the user to specify string substitutions in the text view. Full Topic

func (TextView) OrderFrontTablePanel

func (t_ TextView) OrderFrontTablePanel(sender objc.IObject)

Brings forward a panel allowing the user to manipulate text tables in the text view. Full Topic

func (TextView) Outline

func (t_ TextView) Outline(sender objc.IObject)

Adds the outline attribute to the selected text attributes if absent; removes the attribute if present. Full Topic

func (TextView) PasteAsPlainText

func (t_ TextView) PasteAsPlainText(sender objc.IObject)

Inserts the contents of the pasteboard into the receiver’s text as plain text. Full Topic

func (TextView) PasteAsRichText

func (t_ TextView) PasteAsRichText(sender objc.IObject)

This action method inserts the contents of the pasteboard into the receiver’s text as rich text, maintaining its attributes. Full Topic

func (TextView) PerformFindPanelAction

func (t_ TextView) PerformFindPanelAction(sender objc.IObject)

Performs a find panel action specified by the sender's tag. Full Topic

func (TextView) PerformValidatedReplacementInRangeWithAttributedString

func (t_ TextView) PerformValidatedReplacementInRangeWithAttributedString(range_ foundation.Range, attributedString foundation.IAttributedString) bool

Replaces text in the range you specify with the attributed string you provide. Full Topic

func (TextView) PreferredPasteboardTypeFromArrayRestrictedToTypesFromArray

func (t_ TextView) PreferredPasteboardTypeFromArrayRestrictedToTypesFromArray(availableTypes []PasteboardType, allowedTypes []PasteboardType) PasteboardType

Returns whatever type on the pasteboard would be most preferred for copying data. Full Topic

func (TextView) QuickLookPreviewableItemsInRanges

func (t_ TextView) QuickLookPreviewableItemsInRanges(ranges []foundation.IValue) []objc.Object

Returns an array of URLs for items that can be displayed by QuickLook in the specified ranges. Full Topic

func (TextView) RaiseBaseline

func (t_ TextView) RaiseBaseline(sender objc.IObject)

Raises the baseline offset of selected text by 1 point, or of all text if the receiver is a plain text view. Full Topic

func (TextView) RangeForUserCharacterAttributeChange

func (t_ TextView) RangeForUserCharacterAttributeChange() foundation.Range

The range of characters affected by an action method that changes character (not paragraph) attributes. Full Topic

func (TextView) RangeForUserCompletion

func (t_ TextView) RangeForUserCompletion() foundation.Range

The partial range from the most recent beginning of a word up to the insertion point. Full Topic

func (TextView) RangeForUserParagraphAttributeChange

func (t_ TextView) RangeForUserParagraphAttributeChange() foundation.Range

The range of characters affected by an action method that changes paragraph (not character) attributes. Full Topic

func (TextView) RangeForUserTextChange

func (t_ TextView) RangeForUserTextChange() foundation.Range

The range of characters affected by a method that changes characters (as opposed to attributes). Full Topic

func (TextView) RangesForUserCharacterAttributeChange

func (t_ TextView) RangesForUserCharacterAttributeChange() []foundation.Value

An array containing the ranges of characters affected by an action method that changes character (not paragraph) attributes. Full Topic

func (TextView) RangesForUserParagraphAttributeChange

func (t_ TextView) RangesForUserParagraphAttributeChange() []foundation.Value

An array containing the ranges of characters affected by a method that changes paragraph (not character) attributes. Full Topic

func (TextView) RangesForUserTextChange

func (t_ TextView) RangesForUserTextChange() []foundation.Value

An array containing the ranges of characters affected by a method that changes characters (as opposed to attributes). Full Topic

func (TextView) ReadSelectionFromPasteboard

func (t_ TextView) ReadSelectionFromPasteboard(pboard IPasteboard) bool

Reads the text view’s preferred type of data from the specified pasteboard. Full Topic

func (TextView) ReadablePasteboardTypes

func (t_ TextView) ReadablePasteboardTypes() []PasteboardType

The types this text view can read immediately from the pasteboard. Full Topic

func (TextView) ReplaceTextContainer

func (t_ TextView) ReplaceTextContainer(newContainer ITextContainer)

Replaces the text container for the group of text system objects containing the receiver, keeping the association between the receiver and its layout manager intact. Full Topic

func (TextView) RulerViewDidAddMarker

func (t_ TextView) RulerViewDidAddMarker(ruler IRulerView, marker IRulerMarker)

Modifies the paragraph style of the paragraphs containing the selection to accommodate a new marker. Full Topic

func (TextView) SelectedRanges

func (t_ TextView) SelectedRanges() []foundation.Value

An array containing the ranges of characters selected in the receiver’s layout manager. Full Topic

func (TextView) SelectedTextAttributes

func (t_ TextView) SelectedTextAttributes() map[foundation.AttributedStringKey]objc.Object

The attributes used to indicate the selection. Full Topic

func (TextView) SelectionAffinity

func (t_ TextView) SelectionAffinity() SelectionAffinity

The preferred direction of selection. Full Topic

func (TextView) SelectionGranularity

func (t_ TextView) SelectionGranularity() SelectionGranularity

The selection granularity for subsequent extension of a selection. Full Topic

func (TextView) SelectionRangeForProposedRangeGranularity

func (t_ TextView) SelectionRangeForProposedRangeGranularity(proposedCharRange foundation.Range, granularity SelectionGranularity) foundation.Range

Returns an adjusted selected range based on the selection granularity. Full Topic

func (TextView) SetAcceptsGlyphInfo

func (t_ TextView) SetAcceptsGlyphInfo(value bool)

A Boolean value that indicates whether the receiver accepts the glyph info attribute. Full Topic

func (TextView) SetAlignmentRange

func (t_ TextView) SetAlignmentRange(alignment TextAlignment, range_ foundation.Range)

Sets the alignment of the paragraphs containing characters in the specified range. Full Topic

func (TextView) SetAllowedInputSourceLocales

func (t_ TextView) SetAllowedInputSourceLocales(value []string)

An array of locale identifiers representing input sources that are allowed to be enabled when the receiver has the keyboard focus. Full Topic

func (TextView) SetAllowsCharacterPickerTouchBarItem

func (t_ TextView) SetAllowsCharacterPickerTouchBarItem(value bool)
[Full Topic]

func (TextView) SetAllowsDocumentBackgroundColorChange

func (t_ TextView) SetAllowsDocumentBackgroundColorChange(value bool)

A Boolean value that indicates whether the receiver allows its background color to change. Full Topic

func (TextView) SetAllowsImageEditing

func (t_ TextView) SetAllowsImageEditing(value bool)

Indicates whether image attachments should permit editing of their images. Full Topic

func (TextView) SetAllowsUndo

func (t_ TextView) SetAllowsUndo(value bool)

A Boolean value that indicates whether the receiver allows undo. Full Topic

func (TextView) SetAutomaticDashSubstitutionEnabled

func (t_ TextView) SetAutomaticDashSubstitutionEnabled(value bool)

A Boolean value that indicates whether automatic dash substitution is enabled. Full Topic

func (TextView) SetAutomaticDataDetectionEnabled

func (t_ TextView) SetAutomaticDataDetectionEnabled(value bool)

A Boolean value that indicates whether automatic data detection is enabled. Full Topic

func (TextView) SetAutomaticLinkDetectionEnabled

func (t_ TextView) SetAutomaticLinkDetectionEnabled(value bool)

A Boolean value that enables or disables automatic link detection. Full Topic

func (TextView) SetAutomaticQuoteSubstitutionEnabled

func (t_ TextView) SetAutomaticQuoteSubstitutionEnabled(value bool)

A Boolean value that enables and disables automatic quotation mark substitution. Full Topic

func (TextView) SetAutomaticSpellingCorrectionEnabled

func (t_ TextView) SetAutomaticSpellingCorrectionEnabled(value bool)

A Boolean value that indicates whether automatic spelling correction is enabled. Full Topic

func (TextView) SetAutomaticTextCompletionEnabled

func (t_ TextView) SetAutomaticTextCompletionEnabled(value bool)

A Boolean value that indicates whether the text view supplies autocompletion suggestions as the user types. Full Topic

func (TextView) SetAutomaticTextReplacementEnabled

func (t_ TextView) SetAutomaticTextReplacementEnabled(value bool)

A Boolean value that indicates whether automatic text replacement is enabled. Full Topic

func (TextView) SetBaseWritingDirectionRange

func (t_ TextView) SetBaseWritingDirectionRange(writingDirection WritingDirection, range_ foundation.Range)

Sets the base writing direction of a range of text. Full Topic

func (TextView) SetConstrainedFrameSize

func (t_ TextView) SetConstrainedFrameSize(desiredSize foundation.Size)

Attempts to set the frame size as if by user action. Full Topic

func (TextView) SetContinuousSpellCheckingEnabled

func (t_ TextView) SetContinuousSpellCheckingEnabled(value bool)

A Boolean value that indicates whether the receiver has continuous spell checking enabled. Full Topic

func (TextView) SetDefaultParagraphStyle

func (t_ TextView) SetDefaultParagraphStyle(value IParagraphStyle)

The receiver’s default paragraph style. Full Topic

func (TextView) SetDisplaysLinkToolTips

func (t_ TextView) SetDisplaysLinkToolTips(value bool)

A Boolean value that indicates whether the text view automatically supplies the destination of a link as a tooltip for text that has a link attribute. Full Topic

func (TextView) SetEnabledTextCheckingTypes

func (t_ TextView) SetEnabledTextCheckingTypes(value foundation.TextCheckingTypes)

The default text checking types. Full Topic

func (TextView) SetGrammarCheckingEnabled

func (t_ TextView) SetGrammarCheckingEnabled(value bool)

Enables and disables grammar checking. Full Topic

func (TextView) SetIncrementalSearchingEnabled

func (t_ TextView) SetIncrementalSearchingEnabled(value bool)

A Boolean value that indicates whether incremental searching is enabled. Full Topic

func (TextView) SetInsertionPointColor

func (t_ TextView) SetInsertionPointColor(value IColor)

The color of the insertion point. Full Topic

func (TextView) SetLayoutOrientation

func (t_ TextView) SetLayoutOrientation(orientation TextLayoutOrientation)

Changes the receiver's layout orientation and invalidates the contents. Full Topic

func (TextView) SetLinkTextAttributes

func (t_ TextView) SetLinkTextAttributes(value map[foundation.AttributedStringKey]objc.IObject)

The attributes used to draw the onscreen presentation of link text. Full Topic

func (TextView) SetMarkedTextAttributes

func (t_ TextView) SetMarkedTextAttributes(value map[foundation.AttributedStringKey]objc.IObject)

The attributes used to draw marked text. Full Topic

func (TextView) SetNeedsDisplayInRectAvoidAdditionalLayout

func (t_ TextView) SetNeedsDisplayInRectAvoidAdditionalLayout(rect foundation.Rect, flag bool)

Marks the receiver as requiring display. Full Topic

func (TextView) SetRulerVisible

func (t_ TextView) SetRulerVisible(value bool)

A Boolean value that controls whether the scroll view enclosing text views sharing the receiver’s layout manager displays the ruler. Full Topic

func (TextView) SetSelectedRangeAffinityStillSelecting

func (t_ TextView) SetSelectedRangeAffinityStillSelecting(charRange foundation.Range, affinity SelectionAffinity, stillSelectingFlag bool)

Sets the selection to a range of characters in response to user action. Full Topic

func (TextView) SetSelectedRanges

func (t_ TextView) SetSelectedRanges(value []foundation.IValue)

An array containing the ranges of characters selected in the receiver’s layout manager. Full Topic

func (TextView) SetSelectedRangesAffinityStillSelecting

func (t_ TextView) SetSelectedRangesAffinityStillSelecting(ranges []foundation.IValue, affinity SelectionAffinity, stillSelectingFlag bool)

Sets the selection to the characters in an array of ranges in response to user action. Full Topic

func (TextView) SetSelectedTextAttributes

func (t_ TextView) SetSelectedTextAttributes(value map[foundation.AttributedStringKey]objc.IObject)

The attributes used to indicate the selection. Full Topic

func (TextView) SetSelectionGranularity

func (t_ TextView) SetSelectionGranularity(value SelectionGranularity)

The selection granularity for subsequent extension of a selection. Full Topic

func (TextView) SetSmartInsertDeleteEnabled

func (t_ TextView) SetSmartInsertDeleteEnabled(value bool)

A Boolean value that controls whether the receiver inserts or deletes space around selected words so as to preserve proper spacing and punctuation. Full Topic

func (TextView) SetSpellingStateRange

func (t_ TextView) SetSpellingStateRange(value int, charRange foundation.Range)

Sets the spelling state, which controls the display of the spelling and grammar indicators on the given text range. Full Topic

func (TextView) SetTextContainer

func (t_ TextView) SetTextContainer(value ITextContainer)

The receiver’s text container. Full Topic

func (TextView) SetTextContainerInset

func (t_ TextView) SetTextContainerInset(value foundation.Size)

The empty space the receiver leaves around its associated text container. Full Topic

func (TextView) SetTypingAttributes

func (t_ TextView) SetTypingAttributes(value map[foundation.AttributedStringKey]objc.IObject)

The receiver’s typing attributes. Full Topic

func (TextView) SetUsesAdaptiveColorMappingForDarkAppearance

func (t_ TextView) SetUsesAdaptiveColorMappingForDarkAppearance(value bool)

A Boolean value that indicates whether the framework should use adaptive color mapping for dark appearance. Full Topic

func (TextView) SetUsesFindBar

func (t_ TextView) SetUsesFindBar(value bool)

A Boolean value that indicates whether to use the find bar for this text view. Full Topic

func (TextView) SetUsesFindPanel

func (t_ TextView) SetUsesFindPanel(value bool)

A Boolean value that indicates whether the receiver allows for a find panel. Full Topic

func (TextView) SetUsesInspectorBar

func (t_ TextView) SetUsesInspectorBar(value bool)

A Boolean value that indicates whether this text view uses the inspector bar. Full Topic

func (TextView) SetUsesRolloverButtonForSelection

func (t_ TextView) SetUsesRolloverButtonForSelection(value bool)
[Full Topic]

func (TextView) SetUsesRuler

func (t_ TextView) SetUsesRuler(value bool)

A Boolean value that controls whether the text views sharing the receiver’s layout manager use a ruler. Full Topic

func (TextView) ShouldChangeTextInRangeReplacementString

func (t_ TextView) ShouldChangeTextInRangeReplacementString(affectedCharRange foundation.Range, replacementString string) bool

Initiates a series of delegate messages (and general notifications) to determine whether modifications can be made to the characters and attributes of the receiver’s text. Full Topic

func (TextView) ShouldChangeTextInRangesReplacementStrings

func (t_ TextView) ShouldChangeTextInRangesReplacementStrings(affectedRanges []foundation.IValue, replacementStrings []string) bool

Initiates a series of delegate messages (and general notifications) to determine whether modifications can be made to the characters and attributes of the receiver’s text. Full Topic

func (TextView) ShouldDrawInsertionPoint

func (t_ TextView) ShouldDrawInsertionPoint() bool

A Boolean value that determines whether the receiver should draw its insertion point. Full Topic

func (TextView) ShowFindIndicatorForRange

func (t_ TextView) ShowFindIndicatorForRange(charRange foundation.Range)

Causes a temporary highlighting effect to appear around the visible portion (or portions) of the specified range. Full Topic

func (TextView) SmartDeleteRangeForProposedRange

func (t_ TextView) SmartDeleteRangeForProposedRange(proposedCharRange foundation.Range) foundation.Range

Returns an extended range that includes adjacent whitespace that should be deleted along with the proposed range in order to preserve proper spacing and punctuation. Full Topic

func (TextView) SmartInsertAfterStringForStringReplacingRange

func (t_ TextView) SmartInsertAfterStringForStringReplacingRange(pasteString string, charRangeToReplace foundation.Range) string

Returns any whitespace that needs to be added after the string to preserve proper spacing and punctuation when the string replaces the characters in the specified range. Full Topic

func (TextView) SmartInsertBeforeStringForStringReplacingRange

func (t_ TextView) SmartInsertBeforeStringForStringReplacingRange(pasteString string, charRangeToReplace foundation.Range) string

Returns any whitespace that needs to be added before the string to preserve proper spacing and punctuation when the string replaces the characters in the specified range. Full Topic

func (TextView) SmartInsertDeleteEnabled

func (t_ TextView) SmartInsertDeleteEnabled() bool

A Boolean value that controls whether the receiver inserts or deletes space around selected words so as to preserve proper spacing and punctuation. Full Topic

func (TextView) SmartInsertForStringReplacingRangeBeforeStringAfterString

func (t_ TextView) SmartInsertForStringReplacingRangeBeforeStringAfterString(pasteString string, charRangeToReplace foundation.Range, beforeString string, afterString string)

Determines whether whitespace needs to be added around the string to preserve proper spacing and punctuation when it replaces the characters in the specified range. Full Topic

func (TextView) SpellCheckerDocumentTag

func (t_ TextView) SpellCheckerDocumentTag() int

A tag identifying the text view's text as a document for the spell checker server. Full Topic

func (TextView) StartSpeaking

func (t_ TextView) StartSpeaking(sender objc.IObject)

Speaks the selected text, or all text if no selection. Full Topic

func (TextView) StopSpeaking

func (t_ TextView) StopSpeaking(sender objc.IObject)

Stops the speaking of text. Full Topic

func (TextView) TextContainer

func (t_ TextView) TextContainer() TextContainer

The receiver’s text container. Full Topic

func (TextView) TextContainerInset

func (t_ TextView) TextContainerInset() foundation.Size

The empty space the receiver leaves around its associated text container. Full Topic

func (TextView) TextContainerOrigin

func (t_ TextView) TextContainerOrigin() foundation.Point

The origin of the receiver’s text container. Full Topic

func (TextView) TextContentStorage

func (t_ TextView) TextContentStorage() TextContentStorage

The receiver’s text storage object. Full Topic

func (TextView) TextLayoutManager

func (t_ TextView) TextLayoutManager() TextLayoutManager

The manager that lays out text for the receiver’s text container. Full Topic

func (TextView) TextStorage

func (t_ TextView) TextStorage() TextStorage

The receiver’s text storage object. Full Topic

func (TextView) TightenKerning

func (t_ TextView) TightenKerning(sender objc.IObject)

Decreases the space between glyphs in the receiver’s selection, or for all glyphs if the receiver is a plain text view. Full Topic

func (TextView) ToggleAutomaticDashSubstitution

func (t_ TextView) ToggleAutomaticDashSubstitution(sender objc.IObject)

Toggles the state of the automatic dash substitution. Full Topic

func (TextView) ToggleAutomaticDataDetection

func (t_ TextView) ToggleAutomaticDataDetection(sender objc.IObject)

Toggles the state of the automatic data detection. Full Topic

func (TextView) ToggleAutomaticLinkDetection

func (t_ TextView) ToggleAutomaticLinkDetection(sender objc.IObject)

Changes the state of automatic link detection from enabled to disabled and vice versa. Full Topic

func (TextView) ToggleAutomaticQuoteSubstitution

func (t_ TextView) ToggleAutomaticQuoteSubstitution(sender objc.IObject)

Changes the state of automatic quotation mark substitution from enabled to disabled and vice versa. Full Topic

func (TextView) ToggleAutomaticSpellingCorrection

func (t_ TextView) ToggleAutomaticSpellingCorrection(sender objc.IObject)

Toggles the state of the automatic spelling correction. Full Topic

func (TextView) ToggleAutomaticTextCompletion

func (t_ TextView) ToggleAutomaticTextCompletion(sender objc.IObject) objc.Object
[Full Topic]

func (TextView) ToggleAutomaticTextReplacement

func (t_ TextView) ToggleAutomaticTextReplacement(sender objc.IObject)

Toggles the state of the automatic text replacement. Full Topic

func (TextView) ToggleContinuousSpellChecking

func (t_ TextView) ToggleContinuousSpellChecking(sender objc.IObject)

Toggles whether continuous spell checking is enabled for the receiver. Full Topic

func (TextView) ToggleGrammarChecking

func (t_ TextView) ToggleGrammarChecking(sender objc.IObject)

Changes the state of grammar checking from enabled to disabled and vice versa. Full Topic

func (TextView) ToggleQuickLookPreviewPanel

func (t_ TextView) ToggleQuickLookPreviewPanel(sender objc.IObject) objc.Object

An action message that toggles the visibility state of the Quick Look preview panel. Full Topic

func (TextView) ToggleSmartInsertDelete

func (t_ TextView) ToggleSmartInsertDelete(sender objc.IObject)

Changes the state of smart insert and delete from enabled to disabled and vice versa. Full Topic

func (TextView) TurnOffKerning

func (t_ TextView) TurnOffKerning(sender objc.IObject)

Sets the receiver to use nominal glyph spacing for the glyphs in its selection, or for all glyphs if the receiver is a plain text view. Full Topic

func (TextView) TurnOffLigatures

func (t_ TextView) TurnOffLigatures(sender objc.IObject)

Sets the receiver to use only required ligatures when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it’s a plain text view. Full Topic

func (TextView) TypingAttributes

func (t_ TextView) TypingAttributes() map[foundation.AttributedStringKey]objc.Object

The receiver’s typing attributes. Full Topic

func (TextView) UpdateCandidates

func (t_ TextView) UpdateCandidates()
[Full Topic]

func (TextView) UpdateDragTypeRegistration

func (t_ TextView) UpdateDragTypeRegistration()

Updates the acceptable drag types of all text views associated with the receiver's layout manager. Full Topic

func (TextView) UpdateFontPanel

func (t_ TextView) UpdateFontPanel()

Updates the Font panel to contain the font attributes of the selection. Full Topic

func (TextView) UpdateInsertionPointStateAndRestartTimer

func (t_ TextView) UpdateInsertionPointStateAndRestartTimer(restartFlag bool)

Updates the insertion point’s location and optionally restarts the blinking cursor timer. Full Topic

func (TextView) UpdateQuickLookPreviewPanel

func (t_ TextView) UpdateQuickLookPreviewPanel()

Notifies the QuickLook panel that an update may be required. Full Topic

func (TextView) UpdateRuler

func (t_ TextView) UpdateRuler()

Updates the ruler view in the receiver’s enclosing scroll view to reflect the selection’s paragraph and marker attributes. Full Topic

func (TextView) UpdateTextTouchBarItems

func (t_ TextView) UpdateTextTouchBarItems()
[Full Topic]

func (TextView) UpdateTouchBarItemIdentifiers

func (t_ TextView) UpdateTouchBarItemIdentifiers()
[Full Topic]

func (TextView) UseAllLigatures

func (t_ TextView) UseAllLigatures(sender objc.IObject)

Sets the receiver to use all ligatures available for the fonts and languages used when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it’s a plain text view. Full Topic

func (TextView) UseStandardKerning

func (t_ TextView) UseStandardKerning(sender objc.IObject)

Set the receiver to use pair kerning data for the glyphs in its selection, or for all glyphs if the receiver is a plain text view. Full Topic

func (TextView) UseStandardLigatures

func (t_ TextView) UseStandardLigatures(sender objc.IObject)

Sets the receiver to use the standard ligatures available for the fonts and languages used when setting text, for the glyphs in the selection if the receiver is a rich text view, or for all glyphs if it’s a plain text view. Full Topic

func (TextView) UsesAdaptiveColorMappingForDarkAppearance

func (t_ TextView) UsesAdaptiveColorMappingForDarkAppearance() bool

A Boolean value that indicates whether the framework should use adaptive color mapping for dark appearance. Full Topic

func (TextView) UsesFindBar

func (t_ TextView) UsesFindBar() bool

A Boolean value that indicates whether to use the find bar for this text view. Full Topic

func (TextView) UsesFindPanel

func (t_ TextView) UsesFindPanel() bool

A Boolean value that indicates whether the receiver allows for a find panel. Full Topic

func (TextView) UsesInspectorBar

func (t_ TextView) UsesInspectorBar() bool

A Boolean value that indicates whether this text view uses the inspector bar. Full Topic

func (TextView) UsesRolloverButtonForSelection

func (t_ TextView) UsesRolloverButtonForSelection() bool
[Full Topic]

func (TextView) UsesRuler

func (t_ TextView) UsesRuler() bool

A Boolean value that controls whether the text views sharing the receiver’s layout manager use a ruler. Full Topic

func (TextView) WritablePasteboardTypes

func (t_ TextView) WritablePasteboardTypes() []PasteboardType

The pasteboard types that can be provided from the current selection. Full Topic

func (TextView) WriteSelectionToPasteboardTypes

func (t_ TextView) WriteSelectionToPasteboardTypes(pboard IPasteboard, types []PasteboardType) bool

Writes the current selection to the specified pasteboard under each given type. Full Topic

type TextViewDelegate

type TextViewDelegate struct {
	TextDelegate
	// contains filtered or unexported fields
}

A delegate implementation builder for the PTextViewDelegate protocol.

func (*TextViewDelegate) HasTextViewCandidatesForSelectedRange

func (di *TextViewDelegate) HasTextViewCandidatesForSelectedRange() bool

func (*TextViewDelegate) HasTextViewDidChangeSelection

func (di *TextViewDelegate) HasTextViewDidChangeSelection() bool

func (*TextViewDelegate) HasTextViewDidChangeTypingAttributes

func (di *TextViewDelegate) HasTextViewDidChangeTypingAttributes() bool

func (*TextViewDelegate) HasUndoManagerForTextView

func (di *TextViewDelegate) HasUndoManagerForTextView() bool

func (*TextViewDelegate) SetTextViewCandidatesForSelectedRange

func (di *TextViewDelegate) SetTextViewCandidatesForSelectedRange(f func(textView TextView, selectedRange foundation.Range) []objc.IObject)

Returns an array of objects that represent the elements of a selection. Full Topic

func (*TextViewDelegate) SetTextViewDidChangeSelection

func (di *TextViewDelegate) SetTextViewDidChangeSelection(f func(notification foundation.Notification))

Sent when the selection changes in the text view. Full Topic

func (*TextViewDelegate) SetTextViewDidChangeTypingAttributes

func (di *TextViewDelegate) SetTextViewDidChangeTypingAttributes(f func(notification foundation.Notification))

Sent when a text view’s typing attributes change. Full Topic

func (*TextViewDelegate) SetUndoManagerForTextView

func (di *TextViewDelegate) SetUndoManagerForTextView(f func(view TextView) foundation.IUndoManager)

Returns the undo manager for the specified text view. Full Topic

func (*TextViewDelegate) TextViewCandidatesForSelectedRange

func (di *TextViewDelegate) TextViewCandidatesForSelectedRange(textView TextView, selectedRange foundation.Range) []objc.IObject

Returns an array of objects that represent the elements of a selection. Full Topic

func (*TextViewDelegate) TextViewDidChangeSelection

func (di *TextViewDelegate) TextViewDidChangeSelection(notification foundation.Notification)

Sent when the selection changes in the text view. Full Topic

func (*TextViewDelegate) TextViewDidChangeTypingAttributes

func (di *TextViewDelegate) TextViewDidChangeTypingAttributes(notification foundation.Notification)

Sent when a text view’s typing attributes change. Full Topic

func (*TextViewDelegate) UndoManagerForTextView

func (di *TextViewDelegate) UndoManagerForTextView(view TextView) foundation.IUndoManager

Returns the undo manager for the specified text view. Full Topic

type TextViewDelegateWrapper

type TextViewDelegateWrapper struct {
	TextDelegateWrapper
}

A concrete type wrapper for the PTextViewDelegate protocol.

func (TextViewDelegateWrapper) HasTextViewCandidatesForSelectedRange

func (t_ TextViewDelegateWrapper) HasTextViewCandidatesForSelectedRange() bool

func (TextViewDelegateWrapper) HasTextViewDidChangeSelection

func (t_ TextViewDelegateWrapper) HasTextViewDidChangeSelection() bool

func (TextViewDelegateWrapper) HasTextViewDidChangeTypingAttributes

func (t_ TextViewDelegateWrapper) HasTextViewDidChangeTypingAttributes() bool

func (TextViewDelegateWrapper) HasUndoManagerForTextView

func (t_ TextViewDelegateWrapper) HasUndoManagerForTextView() bool

func (TextViewDelegateWrapper) TextViewCandidatesForSelectedRange

func (t_ TextViewDelegateWrapper) TextViewCandidatesForSelectedRange(textView ITextView, selectedRange foundation.Range) []objc.Object

Returns an array of objects that represent the elements of a selection. Full Topic

func (TextViewDelegateWrapper) TextViewDidChangeSelection

func (t_ TextViewDelegateWrapper) TextViewDidChangeSelection(notification foundation.INotification)

Sent when the selection changes in the text view. Full Topic

func (TextViewDelegateWrapper) TextViewDidChangeTypingAttributes

func (t_ TextViewDelegateWrapper) TextViewDidChangeTypingAttributes(notification foundation.INotification)

Sent when a text view’s typing attributes change. Full Topic

func (TextViewDelegateWrapper) UndoManagerForTextView

func (t_ TextViewDelegateWrapper) UndoManagerForTextView(view ITextView) foundation.UndoManager

Returns the undo manager for the specified text view. Full Topic

type TextViewportLayoutController

type TextViewportLayoutController struct {
	objc.Object
}

Manages the layout process inside the viewport interacting with its delegate. Full Topic

func NewTextViewportLayoutController

func NewTextViewportLayoutController() TextViewportLayoutController

func NewTextViewportLayoutControllerWithTextLayoutManager

func NewTextViewportLayoutControllerWithTextLayoutManager(textLayoutManager ITextLayoutManager) TextViewportLayoutController

Creates a new instance with the text layout manager you provide. Full Topic

func TextViewportLayoutControllerFrom

func TextViewportLayoutControllerFrom(ptr unsafe.Pointer) TextViewportLayoutController

func TextViewportLayoutController_Alloc

func TextViewportLayoutController_Alloc() TextViewportLayoutController

func (TextViewportLayoutController) AdjustViewportByVerticalOffset

func (t_ TextViewportLayoutController) AdjustViewportByVerticalOffset(verticalOffset float64)

Adjusts the viewport rect by the specified offset if needed. Full Topic

func (TextViewportLayoutController) Delegate

The delegate for the text layout manager object. Full Topic

func (TextViewportLayoutController) Init

func (TextViewportLayoutController) InitWithTextLayoutManager

func (t_ TextViewportLayoutController) InitWithTextLayoutManager(textLayoutManager ITextLayoutManager) TextViewportLayoutController

func (TextViewportLayoutController) LayoutViewport

func (t_ TextViewportLayoutController) LayoutViewport()

Performs layout in the viewport. Full Topic

func (TextViewportLayoutController) RelocateViewportToTextLocation

func (t_ TextViewportLayoutController) RelocateViewportToTextLocation(textLocation PTextLocation) float64

Relocates the viewport to the location you specify. Full Topic

func (TextViewportLayoutController) RelocateViewportToTextLocationObject

func (t_ TextViewportLayoutController) RelocateViewportToTextLocationObject(textLocationObject objc.IObject) float64

Relocates the viewport to the location you specify. Full Topic

func (TextViewportLayoutController) SetDelegate

The delegate for the text layout manager object. Full Topic

func (TextViewportLayoutController) SetDelegateObject

func (t_ TextViewportLayoutController) SetDelegateObject(valueObject objc.IObject)

The delegate for the text layout manager object. Full Topic

func (TextViewportLayoutController) TextLayoutManager

func (t_ TextViewportLayoutController) TextLayoutManager() TextLayoutManager

Returns the text layout manager for this viewport layout controller. Full Topic

func (TextViewportLayoutController) ViewportBounds

func (t_ TextViewportLayoutController) ViewportBounds() coregraphics.Rect

Returns the visible bounds of the view, plus the overdraw area. Full Topic

func (TextViewportLayoutController) ViewportRange

func (t_ TextViewportLayoutController) ViewportRange() TextRange

Returns the text range of the current viewport layout. Full Topic

type TextViewportLayoutControllerDelegate

type TextViewportLayoutControllerDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PTextViewportLayoutControllerDelegate protocol.

func (*TextViewportLayoutControllerDelegate) HasTextViewportLayoutControllerConfigureRenderingSurfaceForTextLayoutFragment

func (di *TextViewportLayoutControllerDelegate) HasTextViewportLayoutControllerConfigureRenderingSurfaceForTextLayoutFragment() bool

func (*TextViewportLayoutControllerDelegate) HasTextViewportLayoutControllerDidLayout

func (di *TextViewportLayoutControllerDelegate) HasTextViewportLayoutControllerDidLayout() bool

func (*TextViewportLayoutControllerDelegate) HasTextViewportLayoutControllerWillLayout

func (di *TextViewportLayoutControllerDelegate) HasTextViewportLayoutControllerWillLayout() bool

func (*TextViewportLayoutControllerDelegate) HasViewportBoundsForTextViewportLayoutController

func (di *TextViewportLayoutControllerDelegate) HasViewportBoundsForTextViewportLayoutController() bool

func (*TextViewportLayoutControllerDelegate) SetTextViewportLayoutControllerConfigureRenderingSurfaceForTextLayoutFragment

func (di *TextViewportLayoutControllerDelegate) SetTextViewportLayoutControllerConfigureRenderingSurfaceForTextLayoutFragment(f func(textViewportLayoutController TextViewportLayoutController, textLayoutFragment TextLayoutFragment))

The method the framework calls when the layout controller lays out a text layout fragment in the UI. Full Topic

func (*TextViewportLayoutControllerDelegate) SetTextViewportLayoutControllerDidLayout

func (di *TextViewportLayoutControllerDelegate) SetTextViewportLayoutControllerDidLayout(f func(textViewportLayoutController TextViewportLayoutController))

The method the framework calls when the text viewport layout controller finishes its layout process. Full Topic

func (*TextViewportLayoutControllerDelegate) SetTextViewportLayoutControllerWillLayout

func (di *TextViewportLayoutControllerDelegate) SetTextViewportLayoutControllerWillLayout(f func(textViewportLayoutController TextViewportLayoutController))

The method the framework calls before the text viewport layout controller starts its layout process. Full Topic

func (*TextViewportLayoutControllerDelegate) SetViewportBoundsForTextViewportLayoutController

func (di *TextViewportLayoutControllerDelegate) SetViewportBoundsForTextViewportLayoutController(f func(textViewportLayoutController TextViewportLayoutController) coregraphics.Rect)

Returns the current viewport, which is the view visible bounds plus the overdraw area. Full Topic

func (*TextViewportLayoutControllerDelegate) TextViewportLayoutControllerConfigureRenderingSurfaceForTextLayoutFragment

func (di *TextViewportLayoutControllerDelegate) TextViewportLayoutControllerConfigureRenderingSurfaceForTextLayoutFragment(textViewportLayoutController TextViewportLayoutController, textLayoutFragment TextLayoutFragment)

The method the framework calls when the layout controller lays out a text layout fragment in the UI. Full Topic

func (*TextViewportLayoutControllerDelegate) TextViewportLayoutControllerDidLayout

func (di *TextViewportLayoutControllerDelegate) TextViewportLayoutControllerDidLayout(textViewportLayoutController TextViewportLayoutController)

The method the framework calls when the text viewport layout controller finishes its layout process. Full Topic

func (*TextViewportLayoutControllerDelegate) TextViewportLayoutControllerWillLayout

func (di *TextViewportLayoutControllerDelegate) TextViewportLayoutControllerWillLayout(textViewportLayoutController TextViewportLayoutController)

The method the framework calls before the text viewport layout controller starts its layout process. Full Topic

func (*TextViewportLayoutControllerDelegate) ViewportBoundsForTextViewportLayoutController

func (di *TextViewportLayoutControllerDelegate) ViewportBoundsForTextViewportLayoutController(textViewportLayoutController TextViewportLayoutController) coregraphics.Rect

Returns the current viewport, which is the view visible bounds plus the overdraw area. Full Topic

type TextViewportLayoutControllerDelegateWrapper

type TextViewportLayoutControllerDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTextViewportLayoutControllerDelegate protocol.

func (TextViewportLayoutControllerDelegateWrapper) HasTextViewportLayoutControllerConfigureRenderingSurfaceForTextLayoutFragment

func (t_ TextViewportLayoutControllerDelegateWrapper) HasTextViewportLayoutControllerConfigureRenderingSurfaceForTextLayoutFragment() bool

func (TextViewportLayoutControllerDelegateWrapper) HasTextViewportLayoutControllerDidLayout

func (t_ TextViewportLayoutControllerDelegateWrapper) HasTextViewportLayoutControllerDidLayout() bool

func (TextViewportLayoutControllerDelegateWrapper) HasTextViewportLayoutControllerWillLayout

func (t_ TextViewportLayoutControllerDelegateWrapper) HasTextViewportLayoutControllerWillLayout() bool

func (TextViewportLayoutControllerDelegateWrapper) HasViewportBoundsForTextViewportLayoutController

func (t_ TextViewportLayoutControllerDelegateWrapper) HasViewportBoundsForTextViewportLayoutController() bool

func (TextViewportLayoutControllerDelegateWrapper) TextViewportLayoutControllerConfigureRenderingSurfaceForTextLayoutFragment

func (t_ TextViewportLayoutControllerDelegateWrapper) TextViewportLayoutControllerConfigureRenderingSurfaceForTextLayoutFragment(textViewportLayoutController ITextViewportLayoutController, textLayoutFragment ITextLayoutFragment)

The method the framework calls when the layout controller lays out a text layout fragment in the UI. Full Topic

func (TextViewportLayoutControllerDelegateWrapper) TextViewportLayoutControllerDidLayout

func (t_ TextViewportLayoutControllerDelegateWrapper) TextViewportLayoutControllerDidLayout(textViewportLayoutController ITextViewportLayoutController)

The method the framework calls when the text viewport layout controller finishes its layout process. Full Topic

func (TextViewportLayoutControllerDelegateWrapper) TextViewportLayoutControllerWillLayout

func (t_ TextViewportLayoutControllerDelegateWrapper) TextViewportLayoutControllerWillLayout(textViewportLayoutController ITextViewportLayoutController)

The method the framework calls before the text viewport layout controller starts its layout process. Full Topic

func (TextViewportLayoutControllerDelegateWrapper) ViewportBoundsForTextViewportLayoutController

func (t_ TextViewportLayoutControllerDelegateWrapper) ViewportBoundsForTextViewportLayoutController(textViewportLayoutController ITextViewportLayoutController) coregraphics.Rect

Returns the current viewport, which is the view visible bounds plus the overdraw area. Full Topic

type TickMarkPosition

type TickMarkPosition uint

The position where a linear slider’s tick marks appear (above, below, leading, or trailing). Full Topic

const (
	TickMarkAbove            TickMarkPosition = 1
	TickMarkBelow            TickMarkPosition = 0
	TickMarkLeft             TickMarkPosition = 1
	TickMarkPositionAbove    TickMarkPosition = 1
	TickMarkPositionBelow    TickMarkPosition = 0
	TickMarkPositionLeading  TickMarkPosition = 1
	TickMarkPositionTrailing TickMarkPosition = 0
	TickMarkRight            TickMarkPosition = 0
)

type TintConfiguration

type TintConfiguration struct {
	objc.Object
}

An object that gives you the ability to choose from system-provided tinting behaviors. Full Topic

func NewTintConfiguration

func NewTintConfiguration() TintConfiguration

func TintConfigurationFrom

func TintConfigurationFrom(ptr unsafe.Pointer) TintConfiguration

func TintConfiguration_Alloc

func TintConfiguration_Alloc() TintConfiguration

func TintConfiguration_DefaultTintConfiguration

func TintConfiguration_DefaultTintConfiguration() TintConfiguration

The system tints the content using the system default value for its context. Full Topic

func TintConfiguration_MonochromeTintConfiguration

func TintConfiguration_MonochromeTintConfiguration() TintConfiguration

The content always displays in monochrome. Full Topic

func TintConfiguration_TintConfigurationWithFixedColor

func TintConfiguration_TintConfigurationWithFixedColor(color IColor) TintConfiguration

Creates a new tint configuration using a specific color value. Full Topic

func TintConfiguration_TintConfigurationWithPreferredColor

func TintConfiguration_TintConfigurationWithPreferredColor(color IColor) TintConfiguration

Creates a new tint configuration for the system to use when the app’s preferred accent color is in use. Full Topic

func (TintConfiguration) AdaptsToUserAccentColor

func (t_ TintConfiguration) AdaptsToUserAccentColor() bool

A Boolean value that indicates whether the tint configuration alters its effect based on the user’s preferred accent color choice. Full Topic

func (TintConfiguration) BaseTintColor

func (t_ TintConfiguration) BaseTintColor() Color

The color the system supplies when you create a tint configuration. Full Topic

func (TintConfiguration) EquivalentContentTintColor

func (t_ TintConfiguration) EquivalentContentTintColor() Color

A color object that matches the effective content tint. Full Topic

func (TintConfiguration) Init

type TitlePosition

type TitlePosition uint

Specify the location of a box’s title with respect to its border. Full Topic

const (
	AboveBottom TitlePosition = 4
	AboveTop    TitlePosition = 1
	AtBottom    TitlePosition = 5
	AtTop       TitlePosition = 2
	BelowBottom TitlePosition = 6
	BelowTop    TitlePosition = 3
	NoTitle     TitlePosition = 0
)

type TitlebarAccessoryViewController

type TitlebarAccessoryViewController struct {
	ViewController
}

An object that manages a custom view—known as an accessory view—in the title bar–toolbar area of a window. Full Topic

func NewTitlebarAccessoryViewController

func NewTitlebarAccessoryViewController() TitlebarAccessoryViewController

func NewTitlebarAccessoryViewControllerWithNibNameBundle

func NewTitlebarAccessoryViewControllerWithNibNameBundle(nibNameOrNil NibName, nibBundleOrNil foundation.IBundle) TitlebarAccessoryViewController

Returns a view controller object initialized to the nib file in the specified bundle. Full Topic

func TitlebarAccessoryViewControllerFrom

func TitlebarAccessoryViewControllerFrom(ptr unsafe.Pointer) TitlebarAccessoryViewController

func TitlebarAccessoryViewController_Alloc

func TitlebarAccessoryViewController_Alloc() TitlebarAccessoryViewController

func (TitlebarAccessoryViewController) AutomaticallyAdjustsSize

func (t_ TitlebarAccessoryViewController) AutomaticallyAdjustsSize() bool
[Full Topic]

func (TitlebarAccessoryViewController) FullScreenMinHeight

func (t_ TitlebarAccessoryViewController) FullScreenMinHeight() float64

The visual minimum height of an accessory view that displays below the title bar when the window is in full screen mode. Full Topic

func (TitlebarAccessoryViewController) Init

func (TitlebarAccessoryViewController) InitWithNibNameBundle

func (t_ TitlebarAccessoryViewController) InitWithNibNameBundle(nibNameOrNil NibName, nibBundleOrNil foundation.IBundle) TitlebarAccessoryViewController

func (TitlebarAccessoryViewController) IsHidden

func (t_ TitlebarAccessoryViewController) IsHidden() bool
[Full Topic]

func (TitlebarAccessoryViewController) LayoutAttribute

func (t_ TitlebarAccessoryViewController) LayoutAttribute() LayoutAttribute

The location of the accessory view, in relation to the window’s title bar. Full Topic

func (TitlebarAccessoryViewController) SetAutomaticallyAdjustsSize

func (t_ TitlebarAccessoryViewController) SetAutomaticallyAdjustsSize(value bool)
[Full Topic]

func (TitlebarAccessoryViewController) SetFullScreenMinHeight

func (t_ TitlebarAccessoryViewController) SetFullScreenMinHeight(value float64)

The visual minimum height of an accessory view that displays below the title bar when the window is in full screen mode. Full Topic

func (TitlebarAccessoryViewController) SetHidden

func (t_ TitlebarAccessoryViewController) SetHidden(value bool)
[Full Topic]

func (TitlebarAccessoryViewController) SetLayoutAttribute

func (t_ TitlebarAccessoryViewController) SetLayoutAttribute(value LayoutAttribute)

The location of the accessory view, in relation to the window’s title bar. Full Topic

type TitlebarSeparatorStyle

type TitlebarSeparatorStyle int

Styles that determine the type of separator displayed between the title bar and content of a window. Full Topic

const (
	TitlebarSeparatorStyleAutomatic TitlebarSeparatorStyle = 0
	TitlebarSeparatorStyleLine      TitlebarSeparatorStyle = 2
	TitlebarSeparatorStyleNone      TitlebarSeparatorStyle = 1
	TitlebarSeparatorStyleShadow    TitlebarSeparatorStyle = 3
)

type TokenField

type TokenField struct {
	TextField
}

A text field that converts text into visually distinct tokens. Full Topic

func NewTokenField

func NewTokenField() TokenField

func NewTokenFieldWithFrame

func NewTokenFieldWithFrame(frameRect foundation.Rect) TokenField

Initializes a control with the specified frame rectangle. Full Topic

func TokenFieldFrom

func TokenFieldFrom(ptr unsafe.Pointer) TokenField

func TokenField_Alloc

func TokenField_Alloc() TokenField

func TokenField_LabelWithAttributedString

func TokenField_LabelWithAttributedString(attributedStringValue foundation.IAttributedString) TokenField

Creates a text field for use as a static label that displays styled text, doesn’t wrap, and doesn’t have selectable text. Full Topic

func TokenField_LabelWithString

func TokenField_LabelWithString(stringValue string) TokenField

Initializes a text field for use as a static label that uses the system default font, doesn’t wrap, and doesn’t have selectable text. Full Topic

func TokenField_TextFieldWithString

func TokenField_TextFieldWithString(stringValue string) TokenField

Initializes a single-line editable text field for user input using the system default font and standard visual appearance. Full Topic

func TokenField_WrappingLabelWithString

func TokenField_WrappingLabelWithString(stringValue string) TokenField

Initializes a text field for use as a multiline static label with selectable text that uses the system default font. Full Topic

func (TokenField) CompletionDelay

func (t_ TokenField) CompletionDelay() foundation.TimeInterval

The receiver’s completion delay. Full Topic

func (TokenField) Init

func (t_ TokenField) Init() TokenField

func (TokenField) InitWithFrame

func (t_ TokenField) InitWithFrame(frameRect foundation.Rect) TokenField

func (TokenField) SetCompletionDelay

func (t_ TokenField) SetCompletionDelay(value foundation.TimeInterval)

The receiver’s completion delay. Full Topic

func (TokenField) SetTokenStyle

func (t_ TokenField) SetTokenStyle(value TokenStyle)

The token style of the receiver. Full Topic

func (TokenField) SetTokenizingCharacterSet

func (t_ TokenField) SetTokenizingCharacterSet(value foundation.ICharacterSet)

The recevier’s tokenizing character set to characterSet. Full Topic

func (TokenField) TokenStyle

func (t_ TokenField) TokenStyle() TokenStyle

The token style of the receiver. Full Topic

func (TokenField) TokenizingCharacterSet

func (t_ TokenField) TokenizingCharacterSet() foundation.CharacterSet

The recevier’s tokenizing character set to characterSet. Full Topic

type TokenFieldCell

type TokenFieldCell struct {
	TextFieldCell
}

A text field cell subclass that enables tokenized editing of an array of objects. Full Topic

func NewTokenFieldCell

func NewTokenFieldCell() TokenFieldCell

func NewTokenFieldCellImageCell

func NewTokenFieldCellImageCell(image IImage) TokenFieldCell

Returns an NSCell object initialized with the specified image and set to have the cell’s default menu. Full Topic

func NewTokenFieldCellTextCell

func NewTokenFieldCellTextCell(string_ string) TokenFieldCell

Initializes a text field cell that displays the specified string. Full Topic

func TokenFieldCellFrom

func TokenFieldCellFrom(ptr unsafe.Pointer) TokenFieldCell

func TokenFieldCell_Alloc

func TokenFieldCell_Alloc() TokenFieldCell

func (TokenFieldCell) CompletionDelay

func (t_ TokenFieldCell) CompletionDelay() foundation.TimeInterval

The receiver’s completion delay to a given delay. Full Topic

func (TokenFieldCell) Delegate

The receiver’s delegate. Full Topic

func (TokenFieldCell) Init

func (t_ TokenFieldCell) Init() TokenFieldCell

func (TokenFieldCell) InitImageCell

func (t_ TokenFieldCell) InitImageCell(image IImage) TokenFieldCell

func (TokenFieldCell) InitTextCell

func (t_ TokenFieldCell) InitTextCell(string_ string) TokenFieldCell

func (TokenFieldCell) SetCompletionDelay

func (t_ TokenFieldCell) SetCompletionDelay(value foundation.TimeInterval)

The receiver’s completion delay to a given delay. Full Topic

func (TokenFieldCell) SetDelegate

func (t_ TokenFieldCell) SetDelegate(value PTokenFieldCellDelegate)

The receiver’s delegate. Full Topic

func (TokenFieldCell) SetDelegateObject

func (t_ TokenFieldCell) SetDelegateObject(valueObject objc.IObject)

The receiver’s delegate. Full Topic

func (TokenFieldCell) SetTokenStyle

func (t_ TokenFieldCell) SetTokenStyle(value TokenStyle)

The token style of the receiver. Full Topic

func (TokenFieldCell) SetTokenizingCharacterSet

func (t_ TokenFieldCell) SetTokenizingCharacterSet(value foundation.ICharacterSet)

The receiver’s tokenizing character set to a given character set. Full Topic

func (TokenFieldCell) TokenStyle

func (t_ TokenFieldCell) TokenStyle() TokenStyle

The token style of the receiver. Full Topic

func (TokenFieldCell) TokenizingCharacterSet

func (t_ TokenFieldCell) TokenizingCharacterSet() foundation.CharacterSet

The receiver’s tokenizing character set to a given character set. Full Topic

type TokenFieldCellDelegate

type TokenFieldCellDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PTokenFieldCellDelegate protocol.

func (*TokenFieldCellDelegate) HasTokenFieldCellEditingStringForRepresentedObject

func (di *TokenFieldCellDelegate) HasTokenFieldCellEditingStringForRepresentedObject() bool

func (*TokenFieldCellDelegate) SetTokenFieldCellEditingStringForRepresentedObject

func (di *TokenFieldCellDelegate) SetTokenFieldCellEditingStringForRepresentedObject(f func(tokenFieldCell TokenFieldCell, representedObject objc.Object) string)

Allows the delegate to provide a string to be edited as a proxy for the represented object. Full Topic

func (*TokenFieldCellDelegate) TokenFieldCellEditingStringForRepresentedObject

func (di *TokenFieldCellDelegate) TokenFieldCellEditingStringForRepresentedObject(tokenFieldCell TokenFieldCell, representedObject objc.Object) string

Allows the delegate to provide a string to be edited as a proxy for the represented object. Full Topic

type TokenFieldCellDelegateWrapper

type TokenFieldCellDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTokenFieldCellDelegate protocol.

func (TokenFieldCellDelegateWrapper) HasTokenFieldCellEditingStringForRepresentedObject

func (t_ TokenFieldCellDelegateWrapper) HasTokenFieldCellEditingStringForRepresentedObject() bool

func (TokenFieldCellDelegateWrapper) TokenFieldCellEditingStringForRepresentedObject

func (t_ TokenFieldCellDelegateWrapper) TokenFieldCellEditingStringForRepresentedObject(tokenFieldCell ITokenFieldCell, representedObject objc.IObject) string

Allows the delegate to provide a string to be edited as a proxy for the represented object. Full Topic

type TokenFieldDelegate

type TokenFieldDelegate struct {
	TextFieldDelegate
	// contains filtered or unexported fields
}

A delegate implementation builder for the PTokenFieldDelegate protocol.

func (*TokenFieldDelegate) HasTokenFieldEditingStringForRepresentedObject

func (di *TokenFieldDelegate) HasTokenFieldEditingStringForRepresentedObject() bool

func (*TokenFieldDelegate) SetTokenFieldEditingStringForRepresentedObject

func (di *TokenFieldDelegate) SetTokenFieldEditingStringForRepresentedObject(f func(tokenField TokenField, representedObject objc.Object) string)

Allows the delegate to provide a string to be edited as a proxy for a represented object. Full Topic

func (*TokenFieldDelegate) TokenFieldEditingStringForRepresentedObject

func (di *TokenFieldDelegate) TokenFieldEditingStringForRepresentedObject(tokenField TokenField, representedObject objc.Object) string

Allows the delegate to provide a string to be edited as a proxy for a represented object. Full Topic

type TokenFieldDelegateWrapper

type TokenFieldDelegateWrapper struct {
	TextFieldDelegateWrapper
}

A concrete type wrapper for the PTokenFieldDelegate protocol.

func (TokenFieldDelegateWrapper) HasTokenFieldEditingStringForRepresentedObject

func (t_ TokenFieldDelegateWrapper) HasTokenFieldEditingStringForRepresentedObject() bool

func (TokenFieldDelegateWrapper) TokenFieldEditingStringForRepresentedObject

func (t_ TokenFieldDelegateWrapper) TokenFieldEditingStringForRepresentedObject(tokenField ITokenField, representedObject objc.IObject) string

Allows the delegate to provide a string to be edited as a proxy for a represented object. Full Topic

type TokenStyle

type TokenStyle uint

The NSTokenStyle constants define how tokens are displayed and editable in the NSTokenFieldCell. These values are used by tokenStyle and the delegate method tokenFieldCell:editingStringForRepresentedObject:. Full Topic

const (
	DefaultTokenStyle      TokenStyle = 0
	PlainTextTokenStyle    TokenStyle = 1
	RoundedTokenStyle      TokenStyle = 2
	TokenStyleDefault      TokenStyle = 0
	TokenStyleNone         TokenStyle = 1
	TokenStylePlainSquared TokenStyle = 4
	TokenStyleRounded      TokenStyle = 2
	TokenStyleSquared      TokenStyle = 3
)

type ToolTipTag

type ToolTipTag int

This type describes the rectangle used to identify a tooltip rectangle. Full Topic

type Toolbar

type Toolbar struct {
	objc.Object
}

An object that manages the space above your app’s custom content and either below or integrated with the window’s title bar. Full Topic

func NewToolbar

func NewToolbar() Toolbar

func NewToolbarWithIdentifier

func NewToolbarWithIdentifier(identifier ToolbarIdentifier) Toolbar

Creates a newly allocated toolbar with the specified identifier. Full Topic

func ToolbarFrom

func ToolbarFrom(ptr unsafe.Pointer) Toolbar

func Toolbar_Alloc

func Toolbar_Alloc() Toolbar

func (Toolbar) AllowsExtensionItems

func (t_ Toolbar) AllowsExtensionItems() bool

A Boolean value that indicates whether the toolbar can add items for Action extensions. Full Topic

func (Toolbar) AllowsUserCustomization

func (t_ Toolbar) AllowsUserCustomization() bool

A Boolean value that indicates whether users can modify the contents of the toolbar. Full Topic

func (Toolbar) AutosavesConfiguration

func (t_ Toolbar) AutosavesConfiguration() bool

A Boolean value that indicates whether the toolbar autosaves its configuration. Full Topic

func (Toolbar) ConfigurationDictionary

func (t_ Toolbar) ConfigurationDictionary() map[string]objc.Object

A dictionary containing the current configuration details for the toolbar. Full Topic

func (Toolbar) CustomizationPaletteIsRunning

func (t_ Toolbar) CustomizationPaletteIsRunning() bool

A Boolean value that indicates whether the toolbar’s customization palette is in use. Full Topic

func (Toolbar) Delegate

func (t_ Toolbar) Delegate() ToolbarDelegateWrapper

The object you use to customize the toolbar contents and configuration. Full Topic

func (Toolbar) DisplayMode

func (t_ Toolbar) DisplayMode() ToolbarDisplayMode

A value that indicates whether the toolbar displays items using a name, icon, or combination of elements. Full Topic

func (Toolbar) Identifier

func (t_ Toolbar) Identifier() ToolbarIdentifier

The value you use to identify the toolbar in your app. Full Topic

func (Toolbar) Init

func (t_ Toolbar) Init() Toolbar

func (Toolbar) InitWithIdentifier

func (t_ Toolbar) InitWithIdentifier(identifier ToolbarIdentifier) Toolbar

func (Toolbar) InsertItemWithItemIdentifierAtIndex

func (t_ Toolbar) InsertItemWithItemIdentifierAtIndex(itemIdentifier ToolbarItemIdentifier, index int)

Inserts an item into the toolbar at the specified index. Full Topic

func (Toolbar) IsVisible

func (t_ Toolbar) IsVisible() bool

A Boolean value that indicates whether the toolbar is visible. Full Topic

func (Toolbar) Items

func (t_ Toolbar) Items() []ToolbarItem

An array containing the toolbar’s current items, in order. Full Topic

func (Toolbar) RemoveItemAtIndex

func (t_ Toolbar) RemoveItemAtIndex(index int)

Removes the item at the specified index in the toolbar. Full Topic

func (Toolbar) RunCustomizationPalette

func (t_ Toolbar) RunCustomizationPalette(sender objc.IObject)

Displays the toolbar’s customization palette and handles any user-initiated customizations. Full Topic

func (Toolbar) SelectedItemIdentifier

func (t_ Toolbar) SelectedItemIdentifier() ToolbarItemIdentifier

The identifier of the toolbar’s currently selected item. Full Topic

func (Toolbar) SetAllowsExtensionItems

func (t_ Toolbar) SetAllowsExtensionItems(value bool)

A Boolean value that indicates whether the toolbar can add items for Action extensions. Full Topic

func (Toolbar) SetAllowsUserCustomization

func (t_ Toolbar) SetAllowsUserCustomization(value bool)

A Boolean value that indicates whether users can modify the contents of the toolbar. Full Topic

func (Toolbar) SetAutosavesConfiguration

func (t_ Toolbar) SetAutosavesConfiguration(value bool)

A Boolean value that indicates whether the toolbar autosaves its configuration. Full Topic

func (Toolbar) SetConfigurationFromDictionary

func (t_ Toolbar) SetConfigurationFromDictionary(configDict map[string]objc.IObject)

Specifies the new configuration details for the toolbar. Full Topic

func (Toolbar) SetDelegate

func (t_ Toolbar) SetDelegate(value PToolbarDelegate)

The object you use to customize the toolbar contents and configuration. Full Topic

func (Toolbar) SetDelegateObject

func (t_ Toolbar) SetDelegateObject(valueObject objc.IObject)

The object you use to customize the toolbar contents and configuration. Full Topic

func (Toolbar) SetDisplayMode

func (t_ Toolbar) SetDisplayMode(value ToolbarDisplayMode)

A value that indicates whether the toolbar displays items using a name, icon, or combination of elements. Full Topic

func (Toolbar) SetSelectedItemIdentifier

func (t_ Toolbar) SetSelectedItemIdentifier(value ToolbarItemIdentifier)

The identifier of the toolbar’s currently selected item. Full Topic

func (Toolbar) SetShowsBaselineSeparator

func (t_ Toolbar) SetShowsBaselineSeparator(value bool)

A Boolean value that indicates whether the toolbar shows the separator between the toolbar and the main window contents. Full Topic

func (Toolbar) SetVisible

func (t_ Toolbar) SetVisible(value bool)

A Boolean value that indicates whether the toolbar is visible. Full Topic

func (Toolbar) ShowsBaselineSeparator

func (t_ Toolbar) ShowsBaselineSeparator() bool

A Boolean value that indicates whether the toolbar shows the separator between the toolbar and the main window contents. Full Topic

func (Toolbar) ValidateVisibleItems

func (t_ Toolbar) ValidateVisibleItems()

Validates the toolbar’s visible items during a window update. Full Topic

func (Toolbar) VisibleItems

func (t_ Toolbar) VisibleItems() []ToolbarItem

An array containing the toolbar’s currently visible items. Full Topic

type ToolbarDelegate

type ToolbarDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PToolbarDelegate protocol.

func (*ToolbarDelegate) HasToolbarAllowedItemIdentifiers

func (di *ToolbarDelegate) HasToolbarAllowedItemIdentifiers() bool

func (*ToolbarDelegate) HasToolbarDefaultItemIdentifiers

func (di *ToolbarDelegate) HasToolbarDefaultItemIdentifiers() bool

func (*ToolbarDelegate) HasToolbarDidRemoveItem

func (di *ToolbarDelegate) HasToolbarDidRemoveItem() bool

func (*ToolbarDelegate) HasToolbarItemForItemIdentifierWillBeInsertedIntoToolbar

func (di *ToolbarDelegate) HasToolbarItemForItemIdentifierWillBeInsertedIntoToolbar() bool

func (*ToolbarDelegate) HasToolbarSelectableItemIdentifiers

func (di *ToolbarDelegate) HasToolbarSelectableItemIdentifiers() bool

func (*ToolbarDelegate) HasToolbarWillAddItem

func (di *ToolbarDelegate) HasToolbarWillAddItem() bool

func (*ToolbarDelegate) SetToolbarAllowedItemIdentifiers

func (di *ToolbarDelegate) SetToolbarAllowedItemIdentifiers(f func(toolbar Toolbar) []ToolbarItemIdentifier)

Asks the delegate to provide the items allowed on the toolbar. Full Topic

func (*ToolbarDelegate) SetToolbarDefaultItemIdentifiers

func (di *ToolbarDelegate) SetToolbarDefaultItemIdentifiers(f func(toolbar Toolbar) []ToolbarItemIdentifier)

Asks the delegate to provide the default items to display on the toolbar. Full Topic

func (*ToolbarDelegate) SetToolbarDidRemoveItem

func (di *ToolbarDelegate) SetToolbarDidRemoveItem(f func(notification foundation.Notification))

Tells the delegate that the toolbar removed the specified item. Full Topic

func (*ToolbarDelegate) SetToolbarItemForItemIdentifierWillBeInsertedIntoToolbar

func (di *ToolbarDelegate) SetToolbarItemForItemIdentifierWillBeInsertedIntoToolbar(f func(toolbar Toolbar, itemIdentifier ToolbarItemIdentifier, flag bool) IToolbarItem)

Asks the delegate for the toolbar item associated with the specified identifier. Full Topic

func (*ToolbarDelegate) SetToolbarSelectableItemIdentifiers

func (di *ToolbarDelegate) SetToolbarSelectableItemIdentifiers(f func(toolbar Toolbar) []ToolbarItemIdentifier)

Asks the delegate to provide the set of selectable items in the toolbar. Full Topic

func (*ToolbarDelegate) SetToolbarWillAddItem

func (di *ToolbarDelegate) SetToolbarWillAddItem(f func(notification foundation.Notification))

Tells the delegate that the toolbar is about to add the specified item. Full Topic

func (*ToolbarDelegate) ToolbarAllowedItemIdentifiers

func (di *ToolbarDelegate) ToolbarAllowedItemIdentifiers(toolbar Toolbar) []ToolbarItemIdentifier

Asks the delegate to provide the items allowed on the toolbar. Full Topic

func (*ToolbarDelegate) ToolbarDefaultItemIdentifiers

func (di *ToolbarDelegate) ToolbarDefaultItemIdentifiers(toolbar Toolbar) []ToolbarItemIdentifier

Asks the delegate to provide the default items to display on the toolbar. Full Topic

func (*ToolbarDelegate) ToolbarDidRemoveItem

func (di *ToolbarDelegate) ToolbarDidRemoveItem(notification foundation.Notification)

Tells the delegate that the toolbar removed the specified item. Full Topic

func (*ToolbarDelegate) ToolbarItemForItemIdentifierWillBeInsertedIntoToolbar

func (di *ToolbarDelegate) ToolbarItemForItemIdentifierWillBeInsertedIntoToolbar(toolbar Toolbar, itemIdentifier ToolbarItemIdentifier, flag bool) IToolbarItem

Asks the delegate for the toolbar item associated with the specified identifier. Full Topic

func (*ToolbarDelegate) ToolbarSelectableItemIdentifiers

func (di *ToolbarDelegate) ToolbarSelectableItemIdentifiers(toolbar Toolbar) []ToolbarItemIdentifier

Asks the delegate to provide the set of selectable items in the toolbar. Full Topic

func (*ToolbarDelegate) ToolbarWillAddItem

func (di *ToolbarDelegate) ToolbarWillAddItem(notification foundation.Notification)

Tells the delegate that the toolbar is about to add the specified item. Full Topic

type ToolbarDelegateWrapper

type ToolbarDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PToolbarDelegate protocol.

func (ToolbarDelegateWrapper) HasToolbarAllowedItemIdentifiers

func (t_ ToolbarDelegateWrapper) HasToolbarAllowedItemIdentifiers() bool

func (ToolbarDelegateWrapper) HasToolbarDefaultItemIdentifiers

func (t_ ToolbarDelegateWrapper) HasToolbarDefaultItemIdentifiers() bool

func (ToolbarDelegateWrapper) HasToolbarDidRemoveItem

func (t_ ToolbarDelegateWrapper) HasToolbarDidRemoveItem() bool

func (ToolbarDelegateWrapper) HasToolbarItemForItemIdentifierWillBeInsertedIntoToolbar

func (t_ ToolbarDelegateWrapper) HasToolbarItemForItemIdentifierWillBeInsertedIntoToolbar() bool

func (ToolbarDelegateWrapper) HasToolbarSelectableItemIdentifiers

func (t_ ToolbarDelegateWrapper) HasToolbarSelectableItemIdentifiers() bool

func (ToolbarDelegateWrapper) HasToolbarWillAddItem

func (t_ ToolbarDelegateWrapper) HasToolbarWillAddItem() bool

func (ToolbarDelegateWrapper) ToolbarAllowedItemIdentifiers

func (t_ ToolbarDelegateWrapper) ToolbarAllowedItemIdentifiers(toolbar IToolbar) []ToolbarItemIdentifier

Asks the delegate to provide the items allowed on the toolbar. Full Topic

func (ToolbarDelegateWrapper) ToolbarDefaultItemIdentifiers

func (t_ ToolbarDelegateWrapper) ToolbarDefaultItemIdentifiers(toolbar IToolbar) []ToolbarItemIdentifier

Asks the delegate to provide the default items to display on the toolbar. Full Topic

func (ToolbarDelegateWrapper) ToolbarDidRemoveItem

func (t_ ToolbarDelegateWrapper) ToolbarDidRemoveItem(notification foundation.INotification)

Tells the delegate that the toolbar removed the specified item. Full Topic

func (ToolbarDelegateWrapper) ToolbarItemForItemIdentifierWillBeInsertedIntoToolbar

func (t_ ToolbarDelegateWrapper) ToolbarItemForItemIdentifierWillBeInsertedIntoToolbar(toolbar IToolbar, itemIdentifier ToolbarItemIdentifier, flag bool) ToolbarItem

Asks the delegate for the toolbar item associated with the specified identifier. Full Topic

func (ToolbarDelegateWrapper) ToolbarSelectableItemIdentifiers

func (t_ ToolbarDelegateWrapper) ToolbarSelectableItemIdentifiers(toolbar IToolbar) []ToolbarItemIdentifier

Asks the delegate to provide the set of selectable items in the toolbar. Full Topic

func (ToolbarDelegateWrapper) ToolbarWillAddItem

func (t_ ToolbarDelegateWrapper) ToolbarWillAddItem(notification foundation.INotification)

Tells the delegate that the toolbar is about to add the specified item. Full Topic

type ToolbarDisplayMode

type ToolbarDisplayMode uint

Constants that indicate whether the toolbar displays items using a name, icon, or combination of elements. Full Topic

const (
	ToolbarDisplayModeDefault      ToolbarDisplayMode = 0
	ToolbarDisplayModeIconAndLabel ToolbarDisplayMode = 1
	ToolbarDisplayModeIconOnly     ToolbarDisplayMode = 2
	ToolbarDisplayModeLabelOnly    ToolbarDisplayMode = 3
)

type ToolbarIdentifier

type ToolbarIdentifier string

A string value that you use to differentiate your app’s toolbars. Full Topic

type ToolbarItem

type ToolbarItem struct {
	objc.Object
}

A single item that appears in a window’s toolbar. Full Topic

func NewToolbarItem

func NewToolbarItem() ToolbarItem

func NewToolbarItemWithItemIdentifier

func NewToolbarItemWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) ToolbarItem

Creates a toolbar item with the specified identifier. Full Topic

func ToolbarItemFrom

func ToolbarItemFrom(ptr unsafe.Pointer) ToolbarItem

func ToolbarItem_Alloc

func ToolbarItem_Alloc() ToolbarItem

func (ToolbarItem) Action

func (t_ ToolbarItem) Action() objc.Selector

The action method to call when someone clicks on the toolbar item. Full Topic

func (ToolbarItem) AllowsDuplicatesInToolbar

func (t_ ToolbarItem) AllowsDuplicatesInToolbar() bool

A Boolean value that indicates whether the toolbar item can appear more than once in a toolbar. Full Topic

func (ToolbarItem) Autovalidates

func (t_ ToolbarItem) Autovalidates() bool

A Boolean value that indicates whether the toolbar automatically validates the item. Full Topic

func (ToolbarItem) Image

func (t_ ToolbarItem) Image() Image

The image to display for the toolbar item. Full Topic

func (ToolbarItem) Init

func (t_ ToolbarItem) Init() ToolbarItem

func (ToolbarItem) InitWithItemIdentifier

func (t_ ToolbarItem) InitWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) ToolbarItem

func (ToolbarItem) IsBordered

func (t_ ToolbarItem) IsBordered() bool

A Boolean value that indicates whether the toolbar item has a bordered style. Full Topic

func (ToolbarItem) IsEnabled

func (t_ ToolbarItem) IsEnabled() bool

A Boolean value that indicates whether the item is enabled. Full Topic

func (ToolbarItem) IsNavigational

func (t_ ToolbarItem) IsNavigational() bool

A Boolean value that indicates whether the item behaves as a navigation item in the toolbar. Full Topic

func (ToolbarItem) ItemIdentifier

func (t_ ToolbarItem) ItemIdentifier() ToolbarItemIdentifier

The value you use to identify the toolbar item. Full Topic

func (ToolbarItem) Label

func (t_ ToolbarItem) Label() string

The label that appears for this item in the toolbar. Full Topic

func (ToolbarItem) MenuFormRepresentation

func (t_ ToolbarItem) MenuFormRepresentation() MenuItem

The menu item to use when the toolbar item is in the overflow menu. Full Topic

func (ToolbarItem) PaletteLabel

func (t_ ToolbarItem) PaletteLabel() string

The label that appears when the toolbar item is in the customization palette. Full Topic

func (ToolbarItem) SetAction

func (t_ ToolbarItem) SetAction(value objc.Selector)

The action method to call when someone clicks on the toolbar item. Full Topic

func (ToolbarItem) SetAutovalidates

func (t_ ToolbarItem) SetAutovalidates(value bool)

A Boolean value that indicates whether the toolbar automatically validates the item. Full Topic

func (ToolbarItem) SetBordered

func (t_ ToolbarItem) SetBordered(value bool)

A Boolean value that indicates whether the toolbar item has a bordered style. Full Topic

func (ToolbarItem) SetEnabled

func (t_ ToolbarItem) SetEnabled(value bool)

A Boolean value that indicates whether the item is enabled. Full Topic

func (ToolbarItem) SetImage

func (t_ ToolbarItem) SetImage(value IImage)

The image to display for the toolbar item. Full Topic

func (ToolbarItem) SetLabel

func (t_ ToolbarItem) SetLabel(value string)

The label that appears for this item in the toolbar. Full Topic

func (ToolbarItem) SetMenuFormRepresentation

func (t_ ToolbarItem) SetMenuFormRepresentation(value IMenuItem)

The menu item to use when the toolbar item is in the overflow menu. Full Topic

func (ToolbarItem) SetNavigational

func (t_ ToolbarItem) SetNavigational(value bool)

A Boolean value that indicates whether the item behaves as a navigation item in the toolbar. Full Topic

func (ToolbarItem) SetPaletteLabel

func (t_ ToolbarItem) SetPaletteLabel(value string)

The label that appears when the toolbar item is in the customization palette. Full Topic

func (ToolbarItem) SetTag

func (t_ ToolbarItem) SetTag(value int)

An integer tag you can use to identify the toolbar item. Full Topic

func (ToolbarItem) SetTarget

func (t_ ToolbarItem) SetTarget(value objc.IObject)

The object that defines the action method the toolbar item calls when clicked. Full Topic

func (ToolbarItem) SetTitle

func (t_ ToolbarItem) SetTitle(value string)

The title of the toolbar item. Full Topic

func (ToolbarItem) SetToolTip

func (t_ ToolbarItem) SetToolTip(value string)

The tooltip to display when someone hovers over the item in the toolbar. Full Topic

func (ToolbarItem) SetView

func (t_ ToolbarItem) SetView(value IView)

The custom view you use to draw the toolbar item. Full Topic

func (ToolbarItem) SetVisibilityPriority

func (t_ ToolbarItem) SetVisibilityPriority(value ToolbarItemVisibilityPriority)

The display priority associated with the toolbar item. Full Topic

func (ToolbarItem) Tag

func (t_ ToolbarItem) Tag() int

An integer tag you can use to identify the toolbar item. Full Topic

func (ToolbarItem) Target

func (t_ ToolbarItem) Target() objc.Object

The object that defines the action method the toolbar item calls when clicked. Full Topic

func (ToolbarItem) Title

func (t_ ToolbarItem) Title() string

The title of the toolbar item. Full Topic

func (ToolbarItem) ToolTip

func (t_ ToolbarItem) ToolTip() string

The tooltip to display when someone hovers over the item in the toolbar. Full Topic

func (ToolbarItem) Toolbar

func (t_ ToolbarItem) Toolbar() Toolbar

The toolbar that currently includes the item. Full Topic

func (ToolbarItem) Validate

func (t_ ToolbarItem) Validate()

Validates the toolbar item’s menu and its ability to perfrom its action. Full Topic

func (ToolbarItem) View

func (t_ ToolbarItem) View() View

The custom view you use to draw the toolbar item. Full Topic

func (ToolbarItem) VisibilityPriority

func (t_ ToolbarItem) VisibilityPriority() ToolbarItemVisibilityPriority

The display priority associated with the toolbar item. Full Topic

type ToolbarItemGroup

type ToolbarItemGroup struct {
	ToolbarItem
}

A group of subitems in a toolbar item. Full Topic

func NewToolbarItemGroup

func NewToolbarItemGroup() ToolbarItemGroup

func NewToolbarItemGroupWithItemIdentifier

func NewToolbarItemGroupWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) ToolbarItemGroup

Creates a toolbar item with the specified identifier. Full Topic

func ToolbarItemGroupFrom

func ToolbarItemGroupFrom(ptr unsafe.Pointer) ToolbarItemGroup

func ToolbarItemGroup_Alloc

func ToolbarItemGroup_Alloc() ToolbarItemGroup

func ToolbarItemGroup_GroupWithItemIdentifierTitlesSelectionModeLabelsTargetAction

func ToolbarItemGroup_GroupWithItemIdentifierTitlesSelectionModeLabelsTargetAction(itemIdentifier ToolbarItemIdentifier, titles []string, selectionMode ToolbarItemGroupSelectionMode, labels []string, target objc.IObject, action objc.Selector) ToolbarItemGroup

Creates a grouped toolbar item with labels. Full Topic

func (ToolbarItemGroup) ControlRepresentation

func (t_ ToolbarItemGroup) ControlRepresentation() ToolbarItemGroupControlRepresentation

A value that represents how a toolbar displays a grouped toolbar item. Full Topic

func (ToolbarItemGroup) Init

func (ToolbarItemGroup) InitWithItemIdentifier

func (t_ ToolbarItemGroup) InitWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) ToolbarItemGroup

func (ToolbarItemGroup) IsSelectedAtIndex

func (t_ ToolbarItemGroup) IsSelectedAtIndex(index int) bool

Indicates whether a specified index is currently selected. Full Topic

func (ToolbarItemGroup) SelectedIndex

func (t_ ToolbarItemGroup) SelectedIndex() int

The index value for the most recently selected subitem of a grouped toolbar item. Full Topic

func (ToolbarItemGroup) SelectionMode

The selection mode of the grouped toolbar item. Full Topic

func (ToolbarItemGroup) SetControlRepresentation

func (t_ ToolbarItemGroup) SetControlRepresentation(value ToolbarItemGroupControlRepresentation)

A value that represents how a toolbar displays a grouped toolbar item. Full Topic

func (ToolbarItemGroup) SetSelectedAtIndex

func (t_ ToolbarItemGroup) SetSelectedAtIndex(selected bool, index int)

Sets the selected state of a subitem in a grouped toolbar item. Full Topic

func (ToolbarItemGroup) SetSelectedIndex

func (t_ ToolbarItemGroup) SetSelectedIndex(value int)

The index value for the most recently selected subitem of a grouped toolbar item. Full Topic

func (ToolbarItemGroup) SetSelectionMode

func (t_ ToolbarItemGroup) SetSelectionMode(value ToolbarItemGroupSelectionMode)

The selection mode of the grouped toolbar item. Full Topic

func (ToolbarItemGroup) SetSubitems

func (t_ ToolbarItemGroup) SetSubitems(value []IToolbarItem)

The subitems of the grouped toolbar item. Full Topic

func (ToolbarItemGroup) Subitems

func (t_ ToolbarItemGroup) Subitems() []ToolbarItem

The subitems of the grouped toolbar item. Full Topic

type ToolbarItemGroupControlRepresentation

type ToolbarItemGroupControlRepresentation int

A value that indicates the display style for a grouped toolbar item. Full Topic

const (
	ToolbarItemGroupControlRepresentationAutomatic ToolbarItemGroupControlRepresentation = 0
	ToolbarItemGroupControlRepresentationCollapsed ToolbarItemGroupControlRepresentation = 2
	ToolbarItemGroupControlRepresentationExpanded  ToolbarItemGroupControlRepresentation = 1
)

type ToolbarItemGroupSelectionMode

type ToolbarItemGroupSelectionMode int

A value that indicates how a grouped toolbar item selects its subitems. Full Topic

const (
	ToolbarItemGroupSelectionModeMomentary ToolbarItemGroupSelectionMode = 2
	ToolbarItemGroupSelectionModeSelectAny ToolbarItemGroupSelectionMode = 1
	ToolbarItemGroupSelectionModeSelectOne ToolbarItemGroupSelectionMode = 0
)

type ToolbarItemIdentifier

type ToolbarItemIdentifier string

Constants for the standard toolbar items that the system provides. Full Topic

const (
	ToolbarCloudSharingItemIdentifier             ToolbarItemIdentifier = "NSToolbarCloudSharingItem"
	ToolbarCustomizeToolbarItemIdentifier         ToolbarItemIdentifier = "NSToolbarCustomizeToolbarItem"
	ToolbarFlexibleSpaceItemIdentifier            ToolbarItemIdentifier = "NSToolbarFlexibleSpaceItem"
	ToolbarPrintItemIdentifier                    ToolbarItemIdentifier = "NSToolbarPrintItem"
	ToolbarSeparatorItemIdentifier                ToolbarItemIdentifier = "NSToolbarSeparatorItem"
	ToolbarShowColorsItemIdentifier               ToolbarItemIdentifier = "NSToolbarShowColorsItem"
	ToolbarShowFontsItemIdentifier                ToolbarItemIdentifier = "NSToolbarShowFontsItem"
	ToolbarSidebarTrackingSeparatorItemIdentifier ToolbarItemIdentifier = "NSToolbarSidebarTrackingSeparatorItemIdentifier"
	ToolbarSpaceItemIdentifier                    ToolbarItemIdentifier = "NSToolbarSpaceItem"
	ToolbarToggleSidebarItemIdentifier            ToolbarItemIdentifier = "NSToolbarToggleSidebarItem"
)

type ToolbarItemValidationWrapper

type ToolbarItemValidationWrapper struct {
	objc.Object
}

A concrete type wrapper for the PToolbarItemValidation protocol.

func (ToolbarItemValidationWrapper) HasValidateToolbarItem

func (t_ ToolbarItemValidationWrapper) HasValidateToolbarItem() bool

func (ToolbarItemValidationWrapper) ValidateToolbarItem

func (t_ ToolbarItemValidationWrapper) ValidateToolbarItem(item IToolbarItem) bool

If this method is implemented and returns NO, NSToolbar will disable theItem; returning YES causes theItem to be enabled. Full Topic

type ToolbarItemVisibilityPriority

type ToolbarItemVisibilityPriority int

Constants that indicate which toolbar items to keep in the toolbar when space is limited. Full Topic

const (
	ToolbarItemVisibilityPriorityHigh     ToolbarItemVisibilityPriority = 1000
	ToolbarItemVisibilityPriorityLow      ToolbarItemVisibilityPriority = -1000
	ToolbarItemVisibilityPriorityStandard ToolbarItemVisibilityPriority = 0
	ToolbarItemVisibilityPriorityUser     ToolbarItemVisibilityPriority = 2000
)

type ToolbarSizeMode

type ToolbarSizeMode uint

Constants that specify toolbar display modes. Full Topic

const (
	ToolbarSizeModeDefault ToolbarSizeMode = 0
	ToolbarSizeModeRegular ToolbarSizeMode = 1
	ToolbarSizeModeSmall   ToolbarSizeMode = 2
)

type Touch

type Touch struct {
	objc.Object
}

A snapshot of a particular touch at an instant in time. Full Topic

func NewTouch

func NewTouch() Touch

func TouchFrom

func TouchFrom(ptr unsafe.Pointer) Touch

func Touch_Alloc

func Touch_Alloc() Touch

func (Touch) Device

func (t_ Touch) Device() objc.Object

The digitizer that generates the touch. Useful to distinguish touches emanating from multiple-device scenarios. Full Topic

func (Touch) DeviceSize

func (t_ Touch) DeviceSize() foundation.Size

The range of the touch device in points, such as 72 ppi. Full Topic

func (Touch) Identity

func (t_ Touch) Identity() objc.Object

The changes to a particular touch during its lifetime. Full Topic

func (Touch) Init

func (t_ Touch) Init() Touch

func (Touch) IsResting

func (t_ Touch) IsResting() bool

The indicator for a resting touch. Full Topic

func (Touch) LocationInView

func (t_ Touch) LocationInView(view IView) foundation.Point

Indicates the location of the touch in the view's coordinates. Full Topic

func (Touch) NormalizedPosition

func (t_ Touch) NormalizedPosition() foundation.Point

The normalized position of the touch. Full Topic

func (Touch) Phase

func (t_ Touch) Phase() TouchPhase

The current phase of the touch. Full Topic

func (Touch) PreviousLocationInView

func (t_ Touch) PreviousLocationInView(view IView) foundation.Point

Indicates the previous location of the touch in the view's coordinates. Full Topic

func (Touch) Type

func (t_ Touch) Type() TouchType

A type of touch from a Touch Bar interaction. Full Topic

type TouchBar

type TouchBar struct {
	objc.Object
}

An object that provides dynamic contextual controls in the Touch Bar of supported models of MacBook Pro. Full Topic

func NewTouchBar

func NewTouchBar() TouchBar

func TouchBarFrom

func TouchBarFrom(ptr unsafe.Pointer) TouchBar

func TouchBar_Alloc

func TouchBar_Alloc() TouchBar

func (TouchBar) CustomizationAllowedItemIdentifiers

func (t_ TouchBar) CustomizationAllowedItemIdentifiers() []TouchBarItemIdentifier

A list of identifiers for items to show in the Touch Bar’s customization UI. Full Topic

func (TouchBar) CustomizationIdentifier

func (t_ TouchBar) CustomizationIdentifier() TouchBarCustomizationIdentifier

A globally unique string that makes the Touch Bar eligible for user customization. Full Topic

func (TouchBar) CustomizationRequiredItemIdentifiers

func (t_ TouchBar) CustomizationRequiredItemIdentifiers() []TouchBarItemIdentifier

An optional list of identifiers for items you want to always appear in the Touch Bar and which the user can’t remove during customization. Full Topic

func (TouchBar) DefaultItemIdentifiers

func (t_ TouchBar) DefaultItemIdentifiers() []TouchBarItemIdentifier

A required list of identifiers for items that you want to appear in the Touch Bar after instantiating it. Full Topic

func (TouchBar) Delegate

func (t_ TouchBar) Delegate() TouchBarDelegateWrapper

The delegate that provides items to the Touch Bar. Full Topic

func (TouchBar) EscapeKeyReplacementItemIdentifier

func (t_ TouchBar) EscapeKeyReplacementItemIdentifier() TouchBarItemIdentifier

The identifier of an item that replaces the system-provided button in the Touch Bar. Full Topic

func (TouchBar) Init

func (t_ TouchBar) Init() TouchBar

func (TouchBar) IsVisible

func (t_ TouchBar) IsVisible() bool

A Boolean value that Indicates whether the Touch Bar is eligible for display. Full Topic

func (TouchBar) ItemForIdentifier

func (t_ TouchBar) ItemForIdentifier(identifier TouchBarItemIdentifier) TouchBarItem

Returns the Touch Bar item that corresponds to a given identifier. Full Topic

func (TouchBar) ItemIdentifiers

func (t_ TouchBar) ItemIdentifiers() []TouchBarItemIdentifier

The list of identifiers for the current items in the Touch Bar. Full Topic

func (TouchBar) PrincipalItemIdentifier

func (t_ TouchBar) PrincipalItemIdentifier() TouchBarItemIdentifier

The identifier of an item you want the system to center in the Touch Bar. Full Topic

func (TouchBar) SetCustomizationAllowedItemIdentifiers

func (t_ TouchBar) SetCustomizationAllowedItemIdentifiers(value []TouchBarItemIdentifier)

A list of identifiers for items to show in the Touch Bar’s customization UI. Full Topic

func (TouchBar) SetCustomizationIdentifier

func (t_ TouchBar) SetCustomizationIdentifier(value TouchBarCustomizationIdentifier)

A globally unique string that makes the Touch Bar eligible for user customization. Full Topic

func (TouchBar) SetCustomizationRequiredItemIdentifiers

func (t_ TouchBar) SetCustomizationRequiredItemIdentifiers(value []TouchBarItemIdentifier)

An optional list of identifiers for items you want to always appear in the Touch Bar and which the user can’t remove during customization. Full Topic

func (TouchBar) SetDefaultItemIdentifiers

func (t_ TouchBar) SetDefaultItemIdentifiers(value []TouchBarItemIdentifier)

A required list of identifiers for items that you want to appear in the Touch Bar after instantiating it. Full Topic

func (TouchBar) SetDelegate

func (t_ TouchBar) SetDelegate(value PTouchBarDelegate)

The delegate that provides items to the Touch Bar. Full Topic

func (TouchBar) SetDelegateObject

func (t_ TouchBar) SetDelegateObject(valueObject objc.IObject)

The delegate that provides items to the Touch Bar. Full Topic

func (TouchBar) SetEscapeKeyReplacementItemIdentifier

func (t_ TouchBar) SetEscapeKeyReplacementItemIdentifier(value TouchBarItemIdentifier)

The identifier of an item that replaces the system-provided button in the Touch Bar. Full Topic

func (TouchBar) SetPrincipalItemIdentifier

func (t_ TouchBar) SetPrincipalItemIdentifier(value TouchBarItemIdentifier)

The identifier of an item you want the system to center in the Touch Bar. Full Topic

func (TouchBar) SetTemplateItems

func (t_ TouchBar) SetTemplateItems(value foundation.ISet)

The primary source of items that the Touch Bar uses to fill its private items array, unless you provide items using a delegate. Full Topic

func (TouchBar) TemplateItems

func (t_ TouchBar) TemplateItems() foundation.Set

The primary source of items that the Touch Bar uses to fill its private items array, unless you provide items using a delegate. Full Topic

type TouchBarCustomizationIdentifier

type TouchBarCustomizationIdentifier string

The default type for a Touch Bar customization identifier. Full Topic

type TouchBarDelegate

type TouchBarDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PTouchBarDelegate protocol.

func (*TouchBarDelegate) HasTouchBarMakeItemForIdentifier

func (di *TouchBarDelegate) HasTouchBarMakeItemForIdentifier() bool

func (*TouchBarDelegate) SetTouchBarMakeItemForIdentifier

func (di *TouchBarDelegate) SetTouchBarMakeItemForIdentifier(f func(touchBar TouchBar, identifier TouchBarItemIdentifier) ITouchBarItem)

Asks the delegate object for the bar item for the specified bar and item identifier. Full Topic

func (*TouchBarDelegate) TouchBarMakeItemForIdentifier

func (di *TouchBarDelegate) TouchBarMakeItemForIdentifier(touchBar TouchBar, identifier TouchBarItemIdentifier) ITouchBarItem

Asks the delegate object for the bar item for the specified bar and item identifier. Full Topic

type TouchBarDelegateWrapper

type TouchBarDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTouchBarDelegate protocol.

func (TouchBarDelegateWrapper) HasTouchBarMakeItemForIdentifier

func (t_ TouchBarDelegateWrapper) HasTouchBarMakeItemForIdentifier() bool

func (TouchBarDelegateWrapper) TouchBarMakeItemForIdentifier

func (t_ TouchBarDelegateWrapper) TouchBarMakeItemForIdentifier(touchBar ITouchBar, identifier TouchBarItemIdentifier) TouchBarItem

Asks the delegate object for the bar item for the specified bar and item identifier. Full Topic

type TouchBarItem

type TouchBarItem struct {
	objc.Object
}

A UI control shown in the Touch Bar on supported models of MacBook Pro. Full Topic

func NewTouchBarItem

func NewTouchBarItem() TouchBarItem

func NewTouchBarItemWithIdentifier

func NewTouchBarItemWithIdentifier(identifier TouchBarItemIdentifier) TouchBarItem

Creates a new item with the specified identifier. Full Topic

func TouchBarItemFrom

func TouchBarItemFrom(ptr unsafe.Pointer) TouchBarItem

func TouchBarItem_Alloc

func TouchBarItem_Alloc() TouchBarItem

func (TouchBarItem) CustomizationLabel

func (t_ TouchBarItem) CustomizationLabel() string

The user-visible string identifying this item during bar customization. Full Topic

func (TouchBarItem) Identifier

func (t_ TouchBarItem) Identifier() TouchBarItemIdentifier

The identifier for this item. Full Topic

func (TouchBarItem) Init

func (t_ TouchBarItem) Init() TouchBarItem

func (TouchBarItem) InitWithIdentifier

func (t_ TouchBarItem) InitWithIdentifier(identifier TouchBarItemIdentifier) TouchBarItem

func (TouchBarItem) IsVisible

func (t_ TouchBarItem) IsVisible() bool

A Boolean value that reflects whether or not the item is visible. Full Topic

func (TouchBarItem) SetVisibilityPriority

func (t_ TouchBarItem) SetVisibilityPriority(value TouchBarItemPriority)

Determines which items are shown in a bar when space is limited. Full Topic

func (TouchBarItem) View

func (t_ TouchBarItem) View() View

The view associated with this item. Full Topic

func (TouchBarItem) ViewController

func (t_ TouchBarItem) ViewController() ViewController

The view controller associated with this item. Full Topic

func (TouchBarItem) VisibilityPriority

func (t_ TouchBarItem) VisibilityPriority() TouchBarItemPriority

Determines which items are shown in a bar when space is limited. Full Topic

type TouchBarItemIdentifier

type TouchBarItemIdentifier string

An identifier for an item in the Touch Bar. Full Topic

const (
	TouchBarItemIdentifierCandidateList   TouchBarItemIdentifier = "NSTouchBarItemIdentifierCandidateList"
	TouchBarItemIdentifierCharacterPicker TouchBarItemIdentifier = "NSTouchBarItemIdentifierCharacterPicker"
	TouchBarItemIdentifierFixedSpaceLarge TouchBarItemIdentifier = "NSTouchBarItemIdentifierFixedSpaceLarge"
	TouchBarItemIdentifierFixedSpaceSmall TouchBarItemIdentifier = "NSTouchBarItemIdentifierFixedSpaceSmall"
	TouchBarItemIdentifierFlexibleSpace   TouchBarItemIdentifier = "NSTouchBarItemIdentifierFlexibleSpace"
	TouchBarItemIdentifierOtherItemsProxy TouchBarItemIdentifier = "NSTouchBarItemIdentifierOtherItemsProxy"
	TouchBarItemIdentifierTextAlignment   TouchBarItemIdentifier = "NSTouchBarItemIdentifierTextAlignment"
	TouchBarItemIdentifierTextColorPicker TouchBarItemIdentifier = "NSTouchBarItemIdentifierTextColorPicker"
	TouchBarItemIdentifierTextFormat      TouchBarItemIdentifier = "NSTouchBarItemIdentifierTextFormat"
	TouchBarItemIdentifierTextList        TouchBarItemIdentifier = "NSTouchBarItemIdentifierTextList"
	TouchBarItemIdentifierTextStyle       TouchBarItemIdentifier = "NSTouchBarItemIdentifierTextStyle"
)

type TouchBarItemPriority

type TouchBarItemPriority float64

Priorities for the visibility of a Touch Bar item. Full Topic

const (
	TouchBarItemPriorityHigh   TouchBarItemPriority = 1000.000000
	TouchBarItemPriorityLow    TouchBarItemPriority = -1000.000000
	TouchBarItemPriorityNormal TouchBarItemPriority = 0.000000
)

type TouchBarProviderWrapper

type TouchBarProviderWrapper struct {
	objc.Object
}

A concrete type wrapper for the PTouchBarProvider protocol.

func (TouchBarProviderWrapper) HasTouchBar

func (t_ TouchBarProviderWrapper) HasTouchBar() bool

func (TouchBarProviderWrapper) TouchBar

func (t_ TouchBarProviderWrapper) TouchBar() TouchBar

The property you implement to provide a Touch Bar object. Full Topic

type TouchPhase

type TouchPhase uint

The possible phases of a touch. Full Topic

const (
	TouchPhaseAny        TouchPhase = math.MaxUint
	TouchPhaseBegan      TouchPhase = 1
	TouchPhaseCancelled  TouchPhase = 16
	TouchPhaseEnded      TouchPhase = 8
	TouchPhaseMoved      TouchPhase = 2
	TouchPhaseStationary TouchPhase = 4
	TouchPhaseTouching   TouchPhase = 7
)

type TouchType

type TouchType int

A bit mask identifying a direct or indirect touch type. Full Topic

const (
	TouchTypeDirect   TouchType = 0
	TouchTypeIndirect TouchType = 1
)

type TouchTypeMask

type TouchTypeMask uint

A bit mask identifying a direct or indirect touch type. Full Topic

const (
	TouchTypeMaskDirect   TouchTypeMask = 1
	TouchTypeMaskIndirect TouchTypeMask = 2
)

type TrackingArea

type TrackingArea struct {
	objc.Object
}

A region of a view that generates mouse-tracking and cursor-update events when the pointer is over that region. Full Topic

func NewTrackingArea

func NewTrackingArea() TrackingArea

func NewTrackingAreaWithRectOptionsOwnerUserInfo

func NewTrackingAreaWithRectOptionsOwnerUserInfo(rect foundation.Rect, options TrackingAreaOptions, owner objc.IObject, userInfo foundation.Dictionary) TrackingArea

Initializes and returns an object defining a region of a view to receive mouse-tracking events, mouse-moved events, cursor-update events, or possibly all these events. Full Topic

func TrackingAreaFrom

func TrackingAreaFrom(ptr unsafe.Pointer) TrackingArea

func TrackingArea_Alloc

func TrackingArea_Alloc() TrackingArea

func (TrackingArea) Init

func (t_ TrackingArea) Init() TrackingArea

func (TrackingArea) InitWithRectOptionsOwnerUserInfo

func (t_ TrackingArea) InitWithRectOptionsOwnerUserInfo(rect foundation.Rect, options TrackingAreaOptions, owner objc.IObject, userInfo foundation.Dictionary) TrackingArea

func (TrackingArea) Options

func (t_ TrackingArea) Options() TrackingAreaOptions

The options specified for the receiver. Full Topic

func (TrackingArea) Owner

func (t_ TrackingArea) Owner() objc.Object

The object owning the receiver, which is the recipient of mouse-tracking, mouse-movement, and cursor-update messages. Full Topic

func (TrackingArea) Rect

func (t_ TrackingArea) Rect() foundation.Rect

The rectangle defining the area encompassed by the receiver. Full Topic

func (TrackingArea) UserInfo

func (t_ TrackingArea) UserInfo() foundation.Dictionary

The dictionary containing the data associated with the receiver when it was created. Full Topic

type TrackingAreaOptions

type TrackingAreaOptions uint

The data type defined for the constants specified in the options parameter of initWithRect:options:owner:userInfo:. These constants are described below; you can specify multiple constants by performing a bitwise-OR operation with them. In particular, you must supply one or more of the tracking-type constants (that is, appkit/nstrackingareaoptions/nstrackingmouseenteredandexited, appkit/nstrackingareaoptions/nstrackingmousemoved, and appkit/nstrackingareaoptions/nstrackingcursorupdate) and one of the active constants (that is, appkit/nstrackingareaoptions/nstrackingactivewhenfirstresponder, appkit/nstrackingareaoptions/nstrackingactiveinkeywindow, appkit/nstrackingareaoptions/nstrackingactiveinactiveapp, and appkit/nstrackingareaoptions/nstrackingactivealways). In addition, you may specify any of the behavior constants (that is, appkit/nstrackingareaoptions/nstrackingassumeinside, appkit/nstrackingareaoptions/nstrackinginvisiblerect, and appkit/nstrackingareaoptions/nstrackingenabledduringmousedrag). Full Topic

const (
	TrackingActiveAlways             TrackingAreaOptions = 128
	TrackingActiveInActiveApp        TrackingAreaOptions = 64
	TrackingActiveInKeyWindow        TrackingAreaOptions = 32
	TrackingActiveWhenFirstResponder TrackingAreaOptions = 16
	TrackingAssumeInside             TrackingAreaOptions = 256
	TrackingCursorUpdate             TrackingAreaOptions = 4
	TrackingEnabledDuringMouseDrag   TrackingAreaOptions = 1024
	TrackingInVisibleRect            TrackingAreaOptions = 512
	TrackingMouseEnteredAndExited    TrackingAreaOptions = 1
	TrackingMouseMoved               TrackingAreaOptions = 2
)

type TrackingRectTag

type TrackingRectTag int

This type describes the rectangle used to track the mouse. Full Topic

type TrackingSeparatorToolbarItem

type TrackingSeparatorToolbarItem struct {
	ToolbarItem
}

A toolbar separator that aligns with the vertical split view in the same window. Full Topic

func NewTrackingSeparatorToolbarItem

func NewTrackingSeparatorToolbarItem() TrackingSeparatorToolbarItem

func NewTrackingSeparatorToolbarItemWithItemIdentifier

func NewTrackingSeparatorToolbarItemWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) TrackingSeparatorToolbarItem

Creates a toolbar item with the specified identifier. Full Topic

func TrackingSeparatorToolbarItemFrom

func TrackingSeparatorToolbarItemFrom(ptr unsafe.Pointer) TrackingSeparatorToolbarItem

func TrackingSeparatorToolbarItem_Alloc

func TrackingSeparatorToolbarItem_Alloc() TrackingSeparatorToolbarItem

func TrackingSeparatorToolbarItem_TrackingSeparatorToolbarItemWithIdentifierSplitViewDividerIndex

func TrackingSeparatorToolbarItem_TrackingSeparatorToolbarItemWithIdentifierSplitViewDividerIndex(identifier ToolbarItemIdentifier, splitView ISplitView, dividerIndex int) TrackingSeparatorToolbarItem

Creates a new tracking separator toolbar item and configures it to align with the divider of the split view. Full Topic

func (TrackingSeparatorToolbarItem) DividerIndex

func (t_ TrackingSeparatorToolbarItem) DividerIndex() int

The index of the split view divider to align with the tracking separator. Full Topic

func (TrackingSeparatorToolbarItem) Init

func (TrackingSeparatorToolbarItem) InitWithItemIdentifier

func (t_ TrackingSeparatorToolbarItem) InitWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) TrackingSeparatorToolbarItem

func (TrackingSeparatorToolbarItem) SetDividerIndex

func (t_ TrackingSeparatorToolbarItem) SetDividerIndex(value int)

The index of the split view divider to align with the tracking separator. Full Topic

func (TrackingSeparatorToolbarItem) SetSplitView

func (t_ TrackingSeparatorToolbarItem) SetSplitView(value ISplitView)

The vertical split view to align with the toolbar separator. Full Topic

func (TrackingSeparatorToolbarItem) SplitView

func (t_ TrackingSeparatorToolbarItem) SplitView() SplitView

The vertical split view to align with the toolbar separator. Full Topic

type TreeController

type TreeController struct {
	ObjectController
}

A bindings-compatible controller that manages a tree of objects. Full Topic

func NewTreeController

func NewTreeController() TreeController

func NewTreeControllerWithContent

func NewTreeControllerWithContent(content objc.IObject) TreeController

Initializes and returns an NSObjectController object with the given content. Full Topic

func TreeControllerFrom

func TreeControllerFrom(ptr unsafe.Pointer) TreeController

func TreeController_Alloc

func TreeController_Alloc() TreeController

func (TreeController) AddChild

func (t_ TreeController) AddChild(sender objc.IObject) objc.Object

Adds a child object to the currently selected item. Full Topic

func (TreeController) AddSelectionIndexPaths

func (t_ TreeController) AddSelectionIndexPaths(indexPaths []foundation.IIndexPath) bool

Adds the objects at the specified indexPaths in the tree controller’s content to the current selection. Full Topic

func (TreeController) AlwaysUsesMultipleValuesMarker

func (t_ TreeController) AlwaysUsesMultipleValuesMarker() bool

A Boolean value that indicates whether the tree controller always returns the multiple values marker when multiple objects are selected, even if the selected items have the same value. Full Topic

func (TreeController) ArrangedObjects

func (t_ TreeController) ArrangedObjects() TreeNode

The tree controller’s sorted content objects. Full Topic

func (TreeController) AvoidsEmptySelection

func (t_ TreeController) AvoidsEmptySelection() bool

A Boolean value that indicates whether the tree controller requires the content array to attempt to maintain a selection at all times, avoiding an empty selection. Full Topic

func (TreeController) CanAddChild

func (t_ TreeController) CanAddChild() bool

A Boolean value that indicates if a child object can be added to the tree controller’s content. Full Topic

func (TreeController) CanInsert

func (t_ TreeController) CanInsert() bool

A Boolean value that indicates if an object can be inserted into the tree controller’s content. Full Topic

func (TreeController) CanInsertChild

func (t_ TreeController) CanInsertChild() bool

A Boolean value that indicates if a child object can be inserted into the tree controller’s content. Full Topic

func (TreeController) ChildrenKeyPath

func (t_ TreeController) ChildrenKeyPath() string

The key path used to find the children in the tree controller’s objects. Full Topic

func (TreeController) ChildrenKeyPathForNode

func (t_ TreeController) ChildrenKeyPathForNode(node ITreeNode) string

Returns the key path used to find the children in the specified tree node. Full Topic

func (TreeController) CountKeyPath

func (t_ TreeController) CountKeyPath() string

The key path used to find the number of children for a node. Full Topic

func (TreeController) CountKeyPathForNode

func (t_ TreeController) CountKeyPathForNode(node ITreeNode) string

Returns the key path that provides the number of children for a specified node. Full Topic

func (TreeController) Init

func (t_ TreeController) Init() TreeController

func (TreeController) InitWithContent

func (t_ TreeController) InitWithContent(content objc.IObject) TreeController

func (TreeController) Insert

func (t_ TreeController) Insert(sender objc.IObject) objc.Object

Creates a new object of the class specified by objectClass and inserts it into the tree controller’s content. Full Topic

func (TreeController) InsertChild

func (t_ TreeController) InsertChild(sender objc.IObject) objc.Object

Creates a new object of the class specified by objectClass and inserts it into the tree controller’s content as a child of the current selection. Full Topic

func (TreeController) InsertObjectAtArrangedObjectIndexPath

func (t_ TreeController) InsertObjectAtArrangedObjectIndexPath(object objc.IObject, indexPath foundation.IIndexPath)

Inserts object into the tree controller’s arranged objects array at the location specified by indexPath, and adds it to the tree controller’s content. Full Topic

func (TreeController) InsertObjectsAtArrangedObjectIndexPaths

func (t_ TreeController) InsertObjectsAtArrangedObjectIndexPaths(objects []objc.IObject, indexPaths []foundation.IIndexPath)

Inserts objects into the tree controller’s arranged objects array at the locations specified in indexPaths, and adds them to the tree controller’s content. Full Topic

func (TreeController) LeafKeyPath

func (t_ TreeController) LeafKeyPath() string

The key path used by the tree controller to determine if a node is a leaf key. Full Topic

func (TreeController) LeafKeyPathForNode

func (t_ TreeController) LeafKeyPathForNode(node ITreeNode) string

Returns the key path that specifies whether the node is a leaf node. Full Topic

func (TreeController) MoveNodeToIndexPath

func (t_ TreeController) MoveNodeToIndexPath(node ITreeNode, indexPath foundation.IIndexPath)

Moves the specified tree node to the new index path. Full Topic

func (TreeController) MoveNodesToIndexPath

func (t_ TreeController) MoveNodesToIndexPath(nodes []ITreeNode, startingIndexPath foundation.IIndexPath)

Moves the specified tree nodes to the new index path. Full Topic

func (TreeController) PreservesSelection

func (t_ TreeController) PreservesSelection() bool

A Boolean value that indicates whether the tree controller will attempt to preserve the current selection when the content changes. Full Topic

func (TreeController) RearrangeObjects

func (t_ TreeController) RearrangeObjects()

Use this method to trigger reordering of the tree controller’s content. Full Topic

func (TreeController) RemoveObjectAtArrangedObjectIndexPath

func (t_ TreeController) RemoveObjectAtArrangedObjectIndexPath(indexPath foundation.IIndexPath)

Removes the object at the specified indexPath in the tree controller’s arranged objects from the tree controller’s content. Full Topic

func (TreeController) RemoveObjectsAtArrangedObjectIndexPaths

func (t_ TreeController) RemoveObjectsAtArrangedObjectIndexPaths(indexPaths []foundation.IIndexPath)

Removes the objects at the specified indexPaths in the tree controller’s arranged objects from the tree controller’s content. Full Topic

func (TreeController) RemoveSelectionIndexPaths

func (t_ TreeController) RemoveSelectionIndexPaths(indexPaths []foundation.IIndexPath) bool

Removes the objects at the specified indexPaths from the tree controller’s current selection, returning YES if the selection was changed. Full Topic

func (TreeController) SelectedNodes

func (t_ TreeController) SelectedNodes() []TreeNode

An array containing the tree controller’s selected tree nodes. Full Topic

func (TreeController) SelectionIndexPath

func (t_ TreeController) SelectionIndexPath() foundation.IndexPath

The index path of the first selected object. Full Topic

func (TreeController) SelectionIndexPaths

func (t_ TreeController) SelectionIndexPaths() []foundation.IndexPath

An array containing the index paths of the currently selected objects. Full Topic

func (TreeController) SelectsInsertedObjects

func (t_ TreeController) SelectsInsertedObjects() bool

A Boolean value that indicates whether the tree controller automatically selects objects as they are inserted. Full Topic

func (TreeController) SetAlwaysUsesMultipleValuesMarker

func (t_ TreeController) SetAlwaysUsesMultipleValuesMarker(value bool)

A Boolean value that indicates whether the tree controller always returns the multiple values marker when multiple objects are selected, even if the selected items have the same value. Full Topic

func (TreeController) SetAvoidsEmptySelection

func (t_ TreeController) SetAvoidsEmptySelection(value bool)

A Boolean value that indicates whether the tree controller requires the content array to attempt to maintain a selection at all times, avoiding an empty selection. Full Topic

func (TreeController) SetChildrenKeyPath

func (t_ TreeController) SetChildrenKeyPath(value string)

The key path used to find the children in the tree controller’s objects. Full Topic

func (TreeController) SetCountKeyPath

func (t_ TreeController) SetCountKeyPath(value string)

The key path used to find the number of children for a node. Full Topic

func (TreeController) SetLeafKeyPath

func (t_ TreeController) SetLeafKeyPath(value string)

The key path used by the tree controller to determine if a node is a leaf key. Full Topic

func (TreeController) SetPreservesSelection

func (t_ TreeController) SetPreservesSelection(value bool)

A Boolean value that indicates whether the tree controller will attempt to preserve the current selection when the content changes. Full Topic

func (TreeController) SetSelectionIndexPath

func (t_ TreeController) SetSelectionIndexPath(indexPath foundation.IIndexPath) bool

Sets the tree controller’s current selection. Full Topic

func (TreeController) SetSelectionIndexPaths

func (t_ TreeController) SetSelectionIndexPaths(indexPaths []foundation.IIndexPath) bool

Sets the tree controller’s current selection to the specified index paths. Full Topic

func (TreeController) SetSelectsInsertedObjects

func (t_ TreeController) SetSelectsInsertedObjects(value bool)

A Boolean value that indicates whether the tree controller automatically selects objects as they are inserted. Full Topic

func (TreeController) SetSortDescriptors

func (t_ TreeController) SetSortDescriptors(value []foundation.ISortDescriptor)

An array containing the sort descriptors used to arrange the tree controller’s content. Full Topic

func (TreeController) SortDescriptors

func (t_ TreeController) SortDescriptors() []foundation.SortDescriptor

An array containing the sort descriptors used to arrange the tree controller’s content. Full Topic

type TreeNode

type TreeNode struct {
	objc.Object
}

A node in a tree of nodes. Full Topic

func NewTreeNode

func NewTreeNode() TreeNode

func NewTreeNodeWithRepresentedObject

func NewTreeNodeWithRepresentedObject(modelObject objc.IObject) TreeNode

Initializes a newly allocated tree node that represents the specified object. Full Topic

func TreeNodeFrom

func TreeNodeFrom(ptr unsafe.Pointer) TreeNode

func TreeNode_Alloc

func TreeNode_Alloc() TreeNode

func TreeNode_TreeNodeWithRepresentedObject

func TreeNode_TreeNodeWithRepresentedObject(modelObject objc.IObject) TreeNode

Creates and returns a tree node that represents the specified object. Full Topic

func (TreeNode) ChildNodes

func (t_ TreeNode) ChildNodes() []TreeNode

An array containing receiver’s child nodes. Full Topic

func (TreeNode) DescendantNodeAtIndexPath

func (t_ TreeNode) DescendantNodeAtIndexPath(indexPath foundation.IIndexPath) TreeNode

Returns the receiver’s descendant at the specified index path. Full Topic

func (TreeNode) IndexPath

func (t_ TreeNode) IndexPath() foundation.IndexPath

The position of the receiver relative to its root parent. Full Topic

func (TreeNode) Init

func (t_ TreeNode) Init() TreeNode

func (TreeNode) InitWithRepresentedObject

func (t_ TreeNode) InitWithRepresentedObject(modelObject objc.IObject) TreeNode

func (TreeNode) IsLeaf

func (t_ TreeNode) IsLeaf() bool

A Boolean that indicates whether the receiver is a leaf node. Full Topic

func (TreeNode) MutableChildNodes

func (t_ TreeNode) MutableChildNodes() foundation.MutableArray

A mutable array that provides read-write access to the receiver’s child nodes. Full Topic

func (TreeNode) ParentNode

func (t_ TreeNode) ParentNode() TreeNode

The receiver’s parent node. Full Topic

func (TreeNode) RepresentedObject

func (t_ TreeNode) RepresentedObject() objc.Object

The object the tree node represents. Full Topic

func (TreeNode) SortWithSortDescriptorsRecursively

func (t_ TreeNode) SortWithSortDescriptorsRecursively(sortDescriptors []foundation.ISortDescriptor, recursively bool)

Sorts the receiver’s subtree using the values of the represented objects with the specified sort descriptors. Full Topic

type Typesetter

type Typesetter struct {
	objc.Object
}

An abstract class that performs various type layout tasks. Full Topic

func NewTypesetter

func NewTypesetter() Typesetter

func TypesetterFrom

func TypesetterFrom(ptr unsafe.Pointer) Typesetter

func Typesetter_Alloc

func Typesetter_Alloc() Typesetter

func Typesetter_SharedSystemTypesetter

func Typesetter_SharedSystemTypesetter() Typesetter

Returns a shared instance of a reentrant typesetter. Full Topic

func (Typesetter) AttributedString

func (t_ Typesetter) AttributedString() foundation.AttributedString

Returns the text backing store, usually an instance of NSTextStorage. Full Topic

func (Typesetter) AttributesForExtraLineFragment

func (t_ Typesetter) AttributesForExtraLineFragment() map[foundation.AttributedStringKey]objc.Object

Returns the attributes used to lay out the extra line fragment. Full Topic

func (Typesetter) BaselineOffsetInLayoutManagerGlyphIndex

func (t_ Typesetter) BaselineOffsetInLayoutManagerGlyphIndex(layoutMgr ILayoutManager, glyphIndex uint) float64

Returns the distance from the bottom of the line fragment rectangle in which the glyph resides to the glyph baseline. Full Topic

func (Typesetter) BeginLineWithGlyphAtIndex

func (t_ Typesetter) BeginLineWithGlyphAtIndex(glyphIndex uint)

Sets up layout parameters at the beginning of a line during typesetting. Full Topic

func (Typesetter) BeginParagraph

func (t_ Typesetter) BeginParagraph()

Sets up layout parameters at the beginning of a paragraph. Full Topic

func (Typesetter) BidiProcessingEnabled

func (t_ Typesetter) BidiProcessingEnabled() bool

Returns whether bidirectional text processing is enabled. Full Topic

func (Typesetter) BoundingBoxForControlGlyphAtIndexForTextContainerProposedLineFragmentGlyphPositionCharacterIndex

func (t_ Typesetter) BoundingBoxForControlGlyphAtIndexForTextContainerProposedLineFragmentGlyphPositionCharacterIndex(glyphIndex uint, textContainer ITextContainer, proposedRect foundation.Rect, glyphPosition foundation.Point, charIndex uint) foundation.Rect

Returns the bounding rectangle for the specified control glyph with the specified parameters. Full Topic

func (Typesetter) CharacterRangeForGlyphRangeActualGlyphRange

func (t_ Typesetter) CharacterRangeForGlyphRangeActualGlyphRange(glyphRange foundation.Range, actualGlyphRange foundation.RangePointer) foundation.Range

Returns the range for the characters in the receiver’s text store that are mapped to the specified glyphs. Full Topic

func (Typesetter) CurrentParagraphStyle

func (t_ Typesetter) CurrentParagraphStyle() ParagraphStyle

Returns the paragraph style object for the text being typeset. Full Topic

func (Typesetter) CurrentTextContainer

func (t_ Typesetter) CurrentTextContainer() TextContainer

Returns the text container for the text being typeset. Full Topic

func (Typesetter) EndLineWithGlyphRange

func (t_ Typesetter) EndLineWithGlyphRange(lineGlyphRange foundation.Range)

Sets up layout parameters at the end of a line during typesetting. Full Topic

func (Typesetter) EndParagraph

func (t_ Typesetter) EndParagraph()

Sets up layout parameters at the end of a paragraph. Full Topic

func (Typesetter) GetLineFragmentRectUsedRectRemainingRectForStartingGlyphAtIndexProposedRectLineSpacingParagraphSpacingBeforeParagraphSpacingAfter

func (t_ Typesetter) GetLineFragmentRectUsedRectRemainingRectForStartingGlyphAtIndexProposedRectLineSpacingParagraphSpacingBeforeParagraphSpacingAfter(lineFragmentRect foundation.RectPointer, lineFragmentUsedRect foundation.RectPointer, remainingRect foundation.RectPointer, startingGlyphIndex uint, proposedRect foundation.Rect, lineSpacing float64, paragraphSpacingBefore float64, paragraphSpacingAfter float64)

Calculates line fragment rectangle, line fragment used rectangle, and remaining rectangle for a line fragment. Full Topic

func (Typesetter) GlyphRangeForCharacterRangeActualCharacterRange

func (t_ Typesetter) GlyphRangeForCharacterRangeActualCharacterRange(charRange foundation.Range, actualCharRange foundation.RangePointer) foundation.Range

Returns the range for the glyphs mapped to the characters of the text store in the specified range. Full Topic

func (Typesetter) HyphenCharacterForGlyphAtIndex

func (t_ Typesetter) HyphenCharacterForGlyphAtIndex(glyphIndex uint) objc.Object

Returns the hyphen character to be inserted after the specified glyph. Full Topic

func (Typesetter) HyphenationFactor

func (t_ Typesetter) HyphenationFactor() float64

Returns the current hyphenation factor. Full Topic

func (Typesetter) HyphenationFactorForGlyphAtIndex

func (t_ Typesetter) HyphenationFactorForGlyphAtIndex(glyphIndex uint) float64

Returns the hyphenation factor in effect at a specified location. Full Topic

func (Typesetter) Init

func (t_ Typesetter) Init() Typesetter

func (Typesetter) LayoutCharactersInRangeForLayoutManagerMaximumNumberOfLineFragments

func (t_ Typesetter) LayoutCharactersInRangeForLayoutManagerMaximumNumberOfLineFragments(characterRange foundation.Range, layoutManager ILayoutManager, maxNumLines uint) foundation.Range

Lays out characters in the given character range for the specified layout manager. Full Topic

func (Typesetter) LayoutManager

func (t_ Typesetter) LayoutManager() LayoutManager

Returns the layout manager for the text being typeset. Full Topic

func (Typesetter) LayoutParagraphAtPoint

func (t_ Typesetter) LayoutParagraphAtPoint(lineFragmentOrigin foundation.PointPointer) uint

Lays out glyphs in the current glyph range until the next paragraph separator is reached. Full Topic

func (Typesetter) LineFragmentPadding

func (t_ Typesetter) LineFragmentPadding() float64

Returns the current line fragment padding, in points. Full Topic

func (Typesetter) LineSpacingAfterGlyphAtIndexWithProposedLineFragmentRect

func (t_ Typesetter) LineSpacingAfterGlyphAtIndexWithProposedLineFragmentRect(glyphIndex uint, rect foundation.Rect) float64

Returns the line spacing in effect following the specified glyph. Full Topic

func (Typesetter) ParagraphCharacterRange

func (t_ Typesetter) ParagraphCharacterRange() foundation.Range

Returns the character range currently being processed. Full Topic

func (Typesetter) ParagraphGlyphRange

func (t_ Typesetter) ParagraphGlyphRange() foundation.Range

Returns the glyph range currently being processed. Full Topic

func (Typesetter) ParagraphSeparatorCharacterRange

func (t_ Typesetter) ParagraphSeparatorCharacterRange() foundation.Range

Returns the current paragraph separator character range. Full Topic

func (Typesetter) ParagraphSeparatorGlyphRange

func (t_ Typesetter) ParagraphSeparatorGlyphRange() foundation.Range

Returns the current paragraph separator range. Full Topic

func (Typesetter) ParagraphSpacingAfterGlyphAtIndexWithProposedLineFragmentRect

func (t_ Typesetter) ParagraphSpacingAfterGlyphAtIndexWithProposedLineFragmentRect(glyphIndex uint, rect foundation.Rect) float64

Returns the paragraph spacing that is in effect after the specified glyph. Full Topic

func (Typesetter) ParagraphSpacingBeforeGlyphAtIndexWithProposedLineFragmentRect

func (t_ Typesetter) ParagraphSpacingBeforeGlyphAtIndexWithProposedLineFragmentRect(glyphIndex uint, rect foundation.Rect) float64

Returns the number of points of space—added before a paragraph—that is in effect before the specified glyph. Full Topic

func (Typesetter) SetAttachmentSizeForGlyphRange

func (t_ Typesetter) SetAttachmentSizeForGlyphRange(attachmentSize foundation.Size, glyphRange foundation.Range)

Sets the size the specified glyphs (assumed to be attachments) will be asked to draw themselves at. Full Topic

func (Typesetter) SetAttributedString

func (t_ Typesetter) SetAttributedString(value foundation.IAttributedString)

Returns the text backing store, usually an instance of NSTextStorage. Full Topic

func (Typesetter) SetBidiLevelsForGlyphRange

func (t_ Typesetter) SetBidiLevelsForGlyphRange(levels *uint8, glyphRange foundation.Range)

Sets the direction of the specified glyphs for bidirectional text. Full Topic

func (Typesetter) SetBidiProcessingEnabled

func (t_ Typesetter) SetBidiProcessingEnabled(value bool)

Returns whether bidirectional text processing is enabled. Full Topic

func (Typesetter) SetDrawsOutsideLineFragmentForGlyphRange

func (t_ Typesetter) SetDrawsOutsideLineFragmentForGlyphRange(flag bool, glyphRange foundation.Range)

Sets whether the specified glyphs exceed the bounds of the line fragment in which they are laid out. Full Topic

func (Typesetter) SetHardInvalidationForGlyphRange

func (t_ Typesetter) SetHardInvalidationForGlyphRange(flag bool, glyphRange foundation.Range)

Sets whether to force the layout manager to invalidate the specified portion of the glyph cache when invalidating layout. Full Topic

func (Typesetter) SetHyphenationFactor

func (t_ Typesetter) SetHyphenationFactor(value float64)

Returns the current hyphenation factor. Full Topic

func (Typesetter) SetLineFragmentPadding

func (t_ Typesetter) SetLineFragmentPadding(value float64)

Returns the current line fragment padding, in points. Full Topic

func (Typesetter) SetLineFragmentRectForGlyphRangeUsedRectBaselineOffset

func (t_ Typesetter) SetLineFragmentRectForGlyphRangeUsedRectBaselineOffset(fragmentRect foundation.Rect, glyphRange foundation.Range, usedRect foundation.Rect, baselineOffset float64)

Sets the line fragment rectangle where the specified glyphs are laid out. Full Topic

func (Typesetter) SetLocationWithAdvancementsForStartOfGlyphRange

func (t_ Typesetter) SetLocationWithAdvancementsForStartOfGlyphRange(location foundation.Point, advancements *float64, glyphRange foundation.Range)

Sets the location where the specified glyphs are laid out. Full Topic

func (Typesetter) SetNotShownAttributeForGlyphRange

func (t_ Typesetter) SetNotShownAttributeForGlyphRange(flag bool, glyphRange foundation.Range)

Sets whether the specified glyphs are not shown. Full Topic

func (Typesetter) SetParagraphGlyphRangeSeparatorGlyphRange

func (t_ Typesetter) SetParagraphGlyphRangeSeparatorGlyphRange(paragraphRange foundation.Range, paragraphSeparatorRange foundation.Range)

Sets the current glyph range being processed. Full Topic

func (Typesetter) SetTypesetterBehavior

func (t_ Typesetter) SetTypesetterBehavior(value TypesetterBehavior)

Returns the current typesetter behavior. Full Topic

func (Typesetter) SetUsesFontLeading

func (t_ Typesetter) SetUsesFontLeading(value bool)

Returns whether the typesetter uses the leading (or line gap) value specified in the font metric information of the current font. Full Topic

func (Typesetter) ShouldBreakLineByHyphenatingBeforeCharacterAtIndex

func (t_ Typesetter) ShouldBreakLineByHyphenatingBeforeCharacterAtIndex(charIndex uint) bool

Returns whether the line being laid out should be broken by hyphenating at the specified character. Full Topic

func (Typesetter) ShouldBreakLineByWordBeforeCharacterAtIndex

func (t_ Typesetter) ShouldBreakLineByWordBeforeCharacterAtIndex(charIndex uint) bool

Returns whether the line being laid out should be broken by a word break at the specified character. Full Topic

func (Typesetter) SubstituteFontForFont

func (t_ Typesetter) SubstituteFontForFont(originalFont IFont) Font

Returns a screen font suitable for use in place of a given font. Full Topic

func (Typesetter) TextContainers

func (t_ Typesetter) TextContainers() []TextContainer

Returns an array containing the text containers belonging to the current layout manager. Full Topic

func (Typesetter) TextTabForGlyphLocationWritingDirectionMaxLocation

func (t_ Typesetter) TextTabForGlyphLocationWritingDirectionMaxLocation(glyphLocation float64, direction WritingDirection, maxLocation float64) TextTab

Returns the text tab next closest to a given glyph location within the given parameters. Full Topic

func (Typesetter) TypesetterBehavior

func (t_ Typesetter) TypesetterBehavior() TypesetterBehavior

Returns the current typesetter behavior. Full Topic

func (Typesetter) UsesFontLeading

func (t_ Typesetter) UsesFontLeading() bool

Returns whether the typesetter uses the leading (or line gap) value specified in the font metric information of the current font. Full Topic

func (Typesetter) WillSetLineFragmentRectForGlyphRangeUsedRectBaselineOffset

func (t_ Typesetter) WillSetLineFragmentRectForGlyphRangeUsedRectBaselineOffset(lineRect foundation.RectPointer, glyphRange foundation.Range, usedRect foundation.RectPointer, baselineOffset *float64)

Called by the typesetter just prior to storing the actual line fragment rectangle location in the layout manager. Full Topic

type TypesetterBehavior

type TypesetterBehavior int

Constants that determine the layout manager's behavior during layout. Full Topic

const (
	TypesetterBehavior_10_2                   TypesetterBehavior = 2
	TypesetterBehavior_10_2_WithCompatibility TypesetterBehavior = 1
	TypesetterBehavior_10_3                   TypesetterBehavior = 3
	TypesetterBehavior_10_4                   TypesetterBehavior = 4
	TypesetterLatestBehavior                  TypesetterBehavior = -1
	TypesetterOriginalBehavior                TypesetterBehavior = 0
)

func Typesetter_DefaultTypesetterBehavior

func Typesetter_DefaultTypesetterBehavior() TypesetterBehavior

Returns the default typesetter behavior. Full Topic

type TypesetterControlCharacterAction

type TypesetterControlCharacterAction uint

The following constants are possible values returned by the actionForControlCharacterAtIndex: method to determine the action associated with a control character. Full Topic

const (
	TypesetterContainerBreakAction  TypesetterControlCharacterAction = 32
	TypesetterHorizontalTabAction   TypesetterControlCharacterAction = 4
	TypesetterLineBreakAction       TypesetterControlCharacterAction = 8
	TypesetterParagraphBreakAction  TypesetterControlCharacterAction = 16
	TypesetterWhitespaceAction      TypesetterControlCharacterAction = 2
	TypesetterZeroAdvancementAction TypesetterControlCharacterAction = 1
)

type UnderlineStyle

type UnderlineStyle int

Constants for the underline style and strikethrough style attribute keys. Full Topic

const (
	UnderlineStyleByWord            UnderlineStyle = 32768
	UnderlineStyleDouble            UnderlineStyle = 9
	UnderlineStyleNone              UnderlineStyle = 0
	UnderlineStylePatternDash       UnderlineStyle = 512
	UnderlineStylePatternDashDot    UnderlineStyle = 768
	UnderlineStylePatternDashDotDot UnderlineStyle = 1024
	UnderlineStylePatternDot        UnderlineStyle = 256
	UnderlineStylePatternSolid      UnderlineStyle = 0
	UnderlineStyleSingle            UnderlineStyle = 1
	UnderlineStyleThick             UnderlineStyle = 2
)

type UsableScrollerParts

type UsableScrollerParts uint

These constants specify which parts of the scroller are visible. Full Topic

const (
	AllScrollerParts   UsableScrollerParts = 2
	NoScrollerParts    UsableScrollerParts = 0
	OnlyScrollerArrows UsableScrollerParts = 1
)

type UserActivityRestoringWrapper

type UserActivityRestoringWrapper struct {
	objc.Object
}

A concrete type wrapper for the PUserActivityRestoring protocol.

func (UserActivityRestoringWrapper) HasRestoreUserActivityState

func (u_ UserActivityRestoringWrapper) HasRestoreUserActivityState() bool

func (UserActivityRestoringWrapper) RestoreUserActivityState

func (u_ UserActivityRestoringWrapper) RestoreUserActivityState(userActivity foundation.IUserActivity)

Restores the state necessary to continue the specified user activity. Full Topic

type UserDefaultsController

type UserDefaultsController struct {
	Controller
}

A controller that accesses user preference information for your app from the user’s defaults database. Full Topic

func NewUserDefaultsController

func NewUserDefaultsController() UserDefaultsController

func NewUserDefaultsControllerWithDefaultsInitialValues

func NewUserDefaultsControllerWithDefaultsInitialValues(defaults foundation.IUserDefaults, initialValues map[string]objc.IObject) UserDefaultsController

Returns an initialized NSUserDefaultsController object using the NSUserDefaults instance specified in defaults and the initial default values contained in the initialValues dictionary. Full Topic

func UserDefaultsControllerFrom

func UserDefaultsControllerFrom(ptr unsafe.Pointer) UserDefaultsController

func UserDefaultsController_Alloc

func UserDefaultsController_Alloc() UserDefaultsController

func UserDefaultsController_SharedUserDefaultsController

func UserDefaultsController_SharedUserDefaultsController() UserDefaultsController

Returns the shared instance of NSUserDefaultsController, creating it if necessary. Full Topic

func (UserDefaultsController) AppliesImmediately

func (u_ UserDefaultsController) AppliesImmediately() bool

Returns whether any changes made to bound user default properties are saved immediately. Full Topic

func (UserDefaultsController) Defaults

Returns the instance of NSUserDefaults in use by the receiver. Full Topic

func (UserDefaultsController) HasUnappliedChanges

func (u_ UserDefaultsController) HasUnappliedChanges() bool

Returns whether the receiver has user default values that have not been saved to NSUserDefaults. Full Topic

func (UserDefaultsController) Init

func (UserDefaultsController) InitWithDefaultsInitialValues

func (u_ UserDefaultsController) InitWithDefaultsInitialValues(defaults foundation.IUserDefaults, initialValues map[string]objc.IObject) UserDefaultsController

func (UserDefaultsController) InitialValues

func (u_ UserDefaultsController) InitialValues() map[string]objc.Object

Returns a dictionary containing the receiver’s initial default values. Full Topic

func (UserDefaultsController) Revert

func (u_ UserDefaultsController) Revert(sender objc.IObject) objc.Object

Causes the receiver to discard any unsaved changes to bound user default properties, restoring their previous values. Full Topic

func (UserDefaultsController) RevertToInitialValues

func (u_ UserDefaultsController) RevertToInitialValues(sender objc.IObject) objc.Object

Causes the receiver to discard all edits and replace the values of all the user default properties with any corresponding values in the initialValues dictionary. Full Topic

func (UserDefaultsController) Save

func (u_ UserDefaultsController) Save(sender objc.IObject) objc.Object

Saves the values of the receiver’s user default properties. Full Topic

func (UserDefaultsController) SetAppliesImmediately

func (u_ UserDefaultsController) SetAppliesImmediately(value bool)

Returns whether any changes made to bound user default properties are saved immediately. Full Topic

func (UserDefaultsController) SetInitialValues

func (u_ UserDefaultsController) SetInitialValues(value map[string]objc.IObject)

Returns a dictionary containing the receiver’s initial default values. Full Topic

func (UserDefaultsController) Values

func (u_ UserDefaultsController) Values() objc.Object

Returns a key value coding compliant object that is used to access the user default properties. Full Topic

type UserInterfaceCompressionOptions

type UserInterfaceCompressionOptions struct {
	objc.Object
}

An object that specifies how user interface elements resize themselves when space is constrained. Full Topic

func NewUserInterfaceCompressionOptions

func NewUserInterfaceCompressionOptions() UserInterfaceCompressionOptions

func NewUserInterfaceCompressionOptionsWithCompressionOptions

func NewUserInterfaceCompressionOptionsWithCompressionOptions(options foundation.ISet) UserInterfaceCompressionOptions

Creates an option object that represents the union of the supplied options. Full Topic

func NewUserInterfaceCompressionOptionsWithIdentifier

func NewUserInterfaceCompressionOptionsWithIdentifier(identifier string) UserInterfaceCompressionOptions

Creates an option object with the given identifier string. Full Topic

func UserInterfaceCompressionOptionsFrom

func UserInterfaceCompressionOptionsFrom(ptr unsafe.Pointer) UserInterfaceCompressionOptions

func UserInterfaceCompressionOptions_Alloc

func UserInterfaceCompressionOptions_Alloc() UserInterfaceCompressionOptions

func UserInterfaceCompressionOptions_BreakEqualWidthsOption

func UserInterfaceCompressionOptions_BreakEqualWidthsOption() UserInterfaceCompressionOptions

An option specifying that views should no longer maintain equal width constraints. Full Topic

func UserInterfaceCompressionOptions_HideImagesOption

func UserInterfaceCompressionOptions_HideImagesOption() UserInterfaceCompressionOptions

An option specifying that views should hide their images. Full Topic

func UserInterfaceCompressionOptions_HideTextOption

func UserInterfaceCompressionOptions_HideTextOption() UserInterfaceCompressionOptions

An option specifying that views should hide their text. Full Topic

func UserInterfaceCompressionOptions_ReduceMetricsOption

func UserInterfaceCompressionOptions_ReduceMetricsOption() UserInterfaceCompressionOptions

An option specifying that views should reduce their internal metrics. Full Topic

func UserInterfaceCompressionOptions_StandardOptions

func UserInterfaceCompressionOptions_StandardOptions() UserInterfaceCompressionOptions

An option that represents the union of all standard compression options. Full Topic

func (UserInterfaceCompressionOptions) ContainsOptions

Determines whether the supplied compression options are all present in the current instance. Full Topic

func (UserInterfaceCompressionOptions) Init

func (UserInterfaceCompressionOptions) InitWithCompressionOptions

func (u_ UserInterfaceCompressionOptions) InitWithCompressionOptions(options foundation.ISet) UserInterfaceCompressionOptions

func (UserInterfaceCompressionOptions) InitWithIdentifier

func (UserInterfaceCompressionOptions) IntersectsOptions

Determines whether the supplied compression options intersect with the current instance's options. Full Topic

func (UserInterfaceCompressionOptions) IsEmpty

A Boolean value that denotes whether the option is empty. Full Topic

func (UserInterfaceCompressionOptions) OptionsByAddingOptions

Creates a new compression options object representing the union with the provided options. Full Topic

func (UserInterfaceCompressionOptions) OptionsByRemovingOptions

Creates a new compression options object with the supplied options removed. Full Topic

type UserInterfaceCompressionWrapper

type UserInterfaceCompressionWrapper struct {
	objc.Object
}

A concrete type wrapper for the PUserInterfaceCompression protocol.

func (UserInterfaceCompressionWrapper) ActiveCompressionOptions

The compression options that are currently applied to the view. Full Topic

func (UserInterfaceCompressionWrapper) CompressWithPrioritizedCompressionOptions

func (u_ UserInterfaceCompressionWrapper) CompressWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions)

Compress the view by applying the specified compression options. Full Topic

func (UserInterfaceCompressionWrapper) HasActiveCompressionOptions

func (u_ UserInterfaceCompressionWrapper) HasActiveCompressionOptions() bool

func (UserInterfaceCompressionWrapper) HasCompressWithPrioritizedCompressionOptions

func (u_ UserInterfaceCompressionWrapper) HasCompressWithPrioritizedCompressionOptions() bool

func (UserInterfaceCompressionWrapper) HasMinimumSizeWithPrioritizedCompressionOptions

func (u_ UserInterfaceCompressionWrapper) HasMinimumSizeWithPrioritizedCompressionOptions() bool

func (UserInterfaceCompressionWrapper) MinimumSizeWithPrioritizedCompressionOptions

func (u_ UserInterfaceCompressionWrapper) MinimumSizeWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions) foundation.Size

Returns the minimum size a view can achieve by applying the supplied compression options. Full Topic

type UserInterfaceItemIdentificationWrapper

type UserInterfaceItemIdentificationWrapper struct {
	objc.Object
}

A concrete type wrapper for the PUserInterfaceItemIdentification protocol.

func (UserInterfaceItemIdentificationWrapper) HasIdentifier

func (u_ UserInterfaceItemIdentificationWrapper) HasIdentifier() bool

func (UserInterfaceItemIdentificationWrapper) HasSetIdentifier

func (u_ UserInterfaceItemIdentificationWrapper) HasSetIdentifier() bool

func (UserInterfaceItemIdentificationWrapper) Identifier

A string that identifies the user interface item. Full Topic

func (UserInterfaceItemIdentificationWrapper) SetIdentifier

A string that identifies the user interface item. Full Topic

type UserInterfaceItemIdentifier

type UserInterfaceItemIdentifier string
[Full Topic]
const (
	MenuItemImportFromDeviceIdentifier UserInterfaceItemIdentifier = "NSMenuItemImportFromDeviceIdentifier"
	OutlineViewDisclosureButtonKey     UserInterfaceItemIdentifier = "NSOutlineViewDisclosureButtonKey"
	OutlineViewShowHideButtonKey       UserInterfaceItemIdentifier = "NSOutlineViewShowHideButtonKey"
	TableViewRowViewKey                UserInterfaceItemIdentifier = "NSTableViewRowViewKey"
)

type UserInterfaceItemSearchingWrapper

type UserInterfaceItemSearchingWrapper struct {
	objc.Object
}

A concrete type wrapper for the PUserInterfaceItemSearching protocol.

func (UserInterfaceItemSearchingWrapper) HasLocalizedTitlesForItem

func (u_ UserInterfaceItemSearchingWrapper) HasLocalizedTitlesForItem() bool

func (UserInterfaceItemSearchingWrapper) HasPerformActionForItem

func (u_ UserInterfaceItemSearchingWrapper) HasPerformActionForItem() bool

func (UserInterfaceItemSearchingWrapper) HasSearchForItemsWithSearchStringResultLimitMatchedItemHandler

func (u_ UserInterfaceItemSearchingWrapper) HasSearchForItemsWithSearchStringResultLimitMatchedItemHandler() bool

func (UserInterfaceItemSearchingWrapper) HasShowAllHelpTopicsForSearchString

func (u_ UserInterfaceItemSearchingWrapper) HasShowAllHelpTopicsForSearchString() bool

func (UserInterfaceItemSearchingWrapper) LocalizedTitlesForItem

func (u_ UserInterfaceItemSearchingWrapper) LocalizedTitlesForItem(item objc.IObject) []string

Returns an array of localized strings that will form the help menu item. Full Topic

func (UserInterfaceItemSearchingWrapper) PerformActionForItem

func (u_ UserInterfaceItemSearchingWrapper) PerformActionForItem(item objc.IObject)

Invoked when the user selects a search result in Help menu. Full Topic

func (UserInterfaceItemSearchingWrapper) SearchForItemsWithSearchStringResultLimitMatchedItemHandler

func (u_ UserInterfaceItemSearchingWrapper) SearchForItemsWithSearchStringResultLimitMatchedItemHandler(searchString string, resultLimit int, handleMatchedItems func(items []objc.Object))

Search for the specified items, with the result limit. Full Topic

func (UserInterfaceItemSearchingWrapper) ShowAllHelpTopicsForSearchString

func (u_ UserInterfaceItemSearchingWrapper) ShowAllHelpTopicsForSearchString(searchString string)

If this method is implemented, a "Show All Help Topics" item will appear in the menu and this method is called when the user selects it. Full Topic

type UserInterfaceLayoutDirection

type UserInterfaceLayoutDirection int

Specifies the directional flow of the user interface. Full Topic

const (
	UserInterfaceLayoutDirectionLeftToRight UserInterfaceLayoutDirection = 0
	UserInterfaceLayoutDirectionRightToLeft UserInterfaceLayoutDirection = 1
)

type UserInterfaceLayoutOrientation

type UserInterfaceLayoutOrientation int

The stack view layout directions, and user interface axes for hugging priority and clipping resistance. Full Topic

const (
	UserInterfaceLayoutOrientationHorizontal UserInterfaceLayoutOrientation = 0
	UserInterfaceLayoutOrientationVertical   UserInterfaceLayoutOrientation = 1
)

type UserInterfaceValidationsWrapper

type UserInterfaceValidationsWrapper struct {
	objc.Object
}

A concrete type wrapper for the PUserInterfaceValidations protocol.

func (UserInterfaceValidationsWrapper) HasValidateUserInterfaceItem

func (u_ UserInterfaceValidationsWrapper) HasValidateUserInterfaceItem() bool

func (UserInterfaceValidationsWrapper) ValidateUserInterfaceItem

func (u_ UserInterfaceValidationsWrapper) ValidateUserInterfaceItem(item PValidatedUserInterfaceItem) bool

Returns a Boolean value that indicates whether the sender should be enabled. Full Topic

type ValidatedUserInterfaceItemWrapper

type ValidatedUserInterfaceItemWrapper struct {
	objc.Object
}

A concrete type wrapper for the PValidatedUserInterfaceItem protocol.

func (ValidatedUserInterfaceItemWrapper) Action

Returns the selector of the receiver’s action method. Full Topic

func (ValidatedUserInterfaceItemWrapper) HasAction

func (v_ ValidatedUserInterfaceItemWrapper) HasAction() bool

func (ValidatedUserInterfaceItemWrapper) HasTag

func (ValidatedUserInterfaceItemWrapper) Tag

Returns the receiver’s tag integer. Full Topic

type View

type View struct {
	Responder
}

The infrastructure for drawing, printing, and handling events in an app. Full Topic

func GridCell_EmptyContentView

func GridCell_EmptyContentView() View
[Full Topic]

func NewView

func NewView() View

func NewViewWithFrame

func NewViewWithFrame(frameRect foundation.Rect) View

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func ViewFrom

func ViewFrom(ptr unsafe.Pointer) View

func View_Alloc

func View_Alloc() View

func View_FocusView

func View_FocusView() View

The currently focused view object. Full Topic

func (View) AcceptsFirstMouse

func (v_ View) AcceptsFirstMouse(event IEvent) bool

Overridden by subclasses to return YES if the view should be sent a mouseDown: message for an initial mouse-down event, NO if not. Full Topic

func (View) AddConstraint

func (v_ View) AddConstraint(constraint ILayoutConstraint)

Adds a constraint on the layout of the receiving view or its subviews. Full Topic

func (View) AddConstraints

func (v_ View) AddConstraints(constraints []ILayoutConstraint)

Adds multiple constraints on the layout of the receiving view or its subviews. Full Topic

func (View) AddCursorRectCursor

func (v_ View) AddCursorRectCursor(rect foundation.Rect, object ICursor)

Establishes the cursor to be used when the mouse pointer lies within a specified region. Full Topic

func (View) AddGestureRecognizer

func (v_ View) AddGestureRecognizer(gestureRecognizer IGestureRecognizer)

Attaches a gesture recognizer to the view. Full Topic

func (View) AddLayoutGuide

func (v_ View) AddLayoutGuide(guide ILayoutGuide)

Adds the provided layout guide to the view. Full Topic

func (View) AddSubview

func (v_ View) AddSubview(view IView)

Adds a view to the view’s subviews so it’s displayed above its siblings. Full Topic

func (View) AddSubviewPositionedRelativeTo

func (v_ View) AddSubviewPositionedRelativeTo(view IView, place WindowOrderingMode, otherView IView)

Inserts a view among the view’s subviews so it’s displayed immediately above or below another view. Full Topic

func (View) AddToolTipRectOwnerUserData

func (v_ View) AddToolTipRectOwnerUserData(rect foundation.Rect, owner objc.IObject, data unsafe.Pointer) ToolTipTag

Creates a tooltip for a defined area in the view and returns a tag that identifies the tooltip rectangle. Full Topic

func (View) AddTrackingArea

func (v_ View) AddTrackingArea(trackingArea ITrackingArea)

Adds a given tracking area to the view. Full Topic

func (View) AddTrackingRectOwnerUserDataAssumeInside

func (v_ View) AddTrackingRectOwnerUserDataAssumeInside(rect foundation.Rect, owner objc.IObject, data unsafe.Pointer, flag bool) TrackingRectTag

Establishes an area for tracking mouse-entered and mouse-exited events within the view and returns a tag that identifies the tracking rectangle. Full Topic

func (View) AdditionalSafeAreaInsets

func (v_ View) AdditionalSafeAreaInsets() foundation.EdgeInsets

Custom insets that you specify to modify your view’s safe area Full Topic

func (View) AdjustPageHeightNewTopBottomLimit

func (v_ View) AdjustPageHeightNewTopBottomLimit(newBottom *float64, oldTop float64, oldBottom float64, bottomLimit float64)

Overridden by subclasses to adjust page height during automatic pagination. Full Topic

func (View) AdjustPageWidthNewLeftRightLimit

func (v_ View) AdjustPageWidthNewLeftRightLimit(newRight *float64, oldLeft float64, oldRight float64, rightLimit float64)

Overridden by subclasses to adjust page width during automatic pagination. Full Topic

func (View) AdjustScroll

func (v_ View) AdjustScroll(newVisible foundation.Rect) foundation.Rect

Overridden by subclasses to modify a given rectangle, returning the altered rectangle. Full Topic

func (View) AlignmentRectForFrame

func (v_ View) AlignmentRectForFrame(frame foundation.Rect) foundation.Rect

Returns the view’s alignment rectangle for a given frame. Full Topic

func (View) AlignmentRectInsets

func (v_ View) AlignmentRectInsets() foundation.EdgeInsets

The insets (in points) from the view’s frame that define its content rectangle. Full Topic

func (View) AllowedTouchTypes

func (v_ View) AllowedTouchTypes() TouchTypeMask

The types of touch interactions the view allows. Full Topic

func (View) AllowsVibrancy

func (v_ View) AllowsVibrancy() bool

A Boolean value indicating whether the view ensures it is vibrant on top of other content. Full Topic

func (View) AlphaValue

func (v_ View) AlphaValue() float64

The opacity of the view. Full Topic

func (View) AncestorSharedWithView

func (v_ View) AncestorSharedWithView(view IView) View

Returns the closest ancestor shared by the view and another specified view. Full Topic

func (View) AutoresizesSubviews

func (v_ View) AutoresizesSubviews() bool

A Boolean value indicating whether the view applies the autoresizing behavior to its subviews when its frame size changes. Full Topic

func (View) AutoresizingMask

func (v_ View) AutoresizingMask() AutoresizingMaskOptions

The options that determine how the view is resized relative to its superview. Full Topic

func (View) Autoscroll

func (v_ View) Autoscroll(event IEvent) bool

Scrolls the view’s closest ancestor NSClipView object proportionally to the distance of an event that occurs outside of it. Full Topic

func (View) BackgroundFilters

func (v_ View) BackgroundFilters() []coreimage.Filter

An array of Core Image filters to apply to the view’s background. Full Topic

func (View) BackingAlignedRectOptions

func (v_ View) BackingAlignedRectOptions(rect foundation.Rect, options foundation.AlignmentOptions) foundation.Rect

Returns a backing store pixel-aligned rectangle in local view coordinates. Full Topic

func (View) BaselineOffsetFromBottom

func (v_ View) BaselineOffsetFromBottom() float64

The distance (in points) between the bottom of the view’s alignment rectangle and its baseline. Full Topic

func (View) BeginDocument

func (v_ View) BeginDocument()

Invoked at the beginning of the printing session, this method sets up the current graphics context. Full Topic

func (View) BeginDraggingSessionWithItemsEventSource

func (v_ View) BeginDraggingSessionWithItemsEventSource(items []IDraggingItem, event IEvent, source PDraggingSource) DraggingSession

Initiates a dragging session with a group of dragging items. Full Topic

func (View) BeginDraggingSessionWithItemsEventSourceObject

func (v_ View) BeginDraggingSessionWithItemsEventSourceObject(items []IDraggingItem, event IEvent, sourceObject objc.IObject) DraggingSession

Initiates a dragging session with a group of dragging items. Full Topic

func (View) BeginPageInRectAtPlacement

func (v_ View) BeginPageInRectAtPlacement(rect foundation.Rect, location foundation.Point)

Called at the beginning of each page, this method sets up the coordinate system so that a region inside the view’s bounds is translated to a specified location. Full Topic

func (View) BitmapImageRepForCachingDisplayInRect

func (v_ View) BitmapImageRepForCachingDisplayInRect(rect foundation.Rect) BitmapImageRep

Returns a bitmap-representation object suitable for caching the specified portion of the view. Full Topic

func (View) BottomAnchor

func (v_ View) BottomAnchor() LayoutYAxisAnchor

A layout anchor representing the bottom edge of the view’s frame. Full Topic

func (View) Bounds

func (v_ View) Bounds() foundation.Rect

The view’s bounds rectangle, which expresses its location and size in its own coordinate system. Full Topic

func (View) BoundsRotation

func (v_ View) BoundsRotation() float64

The angle of rotation, measured in degrees, applied to the view’s bounds rectangle relative to its frame rectangle. Full Topic

func (View) CacheDisplayInRectToBitmapImageRep

func (v_ View) CacheDisplayInRectToBitmapImageRep(rect foundation.Rect, bitmapImageRep IBitmapImageRep)

Draws the specified area of the view, and its descendants, into a provided bitmap-representation object. Full Topic

func (View) CanBecomeKeyView

func (v_ View) CanBecomeKeyView() bool

A Boolean value indicating whether the view can become key view. Full Topic

func (View) CanDrawConcurrently

func (v_ View) CanDrawConcurrently() bool

A Boolean value indicating whether the view can draw its contents on a background thread. Full Topic

func (View) CanDrawSubviewsIntoLayer

func (v_ View) CanDrawSubviewsIntoLayer() bool

A Boolean value indicating whether the view incorporates content from its subviews into its own layer. Full Topic

func (View) CandidateListTouchBarItem

func (v_ View) CandidateListTouchBarItem() CandidateListTouchBarItem
[Full Topic]

func (View) CenterScanRect

func (v_ View) CenterScanRect(rect foundation.Rect) foundation.Rect

Converts the corners of a specified rectangle to lie on the center of device pixels, which is useful in compensating for rendering overscanning when the coordinate system has been scaled. Full Topic

func (View) CenterXAnchor

func (v_ View) CenterXAnchor() LayoutXAxisAnchor

A layout anchor representing the horizontal center of the view’s frame. Full Topic

func (View) CenterYAnchor

func (v_ View) CenterYAnchor() LayoutYAxisAnchor

A layout anchor representing the vertical center of the view’s frame. Full Topic

func (View) CompositingFilter

func (v_ View) CompositingFilter() coreimage.Filter

The Core Image filter used to composite the view’s contents with its background. Full Topic

func (View) Constraints

func (v_ View) Constraints() []LayoutConstraint

Returns the constraints held by the view. Full Topic

func (View) ConstraintsAffectingLayoutForOrientation

func (v_ View) ConstraintsAffectingLayoutForOrientation(orientation LayoutConstraintOrientation) []LayoutConstraint

Returns the constraints impacting the layout of the view for a given orientation. Full Topic

func (View) ContentCompressionResistancePriorityForOrientation

func (v_ View) ContentCompressionResistancePriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority

Returns the priority with which a view resists being made smaller than its intrinsic size. Full Topic

func (View) ContentFilters

func (v_ View) ContentFilters() []coreimage.Filter

An array of Core Image filters to apply to the contents of the view and its sublayers. Full Topic

func (View) ContentHuggingPriorityForOrientation

func (v_ View) ContentHuggingPriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority

Returns the priority with which a view resists being made larger than its intrinsic size. Full Topic

func (View) ConvertPointFromBacking

func (v_ View) ConvertPointFromBacking(point foundation.Point) foundation.Point

Converts a point from its pixel aligned backing store coordinate system to the view’s interior coordinate system. Full Topic

func (View) ConvertPointFromLayer

func (v_ View) ConvertPointFromLayer(point foundation.Point) foundation.Point

Convert the point from the layer's interior coordinate system to the view’s interior coordinate system. Full Topic

func (View) ConvertPointToBacking

func (v_ View) ConvertPointToBacking(point foundation.Point) foundation.Point

Converts a point from the view’s interior coordinate system to its pixel aligned backing store coordinate system. Full Topic

func (View) ConvertPointToLayer

func (v_ View) ConvertPointToLayer(point foundation.Point) foundation.Point

Convert the size from the view’s interior coordinate system to the layer's interior coordinate system. Full Topic

func (View) ConvertPointToView

func (v_ View) ConvertPointToView(point foundation.Point, view IView) foundation.Point

Converts a point from the view’s coordinate system to that of a given view. Full Topic

func (View) ConvertRectFromBacking

func (v_ View) ConvertRectFromBacking(rect foundation.Rect) foundation.Rect

Converts a rectangle from its pixel aligned backing store coordinate system to the view’s interior coordinate system. Full Topic

func (View) ConvertRectFromLayer

func (v_ View) ConvertRectFromLayer(rect foundation.Rect) foundation.Rect

Convert the rectangle from the layer's interior coordinate system to the view’s interior coordinate system. Full Topic

func (View) ConvertRectFromView

func (v_ View) ConvertRectFromView(rect foundation.Rect, view IView) foundation.Rect

Converts a rectangle from the coordinate system of another view to that of the view. Full Topic

func (View) ConvertRectToBacking

func (v_ View) ConvertRectToBacking(rect foundation.Rect) foundation.Rect

Converts a rectangle from the view’s interior coordinate system to its pixel aligned backing store coordinate system. Full Topic

func (View) ConvertRectToLayer

func (v_ View) ConvertRectToLayer(rect foundation.Rect) foundation.Rect

Convert the size from the view’s interior coordinate system to the layer's interior coordinate system. Full Topic

func (View) ConvertSizeFromBacking

func (v_ View) ConvertSizeFromBacking(size foundation.Size) foundation.Size

Converts a size from its pixel aligned backing store coordinate system to the view’s interior coordinate system. Full Topic

func (View) ConvertSizeFromLayer

func (v_ View) ConvertSizeFromLayer(size foundation.Size) foundation.Size

Convert the size from the layer's interior coordinate system to the view’s interior coordinate system. Full Topic

func (View) ConvertSizeToBacking

func (v_ View) ConvertSizeToBacking(size foundation.Size) foundation.Size

Converts a size from the view’s interior coordinate system to its pixel aligned backing store coordinate system. Full Topic

func (View) ConvertSizeToLayer

func (v_ View) ConvertSizeToLayer(size foundation.Size) foundation.Size

Convert the size from the view’s interior coordinate system to the layer's interior coordinate system. Full Topic

func (View) ConvertSizeToView

func (v_ View) ConvertSizeToView(size foundation.Size, view IView) foundation.Size

Converts a size from the view’s coordinate system to that of another view. Full Topic

func (View) DataWithEPSInsideRect

func (v_ View) DataWithEPSInsideRect(rect foundation.Rect) []byte

Returns EPS data that draws the region of the view within a specified rectangle. Full Topic

func (View) DataWithPDFInsideRect

func (v_ View) DataWithPDFInsideRect(rect foundation.Rect) []byte

Returns PDF data that draws the region of the view within a specified rectangle. Full Topic

func (View) DidAddSubview

func (v_ View) DidAddSubview(subview IView)

Overridden by subclasses to perform additional actions when subviews are added to the view. Full Topic

func (View) DidCloseMenuWithEvent

func (v_ View) DidCloseMenuWithEvent(menu IMenu, event IEvent)

Called after a contextual menu that was displayed from the receiving view has been closed. Full Topic

func (View) DiscardCursorRects

func (v_ View) DiscardCursorRects()

Invalidates all cursor rectangles set up using addCursorRect:cursor:. Full Topic

func (View) Display

func (v_ View) Display()

Displays the view and all its subviews if possible, invoking each of the NSView methods lockFocus, drawRect:, and unlockFocus as necessary. Full Topic

func (View) DisplayIfNeeded

func (v_ View) DisplayIfNeeded()

Displays the view and all its subviews if any part of the view has been marked as needing display. Full Topic

func (View) DisplayIfNeededIgnoringOpacity

func (v_ View) DisplayIfNeededIgnoringOpacity()

Acts as displayIfNeeded, except that this method doesn’t back up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code. Full Topic

func (View) DisplayIfNeededInRect

func (v_ View) DisplayIfNeededInRect(rect foundation.Rect)

Acts as displayIfNeeded, confining drawing to a specified region of the view. Full Topic

func (View) DisplayIfNeededInRectIgnoringOpacity

func (v_ View) DisplayIfNeededInRectIgnoringOpacity(rect foundation.Rect)

Acts as displayIfNeeded, but confining drawing to aRect and not backing up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code. Full Topic

func (View) DisplayRect

func (v_ View) DisplayRect(rect foundation.Rect)

Acts as display, but confining drawing to a rectangular region of the view. Full Topic

func (View) DisplayRectIgnoringOpacity

func (v_ View) DisplayRectIgnoringOpacity(rect foundation.Rect)

Displays the view but confines drawing to a specified region and does not back up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code. Full Topic

func (View) DrawFocusRingMask

func (v_ View) DrawFocusRingMask()

Draws the focus ring mask for the view. Full Topic

func (View) DrawPageBorderWithSize

func (v_ View) DrawPageBorderWithSize(borderSize foundation.Size)

Allows applications that use the AppKit pagination facility to draw additional marks on each logical page. Full Topic

func (View) DrawRect

func (v_ View) DrawRect(dirtyRect foundation.Rect)

Overridden by subclasses to draw the view’s image within the specified rectangle. Full Topic

func (View) EnclosingMenuItem

func (v_ View) EnclosingMenuItem() MenuItem

The menu item containing the view or any of its superviews in the view hierarchy. Full Topic

func (View) EnclosingScrollView

func (v_ View) EnclosingScrollView() ScrollView

The nearest ancestor scroll view that contains the current view. Full Topic

func (View) EndDocument

func (v_ View) EndDocument()

This method is invoked at the end of the printing session. Full Topic

func (View) EndPage

func (v_ View) EndPage()

Writes the end of a conforming page. Full Topic

func (View) EnterFullScreenModeWithOptions

func (v_ View) EnterFullScreenModeWithOptions(screen IScreen, options map[ViewFullScreenModeOptionKey]objc.IObject) bool

Sets the view to full screen mode. Full Topic

func (View) ExerciseAmbiguityInLayout

func (v_ View) ExerciseAmbiguityInLayout()

Randomly changes the frame of a view with an ambiguous layout between the different valid values. Full Topic

func (View) ExitFullScreenModeWithOptions

func (v_ View) ExitFullScreenModeWithOptions(options map[ViewFullScreenModeOptionKey]objc.IObject)

Instructs the view to exit full screen mode. Full Topic

func (View) FirstBaselineAnchor

func (v_ View) FirstBaselineAnchor() LayoutYAxisAnchor

A layout anchor representing the baseline for the topmost line of text in the view. Full Topic

func (View) FirstBaselineOffsetFromTop

func (v_ View) FirstBaselineOffsetFromTop() float64

The distance (in points) between the top of the view’s alignment rectangle and its topmost baseline. Full Topic

func (View) FittingSize

func (v_ View) FittingSize() foundation.Size

The minimum size of the view that satisfies the constraints it holds. Full Topic

func (View) FocusRingMaskBounds

func (v_ View) FocusRingMaskBounds() foundation.Rect

The focus ring mask bounds, specified in the view’s coordinate space. Full Topic

func (View) FocusRingType

func (v_ View) FocusRingType() FocusRingType

The type of focus ring drawn around the view. Full Topic

func (View) Frame

func (v_ View) Frame() foundation.Rect

The view’s frame rectangle, which defines its position and size in its superview’s coordinate system. Full Topic

func (View) FrameCenterRotation

func (v_ View) FrameCenterRotation() float64

The rotation angle of the view around the center of its layer. Full Topic

func (View) FrameForAlignmentRect

func (v_ View) FrameForAlignmentRect(alignmentRect foundation.Rect) foundation.Rect

Returns the view’s frame for a given alignment rectangle. Full Topic

func (View) FrameRotation

func (v_ View) FrameRotation() float64

The angle of rotation, measured in degrees, applied to the view’s frame rectangle relative to its superview’s coordinate system. Full Topic

func (View) GestureRecognizers

func (v_ View) GestureRecognizers() []GestureRecognizer

The gesture recognize objects currently attached to the view. Full Topic

func (View) GetRectsBeingDrawnCount

func (v_ View) GetRectsBeingDrawnCount(rects *foundation.Rect, count *int)

Returns by indirection a list of nonoverlapping rectangles that define the area the view is being asked to draw in drawRect:. Full Topic

func (View) GetRectsExposedDuringLiveResizeCount

func (v_ View) GetRectsExposedDuringLiveResizeCount(exposedRects *foundation.Rect, count *int)

Returns a list of rectangles indicating the newly exposed areas of the view. Full Topic

func (View) HasAmbiguousLayout

func (v_ View) HasAmbiguousLayout() bool

A Boolean value indicating whether the constraints impacting the layout of the view incompletely specify the location of the view. Full Topic

func (View) HeightAdjustLimit

func (v_ View) HeightAdjustLimit() float64

The fraction of the page that can be pushed onto the next page during automatic pagination to prevent items such as lines of text from being divided across pages. Full Topic

func (View) HeightAnchor

func (v_ View) HeightAnchor() LayoutDimension

A layout anchor representing the height of the view’s frame. Full Topic

func (View) HitTest

func (v_ View) HitTest(point foundation.Point) View

Returns the farthest descendant of the view in the view hierarchy (including itself) that contains a specified point, or nil if that point lies completely outside the view. Full Topic

func (View) InLiveResize

func (v_ View) InLiveResize() bool

A Boolean value indicating whether the view is being rendered as part of a live resizing operation. Full Topic

func (View) Init

func (v_ View) Init() View

func (View) InitWithFrame

func (v_ View) InitWithFrame(frameRect foundation.Rect) View

func (View) InputContext

func (v_ View) InputContext() TextInputContext

The text input context object for the view. Full Topic

func (View) IntrinsicContentSize

func (v_ View) IntrinsicContentSize() foundation.Size

The natural size for the receiving view, considering only properties of the view itself. Full Topic

func (View) InvalidateIntrinsicContentSize

func (v_ View) InvalidateIntrinsicContentSize()

Invalidates the view’s intrinsic content size. Full Topic

func (View) IsDescendantOf

func (v_ View) IsDescendantOf(view IView) bool

Returns a Boolean value that indicates whether the view is a subview of the specified view. Full Topic

func (View) IsDrawingFindIndicator

func (v_ View) IsDrawingFindIndicator() bool

A Boolean value indicating whether the view or one of its ancestors is being drawn for a find indicator. Full Topic

func (View) IsFlipped

func (v_ View) IsFlipped() bool

A Boolean value indicating whether the view uses a flipped coordinate system. Full Topic

func (View) IsHidden

func (v_ View) IsHidden() bool

A Boolean value indicating whether the view is hidden. Full Topic

func (View) IsHiddenOrHasHiddenAncestor

func (v_ View) IsHiddenOrHasHiddenAncestor() bool

A Boolean value indicating whether the view is hidden from sight because it, or one of its ancestors, is marked as hidden. Full Topic

func (View) IsHorizontalContentSizeConstraintActive

func (v_ View) IsHorizontalContentSizeConstraintActive() bool

A Boolean value that indicates whether the view’s horizontal size constraints are active. Full Topic

func (View) IsInFullScreenMode

func (v_ View) IsInFullScreenMode() bool

A Boolean value indicating whether the view is in full screen mode. Full Topic

func (View) IsOpaque

func (v_ View) IsOpaque() bool

A Boolean value indicating whether the view fills its frame rectangle with opaque content. Full Topic

func (View) IsRotatedFromBase

func (v_ View) IsRotatedFromBase() bool

A Boolean value indicating whether the view or any of its ancestors has ever had a rotation factor applied to its frame or bounds. Full Topic

func (View) IsRotatedOrScaledFromBase

func (v_ View) IsRotatedOrScaledFromBase() bool

A Boolean value indicating whether the view or any of its ancestors has ever had a rotation factor applied to its frame or bounds, or has been scaled from the window’s base coordinate system. Full Topic

func (View) IsVerticalContentSizeConstraintActive

func (v_ View) IsVerticalContentSizeConstraintActive() bool

A Boolean value that indicates whether the view’s vertical size constraints are active. Full Topic

func (View) KnowsPageRange

func (v_ View) KnowsPageRange(range_ foundation.RangePointer) bool

Returns YES if the view handles page boundaries, NO otherwise. Full Topic

func (View) LastBaselineAnchor

func (v_ View) LastBaselineAnchor() LayoutYAxisAnchor

A layout anchor representing the baseline for the bottommost line of text in the view. Full Topic

func (View) LastBaselineOffsetFromBottom

func (v_ View) LastBaselineOffsetFromBottom() float64

The distance (in points) between the bottom of the view’s alignment rectangle and its bottommost baseline. Full Topic

func (View) Layer

func (v_ View) Layer() quartzcore.Layer

The Core Animation layer that the view uses as its backing store. Full Topic

func (View) LayerContentsPlacement

func (v_ View) LayerContentsPlacement() ViewLayerContentsPlacement

The current layer contents placement policy. Full Topic

func (View) LayerContentsRedrawPolicy

func (v_ View) LayerContentsRedrawPolicy() ViewLayerContentsRedrawPolicy

The contents redraw policy for the view’s layer. Full Topic

func (View) LayerUsesCoreImageFilters

func (v_ View) LayerUsesCoreImageFilters() bool

A Boolean value indicating whether the view’s layer uses Core Image filters and needs in-process rendering. Full Topic

func (View) Layout

func (v_ View) Layout()

Perform layout in concert with the constraint-based layout system. Full Topic

func (View) LayoutGuides

func (v_ View) LayoutGuides() []LayoutGuide

The array of layout guide objects owned by this view. Full Topic

func (View) LayoutMarginsGuide

func (v_ View) LayoutMarginsGuide() LayoutGuide

A layout guide that provides the recommended amount of padding for content inside of a view. Full Topic

func (View) LayoutSubtreeIfNeeded

func (v_ View) LayoutSubtreeIfNeeded()

Updates the layout of the receiving view and its subviews based on the current views and constraints. Full Topic

func (View) LeadingAnchor

func (v_ View) LeadingAnchor() LayoutXAxisAnchor

A layout anchor representing the leading edge of the view’s frame. Full Topic

func (View) LeftAnchor

func (v_ View) LeftAnchor() LayoutXAxisAnchor

A layout anchor representing the left edge of the view’s frame. Full Topic

func (View) LocationOfPrintRect

func (v_ View) LocationOfPrintRect(rect foundation.Rect) foundation.Point

Invoked by print: to determine the location of the region of the view being printed on the physical page. Full Topic

func (View) MakeBackingLayer

func (v_ View) MakeBackingLayer() quartzcore.Layer

Creates the view’s backing layer. Full Topic

func (View) MenuForEvent

func (v_ View) MenuForEvent(event IEvent) Menu

Overridden by subclasses to return a context-sensitive pop-up menu for a given mouse-down event. Full Topic

func (View) MouseDownCanMoveWindow

func (v_ View) MouseDownCanMoveWindow() bool

A Boolean value indicating whether the view can pass mouse down events through to its superviews. Full Topic

func (View) MouseInRect

func (v_ View) MouseInRect(point foundation.Point, rect foundation.Rect) bool

Returns whether a region of the view contains a specified point, accounting for whether the view is flipped or not. Full Topic

func (View) NeedsDisplay

func (v_ View) NeedsDisplay() bool

A Boolean value that determines whether the view needs to be redrawn before being displayed. Full Topic

func (View) NeedsLayout

func (v_ View) NeedsLayout() bool

A Boolean value indicating whether the view needs a layout pass before it can be drawn. Full Topic

func (View) NeedsPanelToBecomeKey

func (v_ View) NeedsPanelToBecomeKey() bool

A Boolean value indicating whether the view needs its panel to become the key window before it can handle keyboard input and navigation. Full Topic

func (View) NeedsToDrawRect

func (v_ View) NeedsToDrawRect(rect foundation.Rect) bool

Returns a Boolean value indicating whether the specified rectangle intersects any part of the area that the view is being asked to draw. Full Topic

func (View) NeedsUpdateConstraints

func (v_ View) NeedsUpdateConstraints() bool

A Boolean value indicating whether the view’s constraints need to be updated. Full Topic

func (View) NextKeyView

func (v_ View) NextKeyView() View

The view object that follows the current view in the key view loop. Full Topic

func (View) NextValidKeyView

func (v_ View) NextValidKeyView() View

The closest view object in the key view loop that follows the current view in the key view loop and accepts first responder status. Full Topic

func (View) NoteFocusRingMaskChanged

func (v_ View) NoteFocusRingMaskChanged()

Invoked to notify the view that the focus ring mask requires updating. Full Topic

func (View) OpaqueAncestor

func (v_ View) OpaqueAncestor() View

The view’s closest opaque ancestor, which might be the view itself. Full Topic

func (View) PageFooter

func (v_ View) PageFooter() foundation.AttributedString

A default footer string that includes the current page number and page count. Full Topic

func (View) PageHeader

func (v_ View) PageHeader() foundation.AttributedString

A default header string that includes the print job title and date. Full Topic

func (View) PostsBoundsChangedNotifications

func (v_ View) PostsBoundsChangedNotifications() bool

A Boolean value indicating whether the view posts notifications when its bounds rectangle changes. Full Topic

func (View) PostsFrameChangedNotifications

func (v_ View) PostsFrameChangedNotifications() bool

A Boolean value indicating whether the view posts notifications when its frame rectangle changes. Full Topic

func (View) PrepareContentInRect

func (v_ View) PrepareContentInRect(rect foundation.Rect)

Prepares the overdraw region for drawing. Full Topic

func (View) PrepareForReuse

func (v_ View) PrepareForReuse()

Restores the view to an initial state so that it can be reused. Full Topic

func (View) PreparedContentRect

func (v_ View) PreparedContentRect() foundation.Rect

The portion of the view that has been rendered and is available for responsive scrolling. Full Topic

func (View) PreservesContentDuringLiveResize

func (v_ View) PreservesContentDuringLiveResize() bool

A Boolean value indicating whether the view optimizes live-resize operations by preserving content that has not moved. Full Topic

func (View) PressureConfiguration

func (v_ View) PressureConfiguration() PressureConfiguration

Configures the behavior and progression of the Force Touch trackpad when responding to touch input produced by the user when the cursor is over the view. Full Topic

func (View) PreviousKeyView

func (v_ View) PreviousKeyView() View

The view object preceding the current view in the key view loop. Full Topic

func (View) PreviousValidKeyView

func (v_ View) PreviousValidKeyView() View

The closest view object in the key view loop that precedes the current view and accepts first responder status. Full Topic

func (View) Print

func (v_ View) Print(sender objc.IObject)

This action method opens the Print panel, and if the user chooses an option other than canceling, prints the view and all its subviews to the device specified in the Print panel. Full Topic

func (View) PrintJobTitle

func (v_ View) PrintJobTitle() string

The view’s print job title. Full Topic

func (View) RectForPage

func (v_ View) RectForPage(page int) foundation.Rect

Implemented by subclasses to determine the portion of the view to be printed for the specified page number. Full Topic

func (View) RectForSmartMagnificationAtPointInRect

func (v_ View) RectForSmartMagnificationAtPointInRect(location foundation.Point, visibleRect foundation.Rect) foundation.Rect

Returns the appropriate rectangle to use when magnifying around the specified point. Full Topic

func (View) RectPreservedDuringLiveResize

func (v_ View) RectPreservedDuringLiveResize() foundation.Rect

The rectangle identifying the portion of your view that did not change during a live resize operation. Full Topic

func (View) ReflectScrolledClipView

func (v_ View) ReflectScrolledClipView(clipView IClipView)

Notifies a clip view’s superview that either the clip view’s bounds rectangle or the document view’s frame rectangle has changed, and that any indicators of the scroll position need to be adjusted. Full Topic

func (View) RegisterForDraggedTypes

func (v_ View) RegisterForDraggedTypes(newTypes []PasteboardType)

Registers the pasteboard types that the view will accept as the destination of an image-dragging session. Full Topic

func (View) RegisteredDraggedTypes

func (v_ View) RegisteredDraggedTypes() []PasteboardType

The array of pasteboard drag types that the view can accept. Full Topic

func (View) RemoveAllToolTips

func (v_ View) RemoveAllToolTips()

Removes all tooltips assigned to the view. Full Topic

func (View) RemoveConstraint

func (v_ View) RemoveConstraint(constraint ILayoutConstraint)

Removes the specified constraint from the view. Full Topic

func (View) RemoveConstraints

func (v_ View) RemoveConstraints(constraints []ILayoutConstraint)

Removes the specified constraints from the view. Full Topic

func (View) RemoveCursorRectCursor

func (v_ View) RemoveCursorRectCursor(rect foundation.Rect, object ICursor)

Completely removes a cursor rectangle from the view. Full Topic

func (View) RemoveFromSuperview

func (v_ View) RemoveFromSuperview()

Unlinks the view from its superview and its window, removes it from the responder chain, and invalidates its cursor rectangles. Full Topic

func (View) RemoveFromSuperviewWithoutNeedingDisplay

func (v_ View) RemoveFromSuperviewWithoutNeedingDisplay()

Unlinks the view from its superview and its window and removes it from the responder chain, but does not invalidate its cursor rectangles to cause redrawing. Full Topic

func (View) RemoveGestureRecognizer

func (v_ View) RemoveGestureRecognizer(gestureRecognizer IGestureRecognizer)

Detaches a gesture recognizer from the view. Full Topic

func (View) RemoveLayoutGuide

func (v_ View) RemoveLayoutGuide(guide ILayoutGuide)

Removes the provided layout guide from the view. Full Topic

func (View) RemoveToolTip

func (v_ View) RemoveToolTip(tag ToolTipTag)

Removes the tooltip identified by specified tag. Full Topic

func (View) RemoveTrackingArea

func (v_ View) RemoveTrackingArea(trackingArea ITrackingArea)

Removes a given tracking area from the view. Full Topic

func (View) RemoveTrackingRect

func (v_ View) RemoveTrackingRect(tag TrackingRectTag)

Removes the tracking rectangle identified by a tag. Full Topic

func (View) ReplaceSubviewWith

func (v_ View) ReplaceSubviewWith(oldView IView, newView IView)

Replaces one of the view’s subviews with another view. Full Topic

func (View) ResetCursorRects

func (v_ View) ResetCursorRects()

Overridden by subclasses to define their default cursor rectangles. Full Topic

func (View) ResizeSubviewsWithOldSize

func (v_ View) ResizeSubviewsWithOldSize(oldSize foundation.Size)

Informs the view’s subviews that the view’s bounds rectangle size has changed. Full Topic

func (View) ResizeWithOldSuperviewSize

func (v_ View) ResizeWithOldSuperviewSize(oldSize foundation.Size)

Informs the view that the bounds size of its superview has changed. Full Topic

func (View) RightAnchor

func (v_ View) RightAnchor() LayoutXAxisAnchor

A layout anchor representing the right edge of the view’s frame. Full Topic

func (View) RotateByAngle

func (v_ View) RotateByAngle(angle float64)

Rotates the view’s bounds rectangle by a specified degree value around the origin of the coordinate system, (0.0, 0.0). Full Topic

func (View) RulerViewLocationForPoint

func (v_ View) RulerViewLocationForPoint(ruler IRulerView, point foundation.Point) float64
[Full Topic]

func (View) SafeAreaInsets

func (v_ View) SafeAreaInsets() foundation.EdgeInsets

The distances from the edges of your view that define the safe area. Full Topic

func (View) SafeAreaLayoutGuide

func (v_ View) SafeAreaLayoutGuide() LayoutGuide

The layout guide you use to position content inside your view’s safe area. Full Topic

func (View) SafeAreaRect

func (v_ View) SafeAreaRect() foundation.Rect

A rectangle in the view’s coordinate system that contains the unobscured portion of the view. Full Topic

func (View) ScaleUnitSquareToSize

func (v_ View) ScaleUnitSquareToSize(newUnitSize foundation.Size)

Scales the view’s coordinate system so that the unit square scales to the specified dimensions. Full Topic

func (View) ScrollClipViewToPoint

func (v_ View) ScrollClipViewToPoint(clipView IClipView, point foundation.Point)

Notifies the superview of a clip view that the clip view needs to reset the origin of its bounds rectangle. Full Topic

func (View) ScrollPoint

func (v_ View) ScrollPoint(point foundation.Point)

Scrolls the view’s closest ancestor NSClipView object so a point in the view lies at the origin of the clip view's bounds rectangle. Full Topic

func (View) ScrollRectToVisible

func (v_ View) ScrollRectToVisible(rect foundation.Rect) bool

Scrolls the view’s closest ancestor NSClipView object the minimum distance needed so a specified region of the view becomes visible in the clip view. Full Topic

func (View) SetAdditionalSafeAreaInsets

func (v_ View) SetAdditionalSafeAreaInsets(value foundation.EdgeInsets)

Custom insets that you specify to modify your view’s safe area Full Topic

func (View) SetAllowedTouchTypes

func (v_ View) SetAllowedTouchTypes(value TouchTypeMask)

The types of touch interactions the view allows. Full Topic

func (View) SetAlphaValue

func (v_ View) SetAlphaValue(value float64)

The opacity of the view. Full Topic

func (View) SetAutoresizesSubviews

func (v_ View) SetAutoresizesSubviews(value bool)

A Boolean value indicating whether the view applies the autoresizing behavior to its subviews when its frame size changes. Full Topic

func (View) SetAutoresizingMask

func (v_ View) SetAutoresizingMask(value AutoresizingMaskOptions)

The options that determine how the view is resized relative to its superview. Full Topic

func (View) SetBackgroundFilters

func (v_ View) SetBackgroundFilters(value []coreimage.IFilter)

An array of Core Image filters to apply to the view’s background. Full Topic

func (View) SetBounds

func (v_ View) SetBounds(value foundation.Rect)

The view’s bounds rectangle, which expresses its location and size in its own coordinate system. Full Topic

func (View) SetBoundsOrigin

func (v_ View) SetBoundsOrigin(newOrigin foundation.Point)

Sets the origin of the view’s bounds rectangle to a specified point. Full Topic

func (View) SetBoundsRotation

func (v_ View) SetBoundsRotation(value float64)

The angle of rotation, measured in degrees, applied to the view’s bounds rectangle relative to its frame rectangle. Full Topic

func (View) SetBoundsSize

func (v_ View) SetBoundsSize(newSize foundation.Size)

Sets the size of the view’s bounds rectangle to specified dimensions, inversely scaling its coordinate system relative to its frame rectangle. Full Topic

func (View) SetCanDrawConcurrently

func (v_ View) SetCanDrawConcurrently(value bool)

A Boolean value indicating whether the view can draw its contents on a background thread. Full Topic

func (View) SetCanDrawSubviewsIntoLayer

func (v_ View) SetCanDrawSubviewsIntoLayer(value bool)

A Boolean value indicating whether the view incorporates content from its subviews into its own layer. Full Topic

func (View) SetCompositingFilter

func (v_ View) SetCompositingFilter(value coreimage.IFilter)

The Core Image filter used to composite the view’s contents with its background. Full Topic

func (View) SetContentCompressionResistancePriorityForOrientation

func (v_ View) SetContentCompressionResistancePriorityForOrientation(priority LayoutPriority, orientation LayoutConstraintOrientation)

Sets the priority with which a view resists being made smaller than its intrinsic size. Full Topic

func (View) SetContentFilters

func (v_ View) SetContentFilters(value []coreimage.IFilter)

An array of Core Image filters to apply to the contents of the view and its sublayers. Full Topic

func (View) SetContentHuggingPriorityForOrientation

func (v_ View) SetContentHuggingPriorityForOrientation(priority LayoutPriority, orientation LayoutConstraintOrientation)

Sets the priority with which a view resists being made larger than its intrinsic size. Full Topic

func (View) SetFocusRingType

func (v_ View) SetFocusRingType(value FocusRingType)

The type of focus ring drawn around the view. Full Topic

func (View) SetFrame

func (v_ View) SetFrame(value foundation.Rect)

The view’s frame rectangle, which defines its position and size in its superview’s coordinate system. Full Topic

func (View) SetFrameCenterRotation

func (v_ View) SetFrameCenterRotation(value float64)

The rotation angle of the view around the center of its layer. Full Topic

func (View) SetFrameOrigin

func (v_ View) SetFrameOrigin(newOrigin foundation.Point)

Sets the origin of the view’s frame rectangle to the specified point, effectively repositioning it within its superview. Full Topic

func (View) SetFrameRotation

func (v_ View) SetFrameRotation(value float64)

The angle of rotation, measured in degrees, applied to the view’s frame rectangle relative to its superview’s coordinate system. Full Topic

func (View) SetFrameSize

func (v_ View) SetFrameSize(newSize foundation.Size)

Sets the size of the view’s frame rectangle to the specified dimensions, resizing it within its superview without affecting its coordinate system. Full Topic

func (View) SetGestureRecognizers

func (v_ View) SetGestureRecognizers(value []IGestureRecognizer)

The gesture recognize objects currently attached to the view. Full Topic

func (View) SetHidden

func (v_ View) SetHidden(value bool)

A Boolean value indicating whether the view is hidden. Full Topic

func (View) SetHorizontalContentSizeConstraintActive

func (v_ View) SetHorizontalContentSizeConstraintActive(value bool)

A Boolean value that indicates whether the view’s horizontal size constraints are active. Full Topic

func (View) SetKeyboardFocusRingNeedsDisplayInRect

func (v_ View) SetKeyboardFocusRingNeedsDisplayInRect(rect foundation.Rect)

Invalidates the area around the focus ring. Full Topic

func (View) SetLayer

func (v_ View) SetLayer(value quartzcore.ILayer)

The Core Animation layer that the view uses as its backing store. Full Topic

func (View) SetLayerContentsPlacement

func (v_ View) SetLayerContentsPlacement(value ViewLayerContentsPlacement)

The current layer contents placement policy. Full Topic

func (View) SetLayerContentsRedrawPolicy

func (v_ View) SetLayerContentsRedrawPolicy(value ViewLayerContentsRedrawPolicy)

The contents redraw policy for the view’s layer. Full Topic

func (View) SetLayerUsesCoreImageFilters

func (v_ View) SetLayerUsesCoreImageFilters(value bool)

A Boolean value indicating whether the view’s layer uses Core Image filters and needs in-process rendering. Full Topic

func (View) SetNeedsDisplay

func (v_ View) SetNeedsDisplay(value bool)

A Boolean value that determines whether the view needs to be redrawn before being displayed. Full Topic

func (View) SetNeedsDisplayInRect

func (v_ View) SetNeedsDisplayInRect(invalidRect foundation.Rect)

Marks the region of the view within the specified rectangle as needing display, increasing the view’s existing invalid region to include it. Full Topic

func (View) SetNeedsLayout

func (v_ View) SetNeedsLayout(value bool)

A Boolean value indicating whether the view needs a layout pass before it can be drawn. Full Topic

func (View) SetNeedsUpdateConstraints

func (v_ View) SetNeedsUpdateConstraints(value bool)

A Boolean value indicating whether the view’s constraints need to be updated. Full Topic

func (View) SetNextKeyView

func (v_ View) SetNextKeyView(value IView)

The view object that follows the current view in the key view loop. Full Topic

func (View) SetPostsBoundsChangedNotifications

func (v_ View) SetPostsBoundsChangedNotifications(value bool)

A Boolean value indicating whether the view posts notifications when its bounds rectangle changes. Full Topic

func (View) SetPostsFrameChangedNotifications

func (v_ View) SetPostsFrameChangedNotifications(value bool)

A Boolean value indicating whether the view posts notifications when its frame rectangle changes. Full Topic

func (View) SetPreparedContentRect

func (v_ View) SetPreparedContentRect(value foundation.Rect)

The portion of the view that has been rendered and is available for responsive scrolling. Full Topic

func (View) SetPressureConfiguration

func (v_ View) SetPressureConfiguration(value IPressureConfiguration)

Configures the behavior and progression of the Force Touch trackpad when responding to touch input produced by the user when the cursor is over the view. Full Topic

func (View) SetShadow

func (v_ View) SetShadow(value IShadow)

The shadow displayed underneath the view. Full Topic

func (View) SetSubviews

func (v_ View) SetSubviews(value []IView)

The array of views embedded in the current view. Full Topic

func (View) SetToolTip

func (v_ View) SetToolTip(value string)

The text for the view’s tooltip. Full Topic

func (View) SetTranslatesAutoresizingMaskIntoConstraints

func (v_ View) SetTranslatesAutoresizingMaskIntoConstraints(value bool)

A Boolean value indicating whether the view’s autoresizing mask is translated into constraints for the constraint-based layout system. Full Topic

func (View) SetUserInterfaceLayoutDirection

func (v_ View) SetUserInterfaceLayoutDirection(value UserInterfaceLayoutDirection)

The layout direction for content in the view. Full Topic

func (View) SetVerticalContentSizeConstraintActive

func (v_ View) SetVerticalContentSizeConstraintActive(value bool)

A Boolean value that indicates whether the view’s vertical size constraints are active. Full Topic

func (View) SetWantsLayer

func (v_ View) SetWantsLayer(value bool)

A Boolean value indicating whether the view uses a layer as its backing store. Full Topic

func (View) SetWantsRestingTouches

func (v_ View) SetWantsRestingTouches(value bool)

A Boolean value indicating whether the view wants resting touches. Full Topic

func (View) Shadow

func (v_ View) Shadow() Shadow

The shadow displayed underneath the view. Full Topic

func (View) ShouldDelayWindowOrderingForEvent

func (v_ View) ShouldDelayWindowOrderingForEvent(event IEvent) bool

Allows the user to drag objects from the view without activating the app or moving the window of the view forward, possibly obscuring the destination. Full Topic

func (View) ShowDefinitionForAttributedStringAtPoint

func (v_ View) ShowDefinitionForAttributedStringAtPoint(attrString foundation.IAttributedString, textBaselineOrigin foundation.Point)

Shows a window displaying the definition of the attributed string at the specified point. Full Topic

func (View) SortSubviewsUsingFunctionContext

func (v_ View) SortSubviewsUsingFunctionContext(compare func(arg0 View, arg1 View, arg2 unsafe.Pointer) foundation.ComparisonResult, context unsafe.Pointer)

Orders the view's immediate subviews using the specified comparator function. Full Topic

func (View) Subviews

func (v_ View) Subviews() []View

The array of views embedded in the current view. Full Topic

func (View) Superview

func (v_ View) Superview() View

The view that is the parent of the current view. Full Topic

func (View) Tag

func (v_ View) Tag() int

The view’s tag, which is an integer that you use to identify the view within your app. Full Topic

func (View) ToolTip

func (v_ View) ToolTip() string

The text for the view’s tooltip. Full Topic

func (View) TopAnchor

func (v_ View) TopAnchor() LayoutYAxisAnchor

A layout anchor representing the top edge of the view’s frame. Full Topic

func (View) TrackingAreas

func (v_ View) TrackingAreas() []TrackingArea

An array of the view’s tracking areas. Full Topic

func (View) TrailingAnchor

func (v_ View) TrailingAnchor() LayoutXAxisAnchor

A layout anchor representing the trailing edge of the view’s frame. Full Topic

func (View) TranslateOriginToPoint

func (v_ View) TranslateOriginToPoint(translation foundation.Point)

Translates the view’s coordinate system so that its origin moves to a new location. Full Topic

func (View) TranslateRectsNeedingDisplayInRectBy

func (v_ View) TranslateRectsNeedingDisplayInRectBy(clipRect foundation.Rect, delta foundation.Size)

Translates the display rectangles by the specified delta. Full Topic

func (View) TranslatesAutoresizingMaskIntoConstraints

func (v_ View) TranslatesAutoresizingMaskIntoConstraints() bool

A Boolean value indicating whether the view’s autoresizing mask is translated into constraints for the constraint-based layout system. Full Topic

func (View) UnregisterDraggedTypes

func (v_ View) UnregisterDraggedTypes()

Unregisters the view as a possible destination in a dragging session. Full Topic

func (View) UpdateConstraints

func (v_ View) UpdateConstraints()

Update constraints for the view. Full Topic

func (View) UpdateConstraintsForSubtreeIfNeeded

func (v_ View) UpdateConstraintsForSubtreeIfNeeded()

Updates the constraints for the receiving view and its subviews. Full Topic

func (View) UpdateLayer

func (v_ View) UpdateLayer()

Updates the view’s content by modifying its underlying layer. Full Topic

func (View) UpdateTrackingAreas

func (v_ View) UpdateTrackingAreas()

Invoked automatically when the view’s geometry changes such that its tracking areas need to be recalculated. Full Topic

func (View) UserInterfaceLayoutDirection

func (v_ View) UserInterfaceLayoutDirection() UserInterfaceLayoutDirection

The layout direction for content in the view. Full Topic

func (View) ViewDidChangeBackingProperties

func (v_ View) ViewDidChangeBackingProperties()

Responds when the view’s backing store properties change. Full Topic

func (View) ViewDidChangeEffectiveAppearance

func (v_ View) ViewDidChangeEffectiveAppearance()

Informs the view that its effective appearance changed. Full Topic

func (View) ViewDidEndLiveResize

func (v_ View) ViewDidEndLiveResize()

Informs the view of the end of a live resize—the user has finished resizing the view. Full Topic

func (View) ViewDidHide

func (v_ View) ViewDidHide()

Invoked when the view is hidden, either directly, or in response to an ancestor being hidden. Full Topic

func (View) ViewDidMoveToSuperview

func (v_ View) ViewDidMoveToSuperview()

Informs the view that its superview has changed (possibly to nil). Full Topic

func (View) ViewDidMoveToWindow

func (v_ View) ViewDidMoveToWindow()

Informs the view that it has been added to a new view hierarchy. Full Topic

func (View) ViewDidUnhide

func (v_ View) ViewDidUnhide()

Invoked when the view is unhidden, either directly, or in response to an ancestor being unhidden Full Topic

func (View) ViewWillDraw

func (v_ View) ViewWillDraw()

Informs the view that it’s required to draw content. Full Topic

func (View) ViewWillMoveToSuperview

func (v_ View) ViewWillMoveToSuperview(newSuperview IView)

Informs the view that its superview is about to change to the specified superview (which may be nil). Full Topic

func (View) ViewWillMoveToWindow

func (v_ View) ViewWillMoveToWindow(newWindow IWindow)

Informs the view that it’s being added to the view hierarchy of the specified window object (which may be nil). Full Topic

func (View) ViewWillStartLiveResize

func (v_ View) ViewWillStartLiveResize()

Informs the view of the start of a live resize—the user has started resizing the view. Full Topic

func (View) ViewWithTag

func (v_ View) ViewWithTag(tag int) View

Returns the view’s nearest descendant (including itself) with a specific tag, or nil if no subview has that tag. Full Topic

func (View) VisibleRect

func (v_ View) VisibleRect() foundation.Rect

The portion of the view that is not clipped by its superviews. Full Topic

func (View) WantsDefaultClipping

func (v_ View) WantsDefaultClipping() bool

A Boolean value indicating whether AppKit’s default clipping behavior is in effect. Full Topic

func (View) WantsLayer

func (v_ View) WantsLayer() bool

A Boolean value indicating whether the view uses a layer as its backing store. Full Topic

func (View) WantsRestingTouches

func (v_ View) WantsRestingTouches() bool

A Boolean value indicating whether the view wants resting touches. Full Topic

func (View) WantsUpdateLayer

func (v_ View) WantsUpdateLayer() bool

A Boolean value indicating which drawing path the view takes when updating its contents. Full Topic

func (View) WidthAdjustLimit

func (v_ View) WidthAdjustLimit() float64

The fraction of the page that can be pushed onto the next page during automatic pagination to prevent items such as small images or text columns from being divided across pages. Full Topic

func (View) WidthAnchor

func (v_ View) WidthAnchor() LayoutDimension

A layout anchor representing the width of the view’s frame. Full Topic

func (View) WillOpenMenuWithEvent

func (v_ View) WillOpenMenuWithEvent(menu IMenu, event IEvent)

Called just before a contextual menu for a view is opened on screen. Full Topic

func (View) WillRemoveSubview

func (v_ View) WillRemoveSubview(subview IView)

Overridden by subclasses to perform additional actions before subviews are removed from the view. Full Topic

func (View) Window

func (v_ View) Window() Window

The view’s window object, if it is installed in a window. Full Topic

func (View) WriteEPSInsideRectToPasteboard

func (v_ View) WriteEPSInsideRectToPasteboard(rect foundation.Rect, pasteboard IPasteboard)

Writes EPS data that draws the region of the view within a specified rectangle onto a pasteboard. Full Topic

func (View) WritePDFInsideRectToPasteboard

func (v_ View) WritePDFInsideRectToPasteboard(rect foundation.Rect, pasteboard IPasteboard)

Writes PDF data that draws the region of the view within a specified rectangle onto a pasteboard. Full Topic

type ViewAnimation

type ViewAnimation struct {
	Animation
}

An animation of an app's views, limited to changes in frame location and size, and to fade-in and fade-out effects. Full Topic

func NewViewAnimation

func NewViewAnimation() ViewAnimation

func NewViewAnimationWithDurationAnimationCurve

func NewViewAnimationWithDurationAnimationCurve(duration foundation.TimeInterval, animationCurve AnimationCurve) ViewAnimation

Returns an NSAnimation object initialized with the specified duration and animation-curve values. Full Topic

func NewViewAnimationWithViewAnimations

func NewViewAnimationWithViewAnimations(viewAnimations []map[ViewAnimationKey]objc.IObject) ViewAnimation

Returns an NSViewAnimation object initialized with the supplied information. Full Topic

func ViewAnimationFrom

func ViewAnimationFrom(ptr unsafe.Pointer) ViewAnimation

func ViewAnimation_Alloc

func ViewAnimation_Alloc() ViewAnimation

func (ViewAnimation) Init

func (v_ ViewAnimation) Init() ViewAnimation

func (ViewAnimation) InitWithDurationAnimationCurve

func (v_ ViewAnimation) InitWithDurationAnimationCurve(duration foundation.TimeInterval, animationCurve AnimationCurve) ViewAnimation

func (ViewAnimation) InitWithViewAnimations

func (v_ ViewAnimation) InitWithViewAnimations(viewAnimations []map[ViewAnimationKey]objc.IObject) ViewAnimation

func (ViewAnimation) SetViewAnimations

func (v_ ViewAnimation) SetViewAnimations(value []map[ViewAnimationKey]objc.IObject)

The dictionaries defining the objects to animate. Full Topic

func (ViewAnimation) ViewAnimations

func (v_ ViewAnimation) ViewAnimations() []map[ViewAnimationKey]objc.Object

The dictionaries defining the objects to animate. Full Topic

type ViewAnimationEffectName

type ViewAnimationEffectName string

The following constants specify the animation effect to apply and are used as values for the animation effect property of the animation view. See the description of NSViewAnimationEffectKey for usage details. Full Topic

const (
	ViewAnimationFadeInEffect  ViewAnimationEffectName = "NSViewAnimationFadeInEffect"
	ViewAnimationFadeOutEffect ViewAnimationEffectName = "NSViewAnimationFadeOutEffect"
)

type ViewAnimationKey

type ViewAnimationKey string

The following string constants are keys for the dictionaries in the array passed into initWithViewAnimations: and viewAnimations. Full Topic

const (
	ViewAnimationEffectKey     ViewAnimationKey = "NSViewAnimationEffectKey"
	ViewAnimationEndFrameKey   ViewAnimationKey = "NSViewAnimationEndFrameKey"
	ViewAnimationStartFrameKey ViewAnimationKey = "NSViewAnimationStartFrameKey"
	ViewAnimationTargetKey     ViewAnimationKey = "NSViewAnimationTargetKey"
)

type ViewController

type ViewController struct {
	Responder
}

A controller that manages a view, typically loaded from a nib file. Full Topic

func NewViewController

func NewViewController() ViewController

func NewViewControllerWithNibNameBundle

func NewViewControllerWithNibNameBundle(nibNameOrNil NibName, nibBundleOrNil foundation.IBundle) ViewController

Returns a view controller object initialized to the nib file in the specified bundle. Full Topic

func ViewControllerFrom

func ViewControllerFrom(ptr unsafe.Pointer) ViewController

func ViewController_Alloc

func ViewController_Alloc() ViewController

func (ViewController) AddChildViewController

func (v_ ViewController) AddChildViewController(childViewController IViewController)

A convenience method for adding a child view controller at the end of the childViewControllers array. Full Topic

func (ViewController) ChildViewControllers

func (v_ ViewController) ChildViewControllers() []ViewController

An array of view controllers that are hierarchical children of the view controller. Full Topic

func (ViewController) CommitEditing

func (v_ ViewController) CommitEditing() bool

Returns whether the receiver was able to commit any pending edits. Full Topic

func (ViewController) CommitEditingWithDelegateDidCommitSelectorContextInfo

func (v_ ViewController) CommitEditingWithDelegateDidCommitSelectorContextInfo(delegate objc.IObject, didCommitSelector objc.Selector, contextInfo unsafe.Pointer)

Attempt to commit any currently edited results of the receiver. Full Topic

func (ViewController) DiscardEditing

func (v_ ViewController) DiscardEditing()

Causes the receiver to discard any changes, restoring the previous values. Full Topic

func (ViewController) DismissController

func (v_ ViewController) DismissController(sender objc.IObject) objc.Object
[Full Topic]

func (ViewController) DismissViewController

func (v_ ViewController) DismissViewController(viewController IViewController)

Dismisses a presented view controller, using the same animator that presented it. Full Topic

func (ViewController) ExtensionContext

func (v_ ViewController) ExtensionContext() foundation.ExtensionContext

For a view controller that is part of an app extension, the app extension context. Full Topic

func (ViewController) Init

func (v_ ViewController) Init() ViewController

func (ViewController) InitWithNibNameBundle

func (v_ ViewController) InitWithNibNameBundle(nibNameOrNil NibName, nibBundleOrNil foundation.IBundle) ViewController

func (ViewController) InsertChildViewControllerAtIndex

func (v_ ViewController) InsertChildViewControllerAtIndex(childViewController IViewController, index int)

Inserts a specified child view controller into the childViewControllers array at a specified position. Full Topic

func (ViewController) IsViewLoaded

func (v_ ViewController) IsViewLoaded() bool

A Boolean value indicating whether the view controller’s view is loaded into memory. Full Topic

func (ViewController) LoadView

func (v_ ViewController) LoadView()

Instantiates a view from a nib file and sets the value of the view property. Full Topic

func (ViewController) NibBundle

func (v_ ViewController) NibBundle() foundation.Bundle

The nib bundle to be loaded to instantiate the receiver’s primary view. Full Topic

func (ViewController) NibName

func (v_ ViewController) NibName() NibName

The name of the nib file to be loaded to instantiate the receiver’s primary view. Full Topic

func (ViewController) ParentViewController

func (v_ ViewController) ParentViewController() ViewController

The immediate ancestor view controller of the view controller. Full Topic

func (ViewController) PreferredContentSize

func (v_ ViewController) PreferredContentSize() foundation.Size

The desired size of the view controller’s view, in screen units. Full Topic

func (ViewController) PreferredContentSizeDidChangeForViewController

func (v_ ViewController) PreferredContentSizeDidChangeForViewController(viewController IViewController)

Called when there is a change in value of the preferredContentSize property of a child view controller or a presented view controller. Full Topic

func (ViewController) PreferredMaximumSize

func (v_ ViewController) PreferredMaximumSize() foundation.Size

For a view controller that is part of an app extension, the largest allowable size for the app extension’s primary view, in screen units. Full Topic

func (ViewController) PreferredMinimumSize

func (v_ ViewController) PreferredMinimumSize() foundation.Size

For a view controller that is part of an app extension, the smallest allowable size for the app extension’s primary view, in screen units. Full Topic

func (ViewController) PreferredScreenOrigin

func (v_ ViewController) PreferredScreenOrigin() foundation.Point

For a view controller that is part of an app extension, the preferred screen origin. Full Topic

func (ViewController) PresentViewControllerAnimator

func (v_ ViewController) PresentViewControllerAnimator(viewController IViewController, animator PViewControllerPresentationAnimator)

Presents another view controller using a specified, custom animator for presentation and dismissal. Full Topic

func (ViewController) PresentViewControllerAnimatorObject

func (v_ ViewController) PresentViewControllerAnimatorObject(viewController IViewController, animatorObject objc.IObject)

Presents another view controller using a specified, custom animator for presentation and dismissal. Full Topic

func (ViewController) PresentViewControllerAsModalWindow

func (v_ ViewController) PresentViewControllerAsModalWindow(viewController IViewController)

Presents another view controller as a modal window, also known as an alert. Full Topic

func (ViewController) PresentViewControllerAsSheet

func (v_ ViewController) PresentViewControllerAsSheet(viewController IViewController)

Presents another view controller as a sheet. Full Topic

func (ViewController) PresentedViewControllers

func (v_ ViewController) PresentedViewControllers() []ViewController

The view controllers, if any, that are currently presented by the view controller. Full Topic

func (ViewController) PresentingViewController

func (v_ ViewController) PresentingViewController() ViewController

The view controller that presented the view controller or that presented its farthest ancestor view controller. Full Topic

func (ViewController) RemoveChildViewControllerAtIndex

func (v_ ViewController) RemoveChildViewControllerAtIndex(index int)

Removes a specified child controller from the view controller. Full Topic

func (ViewController) RemoveFromParentViewController

func (v_ ViewController) RemoveFromParentViewController()

Removes the called view controller from its parent view controller. Full Topic

func (ViewController) RepresentedObject

func (v_ ViewController) RepresentedObject() objc.Object

The object whose value is presented in the receiver’s primary view. Full Topic

func (ViewController) SetChildViewControllers

func (v_ ViewController) SetChildViewControllers(value []IViewController)

An array of view controllers that are hierarchical children of the view controller. Full Topic

func (ViewController) SetPreferredContentSize

func (v_ ViewController) SetPreferredContentSize(value foundation.Size)

The desired size of the view controller’s view, in screen units. Full Topic

func (ViewController) SetPreferredScreenOrigin

func (v_ ViewController) SetPreferredScreenOrigin(value foundation.Point)

For a view controller that is part of an app extension, the preferred screen origin. Full Topic

func (ViewController) SetRepresentedObject

func (v_ ViewController) SetRepresentedObject(value objc.IObject)

The object whose value is presented in the receiver’s primary view. Full Topic

func (ViewController) SetSourceItemView

func (v_ ViewController) SetSourceItemView(value IView)
[Full Topic]

func (ViewController) SetTitle

func (v_ ViewController) SetTitle(value string)

The localized title of the receiver’s primary view. Full Topic

func (ViewController) SetView

func (v_ ViewController) SetView(value IView)

The view controller’s primary view. Full Topic

func (ViewController) SourceItemView

func (v_ ViewController) SourceItemView() View
[Full Topic]

func (ViewController) Storyboard

func (v_ ViewController) Storyboard() Storyboard

The storyboard from which the view controller was loaded. Full Topic

func (ViewController) Title

func (v_ ViewController) Title() string

The localized title of the receiver’s primary view. Full Topic

func (ViewController) TransitionFromViewControllerToViewControllerOptionsCompletionHandler

func (v_ ViewController) TransitionFromViewControllerToViewControllerOptionsCompletionHandler(fromViewController IViewController, toViewController IViewController, options ViewControllerTransitionOptions, completion func())

Performs a transition between two sibling child view controllers of the view controller. Full Topic

func (ViewController) UpdateViewConstraints

func (v_ ViewController) UpdateViewConstraints()

Called during Auto Layout constraint updating to enable the view controller to mediate the process. Full Topic

func (ViewController) View

func (v_ ViewController) View() View

The view controller’s primary view. Full Topic

func (ViewController) ViewDidAppear

func (v_ ViewController) ViewDidAppear()

Called when the view controller’s view is fully transitioned onto the screen. Full Topic

func (ViewController) ViewDidDisappear

func (v_ ViewController) ViewDidDisappear()

Called after the view controller’s view is removed from the view hierarchy in a window. Full Topic

func (ViewController) ViewDidLayout

func (v_ ViewController) ViewDidLayout()

Called immediately after the layout method of the view controller's view is called. Full Topic

func (ViewController) ViewDidLoad

func (v_ ViewController) ViewDidLoad()

Called after the view controller’s view has been loaded into memory. Full Topic

func (ViewController) ViewWillAppear

func (v_ ViewController) ViewWillAppear()

Called after the view controller’s view has been loaded into memory is about to be added to the view hierarchy in the window. Full Topic

func (ViewController) ViewWillDisappear

func (v_ ViewController) ViewWillDisappear()

Called when the view controller’s view is about to be removed from the view hierarchy in the window. Full Topic

func (ViewController) ViewWillLayout

func (v_ ViewController) ViewWillLayout()

Called just before the layout method of the view controller's view is called. Full Topic

func (ViewController) ViewWillTransitionToSize

func (v_ ViewController) ViewWillTransitionToSize(newSize foundation.Size)

For a view controller that is part of an app extension, called when its view is about to be resized. Full Topic

type ViewControllerPresentationAnimatorWrapper

type ViewControllerPresentationAnimatorWrapper struct {
	objc.Object
}

A concrete type wrapper for the PViewControllerPresentationAnimator protocol.

func (ViewControllerPresentationAnimatorWrapper) AnimateDismissalOfViewControllerFromViewController

func (v_ ViewControllerPresentationAnimatorWrapper) AnimateDismissalOfViewControllerFromViewController(viewController IViewController, fromViewController IViewController)

Called when a previously-presented view controller is about to be dismissed. Full Topic

func (ViewControllerPresentationAnimatorWrapper) AnimatePresentationOfViewControllerFromViewController

func (v_ ViewControllerPresentationAnimatorWrapper) AnimatePresentationOfViewControllerFromViewController(viewController IViewController, fromViewController IViewController)

Called when the specified view controller is about to be presented. Full Topic

func (ViewControllerPresentationAnimatorWrapper) HasAnimateDismissalOfViewControllerFromViewController

func (v_ ViewControllerPresentationAnimatorWrapper) HasAnimateDismissalOfViewControllerFromViewController() bool

func (ViewControllerPresentationAnimatorWrapper) HasAnimatePresentationOfViewControllerFromViewController

func (v_ ViewControllerPresentationAnimatorWrapper) HasAnimatePresentationOfViewControllerFromViewController() bool

type ViewControllerTransitionOptions

type ViewControllerTransitionOptions uint

Animation options for view transitions in a view controller. Full Topic

const (
	ViewControllerTransitionAllowUserInteraction ViewControllerTransitionOptions = 4096
	ViewControllerTransitionCrossfade            ViewControllerTransitionOptions = 1
	ViewControllerTransitionNone                 ViewControllerTransitionOptions = 0
	ViewControllerTransitionSlideBackward        ViewControllerTransitionOptions = 384
	ViewControllerTransitionSlideDown            ViewControllerTransitionOptions = 32
	ViewControllerTransitionSlideForward         ViewControllerTransitionOptions = 320
	ViewControllerTransitionSlideLeft            ViewControllerTransitionOptions = 64
	ViewControllerTransitionSlideRight           ViewControllerTransitionOptions = 128
	ViewControllerTransitionSlideUp              ViewControllerTransitionOptions = 16
)

type ViewFullScreenModeOptionKey

type ViewFullScreenModeOptionKey string

These constants are keys that you can use in the options dictionary in enterFullScreenMode:withOptions: and exitFullScreenModeWithOptions:. Full Topic

const (
	FullScreenModeAllScreens                     ViewFullScreenModeOptionKey = "NSFullScreenModeAllScreens"
	FullScreenModeApplicationPresentationOptions ViewFullScreenModeOptionKey = "NSFullScreenModeApplicationPresentationOptions"
	FullScreenModeSetting                        ViewFullScreenModeOptionKey = "NSFullScreenModeSetting"
	FullScreenModeWindowLevel                    ViewFullScreenModeOptionKey = "NSFullScreenModeWindowLevel"
)

type ViewLayerContentScaleDelegate

type ViewLayerContentScaleDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PViewLayerContentScaleDelegate protocol.

func (*ViewLayerContentScaleDelegate) HasLayerShouldInheritContentsScaleFromWindow

func (di *ViewLayerContentScaleDelegate) HasLayerShouldInheritContentsScaleFromWindow() bool

func (*ViewLayerContentScaleDelegate) LayerShouldInheritContentsScaleFromWindow

func (di *ViewLayerContentScaleDelegate) LayerShouldInheritContentsScaleFromWindow(layer quartzcore.Layer, newScale float64, window Window) bool

Notifies you when a resolution changes occurs for the window that hosts the layer. Full Topic

func (*ViewLayerContentScaleDelegate) SetLayerShouldInheritContentsScaleFromWindow

func (di *ViewLayerContentScaleDelegate) SetLayerShouldInheritContentsScaleFromWindow(f func(layer quartzcore.Layer, newScale float64, window Window) bool)

Notifies you when a resolution changes occurs for the window that hosts the layer. Full Topic

type ViewLayerContentScaleDelegateWrapper

type ViewLayerContentScaleDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PViewLayerContentScaleDelegate protocol.

func (ViewLayerContentScaleDelegateWrapper) HasLayerShouldInheritContentsScaleFromWindow

func (v_ ViewLayerContentScaleDelegateWrapper) HasLayerShouldInheritContentsScaleFromWindow() bool

func (ViewLayerContentScaleDelegateWrapper) LayerShouldInheritContentsScaleFromWindow

func (v_ ViewLayerContentScaleDelegateWrapper) LayerShouldInheritContentsScaleFromWindow(layer quartzcore.ILayer, newScale float64, window IWindow) bool

Notifies you when a resolution changes occurs for the window that hosts the layer. Full Topic

type ViewLayerContentsPlacement

type ViewLayerContentsPlacement int

These constants specify the location of the layer content when the content is not rerendered in response to view resizing. For more information, see the layerContentsPlacement property. Full Topic

const (
	ViewLayerContentsPlacementBottom                    ViewLayerContentsPlacement = 8
	ViewLayerContentsPlacementBottomLeft                ViewLayerContentsPlacement = 9
	ViewLayerContentsPlacementBottomRight               ViewLayerContentsPlacement = 7
	ViewLayerContentsPlacementCenter                    ViewLayerContentsPlacement = 3
	ViewLayerContentsPlacementLeft                      ViewLayerContentsPlacement = 10
	ViewLayerContentsPlacementRight                     ViewLayerContentsPlacement = 6
	ViewLayerContentsPlacementScaleAxesIndependently    ViewLayerContentsPlacement = 0
	ViewLayerContentsPlacementScaleProportionallyToFill ViewLayerContentsPlacement = 2
	ViewLayerContentsPlacementScaleProportionallyToFit  ViewLayerContentsPlacement = 1
	ViewLayerContentsPlacementTop                       ViewLayerContentsPlacement = 4
	ViewLayerContentsPlacementTopLeft                   ViewLayerContentsPlacement = 11
	ViewLayerContentsPlacementTopRight                  ViewLayerContentsPlacement = 5
)

type ViewLayerContentsRedrawPolicy

type ViewLayerContentsRedrawPolicy int

Constants that specify how layer resizing is handled when a view is layer-backed or layer-hosting. For more information, see the layerContentsRedrawPolicy property. Full Topic

const (
	ViewLayerContentsRedrawBeforeViewResize  ViewLayerContentsRedrawPolicy = 3
	ViewLayerContentsRedrawCrossfade         ViewLayerContentsRedrawPolicy = 4
	ViewLayerContentsRedrawDuringViewResize  ViewLayerContentsRedrawPolicy = 2
	ViewLayerContentsRedrawNever             ViewLayerContentsRedrawPolicy = 0
	ViewLayerContentsRedrawOnSetNeedsDisplay ViewLayerContentsRedrawPolicy = 1
)

type ViewToolTipOwnerWrapper

type ViewToolTipOwnerWrapper struct {
	objc.Object
}

A concrete type wrapper for the PViewToolTipOwner protocol.

func (ViewToolTipOwnerWrapper) HasViewStringForToolTipPointUserData

func (v_ ViewToolTipOwnerWrapper) HasViewStringForToolTipPointUserData() bool

func (ViewToolTipOwnerWrapper) ViewStringForToolTipPointUserData

func (v_ ViewToolTipOwnerWrapper) ViewStringForToolTipPointUserData(view IView, tag ToolTipTag, point foundation.Point, data unsafe.Pointer) string

Returns the tool tip string to be displayed due to the cursor pausing at location point within the tool tip rectangle identified by tag in the view view. Full Topic

type VisualEffectBlendingMode

type VisualEffectBlendingMode int

Constants that specify whether the visual effect view blends with what's either behind or within the window. Full Topic

const (
	VisualEffectBlendingModeBehindWindow VisualEffectBlendingMode = 0
	VisualEffectBlendingModeWithinWindow VisualEffectBlendingMode = 1
)

type VisualEffectMaterial

type VisualEffectMaterial int

Constants to specify the material shown by the visual effect view. Full Topic

const (
	VisualEffectMaterialAppearanceBased       VisualEffectMaterial = 0
	VisualEffectMaterialContentBackground     VisualEffectMaterial = 18
	VisualEffectMaterialDark                  VisualEffectMaterial = 2
	VisualEffectMaterialFullScreenUI          VisualEffectMaterial = 15
	VisualEffectMaterialHUDWindow             VisualEffectMaterial = 13
	VisualEffectMaterialHeaderView            VisualEffectMaterial = 10
	VisualEffectMaterialLight                 VisualEffectMaterial = 1
	VisualEffectMaterialMediumLight           VisualEffectMaterial = 8
	VisualEffectMaterialMenu                  VisualEffectMaterial = 5
	VisualEffectMaterialPopover               VisualEffectMaterial = 6
	VisualEffectMaterialSelection             VisualEffectMaterial = 4
	VisualEffectMaterialSheet                 VisualEffectMaterial = 11
	VisualEffectMaterialSidebar               VisualEffectMaterial = 7
	VisualEffectMaterialTitlebar              VisualEffectMaterial = 3
	VisualEffectMaterialToolTip               VisualEffectMaterial = 17
	VisualEffectMaterialUltraDark             VisualEffectMaterial = 9
	VisualEffectMaterialUnderPageBackground   VisualEffectMaterial = 22
	VisualEffectMaterialUnderWindowBackground VisualEffectMaterial = 21
	VisualEffectMaterialWindowBackground      VisualEffectMaterial = 12
)

type VisualEffectState

type VisualEffectState int

Constants to specify how the material appearance should reflect window activity state. Full Topic

const (
	VisualEffectStateActive                   VisualEffectState = 1
	VisualEffectStateFollowsWindowActiveState VisualEffectState = 0
	VisualEffectStateInactive                 VisualEffectState = 2
)

type VisualEffectView

type VisualEffectView struct {
	View
}

A view that adds translucency and vibrancy effects to the views in your interface. Full Topic

func NewVisualEffectView

func NewVisualEffectView() VisualEffectView

func NewVisualEffectViewWithFrame

func NewVisualEffectViewWithFrame(frameRect foundation.Rect) VisualEffectView

Initializes and returns a newly allocated NSView object with a specified frame rectangle. Full Topic

func VisualEffectViewFrom

func VisualEffectViewFrom(ptr unsafe.Pointer) VisualEffectView

func VisualEffectView_Alloc

func VisualEffectView_Alloc() VisualEffectView

func (VisualEffectView) BlendingMode

func (v_ VisualEffectView) BlendingMode() VisualEffectBlendingMode

A value indicating how the view’s contents blend with the surrounding content. Full Topic

func (VisualEffectView) Init

func (VisualEffectView) InitWithFrame

func (v_ VisualEffectView) InitWithFrame(frameRect foundation.Rect) VisualEffectView

func (VisualEffectView) InteriorBackgroundStyle

func (v_ VisualEffectView) InteriorBackgroundStyle() BackgroundStyle

The view’s interior background style. Full Topic

func (VisualEffectView) IsEmphasized

func (v_ VisualEffectView) IsEmphasized() bool

A Boolean value indicating whether to emphasize the look of the material. Full Topic

func (VisualEffectView) MaskImage

func (v_ VisualEffectView) MaskImage() Image

An image whose alpha channel masks the visual effect view's material. Full Topic

func (VisualEffectView) Material

func (v_ VisualEffectView) Material() VisualEffectMaterial

The material shown by the visual effect view. Full Topic

func (VisualEffectView) SetBlendingMode

func (v_ VisualEffectView) SetBlendingMode(value VisualEffectBlendingMode)

A value indicating how the view’s contents blend with the surrounding content. Full Topic

func (VisualEffectView) SetEmphasized

func (v_ VisualEffectView) SetEmphasized(value bool)

A Boolean value indicating whether to emphasize the look of the material. Full Topic

func (VisualEffectView) SetMaskImage

func (v_ VisualEffectView) SetMaskImage(value IImage)

An image whose alpha channel masks the visual effect view's material. Full Topic

func (VisualEffectView) SetMaterial

func (v_ VisualEffectView) SetMaterial(value VisualEffectMaterial)

The material shown by the visual effect view. Full Topic

func (VisualEffectView) SetState

func (v_ VisualEffectView) SetState(value VisualEffectState)

A value that indicates whether a view has a visual effect applied. Full Topic

func (VisualEffectView) State

A value that indicates whether a view has a visual effect applied. Full Topic

type VoiceAttributeKey

type VoiceAttributeKey string

The following constants are keys for the dictionary returned by attributesForVoice:. Full Topic

const (
	VoiceAge                          VoiceAttributeKey = "VoiceAge"
	VoiceDemoText                     VoiceAttributeKey = "VoiceDemoText"
	VoiceGender                       VoiceAttributeKey = "VoiceGender"
	VoiceIdentifier                   VoiceAttributeKey = "VoiceIdentifier"
	VoiceIndividuallySpokenCharacters VoiceAttributeKey = "VoiceIndividuallySpokenCharacters"
	VoiceLanguage                     VoiceAttributeKey = "VoiceLanguage"
	VoiceLocaleIdentifier             VoiceAttributeKey = "VoiceLocaleIdentifier"
	VoiceName                         VoiceAttributeKey = "VoiceName"
	VoiceSupportedCharacters          VoiceAttributeKey = "VoiceSupportedCharacters"
)

type VoiceGenderName

type VoiceGenderName string

The following constants define voice gender attributes, which are the allowable values of the NSVoiceGender key returned by attributesForVoice:. Full Topic

const (
	VoiceGenderFemale VoiceGenderName = "VoiceGenderFemale"
	VoiceGenderMale   VoiceGenderName = "VoiceGenderMale"
	VoiceGenderNeuter VoiceGenderName = "VoiceGenderNeuter"
)

type WindingRule

type WindingRule uint

Constants that specify the winding rule a Bézier path uses. Full Topic

const (
	EvenOddWindingRule WindingRule = 1
	NonZeroWindingRule WindingRule = 0
	WindingRuleEvenOdd WindingRule = 1
	WindingRuleNonZero WindingRule = 0
)

func BezierPath_DefaultWindingRule

func BezierPath_DefaultWindingRule() WindingRule

Returns the default winding rule used to fill all paths. Full Topic

type Window

type Window struct {
	Responder
}

A window that an app displays on the screen. Full Topic

func NewWindow

func NewWindow() Window

func NewWindowWithContentRectStyleMaskBackingDefer

func NewWindowWithContentRectStyleMaskBackingDefer(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool) Window

Initializes the window with the specified values. Full Topic

func NewWindowWithContentRectStyleMaskBackingDeferScreen

func NewWindowWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) Window

Initializes an allocated window with the specified values. Full Topic

func NewWindowWithSize

func NewWindowWithSize(width, height float64) Window

NewWindowWithSize create a common window with close/minimize buttons

func NewWindowWithSizeAndStyle

func NewWindowWithSizeAndStyle(width, height float64, style WindowStyleMask) Window

NewWindowWithSizeAndStyle create a common window with styles

func WindowFrom

func WindowFrom(ptr unsafe.Pointer) Window

func Window_Alloc

func Window_Alloc() Window

func Window_WindowWithContentViewController

func Window_WindowWithContentViewController(contentViewController IViewController) Window

Creates a titled window that contains the specified content view controller. Full Topic

func (Window) AcceptsMouseMovedEvents

func (w_ Window) AcceptsMouseMovedEvents() bool

A Boolean value that indicates whether the window accepts mouse-moved events. Full Topic

func (Window) AddChildWindowOrdered

func (w_ Window) AddChildWindowOrdered(childWin IWindow, place WindowOrderingMode)

Adds a given window as a child window of the window. Full Topic

func (Window) AddTabbedWindowOrdered

func (w_ Window) AddTabbedWindowOrdered(window IWindow, ordered WindowOrderingMode)

Adds the provided window as a new tab in a tabbed window using the specified ordering instruction. Full Topic

func (Window) AddTitlebarAccessoryViewController

func (w_ Window) AddTitlebarAccessoryViewController(childViewController ITitlebarAccessoryViewController)

Adds the specified title bar accessory view controller to the window. Full Topic

func (Window) AllowsConcurrentViewDrawing

func (w_ Window) AllowsConcurrentViewDrawing() bool

A Boolean value that indicates whether the window allows multithreaded view drawing. Full Topic

func (Window) AllowsToolTipsWhenApplicationIsInactive

func (w_ Window) AllowsToolTipsWhenApplicationIsInactive() bool

A Boolean value that indicates whether the window can display tooltips even when the application is in the background. Full Topic

func (Window) AlphaValue

func (w_ Window) AlphaValue() float64

The window’s alpha value. Full Topic

func (Window) AnchorAttributeForOrientation

func (w_ Window) AnchorAttributeForOrientation(orientation LayoutConstraintOrientation) LayoutAttribute

Returns the part of the window that stays stationary during constraint-based layout. Full Topic

func (Window) AnimationBehavior

func (w_ Window) AnimationBehavior() WindowAnimationBehavior

The window’s automatic animation behavior. Full Topic

func (Window) AnimationResizeTime

func (w_ Window) AnimationResizeTime(newFrame foundation.Rect) foundation.TimeInterval

Specifies the duration of a smooth frame-size change. Full Topic

func (Window) AppearanceSource

func (w_ Window) AppearanceSource() objc.Object

An object that the window inherits its appearance from. Full Topic

func (Window) AreCursorRectsEnabled

func (w_ Window) AreCursorRectsEnabled() bool

A Boolean value that indicates whether the window’s cursor rectangles are enabled. Full Topic

func (Window) AspectRatio

func (w_ Window) AspectRatio() foundation.Size

The window’s aspect ratio, which constrains the size of its frame rectangle to integral multiples of this ratio when the user resizes it. Full Topic

func (Window) AttachedSheet

func (w_ Window) AttachedSheet() Window

The sheet attached to the window. Full Topic

func (Window) AutorecalculatesContentBorderThicknessForEdge

func (w_ Window) AutorecalculatesContentBorderThicknessForEdge(edge foundation.RectEdge) bool

Indicates whether the window calculates the thickness of a given border automatically. Full Topic

func (Window) AutorecalculatesKeyViewLoop

func (w_ Window) AutorecalculatesKeyViewLoop() bool

A Boolean value that indicates whether the window automatically recalculates the key view loop when views are added. Full Topic

func (Window) BackgroundColor

func (w_ Window) BackgroundColor() Color

The color of the window’s background. Full Topic

func (Window) BackingAlignedRectOptions

func (w_ Window) BackingAlignedRectOptions(rect foundation.Rect, options foundation.AlignmentOptions) foundation.Rect

Returns a backing store pixel-aligned rectangle in window coordinates. Full Topic

func (Window) BackingScaleFactor

func (w_ Window) BackingScaleFactor() float64

The backing scale factor. Full Topic

func (Window) BackingType

func (w_ Window) BackingType() BackingStoreType

The window’s backing store type. Full Topic

func (Window) BecomeKeyWindow

func (w_ Window) BecomeKeyWindow()

Informs the window that it has become the key window. Full Topic

func (Window) BecomeMainWindow

func (w_ Window) BecomeMainWindow()

Informs the window that it has become the main window. Full Topic

func (Window) BeginCriticalSheetCompletionHandler

func (w_ Window) BeginCriticalSheetCompletionHandler(sheetWindow IWindow, handler func(returnCode ModalResponse))

Starts a document-modal session and presents the specified critical sheet. Full Topic

func (Window) BeginSheetCompletionHandler

func (w_ Window) BeginSheetCompletionHandler(sheetWindow IWindow, handler func(returnCode ModalResponse))

Starts a document-modal session and presents—or queues for presentation—a sheet. Full Topic

func (Window) CanBecomeKeyWindow

func (w_ Window) CanBecomeKeyWindow() bool

A Boolean value that indicates whether the window can become the key window. Full Topic

func (Window) CanBecomeMainWindow

func (w_ Window) CanBecomeMainWindow() bool

A Boolean value that indicates whether the window can become the application’s main window. Full Topic

func (Window) CanBecomeVisibleWithoutLogin

func (w_ Window) CanBecomeVisibleWithoutLogin() bool

A Boolean value that indicates whether the window can be displayed at the login window. Full Topic

func (Window) CanHide

func (w_ Window) CanHide() bool

A Boolean value that indicates whether the window can hide when its application becomes hidden. Full Topic

func (Window) CanRepresentDisplayGamut

func (w_ Window) CanRepresentDisplayGamut(displayGamut DisplayGamut) bool

A Boolean value that indicates if the window and its screen use a color space that can represent the specified display gamut. Full Topic

func (Window) CascadeTopLeftFromPoint

func (w_ Window) CascadeTopLeftFromPoint(topLeftPoint foundation.Point) foundation.Point

Positions the window’s top-left to a given point. Full Topic

func (Window) Center

func (w_ Window) Center()

Sets the window’s location to the center of the screen. Full Topic

func (Window) ChildWindows

func (w_ Window) ChildWindows() []Window

An array of the window’s attached child windows. Full Topic

func (Window) Close

func (w_ Window) Close()

Removes the window from the screen. Full Topic

func (Window) CollectionBehavior

func (w_ Window) CollectionBehavior() WindowCollectionBehavior

A value that identifies the window’s behavior in window collections. Full Topic

func (Window) ColorSpace

func (w_ Window) ColorSpace() ColorSpace

The window’s color space. Full Topic

func (Window) ConstrainFrameRectToScreen

func (w_ Window) ConstrainFrameRectToScreen(frameRect foundation.Rect, screen IScreen) foundation.Rect

Modifies and returns a frame rectangle so that its top edge lies on a specific screen. Full Topic

func (Window) ContentAspectRatio

func (w_ Window) ContentAspectRatio() foundation.Size

The window’s content aspect ratio. Full Topic

func (Window) ContentBorderThicknessForEdge

func (w_ Window) ContentBorderThicknessForEdge(edge foundation.RectEdge) float64

Indicates the thickness of a given border of the window. Full Topic

func (Window) ContentLayoutGuide

func (w_ Window) ContentLayoutGuide() objc.Object

A value used by Auto Layout constraints to automatically bind to the value of contentLayoutRect. Full Topic

func (Window) ContentLayoutRect

func (w_ Window) ContentLayoutRect() foundation.Rect

The area inside the window that is for non-obscured content, in window coordinates. Full Topic

func (Window) ContentMaxSize

func (w_ Window) ContentMaxSize() foundation.Size

The maximum size of the window’s content view in the window’s base coordinate system. Full Topic

func (Window) ContentMinSize

func (w_ Window) ContentMinSize() foundation.Size

The minimum size of the window’s content view in the window’s base coordinate system. Full Topic

func (Window) ContentResizeIncrements

func (w_ Window) ContentResizeIncrements() foundation.Size

The window’s content-view resizing increments. Full Topic

func (Window) ContentView

func (w_ Window) ContentView() View

The window’s content view, the highest accessible view object in the window’s view hierarchy. Full Topic

func (Window) ContentViewController

func (w_ Window) ContentViewController() ViewController

The main content view controller for the window. Full Topic

func (Window) ConvertPointFromBacking

func (w_ Window) ConvertPointFromBacking(point foundation.Point) foundation.Point

Converts a point from its pixel-aligned backing store coordinate system to the window’s coordinate system. Full Topic

func (Window) ConvertPointFromScreen

func (w_ Window) ConvertPointFromScreen(point foundation.Point) foundation.Point

Converts a point from the screen coordinate system to the window’s coordinate system. Full Topic

func (Window) ConvertPointToBacking

func (w_ Window) ConvertPointToBacking(point foundation.Point) foundation.Point

Converts a point from the window’s coordinate system to its pixel-aligned backing store coordinate system. Full Topic

func (Window) ConvertPointToScreen

func (w_ Window) ConvertPointToScreen(point foundation.Point) foundation.Point

Converts a point to the screen coordinate system from the window’s coordinate system. Full Topic

func (Window) ConvertRectFromBacking

func (w_ Window) ConvertRectFromBacking(rect foundation.Rect) foundation.Rect

Converts a rectangle from its pixel-aligned backing store coordinate system to the window’s coordinate system. Full Topic

func (Window) ConvertRectFromScreen

func (w_ Window) ConvertRectFromScreen(rect foundation.Rect) foundation.Rect

Converts a rectangle from the screen coordinate system to the window’s coordinate system. Full Topic

func (Window) ConvertRectToBacking

func (w_ Window) ConvertRectToBacking(rect foundation.Rect) foundation.Rect

Converts a rectangle from the window’s coordinate system to its pixel-aligned backing store coordinate system. Full Topic

func (Window) ConvertRectToScreen

func (w_ Window) ConvertRectToScreen(rect foundation.Rect) foundation.Rect

Converts a rectangle to the screen coordinate system from the window’s coordinate system. Full Topic

func (Window) CurrentEvent

func (w_ Window) CurrentEvent() Event

The event currently being processed by the application. Full Topic

func (Window) DataWithEPSInsideRect

func (w_ Window) DataWithEPSInsideRect(rect foundation.Rect) []byte

Returns EPS data that draws the region of the window within a given rectangle. Full Topic

func (Window) DataWithPDFInsideRect

func (w_ Window) DataWithPDFInsideRect(rect foundation.Rect) []byte

Returns PDF data that draws the region of the window within a given rectangle. Full Topic

func (Window) DeepestScreen

func (w_ Window) DeepestScreen() Screen

The deepest screen the window is on (it may be split over several screens). Full Topic

func (Window) DefaultButtonCell

func (w_ Window) DefaultButtonCell() ButtonCell

The button cell that performs as if clicked when the window receives a Return (or Enter) key event. Full Topic

func (Window) Delegate

func (w_ Window) Delegate() WindowDelegateWrapper

The window’s delegate. Full Topic

func (Window) Deminiaturize

func (w_ Window) Deminiaturize(sender objc.IObject)

De-minimizes the window. Full Topic

func (Window) DepthLimit

func (w_ Window) DepthLimit() WindowDepth

The depth limit of the window. Full Topic

func (Window) DeviceDescription

func (w_ Window) DeviceDescription() map[DeviceDescriptionKey]objc.Object

A dictionary containing information about the window’s resolution, such as color, depth, and so on. Full Topic

func (Window) DisableCursorRects

func (w_ Window) DisableCursorRects()

Disables all cursor rectangle management within the window. Full Topic

func (Window) DisableKeyEquivalentForDefaultButtonCell

func (w_ Window) DisableKeyEquivalentForDefaultButtonCell()

Disables the default button cell’s key equivalent, so it doesn’t perform a click when the user presses Return (or Enter). Full Topic

func (Window) DisableScreenUpdatesUntilFlush

func (w_ Window) DisableScreenUpdatesUntilFlush()

Disables the window’s screen updates until the window is flushed. Full Topic

func (Window) DisableSnapshotRestoration

func (w_ Window) DisableSnapshotRestoration()

Disables snapshot restoration. Full Topic

func (Window) DiscardCursorRects

func (w_ Window) DiscardCursorRects()

Invalidates all cursor rectangles in the window. Full Topic

func (Window) DiscardEventsMatchingMaskBeforeEvent

func (w_ Window) DiscardEventsMatchingMaskBeforeEvent(mask EventMask, lastEvent IEvent)

Forwards the message to the global application object. Full Topic

func (Window) Display

func (w_ Window) Display()

Passes a display message down the window’s view hierarchy, thus redrawing all views within the window. Full Topic

func (Window) DisplayIfNeeded

func (w_ Window) DisplayIfNeeded()

Passes a display message down the window’s view hierarchy, thus redrawing all views that need displaying. Full Topic

func (Window) DisplaysWhenScreenProfileChanges

func (w_ Window) DisplaysWhenScreenProfileChanges() bool

A Boolean value that indicates whether the window context should be updated when the screen profile changes or when the window moves to a different screen. Full Topic

func (Window) DockTile

func (w_ Window) DockTile() DockTile

The application’s Dock tile. Full Topic

func (Window) DragImageAtOffsetEventPasteboardSourceSlideBack

func (w_ Window) DragImageAtOffsetEventPasteboardSourceSlideBack(image IImage, baseLocation foundation.Point, initialOffset foundation.Size, event IEvent, pboard IPasteboard, sourceObj objc.IObject, slideFlag bool)

Begins a dragging session. Full Topic

func (Window) EnableCursorRects

func (w_ Window) EnableCursorRects()

Reenables cursor rectangle management within the window after a disableCursorRects message. Full Topic

func (Window) EnableKeyEquivalentForDefaultButtonCell

func (w_ Window) EnableKeyEquivalentForDefaultButtonCell()

Reenables the default button cell’s key equivalent, so it performs a click when the user presses Return (or Enter). Full Topic

func (Window) EnableSnapshotRestoration

func (w_ Window) EnableSnapshotRestoration()

Enables snapshot restoration. Full Topic

func (Window) EndEditingFor

func (w_ Window) EndEditingFor(object objc.IObject)

Forces the field editor to give up its first responder status and prepares it for its next assignment. Full Topic

func (Window) EndSheetReturnCode

func (w_ Window) EndSheetReturnCode(sheetWindow IWindow, returnCode ModalResponse)

Ends a document-modal session and dismisses the specified sheet. Full Topic

func (Window) FieldEditorForObject

func (w_ Window) FieldEditorForObject(createFlag bool, object objc.IObject) Text

Returns the window’s field editor, creating it if requested. Full Topic

func (Window) FirstResponder

func (w_ Window) FirstResponder() Responder

The window’s first responder. Full Topic

func (Window) Frame

func (w_ Window) Frame() foundation.Rect

The window’s frame rectangle in screen coordinates, including the title bar. Full Topic

func (Window) FrameAutosaveName

func (w_ Window) FrameAutosaveName() WindowFrameAutosaveName

The name used to automatically save the window’s frame rectangle data in the defaults system. Full Topic

func (Window) HandleCloseScriptCommand

func (w_ Window) HandleCloseScriptCommand(command foundation.ICloseCommand) objc.Object

Handles the AppleScript command to close the window (and its associated document, if any). Full Topic

func (Window) HandlePrintScriptCommand

func (w_ Window) HandlePrintScriptCommand(command foundation.IScriptCommand) objc.Object

Handles the AppleScript command to print the contents of the window (or its associated document, if any). Full Topic

func (Window) HandleSaveScriptCommand

func (w_ Window) HandleSaveScriptCommand(command foundation.IScriptCommand) objc.Object

Handles the AppleScript command to save the window (and its associated document, if any). Full Topic

func (Window) HasCloseBox

func (w_ Window) HasCloseBox() bool

A Boolean value that indicates if the window has a close box. Full Topic

func (Window) HasDynamicDepthLimit

func (w_ Window) HasDynamicDepthLimit() bool

A Boolean value that indicates whether the window’s depth limit can change to match the depth of the screen it’s on. Full Topic

func (Window) HasShadow

func (w_ Window) HasShadow() bool

A Boolean value that indicates whether the window has a shadow. Full Topic

func (Window) HasTitleBar

func (w_ Window) HasTitleBar() bool

A Boolean value that indicates if the window has a title bar. Full Topic

func (Window) HidesOnDeactivate

func (w_ Window) HidesOnDeactivate() bool

A Boolean value that indicates whether the window is removed from the screen when its application becomes inactive. Full Topic

func (Window) IgnoresMouseEvents

func (w_ Window) IgnoresMouseEvents() bool

A Boolean value that indicates whether the window is transparent to mouse events. Full Topic

func (Window) InLiveResize

func (w_ Window) InLiveResize() bool

A Boolean value that indicates whether the window is being resized by the user. Full Topic

func (Window) Init

func (w_ Window) Init() Window

func (Window) InitWithContentRectStyleMaskBackingDefer

func (w_ Window) InitWithContentRectStyleMaskBackingDefer(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool) Window

func (Window) InitWithContentRectStyleMaskBackingDeferScreen

func (w_ Window) InitWithContentRectStyleMaskBackingDeferScreen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) Window

func (Window) InitWithWindowRef

func (w_ Window) InitWithWindowRef(windowRef unsafe.Pointer) Window

Returns a Cocoa window created from a Carbon window. Full Topic

func (Window) InitialFirstResponder

func (w_ Window) InitialFirstResponder() View

The view that’s made first responder (also called the key view) the first time the window is placed onscreen. Full Topic

func (Window) InsertTitlebarAccessoryViewControllerAtIndex

func (w_ Window) InsertTitlebarAccessoryViewControllerAtIndex(childViewController ITitlebarAccessoryViewController, index int)

Inserts the view controller into the window’s array of title bar accessory view controllers at the specified index. Full Topic

func (Window) InvalidateCursorRectsForView

func (w_ Window) InvalidateCursorRectsForView(view IView)

Marks as invalid the cursor rectangles of a given view object in the window, so they’ll be set up again when the window becomes key. Full Topic

func (Window) InvalidateShadow

func (w_ Window) InvalidateShadow()

Invalidates the window shadow so that it is recomputed based on the current window shape. Full Topic

func (Window) IsDocumentEdited

func (w_ Window) IsDocumentEdited() bool

A Boolean value that indicates whether the window’s document has been edited. Full Topic

func (Window) IsExcludedFromWindowsMenu

func (w_ Window) IsExcludedFromWindowsMenu() bool

A Boolean value that indicates whether the window is excluded from the application’s Windows menu. Full Topic

func (Window) IsFloatingPanel

func (w_ Window) IsFloatingPanel() bool

A Boolean value that indicates whether the window is a floating panel. Full Topic

func (Window) IsKeyWindow

func (w_ Window) IsKeyWindow() bool

A Boolean value that indicates whether the window is the key window for the application. Full Topic

func (Window) IsMainWindow

func (w_ Window) IsMainWindow() bool

A Boolean value that indicates whether the window is the application’s main window. Full Topic

func (Window) IsMiniaturizable

func (w_ Window) IsMiniaturizable() bool

A Boolean value that indicates whether the window can minimize. Full Topic

func (Window) IsMiniaturized

func (w_ Window) IsMiniaturized() bool

A Boolean value that indicates whether the window is minimized. Full Topic

func (Window) IsModalPanel

func (w_ Window) IsModalPanel() bool

A Boolean value that indicates whether the window is a modal panel. Full Topic

func (Window) IsMovable

func (w_ Window) IsMovable() bool

A Boolean value that indicates whether the window can be dragged by clicking in its title bar or background. Full Topic

func (Window) IsMovableByWindowBackground

func (w_ Window) IsMovableByWindowBackground() bool

A Boolean value that indicates whether the window is movable by clicking and dragging anywhere in its background. Full Topic

func (Window) IsOnActiveSpace

func (w_ Window) IsOnActiveSpace() bool

A Boolean value that indicates whether the window is on the currently active space. Full Topic

func (Window) IsOpaque

func (w_ Window) IsOpaque() bool

A Boolean value that indicates whether the window is opaque. Full Topic

func (Window) IsReleasedWhenClosed

func (w_ Window) IsReleasedWhenClosed() bool

A Boolean value that indicates whether the window is released when it receives the close message. Full Topic

func (Window) IsResizable

func (w_ Window) IsResizable() bool

A Boolean value that indicates if the user can resize the window. Full Topic

func (Window) IsRestorable

func (w_ Window) IsRestorable() bool

A Boolean value indicating whether the window configuration is preserved between application launches. Full Topic

func (Window) IsSheet

func (w_ Window) IsSheet() bool

A Boolean value that indicates whether the window has ever run as a modal sheet. Full Topic

func (Window) IsVisible

func (w_ Window) IsVisible() bool

A Boolean value that indicates whether the window is visible onscreen (even when it’s obscured by other windows). Full Topic

func (Window) IsZoomable

func (w_ Window) IsZoomable() bool

A Boolean value that indicates whether the window allows zooming. Full Topic

func (Window) IsZoomed

func (w_ Window) IsZoomed() bool

A Boolean value that indicates whether the window is in a zoomed state. Full Topic

func (Window) KeyViewSelectionDirection

func (w_ Window) KeyViewSelectionDirection() SelectionDirection

The direction the window is currently using to change the key view. Full Topic

func (Window) LayoutIfNeeded

func (w_ Window) LayoutIfNeeded()

Updates the layout of views in the window based on the current views and constraints. Full Topic

func (Window) Level

func (w_ Window) Level() WindowLevel

The window level of the window. Full Topic

func (Window) MakeFirstResponder

func (w_ Window) MakeFirstResponder(responder IResponder) bool

Attempts to make a given responder the first responder for the window. Full Topic

func (Window) MakeKeyAndOrderFront

func (w_ Window) MakeKeyAndOrderFront(sender objc.IObject)

Moves the window to the front of the screen list, within its level, and makes it the key window; that is, it shows the window. Full Topic

func (Window) MakeKeyWindow

func (w_ Window) MakeKeyWindow()

Makes the window the key window. Full Topic

func (Window) MakeMainWindow

func (w_ Window) MakeMainWindow()

Makes the window the main window. Full Topic

func (Window) MaxFullScreenContentSize

func (w_ Window) MaxFullScreenContentSize() foundation.Size

A maximum size that is used to determine if a window can fit when it is in full screen in a tile. Full Topic

func (Window) MaxSize

func (w_ Window) MaxSize() foundation.Size

The maximum size to which the window’s frame (including its title bar) can be sized. Full Topic

func (Window) MergeAllWindows

func (w_ Window) MergeAllWindows(sender objc.IObject) objc.Object

Merges all open windows into a single tabbed window. Full Topic

func (Window) MinFullScreenContentSize

func (w_ Window) MinFullScreenContentSize() foundation.Size

A minimum size that is used to determine if a window can fit when it is in full screen in a tile. Full Topic

func (Window) MinSize

func (w_ Window) MinSize() foundation.Size

The minimum size to which the window’s frame (including its title bar) can be sized. Full Topic

func (Window) Miniaturize

func (w_ Window) Miniaturize(sender objc.IObject)

Removes the window from the screen list and displays the minimized window in the Dock. Full Topic

func (Window) MiniwindowImage

func (w_ Window) MiniwindowImage() Image

The custom miniaturized window image of the window. Full Topic

func (Window) MiniwindowTitle

func (w_ Window) MiniwindowTitle() string

The title displayed in the window’s minimized window. Full Topic

func (Window) MouseLocationOutsideOfEventStream

func (w_ Window) MouseLocationOutsideOfEventStream() foundation.Point

The current location of the pointer reckoned in the window’s base coordinate system, regardless of the current event being handled or of any events pending. Full Topic

func (Window) MoveTabToNewWindow

func (w_ Window) MoveTabToNewWindow(sender objc.IObject) objc.Object

Moves the tab to a new containing window. Full Topic

func (Window) NextEventMatchingMaskUntilDateInModeDequeue

func (w_ Window) NextEventMatchingMaskUntilDateInModeDequeue(mask EventMask, expiration foundation.IDate, mode foundation.RunLoopMode, deqFlag bool) Event

Forwards the message to the global application object. Full Topic

func (Window) OcclusionState

func (w_ Window) OcclusionState() WindowOcclusionState

The occlusion state of the window. Full Topic

func (Window) OrderBack

func (w_ Window) OrderBack(sender objc.IObject)

Moves the window to the back of its level in the screen list, without changing either the key window or the main window. Full Topic

func (Window) OrderFront

func (w_ Window) OrderFront(sender objc.IObject)

Moves the window to the front of its level in the screen list, without changing either the key window or the main window. Full Topic

func (Window) OrderFrontRegardless

func (w_ Window) OrderFrontRegardless()

Moves the window to the front of its level, even if its application isn’t active, without changing either the key window or the main window. Full Topic

func (Window) OrderOut

func (w_ Window) OrderOut(sender objc.IObject)

Removes the window from the screen list, which hides the window. Full Topic

func (Window) OrderWindowRelativeTo

func (w_ Window) OrderWindowRelativeTo(place WindowOrderingMode, otherWin int)

Repositions the window’s window device in the window server’s screen list. Full Topic

func (Window) OrderedIndex

func (w_ Window) OrderedIndex() int

The zero-based position of the window, based on its order from front to back among all visible application windows. Full Topic

func (Window) ParentWindow

func (w_ Window) ParentWindow() Window

The parent window to which the window is attached as a child. Full Topic

func (Window) PerformClose

func (w_ Window) PerformClose(sender objc.IObject)

Simulates the user clicking the close button by momentarily highlighting the button and then closing the window. Full Topic

func (Window) PerformMiniaturize

func (w_ Window) PerformMiniaturize(sender objc.IObject)

Simulates the user clicking the minimize button by momentarily highlighting the button, then minimizing the window. Full Topic

func (Window) PerformWindowDragWithEvent

func (w_ Window) PerformWindowDragWithEvent(event IEvent)

Starts a window drag based on the specified mouse-down event. Full Topic

func (Window) PerformZoom

func (w_ Window) PerformZoom(sender objc.IObject)

This action method simulates the user clicking the zoom box by momentarily highlighting the button and then zooming the window. Full Topic

func (Window) PostEventAtStart

func (w_ Window) PostEventAtStart(event IEvent, flag bool)

Forwards the message to the global application object. Full Topic

func (Window) PreservesContentDuringLiveResize

func (w_ Window) PreservesContentDuringLiveResize() bool

A Boolean value that indicates whether the window tries to optimize user-initiated resize operations by preserving the content of views that have not changed. Full Topic

func (Window) PreventsApplicationTerminationWhenModal

func (w_ Window) PreventsApplicationTerminationWhenModal() bool

A Boolean value that indicates whether the window prevents application termination when modal. Full Topic

func (Window) Print

func (w_ Window) Print(sender objc.IObject)

Runs the Print panel, and if the user chooses an option other than canceling, prints the window (its frame view and all subviews). Full Topic

func (Window) RecalculateKeyViewLoop

func (w_ Window) RecalculateKeyViewLoop()

Marks the key view loop as “dirty” and in need of recalculation. Full Topic

func (Window) RegisterForDraggedTypes

func (w_ Window) RegisterForDraggedTypes(newTypes []PasteboardType)

Registers a set of pasteboard types that the window accepts as the destination of an image-dragging session. Full Topic

func (Window) RemoveChildWindow

func (w_ Window) RemoveChildWindow(childWin IWindow)

Detaches a given child window from the window. Full Topic

func (Window) RemoveTitlebarAccessoryViewControllerAtIndex

func (w_ Window) RemoveTitlebarAccessoryViewControllerAtIndex(index int)

Removes the view controller at the specified index from the window’s array of title bar accessory view controllers. Full Topic

func (Window) RepresentedFilename

func (w_ Window) RepresentedFilename() string

The path to the file of the window’s represented file. Full Topic

func (Window) RepresentedURL

func (w_ Window) RepresentedURL() foundation.URL

The URL of the file the window represents. Full Topic

func (Window) ResetCursorRects

func (w_ Window) ResetCursorRects()

Clears the window’s cursor rectangles and the cursor rectangles of the NSView objects in its view hierarchy. Full Topic

func (Window) ResignKeyWindow

func (w_ Window) ResignKeyWindow()

Resigns the window’s key window status. Full Topic

func (Window) ResignMainWindow

func (w_ Window) ResignMainWindow()

Resigns the window’s main window status. Full Topic

func (Window) ResizeFlags

func (w_ Window) ResizeFlags() EventModifierFlags

The flags field of the event record for the mouse-down event that initiated the resizing session. Full Topic

func (Window) ResizeIncrements

func (w_ Window) ResizeIncrements() foundation.Size

The window’s resizing increments. Full Topic

func (Window) RestorationClass

func (w_ Window) RestorationClass() objc.Class

The restoration class associated with the window. Full Topic

func (Window) RunToolbarCustomizationPalette

func (w_ Window) RunToolbarCustomizationPalette(sender objc.IObject)

Presents the toolbar customization user interface. Full Topic

func (Window) SaveFrameUsingName

func (w_ Window) SaveFrameUsingName(name WindowFrameAutosaveName)

Saves the window’s frame rectangle in the user defaults system under a given name. Full Topic

func (Window) Screen

func (w_ Window) Screen() Screen

The screen the window is on. Full Topic

func (Window) SelectKeyViewFollowingView

func (w_ Window) SelectKeyViewFollowingView(view IView)

Gives key view status to the view that follows the given view. Full Topic

func (Window) SelectKeyViewPrecedingView

func (w_ Window) SelectKeyViewPrecedingView(view IView)

Gives key view status to the view that precedes the given view. Full Topic

func (Window) SelectNextKeyView

func (w_ Window) SelectNextKeyView(sender objc.IObject)

Searches for a candidate next key view and, if it finds one, tries to make it the first responder. Full Topic

func (Window) SelectNextTab

func (w_ Window) SelectNextTab(sender objc.IObject) objc.Object

Selects the next tab in the tab group in the trailing direction. Full Topic

func (Window) SelectPreviousKeyView

func (w_ Window) SelectPreviousKeyView(sender objc.IObject)

Searches for a candidate previous key view and, if it finds one, tries to make it the first responder. Full Topic

func (Window) SelectPreviousTab

func (w_ Window) SelectPreviousTab(sender objc.IObject) objc.Object

Selects the previous tab in the tab group in the leading direction. Full Topic

func (Window) SendEvent

func (w_ Window) SendEvent(event IEvent)

This action method dispatches mouse and keyboard events the global application object sends to the window. Full Topic

func (Window) SetAcceptsMouseMovedEvents

func (w_ Window) SetAcceptsMouseMovedEvents(value bool)

A Boolean value that indicates whether the window accepts mouse-moved events. Full Topic

func (Window) SetAllowsConcurrentViewDrawing

func (w_ Window) SetAllowsConcurrentViewDrawing(value bool)

A Boolean value that indicates whether the window allows multithreaded view drawing. Full Topic

func (Window) SetAllowsToolTipsWhenApplicationIsInactive

func (w_ Window) SetAllowsToolTipsWhenApplicationIsInactive(value bool)

A Boolean value that indicates whether the window can display tooltips even when the application is in the background. Full Topic

func (Window) SetAlphaValue

func (w_ Window) SetAlphaValue(value float64)

The window’s alpha value. Full Topic

func (Window) SetAnchorAttributeForOrientation

func (w_ Window) SetAnchorAttributeForOrientation(attr LayoutAttribute, orientation LayoutConstraintOrientation)

Sets the part of the window that stays stationary during constraint-based layout. Full Topic

func (Window) SetAnimationBehavior

func (w_ Window) SetAnimationBehavior(value WindowAnimationBehavior)

The window’s automatic animation behavior. Full Topic

func (Window) SetAppearanceSource

func (w_ Window) SetAppearanceSource(value objc.IObject)

An object that the window inherits its appearance from. Full Topic

func (Window) SetAspectRatio

func (w_ Window) SetAspectRatio(value foundation.Size)

The window’s aspect ratio, which constrains the size of its frame rectangle to integral multiples of this ratio when the user resizes it. Full Topic

func (Window) SetAutorecalculatesContentBorderThicknessForEdge

func (w_ Window) SetAutorecalculatesContentBorderThicknessForEdge(flag bool, edge foundation.RectEdge)

Specifies whether the window calculates the thickness of a given border automatically. Full Topic

func (Window) SetAutorecalculatesKeyViewLoop

func (w_ Window) SetAutorecalculatesKeyViewLoop(value bool)

A Boolean value that indicates whether the window automatically recalculates the key view loop when views are added. Full Topic

func (Window) SetBackgroundColor

func (w_ Window) SetBackgroundColor(value IColor)

The color of the window’s background. Full Topic

func (Window) SetBackingType

func (w_ Window) SetBackingType(value BackingStoreType)

The window’s backing store type. Full Topic

func (Window) SetCanBecomeVisibleWithoutLogin

func (w_ Window) SetCanBecomeVisibleWithoutLogin(value bool)

A Boolean value that indicates whether the window can be displayed at the login window. Full Topic

func (Window) SetCanHide

func (w_ Window) SetCanHide(value bool)

A Boolean value that indicates whether the window can hide when its application becomes hidden. Full Topic

func (Window) SetCollectionBehavior

func (w_ Window) SetCollectionBehavior(value WindowCollectionBehavior)

A value that identifies the window’s behavior in window collections. Full Topic

func (Window) SetColorSpace

func (w_ Window) SetColorSpace(value IColorSpace)

The window’s color space. Full Topic

func (Window) SetContentAspectRatio

func (w_ Window) SetContentAspectRatio(value foundation.Size)

The window’s content aspect ratio. Full Topic

func (Window) SetContentBorderThicknessForEdge

func (w_ Window) SetContentBorderThicknessForEdge(thickness float64, edge foundation.RectEdge)

Specifies the thickness of a given border of the window. Full Topic

func (Window) SetContentMaxSize

func (w_ Window) SetContentMaxSize(value foundation.Size)

The maximum size of the window’s content view in the window’s base coordinate system. Full Topic

func (Window) SetContentMinSize

func (w_ Window) SetContentMinSize(value foundation.Size)

The minimum size of the window’s content view in the window’s base coordinate system. Full Topic

func (Window) SetContentResizeIncrements

func (w_ Window) SetContentResizeIncrements(value foundation.Size)

The window’s content-view resizing increments. Full Topic

func (Window) SetContentSize

func (w_ Window) SetContentSize(size foundation.Size)

Sets the size of the window’s content view to a given size, which is expressed in the window’s base coordinate system. Full Topic

func (Window) SetContentView

func (w_ Window) SetContentView(value IView)

The window’s content view, the highest accessible view object in the window’s view hierarchy. Full Topic

func (Window) SetContentViewController

func (w_ Window) SetContentViewController(value IViewController)

The main content view controller for the window. Full Topic

func (Window) SetDefaultButtonCell

func (w_ Window) SetDefaultButtonCell(value IButtonCell)

The button cell that performs as if clicked when the window receives a Return (or Enter) key event. Full Topic

func (Window) SetDelegate

func (w_ Window) SetDelegate(value PWindowDelegate)

The window’s delegate. Full Topic

func (Window) SetDelegateObject

func (w_ Window) SetDelegateObject(valueObject objc.IObject)

The window’s delegate. Full Topic

func (Window) SetDepthLimit

func (w_ Window) SetDepthLimit(value WindowDepth)

The depth limit of the window. Full Topic

func (Window) SetDisplaysWhenScreenProfileChanges

func (w_ Window) SetDisplaysWhenScreenProfileChanges(value bool)

A Boolean value that indicates whether the window context should be updated when the screen profile changes or when the window moves to a different screen. Full Topic

func (Window) SetDocumentEdited

func (w_ Window) SetDocumentEdited(value bool)

A Boolean value that indicates whether the window’s document has been edited. Full Topic

func (Window) SetDynamicDepthLimit

func (w_ Window) SetDynamicDepthLimit(flag bool)

Sets a Boolean value that indicates whether the window’s depth limit can change to match the depth of the screen it’s on. Full Topic

func (Window) SetExcludedFromWindowsMenu

func (w_ Window) SetExcludedFromWindowsMenu(value bool)

A Boolean value that indicates whether the window is excluded from the application’s Windows menu. Full Topic

func (Window) SetFrameAutosaveName

func (w_ Window) SetFrameAutosaveName(name WindowFrameAutosaveName) bool

Sets the name AppKit uses to automatically save the window’s frame rectangle data in the defaults system. Full Topic

func (Window) SetFrameDisplay

func (w_ Window) SetFrameDisplay(frameRect foundation.Rect, flag bool)

Sets the origin and size of the window’s frame rectangle according to a given frame rectangle, thereby setting its position and size onscreen. Full Topic

func (Window) SetFrameFromString

func (w_ Window) SetFrameFromString(string_ WindowPersistableFrameDescriptor)

Sets the window’s frame rectangle from a given string representation. Full Topic

func (Window) SetFrameOrigin

func (w_ Window) SetFrameOrigin(point foundation.Point)

Positions the bottom-left corner of the window’s frame rectangle at a given point in screen coordinates. Full Topic

func (Window) SetFrameTopLeftPoint

func (w_ Window) SetFrameTopLeftPoint(point foundation.Point)

Positions the top-left corner of the window’s frame rectangle at a given point in screen coordinates. Full Topic

func (Window) SetFrameUsingName

func (w_ Window) SetFrameUsingName(name WindowFrameAutosaveName) bool

Sets the window’s frame rectangle by reading the rectangle data stored under a given name from the defaults system. Full Topic

func (Window) SetHasShadow

func (w_ Window) SetHasShadow(value bool)

A Boolean value that indicates whether the window has a shadow. Full Topic

func (Window) SetHidesOnDeactivate

func (w_ Window) SetHidesOnDeactivate(value bool)

A Boolean value that indicates whether the window is removed from the screen when its application becomes inactive. Full Topic

func (Window) SetIgnoresMouseEvents

func (w_ Window) SetIgnoresMouseEvents(value bool)

A Boolean value that indicates whether the window is transparent to mouse events. Full Topic

func (Window) SetInitialFirstResponder

func (w_ Window) SetInitialFirstResponder(value IView)

The view that’s made first responder (also called the key view) the first time the window is placed onscreen. Full Topic

func (Window) SetIsMiniaturized

func (w_ Window) SetIsMiniaturized(flag bool)

Sets the window’s miniaturized state to the value you specify. Full Topic

func (Window) SetIsVisible

func (w_ Window) SetIsVisible(flag bool)

Sets the window’s visible state to the value you specify. Full Topic

func (Window) SetIsZoomed

func (w_ Window) SetIsZoomed(flag bool)

Sets the window’s zoomed state to the value you specify. Full Topic

func (Window) SetLevel

func (w_ Window) SetLevel(value WindowLevel)

The window level of the window. Full Topic

func (Window) SetMaxFullScreenContentSize

func (w_ Window) SetMaxFullScreenContentSize(value foundation.Size)

A maximum size that is used to determine if a window can fit when it is in full screen in a tile. Full Topic

func (Window) SetMaxSize

func (w_ Window) SetMaxSize(value foundation.Size)

The maximum size to which the window’s frame (including its title bar) can be sized. Full Topic

func (Window) SetMinFullScreenContentSize

func (w_ Window) SetMinFullScreenContentSize(value foundation.Size)

A minimum size that is used to determine if a window can fit when it is in full screen in a tile. Full Topic

func (Window) SetMinSize

func (w_ Window) SetMinSize(value foundation.Size)

The minimum size to which the window’s frame (including its title bar) can be sized. Full Topic

func (Window) SetMiniwindowImage

func (w_ Window) SetMiniwindowImage(value IImage)

The custom miniaturized window image of the window. Full Topic

func (Window) SetMiniwindowTitle

func (w_ Window) SetMiniwindowTitle(value string)

The title displayed in the window’s minimized window. Full Topic

func (Window) SetMovable

func (w_ Window) SetMovable(value bool)

A Boolean value that indicates whether the window can be dragged by clicking in its title bar or background. Full Topic

func (Window) SetMovableByWindowBackground

func (w_ Window) SetMovableByWindowBackground(value bool)

A Boolean value that indicates whether the window is movable by clicking and dragging anywhere in its background. Full Topic

func (Window) SetOpaque

func (w_ Window) SetOpaque(value bool)

A Boolean value that indicates whether the window is opaque. Full Topic

func (Window) SetOrderedIndex

func (w_ Window) SetOrderedIndex(value int)

The zero-based position of the window, based on its order from front to back among all visible application windows. Full Topic

func (Window) SetParentWindow

func (w_ Window) SetParentWindow(value IWindow)

The parent window to which the window is attached as a child. Full Topic

func (Window) SetPreservesContentDuringLiveResize

func (w_ Window) SetPreservesContentDuringLiveResize(value bool)

A Boolean value that indicates whether the window tries to optimize user-initiated resize operations by preserving the content of views that have not changed. Full Topic

func (Window) SetPreventsApplicationTerminationWhenModal

func (w_ Window) SetPreventsApplicationTerminationWhenModal(value bool)

A Boolean value that indicates whether the window prevents application termination when modal. Full Topic

func (Window) SetReleasedWhenClosed

func (w_ Window) SetReleasedWhenClosed(value bool)

A Boolean value that indicates whether the window is released when it receives the close message. Full Topic

func (Window) SetRepresentedFilename

func (w_ Window) SetRepresentedFilename(value string)

The path to the file of the window’s represented file. Full Topic

func (Window) SetRepresentedURL

func (w_ Window) SetRepresentedURL(value foundation.IURL)

The URL of the file the window represents. Full Topic

func (Window) SetResizeIncrements

func (w_ Window) SetResizeIncrements(value foundation.Size)

The window’s resizing increments. Full Topic

func (Window) SetRestorable

func (w_ Window) SetRestorable(value bool)

A Boolean value indicating whether the window configuration is preserved between application launches. Full Topic

func (Window) SetRestorationClass

func (w_ Window) SetRestorationClass(value objc.IClass)

The restoration class associated with the window. Full Topic

func (Window) SetSharingType

func (w_ Window) SetSharingType(value WindowSharingType)

A Boolean value that indicates the level of access other processes have to the window’s content. Full Topic

func (Window) SetStyleMask

func (w_ Window) SetStyleMask(value WindowStyleMask)

Flags that describe the window’s current style, such as if it’s resizable or in full-screen mode. Full Topic

func (Window) SetSubtitle

func (w_ Window) SetSubtitle(value string)

A secondary line of text that appears in the title bar of the window. Full Topic

func (Window) SetTabbingIdentifier

func (w_ Window) SetTabbingIdentifier(value WindowTabbingIdentifier)

A value that allows a group of related windows. Full Topic

func (Window) SetTabbingMode

func (w_ Window) SetTabbingMode(value WindowTabbingMode)

A value that indicates when a window displays tabs. Full Topic

func (Window) SetTitle

func (w_ Window) SetTitle(value string)

The string that appears in the title bar of the window or the path to the represented file. Full Topic

func (Window) SetTitleVisibility

func (w_ Window) SetTitleVisibility(value WindowTitleVisibility)

A value that indicates the visibility of the window’s title and title bar buttons. Full Topic

func (Window) SetTitleWithRepresentedFilename

func (w_ Window) SetTitleWithRepresentedFilename(filename string)

Sets a given path as the window’s title, formatting it as a file-system path, and records this path as the window’s associated file. Full Topic

func (Window) SetTitlebarAccessoryViewControllers

func (w_ Window) SetTitlebarAccessoryViewControllers(value []ITitlebarAccessoryViewController)

An array of title bar accessory view controllers that are currently added to the window. Full Topic

func (Window) SetTitlebarAppearsTransparent

func (w_ Window) SetTitlebarAppearsTransparent(value bool)

A Boolean value that indicates whether the title bar draws its background. Full Topic

func (Window) SetTitlebarSeparatorStyle

func (w_ Window) SetTitlebarSeparatorStyle(value TitlebarSeparatorStyle)

The type of separator that the app displays between the title bar and content of a window. Full Topic

func (Window) SetToolbar

func (w_ Window) SetToolbar(value IToolbar)

The window’s toolbar. Full Topic

func (Window) SetToolbarStyle

func (w_ Window) SetToolbarStyle(value WindowToolbarStyle)

The style that determines the appearance and location of the toolbar in relation to the title bar. Full Topic

func (Window) SetViewsNeedDisplay

func (w_ Window) SetViewsNeedDisplay(value bool)

A Boolean value that indicates whether any of the window’s views need to be displayed. Full Topic

func (Window) SetWindowController

func (w_ Window) SetWindowController(value IWindowController)

The window’s window controller. Full Topic

func (Window) SharingType

func (w_ Window) SharingType() WindowSharingType

A Boolean value that indicates the level of access other processes have to the window’s content. Full Topic

func (Window) SheetParent

func (w_ Window) SheetParent() Window

The window to which the sheet is attached. Full Topic

func (Window) Sheets

func (w_ Window) Sheets() []Window

An array of the sheets currently attached to the window. Full Topic

func (Window) StandardWindowButton

func (w_ Window) StandardWindowButton(b WindowButton) Button

Returns the window button of a given window button kind in the window’s view hierarchy. Full Topic

func (Window) StringWithSavedFrame

func (w_ Window) StringWithSavedFrame() WindowPersistableFrameDescriptor

A string representation of the window’s frame rectangle. Full Topic

func (Window) StyleMask

func (w_ Window) StyleMask() WindowStyleMask

Flags that describe the window’s current style, such as if it’s resizable or in full-screen mode. Full Topic

func (Window) Subtitle

func (w_ Window) Subtitle() string

A secondary line of text that appears in the title bar of the window. Full Topic

func (Window) Tab

func (w_ Window) Tab() WindowTab

An object that represents information about a window when it displays as a tab. Full Topic

func (Window) TabGroup

func (w_ Window) TabGroup() WindowTabGroup

A group of windows that display together as a tab group. Full Topic

func (Window) TabbedWindows

func (w_ Window) TabbedWindows() []Window

An array of windows that display as tabs. Full Topic

func (Window) TabbingIdentifier

func (w_ Window) TabbingIdentifier() WindowTabbingIdentifier

A value that allows a group of related windows. Full Topic

func (Window) TabbingMode

func (w_ Window) TabbingMode() WindowTabbingMode

A value that indicates when a window displays tabs. Full Topic

func (Window) Title

func (w_ Window) Title() string

The string that appears in the title bar of the window or the path to the represented file. Full Topic

func (Window) TitleVisibility

func (w_ Window) TitleVisibility() WindowTitleVisibility

A value that indicates the visibility of the window’s title and title bar buttons. Full Topic

func (Window) TitlebarAccessoryViewControllers

func (w_ Window) TitlebarAccessoryViewControllers() []TitlebarAccessoryViewController

An array of title bar accessory view controllers that are currently added to the window. Full Topic

func (Window) TitlebarAppearsTransparent

func (w_ Window) TitlebarAppearsTransparent() bool

A Boolean value that indicates whether the title bar draws its background. Full Topic

func (Window) TitlebarSeparatorStyle

func (w_ Window) TitlebarSeparatorStyle() TitlebarSeparatorStyle

The type of separator that the app displays between the title bar and content of a window. Full Topic

func (Window) ToggleFullScreen

func (w_ Window) ToggleFullScreen(sender objc.IObject)

Takes the window into or out of fullscreen mode, Full Topic

func (Window) ToggleTabBar

func (w_ Window) ToggleTabBar(sender objc.IObject) objc.Object

Shows or hides the tab bar. Full Topic

func (Window) ToggleTabOverview

func (w_ Window) ToggleTabOverview(sender objc.IObject) objc.Object

Shows or hides the tab overview. Full Topic

func (Window) ToggleToolbarShown

func (w_ Window) ToggleToolbarShown(sender objc.IObject)

Toggles the visibility of the window’s toolbar. Full Topic

func (Window) Toolbar

func (w_ Window) Toolbar() Toolbar

The window’s toolbar. Full Topic

func (Window) ToolbarStyle

func (w_ Window) ToolbarStyle() WindowToolbarStyle

The style that determines the appearance and location of the toolbar in relation to the title bar. Full Topic

func (Window) TrackEventsMatchingMaskTimeoutModeHandler

func (w_ Window) TrackEventsMatchingMaskTimeoutModeHandler(mask EventMask, timeout foundation.TimeInterval, mode foundation.RunLoopMode, trackingHandler func(event Event, stop *bool))

Tracks events that match the specified mask using the specified tracking handler until the tracking handler explicitly terminates tracking. Full Topic

func (Window) UnregisterDraggedTypes

func (w_ Window) UnregisterDraggedTypes()

Unregisters the window as a possible destination for dragging operations. Full Topic

func (Window) Update

func (w_ Window) Update()

Updates the window. Full Topic

func (Window) UpdateConstraintsIfNeeded

func (w_ Window) UpdateConstraintsIfNeeded()

Updates the constraints based on changes to views in the window since the last layout. Full Topic

func (Window) ViewsNeedDisplay

func (w_ Window) ViewsNeedDisplay() bool

A Boolean value that indicates whether any of the window’s views need to be displayed. Full Topic

func (Window) VisualizeConstraints

func (w_ Window) VisualizeConstraints(constraints []ILayoutConstraint)

Displays a visual representation of the supplied constraints in the window. Full Topic

func (Window) WindowController

func (w_ Window) WindowController() WindowController

The window’s window controller. Full Topic

func (Window) WindowNumber

func (w_ Window) WindowNumber() int

The window number of the window’s window device. Full Topic

func (Window) WindowRef

func (w_ Window) WindowRef() unsafe.Pointer

The Carbon window reference associated with the window, creating one if necessary. Full Topic

func (Window) WindowTitlebarLayoutDirection

func (w_ Window) WindowTitlebarLayoutDirection() UserInterfaceLayoutDirection

The direction the window’s title bar lays text out, either left to right or right to left. Full Topic

func (Window) WorksWhenModal

func (w_ Window) WorksWhenModal() bool

A Boolean value that indicates whether the window is able to receive keyboard and mouse events even when some other window is being run modally. Full Topic

func (Window) Zoom

func (w_ Window) Zoom(sender objc.IObject)

Toggles the size and location of the window between its standard state (which the application provides as the best size to display the window’s data) and its user state (a new size and location the user may have set by moving or resizing the window). Full Topic

type WindowAnimationBehavior

type WindowAnimationBehavior int

Constants that control the automatic window animation behavior windows use when ordering to the front or out of view. Full Topic

const (
	WindowAnimationBehaviorAlertPanel     WindowAnimationBehavior = 5
	WindowAnimationBehaviorDefault        WindowAnimationBehavior = 0
	WindowAnimationBehaviorDocumentWindow WindowAnimationBehavior = 3
	WindowAnimationBehaviorNone           WindowAnimationBehavior = 2
	WindowAnimationBehaviorUtilityWindow  WindowAnimationBehavior = 4
)

type WindowBackingLocation

type WindowBackingLocation uint

The following constants and the related data type represent a window’s possible backing locations. Full Topic

const (
	WindowBackingLocationDefault     WindowBackingLocation = 0
	WindowBackingLocationMainMemory  WindowBackingLocation = 2
	WindowBackingLocationVideoMemory WindowBackingLocation = 1
)

type WindowButton

type WindowButton uint

Constants that provide a way to access standard title bar buttons. Full Topic

const (
	WindowCloseButton            WindowButton = 0
	WindowDocumentIconButton     WindowButton = 4
	WindowDocumentVersionsButton WindowButton = 6
	WindowFullScreenButton       WindowButton = 7
	WindowMiniaturizeButton      WindowButton = 1
	WindowToolbarButton          WindowButton = 3
	WindowZoomButton             WindowButton = 2
)

type WindowCollectionBehavior

type WindowCollectionBehavior uint

Window collection behaviors related to Mission Control, Spaces, and Stage Manager. Full Topic

const (
	WindowCollectionBehaviorCanJoinAllSpaces          WindowCollectionBehavior = 1
	WindowCollectionBehaviorDefault                   WindowCollectionBehavior = 0
	WindowCollectionBehaviorFullScreenAllowsTiling    WindowCollectionBehavior = 2048
	WindowCollectionBehaviorFullScreenAuxiliary       WindowCollectionBehavior = 256
	WindowCollectionBehaviorFullScreenDisallowsTiling WindowCollectionBehavior = 4096
	WindowCollectionBehaviorFullScreenNone            WindowCollectionBehavior = 512
	WindowCollectionBehaviorFullScreenPrimary         WindowCollectionBehavior = 128
	WindowCollectionBehaviorIgnoresCycle              WindowCollectionBehavior = 64
	WindowCollectionBehaviorManaged                   WindowCollectionBehavior = 4
	WindowCollectionBehaviorMoveToActiveSpace         WindowCollectionBehavior = 2
	WindowCollectionBehaviorParticipatesInCycle       WindowCollectionBehavior = 32
	WindowCollectionBehaviorStationary                WindowCollectionBehavior = 16
	WindowCollectionBehaviorTransient                 WindowCollectionBehavior = 8
)

type WindowController

type WindowController struct {
	Responder
}

A controller that manages a window, usually a window stored in a nib file. Full Topic

func NewWindowController

func NewWindowController() WindowController

func NewWindowControllerWithWindow

func NewWindowControllerWithWindow(window IWindow) WindowController

Returns a window controller initialized with a given window. Full Topic

func NewWindowControllerWithWindowNibNameOwner

func NewWindowControllerWithWindowNibNameOwner(windowNibName NibName, owner objc.IObject) WindowController

Returns a window controller initialized with a nib file and a specified owner for that nib file. Full Topic

func NewWindowControllerWithWindowNibPathOwner

func NewWindowControllerWithWindowNibPathOwner(windowNibPath string, owner objc.IObject) WindowController

Returns a window controller initialized with a nib file at an absolute path and a specified owner. Full Topic

func WindowControllerFrom

func WindowControllerFrom(ptr unsafe.Pointer) WindowController

func WindowController_Alloc

func WindowController_Alloc() WindowController

func (WindowController) Close

func (w_ WindowController) Close()

Closes the window if it was loaded. Full Topic

func (WindowController) ContentViewController

func (w_ WindowController) ContentViewController() ViewController

The view controller for the window’s content view. Full Topic

func (WindowController) DismissController

func (w_ WindowController) DismissController(sender objc.IObject) objc.Object

Dismisses the window controller. Full Topic

func (WindowController) Document

func (w_ WindowController) Document() objc.Object

The document associated with the window controller. Full Topic

func (WindowController) Init

func (WindowController) InitWithWindow

func (w_ WindowController) InitWithWindow(window IWindow) WindowController

func (WindowController) InitWithWindowNibNameOwner

func (w_ WindowController) InitWithWindowNibNameOwner(windowNibName NibName, owner objc.IObject) WindowController

func (WindowController) InitWithWindowNibPathOwner

func (w_ WindowController) InitWithWindowNibPathOwner(windowNibPath string, owner objc.IObject) WindowController

func (WindowController) IsWindowLoaded

func (w_ WindowController) IsWindowLoaded() bool

A Boolean value that indicates whether the nib file containing the receiver’s window has been loaded. Full Topic

func (WindowController) LoadWindow

func (w_ WindowController) LoadWindow()

Loads the receiver’s window from the nib file. Full Topic

func (WindowController) Owner

func (w_ WindowController) Owner() objc.Object

The owner of the nib file containing the window managed by the receiver. Full Topic

func (WindowController) SetContentViewController

func (w_ WindowController) SetContentViewController(value IViewController)

The view controller for the window’s content view. Full Topic

func (WindowController) SetDocument

func (w_ WindowController) SetDocument(value objc.IObject)

The document associated with the window controller. Full Topic

func (WindowController) SetDocumentEdited

func (w_ WindowController) SetDocumentEdited(dirtyFlag bool)

Sets the document edited flag for the window controller. Full Topic

func (WindowController) SetShouldCascadeWindows

func (w_ WindowController) SetShouldCascadeWindows(value bool)

A Boolean value that indicates whether the window will cascade in relation to other document windows when it is displayed. Full Topic

func (WindowController) SetShouldCloseDocument

func (w_ WindowController) SetShouldCloseDocument(value bool)

A Boolean value that indicates whether the receiver necessarily closes the associated document when the window it manages is closed. Full Topic

func (WindowController) SetWindow

func (w_ WindowController) SetWindow(value IWindow)

The window owned by the receiver. Full Topic

func (WindowController) SetWindowFrameAutosaveName

func (w_ WindowController) SetWindowFrameAutosaveName(value WindowFrameAutosaveName)

The name under which the frame rectangle of the window owned by the receiver is stored in the defaults database. Full Topic

func (WindowController) ShouldCascadeWindows

func (w_ WindowController) ShouldCascadeWindows() bool

A Boolean value that indicates whether the window will cascade in relation to other document windows when it is displayed. Full Topic

func (WindowController) ShouldCloseDocument

func (w_ WindowController) ShouldCloseDocument() bool

A Boolean value that indicates whether the receiver necessarily closes the associated document when the window it manages is closed. Full Topic

func (WindowController) ShowWindow

func (w_ WindowController) ShowWindow(sender objc.IObject) objc.Object

Displays the window associated with the receiver. Full Topic

func (WindowController) Storyboard

func (w_ WindowController) Storyboard() Storyboard

The storyboard file from which the window controller was loaded. Full Topic

func (WindowController) SynchronizeWindowTitleWithDocumentName

func (w_ WindowController) SynchronizeWindowTitleWithDocumentName()

Synchronizes the displayed window title and the represented filename with the information in the associated document. Full Topic

func (WindowController) Window

func (w_ WindowController) Window() Window

The window owned by the receiver. Full Topic

func (WindowController) WindowDidLoad

func (w_ WindowController) WindowDidLoad()

Sent after the window owned by the receiver has been loaded. Full Topic

func (WindowController) WindowFrameAutosaveName

func (w_ WindowController) WindowFrameAutosaveName() WindowFrameAutosaveName

The name under which the frame rectangle of the window owned by the receiver is stored in the defaults database. Full Topic

func (WindowController) WindowNibName

func (w_ WindowController) WindowNibName() NibName

The name of the nib file that stores the window associated with the receiver. Full Topic

func (WindowController) WindowNibPath

func (w_ WindowController) WindowNibPath() string

The full path of the nib file that stores the window associated with the receiver. Full Topic

func (WindowController) WindowTitleForDocumentDisplayName

func (w_ WindowController) WindowTitleForDocumentDisplayName(displayName string) string

Returns the window title to be used for a given document display name. Full Topic

func (WindowController) WindowWillLoad

func (w_ WindowController) WindowWillLoad()

Sent before the window owned by the receiver is loaded. Full Topic

type WindowDelegate

type WindowDelegate struct {
	// contains filtered or unexported fields
}

A delegate implementation builder for the PWindowDelegate protocol.

func (*WindowDelegate) CustomWindowsToEnterFullScreenForWindow

func (di *WindowDelegate) CustomWindowsToEnterFullScreenForWindow(window Window) []IWindow

Called when the window is about to enter full-screen mode. Full Topic

func (*WindowDelegate) CustomWindowsToExitFullScreenForWindow

func (di *WindowDelegate) CustomWindowsToExitFullScreenForWindow(window Window) []IWindow

Called when the window is about to exit full-screen mode. Full Topic

func (*WindowDelegate) HasCustomWindowsToEnterFullScreenForWindow

func (di *WindowDelegate) HasCustomWindowsToEnterFullScreenForWindow() bool

func (*WindowDelegate) HasCustomWindowsToExitFullScreenForWindow

func (di *WindowDelegate) HasCustomWindowsToExitFullScreenForWindow() bool

func (*WindowDelegate) HasWindowDidBecomeKey

func (di *WindowDelegate) HasWindowDidBecomeKey() bool

func (*WindowDelegate) HasWindowDidBecomeMain

func (di *WindowDelegate) HasWindowDidBecomeMain() bool

func (*WindowDelegate) HasWindowDidChangeBackingProperties

func (di *WindowDelegate) HasWindowDidChangeBackingProperties() bool

func (*WindowDelegate) HasWindowDidChangeOcclusionState

func (di *WindowDelegate) HasWindowDidChangeOcclusionState() bool

func (*WindowDelegate) HasWindowDidChangeScreen

func (di *WindowDelegate) HasWindowDidChangeScreen() bool

func (*WindowDelegate) HasWindowDidChangeScreenProfile

func (di *WindowDelegate) HasWindowDidChangeScreenProfile() bool

func (*WindowDelegate) HasWindowDidDecodeRestorableState

func (di *WindowDelegate) HasWindowDidDecodeRestorableState() bool

func (*WindowDelegate) HasWindowDidDeminiaturize

func (di *WindowDelegate) HasWindowDidDeminiaturize() bool

func (*WindowDelegate) HasWindowDidEndLiveResize

func (di *WindowDelegate) HasWindowDidEndLiveResize() bool

func (*WindowDelegate) HasWindowDidEndSheet

func (di *WindowDelegate) HasWindowDidEndSheet() bool

func (*WindowDelegate) HasWindowDidEnterFullScreen

func (di *WindowDelegate) HasWindowDidEnterFullScreen() bool

func (*WindowDelegate) HasWindowDidEnterVersionBrowser

func (di *WindowDelegate) HasWindowDidEnterVersionBrowser() bool

func (*WindowDelegate) HasWindowDidExitFullScreen

func (di *WindowDelegate) HasWindowDidExitFullScreen() bool

func (*WindowDelegate) HasWindowDidExitVersionBrowser

func (di *WindowDelegate) HasWindowDidExitVersionBrowser() bool

func (*WindowDelegate) HasWindowDidExpose

func (di *WindowDelegate) HasWindowDidExpose() bool

func (*WindowDelegate) HasWindowDidFailToEnterFullScreen

func (di *WindowDelegate) HasWindowDidFailToEnterFullScreen() bool

func (*WindowDelegate) HasWindowDidFailToExitFullScreen

func (di *WindowDelegate) HasWindowDidFailToExitFullScreen() bool

func (*WindowDelegate) HasWindowDidMiniaturize

func (di *WindowDelegate) HasWindowDidMiniaturize() bool

func (*WindowDelegate) HasWindowDidMove

func (di *WindowDelegate) HasWindowDidMove() bool

func (*WindowDelegate) HasWindowDidResignKey

func (di *WindowDelegate) HasWindowDidResignKey() bool

func (*WindowDelegate) HasWindowDidResignMain

func (di *WindowDelegate) HasWindowDidResignMain() bool

func (*WindowDelegate) HasWindowDidResize

func (di *WindowDelegate) HasWindowDidResize() bool

func (*WindowDelegate) HasWindowDidUpdate

func (di *WindowDelegate) HasWindowDidUpdate() bool

func (*WindowDelegate) HasWindowShouldClose

func (di *WindowDelegate) HasWindowShouldClose() bool

func (*WindowDelegate) HasWindowShouldZoomToFrame

func (di *WindowDelegate) HasWindowShouldZoomToFrame() bool

func (*WindowDelegate) HasWindowWillBeginSheet

func (di *WindowDelegate) HasWindowWillBeginSheet() bool

func (*WindowDelegate) HasWindowWillClose

func (di *WindowDelegate) HasWindowWillClose() bool

func (*WindowDelegate) HasWindowWillEnterFullScreen

func (di *WindowDelegate) HasWindowWillEnterFullScreen() bool

func (*WindowDelegate) HasWindowWillEnterVersionBrowser

func (di *WindowDelegate) HasWindowWillEnterVersionBrowser() bool

func (*WindowDelegate) HasWindowWillExitFullScreen

func (di *WindowDelegate) HasWindowWillExitFullScreen() bool

func (*WindowDelegate) HasWindowWillExitVersionBrowser

func (di *WindowDelegate) HasWindowWillExitVersionBrowser() bool

func (*WindowDelegate) HasWindowWillMiniaturize

func (di *WindowDelegate) HasWindowWillMiniaturize() bool

func (*WindowDelegate) HasWindowWillMove

func (di *WindowDelegate) HasWindowWillMove() bool

func (*WindowDelegate) HasWindowWillResizeToSize

func (di *WindowDelegate) HasWindowWillResizeToSize() bool

func (*WindowDelegate) HasWindowWillReturnFieldEditorToObject

func (di *WindowDelegate) HasWindowWillReturnFieldEditorToObject() bool

func (*WindowDelegate) HasWindowWillReturnUndoManager

func (di *WindowDelegate) HasWindowWillReturnUndoManager() bool

func (*WindowDelegate) HasWindowWillStartLiveResize

func (di *WindowDelegate) HasWindowWillStartLiveResize() bool

func (*WindowDelegate) HasWindowWillUseStandardFrameDefaultFrame

func (di *WindowDelegate) HasWindowWillUseStandardFrameDefaultFrame() bool

func (*WindowDelegate) SetCustomWindowsToEnterFullScreenForWindow

func (di *WindowDelegate) SetCustomWindowsToEnterFullScreenForWindow(f func(window Window) []IWindow)

Called when the window is about to enter full-screen mode. Full Topic

func (*WindowDelegate) SetCustomWindowsToExitFullScreenForWindow

func (di *WindowDelegate) SetCustomWindowsToExitFullScreenForWindow(f func(window Window) []IWindow)

Called when the window is about to exit full-screen mode. Full Topic

func (*WindowDelegate) SetWindowDidBecomeKey

func (di *WindowDelegate) SetWindowDidBecomeKey(f func(notification foundation.Notification))

Tells the delegate that the window has become the key window. Full Topic

func (*WindowDelegate) SetWindowDidBecomeMain

func (di *WindowDelegate) SetWindowDidBecomeMain(f func(notification foundation.Notification))

Tells the delegate that the window has become main. Full Topic

func (*WindowDelegate) SetWindowDidChangeBackingProperties

func (di *WindowDelegate) SetWindowDidChangeBackingProperties(f func(notification foundation.Notification))

Tells the delegate that the window backing properties changed. Full Topic

func (*WindowDelegate) SetWindowDidChangeOcclusionState

func (di *WindowDelegate) SetWindowDidChangeOcclusionState(f func(notification foundation.Notification))

Tells the delegate that the window changed its occlusion state. Full Topic

func (*WindowDelegate) SetWindowDidChangeScreen

func (di *WindowDelegate) SetWindowDidChangeScreen(f func(notification foundation.Notification))

Tells the delegate that the window has changed screens. Full Topic

func (*WindowDelegate) SetWindowDidChangeScreenProfile

func (di *WindowDelegate) SetWindowDidChangeScreenProfile(f func(notification foundation.Notification))

Tells the delegate that the window has changed screen display profiles. Full Topic

func (*WindowDelegate) SetWindowDidDecodeRestorableState

func (di *WindowDelegate) SetWindowDidDecodeRestorableState(f func(window Window, state foundation.Coder))

Tells the delegate the window is has extracted its restorable state from a given archiver. Full Topic

func (*WindowDelegate) SetWindowDidDeminiaturize

func (di *WindowDelegate) SetWindowDidDeminiaturize(f func(notification foundation.Notification))

Tells the delegate that the window has been deminimized. Full Topic

func (*WindowDelegate) SetWindowDidEndLiveResize

func (di *WindowDelegate) SetWindowDidEndLiveResize(f func(notification foundation.Notification))

Tells the delegate that a live resize operation on the window has ended. Full Topic

func (*WindowDelegate) SetWindowDidEndSheet

func (di *WindowDelegate) SetWindowDidEndSheet(f func(notification foundation.Notification))

Tells the delegate that the window has closed a sheet. Full Topic

func (*WindowDelegate) SetWindowDidEnterFullScreen

func (di *WindowDelegate) SetWindowDidEnterFullScreen(f func(notification foundation.Notification))

The window has entered full-screen mode. Full Topic

func (*WindowDelegate) SetWindowDidEnterVersionBrowser

func (di *WindowDelegate) SetWindowDidEnterVersionBrowser(f func(notification foundation.Notification))

Tells the delegate that the window has entered version browsing. Full Topic

func (*WindowDelegate) SetWindowDidExitFullScreen

func (di *WindowDelegate) SetWindowDidExitFullScreen(f func(notification foundation.Notification))

The window has left full-screen mode. Full Topic

func (*WindowDelegate) SetWindowDidExitVersionBrowser

func (di *WindowDelegate) SetWindowDidExitVersionBrowser(f func(notification foundation.Notification))

Tells the delegate that the window has left version browsing. Full Topic

func (*WindowDelegate) SetWindowDidExpose

func (di *WindowDelegate) SetWindowDidExpose(f func(notification foundation.Notification))

Tells the delegate that the window has been exposed. Full Topic

func (*WindowDelegate) SetWindowDidFailToEnterFullScreen

func (di *WindowDelegate) SetWindowDidFailToEnterFullScreen(f func(window Window))

Called if the window failed to enter full-screen mode. Full Topic

func (*WindowDelegate) SetWindowDidFailToExitFullScreen

func (di *WindowDelegate) SetWindowDidFailToExitFullScreen(f func(window Window))

Called if the window failed to exit full-screen mode. Full Topic

func (*WindowDelegate) SetWindowDidMiniaturize

func (di *WindowDelegate) SetWindowDidMiniaturize(f func(notification foundation.Notification))

Tells the delegate that the window has been minimized. Full Topic

func (*WindowDelegate) SetWindowDidMove

func (di *WindowDelegate) SetWindowDidMove(f func(notification foundation.Notification))

Tells the delegate that the window has moved. Full Topic

func (*WindowDelegate) SetWindowDidResignKey

func (di *WindowDelegate) SetWindowDidResignKey(f func(notification foundation.Notification))

Tells the delegate that the window has resigned key window status. Full Topic

func (*WindowDelegate) SetWindowDidResignMain

func (di *WindowDelegate) SetWindowDidResignMain(f func(notification foundation.Notification))

Tells the delegate that the window has resigned main window status. Full Topic

func (*WindowDelegate) SetWindowDidResize

func (di *WindowDelegate) SetWindowDidResize(f func(notification foundation.Notification))

Tells the delegate that the window has been resized. Full Topic

func (*WindowDelegate) SetWindowDidUpdate

func (di *WindowDelegate) SetWindowDidUpdate(f func(notification foundation.Notification))

Tells the delegate that the window received an update message. Full Topic

func (*WindowDelegate) SetWindowShouldClose

func (di *WindowDelegate) SetWindowShouldClose(f func(sender Window) bool)

Tells the delegate that the user has attempted to close a window or the window has received a performClose: message. Full Topic

func (*WindowDelegate) SetWindowShouldZoomToFrame

func (di *WindowDelegate) SetWindowShouldZoomToFrame(f func(window Window, newFrame foundation.Rect) bool)

Asks the delegate whether the specified window should zoom to the specified frame. Full Topic

func (*WindowDelegate) SetWindowWillBeginSheet

func (di *WindowDelegate) SetWindowWillBeginSheet(f func(notification foundation.Notification))

Notifies the delegate that the window is about to open a sheet. Full Topic

func (*WindowDelegate) SetWindowWillClose

func (di *WindowDelegate) SetWindowWillClose(f func(notification foundation.Notification))

Tells the delegate that the window is about to close. Full Topic

func (*WindowDelegate) SetWindowWillEnterFullScreen

func (di *WindowDelegate) SetWindowWillEnterFullScreen(f func(notification foundation.Notification))

The window is about to enter full-screen mode. Full Topic

func (*WindowDelegate) SetWindowWillEnterVersionBrowser

func (di *WindowDelegate) SetWindowWillEnterVersionBrowser(f func(notification foundation.Notification))

Tells the delegate the window is about to enter version browsing. Full Topic

func (*WindowDelegate) SetWindowWillExitFullScreen

func (di *WindowDelegate) SetWindowWillExitFullScreen(f func(notification foundation.Notification))

The window is about to exit full-screen mode. Full Topic

func (*WindowDelegate) SetWindowWillExitVersionBrowser

func (di *WindowDelegate) SetWindowWillExitVersionBrowser(f func(notification foundation.Notification))

Tells the delegate that the window is about to leave version browsing. Full Topic

func (*WindowDelegate) SetWindowWillMiniaturize

func (di *WindowDelegate) SetWindowWillMiniaturize(f func(notification foundation.Notification))

Tells the delegate that the window is about to be minimized. Full Topic

func (*WindowDelegate) SetWindowWillMove

func (di *WindowDelegate) SetWindowWillMove(f func(notification foundation.Notification))

Tells the delegate that the window is about to move. Full Topic

func (*WindowDelegate) SetWindowWillResizeToSize

func (di *WindowDelegate) SetWindowWillResizeToSize(f func(sender Window, frameSize foundation.Size) foundation.Size)

Tells the delegate that the window is being resized (whether by the user or through one of the setFrame... methods other than setFrame:display:). Full Topic

func (*WindowDelegate) SetWindowWillReturnFieldEditorToObject

func (di *WindowDelegate) SetWindowWillReturnFieldEditorToObject(f func(sender Window, client objc.Object) objc.IObject)

Tells the delegate that the field editor for a text-displaying object has been requested. Full Topic

func (*WindowDelegate) SetWindowWillReturnUndoManager

func (di *WindowDelegate) SetWindowWillReturnUndoManager(f func(window Window) foundation.IUndoManager)

Tells the delegate that the window’s undo manager has been requested. Returns the appropriate undo manager for the window. Full Topic

func (*WindowDelegate) SetWindowWillStartLiveResize

func (di *WindowDelegate) SetWindowWillStartLiveResize(f func(notification foundation.Notification))

Tells the delegate that the window is about to be live resized. Full Topic

func (*WindowDelegate) SetWindowWillUseStandardFrameDefaultFrame

func (di *WindowDelegate) SetWindowWillUseStandardFrameDefaultFrame(f func(window Window, newFrame foundation.Rect) foundation.Rect)

Called by NSWindow’s zoom: method while determining the frame a window may be zoomed to. Full Topic

func (*WindowDelegate) WindowDidBecomeKey

func (di *WindowDelegate) WindowDidBecomeKey(notification foundation.Notification)

Tells the delegate that the window has become the key window. Full Topic

func (*WindowDelegate) WindowDidBecomeMain

func (di *WindowDelegate) WindowDidBecomeMain(notification foundation.Notification)

Tells the delegate that the window has become main. Full Topic

func (*WindowDelegate) WindowDidChangeBackingProperties

func (di *WindowDelegate) WindowDidChangeBackingProperties(notification foundation.Notification)

Tells the delegate that the window backing properties changed. Full Topic

func (*WindowDelegate) WindowDidChangeOcclusionState

func (di *WindowDelegate) WindowDidChangeOcclusionState(notification foundation.Notification)

Tells the delegate that the window changed its occlusion state. Full Topic

func (*WindowDelegate) WindowDidChangeScreen

func (di *WindowDelegate) WindowDidChangeScreen(notification foundation.Notification)

Tells the delegate that the window has changed screens. Full Topic

func (*WindowDelegate) WindowDidChangeScreenProfile

func (di *WindowDelegate) WindowDidChangeScreenProfile(notification foundation.Notification)

Tells the delegate that the window has changed screen display profiles. Full Topic

func (*WindowDelegate) WindowDidDecodeRestorableState

func (di *WindowDelegate) WindowDidDecodeRestorableState(window Window, state foundation.Coder)

Tells the delegate the window is has extracted its restorable state from a given archiver. Full Topic

func (*WindowDelegate) WindowDidDeminiaturize

func (di *WindowDelegate) WindowDidDeminiaturize(notification foundation.Notification)

Tells the delegate that the window has been deminimized. Full Topic

func (*WindowDelegate) WindowDidEndLiveResize

func (di *WindowDelegate) WindowDidEndLiveResize(notification foundation.Notification)

Tells the delegate that a live resize operation on the window has ended. Full Topic

func (*WindowDelegate) WindowDidEndSheet

func (di *WindowDelegate) WindowDidEndSheet(notification foundation.Notification)

Tells the delegate that the window has closed a sheet. Full Topic

func (*WindowDelegate) WindowDidEnterFullScreen

func (di *WindowDelegate) WindowDidEnterFullScreen(notification foundation.Notification)

The window has entered full-screen mode. Full Topic

func (*WindowDelegate) WindowDidEnterVersionBrowser

func (di *WindowDelegate) WindowDidEnterVersionBrowser(notification foundation.Notification)

Tells the delegate that the window has entered version browsing. Full Topic

func (*WindowDelegate) WindowDidExitFullScreen

func (di *WindowDelegate) WindowDidExitFullScreen(notification foundation.Notification)

The window has left full-screen mode. Full Topic

func (*WindowDelegate) WindowDidExitVersionBrowser

func (di *WindowDelegate) WindowDidExitVersionBrowser(notification foundation.Notification)

Tells the delegate that the window has left version browsing. Full Topic

func (*WindowDelegate) WindowDidExpose

func (di *WindowDelegate) WindowDidExpose(notification foundation.Notification)

Tells the delegate that the window has been exposed. Full Topic

func (*WindowDelegate) WindowDidFailToEnterFullScreen

func (di *WindowDelegate) WindowDidFailToEnterFullScreen(window Window)

Called if the window failed to enter full-screen mode. Full Topic

func (*WindowDelegate) WindowDidFailToExitFullScreen

func (di *WindowDelegate) WindowDidFailToExitFullScreen(window Window)

Called if the window failed to exit full-screen mode. Full Topic

func (*WindowDelegate) WindowDidMiniaturize

func (di *WindowDelegate) WindowDidMiniaturize(notification foundation.Notification)

Tells the delegate that the window has been minimized. Full Topic

func (*WindowDelegate) WindowDidMove

func (di *WindowDelegate) WindowDidMove(notification foundation.Notification)

Tells the delegate that the window has moved. Full Topic

func (*WindowDelegate) WindowDidResignKey

func (di *WindowDelegate) WindowDidResignKey(notification foundation.Notification)

Tells the delegate that the window has resigned key window status. Full Topic

func (*WindowDelegate) WindowDidResignMain

func (di *WindowDelegate) WindowDidResignMain(notification foundation.Notification)

Tells the delegate that the window has resigned main window status. Full Topic

func (*WindowDelegate) WindowDidResize

func (di *WindowDelegate) WindowDidResize(notification foundation.Notification)

Tells the delegate that the window has been resized. Full Topic

func (*WindowDelegate) WindowDidUpdate

func (di *WindowDelegate) WindowDidUpdate(notification foundation.Notification)

Tells the delegate that the window received an update message. Full Topic

func (*WindowDelegate) WindowShouldClose

func (di *WindowDelegate) WindowShouldClose(sender Window) bool

Tells the delegate that the user has attempted to close a window or the window has received a performClose: message. Full Topic

func (*WindowDelegate) WindowShouldZoomToFrame

func (di *WindowDelegate) WindowShouldZoomToFrame(window Window, newFrame foundation.Rect) bool

Asks the delegate whether the specified window should zoom to the specified frame. Full Topic

func (*WindowDelegate) WindowWillBeginSheet

func (di *WindowDelegate) WindowWillBeginSheet(notification foundation.Notification)

Notifies the delegate that the window is about to open a sheet. Full Topic

func (*WindowDelegate) WindowWillClose

func (di *WindowDelegate) WindowWillClose(notification foundation.Notification)

Tells the delegate that the window is about to close. Full Topic

func (*WindowDelegate) WindowWillEnterFullScreen

func (di *WindowDelegate) WindowWillEnterFullScreen(notification foundation.Notification)

The window is about to enter full-screen mode. Full Topic

func (*WindowDelegate) WindowWillEnterVersionBrowser

func (di *WindowDelegate) WindowWillEnterVersionBrowser(notification foundation.Notification)

Tells the delegate the window is about to enter version browsing. Full Topic

func (*WindowDelegate) WindowWillExitFullScreen

func (di *WindowDelegate) WindowWillExitFullScreen(notification foundation.Notification)

The window is about to exit full-screen mode. Full Topic

func (*WindowDelegate) WindowWillExitVersionBrowser

func (di *WindowDelegate) WindowWillExitVersionBrowser(notification foundation.Notification)

Tells the delegate that the window is about to leave version browsing. Full Topic

func (*WindowDelegate) WindowWillMiniaturize

func (di *WindowDelegate) WindowWillMiniaturize(notification foundation.Notification)

Tells the delegate that the window is about to be minimized. Full Topic

func (*WindowDelegate) WindowWillMove

func (di *WindowDelegate) WindowWillMove(notification foundation.Notification)

Tells the delegate that the window is about to move. Full Topic

func (*WindowDelegate) WindowWillResizeToSize

func (di *WindowDelegate) WindowWillResizeToSize(sender Window, frameSize foundation.Size) foundation.Size

Tells the delegate that the window is being resized (whether by the user or through one of the setFrame... methods other than setFrame:display:). Full Topic

func (*WindowDelegate) WindowWillReturnFieldEditorToObject

func (di *WindowDelegate) WindowWillReturnFieldEditorToObject(sender Window, client objc.Object) objc.IObject

Tells the delegate that the field editor for a text-displaying object has been requested. Full Topic

func (*WindowDelegate) WindowWillReturnUndoManager

func (di *WindowDelegate) WindowWillReturnUndoManager(window Window) foundation.IUndoManager

Tells the delegate that the window’s undo manager has been requested. Returns the appropriate undo manager for the window. Full Topic

func (*WindowDelegate) WindowWillStartLiveResize

func (di *WindowDelegate) WindowWillStartLiveResize(notification foundation.Notification)

Tells the delegate that the window is about to be live resized. Full Topic

func (*WindowDelegate) WindowWillUseStandardFrameDefaultFrame

func (di *WindowDelegate) WindowWillUseStandardFrameDefaultFrame(window Window, newFrame foundation.Rect) foundation.Rect

Called by NSWindow’s zoom: method while determining the frame a window may be zoomed to. Full Topic

type WindowDelegateWrapper

type WindowDelegateWrapper struct {
	objc.Object
}

A concrete type wrapper for the PWindowDelegate protocol.

func (WindowDelegateWrapper) CustomWindowsToEnterFullScreenForWindow

func (w_ WindowDelegateWrapper) CustomWindowsToEnterFullScreenForWindow(window IWindow) []Window

Called when the window is about to enter full-screen mode. Full Topic

func (WindowDelegateWrapper) CustomWindowsToExitFullScreenForWindow

func (w_ WindowDelegateWrapper) CustomWindowsToExitFullScreenForWindow(window IWindow) []Window

Called when the window is about to exit full-screen mode. Full Topic

func (WindowDelegateWrapper) HasCustomWindowsToEnterFullScreenForWindow

func (w_ WindowDelegateWrapper) HasCustomWindowsToEnterFullScreenForWindow() bool

func (WindowDelegateWrapper) HasCustomWindowsToExitFullScreenForWindow

func (w_ WindowDelegateWrapper) HasCustomWindowsToExitFullScreenForWindow() bool

func (WindowDelegateWrapper) HasWindowDidBecomeKey

func (w_ WindowDelegateWrapper) HasWindowDidBecomeKey() bool

func (WindowDelegateWrapper) HasWindowDidBecomeMain

func (w_ WindowDelegateWrapper) HasWindowDidBecomeMain() bool

func (WindowDelegateWrapper) HasWindowDidChangeBackingProperties

func (w_ WindowDelegateWrapper) HasWindowDidChangeBackingProperties() bool

func (WindowDelegateWrapper) HasWindowDidChangeOcclusionState

func (w_ WindowDelegateWrapper) HasWindowDidChangeOcclusionState() bool

func (WindowDelegateWrapper) HasWindowDidChangeScreen

func (w_ WindowDelegateWrapper) HasWindowDidChangeScreen() bool

func (WindowDelegateWrapper) HasWindowDidChangeScreenProfile

func (w_ WindowDelegateWrapper) HasWindowDidChangeScreenProfile() bool

func (WindowDelegateWrapper) HasWindowDidDecodeRestorableState

func (w_ WindowDelegateWrapper) HasWindowDidDecodeRestorableState() bool

func (WindowDelegateWrapper) HasWindowDidDeminiaturize

func (w_ WindowDelegateWrapper) HasWindowDidDeminiaturize() bool

func (WindowDelegateWrapper) HasWindowDidEndLiveResize

func (w_ WindowDelegateWrapper) HasWindowDidEndLiveResize() bool

func (WindowDelegateWrapper) HasWindowDidEndSheet

func (w_ WindowDelegateWrapper) HasWindowDidEndSheet() bool

func (WindowDelegateWrapper) HasWindowDidEnterFullScreen

func (w_ WindowDelegateWrapper) HasWindowDidEnterFullScreen() bool

func (WindowDelegateWrapper) HasWindowDidEnterVersionBrowser

func (w_ WindowDelegateWrapper) HasWindowDidEnterVersionBrowser() bool

func (WindowDelegateWrapper) HasWindowDidExitFullScreen

func (w_ WindowDelegateWrapper) HasWindowDidExitFullScreen() bool

func (WindowDelegateWrapper) HasWindowDidExitVersionBrowser

func (w_ WindowDelegateWrapper) HasWindowDidExitVersionBrowser() bool

func (WindowDelegateWrapper) HasWindowDidExpose

func (w_ WindowDelegateWrapper) HasWindowDidExpose() bool

func (WindowDelegateWrapper) HasWindowDidFailToEnterFullScreen

func (w_ WindowDelegateWrapper) HasWindowDidFailToEnterFullScreen() bool

func (WindowDelegateWrapper) HasWindowDidFailToExitFullScreen

func (w_ WindowDelegateWrapper) HasWindowDidFailToExitFullScreen() bool

func (WindowDelegateWrapper) HasWindowDidMiniaturize

func (w_ WindowDelegateWrapper) HasWindowDidMiniaturize() bool

func (WindowDelegateWrapper) HasWindowDidMove

func (w_ WindowDelegateWrapper) HasWindowDidMove() bool

func (WindowDelegateWrapper) HasWindowDidResignKey

func (w_ WindowDelegateWrapper) HasWindowDidResignKey() bool

func (WindowDelegateWrapper) HasWindowDidResignMain

func (w_ WindowDelegateWrapper) HasWindowDidResignMain() bool

func (WindowDelegateWrapper) HasWindowDidResize

func (w_ WindowDelegateWrapper) HasWindowDidResize() bool

func (WindowDelegateWrapper) HasWindowDidUpdate

func (w_ WindowDelegateWrapper) HasWindowDidUpdate() bool

func (WindowDelegateWrapper) HasWindowShouldClose

func (w_ WindowDelegateWrapper) HasWindowShouldClose() bool

func (WindowDelegateWrapper) HasWindowShouldZoomToFrame

func (w_ WindowDelegateWrapper) HasWindowShouldZoomToFrame() bool

func (WindowDelegateWrapper) HasWindowWillBeginSheet

func (w_ WindowDelegateWrapper) HasWindowWillBeginSheet() bool

func (WindowDelegateWrapper) HasWindowWillClose

func (w_ WindowDelegateWrapper) HasWindowWillClose() bool

func (WindowDelegateWrapper) HasWindowWillEnterFullScreen

func (w_ WindowDelegateWrapper) HasWindowWillEnterFullScreen() bool

func (WindowDelegateWrapper) HasWindowWillEnterVersionBrowser

func (w_ WindowDelegateWrapper) HasWindowWillEnterVersionBrowser() bool

func (WindowDelegateWrapper) HasWindowWillExitFullScreen

func (w_ WindowDelegateWrapper) HasWindowWillExitFullScreen() bool

func (WindowDelegateWrapper) HasWindowWillExitVersionBrowser

func (w_ WindowDelegateWrapper) HasWindowWillExitVersionBrowser() bool

func (WindowDelegateWrapper) HasWindowWillMiniaturize

func (w_ WindowDelegateWrapper) HasWindowWillMiniaturize() bool

func (WindowDelegateWrapper) HasWindowWillMove

func (w_ WindowDelegateWrapper) HasWindowWillMove() bool

func (WindowDelegateWrapper) HasWindowWillResizeToSize

func (w_ WindowDelegateWrapper) HasWindowWillResizeToSize() bool

func (WindowDelegateWrapper) HasWindowWillReturnFieldEditorToObject

func (w_ WindowDelegateWrapper) HasWindowWillReturnFieldEditorToObject() bool

func (WindowDelegateWrapper) HasWindowWillReturnUndoManager

func (w_ WindowDelegateWrapper) HasWindowWillReturnUndoManager() bool

func (WindowDelegateWrapper) HasWindowWillStartLiveResize

func (w_ WindowDelegateWrapper) HasWindowWillStartLiveResize() bool

func (WindowDelegateWrapper) HasWindowWillUseStandardFrameDefaultFrame

func (w_ WindowDelegateWrapper) HasWindowWillUseStandardFrameDefaultFrame() bool

func (WindowDelegateWrapper) WindowDidBecomeKey

func (w_ WindowDelegateWrapper) WindowDidBecomeKey(notification foundation.INotification)

Tells the delegate that the window has become the key window. Full Topic

func (WindowDelegateWrapper) WindowDidBecomeMain

func (w_ WindowDelegateWrapper) WindowDidBecomeMain(notification foundation.INotification)

Tells the delegate that the window has become main. Full Topic

func (WindowDelegateWrapper) WindowDidChangeBackingProperties

func (w_ WindowDelegateWrapper) WindowDidChangeBackingProperties(notification foundation.INotification)

Tells the delegate that the window backing properties changed. Full Topic

func (WindowDelegateWrapper) WindowDidChangeOcclusionState

func (w_ WindowDelegateWrapper) WindowDidChangeOcclusionState(notification foundation.INotification)

Tells the delegate that the window changed its occlusion state. Full Topic

func (WindowDelegateWrapper) WindowDidChangeScreen

func (w_ WindowDelegateWrapper) WindowDidChangeScreen(notification foundation.INotification)

Tells the delegate that the window has changed screens. Full Topic

func (WindowDelegateWrapper) WindowDidChangeScreenProfile

func (w_ WindowDelegateWrapper) WindowDidChangeScreenProfile(notification foundation.INotification)

Tells the delegate that the window has changed screen display profiles. Full Topic

func (WindowDelegateWrapper) WindowDidDecodeRestorableState

func (w_ WindowDelegateWrapper) WindowDidDecodeRestorableState(window IWindow, state foundation.ICoder)

Tells the delegate the window is has extracted its restorable state from a given archiver. Full Topic

func (WindowDelegateWrapper) WindowDidDeminiaturize

func (w_ WindowDelegateWrapper) WindowDidDeminiaturize(notification foundation.INotification)

Tells the delegate that the window has been deminimized. Full Topic

func (WindowDelegateWrapper) WindowDidEndLiveResize

func (w_ WindowDelegateWrapper) WindowDidEndLiveResize(notification foundation.INotification)

Tells the delegate that a live resize operation on the window has ended. Full Topic

func (WindowDelegateWrapper) WindowDidEndSheet

func (w_ WindowDelegateWrapper) WindowDidEndSheet(notification foundation.INotification)

Tells the delegate that the window has closed a sheet. Full Topic

func (WindowDelegateWrapper) WindowDidEnterFullScreen

func (w_ WindowDelegateWrapper) WindowDidEnterFullScreen(notification foundation.INotification)

The window has entered full-screen mode. Full Topic

func (WindowDelegateWrapper) WindowDidEnterVersionBrowser

func (w_ WindowDelegateWrapper) WindowDidEnterVersionBrowser(notification foundation.INotification)

Tells the delegate that the window has entered version browsing. Full Topic

func (WindowDelegateWrapper) WindowDidExitFullScreen

func (w_ WindowDelegateWrapper) WindowDidExitFullScreen(notification foundation.INotification)

The window has left full-screen mode. Full Topic

func (WindowDelegateWrapper) WindowDidExitVersionBrowser

func (w_ WindowDelegateWrapper) WindowDidExitVersionBrowser(notification foundation.INotification)

Tells the delegate that the window has left version browsing. Full Topic

func (WindowDelegateWrapper) WindowDidExpose

func (w_ WindowDelegateWrapper) WindowDidExpose(notification foundation.INotification)

Tells the delegate that the window has been exposed. Full Topic

func (WindowDelegateWrapper) WindowDidFailToEnterFullScreen

func (w_ WindowDelegateWrapper) WindowDidFailToEnterFullScreen(window IWindow)

Called if the window failed to enter full-screen mode. Full Topic

func (WindowDelegateWrapper) WindowDidFailToExitFullScreen

func (w_ WindowDelegateWrapper) WindowDidFailToExitFullScreen(window IWindow)

Called if the window failed to exit full-screen mode. Full Topic

func (WindowDelegateWrapper) WindowDidMiniaturize

func (w_ WindowDelegateWrapper) WindowDidMiniaturize(notification foundation.INotification)

Tells the delegate that the window has been minimized. Full Topic

func (WindowDelegateWrapper) WindowDidMove

func (w_ WindowDelegateWrapper) WindowDidMove(notification foundation.INotification)

Tells the delegate that the window has moved. Full Topic

func (WindowDelegateWrapper) WindowDidResignKey

func (w_ WindowDelegateWrapper) WindowDidResignKey(notification foundation.INotification)

Tells the delegate that the window has resigned key window status. Full Topic

func (WindowDelegateWrapper) WindowDidResignMain

func (w_ WindowDelegateWrapper) WindowDidResignMain(notification foundation.INotification)

Tells the delegate that the window has resigned main window status. Full Topic

func (WindowDelegateWrapper) WindowDidResize

func (w_ WindowDelegateWrapper) WindowDidResize(notification foundation.INotification)

Tells the delegate that the window has been resized. Full Topic

func (WindowDelegateWrapper) WindowDidUpdate

func (w_ WindowDelegateWrapper) WindowDidUpdate(notification foundation.INotification)

Tells the delegate that the window received an update message. Full Topic

func (WindowDelegateWrapper) WindowShouldClose

func (w_ WindowDelegateWrapper) WindowShouldClose(sender IWindow) bool

Tells the delegate that the user has attempted to close a window or the window has received a performClose: message. Full Topic

func (WindowDelegateWrapper) WindowShouldZoomToFrame

func (w_ WindowDelegateWrapper) WindowShouldZoomToFrame(window IWindow, newFrame foundation.Rect) bool

Asks the delegate whether the specified window should zoom to the specified frame. Full Topic

func (WindowDelegateWrapper) WindowWillBeginSheet

func (w_ WindowDelegateWrapper) WindowWillBeginSheet(notification foundation.INotification)

Notifies the delegate that the window is about to open a sheet. Full Topic

func (WindowDelegateWrapper) WindowWillClose

func (w_ WindowDelegateWrapper) WindowWillClose(notification foundation.INotification)

Tells the delegate that the window is about to close. Full Topic

func (WindowDelegateWrapper) WindowWillEnterFullScreen

func (w_ WindowDelegateWrapper) WindowWillEnterFullScreen(notification foundation.INotification)

The window is about to enter full-screen mode. Full Topic

func (WindowDelegateWrapper) WindowWillEnterVersionBrowser

func (w_ WindowDelegateWrapper) WindowWillEnterVersionBrowser(notification foundation.INotification)

Tells the delegate the window is about to enter version browsing. Full Topic

func (WindowDelegateWrapper) WindowWillExitFullScreen

func (w_ WindowDelegateWrapper) WindowWillExitFullScreen(notification foundation.INotification)

The window is about to exit full-screen mode. Full Topic

func (WindowDelegateWrapper) WindowWillExitVersionBrowser

func (w_ WindowDelegateWrapper) WindowWillExitVersionBrowser(notification foundation.INotification)

Tells the delegate that the window is about to leave version browsing. Full Topic

func (WindowDelegateWrapper) WindowWillMiniaturize

func (w_ WindowDelegateWrapper) WindowWillMiniaturize(notification foundation.INotification)

Tells the delegate that the window is about to be minimized. Full Topic

func (WindowDelegateWrapper) WindowWillMove

func (w_ WindowDelegateWrapper) WindowWillMove(notification foundation.INotification)

Tells the delegate that the window is about to move. Full Topic

func (WindowDelegateWrapper) WindowWillResizeToSize

func (w_ WindowDelegateWrapper) WindowWillResizeToSize(sender IWindow, frameSize foundation.Size) foundation.Size

Tells the delegate that the window is being resized (whether by the user or through one of the setFrame... methods other than setFrame:display:). Full Topic

func (WindowDelegateWrapper) WindowWillReturnFieldEditorToObject

func (w_ WindowDelegateWrapper) WindowWillReturnFieldEditorToObject(sender IWindow, client objc.IObject) objc.Object

Tells the delegate that the field editor for a text-displaying object has been requested. Full Topic

func (WindowDelegateWrapper) WindowWillReturnUndoManager

func (w_ WindowDelegateWrapper) WindowWillReturnUndoManager(window IWindow) foundation.UndoManager

Tells the delegate that the window’s undo manager has been requested. Returns the appropriate undo manager for the window. Full Topic

func (WindowDelegateWrapper) WindowWillStartLiveResize

func (w_ WindowDelegateWrapper) WindowWillStartLiveResize(notification foundation.INotification)

Tells the delegate that the window is about to be live resized. Full Topic

func (WindowDelegateWrapper) WindowWillUseStandardFrameDefaultFrame

func (w_ WindowDelegateWrapper) WindowWillUseStandardFrameDefaultFrame(window IWindow, newFrame foundation.Rect) foundation.Rect

Called by NSWindow’s zoom: method while determining the frame a window may be zoomed to. Full Topic

type WindowDepth

type WindowDepth int32

A type that represents the depth, or amount of memory, for a single pixel in a window or screen. Full Topic

const (
	WindowDepthOnehundredtwentyeightBitRGB WindowDepth = 544
	WindowDepthSixtyfourBitRGB             WindowDepth = 528
	WindowDepthTwentyfourBitRGB            WindowDepth = 520
)

func Window_DefaultDepthLimit

func Window_DefaultDepthLimit() WindowDepth

Returns the default depth limit for instances of NSWindow. Full Topic

type WindowFrameAutosaveName

type WindowFrameAutosaveName string

The type of a window’s frame autosave name. Full Topic

type WindowLevel

type WindowLevel int

The standard window levels in macOS. Full Topic

const (
	DockWindowLevel        WindowLevel = 20
	FloatingWindowLevel    WindowLevel = 3
	MainMenuWindowLevel    WindowLevel = 24
	ModalPanelWindowLevel  WindowLevel = 8
	NormalWindowLevel      WindowLevel = 0
	PopUpMenuWindowLevel   WindowLevel = 101
	ScreenSaverWindowLevel WindowLevel = 1000
	StatusWindowLevel      WindowLevel = 25
	SubmenuWindowLevel     WindowLevel = 3
	TornOffMenuWindowLevel WindowLevel = 3
)

type WindowListOptions

type WindowListOptions int

This constant indicates a window ordering. Full Topic

const (
	WindowListOrderedFrontToBack WindowListOptions = 1
)

type WindowNumberListOptions

type WindowNumberListOptions uint

Options to use when retrieving window numbers from the system. Full Topic

const (
	WindowNumberListAllApplications WindowNumberListOptions = 1
	WindowNumberListAllSpaces       WindowNumberListOptions = 16
)

type WindowOcclusionState

type WindowOcclusionState uint

Specifies whether the window is occluded. Full Topic

const (
	WindowOcclusionStateVisible WindowOcclusionState = 2
)

type WindowOrderingMode

type WindowOrderingMode int

Constants that let you specify how a window is ordered relative to another window. Full Topic

const (
	WindowAbove WindowOrderingMode = 1
	WindowBelow WindowOrderingMode = -1
	WindowOut   WindowOrderingMode = 0
)

type WindowPersistableFrameDescriptor

type WindowPersistableFrameDescriptor string

The type of a window’s frame descriptor. Full Topic

type WindowRestorationWrapper

type WindowRestorationWrapper struct {
	objc.Object
}

A concrete type wrapper for the PWindowRestoration protocol.

type WindowSharingType

type WindowSharingType uint

Constants that represent the access levels other processes can have to a window’s content. Full Topic

const (
	WindowSharingNone      WindowSharingType = 0
	WindowSharingReadOnly  WindowSharingType = 1
	WindowSharingReadWrite WindowSharingType = 2
)

type WindowStyleMask

type WindowStyleMask uint

Constants that specify the style of a window, and that you can combine with the C bitwise OR operator. Full Topic

const (
	BorderlessWindowMask                  WindowStyleMask = 0
	ClosableWindowMask                    WindowStyleMask = 2
	DocModalWindowMask                    WindowStyleMask = 64
	FullScreenWindowMask                  WindowStyleMask = 16384
	FullSizeContentViewWindowMask         WindowStyleMask = 32768
	HUDWindowMask                         WindowStyleMask = 8192
	MiniaturizableWindowMask              WindowStyleMask = 4
	NonactivatingPanelMask                WindowStyleMask = 128
	ResizableWindowMask                   WindowStyleMask = 8
	TexturedBackgroundWindowMask          WindowStyleMask = 256
	TitledWindowMask                      WindowStyleMask = 1
	UnifiedTitleAndToolbarWindowMask      WindowStyleMask = 4096
	UtilityWindowMask                     WindowStyleMask = 16
	WindowStyleMaskBorderless             WindowStyleMask = 0
	WindowStyleMaskClosable               WindowStyleMask = 2
	WindowStyleMaskDocModalWindow         WindowStyleMask = 64
	WindowStyleMaskFullScreen             WindowStyleMask = 16384
	WindowStyleMaskFullSizeContentView    WindowStyleMask = 32768
	WindowStyleMaskHUDWindow              WindowStyleMask = 8192
	WindowStyleMaskMiniaturizable         WindowStyleMask = 4
	WindowStyleMaskNonactivatingPanel     WindowStyleMask = 128
	WindowStyleMaskResizable              WindowStyleMask = 8
	WindowStyleMaskTexturedBackground     WindowStyleMask = 256
	WindowStyleMaskTitled                 WindowStyleMask = 1
	WindowStyleMaskUnifiedTitleAndToolbar WindowStyleMask = 4096
	WindowStyleMaskUtilityWindow          WindowStyleMask = 16
)

type WindowTab

type WindowTab struct {
	objc.Object
}

A tab associated with a window that is part of a tabbing group. Full Topic

func NewWindowTab

func NewWindowTab() WindowTab

func WindowTabFrom

func WindowTabFrom(ptr unsafe.Pointer) WindowTab

func WindowTab_Alloc

func WindowTab_Alloc() WindowTab

func (WindowTab) AccessoryView

func (w_ WindowTab) AccessoryView() View

An optional accessory view for the tab. Full Topic

func (WindowTab) AttributedTitle

func (w_ WindowTab) AttributedTitle() foundation.AttributedString

The title for the window tab, specified as an attributed string. Full Topic

func (WindowTab) Init

func (w_ WindowTab) Init() WindowTab

func (WindowTab) SetAccessoryView

func (w_ WindowTab) SetAccessoryView(value IView)

An optional accessory view for the tab. Full Topic

func (WindowTab) SetAttributedTitle

func (w_ WindowTab) SetAttributedTitle(value foundation.IAttributedString)

The title for the window tab, specified as an attributed string. Full Topic

func (WindowTab) SetTitle

func (w_ WindowTab) SetTitle(value string)

The title for the window tab. Full Topic

func (WindowTab) SetToolTip

func (w_ WindowTab) SetToolTip(value string)

The tooltip for this window tab. Full Topic

func (WindowTab) Title

func (w_ WindowTab) Title() string

The title for the window tab. Full Topic

func (WindowTab) ToolTip

func (w_ WindowTab) ToolTip() string

The tooltip for this window tab. Full Topic

type WindowTabGroup

type WindowTabGroup struct {
	objc.Object
}

A group of windows that display together as a single tabbed window. Full Topic

func NewWindowTabGroup

func NewWindowTabGroup() WindowTabGroup

func WindowTabGroupFrom

func WindowTabGroupFrom(ptr unsafe.Pointer) WindowTabGroup

func WindowTabGroup_Alloc

func WindowTabGroup_Alloc() WindowTabGroup

func (WindowTabGroup) AddWindow

func (w_ WindowTabGroup) AddWindow(window IWindow)

Adds a window to the tab group. Full Topic

func (WindowTabGroup) Identifier

func (w_ WindowTabGroup) Identifier() WindowTabbingIdentifier

The unique identifier for a tabbed window group. Full Topic

func (WindowTabGroup) Init

func (w_ WindowTabGroup) Init() WindowTabGroup

func (WindowTabGroup) InsertWindowAtIndex

func (w_ WindowTabGroup) InsertWindowAtIndex(window IWindow, index int)

Inserts a window at a specific location within the tab group. Full Topic

func (WindowTabGroup) IsOverviewVisible

func (w_ WindowTabGroup) IsOverviewVisible() bool

A Boolean value indicating if the tab overview is currently displayed. Full Topic

func (WindowTabGroup) IsTabBarVisible

func (w_ WindowTabGroup) IsTabBarVisible() bool

A Boolean value indicating whether the tabbed window group currently displays a tab bar. Full Topic

func (WindowTabGroup) RemoveWindow

func (w_ WindowTabGroup) RemoveWindow(window IWindow)

Removes a window from the tab group. Full Topic

func (WindowTabGroup) SelectedWindow

func (w_ WindowTabGroup) SelectedWindow() Window

The selected, or frontmost, window in the tab group. Full Topic

func (WindowTabGroup) SetOverviewVisible

func (w_ WindowTabGroup) SetOverviewVisible(value bool)

A Boolean value indicating if the tab overview is currently displayed. Full Topic

func (WindowTabGroup) SetSelectedWindow

func (w_ WindowTabGroup) SetSelectedWindow(value IWindow)

The selected, or frontmost, window in the tab group. Full Topic

func (WindowTabGroup) Windows

func (w_ WindowTabGroup) Windows() []Window

A collection of the windows that are currently grouped together by this window tab group. Full Topic

type WindowTabbingIdentifier

type WindowTabbingIdentifier string

A value that allows a group of related windows. Full Topic

type WindowTabbingMode

type WindowTabbingMode int

The preferred tabbing behavior of a window. Full Topic

const (
	WindowTabbingModeAutomatic  WindowTabbingMode = 0
	WindowTabbingModeDisallowed WindowTabbingMode = 2
	WindowTabbingModePreferred  WindowTabbingMode = 1
)

type WindowTitleVisibility

type WindowTitleVisibility int

Specifies the appearance of the window’s title bar area. Full Topic

const (
	WindowTitleHidden  WindowTitleVisibility = 1
	WindowTitleVisible WindowTitleVisibility = 0
)

type WindowToolbarStyle

type WindowToolbarStyle int

Styles that determine the appearance and location of the toolbar in relation to the title bar. Full Topic

const (
	WindowToolbarStyleAutomatic      WindowToolbarStyle = 0
	WindowToolbarStyleExpanded       WindowToolbarStyle = 1
	WindowToolbarStylePreference     WindowToolbarStyle = 2
	WindowToolbarStyleUnified        WindowToolbarStyle = 3
	WindowToolbarStyleUnifiedCompact WindowToolbarStyle = 4
)

type WindowUserTabbingPreference

type WindowUserTabbingPreference int

A value that indicates the user’s preference for window tabbing. Full Topic

const (
	WindowUserTabbingPreferenceAlways       WindowUserTabbingPreference = 1
	WindowUserTabbingPreferenceInFullScreen WindowUserTabbingPreference = 2
	WindowUserTabbingPreferenceManual       WindowUserTabbingPreference = 0
)

func Window_UserTabbingPreference

func Window_UserTabbingPreference() WindowUserTabbingPreference

A value that indicates the user’s preference for window tabbing. Full Topic

type Workspace

type Workspace struct {
	objc.Object
}

A workspace that can launch other apps and perform a variety of file-handling services. Full Topic

func NewWorkspace

func NewWorkspace() Workspace

func WorkspaceFrom

func WorkspaceFrom(ptr unsafe.Pointer) Workspace

func Workspace_Alloc

func Workspace_Alloc() Workspace

func Workspace_SharedWorkspace

func Workspace_SharedWorkspace() Workspace

The shared workspace object. Full Topic

func (Workspace) AccessibilityDisplayShouldDifferentiateWithoutColor

func (w_ Workspace) AccessibilityDisplayShouldDifferentiateWithoutColor() bool

A Boolean value that indicates whether the app avoids conveying information through color alone. Full Topic

func (Workspace) AccessibilityDisplayShouldIncreaseContrast

func (w_ Workspace) AccessibilityDisplayShouldIncreaseContrast() bool

A Boolean value that indicates whether the app presents a high-contrast user interface. Full Topic

func (Workspace) AccessibilityDisplayShouldInvertColors

func (w_ Workspace) AccessibilityDisplayShouldInvertColors() bool

A Boolean value that indicates whether the accessibility option to invert colors is in an enabled state. Full Topic

func (Workspace) AccessibilityDisplayShouldReduceMotion

func (w_ Workspace) AccessibilityDisplayShouldReduceMotion() bool

A Boolean value that indicates whether the accessibility option to reduce motion is in an enabled state. Full Topic

func (Workspace) ActivateFileViewerSelectingURLs

func (w_ Workspace) ActivateFileViewerSelectingURLs(fileURLs []foundation.IURL)

Activates the Finder, and opens one or more windows selecting the specified files. Full Topic

func (Workspace) DesktopImageOptionsForScreen

func (w_ Workspace) DesktopImageOptionsForScreen(screen IScreen) map[WorkspaceDesktopImageOptionKey]objc.Object

Returns the desktop image options for the given screen. Full Topic

func (Workspace) DesktopImageURLForScreen

func (w_ Workspace) DesktopImageURLForScreen(screen IScreen) foundation.URL

Returns the URL for the desktop image for the given screen. Full Topic

func (Workspace) DuplicateURLsCompletionHandler

func (w_ Workspace) DuplicateURLsCompletionHandler(URLs []foundation.IURL, handler func(newURLs foundation.Dictionary, error foundation.Error))

Duplicates the specified URLS asynchronously in the same manner as the Finder. Full Topic

func (Workspace) ExtendPowerOffBy

func (w_ Workspace) ExtendPowerOffBy(requested int) int

Requests the system wait for the specified amount of time before turning off the power or logging out the user. Full Topic

func (Workspace) FileLabelColors

func (w_ Workspace) FileLabelColors() []Color

The array of colors for the file labels. Full Topic

func (Workspace) FileLabels

func (w_ Workspace) FileLabels() []string

The array of file labels, returned as strings. Full Topic

func (Workspace) FrontmostApplication

func (w_ Workspace) FrontmostApplication() RunningApplication

Returns the frontmost app, which is the app that receives key events. Full Topic

func (Workspace) GetFileSystemInfoForPathIsRemovableIsWritableIsUnmountableDescriptionType

func (w_ Workspace) GetFileSystemInfoForPathIsRemovableIsWritableIsUnmountableDescriptionType(fullPath string, removableFlag *bool, writableFlag *bool, unmountableFlag *bool, description string, fileSystemType string) bool

Returns information about the file system at the specified path. Full Topic

func (Workspace) HideOtherApplications

func (w_ Workspace) HideOtherApplications()

Hides all applications other than the sender. Full Topic

func (Workspace) IconForContentType

func (w_ Workspace) IconForContentType(contentType uti.IType) Image

Returns an image containing the icon for the specified content type. Full Topic

func (Workspace) IconForFile

func (w_ Workspace) IconForFile(fullPath string) Image

Returns an image containing the icon for the specified file. Full Topic

func (Workspace) IconForFiles

func (w_ Workspace) IconForFiles(fullPaths []string) Image

Returns an image containing the icon for the specified files. Full Topic

func (Workspace) Init

func (w_ Workspace) Init() Workspace

func (Workspace) IsFilePackageAtPath

func (w_ Workspace) IsFilePackageAtPath(fullPath string) bool

Determines whether the specified path is a file package. Full Topic

func (Workspace) IsSwitchControlEnabled

func (w_ Workspace) IsSwitchControlEnabled() bool

A Boolean value that indicates whether Switch Control is currently running. Full Topic

func (Workspace) IsVoiceOverEnabled

func (w_ Workspace) IsVoiceOverEnabled() bool

A Boolean value that indicates whether VoiceOver is currently running. Full Topic

func (Workspace) MenuBarOwningApplication

func (w_ Workspace) MenuBarOwningApplication() RunningApplication

Returns the app that owns the currently displayed menu bar. Full Topic

func (Workspace) NotificationCenter

func (w_ Workspace) NotificationCenter() foundation.NotificationCenter

The notification center for workspace notifications. Full Topic

func (Workspace) OpenApplicationAtURLConfigurationCompletionHandler

func (w_ Workspace) OpenApplicationAtURLConfigurationCompletionHandler(applicationURL foundation.IURL, configuration IWorkspaceOpenConfiguration, completionHandler func(app RunningApplication, error foundation.Error))

Launches the app at the specified URL and asynchronously reports back on the app's status. Full Topic

func (Workspace) OpenURLConfigurationCompletionHandler

func (w_ Workspace) OpenURLConfigurationCompletionHandler(url foundation.IURL, configuration IWorkspaceOpenConfiguration, completionHandler func(app RunningApplication, error foundation.Error))

Opens a URL asynchronously using the provided options. Full Topic

func (Workspace) OpenURLsWithApplicationAtURLConfigurationCompletionHandler

func (w_ Workspace) OpenURLsWithApplicationAtURLConfigurationCompletionHandler(urls []foundation.IURL, applicationURL foundation.IURL, configuration IWorkspaceOpenConfiguration, completionHandler func(app RunningApplication, error foundation.Error))

Opens one or more URLs asynchronously in the specified app using the provided options. Full Topic

func (Workspace) RecycleURLsCompletionHandler

func (w_ Workspace) RecycleURLsCompletionHandler(URLs []foundation.IURL, handler func(newURLs foundation.Dictionary, error foundation.Error))

Moves the specified URLs to the trash in the same manner as the Finder. Full Topic

func (Workspace) RequestAuthorizationOfTypeCompletionHandler

func (w_ Workspace) RequestAuthorizationOfTypeCompletionHandler(type_ WorkspaceAuthorizationType, completionHandler func(authorization WorkspaceAuthorization, error foundation.Error))

Requests authorization to perform a privileged file operation. Full Topic

func (Workspace) RunningApplications

func (w_ Workspace) RunningApplications() []RunningApplication

Returns an array of running apps. Full Topic

func (Workspace) SelectFileInFileViewerRootedAtPath

func (w_ Workspace) SelectFileInFileViewerRootedAtPath(fullPath string, rootFullPath string) bool

Selects the file at the specified path. Full Topic

func (Workspace) SetDefaultApplicationAtURLToOpenFileAtURLCompletionHandler

func (w_ Workspace) SetDefaultApplicationAtURLToOpenFileAtURLCompletionHandler(applicationURL foundation.IURL, url foundation.IURL, completionHandler func(error foundation.Error))
[Full Topic]

func (Workspace) SetDesktopImageURLForScreenOptionsError

func (w_ Workspace) SetDesktopImageURLForScreenOptionsError(url foundation.IURL, screen IScreen, options map[WorkspaceDesktopImageOptionKey]objc.IObject, error foundation.IError) bool

Sets the desktop image for the given screen to the image at the specified URL. Full Topic

func (Workspace) SetIconForFileOptions

func (w_ Workspace) SetIconForFileOptions(image IImage, fullPath string, options WorkspaceIconCreationOptions) bool

Sets the icon for the file or directory at the specified path. Full Topic

func (Workspace) ShowSearchResultsForQueryString

func (w_ Workspace) ShowSearchResultsForQueryString(queryString string) bool

Displays a Spotlight search results window in Finder for the specified query string. Full Topic

func (Workspace) URLForApplicationToOpenContentType

func (w_ Workspace) URLForApplicationToOpenContentType(contentType uti.IType) foundation.URL
[Full Topic]

func (Workspace) URLForApplicationToOpenURL

func (w_ Workspace) URLForApplicationToOpenURL(url foundation.IURL) foundation.URL

Returns the URL to the default app that would be opened. Full Topic

func (Workspace) URLForApplicationWithBundleIdentifier

func (w_ Workspace) URLForApplicationWithBundleIdentifier(bundleIdentifier string) foundation.URL

Returns the URL for the app with the specified identifier. Full Topic

func (Workspace) URLsForApplicationsToOpenContentType

func (w_ Workspace) URLsForApplicationsToOpenContentType(contentType uti.IType) []foundation.URL
[Full Topic]

func (Workspace) URLsForApplicationsToOpenURL

func (w_ Workspace) URLsForApplicationsToOpenURL(url foundation.IURL) []foundation.URL
[Full Topic]

func (Workspace) URLsForApplicationsWithBundleIdentifier

func (w_ Workspace) URLsForApplicationsWithBundleIdentifier(bundleIdentifier string) []foundation.URL
[Full Topic]

func (Workspace) UnmountAndEjectDeviceAtPath

func (w_ Workspace) UnmountAndEjectDeviceAtPath(path string) bool

Unmounts and ejects the device at the specified path. Full Topic

func (Workspace) UnmountAndEjectDeviceAtURLError

func (w_ Workspace) UnmountAndEjectDeviceAtURLError(url foundation.IURL, error foundation.IError) bool

Attempts to eject the volume mounted at the given path. Full Topic

type WorkspaceAuthorization

type WorkspaceAuthorization struct {
	objc.Object
}

The authorization granted to the app by the user. Full Topic

func NewWorkspaceAuthorization

func NewWorkspaceAuthorization() WorkspaceAuthorization

func WorkspaceAuthorizationFrom

func WorkspaceAuthorizationFrom(ptr unsafe.Pointer) WorkspaceAuthorization

func WorkspaceAuthorization_Alloc

func WorkspaceAuthorization_Alloc() WorkspaceAuthorization

func (WorkspaceAuthorization) Init

type WorkspaceAuthorizationType

type WorkspaceAuthorizationType int

The types of privileged file operations that can be authorized by the user. Full Topic

const (
	WorkspaceAuthorizationTypeCreateSymbolicLink WorkspaceAuthorizationType = 0
	WorkspaceAuthorizationTypeReplaceFile        WorkspaceAuthorizationType = 2
	WorkspaceAuthorizationTypeSetAttributes      WorkspaceAuthorizationType = 1
)

type WorkspaceDesktopImageOptionKey

type WorkspaceDesktopImageOptionKey string

Keys that indicate how to display a new desktop image. Full Topic

const (
	WorkspaceDesktopImageAllowClippingKey WorkspaceDesktopImageOptionKey = "NSWorkspaceDesktopImageAllowClippingKey"
	WorkspaceDesktopImageFillColorKey     WorkspaceDesktopImageOptionKey = "NSWorkspaceDesktopImageFillColorKey"
	WorkspaceDesktopImageScalingKey       WorkspaceDesktopImageOptionKey = "NSWorkspaceDesktopImageScalingKey"
)

type WorkspaceFileOperationName

type WorkspaceFileOperationName string

These constants specify different types of file operations used by performFileOperation:source:destination:files:tag:. Full Topic

const (
	WorkspaceCompressOperation   WorkspaceFileOperationName = "compress"
	WorkspaceCopyOperation       WorkspaceFileOperationName = "copy"
	WorkspaceDecompressOperation WorkspaceFileOperationName = "decompress"
	WorkspaceDecryptOperation    WorkspaceFileOperationName = "decrypt"
	WorkspaceDestroyOperation    WorkspaceFileOperationName = "destroy"
	WorkspaceDuplicateOperation  WorkspaceFileOperationName = "duplicate"
	WorkspaceEncryptOperation    WorkspaceFileOperationName = "encrypt"
	WorkspaceLinkOperation       WorkspaceFileOperationName = "link"
	WorkspaceMoveOperation       WorkspaceFileOperationName = "move"
	WorkspaceRecycleOperation    WorkspaceFileOperationName = "recycle"
)

type WorkspaceIconCreationOptions

type WorkspaceIconCreationOptions uint

Constants that describe options for creating icons. Full Topic

const (
	Exclude10_4ElementsIconCreationOption      WorkspaceIconCreationOptions = 4
	ExcludeQuickDrawElementsIconCreationOption WorkspaceIconCreationOptions = 2
)

type WorkspaceLaunchConfigurationKey

type WorkspaceLaunchConfigurationKey string

The following keys can be used in the configuration dictionary of the launchApplicationAtURL:options:configuration:error: method. Each key is optional, and if omitted, default behavior is applied. Full Topic

const (
	WorkspaceLaunchConfigurationAppleEvent   WorkspaceLaunchConfigurationKey = "NSWorkspaceLaunchConfigurationAppleEvent"
	WorkspaceLaunchConfigurationArchitecture WorkspaceLaunchConfigurationKey = "NSWorkspaceLaunchConfigurationArchitecture"
	WorkspaceLaunchConfigurationArguments    WorkspaceLaunchConfigurationKey = "NSWorkspaceLaunchConfigurationArguments"
	WorkspaceLaunchConfigurationEnvironment  WorkspaceLaunchConfigurationKey = "NSWorkspaceLaunchConfigurationEnvironment"
)

type WorkspaceLaunchOptions

type WorkspaceLaunchOptions uint

Constants specifying how you want to launch an app Full Topic

const (
	WorkspaceLaunchAllowingClassicStartup   WorkspaceLaunchOptions = 131072
	WorkspaceLaunchAndHide                  WorkspaceLaunchOptions = 1048576
	WorkspaceLaunchAndHideOthers            WorkspaceLaunchOptions = 2097152
	WorkspaceLaunchAndPrint                 WorkspaceLaunchOptions = 2
	WorkspaceLaunchAsync                    WorkspaceLaunchOptions = 65536
	WorkspaceLaunchDefault                  WorkspaceLaunchOptions = 65536
	WorkspaceLaunchInhibitingBackgroundOnly WorkspaceLaunchOptions = 128
	WorkspaceLaunchNewInstance              WorkspaceLaunchOptions = 524288
	WorkspaceLaunchPreferringClassic        WorkspaceLaunchOptions = 262144
	WorkspaceLaunchWithErrorPresentation    WorkspaceLaunchOptions = 64
	WorkspaceLaunchWithoutActivation        WorkspaceLaunchOptions = 512
	WorkspaceLaunchWithoutAddingToRecents   WorkspaceLaunchOptions = 256
)

type WorkspaceOpenConfiguration

type WorkspaceOpenConfiguration struct {
	objc.Object
}

The configuration options for opening URLs or launching apps. Full Topic

func NewWorkspaceOpenConfiguration

func NewWorkspaceOpenConfiguration() WorkspaceOpenConfiguration

func WorkspaceOpenConfigurationFrom

func WorkspaceOpenConfigurationFrom(ptr unsafe.Pointer) WorkspaceOpenConfiguration

func WorkspaceOpenConfiguration_Alloc

func WorkspaceOpenConfiguration_Alloc() WorkspaceOpenConfiguration

func WorkspaceOpenConfiguration_Configuration

func WorkspaceOpenConfiguration_Configuration() WorkspaceOpenConfiguration

Creates and returns a new workspace configuration object containing default values. Full Topic

func (WorkspaceOpenConfiguration) Activates

func (w_ WorkspaceOpenConfiguration) Activates() bool

A Boolean value indicating whether the system activates the app and brings it to the foreground. Full Topic

func (WorkspaceOpenConfiguration) AddsToRecentItems

func (w_ WorkspaceOpenConfiguration) AddsToRecentItems() bool

A Boolean value indicating whether to add the app or documents to the Recent Items menu. Full Topic

func (WorkspaceOpenConfiguration) AllowsRunningApplicationSubstitution

func (w_ WorkspaceOpenConfiguration) AllowsRunningApplicationSubstitution() bool

A Boolean value that indicates whether to use a running instance of an application even if it’s at a different URL. Full Topic

func (WorkspaceOpenConfiguration) AppleEvent

The first Apple event to send to the new app. Full Topic

func (WorkspaceOpenConfiguration) Arguments

func (w_ WorkspaceOpenConfiguration) Arguments() []string

The set of command-line arguments to pass to a new app instance at launch time. Full Topic

func (WorkspaceOpenConfiguration) CreatesNewApplicationInstance

func (w_ WorkspaceOpenConfiguration) CreatesNewApplicationInstance() bool

A Boolean value indicating whether you want the system to launch a new instance of the app. Full Topic

func (WorkspaceOpenConfiguration) Environment

func (w_ WorkspaceOpenConfiguration) Environment() map[string]string

The set of environment variables to set in a new app instance. Full Topic

func (WorkspaceOpenConfiguration) Hides

func (w_ WorkspaceOpenConfiguration) Hides() bool

A Boolean value indicating whether you want the app to hide itself after it launches. Full Topic

func (WorkspaceOpenConfiguration) HidesOthers

func (w_ WorkspaceOpenConfiguration) HidesOthers() bool

A Boolean value indicating whether you want to hide all apps except the one that launched. Full Topic

func (WorkspaceOpenConfiguration) Init

func (WorkspaceOpenConfiguration) IsForPrinting

func (w_ WorkspaceOpenConfiguration) IsForPrinting() bool

A Boolean value indicating whether you want to print the contents of documents and URLs instead of opening them. Full Topic

func (WorkspaceOpenConfiguration) PromptsUserIfNeeded

func (w_ WorkspaceOpenConfiguration) PromptsUserIfNeeded() bool

A Boolean value indicating whether to display errors, authentication requests, or other UI elements to the user. Full Topic

func (w_ WorkspaceOpenConfiguration) RequiresUniversalLinks() bool

A Boolean value indicating whether you require the URL to have an associated universal link. Full Topic

func (WorkspaceOpenConfiguration) SetActivates

func (w_ WorkspaceOpenConfiguration) SetActivates(value bool)

A Boolean value indicating whether the system activates the app and brings it to the foreground. Full Topic

func (WorkspaceOpenConfiguration) SetAddsToRecentItems

func (w_ WorkspaceOpenConfiguration) SetAddsToRecentItems(value bool)

A Boolean value indicating whether to add the app or documents to the Recent Items menu. Full Topic

func (WorkspaceOpenConfiguration) SetAllowsRunningApplicationSubstitution

func (w_ WorkspaceOpenConfiguration) SetAllowsRunningApplicationSubstitution(value bool)

A Boolean value that indicates whether to use a running instance of an application even if it’s at a different URL. Full Topic

func (WorkspaceOpenConfiguration) SetAppleEvent

The first Apple event to send to the new app. Full Topic

func (WorkspaceOpenConfiguration) SetArguments

func (w_ WorkspaceOpenConfiguration) SetArguments(value []string)

The set of command-line arguments to pass to a new app instance at launch time. Full Topic

func (WorkspaceOpenConfiguration) SetCreatesNewApplicationInstance

func (w_ WorkspaceOpenConfiguration) SetCreatesNewApplicationInstance(value bool)

A Boolean value indicating whether you want the system to launch a new instance of the app. Full Topic

func (WorkspaceOpenConfiguration) SetEnvironment

func (w_ WorkspaceOpenConfiguration) SetEnvironment(value map[string]string)

The set of environment variables to set in a new app instance. Full Topic

func (WorkspaceOpenConfiguration) SetForPrinting

func (w_ WorkspaceOpenConfiguration) SetForPrinting(value bool)

A Boolean value indicating whether you want to print the contents of documents and URLs instead of opening them. Full Topic

func (WorkspaceOpenConfiguration) SetHides

func (w_ WorkspaceOpenConfiguration) SetHides(value bool)

A Boolean value indicating whether you want the app to hide itself after it launches. Full Topic

func (WorkspaceOpenConfiguration) SetHidesOthers

func (w_ WorkspaceOpenConfiguration) SetHidesOthers(value bool)

A Boolean value indicating whether you want to hide all apps except the one that launched. Full Topic

func (WorkspaceOpenConfiguration) SetPromptsUserIfNeeded

func (w_ WorkspaceOpenConfiguration) SetPromptsUserIfNeeded(value bool)

A Boolean value indicating whether to display errors, authentication requests, or other UI elements to the user. Full Topic

func (w_ WorkspaceOpenConfiguration) SetRequiresUniversalLinks(value bool)

A Boolean value indicating whether you require the URL to have an associated universal link. Full Topic

type WritingDirection

type WritingDirection int

Constants that specify the writing direction. Full Topic

const (
	WritingDirectionLeftToRight WritingDirection = 0
	WritingDirectionNatural     WritingDirection = -1
	WritingDirectionRightToLeft WritingDirection = 1
)

func ParagraphStyle_DefaultWritingDirectionForLanguage

func ParagraphStyle_DefaultWritingDirectionForLanguage(languageName string) WritingDirection

Returns the default writing direction for the specified language. Full Topic

type WritingDirectionFormatType

type WritingDirectionFormatType int

Constants for the writing direction attribute key. Full Topic

const (
	WritingDirectionEmbedding WritingDirectionFormatType = 0
	WritingDirectionOverride  WritingDirectionFormatType = 2
)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL