appkit

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Overview

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

Index

Constants

View Source
const VariableStatusItemLength float64 = -1

Variables

View Source
var ActionCellClass = _ActionCellClass{objc.GetClass("NSActionCell")}
View Source
var AlertClass = _AlertClass{objc.GetClass("NSAlert")}
View Source
var AnimationClass = _AnimationClass{objc.GetClass("NSAnimation")}
View Source
var AnimationContextClass = _AnimationContextClass{objc.GetClass("NSAnimationContext")}
View Source
var AppearanceClass = _AppearanceClass{objc.GetClass("NSAppearance")}
View Source
var ApplicationClass = _ApplicationClass{objc.GetClass("NSApplication")}
View Source
var ArrayControllerClass = _ArrayControllerClass{objc.GetClass("NSArrayController")}
View Source
var BezierPathClass = _BezierPathClass{objc.GetClass("NSBezierPath")}
View Source
var BitmapImageRepClass = _BitmapImageRepClass{objc.GetClass("NSBitmapImageRep")}
View Source
var BoxClass = _BoxClass{objc.GetClass("NSBox")}
View Source
var BrowserCellClass = _BrowserCellClass{objc.GetClass("NSBrowserCell")}
View Source
var BrowserClass = _BrowserClass{objc.GetClass("NSBrowser")}
View Source
var ButtonCellClass = _ButtonCellClass{objc.GetClass("NSButtonCell")}
View Source
var ButtonClass = _ButtonClass{objc.GetClass("NSButton")}
View Source
var CandidateListTouchBarItemClass = _CandidateListTouchBarItemClass{objc.GetClass("NSCandidateListTouchBarItem")}
View Source
var CellClass = _CellClass{objc.GetClass("NSCell")}
View Source
var ClipViewClass = _ClipViewClass{objc.GetClass("NSClipView")}
View Source
var CollectionLayoutAnchorClass = _CollectionLayoutAnchorClass{objc.GetClass("NSCollectionLayoutAnchor")}
View Source
var CollectionLayoutBoundarySupplementaryItemClass = _CollectionLayoutBoundarySupplementaryItemClass{objc.GetClass("NSCollectionLayoutBoundarySupplementaryItem")}
View Source
var CollectionLayoutDecorationItemClass = _CollectionLayoutDecorationItemClass{objc.GetClass("NSCollectionLayoutDecorationItem")}
View Source
var CollectionLayoutDimensionClass = _CollectionLayoutDimensionClass{objc.GetClass("NSCollectionLayoutDimension")}
View Source
var CollectionLayoutEdgeSpacingClass = _CollectionLayoutEdgeSpacingClass{objc.GetClass("NSCollectionLayoutEdgeSpacing")}
View Source
var CollectionLayoutGroupClass = _CollectionLayoutGroupClass{objc.GetClass("NSCollectionLayoutGroup")}
View Source
var CollectionLayoutGroupCustomItemClass = _CollectionLayoutGroupCustomItemClass{objc.GetClass("NSCollectionLayoutGroupCustomItem")}
View Source
var CollectionLayoutItemClass = _CollectionLayoutItemClass{objc.GetClass("NSCollectionLayoutItem")}
View Source
var CollectionLayoutSectionClass = _CollectionLayoutSectionClass{objc.GetClass("NSCollectionLayoutSection")}
View Source
var CollectionLayoutSizeClass = _CollectionLayoutSizeClass{objc.GetClass("NSCollectionLayoutSize")}
View Source
var CollectionLayoutSpacingClass = _CollectionLayoutSpacingClass{objc.GetClass("NSCollectionLayoutSpacing")}
View Source
var CollectionLayoutSupplementaryItemClass = _CollectionLayoutSupplementaryItemClass{objc.GetClass("NSCollectionLayoutSupplementaryItem")}
View Source
var CollectionViewClass = _CollectionViewClass{objc.GetClass("NSCollectionView")}
View Source
var CollectionViewCompositionalLayoutClass = _CollectionViewCompositionalLayoutClass{objc.GetClass("NSCollectionViewCompositionalLayout")}
View Source
var CollectionViewCompositionalLayoutConfigurationClass = _CollectionViewCompositionalLayoutConfigurationClass{objc.GetClass("NSCollectionViewCompositionalLayoutConfiguration")}
View Source
var CollectionViewDiffableDataSourceClass = _CollectionViewDiffableDataSourceClass{objc.GetClass("NSCollectionViewDiffableDataSource")}
View Source
var CollectionViewFlowLayoutClass = _CollectionViewFlowLayoutClass{objc.GetClass("NSCollectionViewFlowLayout")}
View Source
var CollectionViewFlowLayoutInvalidationContextClass = _CollectionViewFlowLayoutInvalidationContextClass{objc.GetClass("NSCollectionViewFlowLayoutInvalidationContext")}
View Source
var CollectionViewGridLayoutClass = _CollectionViewGridLayoutClass{objc.GetClass("NSCollectionViewGridLayout")}
View Source
var CollectionViewItemClass = _CollectionViewItemClass{objc.GetClass("NSCollectionViewItem")}
View Source
var CollectionViewLayoutAttributesClass = _CollectionViewLayoutAttributesClass{objc.GetClass("NSCollectionViewLayoutAttributes")}
View Source
var CollectionViewLayoutClass = _CollectionViewLayoutClass{objc.GetClass("NSCollectionViewLayout")}
View Source
var CollectionViewLayoutInvalidationContextClass = _CollectionViewLayoutInvalidationContextClass{objc.GetClass("NSCollectionViewLayoutInvalidationContext")}
View Source
var CollectionViewTransitionLayoutClass = _CollectionViewTransitionLayoutClass{objc.GetClass("NSCollectionViewTransitionLayout")}
View Source
var CollectionViewUpdateItemClass = _CollectionViewUpdateItemClass{objc.GetClass("NSCollectionViewUpdateItem")}
View Source
var ColorClass = _ColorClass{objc.GetClass("NSColor")}
View Source
var ColorListClass = _ColorListClass{objc.GetClass("NSColorList")}
View Source
var ColorPanelClass = _ColorPanelClass{objc.GetClass("NSColorPanel")}
View Source
var ColorPickerClass = _ColorPickerClass{objc.GetClass("NSColorPicker")}
View Source
var ColorSpaceClass = _ColorSpaceClass{objc.GetClass("NSColorSpace")}
View Source
var ColorWellClass = _ColorWellClass{objc.GetClass("NSColorWell")}
View Source
var ComboBoxClass = _ComboBoxClass{objc.GetClass("NSComboBox")}
View Source
var ComboButtonClass = _ComboButtonClass{objc.GetClass("NSComboButton")}
View Source
var ControlClass = _ControlClass{objc.GetClass("NSControl")}
View Source
var ControllerClass = _ControllerClass{objc.GetClass("NSController")}
View Source
var CursorClass = _CursorClass{objc.GetClass("NSCursor")}
View Source
var DatePickerCellClass = _DatePickerCellClass{objc.GetClass("NSDatePickerCell")}
View Source
var DatePickerClass = _DatePickerClass{objc.GetClass("NSDatePicker")}
View Source
var DiffableDataSourceSnapshotClass = _DiffableDataSourceSnapshotClass{objc.GetClass("NSDiffableDataSourceSnapshot")}
View Source
var DockTileClass = _DockTileClass{objc.GetClass("NSDockTile")}
View Source
var DocumentClass = _DocumentClass{objc.GetClass("NSDocument")}
View Source
var DraggingImageComponentClass = _DraggingImageComponentClass{objc.GetClass("NSDraggingImageComponent")}
View Source
var DraggingItemClass = _DraggingItemClass{objc.GetClass("NSDraggingItem")}
View Source
var DraggingSessionClass = _DraggingSessionClass{objc.GetClass("NSDraggingSession")}
View Source
var DrawerClass = _DrawerClass{objc.GetClass("NSDrawer")}
View Source
var EventClass = _EventClass{objc.GetClass("NSEvent")}
View Source
var FontClass = _FontClass{objc.GetClass("NSFont")}
View Source
var FontDescriptorClass = _FontDescriptorClass{objc.GetClass("NSFontDescriptor")}
View Source
var FontManagerClass = _FontManagerClass{objc.GetClass("NSFontManager")}
View Source
var FontPanelClass = _FontPanelClass{objc.GetClass("NSFontPanel")}
View Source
var GestureRecognizerClass = _GestureRecognizerClass{objc.GetClass("NSGestureRecognizer")}
View Source
var GlyphGeneratorClass = _GlyphGeneratorClass{objc.GetClass("NSGlyphGenerator")}
View Source
var GraphicsContextClass = _GraphicsContextClass{objc.GetClass("NSGraphicsContext")}
View Source
var GridCellClass = _GridCellClass{objc.GetClass("NSGridCell")}
View Source
var GridColumnClass = _GridColumnClass{objc.GetClass("NSGridColumn")}
View Source
var GridRowClass = _GridRowClass{objc.GetClass("NSGridRow")}
View Source
var GridViewClass = _GridViewClass{objc.GetClass("NSGridView")}
View Source
var ImageClass = _ImageClass{objc.GetClass("NSImage")}
View Source
var ImageRepClass = _ImageRepClass{objc.GetClass("NSImageRep")}
View Source
var ImageSymbolConfigurationClass = _ImageSymbolConfigurationClass{objc.GetClass("NSImageSymbolConfiguration")}
View Source
var ImageViewClass = _ImageViewClass{objc.GetClass("NSImageView")}
View Source
var LayoutAnchorClass = _LayoutAnchorClass{objc.GetClass("NSLayoutAnchor")}
View Source
var LayoutConstraintClass = _LayoutConstraintClass{objc.GetClass("NSLayoutConstraint")}
View Source
var LayoutDimensionClass = _LayoutDimensionClass{objc.GetClass("NSLayoutDimension")}
View Source
var LayoutGuideClass = _LayoutGuideClass{objc.GetClass("NSLayoutGuide")}
View Source
var LayoutManagerClass = _LayoutManagerClass{objc.GetClass("NSLayoutManager")}
View Source
var LayoutXAxisAnchorClass = _LayoutXAxisAnchorClass{objc.GetClass("NSLayoutXAxisAnchor")}
View Source
var LayoutYAxisAnchorClass = _LayoutYAxisAnchorClass{objc.GetClass("NSLayoutYAxisAnchor")}
View Source
var LevelIndicatorClass = _LevelIndicatorClass{objc.GetClass("NSLevelIndicator")}
View Source
var MatrixClass = _MatrixClass{objc.GetClass("NSMatrix")}
View Source
var MenuClass = _MenuClass{objc.GetClass("NSMenu")}
View Source
var MenuItemClass = _MenuItemClass{objc.GetClass("NSMenuItem")}
View Source
var MenuToolbarItemClass = _MenuToolbarItemClass{objc.GetClass("NSMenuToolbarItem")}
View Source
var MutableParagraphStyleClass = _MutableParagraphStyleClass{objc.GetClass("NSMutableParagraphStyle")}
View Source
var NibClass = _NibClass{objc.GetClass("NSNib")}
View Source
var ObjectControllerClass = _ObjectControllerClass{objc.GetClass("NSObjectController")}
View Source
var OpenPanelClass = _OpenPanelClass{objc.GetClass("NSOpenPanel")}
View Source
var OutlineViewClass = _OutlineViewClass{objc.GetClass("NSOutlineView")}
View Source
var PDFInfoClass = _PDFInfoClass{objc.GetClass("NSPDFInfo")}
View Source
var PDFPanelClass = _PDFPanelClass{objc.GetClass("NSPDFPanel")}
View Source
var PageLayoutClass = _PageLayoutClass{objc.GetClass("NSPageLayout")}
View Source
var PanelClass = _PanelClass{objc.GetClass("NSPanel")}
View Source
var ParagraphStyleClass = _ParagraphStyleClass{objc.GetClass("NSParagraphStyle")}
View Source
var PasteboardClass = _PasteboardClass{objc.GetClass("NSPasteboard")}
View Source
var PasteboardItemClass = _PasteboardItemClass{objc.GetClass("NSPasteboardItem")}
View Source
var PathCellClass = _PathCellClass{objc.GetClass("NSPathCell")}
View Source
var PathComponentCellClass = _PathComponentCellClass{objc.GetClass("NSPathComponentCell")}
View Source
var PathControlClass = _PathControlClass{objc.GetClass("NSPathControl")}
View Source
var PathControlItemClass = _PathControlItemClass{objc.GetClass("NSPathControlItem")}
View Source
var PopUpButtonClass = _PopUpButtonClass{objc.GetClass("NSPopUpButton")}
View Source
var PopoverClass = _PopoverClass{objc.GetClass("NSPopover")}
View Source
var PredicateEditorClass = _PredicateEditorClass{objc.GetClass("NSPredicateEditor")}
View Source
var PredicateEditorRowTemplateClass = _PredicateEditorRowTemplateClass{objc.GetClass("NSPredicateEditorRowTemplate")}
View Source
var PressureConfigurationClass = _PressureConfigurationClass{objc.GetClass("NSPressureConfiguration")}
View Source
var PrintInfoClass = _PrintInfoClass{objc.GetClass("NSPrintInfo")}
View Source
var PrintOperationClass = _PrintOperationClass{objc.GetClass("NSPrintOperation")}
View Source
var PrintPanelClass = _PrintPanelClass{objc.GetClass("NSPrintPanel")}
View Source
var PrinterClass = _PrinterClass{objc.GetClass("NSPrinter")}
View Source
var ProgressIndicatorClass = _ProgressIndicatorClass{objc.GetClass("NSProgressIndicator")}
View Source
var ResponderClass = _ResponderClass{objc.GetClass("NSResponder")}
View Source
var RuleEditorClass = _RuleEditorClass{objc.GetClass("NSRuleEditor")}
View Source
var RulerMarkerClass = _RulerMarkerClass{objc.GetClass("NSRulerMarker")}
View Source
var RulerViewClass = _RulerViewClass{objc.GetClass("NSRulerView")}
View Source
var RunningApplicationClass = _RunningApplicationClass{objc.GetClass("NSRunningApplication")}
View Source
var SavePanelClass = _SavePanelClass{objc.GetClass("NSSavePanel")}
View Source
var ScreenClass = _ScreenClass{objc.GetClass("NSScreen")}
View Source
var ScrollViewClass = _ScrollViewClass{objc.GetClass("NSScrollView")}
View Source
var ScrollerClass = _ScrollerClass{objc.GetClass("NSScroller")}
View Source
var SearchFieldCellClass = _SearchFieldCellClass{objc.GetClass("NSSearchFieldCell")}
View Source
var SearchFieldClass = _SearchFieldClass{objc.GetClass("NSSearchField")}
View Source
var SearchToolbarItemClass = _SearchToolbarItemClass{objc.GetClass("NSSearchToolbarItem")}
View Source
var SecureTextFieldClass = _SecureTextFieldClass{objc.GetClass("NSSecureTextField")}
View Source
var SegmentedCellClass = _SegmentedCellClass{objc.GetClass("NSSegmentedCell")}
View Source
var SegmentedControlClass = _SegmentedControlClass{objc.GetClass("NSSegmentedControl")}
View Source
var ShadowClass = _ShadowClass{objc.GetClass("NSShadow")}
View Source
var SharingServiceClass = _SharingServiceClass{objc.GetClass("NSSharingService")}
View Source
var SharingServicePickerClass = _SharingServicePickerClass{objc.GetClass("NSSharingServicePicker")}
View Source
var SliderClass = _SliderClass{objc.GetClass("NSSlider")}
View Source
var SoundClass = _SoundClass{objc.GetClass("NSSound")}
View Source
var SplitViewClass = _SplitViewClass{objc.GetClass("NSSplitView")}
View Source
var StackViewClass = _StackViewClass{objc.GetClass("NSStackView")}
View Source
var StatusBarButtonClass = _StatusBarButtonClass{objc.GetClass("NSStatusBarButton")}
View Source
var StatusBarClass = _StatusBarClass{objc.GetClass("NSStatusBar")}
View Source
var StatusItemClass = _StatusItemClass{objc.GetClass("NSStatusItem")}
View Source
var StepperClass = _StepperClass{objc.GetClass("NSStepper")}
View Source
var StoryboardClass = _StoryboardClass{objc.GetClass("NSStoryboard")}
View Source
var SwitchClass = _SwitchClass{objc.GetClass("NSSwitch")}
View Source
var TabViewClass = _TabViewClass{objc.GetClass("NSTabView")}
View Source
var TabViewItemClass = _TabViewItemClass{objc.GetClass("NSTabViewItem")}
View Source
var TableCellViewClass = _TableCellViewClass{objc.GetClass("NSTableCellView")}
View Source
var TableColumnClass = _TableColumnClass{objc.GetClass("NSTableColumn")}
View Source
var TableHeaderCellClass = _TableHeaderCellClass{objc.GetClass("NSTableHeaderCell")}
View Source
var TableHeaderViewClass = _TableHeaderViewClass{objc.GetClass("NSTableHeaderView")}
View Source
var TableRowViewClass = _TableRowViewClass{objc.GetClass("NSTableRowView")}
View Source
var TableViewClass = _TableViewClass{objc.GetClass("NSTableView")}
View Source
var TableViewRowActionClass = _TableViewRowActionClass{objc.GetClass("NSTableViewRowAction")}
View Source
var TextAttachmentCellClass = _TextAttachmentCellClass{objc.GetClass("NSTextAttachmentCell")}
View Source
var TextAttachmentClass = _TextAttachmentClass{objc.GetClass("NSTextAttachment")}
View Source
var TextAttachmentViewProviderClass = _TextAttachmentViewProviderClass{objc.GetClass("NSTextAttachmentViewProvider")}
View Source
var TextBlockClass = _TextBlockClass{objc.GetClass("NSTextBlock")}
View Source
var TextClass = _TextClass{objc.GetClass("NSText")}
View Source
var TextContainerClass = _TextContainerClass{objc.GetClass("NSTextContainer")}
View Source
var TextContentManagerClass = _TextContentManagerClass{objc.GetClass("NSTextContentManager")}
View Source
var TextContentStorageClass = _TextContentStorageClass{objc.GetClass("NSTextContentStorage")}
View Source
var TextElementClass = _TextElementClass{objc.GetClass("NSTextElement")}
View Source
var TextFieldCellClass = _TextFieldCellClass{objc.GetClass("NSTextFieldCell")}
View Source
var TextFieldClass = _TextFieldClass{objc.GetClass("NSTextField")}
View Source
var TextInputContextClass = _TextInputContextClass{objc.GetClass("NSTextInputContext")}
View Source
var TextLayoutFragmentClass = _TextLayoutFragmentClass{objc.GetClass("NSTextLayoutFragment")}
View Source
var TextLayoutManagerClass = _TextLayoutManagerClass{objc.GetClass("NSTextLayoutManager")}
View Source
var TextLineFragmentClass = _TextLineFragmentClass{objc.GetClass("NSTextLineFragment")}
View Source
var TextListClass = _TextListClass{objc.GetClass("NSTextList")}
View Source
var TextRangeClass = _TextRangeClass{objc.GetClass("NSTextRange")}
View Source
var TextSelectionClass = _TextSelectionClass{objc.GetClass("NSTextSelection")}
View Source
var TextSelectionNavigationClass = _TextSelectionNavigationClass{objc.GetClass("NSTextSelectionNavigation")}
View Source
var TextStorageClass = _TextStorageClass{objc.GetClass("NSTextStorage")}
View Source
var TextTabClass = _TextTabClass{objc.GetClass("NSTextTab")}
View Source
var TextTableClass = _TextTableClass{objc.GetClass("NSTextTable")}
View Source
var TextViewClass = _TextViewClass{objc.GetClass("NSTextView")}
View Source
var TextViewportLayoutControllerClass = _TextViewportLayoutControllerClass{objc.GetClass("NSTextViewportLayoutController")}
View Source
var TintConfigurationClass = _TintConfigurationClass{objc.GetClass("NSTintConfiguration")}
View Source
var TitlebarAccessoryViewControllerClass = _TitlebarAccessoryViewControllerClass{objc.GetClass("NSTitlebarAccessoryViewController")}
View Source
var TokenFieldCellClass = _TokenFieldCellClass{objc.GetClass("NSTokenFieldCell")}
View Source
var TokenFieldClass = _TokenFieldClass{objc.GetClass("NSTokenField")}
View Source
var ToolbarClass = _ToolbarClass{objc.GetClass("NSToolbar")}
View Source
var ToolbarItemClass = _ToolbarItemClass{objc.GetClass("NSToolbarItem")}
View Source
var ToolbarItemGroupClass = _ToolbarItemGroupClass{objc.GetClass("NSToolbarItemGroup")}
View Source
var TouchBarClass = _TouchBarClass{objc.GetClass("NSTouchBar")}
View Source
var TouchBarItemClass = _TouchBarItemClass{objc.GetClass("NSTouchBarItem")}
View Source
var TouchClass = _TouchClass{objc.GetClass("NSTouch")}
View Source
var TrackingAreaClass = _TrackingAreaClass{objc.GetClass("NSTrackingArea")}
View Source
var TrackingSeparatorToolbarItemClass = _TrackingSeparatorToolbarItemClass{objc.GetClass("NSTrackingSeparatorToolbarItem")}
View Source
var TreeControllerClass = _TreeControllerClass{objc.GetClass("NSTreeController")}
View Source
var TreeNodeClass = _TreeNodeClass{objc.GetClass("NSTreeNode")}
View Source
var TypesetterClass = _TypesetterClass{objc.GetClass("NSTypesetter")}
View Source
var UserInterfaceCompressionOptionsClass = _UserInterfaceCompressionOptionsClass{objc.GetClass("NSUserInterfaceCompressionOptions")}
View Source
var ViewAnimationClass = _ViewAnimationClass{objc.GetClass("NSViewAnimation")}
View Source
var ViewClass = _ViewClass{objc.GetClass("NSView")}
View Source
var ViewControllerClass = _ViewControllerClass{objc.GetClass("NSViewController")}
View Source
var VisualEffectViewClass = _VisualEffectViewClass{objc.GetClass("NSVisualEffectView")}
View Source
var WindowClass = _WindowClass{objc.GetClass("NSWindow")}
View Source
var WindowControllerClass = _WindowControllerClass{objc.GetClass("NSWindowController")}
View Source
var WindowTabClass = _WindowTabClass{objc.GetClass("NSWindowTab")}
View Source
var WindowTabGroupClass = _WindowTabGroupClass{objc.GetClass("NSWindowTabGroup")}
View Source
var WorkspaceClass = _WorkspaceClass{objc.GetClass("NSWorkspace")}

Functions

func DisableAutoresizingTranslate added in v0.15.4

func DisableAutoresizingTranslate[T IView](v T) T

func WrapAlertDelegate added in v0.18.0

func WrapAlertDelegate(v AlertDelegate) objc.Object

func WrapAnimationDelegate added in v0.18.0

func WrapAnimationDelegate(v AnimationDelegate) objc.Object

func WrapAppearanceCustomization added in v0.18.0

func WrapAppearanceCustomization(v AppearanceCustomization) objc.Object

func WrapApplicationDelegate added in v0.18.0

func WrapApplicationDelegate(v ApplicationDelegate) objc.Object

func WrapBrowserDelegate added in v0.18.0

func WrapBrowserDelegate(v BrowserDelegate) objc.Object

func WrapCandidateListTouchBarItemDelegate added in v0.18.0

func WrapCandidateListTouchBarItemDelegate(v CandidateListTouchBarItemDelegate) objc.Object

func WrapCollectionLayoutContainer added in v0.18.0

func WrapCollectionLayoutContainer(v CollectionLayoutContainer) objc.Object

func WrapCollectionLayoutEnvironment added in v0.18.0

func WrapCollectionLayoutEnvironment(v CollectionLayoutEnvironment) objc.Object

func WrapCollectionViewDataSource added in v0.18.0

func WrapCollectionViewDataSource(v CollectionViewDataSource) objc.Object

func WrapCollectionViewDelegate added in v0.18.0

func WrapCollectionViewDelegate(v CollectionViewDelegate) objc.Object

func WrapCollectionViewDelegateFlowLayout added in v0.18.0

func WrapCollectionViewDelegateFlowLayout(v CollectionViewDelegateFlowLayout) objc.Object

func WrapCollectionViewElement added in v0.18.0

func WrapCollectionViewElement(v CollectionViewElement) objc.Object

func WrapCollectionViewPrefetching added in v0.18.0

func WrapCollectionViewPrefetching(v CollectionViewPrefetching) objc.Object

func WrapCollectionViewSectionHeaderView added in v0.18.0

func WrapCollectionViewSectionHeaderView(v CollectionViewSectionHeaderView) objc.Object

func WrapComboBoxDataSource added in v0.18.0

func WrapComboBoxDataSource(v ComboBoxDataSource) objc.Object

func WrapComboBoxDelegate added in v0.18.0

func WrapComboBoxDelegate(v ComboBoxDelegate) objc.Object

func WrapControlTextEditingDelegate added in v0.18.0

func WrapControlTextEditingDelegate(v ControlTextEditingDelegate) objc.Object

func WrapCopying added in v0.18.0

func WrapCopying(v Copying) objc.Object

func WrapDatePickerCellDelegate added in v0.18.0

func WrapDatePickerCellDelegate(v DatePickerCellDelegate) objc.Object

func WrapDraggingDestination added in v0.18.0

func WrapDraggingDestination(v DraggingDestination) objc.Object

func WrapDraggingInfo added in v0.18.0

func WrapDraggingInfo(v DraggingInfo) objc.Object

func WrapDraggingSource added in v0.18.0

func WrapDraggingSource(v DraggingSource) objc.Object

func WrapDrawerDelegate added in v0.18.0

func WrapDrawerDelegate(v DrawerDelegate) objc.Object

func WrapEditor added in v0.18.0

func WrapEditor(v Editor) objc.Object

func WrapFontChanging added in v0.18.0

func WrapFontChanging(v FontChanging) objc.Object

func WrapGestureRecognizerDelegate added in v0.18.0

func WrapGestureRecognizerDelegate(v GestureRecognizerDelegate) objc.Object

func WrapGlyphStorage added in v0.18.0

func WrapGlyphStorage(v GlyphStorage) objc.Object

func WrapImageDelegate added in v0.18.0

func WrapImageDelegate(v ImageDelegate) objc.Object

func WrapLayoutManagerDelegate added in v0.18.0

func WrapLayoutManagerDelegate(v LayoutManagerDelegate) objc.Object

func WrapMatrixDelegate added in v0.18.0

func WrapMatrixDelegate(v MatrixDelegate) objc.Object

func WrapMenuDelegate added in v0.18.0

func WrapMenuDelegate(v MenuDelegate) objc.Object

func WrapOpenSavePanelDelegate added in v0.18.0

func WrapOpenSavePanelDelegate(v OpenSavePanelDelegate) objc.Object

func WrapOutlineViewDataSource added in v0.18.0

func WrapOutlineViewDataSource(v OutlineViewDataSource) objc.Object

func WrapOutlineViewDelegate added in v0.18.0

func WrapOutlineViewDelegate(v OutlineViewDelegate) objc.Object

func WrapPasteboardItemDataProvider added in v0.18.0

func WrapPasteboardItemDataProvider(v PasteboardItemDataProvider) objc.Object

func WrapPasteboardWriting added in v0.18.0

func WrapPasteboardWriting(v PasteboardWriting) objc.Object

func WrapPathCellDelegate added in v0.18.0

func WrapPathCellDelegate(v PathCellDelegate) objc.Object

func WrapPathControlDelegate added in v0.18.0

func WrapPathControlDelegate(v PathControlDelegate) objc.Object

func WrapPopoverDelegate added in v0.18.0

func WrapPopoverDelegate(v PopoverDelegate) objc.Object

func WrapRuleEditorDelegate added in v0.18.0

func WrapRuleEditorDelegate(v RuleEditorDelegate) objc.Object

func WrapSearchFieldDelegate added in v0.18.0

func WrapSearchFieldDelegate(v SearchFieldDelegate) objc.Object

func WrapSharingServiceDelegate added in v0.18.0

func WrapSharingServiceDelegate(v SharingServiceDelegate) objc.Object

func WrapSharingServicePickerDelegate added in v0.18.0

func WrapSharingServicePickerDelegate(v SharingServicePickerDelegate) objc.Object

func WrapSoundDelegate added in v0.18.0

func WrapSoundDelegate(v SoundDelegate) objc.Object

func WrapSplitViewDelegate added in v0.18.0

func WrapSplitViewDelegate(v SplitViewDelegate) objc.Object

func WrapStackViewDelegate added in v0.18.0

func WrapStackViewDelegate(v StackViewDelegate) objc.Object

func WrapTabViewDelegate added in v0.18.0

func WrapTabViewDelegate(v TabViewDelegate) objc.Object

func WrapTableViewDataSource added in v0.18.0

func WrapTableViewDataSource(v TableViewDataSource) objc.Object

func WrapTableViewDelegate added in v0.18.0

func WrapTableViewDelegate(v TableViewDelegate) objc.Object

func WrapTextDelegate added in v0.18.0

func WrapTextDelegate(v TextDelegate) objc.Object

func WrapTextFieldDelegate added in v0.18.0

func WrapTextFieldDelegate(v TextFieldDelegate) objc.Object

func WrapTextStorageDelegate added in v0.18.0

func WrapTextStorageDelegate(v TextStorageDelegate) objc.Object

func WrapTextViewDelegate added in v0.18.0

func WrapTextViewDelegate(v TextViewDelegate) objc.Object

func WrapTokenFieldCellDelegate added in v0.18.0

func WrapTokenFieldCellDelegate(v TokenFieldCellDelegate) objc.Object

func WrapTokenFieldDelegate added in v0.18.0

func WrapTokenFieldDelegate(v TokenFieldDelegate) objc.Object

func WrapToolbarDelegate added in v0.18.0

func WrapToolbarDelegate(v ToolbarDelegate) objc.Object

func WrapToolbarItemValidation added in v0.18.0

func WrapToolbarItemValidation(v ToolbarItemValidation) objc.Object

func WrapTouchBarDelegate added in v0.18.0

func WrapTouchBarDelegate(v TouchBarDelegate) objc.Object

func WrapUserInterfaceCompression added in v0.18.0

func WrapUserInterfaceCompression(v UserInterfaceCompression) objc.Object

func WrapUserInterfaceItemIdentification added in v0.18.0

func WrapUserInterfaceItemIdentification(v UserInterfaceItemIdentification) objc.Object

func WrapUserInterfaceItemSearching added in v0.18.0

func WrapUserInterfaceItemSearching(v UserInterfaceItemSearching) objc.Object

func WrapValidatedUserInterfaceItem added in v0.18.0

func WrapValidatedUserInterfaceItem(v ValidatedUserInterfaceItem) objc.Object

func WrapViewControllerPresentationAnimator added in v0.18.0

func WrapViewControllerPresentationAnimator(v ViewControllerPresentationAnimator) objc.Object

func WrapViewToolTipOwner added in v0.18.0

func WrapViewToolTipOwner(v ViewToolTipOwner) objc.Object

func WrapWindowDelegate added in v0.18.0

func WrapWindowDelegate(v WindowDelegate) objc.Object

Types

type AboutPanelOptionKey

type AboutPanelOptionKey string
const AboutPanelOptionApplicationIcon AboutPanelOptionKey = "ApplicationIcon"
const AboutPanelOptionApplicationName AboutPanelOptionKey = "ApplicationName"
const AboutPanelOptionApplicationVersion AboutPanelOptionKey = "ApplicationVersion"
const AboutPanelOptionCredits AboutPanelOptionKey = "Credits"
const AboutPanelOptionVersion AboutPanelOptionKey = "Version"

type ActionCell

type ActionCell struct {
	Cell
}

func MakeActionCell

func MakeActionCell(ptr unsafe.Pointer) ActionCell

func NewActionCell

func NewActionCell() ActionCell

func (ActionCell) Init added in v0.11.0

func (a_ ActionCell) Init() ActionCell

func (ActionCell) InitImageCell added in v0.11.0

func (a_ ActionCell) InitImageCell(image IImage) ActionCell

func (ActionCell) InitTextCell added in v0.11.0

func (a_ ActionCell) InitTextCell(string_ string) ActionCell

type Alert

type Alert struct {
	objc.Object
}

func MakeAlert

func MakeAlert(ptr unsafe.Pointer) Alert

func NewAlert

func NewAlert() Alert

func (Alert) AccessoryView

func (a_ Alert) AccessoryView() View

func (Alert) AddButtonWithTitle

func (a_ Alert) AddButtonWithTitle(title string) Button

func (Alert) AlertStyle

func (a_ Alert) AlertStyle() AlertStyle

func (Alert) BeginSheetModalForWindow_CompletionHandler added in v0.13.3

func (a_ Alert) BeginSheetModalForWindow_CompletionHandler(sheetWindow IWindow, handler func(returnCode ModalResponse))

func (Alert) BeginSheetModalForWindow_ModalDelegate_DidEndSelector_ContextInfo added in v0.14.5

func (a_ Alert) BeginSheetModalForWindow_ModalDelegate_DidEndSelector_ContextInfo(window IWindow, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)

deprecated

func (Alert) Buttons

func (a_ Alert) Buttons() []Button

func (Alert) Delegate

func (a_ Alert) Delegate() objc.Object

weak property

func (Alert) HelpAnchor

func (a_ Alert) HelpAnchor() HelpAnchorName

func (Alert) Icon

func (a_ Alert) Icon() Image

func (Alert) InformativeText

func (a_ Alert) InformativeText() string

func (Alert) Init added in v0.11.0

func (a_ Alert) Init() Alert

func (Alert) Layout

func (a_ Alert) Layout()

func (Alert) MessageText

func (a_ Alert) MessageText() string

func (Alert) RunModal

func (a_ Alert) RunModal() ModalResponse

func (Alert) SetAccessoryView

func (a_ Alert) SetAccessoryView(value IView)

func (Alert) SetAlertStyle

func (a_ Alert) SetAlertStyle(value AlertStyle)

func (Alert) SetDelegate

func (a_ Alert) SetDelegate(value objc.IObject)

weak property

func (Alert) SetHelpAnchor

func (a_ Alert) SetHelpAnchor(value HelpAnchorName)

func (Alert) SetIcon

func (a_ Alert) SetIcon(value IImage)

func (Alert) SetInformativeText

func (a_ Alert) SetInformativeText(value string)

func (Alert) SetMessageText

func (a_ Alert) SetMessageText(value string)

func (Alert) SetShowsHelp

func (a_ Alert) SetShowsHelp(value bool)

func (Alert) SetShowsSuppressionButton

func (a_ Alert) SetShowsSuppressionButton(value bool)

func (Alert) ShowsHelp

func (a_ Alert) ShowsHelp() bool

func (Alert) ShowsSuppressionButton

func (a_ Alert) ShowsSuppressionButton() bool

func (Alert) SuppressionButton

func (a_ Alert) SuppressionButton() Button

func (Alert) Window

func (a_ Alert) Window() Window

type AlertDelegate

type AlertDelegate interface {
	ImplementsAlertShowHelp() bool
	// optional
	AlertShowHelp(alert Alert) bool
}

type AlertDelegateBase added in v0.18.0

type AlertDelegateBase struct {
}

func (*AlertDelegateBase) AlertShowHelp added in v0.18.0

func (p *AlertDelegateBase) AlertShowHelp(alert Alert) bool

func (*AlertDelegateBase) ImplementsAlertShowHelp added in v0.18.0

func (p *AlertDelegateBase) ImplementsAlertShowHelp() bool

type AlertDelegateCreator added in v0.19.0

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

func NewAlertDelegateCreator added in v0.19.0

func NewAlertDelegateCreator(name string) *AlertDelegateCreator

func (*AlertDelegateCreator) Create added in v0.19.0

func (*AlertDelegateCreator) SetAlertShowHelp added in v0.19.0

func (c *AlertDelegateCreator) SetAlertShowHelp(handle func(o objc.ProtocolBase, alert Alert) bool)

type AlertStyle

type AlertStyle uint
const AlertStyleCritical AlertStyle = 2
const AlertStyleInformational AlertStyle = 1
const AlertStyleWarning AlertStyle = 0

type Animation added in v0.7.1

type Animation struct {
	objc.Object
}

func MakeAnimation added in v0.7.1

func MakeAnimation(ptr unsafe.Pointer) Animation

func NewAnimation added in v0.7.1

func NewAnimation() Animation

func (Animation) AddProgressMark added in v0.7.1

func (a_ Animation) AddProgressMark(progressMark AnimationProgress)

func (Animation) AnimationBlockingMode added in v0.7.1

func (a_ Animation) AnimationBlockingMode() AnimationBlockingMode

func (Animation) AnimationCurve added in v0.7.1

func (a_ Animation) AnimationCurve() AnimationCurve

func (Animation) ClearStartAnimation added in v0.7.1

func (a_ Animation) ClearStartAnimation()

func (Animation) ClearStopAnimation added in v0.7.1

func (a_ Animation) ClearStopAnimation()

func (Animation) CurrentProgress added in v0.7.1

func (a_ Animation) CurrentProgress() AnimationProgress

func (Animation) CurrentValue added in v0.7.1

func (a_ Animation) CurrentValue() float32

func (Animation) Delegate added in v0.7.1

func (a_ Animation) Delegate() objc.Object

weak property

func (Animation) Duration added in v0.7.1

func (a_ Animation) Duration() foundation.TimeInterval

func (Animation) FrameRate added in v0.7.1

func (a_ Animation) FrameRate() float32

func (Animation) Init added in v0.11.0

func (a_ Animation) Init() Animation

func (Animation) InitWithDuration_AnimationCurve added in v0.11.0

func (a_ Animation) InitWithDuration_AnimationCurve(duration foundation.TimeInterval, animationCurve AnimationCurve) Animation

func (Animation) IsAnimating added in v0.7.1

func (a_ Animation) IsAnimating() bool

func (Animation) ProgressMarks added in v0.7.1

func (a_ Animation) ProgressMarks() []foundation.Number

func (Animation) RemoveProgressMark added in v0.7.1

func (a_ Animation) RemoveProgressMark(progressMark AnimationProgress)

func (Animation) RunLoopModesForAnimating added in v0.7.1

func (a_ Animation) RunLoopModesForAnimating() []foundation.RunLoopMode

func (Animation) SetAnimationBlockingMode added in v0.7.1

func (a_ Animation) SetAnimationBlockingMode(value AnimationBlockingMode)

func (Animation) SetAnimationCurve added in v0.7.1

func (a_ Animation) SetAnimationCurve(value AnimationCurve)

func (Animation) SetCurrentProgress added in v0.7.1

func (a_ Animation) SetCurrentProgress(value AnimationProgress)

func (Animation) SetDelegate added in v0.7.1

func (a_ Animation) SetDelegate(value objc.IObject)

weak property

func (Animation) SetDuration added in v0.7.1

func (a_ Animation) SetDuration(value foundation.TimeInterval)

func (Animation) SetFrameRate added in v0.7.1

func (a_ Animation) SetFrameRate(value float32)

func (Animation) SetProgressMarks added in v0.7.1

func (a_ Animation) SetProgressMarks(value []foundation.INumber)

func (Animation) StartAnimation added in v0.7.1

func (a_ Animation) StartAnimation()

func (Animation) StartWhenAnimation_ReachesProgress added in v0.7.1

func (a_ Animation) StartWhenAnimation_ReachesProgress(animation IAnimation, startProgress AnimationProgress)

func (Animation) StopAnimation added in v0.7.1

func (a_ Animation) StopAnimation()

func (Animation) StopWhenAnimation_ReachesProgress added in v0.7.1

func (a_ Animation) StopWhenAnimation_ReachesProgress(animation IAnimation, stopProgress AnimationProgress)

type AnimationBlockingMode

type AnimationBlockingMode uint
const AnimationBlocking AnimationBlockingMode = 0
const AnimationNonblocking AnimationBlockingMode = 1
const AnimationNonblockingThreaded AnimationBlockingMode = 2

type AnimationContext

type AnimationContext struct {
	objc.Object
}

func MakeAnimationContext

func MakeAnimationContext(ptr unsafe.Pointer) AnimationContext

func NewAnimationContext

func NewAnimationContext() AnimationContext

func (AnimationContext) AllowsImplicitAnimation

func (a_ AnimationContext) AllowsImplicitAnimation() bool

func (AnimationContext) CompletionHandler added in v0.13.3

func (a_ AnimationContext) CompletionHandler() func()

func (AnimationContext) Duration

func (AnimationContext) Init added in v0.11.0

func (AnimationContext) SetAllowsImplicitAnimation

func (a_ AnimationContext) SetAllowsImplicitAnimation(value bool)

func (AnimationContext) SetCompletionHandler added in v0.13.3

func (a_ AnimationContext) SetCompletionHandler(value func())

func (AnimationContext) SetDuration

func (a_ AnimationContext) SetDuration(value foundation.TimeInterval)

func (AnimationContext) SetTimingFunction added in v0.16.0

func (a_ AnimationContext) SetTimingFunction(value quartzcore.IMediaTimingFunction)

func (AnimationContext) TimingFunction added in v0.16.0

func (a_ AnimationContext) TimingFunction() quartzcore.MediaTimingFunction

type AnimationCurve

type AnimationCurve uint
const AnimationEaseIn AnimationCurve = 1
const AnimationEaseInOut AnimationCurve = 0
const AnimationEaseOut AnimationCurve = 2
const AnimationLinear AnimationCurve = 3

type AnimationDelegate added in v0.7.1

type AnimationDelegate interface {
	ImplementsAnimationDidEnd() bool
	// optional
	AnimationDidEnd(animation Animation)
	ImplementsAnimationDidStop() bool
	// optional
	AnimationDidStop(animation Animation)
	ImplementsAnimationShouldStart() bool
	// optional
	AnimationShouldStart(animation Animation) bool
	ImplementsAnimation_ValueForProgress() bool
	// optional
	Animation_ValueForProgress(animation Animation, progress AnimationProgress) float32
	ImplementsAnimation_DidReachProgressMark() bool
	// optional
	Animation_DidReachProgressMark(animation Animation, progress AnimationProgress)
}

type AnimationDelegateBase added in v0.18.0

type AnimationDelegateBase struct {
}

func (*AnimationDelegateBase) AnimationDidEnd added in v0.18.0

func (p *AnimationDelegateBase) AnimationDidEnd(animation Animation)

func (*AnimationDelegateBase) AnimationDidStop added in v0.18.0

func (p *AnimationDelegateBase) AnimationDidStop(animation Animation)

func (*AnimationDelegateBase) AnimationShouldStart added in v0.18.0

func (p *AnimationDelegateBase) AnimationShouldStart(animation Animation) bool

func (*AnimationDelegateBase) Animation_DidReachProgressMark added in v0.18.0

func (p *AnimationDelegateBase) Animation_DidReachProgressMark(animation Animation, progress AnimationProgress)

func (*AnimationDelegateBase) Animation_ValueForProgress added in v0.18.0

func (p *AnimationDelegateBase) Animation_ValueForProgress(animation Animation, progress AnimationProgress) float32

func (*AnimationDelegateBase) ImplementsAnimationDidEnd added in v0.18.0

func (p *AnimationDelegateBase) ImplementsAnimationDidEnd() bool

func (*AnimationDelegateBase) ImplementsAnimationDidStop added in v0.18.0

func (p *AnimationDelegateBase) ImplementsAnimationDidStop() bool

func (*AnimationDelegateBase) ImplementsAnimationShouldStart added in v0.18.0

func (p *AnimationDelegateBase) ImplementsAnimationShouldStart() bool

func (*AnimationDelegateBase) ImplementsAnimation_DidReachProgressMark added in v0.18.0

func (p *AnimationDelegateBase) ImplementsAnimation_DidReachProgressMark() bool

func (*AnimationDelegateBase) ImplementsAnimation_ValueForProgress added in v0.18.0

func (p *AnimationDelegateBase) ImplementsAnimation_ValueForProgress() bool

type AnimationDelegateCreator added in v0.19.0

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

func NewAnimationDelegateCreator added in v0.19.0

func NewAnimationDelegateCreator(name string) *AnimationDelegateCreator

func (*AnimationDelegateCreator) Create added in v0.19.0

func (*AnimationDelegateCreator) SetAnimationDidEnd added in v0.19.0

func (c *AnimationDelegateCreator) SetAnimationDidEnd(handle func(o objc.ProtocolBase, animation Animation))

func (*AnimationDelegateCreator) SetAnimationDidStop added in v0.19.0

func (c *AnimationDelegateCreator) SetAnimationDidStop(handle func(o objc.ProtocolBase, animation Animation))

func (*AnimationDelegateCreator) SetAnimationShouldStart added in v0.19.0

func (c *AnimationDelegateCreator) SetAnimationShouldStart(handle func(o objc.ProtocolBase, animation Animation) bool)

func (*AnimationDelegateCreator) SetAnimation_DidReachProgressMark added in v0.19.0

func (c *AnimationDelegateCreator) SetAnimation_DidReachProgressMark(handle func(o objc.ProtocolBase, animation Animation, progress AnimationProgress))

func (*AnimationDelegateCreator) SetAnimation_ValueForProgress added in v0.19.0

func (c *AnimationDelegateCreator) SetAnimation_ValueForProgress(handle func(o objc.ProtocolBase, animation Animation, progress AnimationProgress) float32)

type AnimationProgress

type AnimationProgress float32

type Appearance

type Appearance struct {
	objc.Object
}

func MakeAppearance

func MakeAppearance(ptr unsafe.Pointer) Appearance

func NewAppearance

func NewAppearance() Appearance

func (Appearance) AllowsVibrancy

func (a_ Appearance) AllowsVibrancy() bool

func (Appearance) BestMatchFromAppearancesWithNames

func (a_ Appearance) BestMatchFromAppearancesWithNames(appearances []AppearanceName) AppearanceName

func (Appearance) Init added in v0.11.0

func (a_ Appearance) Init() Appearance

func (Appearance) InitWithAppearanceNamed_Bundle added in v0.11.0

func (a_ Appearance) InitWithAppearanceNamed_Bundle(name AppearanceName, bundle foundation.IBundle) Appearance

func (Appearance) Name

func (a_ Appearance) Name() AppearanceName

func (Appearance) PerformAsCurrentDrawingAppearance added in v0.13.3

func (a_ Appearance) PerformAsCurrentDrawingAppearance(block func())

type AppearanceCustomization added in v0.13.6

type AppearanceCustomization interface {
	ImplementsSetAppearance() bool
	// optional
	SetAppearance(value Appearance)
	ImplementsAppearance() bool
	// optional
	Appearance() IAppearance
	ImplementsEffectiveAppearance() bool
	// optional
	EffectiveAppearance() IAppearance
}

type AppearanceCustomizationBase added in v0.13.6

type AppearanceCustomizationBase struct {
}

func (*AppearanceCustomizationBase) Appearance added in v0.13.6

func (p *AppearanceCustomizationBase) Appearance() IAppearance

func (*AppearanceCustomizationBase) EffectiveAppearance added in v0.13.6

func (p *AppearanceCustomizationBase) EffectiveAppearance() IAppearance

func (*AppearanceCustomizationBase) ImplementsAppearance added in v0.13.6

func (p *AppearanceCustomizationBase) ImplementsAppearance() bool

func (*AppearanceCustomizationBase) ImplementsEffectiveAppearance added in v0.13.6

func (p *AppearanceCustomizationBase) ImplementsEffectiveAppearance() bool

func (*AppearanceCustomizationBase) ImplementsSetAppearance added in v0.13.6

func (p *AppearanceCustomizationBase) ImplementsSetAppearance() bool

func (*AppearanceCustomizationBase) SetAppearance added in v0.13.6

func (p *AppearanceCustomizationBase) SetAppearance(value Appearance)

type AppearanceName

type AppearanceName string
const AppearanceNameAccessibilityHighContrastAqua AppearanceName = "NSAppearanceNameAccessibilityAqua"
const AppearanceNameAccessibilityHighContrastDarkAqua AppearanceName = "NSAppearanceNameAccessibilityDarkAqua"
const AppearanceNameAccessibilityHighContrastVibrantDark AppearanceName = "NSAppearanceNameAccessibilityVibrantDark"
const AppearanceNameAccessibilityHighContrastVibrantLight AppearanceName = "NSAppearanceNameAccessibilityVibrantLight"
const AppearanceNameAqua AppearanceName = "NSAppearanceNameAqua"
const AppearanceNameDarkAqua AppearanceName = "NSAppearanceNameDarkAqua"
const AppearanceNameVibrantDark AppearanceName = "NSAppearanceNameVibrantDark"
const AppearanceNameVibrantLight AppearanceName = "NSAppearanceNameVibrantLight"

type Application

type Application struct {
	Responder
}

func MakeApplication

func MakeApplication(ptr unsafe.Pointer) Application

func NewApplication

func NewApplication() Application

func (Application) AbortModal

func (a_ Application) AbortModal()

func (Application) ActivateContextHelpMode

func (a_ Application) ActivateContextHelpMode(sender objc.IObject)

func (Application) ActivateIgnoringOtherApps

func (a_ Application) ActivateIgnoringOtherApps(flag bool)

func (Application) ActivationPolicy

func (a_ Application) ActivationPolicy() ApplicationActivationPolicy

func (Application) AddWindowsItem_Title_Filename

func (a_ Application) AddWindowsItem_Title_Filename(win IWindow, string_ string, isFilename bool)

func (Application) Appearance

func (a_ Application) Appearance() Appearance

func (Application) ApplicationIconImage

func (a_ Application) ApplicationIconImage() Image

func (Application) Application_DelegateHandlesKey added in v0.14.5

func (a_ Application) Application_DelegateHandlesKey(sender IApplication, key string) bool

deprecated

func (Application) Application_PrintFiles added in v0.14.5

func (a_ Application) Application_PrintFiles(sender IApplication, filenames []string)

deprecated

func (Application) ArrangeInFront

func (a_ Application) ArrangeInFront(sender objc.IObject)

func (Application) BeginModalSessionForWindow

func (a_ Application) BeginModalSessionForWindow(window IWindow) ModalSession

func (Application) BeginModalSessionForWindow_RelativeToWindow added in v0.14.5

func (a_ Application) BeginModalSessionForWindow_RelativeToWindow(window IWindow, docWindow IWindow) ModalSession

deprecated

func (Application) BeginSheet_ModalForWindow_ModalDelegate_DidEndSelector_ContextInfo added in v0.14.5

func (a_ Application) BeginSheet_ModalForWindow_ModalDelegate_DidEndSelector_ContextInfo(sheet IWindow, docWindow IWindow, modalDelegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)

deprecated

func (Application) CancelUserAttentionRequest

func (a_ Application) CancelUserAttentionRequest(request int)

func (Application) ChangeWindowsItem_Title_Filename

func (a_ Application) ChangeWindowsItem_Title_Filename(win IWindow, string_ string, isFilename bool)

func (Application) CompleteStateRestoration

func (a_ Application) CompleteStateRestoration()

func (Application) Context added in v0.14.5

func (a_ Application) Context() GraphicsContext

deprecated

func (Application) CurrentEvent

func (a_ Application) CurrentEvent() Event

func (Application) CurrentSystemPresentationOptions

func (a_ Application) CurrentSystemPresentationOptions() ApplicationPresentationOptions

func (Application) Deactivate

func (a_ Application) Deactivate()

func (Application) Delegate

func (a_ Application) Delegate() objc.Object

weak property

func (Application) DisableRelaunchOnLogin

func (a_ Application) DisableRelaunchOnLogin()

func (Application) DiscardEventsMatchingMask_BeforeEvent added in v0.13.6

func (a_ Application) DiscardEventsMatchingMask_BeforeEvent(mask EventMask, lastEvent IEvent)

func (Application) DockTile

func (a_ Application) DockTile() DockTile

func (Application) EffectiveAppearance

func (a_ Application) EffectiveAppearance() Appearance

func (Application) EnableRelaunchOnLogin

func (a_ Application) EnableRelaunchOnLogin()

func (Application) EnabledRemoteNotificationTypes

func (a_ Application) EnabledRemoteNotificationTypes() RemoteNotificationType

func (Application) EndModalSession

func (a_ Application) EndModalSession(session ModalSession)

func (Application) EndSheet added in v0.14.5

func (a_ Application) EndSheet(sheet IWindow)

deprecated

func (Application) EndSheet_ReturnCode added in v0.14.5

func (a_ Application) EndSheet_ReturnCode(sheet IWindow, returnCode int)

deprecated

func (Application) EnumerateWindowsWithOptions_UsingBlock added in v0.13.4

func (a_ Application) EnumerateWindowsWithOptions_UsingBlock(options WindowListOptions, block func(window Window, stop *bool))

func (Application) ExtendStateRestoration

func (a_ Application) ExtendStateRestoration()

func (Application) FinishLaunching

func (a_ Application) FinishLaunching()

func (Application) HelpMenu

func (a_ Application) HelpMenu() Menu

func (Application) Hide

func (a_ Application) Hide(sender objc.IObject)

func (Application) HideOtherApplications

func (a_ Application) HideOtherApplications(sender objc.IObject)

func (Application) Init added in v0.11.0

func (a_ Application) Init() Application

func (Application) IsActive

func (a_ Application) IsActive() bool

func (Application) IsAutomaticCustomizeTouchBarMenuItemEnabled

func (a_ Application) IsAutomaticCustomizeTouchBarMenuItemEnabled() bool

func (Application) IsFullKeyboardAccessEnabled

func (a_ Application) IsFullKeyboardAccessEnabled() bool

func (Application) IsHidden

func (a_ Application) IsHidden() bool

func (Application) IsProtectedDataAvailable added in v0.12.0

func (a_ Application) IsProtectedDataAvailable() bool

func (Application) IsRegisteredForRemoteNotifications

func (a_ Application) IsRegisteredForRemoteNotifications() bool

func (Application) IsRunning

func (a_ Application) IsRunning() bool

func (Application) KeyWindow

func (a_ Application) KeyWindow() Window

weak property

func (Application) MainMenu

func (a_ Application) MainMenu() Menu

func (Application) MainWindow

func (a_ Application) MainWindow() Window

weak property

func (Application) MakeWindowsPerform_InOrder added in v0.14.5

func (a_ Application) MakeWindowsPerform_InOrder(selector objc.Selector, flag bool) Window

deprecated

func (Application) MiniaturizeAll

func (a_ Application) MiniaturizeAll(sender objc.IObject)

func (Application) ModalWindow

func (a_ Application) ModalWindow() Window

func (Application) NextEventMatchingMask_UntilDate_InMode_Dequeue added in v0.13.6

func (a_ Application) NextEventMatchingMask_UntilDate_InMode_Dequeue(mask EventMask, expiration foundation.IDate, mode foundation.RunLoopMode, deqFlag bool) Event

func (Application) OcclusionState

func (a_ Application) OcclusionState() ApplicationOcclusionState

func (Application) OrderFrontCharacterPalette

func (a_ Application) OrderFrontCharacterPalette(sender objc.IObject)

func (Application) OrderFrontColorPanel

func (a_ Application) OrderFrontColorPanel(sender objc.IObject)

func (Application) OrderFrontStandardAboutPanel

func (a_ Application) OrderFrontStandardAboutPanel(sender objc.IObject)

func (Application) OrderFrontStandardAboutPanelWithOptions

func (a_ Application) OrderFrontStandardAboutPanelWithOptions(optionsDictionary map[AboutPanelOptionKey]objc.IObject)

func (Application) OrderedDocuments

func (a_ Application) OrderedDocuments() []Document

func (Application) OrderedWindows

func (a_ Application) OrderedWindows() []Window

func (Application) PostEvent_AtStart

func (a_ Application) PostEvent_AtStart(event IEvent, flag bool)

func (Application) PresentationOptions

func (a_ Application) PresentationOptions() ApplicationPresentationOptions

func (Application) PreventWindowOrdering

func (a_ Application) PreventWindowOrdering()

func (Application) RegisterForRemoteNotificationTypes

func (a_ Application) RegisterForRemoteNotificationTypes(types RemoteNotificationType)

func (Application) RegisterForRemoteNotifications

func (a_ Application) RegisterForRemoteNotifications()

func (Application) RegisterServicesMenuSendTypes_ReturnTypes

func (a_ Application) RegisterServicesMenuSendTypes_ReturnTypes(sendTypes []PasteboardType, returnTypes []PasteboardType)

func (Application) RegisterUserInterfaceItemSearchHandler

func (a_ Application) RegisterUserInterfaceItemSearchHandler(handler objc.IObject)

func (Application) RemoveWindowsItem

func (a_ Application) RemoveWindowsItem(win IWindow)

func (Application) ReplyToApplicationShouldTerminate

func (a_ Application) ReplyToApplicationShouldTerminate(shouldTerminate bool)

func (Application) ReplyToOpenOrPrint

func (a_ Application) ReplyToOpenOrPrint(reply ApplicationDelegateReply)

func (Application) ReportException

func (a_ Application) ReportException(exception foundation.IException)

func (Application) RequestUserAttention

func (a_ Application) RequestUserAttention(requestType RequestUserAttentionType) int

func (Application) RestoreWindowWithIdentifier_State_CompletionHandler added in v0.13.3

func (a_ Application) RestoreWindowWithIdentifier_State_CompletionHandler(identifier UserInterfaceItemIdentifier, state foundation.ICoder, completionHandler func(param1 Window, param2 foundation.Error)) bool

func (Application) Run

func (a_ Application) Run()

func (Application) RunModalForWindow

func (a_ Application) RunModalForWindow(window IWindow) ModalResponse

func (Application) RunModalForWindow_RelativeToWindow added in v0.14.5

func (a_ Application) RunModalForWindow_RelativeToWindow(window IWindow, docWindow IWindow) int

deprecated

func (Application) RunModalSession

func (a_ Application) RunModalSession(session ModalSession) ModalResponse

func (Application) RunPageLayout

func (a_ Application) RunPageLayout(sender objc.IObject)

func (Application) SearchString_InUserInterfaceItemString_SearchRange_FoundRange added in v0.13.3

func (a_ Application) SearchString_InUserInterfaceItemString_SearchRange_FoundRange(searchString string, stringToSearch string, searchRange foundation.Range, foundRange *foundation.Range) bool

func (Application) SendAction_To_From

func (a_ Application) SendAction_To_From(action objc.Selector, target objc.IObject, sender objc.IObject) bool

func (Application) SendEvent

func (a_ Application) SendEvent(event IEvent)

func (Application) ServicesMenu

func (a_ Application) ServicesMenu() Menu

func (Application) ServicesProvider

func (a_ Application) ServicesProvider() objc.Object

func (Application) SetActivationPolicy

func (a_ Application) SetActivationPolicy(activationPolicy ApplicationActivationPolicy) bool

func (Application) SetAppearance

func (a_ Application) SetAppearance(value IAppearance)

func (Application) SetApplicationIconImage

func (a_ Application) SetApplicationIconImage(value IImage)

func (Application) SetAutomaticCustomizeTouchBarMenuItemEnabled

func (a_ Application) SetAutomaticCustomizeTouchBarMenuItemEnabled(value bool)

func (Application) SetDelegate

func (a_ Application) SetDelegate(value objc.IObject)

weak property

func (Application) SetHelpMenu

func (a_ Application) SetHelpMenu(value IMenu)

func (Application) SetMainMenu

func (a_ Application) SetMainMenu(value IMenu)

func (Application) SetPresentationOptions

func (a_ Application) SetPresentationOptions(value ApplicationPresentationOptions)

func (Application) SetServicesMenu

func (a_ Application) SetServicesMenu(value IMenu)

func (Application) SetServicesProvider

func (a_ Application) SetServicesProvider(value objc.IObject)

func (Application) SetWindowsMenu

func (a_ Application) SetWindowsMenu(value IMenu)

func (Application) SetWindowsNeedUpdate

func (a_ Application) SetWindowsNeedUpdate(needUpdate bool)

func (Application) ShowHelp

func (a_ Application) ShowHelp(sender objc.IObject)

func (Application) Stop

func (a_ Application) Stop(sender objc.IObject)

func (Application) StopModal

func (a_ Application) StopModal()

func (Application) StopModalWithCode

func (a_ Application) StopModalWithCode(returnCode ModalResponse)

func (Application) TargetForAction

func (a_ Application) TargetForAction(action objc.Selector) objc.Object

func (Application) TargetForAction_To_From

func (a_ Application) TargetForAction_To_From(action objc.Selector, target objc.IObject, sender objc.IObject) objc.Object

func (Application) Terminate

func (a_ Application) Terminate(sender objc.IObject)

func (Application) ToggleTouchBarCustomizationPalette

func (a_ Application) ToggleTouchBarCustomizationPalette(sender objc.IObject)

func (Application) Unhide

func (a_ Application) Unhide(sender objc.IObject)

func (Application) UnhideAllApplications

func (a_ Application) UnhideAllApplications(sender objc.IObject)

func (Application) UnhideWithoutActivation

func (a_ Application) UnhideWithoutActivation()

func (Application) UnregisterForRemoteNotifications

func (a_ Application) UnregisterForRemoteNotifications()

func (Application) UnregisterUserInterfaceItemSearchHandler

func (a_ Application) UnregisterUserInterfaceItemSearchHandler(handler objc.IObject)

func (Application) UpdateWindows

func (a_ Application) UpdateWindows()

func (Application) UpdateWindowsItem

func (a_ Application) UpdateWindowsItem(win IWindow)

func (Application) UserInterfaceLayoutDirection

func (a_ Application) UserInterfaceLayoutDirection() UserInterfaceLayoutDirection

func (Application) WindowWithWindowNumber

func (a_ Application) WindowWithWindowNumber(windowNum int) Window

func (Application) Windows

func (a_ Application) Windows() []Window

func (Application) WindowsMenu

func (a_ Application) WindowsMenu() Menu

type ApplicationActivationOptions added in v0.9.4

type ApplicationActivationOptions uint
const ApplicationActivateAllWindows ApplicationActivationOptions = 1
const ApplicationActivateIgnoringOtherApps ApplicationActivationOptions = 2

type ApplicationActivationPolicy

type ApplicationActivationPolicy int
const ApplicationActivationPolicyAccessory ApplicationActivationPolicy = 1
const ApplicationActivationPolicyProhibited ApplicationActivationPolicy = 2
const ApplicationActivationPolicyRegular ApplicationActivationPolicy = 0

type ApplicationDelegate

type ApplicationDelegate interface {
	ImplementsApplicationWillFinishLaunching() bool
	// optional
	ApplicationWillFinishLaunching(notification foundation.Notification)
	ImplementsApplicationDidFinishLaunching() bool
	// optional
	ApplicationDidFinishLaunching(notification foundation.Notification)
	ImplementsApplicationWillBecomeActive() bool
	// optional
	ApplicationWillBecomeActive(notification foundation.Notification)
	ImplementsApplicationDidBecomeActive() bool
	// optional
	ApplicationDidBecomeActive(notification foundation.Notification)
	ImplementsApplicationWillResignActive() bool
	// optional
	ApplicationWillResignActive(notification foundation.Notification)
	ImplementsApplicationDidResignActive() bool
	// optional
	ApplicationDidResignActive(notification foundation.Notification)
	ImplementsApplicationShouldTerminate() bool
	// optional
	ApplicationShouldTerminate(sender Application) ApplicationTerminateReply
	ImplementsApplicationShouldTerminateAfterLastWindowClosed() bool
	// optional
	ApplicationShouldTerminateAfterLastWindowClosed(sender Application) bool
	ImplementsApplicationWillTerminate() bool
	// optional
	ApplicationWillTerminate(notification foundation.Notification)
	ImplementsApplicationWillHide() bool
	// optional
	ApplicationWillHide(notification foundation.Notification)
	ImplementsApplicationDidHide() bool
	// optional
	ApplicationDidHide(notification foundation.Notification)
	ImplementsApplicationWillUnhide() bool
	// optional
	ApplicationWillUnhide(notification foundation.Notification)
	ImplementsApplicationDidUnhide() bool
	// optional
	ApplicationDidUnhide(notification foundation.Notification)
	ImplementsApplicationWillUpdate() bool
	// optional
	ApplicationWillUpdate(notification foundation.Notification)
	ImplementsApplicationDidUpdate() bool
	// optional
	ApplicationDidUpdate(notification foundation.Notification)
	ImplementsApplicationShouldHandleReopen_HasVisibleWindows() bool
	// optional
	ApplicationShouldHandleReopen_HasVisibleWindows(sender Application, flag bool) bool
	ImplementsApplicationDockMenu() bool
	// optional
	ApplicationDockMenu(sender Application) IMenu
	ImplementsApplicationShouldAutomaticallyLocalizeKeyEquivalents() bool
	// optional
	ApplicationShouldAutomaticallyLocalizeKeyEquivalents(application Application) bool
	ImplementsApplication_WillPresentError() bool
	// optional
	Application_WillPresentError(application Application, error foundation.Error) foundation.IError
	ImplementsApplicationDidChangeScreenParameters() bool
	// optional
	ApplicationDidChangeScreenParameters(notification foundation.Notification)
	ImplementsApplication_WillContinueUserActivityWithType() bool
	// optional
	Application_WillContinueUserActivityWithType(application Application, userActivityType string) bool
	ImplementsApplication_DidFailToContinueUserActivityWithType_Error() bool
	// optional
	Application_DidFailToContinueUserActivityWithType_Error(application Application, userActivityType string, error foundation.Error)
	ImplementsApplication_DidUpdateUserActivity() bool
	// optional
	Application_DidUpdateUserActivity(application Application, userActivity foundation.UserActivity)
	ImplementsApplication_DidRegisterForRemoteNotificationsWithDeviceToken() bool
	// optional
	Application_DidRegisterForRemoteNotificationsWithDeviceToken(application Application, deviceToken []byte)
	ImplementsApplication_DidFailToRegisterForRemoteNotificationsWithError() bool
	// optional
	Application_DidFailToRegisterForRemoteNotificationsWithError(application Application, error foundation.Error)
	ImplementsApplication_DidReceiveRemoteNotification() bool
	// optional
	Application_DidReceiveRemoteNotification(application Application, userInfo map[string]objc.Object)
	ImplementsApplication_OpenURLs() bool
	// optional
	Application_OpenURLs(application Application, urls []foundation.URL)
	ImplementsApplication_OpenFile() bool
	// optional
	Application_OpenFile(sender Application, filename string) bool
	ImplementsApplication_OpenFileWithoutUI() bool
	// optional
	Application_OpenFileWithoutUI(sender objc.Object, filename string) bool
	ImplementsApplication_OpenTempFile() bool
	// optional
	Application_OpenTempFile(sender Application, filename string) bool
	ImplementsApplication_OpenFiles() bool
	// optional
	Application_OpenFiles(sender Application, filenames []string)
	ImplementsApplicationShouldOpenUntitledFile() bool
	// optional
	ApplicationShouldOpenUntitledFile(sender Application) bool
	ImplementsApplicationOpenUntitledFile() bool
	// optional
	ApplicationOpenUntitledFile(sender Application) bool
	ImplementsApplication_PrintFile() bool
	// optional
	Application_PrintFile(sender Application, filename string) bool
	ImplementsApplication_PrintFiles_WithSettings_ShowPrintPanels() bool
	// optional
	Application_PrintFiles_WithSettings_ShowPrintPanels(application Application, fileNames []string, printSettings map[PrintInfoAttributeKey]objc.Object, showPrintPanels bool) ApplicationPrintReply
	ImplementsApplicationSupportsSecureRestorableState() bool
	// optional
	ApplicationSupportsSecureRestorableState(app Application) bool
	ImplementsApplicationProtectedDataDidBecomeAvailable() bool
	// optional
	ApplicationProtectedDataDidBecomeAvailable(notification foundation.Notification)
	ImplementsApplicationProtectedDataWillBecomeUnavailable() bool
	// optional
	ApplicationProtectedDataWillBecomeUnavailable(notification foundation.Notification)
	ImplementsApplication_WillEncodeRestorableState() bool
	// optional
	Application_WillEncodeRestorableState(app Application, coder foundation.Coder)
	ImplementsApplication_DidDecodeRestorableState() bool
	// optional
	Application_DidDecodeRestorableState(app Application, coder foundation.Coder)
	ImplementsApplicationDidChangeOcclusionState() bool
	// optional
	ApplicationDidChangeOcclusionState(notification foundation.Notification)
	ImplementsApplication_DelegateHandlesKey() bool
	// optional
	Application_DelegateHandlesKey(sender Application, key string) bool
}

type ApplicationDelegateBase added in v0.18.0

type ApplicationDelegateBase struct {
}

func (*ApplicationDelegateBase) ApplicationDidBecomeActive added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationDidBecomeActive(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationDidChangeOcclusionState added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationDidChangeOcclusionState(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationDidChangeScreenParameters added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationDidChangeScreenParameters(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationDidFinishLaunching added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationDidFinishLaunching(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationDidHide added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationDidHide(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationDidResignActive added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationDidResignActive(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationDidUnhide added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationDidUnhide(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationDidUpdate added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationDidUpdate(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationDockMenu added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationDockMenu(sender Application) IMenu

func (*ApplicationDelegateBase) ApplicationOpenUntitledFile added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationOpenUntitledFile(sender Application) bool

func (*ApplicationDelegateBase) ApplicationProtectedDataDidBecomeAvailable added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationProtectedDataDidBecomeAvailable(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationProtectedDataWillBecomeUnavailable added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationProtectedDataWillBecomeUnavailable(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationShouldAutomaticallyLocalizeKeyEquivalents added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationShouldAutomaticallyLocalizeKeyEquivalents(application Application) bool

func (*ApplicationDelegateBase) ApplicationShouldHandleReopen_HasVisibleWindows added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationShouldHandleReopen_HasVisibleWindows(sender Application, flag bool) bool

func (*ApplicationDelegateBase) ApplicationShouldOpenUntitledFile added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationShouldOpenUntitledFile(sender Application) bool

func (*ApplicationDelegateBase) ApplicationShouldTerminate added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationShouldTerminate(sender Application) ApplicationTerminateReply

func (*ApplicationDelegateBase) ApplicationShouldTerminateAfterLastWindowClosed added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationShouldTerminateAfterLastWindowClosed(sender Application) bool

func (*ApplicationDelegateBase) ApplicationSupportsSecureRestorableState added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationSupportsSecureRestorableState(app Application) bool

func (*ApplicationDelegateBase) ApplicationWillBecomeActive added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationWillBecomeActive(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationWillFinishLaunching added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationWillFinishLaunching(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationWillHide added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationWillHide(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationWillResignActive added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationWillResignActive(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationWillTerminate added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationWillTerminate(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationWillUnhide added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationWillUnhide(notification foundation.Notification)

func (*ApplicationDelegateBase) ApplicationWillUpdate added in v0.18.0

func (p *ApplicationDelegateBase) ApplicationWillUpdate(notification foundation.Notification)

func (*ApplicationDelegateBase) Application_DelegateHandlesKey added in v0.18.0

func (p *ApplicationDelegateBase) Application_DelegateHandlesKey(sender Application, key string) bool

func (*ApplicationDelegateBase) Application_DidDecodeRestorableState added in v0.18.0

func (p *ApplicationDelegateBase) Application_DidDecodeRestorableState(app Application, coder foundation.Coder)

func (*ApplicationDelegateBase) Application_DidFailToContinueUserActivityWithType_Error added in v0.18.0

func (p *ApplicationDelegateBase) Application_DidFailToContinueUserActivityWithType_Error(application Application, userActivityType string, error foundation.Error)

func (*ApplicationDelegateBase) Application_DidFailToRegisterForRemoteNotificationsWithError added in v0.18.0

func (p *ApplicationDelegateBase) Application_DidFailToRegisterForRemoteNotificationsWithError(application Application, error foundation.Error)

func (*ApplicationDelegateBase) Application_DidReceiveRemoteNotification added in v0.18.0

func (p *ApplicationDelegateBase) Application_DidReceiveRemoteNotification(application Application, userInfo map[string]objc.Object)

func (*ApplicationDelegateBase) Application_DidRegisterForRemoteNotificationsWithDeviceToken added in v0.18.0

func (p *ApplicationDelegateBase) Application_DidRegisterForRemoteNotificationsWithDeviceToken(application Application, deviceToken []byte)

func (*ApplicationDelegateBase) Application_DidUpdateUserActivity added in v0.18.0

func (p *ApplicationDelegateBase) Application_DidUpdateUserActivity(application Application, userActivity foundation.UserActivity)

func (*ApplicationDelegateBase) Application_OpenFile added in v0.18.0

func (p *ApplicationDelegateBase) Application_OpenFile(sender Application, filename string) bool

func (*ApplicationDelegateBase) Application_OpenFileWithoutUI added in v0.18.0

func (p *ApplicationDelegateBase) Application_OpenFileWithoutUI(sender objc.Object, filename string) bool

func (*ApplicationDelegateBase) Application_OpenFiles added in v0.18.0

func (p *ApplicationDelegateBase) Application_OpenFiles(sender Application, filenames []string)

func (*ApplicationDelegateBase) Application_OpenTempFile added in v0.18.0

func (p *ApplicationDelegateBase) Application_OpenTempFile(sender Application, filename string) bool

func (*ApplicationDelegateBase) Application_OpenURLs added in v0.18.0

func (p *ApplicationDelegateBase) Application_OpenURLs(application Application, urls []foundation.URL)

func (*ApplicationDelegateBase) Application_PrintFile added in v0.18.0

func (p *ApplicationDelegateBase) Application_PrintFile(sender Application, filename string) bool

func (*ApplicationDelegateBase) Application_PrintFiles_WithSettings_ShowPrintPanels added in v0.18.0

func (p *ApplicationDelegateBase) Application_PrintFiles_WithSettings_ShowPrintPanels(application Application, fileNames []string, printSettings map[PrintInfoAttributeKey]objc.Object, showPrintPanels bool) ApplicationPrintReply

func (*ApplicationDelegateBase) Application_WillContinueUserActivityWithType added in v0.18.0

func (p *ApplicationDelegateBase) Application_WillContinueUserActivityWithType(application Application, userActivityType string) bool

func (*ApplicationDelegateBase) Application_WillEncodeRestorableState added in v0.18.0

func (p *ApplicationDelegateBase) Application_WillEncodeRestorableState(app Application, coder foundation.Coder)

func (*ApplicationDelegateBase) Application_WillPresentError added in v0.18.0

func (p *ApplicationDelegateBase) Application_WillPresentError(application Application, error foundation.Error) foundation.IError

func (*ApplicationDelegateBase) ImplementsApplicationDidBecomeActive added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationDidBecomeActive() bool

func (*ApplicationDelegateBase) ImplementsApplicationDidChangeOcclusionState added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationDidChangeOcclusionState() bool

func (*ApplicationDelegateBase) ImplementsApplicationDidChangeScreenParameters added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationDidChangeScreenParameters() bool

func (*ApplicationDelegateBase) ImplementsApplicationDidFinishLaunching added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationDidFinishLaunching() bool

func (*ApplicationDelegateBase) ImplementsApplicationDidHide added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationDidHide() bool

func (*ApplicationDelegateBase) ImplementsApplicationDidResignActive added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationDidResignActive() bool

func (*ApplicationDelegateBase) ImplementsApplicationDidUnhide added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationDidUnhide() bool

func (*ApplicationDelegateBase) ImplementsApplicationDidUpdate added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationDidUpdate() bool

func (*ApplicationDelegateBase) ImplementsApplicationDockMenu added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationDockMenu() bool

func (*ApplicationDelegateBase) ImplementsApplicationOpenUntitledFile added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationOpenUntitledFile() bool

func (*ApplicationDelegateBase) ImplementsApplicationProtectedDataDidBecomeAvailable added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationProtectedDataDidBecomeAvailable() bool

func (*ApplicationDelegateBase) ImplementsApplicationProtectedDataWillBecomeUnavailable added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationProtectedDataWillBecomeUnavailable() bool

func (*ApplicationDelegateBase) ImplementsApplicationShouldAutomaticallyLocalizeKeyEquivalents added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationShouldAutomaticallyLocalizeKeyEquivalents() bool

func (*ApplicationDelegateBase) ImplementsApplicationShouldHandleReopen_HasVisibleWindows added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationShouldHandleReopen_HasVisibleWindows() bool

func (*ApplicationDelegateBase) ImplementsApplicationShouldOpenUntitledFile added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationShouldOpenUntitledFile() bool

func (*ApplicationDelegateBase) ImplementsApplicationShouldTerminate added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationShouldTerminate() bool

func (*ApplicationDelegateBase) ImplementsApplicationShouldTerminateAfterLastWindowClosed added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationShouldTerminateAfterLastWindowClosed() bool

func (*ApplicationDelegateBase) ImplementsApplicationSupportsSecureRestorableState added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationSupportsSecureRestorableState() bool

func (*ApplicationDelegateBase) ImplementsApplicationWillBecomeActive added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationWillBecomeActive() bool

func (*ApplicationDelegateBase) ImplementsApplicationWillFinishLaunching added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationWillFinishLaunching() bool

func (*ApplicationDelegateBase) ImplementsApplicationWillHide added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationWillHide() bool

func (*ApplicationDelegateBase) ImplementsApplicationWillResignActive added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationWillResignActive() bool

func (*ApplicationDelegateBase) ImplementsApplicationWillTerminate added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationWillTerminate() bool

func (*ApplicationDelegateBase) ImplementsApplicationWillUnhide added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationWillUnhide() bool

func (*ApplicationDelegateBase) ImplementsApplicationWillUpdate added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplicationWillUpdate() bool

func (*ApplicationDelegateBase) ImplementsApplication_DelegateHandlesKey added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_DelegateHandlesKey() bool

func (*ApplicationDelegateBase) ImplementsApplication_DidDecodeRestorableState added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_DidDecodeRestorableState() bool

func (*ApplicationDelegateBase) ImplementsApplication_DidFailToContinueUserActivityWithType_Error added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_DidFailToContinueUserActivityWithType_Error() bool

func (*ApplicationDelegateBase) ImplementsApplication_DidFailToRegisterForRemoteNotificationsWithError added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_DidFailToRegisterForRemoteNotificationsWithError() bool

func (*ApplicationDelegateBase) ImplementsApplication_DidReceiveRemoteNotification added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_DidReceiveRemoteNotification() bool

func (*ApplicationDelegateBase) ImplementsApplication_DidRegisterForRemoteNotificationsWithDeviceToken added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_DidRegisterForRemoteNotificationsWithDeviceToken() bool

func (*ApplicationDelegateBase) ImplementsApplication_DidUpdateUserActivity added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_DidUpdateUserActivity() bool

func (*ApplicationDelegateBase) ImplementsApplication_OpenFile added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_OpenFile() bool

func (*ApplicationDelegateBase) ImplementsApplication_OpenFileWithoutUI added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_OpenFileWithoutUI() bool

func (*ApplicationDelegateBase) ImplementsApplication_OpenFiles added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_OpenFiles() bool

func (*ApplicationDelegateBase) ImplementsApplication_OpenTempFile added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_OpenTempFile() bool

func (*ApplicationDelegateBase) ImplementsApplication_OpenURLs added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_OpenURLs() bool

func (*ApplicationDelegateBase) ImplementsApplication_PrintFile added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_PrintFile() bool

func (*ApplicationDelegateBase) ImplementsApplication_PrintFiles_WithSettings_ShowPrintPanels added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_PrintFiles_WithSettings_ShowPrintPanels() bool

func (*ApplicationDelegateBase) ImplementsApplication_WillContinueUserActivityWithType added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_WillContinueUserActivityWithType() bool

func (*ApplicationDelegateBase) ImplementsApplication_WillEncodeRestorableState added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_WillEncodeRestorableState() bool

func (*ApplicationDelegateBase) ImplementsApplication_WillPresentError added in v0.18.0

func (p *ApplicationDelegateBase) ImplementsApplication_WillPresentError() bool

type ApplicationDelegateCreator added in v0.19.0

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

func NewApplicationDelegateCreator added in v0.19.0

func NewApplicationDelegateCreator(name string) *ApplicationDelegateCreator

func (*ApplicationDelegateCreator) Create added in v0.19.0

func (*ApplicationDelegateCreator) SetApplicationDidBecomeActive added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationDidBecomeActive(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationDidChangeOcclusionState added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationDidChangeOcclusionState(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationDidChangeScreenParameters added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationDidChangeScreenParameters(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationDidFinishLaunching added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationDidFinishLaunching(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationDidHide added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationDidHide(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationDidResignActive added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationDidResignActive(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationDidUnhide added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationDidUnhide(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationDidUpdate added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationDidUpdate(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationDockMenu added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationDockMenu(handle func(o objc.ProtocolBase, sender Application) IMenu)

func (*ApplicationDelegateCreator) SetApplicationOpenUntitledFile added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationOpenUntitledFile(handle func(o objc.ProtocolBase, sender Application) bool)

func (*ApplicationDelegateCreator) SetApplicationProtectedDataDidBecomeAvailable added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationProtectedDataDidBecomeAvailable(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationProtectedDataWillBecomeUnavailable added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationProtectedDataWillBecomeUnavailable(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationShouldAutomaticallyLocalizeKeyEquivalents added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationShouldAutomaticallyLocalizeKeyEquivalents(handle func(o objc.ProtocolBase, application Application) bool)

func (*ApplicationDelegateCreator) SetApplicationShouldHandleReopen_HasVisibleWindows added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationShouldHandleReopen_HasVisibleWindows(handle func(o objc.ProtocolBase, sender Application, flag bool) bool)

func (*ApplicationDelegateCreator) SetApplicationShouldOpenUntitledFile added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationShouldOpenUntitledFile(handle func(o objc.ProtocolBase, sender Application) bool)

func (*ApplicationDelegateCreator) SetApplicationShouldTerminate added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationShouldTerminate(handle func(o objc.ProtocolBase, sender Application) ApplicationTerminateReply)

func (*ApplicationDelegateCreator) SetApplicationShouldTerminateAfterLastWindowClosed added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationShouldTerminateAfterLastWindowClosed(handle func(o objc.ProtocolBase, sender Application) bool)

func (*ApplicationDelegateCreator) SetApplicationSupportsSecureRestorableState added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationSupportsSecureRestorableState(handle func(o objc.ProtocolBase, app Application) bool)

func (*ApplicationDelegateCreator) SetApplicationWillBecomeActive added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationWillBecomeActive(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationWillFinishLaunching added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationWillFinishLaunching(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationWillHide added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationWillHide(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationWillResignActive added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationWillResignActive(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationWillTerminate added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationWillTerminate(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationWillUnhide added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationWillUnhide(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplicationWillUpdate added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplicationWillUpdate(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ApplicationDelegateCreator) SetApplication_DelegateHandlesKey added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_DelegateHandlesKey(handle func(o objc.ProtocolBase, sender Application, key string) bool)

func (*ApplicationDelegateCreator) SetApplication_DidDecodeRestorableState added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_DidDecodeRestorableState(handle func(o objc.ProtocolBase, app Application, coder foundation.Coder))

func (*ApplicationDelegateCreator) SetApplication_DidFailToContinueUserActivityWithType_Error added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_DidFailToContinueUserActivityWithType_Error(handle func(o objc.ProtocolBase, application Application, userActivityType string, error foundation.Error))

func (*ApplicationDelegateCreator) SetApplication_DidFailToRegisterForRemoteNotificationsWithError added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_DidFailToRegisterForRemoteNotificationsWithError(handle func(o objc.ProtocolBase, application Application, error foundation.Error))

func (*ApplicationDelegateCreator) SetApplication_DidReceiveRemoteNotification added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_DidReceiveRemoteNotification(handle func(o objc.ProtocolBase, application Application, userInfo map[string]objc.Object))

func (*ApplicationDelegateCreator) SetApplication_DidRegisterForRemoteNotificationsWithDeviceToken added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_DidRegisterForRemoteNotificationsWithDeviceToken(handle func(o objc.ProtocolBase, application Application, deviceToken []byte))

func (*ApplicationDelegateCreator) SetApplication_DidUpdateUserActivity added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_DidUpdateUserActivity(handle func(o objc.ProtocolBase, application Application, userActivity foundation.UserActivity))

func (*ApplicationDelegateCreator) SetApplication_OpenFile added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_OpenFile(handle func(o objc.ProtocolBase, sender Application, filename string) bool)

func (*ApplicationDelegateCreator) SetApplication_OpenFileWithoutUI added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_OpenFileWithoutUI(handle func(o objc.ProtocolBase, sender objc.Object, filename string) bool)

func (*ApplicationDelegateCreator) SetApplication_OpenFiles added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_OpenFiles(handle func(o objc.ProtocolBase, sender Application, filenames []string))

func (*ApplicationDelegateCreator) SetApplication_OpenTempFile added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_OpenTempFile(handle func(o objc.ProtocolBase, sender Application, filename string) bool)

func (*ApplicationDelegateCreator) SetApplication_OpenURLs added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_OpenURLs(handle func(o objc.ProtocolBase, application Application, urls []foundation.URL))

func (*ApplicationDelegateCreator) SetApplication_PrintFile added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_PrintFile(handle func(o objc.ProtocolBase, sender Application, filename string) bool)

func (*ApplicationDelegateCreator) SetApplication_PrintFiles_WithSettings_ShowPrintPanels added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_PrintFiles_WithSettings_ShowPrintPanels(handle func(o objc.ProtocolBase, application Application, fileNames []string, printSettings map[PrintInfoAttributeKey]objc.Object, showPrintPanels bool) ApplicationPrintReply)

func (*ApplicationDelegateCreator) SetApplication_WillContinueUserActivityWithType added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_WillContinueUserActivityWithType(handle func(o objc.ProtocolBase, application Application, userActivityType string) bool)

func (*ApplicationDelegateCreator) SetApplication_WillEncodeRestorableState added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_WillEncodeRestorableState(handle func(o objc.ProtocolBase, app Application, coder foundation.Coder))

func (*ApplicationDelegateCreator) SetApplication_WillPresentError added in v0.19.0

func (c *ApplicationDelegateCreator) SetApplication_WillPresentError(handle func(o objc.ProtocolBase, application Application, error foundation.Error) foundation.IError)

type ApplicationDelegateReply

type ApplicationDelegateReply uint
const ApplicationDelegateReplyCancel ApplicationDelegateReply = 1
const ApplicationDelegateReplyFailure ApplicationDelegateReply = 2
const ApplicationDelegateReplySuccess ApplicationDelegateReply = 0

type ApplicationOcclusionState

type ApplicationOcclusionState uint
const ApplicationOcclusionStateVisible ApplicationOcclusionState = 2

type ApplicationPresentationOptions

type ApplicationPresentationOptions uint
const ApplicationPresentationAutoHideDock ApplicationPresentationOptions = 1
const ApplicationPresentationAutoHideMenuBar ApplicationPresentationOptions = 4
const ApplicationPresentationAutoHideToolbar ApplicationPresentationOptions = 2048
const ApplicationPresentationDefault ApplicationPresentationOptions = 0
const ApplicationPresentationDisableAppleMenu ApplicationPresentationOptions = 16
const ApplicationPresentationDisableCursorLocationAssistance ApplicationPresentationOptions = 4096
const ApplicationPresentationDisableForceQuit ApplicationPresentationOptions = 64
const ApplicationPresentationDisableHideApplication ApplicationPresentationOptions = 256
const ApplicationPresentationDisableMenuBarTransparency ApplicationPresentationOptions = 512
const ApplicationPresentationDisableProcessSwitching ApplicationPresentationOptions = 32
const ApplicationPresentationDisableSessionTermination ApplicationPresentationOptions = 128
const ApplicationPresentationFullScreen ApplicationPresentationOptions = 1024
const ApplicationPresentationHideDock ApplicationPresentationOptions = 2
const ApplicationPresentationHideMenuBar ApplicationPresentationOptions = 8

type ApplicationPrintReply

type ApplicationPrintReply uint
const PrintingCancelled ApplicationPrintReply = 0
const PrintingFailure ApplicationPrintReply = 3
const PrintingReplyLater ApplicationPrintReply = 2
const PrintingSuccess ApplicationPrintReply = 1

type ApplicationTerminateReply

type ApplicationTerminateReply uint
const TerminateCancel ApplicationTerminateReply = 0
const TerminateLater ApplicationTerminateReply = 2
const TerminateNow ApplicationTerminateReply = 1

type ArrayController added in v0.19.0

type ArrayController struct {
	ObjectController
}

func MakeArrayController added in v0.19.0

func MakeArrayController(ptr unsafe.Pointer) ArrayController

func NewArrayController added in v0.19.0

func NewArrayController() ArrayController

func (ArrayController) AddObjects added in v0.19.0

func (a_ ArrayController) AddObjects(objects []objc.IObject)

func (ArrayController) AddSelectedObjects added in v0.19.0

func (a_ ArrayController) AddSelectedObjects(objects []objc.IObject) bool

func (ArrayController) AddSelectionIndexes added in v0.19.0

func (a_ ArrayController) AddSelectionIndexes(indexes foundation.IIndexSet) bool

func (ArrayController) AlwaysUsesMultipleValuesMarker added in v0.19.0

func (a_ ArrayController) AlwaysUsesMultipleValuesMarker() bool

func (ArrayController) ArrangeObjects added in v0.19.0

func (a_ ArrayController) ArrangeObjects(objects []objc.IObject) []objc.Object

func (ArrayController) ArrangedObjects added in v0.19.0

func (a_ ArrayController) ArrangedObjects() objc.Object

func (ArrayController) AutomaticRearrangementKeyPaths added in v0.19.0

func (a_ ArrayController) AutomaticRearrangementKeyPaths() []string

func (ArrayController) AutomaticallyRearrangesObjects added in v0.19.0

func (a_ ArrayController) AutomaticallyRearrangesObjects() bool

func (ArrayController) AvoidsEmptySelection added in v0.19.0

func (a_ ArrayController) AvoidsEmptySelection() bool

func (ArrayController) CanInsert added in v0.19.0

func (a_ ArrayController) CanInsert() bool

func (ArrayController) CanSelectNext added in v0.19.0

func (a_ ArrayController) CanSelectNext() bool

func (ArrayController) CanSelectPrevious added in v0.19.0

func (a_ ArrayController) CanSelectPrevious() bool

func (ArrayController) ClearsFilterPredicateOnInsertion added in v0.19.0

func (a_ ArrayController) ClearsFilterPredicateOnInsertion() bool

func (ArrayController) DidChangeArrangementCriteria added in v0.19.0

func (a_ ArrayController) DidChangeArrangementCriteria()

func (ArrayController) FilterPredicate added in v0.19.0

func (a_ ArrayController) FilterPredicate() foundation.Predicate

func (ArrayController) Init added in v0.19.0

func (a_ ArrayController) Init() ArrayController

func (ArrayController) InitWithContent added in v0.19.0

func (a_ ArrayController) InitWithContent(content objc.IObject) ArrayController

func (ArrayController) Insert added in v0.19.0

func (a_ ArrayController) Insert(sender objc.IObject)

func (ArrayController) InsertObject_AtArrangedObjectIndex added in v0.19.0

func (a_ ArrayController) InsertObject_AtArrangedObjectIndex(object objc.IObject, index uint)

func (ArrayController) InsertObjects_AtArrangedObjectIndexes added in v0.19.0

func (a_ ArrayController) InsertObjects_AtArrangedObjectIndexes(objects []objc.IObject, indexes foundation.IIndexSet)

func (ArrayController) PreservesSelection added in v0.19.0

func (a_ ArrayController) PreservesSelection() bool

func (ArrayController) RearrangeObjects added in v0.19.0

func (a_ ArrayController) RearrangeObjects()

func (ArrayController) RemoveObjectAtArrangedObjectIndex added in v0.19.0

func (a_ ArrayController) RemoveObjectAtArrangedObjectIndex(index uint)

func (ArrayController) RemoveObjects added in v0.19.0

func (a_ ArrayController) RemoveObjects(objects []objc.IObject)

func (ArrayController) RemoveObjectsAtArrangedObjectIndexes added in v0.19.0

func (a_ ArrayController) RemoveObjectsAtArrangedObjectIndexes(indexes foundation.IIndexSet)

func (ArrayController) RemoveSelectedObjects added in v0.19.0

func (a_ ArrayController) RemoveSelectedObjects(objects []objc.IObject) bool

func (ArrayController) RemoveSelectionIndexes added in v0.19.0

func (a_ ArrayController) RemoveSelectionIndexes(indexes foundation.IIndexSet) bool

func (ArrayController) SelectNext added in v0.19.0

func (a_ ArrayController) SelectNext(sender objc.IObject)

func (ArrayController) SelectPrevious added in v0.19.0

func (a_ ArrayController) SelectPrevious(sender objc.IObject)

func (ArrayController) SelectionIndex added in v0.19.0

func (a_ ArrayController) SelectionIndex() uint

func (ArrayController) SelectionIndexes added in v0.19.0

func (a_ ArrayController) SelectionIndexes() foundation.IndexSet

func (ArrayController) SelectsInsertedObjects added in v0.19.0

func (a_ ArrayController) SelectsInsertedObjects() bool

func (ArrayController) SetAlwaysUsesMultipleValuesMarker added in v0.19.0

func (a_ ArrayController) SetAlwaysUsesMultipleValuesMarker(value bool)

func (ArrayController) SetAutomaticallyRearrangesObjects added in v0.19.0

func (a_ ArrayController) SetAutomaticallyRearrangesObjects(value bool)

func (ArrayController) SetAvoidsEmptySelection added in v0.19.0

func (a_ ArrayController) SetAvoidsEmptySelection(value bool)

func (ArrayController) SetClearsFilterPredicateOnInsertion added in v0.19.0

func (a_ ArrayController) SetClearsFilterPredicateOnInsertion(value bool)

func (ArrayController) SetFilterPredicate added in v0.19.0

func (a_ ArrayController) SetFilterPredicate(value foundation.IPredicate)

func (ArrayController) SetPreservesSelection added in v0.19.0

func (a_ ArrayController) SetPreservesSelection(value bool)

func (ArrayController) SetSelectedObjects added in v0.19.0

func (a_ ArrayController) SetSelectedObjects(objects []objc.IObject) bool

func (ArrayController) SetSelectionIndex added in v0.19.0

func (a_ ArrayController) SetSelectionIndex(index uint) bool

func (ArrayController) SetSelectionIndexes added in v0.19.0

func (a_ ArrayController) SetSelectionIndexes(indexes foundation.IIndexSet) bool

func (ArrayController) SetSelectsInsertedObjects added in v0.19.0

func (a_ ArrayController) SetSelectsInsertedObjects(value bool)

func (ArrayController) SetSortDescriptors added in v0.19.0

func (a_ ArrayController) SetSortDescriptors(value []foundation.ISortDescriptor)

func (ArrayController) SortDescriptors added in v0.19.0

func (a_ ArrayController) SortDescriptors() []foundation.SortDescriptor

type AutoresizingMaskOptions

type AutoresizingMaskOptions uint
const ViewHeightSizable AutoresizingMaskOptions = 16
const ViewMaxXMargin AutoresizingMaskOptions = 4
const ViewMaxYMargin AutoresizingMaskOptions = 32
const ViewMinXMargin AutoresizingMaskOptions = 1
const ViewMinYMargin AutoresizingMaskOptions = 8
const ViewNotSizable AutoresizingMaskOptions = 0
const ViewWidthSizable AutoresizingMaskOptions = 2

type BackgroundStyle

type BackgroundStyle int
const BackgroundStyleEmphasized BackgroundStyle = 1
const BackgroundStyleLowered BackgroundStyle = 3
const BackgroundStyleNormal BackgroundStyle = 0
const BackgroundStyleRaised BackgroundStyle = 2

type BackingStoreType

type BackingStoreType uint
const BackingStoreBuffered BackingStoreType = 2

type BezelStyle

type BezelStyle uint
const BezelStyleCircular BezelStyle = 7
const BezelStyleDisclosure BezelStyle = 5
const BezelStyleHelpButton BezelStyle = 9
const BezelStyleInline BezelStyle = 15
const BezelStyleRecessed BezelStyle = 13
const BezelStyleRegularSquare BezelStyle = 2
const BezelStyleRoundRect BezelStyle = 12
const BezelStyleRounded BezelStyle = 1
const BezelStyleRoundedDisclosure BezelStyle = 14
const BezelStyleShadowlessSquare BezelStyle = 6
const BezelStyleSmallSquare BezelStyle = 10
const BezelStyleTexturedRounded BezelStyle = 11
const BezelStyleTexturedSquare BezelStyle = 8

type BezierPath

type BezierPath struct {
	objc.Object
}

func MakeBezierPath

func MakeBezierPath(ptr unsafe.Pointer) BezierPath

func NewBezierPath

func NewBezierPath() BezierPath

func (BezierPath) AddClip

func (b_ BezierPath) AddClip()

func (BezierPath) AppendBezierPath

func (b_ BezierPath) AppendBezierPath(path IBezierPath)

func (BezierPath) AppendBezierPathWithArcFromPoint_ToPoint_Radius

func (b_ BezierPath) AppendBezierPathWithArcFromPoint_ToPoint_Radius(point1 foundation.Point, point2 foundation.Point, radius float64)

func (BezierPath) AppendBezierPathWithArcWithCenter_Radius_StartAngle_EndAngle

func (b_ BezierPath) AppendBezierPathWithArcWithCenter_Radius_StartAngle_EndAngle(center foundation.Point, radius float64, startAngle float64, endAngle float64)

func (BezierPath) AppendBezierPathWithArcWithCenter_Radius_StartAngle_EndAngle_Clockwise

func (b_ BezierPath) AppendBezierPathWithArcWithCenter_Radius_StartAngle_EndAngle_Clockwise(center foundation.Point, radius float64, startAngle float64, endAngle float64, clockwise bool)

func (BezierPath) AppendBezierPathWithCGGlyph_InFont added in v0.13.6

func (b_ BezierPath) AppendBezierPathWithCGGlyph_InFont(glyph coregraphics.Glyph, font IFont)

func (BezierPath) AppendBezierPathWithCGGlyphs_Count_InFont added in v0.13.6

func (b_ BezierPath) AppendBezierPathWithCGGlyphs_Count_InFont(glyphs *coregraphics.Glyph, count int, font IFont)

func (BezierPath) AppendBezierPathWithGlyph_InFont added in v0.14.5

func (b_ BezierPath) AppendBezierPathWithGlyph_InFont(glyph Glyph, font IFont)

deprecated

func (BezierPath) AppendBezierPathWithGlyphs_Count_InFont added in v0.14.5

func (b_ BezierPath) AppendBezierPathWithGlyphs_Count_InFont(glyphs *Glyph, count int, font IFont)

deprecated

func (BezierPath) AppendBezierPathWithOvalInRect

func (b_ BezierPath) AppendBezierPathWithOvalInRect(rect foundation.Rect)

func (BezierPath) AppendBezierPathWithPackedGlyphs added in v0.14.5

func (b_ BezierPath) AppendBezierPathWithPackedGlyphs(packedGlyphs *byte)

deprecated

func (BezierPath) AppendBezierPathWithPoints_Count added in v0.13.4

func (b_ BezierPath) AppendBezierPathWithPoints_Count(points *foundation.Point, count int)

func (BezierPath) AppendBezierPathWithRect

func (b_ BezierPath) AppendBezierPathWithRect(rect foundation.Rect)

func (BezierPath) AppendBezierPathWithRoundedRect_XRadius_YRadius

func (b_ BezierPath) AppendBezierPathWithRoundedRect_XRadius_YRadius(rect foundation.Rect, xRadius float64, yRadius float64)

func (BezierPath) BezierPathByFlatteningPath

func (b_ BezierPath) BezierPathByFlatteningPath() BezierPath

func (BezierPath) BezierPathByReversingPath

func (b_ BezierPath) BezierPathByReversingPath() BezierPath

func (BezierPath) Bounds

func (b_ BezierPath) Bounds() foundation.Rect

func (BezierPath) CachesBezierPath added in v0.14.5

func (b_ BezierPath) CachesBezierPath() bool

deprecated

func (BezierPath) ClosePath

func (b_ BezierPath) ClosePath()

func (BezierPath) ContainsPoint

func (b_ BezierPath) ContainsPoint(point foundation.Point) bool

func (BezierPath) ControlPointBounds

func (b_ BezierPath) ControlPointBounds() foundation.Rect

func (BezierPath) CurrentPoint

func (b_ BezierPath) CurrentPoint() foundation.Point

func (BezierPath) CurveToPoint_ControlPoint1_ControlPoint2

func (b_ BezierPath) CurveToPoint_ControlPoint1_ControlPoint2(endPoint foundation.Point, controlPoint1 foundation.Point, controlPoint2 foundation.Point)

func (BezierPath) ElementAtIndex

func (b_ BezierPath) ElementAtIndex(index int) BezierPathElement

func (BezierPath) ElementAtIndex_AssociatedPoints added in v0.13.4

func (b_ BezierPath) ElementAtIndex_AssociatedPoints(index int, points *foundation.Point) BezierPathElement

func (BezierPath) ElementCount

func (b_ BezierPath) ElementCount() int

func (BezierPath) Fill

func (b_ BezierPath) Fill()

func (BezierPath) Flatness

func (b_ BezierPath) Flatness() float64

func (BezierPath) GetLineDash_Count_Phase added in v0.13.4

func (b_ BezierPath) GetLineDash_Count_Phase(pattern *float64, count *int, phase *float64)

func (BezierPath) Init added in v0.11.0

func (b_ BezierPath) Init() BezierPath

func (BezierPath) IsEmpty

func (b_ BezierPath) IsEmpty() bool

func (BezierPath) LineCapStyle

func (b_ BezierPath) LineCapStyle() LineCapStyle

func (BezierPath) LineJoinStyle

func (b_ BezierPath) LineJoinStyle() LineJoinStyle

func (BezierPath) LineToPoint

func (b_ BezierPath) LineToPoint(point foundation.Point)

func (BezierPath) LineWidth

func (b_ BezierPath) LineWidth() float64

func (BezierPath) MiterLimit

func (b_ BezierPath) MiterLimit() float64

func (BezierPath) MoveToPoint

func (b_ BezierPath) MoveToPoint(point foundation.Point)

func (BezierPath) RelativeCurveToPoint_ControlPoint1_ControlPoint2

func (b_ BezierPath) RelativeCurveToPoint_ControlPoint1_ControlPoint2(endPoint foundation.Point, controlPoint1 foundation.Point, controlPoint2 foundation.Point)

func (BezierPath) RelativeLineToPoint

func (b_ BezierPath) RelativeLineToPoint(point foundation.Point)

func (BezierPath) RelativeMoveToPoint

func (b_ BezierPath) RelativeMoveToPoint(point foundation.Point)

func (BezierPath) RemoveAllPoints

func (b_ BezierPath) RemoveAllPoints()

func (BezierPath) SetAssociatedPoints_AtIndex added in v0.13.4

func (b_ BezierPath) SetAssociatedPoints_AtIndex(points *foundation.Point, index int)

func (BezierPath) SetCachesBezierPath added in v0.14.5

func (b_ BezierPath) SetCachesBezierPath(flag bool)

deprecated

func (BezierPath) SetClip

func (b_ BezierPath) SetClip()

func (BezierPath) SetFlatness

func (b_ BezierPath) SetFlatness(value float64)

func (BezierPath) SetLineCapStyle

func (b_ BezierPath) SetLineCapStyle(value LineCapStyle)

func (BezierPath) SetLineDash_Count_Phase added in v0.13.4

func (b_ BezierPath) SetLineDash_Count_Phase(pattern *float64, count int, phase float64)

func (BezierPath) SetLineJoinStyle

func (b_ BezierPath) SetLineJoinStyle(value LineJoinStyle)

func (BezierPath) SetLineWidth

func (b_ BezierPath) SetLineWidth(value float64)

func (BezierPath) SetMiterLimit

func (b_ BezierPath) SetMiterLimit(value float64)

func (BezierPath) SetWindingRule

func (b_ BezierPath) SetWindingRule(value WindingRule)

func (BezierPath) Stroke

func (b_ BezierPath) Stroke()

func (BezierPath) TransformUsingAffineTransform

func (b_ BezierPath) TransformUsingAffineTransform(transform foundation.IAffineTransform)

func (BezierPath) WindingRule

func (b_ BezierPath) WindingRule() WindingRule

type BezierPathElement

type BezierPathElement uint
const BezierPathElementClosePath BezierPathElement = 3
const BezierPathElementCurveTo BezierPathElement = 2
const BezierPathElementLineTo BezierPathElement = 1
const BezierPathElementMoveTo BezierPathElement = 0

type BitmapFormat

type BitmapFormat uint
const BitmapFormatAlphaFirst BitmapFormat = 1
const BitmapFormatAlphaNonpremultiplied BitmapFormat = 2
const BitmapFormatFloatingPointSamples BitmapFormat = 4
const BitmapFormatSixteenBitBigEndian BitmapFormat = 1024
const BitmapFormatSixteenBitLittleEndian BitmapFormat = 256
const BitmapFormatThirtyTwoBitBigEndian BitmapFormat = 2048
const BitmapFormatThirtyTwoBitLittleEndian BitmapFormat = 512

type BitmapImageFileType

type BitmapImageFileType uint
const BitmapImageFileTypeBMP BitmapImageFileType = 1
const BitmapImageFileTypeGIF BitmapImageFileType = 2
const BitmapImageFileTypeJPEG BitmapImageFileType = 3
const BitmapImageFileTypeJPEG2000 BitmapImageFileType = 5
const BitmapImageFileTypePNG BitmapImageFileType = 4
const BitmapImageFileTypeTIFF BitmapImageFileType = 0

type BitmapImageRep

type BitmapImageRep struct {
	ImageRep
}

func MakeBitmapImageRep

func MakeBitmapImageRep(ptr unsafe.Pointer) BitmapImageRep

func NewBitmapImageRep

func NewBitmapImageRep() BitmapImageRep

func (BitmapImageRep) BitmapData added in v0.13.6

func (b_ BitmapImageRep) BitmapData() *byte

func (BitmapImageRep) BitmapFormat

func (b_ BitmapImageRep) BitmapFormat() BitmapFormat

func (BitmapImageRep) BitmapImageRepByConvertingToColorSpace_RenderingIntent

func (b_ BitmapImageRep) BitmapImageRepByConvertingToColorSpace_RenderingIntent(targetSpace IColorSpace, renderingIntent ColorRenderingIntent) BitmapImageRep

func (BitmapImageRep) BitmapImageRepByRetaggingWithColorSpace

func (b_ BitmapImageRep) BitmapImageRepByRetaggingWithColorSpace(newSpace IColorSpace) BitmapImageRep

func (BitmapImageRep) BitsPerPixel

func (b_ BitmapImageRep) BitsPerPixel() int

func (BitmapImageRep) BytesPerPlane

func (b_ BitmapImageRep) BytesPerPlane() int

func (BitmapImageRep) BytesPerRow

func (b_ BitmapImageRep) BytesPerRow() int

func (BitmapImageRep) CGImage

func (b_ BitmapImageRep) CGImage() coregraphics.ImageRef

func (BitmapImageRep) CanBeCompressedUsing

func (b_ BitmapImageRep) CanBeCompressedUsing(compression TIFFCompression) bool

func (BitmapImageRep) ColorAtX_Y

func (b_ BitmapImageRep) ColorAtX_Y(x int, y int) Color

func (BitmapImageRep) ColorSpace

func (b_ BitmapImageRep) ColorSpace() ColorSpace

func (BitmapImageRep) ColorizeByMappingGray_ToColor_BlackMapping_WhiteMapping

func (b_ BitmapImageRep) ColorizeByMappingGray_ToColor_BlackMapping_WhiteMapping(midPoint float64, midPointColor IColor, shadowColor IColor, lightColor IColor)

func (BitmapImageRep) GetCompression_Factor added in v0.13.4

func (b_ BitmapImageRep) GetCompression_Factor(compression *TIFFCompression, factor *float32)

func (BitmapImageRep) GetPixel_AtX_Y added in v0.13.4

func (b_ BitmapImageRep) GetPixel_AtX_Y(p *uint, x int, y int)

func (BitmapImageRep) IncrementalLoadFromData_Complete

func (b_ BitmapImageRep) IncrementalLoadFromData_Complete(data []byte, complete bool) int

func (BitmapImageRep) Init added in v0.11.0

func (b_ BitmapImageRep) Init() BitmapImageRep

func (BitmapImageRep) InitForIncrementalLoad added in v0.11.0

func (b_ BitmapImageRep) InitForIncrementalLoad() BitmapImageRep

func (BitmapImageRep) InitWithCGImage added in v0.11.0

func (b_ BitmapImageRep) InitWithCGImage(cgImage coregraphics.ImageRef) BitmapImageRep

func (BitmapImageRep) InitWithData added in v0.11.0

func (b_ BitmapImageRep) InitWithData(data []byte) BitmapImageRep

func (BitmapImageRep) InitWithFocusedViewRect added in v0.14.5

func (b_ BitmapImageRep) InitWithFocusedViewRect(rect foundation.Rect) BitmapImageRep

func (BitmapImageRep) IsPlanar

func (b_ BitmapImageRep) IsPlanar() bool

func (BitmapImageRep) NumberOfPlanes

func (b_ BitmapImageRep) NumberOfPlanes() int

func (BitmapImageRep) RepresentationUsingType_Properties

func (b_ BitmapImageRep) RepresentationUsingType_Properties(storageType BitmapImageFileType, properties map[BitmapImageRepPropertyKey]objc.IObject) []byte

func (BitmapImageRep) SamplesPerPixel

func (b_ BitmapImageRep) SamplesPerPixel() int

func (BitmapImageRep) SetColor_AtX_Y

func (b_ BitmapImageRep) SetColor_AtX_Y(color IColor, x int, y int)

func (BitmapImageRep) SetCompression_Factor

func (b_ BitmapImageRep) SetCompression_Factor(compression TIFFCompression, factor float32)

func (BitmapImageRep) SetPixel_AtX_Y added in v0.13.4

func (b_ BitmapImageRep) SetPixel_AtX_Y(p *uint, x int, y int)

func (BitmapImageRep) SetProperty_WithValue

func (b_ BitmapImageRep) SetProperty_WithValue(property BitmapImageRepPropertyKey, value objc.IObject)

func (BitmapImageRep) TIFFRepresentation

func (b_ BitmapImageRep) TIFFRepresentation() []byte

func (BitmapImageRep) TIFFRepresentationUsingCompression_Factor

func (b_ BitmapImageRep) TIFFRepresentationUsingCompression_Factor(comp TIFFCompression, factor float32) []byte

func (BitmapImageRep) ValueForProperty

func (b_ BitmapImageRep) ValueForProperty(property BitmapImageRepPropertyKey) objc.Object

type BitmapImageRepPropertyKey

type BitmapImageRepPropertyKey string
const ImageColorSyncProfileData BitmapImageRepPropertyKey = "NSImageColorSyncProfileData"
const ImageCompressionFactor BitmapImageRepPropertyKey = "NSImageCompressionFactor"
const ImageCompressionMethod BitmapImageRepPropertyKey = "NSImageCompressionMethod"
const ImageCurrentFrame BitmapImageRepPropertyKey = "NSImageCurrentFrame"
const ImageCurrentFrameDuration BitmapImageRepPropertyKey = "NSImageCurrentFrameDuration"
const ImageDitherTransparency BitmapImageRepPropertyKey = "NSImageDitherTransparency"
const ImageEXIFData BitmapImageRepPropertyKey = "NSImageEXIFData"
const ImageFallbackBackgroundColor BitmapImageRepPropertyKey = "NSImageFallbackBackgroundColor"
const ImageFrameCount BitmapImageRepPropertyKey = "NSImageFrameCount"
const ImageGamma BitmapImageRepPropertyKey = "NSImageGamma"
const ImageIPTCData BitmapImageRepPropertyKey = "NSImageIPTCData"
const ImageInterlaced BitmapImageRepPropertyKey = "NSImageInterlaced"
const ImageLoopCount BitmapImageRepPropertyKey = "NSImageLoopCount"
const ImageProgressive BitmapImageRepPropertyKey = "NSImageProgressive"
const ImageRGBColorTable BitmapImageRepPropertyKey = "NSImageRGBColorTable"

type BorderType

type BorderType uint
const BezelBorder BorderType = 2
const GrooveBorder BorderType = 3
const LineBorder BorderType = 1
const NoBorder BorderType = 0

type Box

type Box struct {
	View
}

func MakeBox

func MakeBox(ptr unsafe.Pointer) Box

func NewBox

func NewBox() Box

func (Box) BorderColor

func (b_ Box) BorderColor() Color

func (Box) BorderRect

func (b_ Box) BorderRect() foundation.Rect

func (Box) BorderType added in v0.14.5

func (b_ Box) BorderType() BorderType

deprecated

func (Box) BorderWidth

func (b_ Box) BorderWidth() float64

func (Box) BoxType

func (b_ Box) BoxType() BoxType

func (Box) ContentView

func (b_ Box) ContentView() View

func (Box) ContentViewMargins

func (b_ Box) ContentViewMargins() foundation.Size

func (Box) CornerRadius

func (b_ Box) CornerRadius() float64

func (Box) FillColor

func (b_ Box) FillColor() Color

func (Box) Init added in v0.11.0

func (b_ Box) Init() Box

func (Box) InitWithFrame added in v0.11.0

func (b_ Box) InitWithFrame(frameRect foundation.Rect) Box

func (Box) IsTransparent

func (b_ Box) IsTransparent() bool

func (Box) SetBorderColor

func (b_ Box) SetBorderColor(value IColor)

func (Box) SetBorderType added in v0.14.5

func (b_ Box) SetBorderType(value BorderType)

deprecated

func (Box) SetBorderWidth

func (b_ Box) SetBorderWidth(value float64)

func (Box) SetBoxType

func (b_ Box) SetBoxType(value BoxType)

func (Box) SetContentView

func (b_ Box) SetContentView(value IView)

func (Box) SetContentViewMargins

func (b_ Box) SetContentViewMargins(value foundation.Size)

func (Box) SetCornerRadius

func (b_ Box) SetCornerRadius(value float64)

func (Box) SetFillColor

func (b_ Box) SetFillColor(value IColor)

func (Box) SetFrameFromContentFrame

func (b_ Box) SetFrameFromContentFrame(contentFrame foundation.Rect)

func (Box) SetTitle

func (b_ Box) SetTitle(value string)

func (Box) SetTitleFont

func (b_ Box) SetTitleFont(value IFont)

func (Box) SetTitlePosition

func (b_ Box) SetTitlePosition(value TitlePosition)

func (Box) SetTitleWithMnemonic added in v0.14.5

func (b_ Box) SetTitleWithMnemonic(stringWithAmpersand string)

deprecated

func (Box) SetTransparent

func (b_ Box) SetTransparent(value bool)

func (Box) SizeToFit

func (b_ Box) SizeToFit()

func (Box) Title

func (b_ Box) Title() string

func (Box) TitleCell

func (b_ Box) TitleCell() objc.Object

func (Box) TitleFont

func (b_ Box) TitleFont() Font

func (Box) TitlePosition

func (b_ Box) TitlePosition() TitlePosition

func (Box) TitleRect

func (b_ Box) TitleRect() foundation.Rect

type BoxType

type BoxType uint
const BoxCustom BoxType = 4
const BoxPrimary BoxType = 0
const BoxSeparator BoxType = 2

type Browser

type Browser struct {
	Control
}

func MakeBrowser

func MakeBrowser(ptr unsafe.Pointer) Browser

func NewBrowser

func NewBrowser() Browser

func (Browser) AcceptsArrowKeys added in v0.14.5

func (b_ Browser) AcceptsArrowKeys() bool

deprecated

func (Browser) AddColumn

func (b_ Browser) AddColumn()

func (Browser) AllowsBranchSelection

func (b_ Browser) AllowsBranchSelection() bool

func (Browser) AllowsEmptySelection

func (b_ Browser) AllowsEmptySelection() bool

func (Browser) AllowsMultipleSelection

func (b_ Browser) AllowsMultipleSelection() bool

func (Browser) AllowsTypeSelect

func (b_ Browser) AllowsTypeSelect() bool

func (Browser) AutohidesScroller

func (b_ Browser) AutohidesScroller() bool

func (Browser) BackgroundColor

func (b_ Browser) BackgroundColor() Color

func (Browser) CanDragRowsWithIndexes_InColumn_WithEvent

func (b_ Browser) CanDragRowsWithIndexes_InColumn_WithEvent(rowIndexes foundation.IIndexSet, column int, event IEvent) bool

func (Browser) CellPrototype

func (b_ Browser) CellPrototype() objc.Object

func (Browser) ClickedColumn

func (b_ Browser) ClickedColumn() int

func (Browser) ClickedRow

func (b_ Browser) ClickedRow() int

func (Browser) ColumnContentWidthForColumnWidth

func (b_ Browser) ColumnContentWidthForColumnWidth(columnWidth float64) float64

func (Browser) ColumnOfMatrix added in v0.14.5

func (b_ Browser) ColumnOfMatrix(matrix IMatrix) int

deprecated

func (Browser) ColumnResizingType

func (b_ Browser) ColumnResizingType() BrowserColumnResizingType

func (Browser) ColumnWidthForColumnContentWidth

func (b_ Browser) ColumnWidthForColumnContentWidth(columnContentWidth float64) float64

func (Browser) ColumnsAutosaveName

func (b_ Browser) ColumnsAutosaveName() BrowserColumnsAutosaveName

func (Browser) DefaultColumnWidth

func (b_ Browser) DefaultColumnWidth() float64

func (Browser) Delegate

func (b_ Browser) Delegate() objc.Object

weak property

func (Browser) DisplayAllColumns added in v0.14.5

func (b_ Browser) DisplayAllColumns()

deprecated

func (Browser) DisplayColumn added in v0.14.5

func (b_ Browser) DisplayColumn(column int)

deprecated

func (Browser) DoClick

func (b_ Browser) DoClick(sender objc.IObject)

func (Browser) DoDoubleClick

func (b_ Browser) DoDoubleClick(sender objc.IObject)

func (Browser) DoubleAction

func (b_ Browser) DoubleAction() objc.Selector

func (Browser) DraggingImageForRowsWithIndexes_InColumn_WithEvent_Offset added in v0.13.4

func (b_ Browser) DraggingImageForRowsWithIndexes_InColumn_WithEvent_Offset(rowIndexes foundation.IIndexSet, column int, event IEvent, dragImageOffset *foundation.Point) Image

func (Browser) DrawTitleOfColumn_InRect

func (b_ Browser) DrawTitleOfColumn_InRect(column int, rect foundation.Rect)

func (Browser) EditItemAtIndexPath_WithEvent_Select

func (b_ Browser) EditItemAtIndexPath_WithEvent_Select(indexPath foundation.IIndexPath, event IEvent, select_ bool)

func (Browser) FirstVisibleColumn

func (b_ Browser) FirstVisibleColumn() int

func (Browser) FrameOfColumn

func (b_ Browser) FrameOfColumn(column int) foundation.Rect

func (Browser) FrameOfInsideOfColumn

func (b_ Browser) FrameOfInsideOfColumn(column int) foundation.Rect

func (Browser) FrameOfRow_InColumn

func (b_ Browser) FrameOfRow_InColumn(row int, column int) foundation.Rect

func (Browser) GetRow_Column_ForPoint added in v0.13.4

func (b_ Browser) GetRow_Column_ForPoint(row *int, column *int, point foundation.Point) bool

func (Browser) HasHorizontalScroller

func (b_ Browser) HasHorizontalScroller() bool

func (Browser) IndexPathForColumn

func (b_ Browser) IndexPathForColumn(column int) foundation.IndexPath

func (Browser) Init added in v0.11.0

func (b_ Browser) Init() Browser

func (Browser) InitWithFrame added in v0.11.0

func (b_ Browser) InitWithFrame(frameRect foundation.Rect) Browser

func (Browser) IsLeafItem

func (b_ Browser) IsLeafItem(item objc.IObject) bool

func (Browser) IsLoaded

func (b_ Browser) IsLoaded() bool

func (Browser) IsTitled

func (b_ Browser) IsTitled() bool

func (Browser) ItemAtIndexPath

func (b_ Browser) ItemAtIndexPath(indexPath foundation.IIndexPath) objc.Object

func (Browser) ItemAtRow_InColumn

func (b_ Browser) ItemAtRow_InColumn(row int, column int) objc.Object

func (Browser) LastColumn

func (b_ Browser) LastColumn() int

func (Browser) LastVisibleColumn

func (b_ Browser) LastVisibleColumn() int

func (Browser) LoadColumnZero

func (b_ Browser) LoadColumnZero()

func (Browser) LoadedCellAtRow_Column

func (b_ Browser) LoadedCellAtRow_Column(row int, col int) objc.Object

func (Browser) MatrixClass added in v0.16.0

func (b_ Browser) MatrixClass() objc.Class

deprecated

func (Browser) MatrixInColumn added in v0.14.5

func (b_ Browser) MatrixInColumn(column int) Matrix

deprecated

func (Browser) MaxVisibleColumns

func (b_ Browser) MaxVisibleColumns() int

func (Browser) MinColumnWidth

func (b_ Browser) MinColumnWidth() float64

func (Browser) NoteHeightOfRowsWithIndexesChanged_InColumn

func (b_ Browser) NoteHeightOfRowsWithIndexesChanged_InColumn(indexSet foundation.IIndexSet, columnIndex int)

func (Browser) NumberOfVisibleColumns

func (b_ Browser) NumberOfVisibleColumns() int

func (Browser) ParentForItemsInColumn

func (b_ Browser) ParentForItemsInColumn(column int) objc.Object

func (Browser) Path

func (b_ Browser) Path() string

func (Browser) PathSeparator

func (b_ Browser) PathSeparator() string

func (Browser) PathToColumn

func (b_ Browser) PathToColumn(column int) string

func (Browser) PrefersAllColumnUserResizing

func (b_ Browser) PrefersAllColumnUserResizing() bool

func (Browser) ReloadColumn

func (b_ Browser) ReloadColumn(column int)

func (Browser) ReloadDataForRowIndexes_InColumn

func (b_ Browser) ReloadDataForRowIndexes_InColumn(rowIndexes foundation.IIndexSet, column int)

func (Browser) ReusesColumns

func (b_ Browser) ReusesColumns() bool

func (Browser) RowHeight

func (b_ Browser) RowHeight() float64

func (Browser) ScrollColumnToVisible

func (b_ Browser) ScrollColumnToVisible(column int)

func (Browser) ScrollColumnsLeftBy

func (b_ Browser) ScrollColumnsLeftBy(shiftAmount int)

func (Browser) ScrollColumnsRightBy

func (b_ Browser) ScrollColumnsRightBy(shiftAmount int)

func (Browser) ScrollRowToVisible_InColumn

func (b_ Browser) ScrollRowToVisible_InColumn(row int, column int)

func (Browser) ScrollViaScroller added in v0.14.5

func (b_ Browser) ScrollViaScroller(sender IScroller)

deprecated

func (Browser) SelectAll

func (b_ Browser) SelectAll(sender objc.IObject)

func (Browser) SelectRowIndexes_InColumn

func (b_ Browser) SelectRowIndexes_InColumn(indexes foundation.IIndexSet, column int)

func (Browser) SelectRow_InColumn

func (b_ Browser) SelectRow_InColumn(row int, column int)

func (Browser) SelectedCellInColumn

func (b_ Browser) SelectedCellInColumn(column int) objc.Object

func (Browser) SelectedCells

func (b_ Browser) SelectedCells() []Cell

func (Browser) SelectedColumn

func (b_ Browser) SelectedColumn() int

func (Browser) SelectedRowInColumn

func (b_ Browser) SelectedRowInColumn(column int) int

func (Browser) SelectedRowIndexesInColumn

func (b_ Browser) SelectedRowIndexesInColumn(column int) foundation.IndexSet

func (Browser) SelectionIndexPath

func (b_ Browser) SelectionIndexPath() foundation.IndexPath

func (Browser) SelectionIndexPaths

func (b_ Browser) SelectionIndexPaths() []foundation.IndexPath

func (Browser) SendAction

func (b_ Browser) SendAction() bool

func (Browser) SendsActionOnArrowKeys

func (b_ Browser) SendsActionOnArrowKeys() bool

func (Browser) SeparatesColumns

func (b_ Browser) SeparatesColumns() bool

func (Browser) SetAcceptsArrowKeys added in v0.14.5

func (b_ Browser) SetAcceptsArrowKeys(flag bool)

deprecated

func (Browser) SetAllowsBranchSelection

func (b_ Browser) SetAllowsBranchSelection(value bool)

func (Browser) SetAllowsEmptySelection

func (b_ Browser) SetAllowsEmptySelection(value bool)

func (Browser) SetAllowsMultipleSelection

func (b_ Browser) SetAllowsMultipleSelection(value bool)

func (Browser) SetAllowsTypeSelect

func (b_ Browser) SetAllowsTypeSelect(value bool)

func (Browser) SetAutohidesScroller

func (b_ Browser) SetAutohidesScroller(value bool)

func (Browser) SetBackgroundColor

func (b_ Browser) SetBackgroundColor(value IColor)

func (Browser) SetCellPrototype

func (b_ Browser) SetCellPrototype(value objc.IObject)

func (Browser) SetColumnResizingType

func (b_ Browser) SetColumnResizingType(value BrowserColumnResizingType)

func (Browser) SetColumnsAutosaveName

func (b_ Browser) SetColumnsAutosaveName(value BrowserColumnsAutosaveName)

func (Browser) SetDefaultColumnWidth

func (b_ Browser) SetDefaultColumnWidth(columnWidth float64)

func (Browser) SetDelegate

func (b_ Browser) SetDelegate(value objc.IObject)

weak property

func (Browser) SetDoubleAction

func (b_ Browser) SetDoubleAction(value objc.Selector)

func (Browser) SetDraggingSourceOperationMask_ForLocal

func (b_ Browser) SetDraggingSourceOperationMask_ForLocal(mask DragOperation, isLocal bool)

func (Browser) SetHasHorizontalScroller

func (b_ Browser) SetHasHorizontalScroller(value bool)

func (Browser) SetLastColumn

func (b_ Browser) SetLastColumn(value int)

func (Browser) SetMatrixClass added in v0.16.0

func (b_ Browser) SetMatrixClass(factoryId objc.IClass)

deprecated

func (Browser) SetMaxVisibleColumns

func (b_ Browser) SetMaxVisibleColumns(value int)

func (Browser) SetMinColumnWidth

func (b_ Browser) SetMinColumnWidth(value float64)

func (Browser) SetPath

func (b_ Browser) SetPath(path string) bool

func (Browser) SetPathSeparator

func (b_ Browser) SetPathSeparator(value string)

func (Browser) SetPrefersAllColumnUserResizing

func (b_ Browser) SetPrefersAllColumnUserResizing(value bool)

func (Browser) SetReusesColumns

func (b_ Browser) SetReusesColumns(value bool)

func (Browser) SetRowHeight

func (b_ Browser) SetRowHeight(value float64)

func (Browser) SetSelectionIndexPath

func (b_ Browser) SetSelectionIndexPath(value foundation.IIndexPath)

func (Browser) SetSelectionIndexPaths

func (b_ Browser) SetSelectionIndexPaths(value []foundation.IIndexPath)

func (Browser) SetSendsActionOnArrowKeys

func (b_ Browser) SetSendsActionOnArrowKeys(value bool)

func (Browser) SetSeparatesColumns

func (b_ Browser) SetSeparatesColumns(value bool)

func (Browser) SetTakesTitleFromPreviousColumn

func (b_ Browser) SetTakesTitleFromPreviousColumn(value bool)

func (Browser) SetTitle_OfColumn

func (b_ Browser) SetTitle_OfColumn(string_ string, column int)

func (Browser) SetTitled

func (b_ Browser) SetTitled(value bool)

func (Browser) SetWidth_OfColumn

func (b_ Browser) SetWidth_OfColumn(columnWidth float64, columnIndex int)

func (Browser) TakesTitleFromPreviousColumn

func (b_ Browser) TakesTitleFromPreviousColumn() bool

func (Browser) Tile

func (b_ Browser) Tile()

func (Browser) TitleFrameOfColumn

func (b_ Browser) TitleFrameOfColumn(column int) foundation.Rect

func (Browser) TitleHeight

func (b_ Browser) TitleHeight() float64

func (Browser) TitleOfColumn

func (b_ Browser) TitleOfColumn(column int) string

func (Browser) UpdateScroller added in v0.14.5

func (b_ Browser) UpdateScroller()

deprecated

func (Browser) ValidateVisibleColumns

func (b_ Browser) ValidateVisibleColumns()

func (Browser) WidthOfColumn

func (b_ Browser) WidthOfColumn(column int) float64

type BrowserCell

type BrowserCell struct {
	Cell
}

func MakeBrowserCell

func MakeBrowserCell(ptr unsafe.Pointer) BrowserCell

func NewBrowserCell

func NewBrowserCell() BrowserCell

func (BrowserCell) AlternateImage

func (b_ BrowserCell) AlternateImage() Image

func (BrowserCell) HighlightColorInView

func (b_ BrowserCell) HighlightColorInView(controlView IView) Color

func (BrowserCell) Init added in v0.11.0

func (b_ BrowserCell) Init() BrowserCell

func (BrowserCell) InitImageCell added in v0.11.0

func (b_ BrowserCell) InitImageCell(image IImage) BrowserCell

func (BrowserCell) InitTextCell added in v0.11.0

func (b_ BrowserCell) InitTextCell(string_ string) BrowserCell

func (BrowserCell) IsLeaf

func (b_ BrowserCell) IsLeaf() bool

func (BrowserCell) IsLoaded

func (b_ BrowserCell) IsLoaded() bool

func (BrowserCell) Reset

func (b_ BrowserCell) Reset()

func (BrowserCell) Set

func (b_ BrowserCell) Set()

func (BrowserCell) SetAlternateImage

func (b_ BrowserCell) SetAlternateImage(value IImage)

func (BrowserCell) SetLeaf

func (b_ BrowserCell) SetLeaf(value bool)

func (BrowserCell) SetLoaded

func (b_ BrowserCell) SetLoaded(value bool)

type BrowserColumnResizingType

type BrowserColumnResizingType uint
const BrowserAutoColumnResizing BrowserColumnResizingType = 1
const BrowserNoColumnResizing BrowserColumnResizingType = 0
const BrowserUserColumnResizing BrowserColumnResizingType = 2

type BrowserColumnsAutosaveName

type BrowserColumnsAutosaveName string

type BrowserDelegate

type BrowserDelegate interface {
	ImplementsBrowser_IsColumnValid() bool
	// optional
	Browser_IsColumnValid(sender Browser, column int) bool
	ImplementsBrowser_NumberOfRowsInColumn() bool
	// optional
	Browser_NumberOfRowsInColumn(sender Browser, column int) int
	ImplementsBrowser_NumberOfChildrenOfItem() bool
	// optional
	Browser_NumberOfChildrenOfItem(browser Browser, item objc.Object) int
	ImplementsBrowser_TitleOfColumn() bool
	// optional
	Browser_TitleOfColumn(sender Browser, column int) string
	ImplementsBrowser_ShouldTypeSelectForEvent_WithCurrentSearchString() bool
	// optional
	Browser_ShouldTypeSelectForEvent_WithCurrentSearchString(browser Browser, event Event, searchString string) bool
	ImplementsBrowser_TypeSelectStringForRow_InColumn() bool
	// optional
	Browser_TypeSelectStringForRow_InColumn(browser Browser, row int, column int) string
	ImplementsBrowser_NextTypeSelectMatchFromRow_ToRow_InColumn_ForString() bool
	// optional
	Browser_NextTypeSelectMatchFromRow_ToRow_InColumn_ForString(browser Browser, startRow int, endRow int, column int, searchString string) int
	ImplementsBrowser_SelectCellWithString_InColumn() bool
	// optional
	Browser_SelectCellWithString_InColumn(sender Browser, title string, column int) bool
	ImplementsBrowser_SelectRow_InColumn() bool
	// optional
	Browser_SelectRow_InColumn(sender Browser, row int, column int) bool
	ImplementsBrowser_SelectionIndexesForProposedSelection_InColumn() bool
	// optional
	Browser_SelectionIndexesForProposedSelection_InColumn(browser Browser, proposedSelectionIndexes foundation.IndexSet, column int) foundation.IIndexSet
	ImplementsBrowser_Child_OfItem() bool
	// optional
	Browser_Child_OfItem(browser Browser, index int, item objc.Object) objc.IObject
	ImplementsBrowser_IsLeafItem() bool
	// optional
	Browser_IsLeafItem(browser Browser, item objc.Object) bool
	ImplementsBrowser_ShouldEditItem() bool
	// optional
	Browser_ShouldEditItem(browser Browser, item objc.Object) bool
	ImplementsBrowser_ObjectValueForItem() bool
	// optional
	Browser_ObjectValueForItem(browser Browser, item objc.Object) objc.IObject
	ImplementsBrowser_SetObjectValue_ForItem() bool
	// optional
	Browser_SetObjectValue_ForItem(browser Browser, object objc.Object, item objc.Object)
	ImplementsRootItemForBrowser() bool
	// optional
	RootItemForBrowser(browser Browser) objc.IObject
	ImplementsBrowser_PreviewViewControllerForLeafItem() bool
	// optional
	Browser_PreviewViewControllerForLeafItem(browser Browser, item objc.Object) IViewController
	ImplementsBrowser_HeaderViewControllerForItem() bool
	// optional
	Browser_HeaderViewControllerForItem(browser Browser, item objc.Object) IViewController
	ImplementsBrowser_CreateRowsForColumn_InMatrix() bool
	// optional
	Browser_CreateRowsForColumn_InMatrix(sender Browser, column int, matrix Matrix)
	ImplementsBrowser_WillDisplayCell_AtRow_Column() bool
	// optional
	Browser_WillDisplayCell_AtRow_Column(sender Browser, cell objc.Object, row int, column int)
	ImplementsBrowser_DidChangeLastColumn_ToColumn() bool
	// optional
	Browser_DidChangeLastColumn_ToColumn(browser Browser, oldLastColumn int, column int)
	ImplementsBrowserWillScroll() bool
	// optional
	BrowserWillScroll(sender Browser)
	ImplementsBrowserDidScroll() bool
	// optional
	BrowserDidScroll(sender Browser)
	ImplementsBrowser_CanDragRowsWithIndexes_InColumn_WithEvent() bool
	// optional
	Browser_CanDragRowsWithIndexes_InColumn_WithEvent(browser Browser, rowIndexes foundation.IndexSet, column int, event Event) bool
	ImplementsBrowser_DraggingImageForRowsWithIndexes_InColumn_WithEvent_Offset() bool
	// optional
	Browser_DraggingImageForRowsWithIndexes_InColumn_WithEvent_Offset(browser Browser, rowIndexes foundation.IndexSet, column int, event Event, dragImageOffset *foundation.Point) IImage
	ImplementsBrowser_ValidateDrop_ProposedRow_Column_DropOperation() bool
	// optional
	Browser_ValidateDrop_ProposedRow_Column_DropOperation(browser Browser, info objc.Object, row *int, column *int, dropOperation *BrowserDropOperation) DragOperation
	ImplementsBrowser_AcceptDrop_AtRow_Column_DropOperation() bool
	// optional
	Browser_AcceptDrop_AtRow_Column_DropOperation(browser Browser, info objc.Object, row int, column int, dropOperation BrowserDropOperation) bool
	ImplementsBrowser_WriteRowsWithIndexes_InColumn_ToPasteboard() bool
	// optional
	Browser_WriteRowsWithIndexes_InColumn_ToPasteboard(browser Browser, rowIndexes foundation.IndexSet, column int, pasteboard Pasteboard) bool
	ImplementsBrowser_NamesOfPromisedFilesDroppedAtDestination_ForDraggedRowsWithIndexes_InColumn() bool
	// optional
	// deprecated
	Browser_NamesOfPromisedFilesDroppedAtDestination_ForDraggedRowsWithIndexes_InColumn(browser Browser, dropDestination foundation.URL, rowIndexes foundation.IndexSet, column int) []string
	ImplementsBrowser_ShouldSizeColumn_ForUserResize_ToWidth() bool
	// optional
	Browser_ShouldSizeColumn_ForUserResize_ToWidth(browser Browser, columnIndex int, forUserResize bool, suggestedWidth float64) float64
	ImplementsBrowser_SizeToFitWidthOfColumn() bool
	// optional
	Browser_SizeToFitWidthOfColumn(browser Browser, columnIndex int) float64
	ImplementsBrowserColumnConfigurationDidChange() bool
	// optional
	BrowserColumnConfigurationDidChange(notification foundation.Notification)
	ImplementsBrowser_HeightOfRow_InColumn() bool
	// optional
	Browser_HeightOfRow_InColumn(browser Browser, row int, columnIndex int) float64
	ImplementsBrowser_ShouldShowCellExpansionForRow_Column() bool
	// optional
	Browser_ShouldShowCellExpansionForRow_Column(browser Browser, row int, column int) bool
}

type BrowserDelegateBase added in v0.18.0

type BrowserDelegateBase struct {
}

func (*BrowserDelegateBase) BrowserColumnConfigurationDidChange added in v0.18.0

func (p *BrowserDelegateBase) BrowserColumnConfigurationDidChange(notification foundation.Notification)

func (*BrowserDelegateBase) BrowserDidScroll added in v0.18.0

func (p *BrowserDelegateBase) BrowserDidScroll(sender Browser)

func (*BrowserDelegateBase) BrowserWillScroll added in v0.18.0

func (p *BrowserDelegateBase) BrowserWillScroll(sender Browser)

func (*BrowserDelegateBase) Browser_AcceptDrop_AtRow_Column_DropOperation added in v0.18.0

func (p *BrowserDelegateBase) Browser_AcceptDrop_AtRow_Column_DropOperation(browser Browser, info objc.Object, row int, column int, dropOperation BrowserDropOperation) bool

func (*BrowserDelegateBase) Browser_CanDragRowsWithIndexes_InColumn_WithEvent added in v0.18.0

func (p *BrowserDelegateBase) Browser_CanDragRowsWithIndexes_InColumn_WithEvent(browser Browser, rowIndexes foundation.IndexSet, column int, event Event) bool

func (*BrowserDelegateBase) Browser_Child_OfItem added in v0.18.0

func (p *BrowserDelegateBase) Browser_Child_OfItem(browser Browser, index int, item objc.Object) objc.IObject

func (*BrowserDelegateBase) Browser_CreateRowsForColumn_InMatrix added in v0.18.0

func (p *BrowserDelegateBase) Browser_CreateRowsForColumn_InMatrix(sender Browser, column int, matrix Matrix)

func (*BrowserDelegateBase) Browser_DidChangeLastColumn_ToColumn added in v0.18.0

func (p *BrowserDelegateBase) Browser_DidChangeLastColumn_ToColumn(browser Browser, oldLastColumn int, column int)

func (*BrowserDelegateBase) Browser_DraggingImageForRowsWithIndexes_InColumn_WithEvent_Offset added in v0.18.0

func (p *BrowserDelegateBase) Browser_DraggingImageForRowsWithIndexes_InColumn_WithEvent_Offset(browser Browser, rowIndexes foundation.IndexSet, column int, event Event, dragImageOffset *foundation.Point) IImage

func (*BrowserDelegateBase) Browser_HeaderViewControllerForItem added in v0.18.0

func (p *BrowserDelegateBase) Browser_HeaderViewControllerForItem(browser Browser, item objc.Object) IViewController

func (*BrowserDelegateBase) Browser_HeightOfRow_InColumn added in v0.18.0

func (p *BrowserDelegateBase) Browser_HeightOfRow_InColumn(browser Browser, row int, columnIndex int) float64

func (*BrowserDelegateBase) Browser_IsColumnValid added in v0.18.0

func (p *BrowserDelegateBase) Browser_IsColumnValid(sender Browser, column int) bool

func (*BrowserDelegateBase) Browser_IsLeafItem added in v0.18.0

func (p *BrowserDelegateBase) Browser_IsLeafItem(browser Browser, item objc.Object) bool

func (*BrowserDelegateBase) Browser_NamesOfPromisedFilesDroppedAtDestination_ForDraggedRowsWithIndexes_InColumn added in v0.18.0

func (p *BrowserDelegateBase) Browser_NamesOfPromisedFilesDroppedAtDestination_ForDraggedRowsWithIndexes_InColumn(browser Browser, dropDestination foundation.URL, rowIndexes foundation.IndexSet, column int) []string

deprecated

func (*BrowserDelegateBase) Browser_NextTypeSelectMatchFromRow_ToRow_InColumn_ForString added in v0.18.0

func (p *BrowserDelegateBase) Browser_NextTypeSelectMatchFromRow_ToRow_InColumn_ForString(browser Browser, startRow int, endRow int, column int, searchString string) int

func (*BrowserDelegateBase) Browser_NumberOfChildrenOfItem added in v0.18.0

func (p *BrowserDelegateBase) Browser_NumberOfChildrenOfItem(browser Browser, item objc.Object) int

func (*BrowserDelegateBase) Browser_NumberOfRowsInColumn added in v0.18.0

func (p *BrowserDelegateBase) Browser_NumberOfRowsInColumn(sender Browser, column int) int

func (*BrowserDelegateBase) Browser_ObjectValueForItem added in v0.18.0

func (p *BrowserDelegateBase) Browser_ObjectValueForItem(browser Browser, item objc.Object) objc.IObject

func (*BrowserDelegateBase) Browser_PreviewViewControllerForLeafItem added in v0.18.0

func (p *BrowserDelegateBase) Browser_PreviewViewControllerForLeafItem(browser Browser, item objc.Object) IViewController

func (*BrowserDelegateBase) Browser_SelectCellWithString_InColumn added in v0.18.0

func (p *BrowserDelegateBase) Browser_SelectCellWithString_InColumn(sender Browser, title string, column int) bool

func (*BrowserDelegateBase) Browser_SelectRow_InColumn added in v0.18.0

func (p *BrowserDelegateBase) Browser_SelectRow_InColumn(sender Browser, row int, column int) bool

func (*BrowserDelegateBase) Browser_SelectionIndexesForProposedSelection_InColumn added in v0.18.0

func (p *BrowserDelegateBase) Browser_SelectionIndexesForProposedSelection_InColumn(browser Browser, proposedSelectionIndexes foundation.IndexSet, column int) foundation.IIndexSet

func (*BrowserDelegateBase) Browser_SetObjectValue_ForItem added in v0.18.0

func (p *BrowserDelegateBase) Browser_SetObjectValue_ForItem(browser Browser, object objc.Object, item objc.Object)

func (*BrowserDelegateBase) Browser_ShouldEditItem added in v0.18.0

func (p *BrowserDelegateBase) Browser_ShouldEditItem(browser Browser, item objc.Object) bool

func (*BrowserDelegateBase) Browser_ShouldShowCellExpansionForRow_Column added in v0.18.0

func (p *BrowserDelegateBase) Browser_ShouldShowCellExpansionForRow_Column(browser Browser, row int, column int) bool

func (*BrowserDelegateBase) Browser_ShouldSizeColumn_ForUserResize_ToWidth added in v0.18.0

func (p *BrowserDelegateBase) Browser_ShouldSizeColumn_ForUserResize_ToWidth(browser Browser, columnIndex int, forUserResize bool, suggestedWidth float64) float64

func (*BrowserDelegateBase) Browser_ShouldTypeSelectForEvent_WithCurrentSearchString added in v0.18.0

func (p *BrowserDelegateBase) Browser_ShouldTypeSelectForEvent_WithCurrentSearchString(browser Browser, event Event, searchString string) bool

func (*BrowserDelegateBase) Browser_SizeToFitWidthOfColumn added in v0.18.0

func (p *BrowserDelegateBase) Browser_SizeToFitWidthOfColumn(browser Browser, columnIndex int) float64

func (*BrowserDelegateBase) Browser_TitleOfColumn added in v0.18.0

func (p *BrowserDelegateBase) Browser_TitleOfColumn(sender Browser, column int) string

func (*BrowserDelegateBase) Browser_TypeSelectStringForRow_InColumn added in v0.18.0

func (p *BrowserDelegateBase) Browser_TypeSelectStringForRow_InColumn(browser Browser, row int, column int) string

func (*BrowserDelegateBase) Browser_ValidateDrop_ProposedRow_Column_DropOperation added in v0.18.0

func (p *BrowserDelegateBase) Browser_ValidateDrop_ProposedRow_Column_DropOperation(browser Browser, info objc.Object, row *int, column *int, dropOperation *BrowserDropOperation) DragOperation

func (*BrowserDelegateBase) Browser_WillDisplayCell_AtRow_Column added in v0.18.0

func (p *BrowserDelegateBase) Browser_WillDisplayCell_AtRow_Column(sender Browser, cell objc.Object, row int, column int)

func (*BrowserDelegateBase) Browser_WriteRowsWithIndexes_InColumn_ToPasteboard added in v0.18.0

func (p *BrowserDelegateBase) Browser_WriteRowsWithIndexes_InColumn_ToPasteboard(browser Browser, rowIndexes foundation.IndexSet, column int, pasteboard Pasteboard) bool

func (*BrowserDelegateBase) ImplementsBrowserColumnConfigurationDidChange added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowserColumnConfigurationDidChange() bool

func (*BrowserDelegateBase) ImplementsBrowserDidScroll added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowserDidScroll() bool

func (*BrowserDelegateBase) ImplementsBrowserWillScroll added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowserWillScroll() bool

func (*BrowserDelegateBase) ImplementsBrowser_AcceptDrop_AtRow_Column_DropOperation added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_AcceptDrop_AtRow_Column_DropOperation() bool

func (*BrowserDelegateBase) ImplementsBrowser_CanDragRowsWithIndexes_InColumn_WithEvent added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_CanDragRowsWithIndexes_InColumn_WithEvent() bool

func (*BrowserDelegateBase) ImplementsBrowser_Child_OfItem added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_Child_OfItem() bool

func (*BrowserDelegateBase) ImplementsBrowser_CreateRowsForColumn_InMatrix added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_CreateRowsForColumn_InMatrix() bool

func (*BrowserDelegateBase) ImplementsBrowser_DidChangeLastColumn_ToColumn added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_DidChangeLastColumn_ToColumn() bool

func (*BrowserDelegateBase) ImplementsBrowser_DraggingImageForRowsWithIndexes_InColumn_WithEvent_Offset added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_DraggingImageForRowsWithIndexes_InColumn_WithEvent_Offset() bool

func (*BrowserDelegateBase) ImplementsBrowser_HeaderViewControllerForItem added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_HeaderViewControllerForItem() bool

func (*BrowserDelegateBase) ImplementsBrowser_HeightOfRow_InColumn added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_HeightOfRow_InColumn() bool

func (*BrowserDelegateBase) ImplementsBrowser_IsColumnValid added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_IsColumnValid() bool

func (*BrowserDelegateBase) ImplementsBrowser_IsLeafItem added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_IsLeafItem() bool

func (*BrowserDelegateBase) ImplementsBrowser_NamesOfPromisedFilesDroppedAtDestination_ForDraggedRowsWithIndexes_InColumn added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_NamesOfPromisedFilesDroppedAtDestination_ForDraggedRowsWithIndexes_InColumn() bool

func (*BrowserDelegateBase) ImplementsBrowser_NextTypeSelectMatchFromRow_ToRow_InColumn_ForString added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_NextTypeSelectMatchFromRow_ToRow_InColumn_ForString() bool

func (*BrowserDelegateBase) ImplementsBrowser_NumberOfChildrenOfItem added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_NumberOfChildrenOfItem() bool

func (*BrowserDelegateBase) ImplementsBrowser_NumberOfRowsInColumn added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_NumberOfRowsInColumn() bool

func (*BrowserDelegateBase) ImplementsBrowser_ObjectValueForItem added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_ObjectValueForItem() bool

func (*BrowserDelegateBase) ImplementsBrowser_PreviewViewControllerForLeafItem added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_PreviewViewControllerForLeafItem() bool

func (*BrowserDelegateBase) ImplementsBrowser_SelectCellWithString_InColumn added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_SelectCellWithString_InColumn() bool

func (*BrowserDelegateBase) ImplementsBrowser_SelectRow_InColumn added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_SelectRow_InColumn() bool

func (*BrowserDelegateBase) ImplementsBrowser_SelectionIndexesForProposedSelection_InColumn added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_SelectionIndexesForProposedSelection_InColumn() bool

func (*BrowserDelegateBase) ImplementsBrowser_SetObjectValue_ForItem added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_SetObjectValue_ForItem() bool

func (*BrowserDelegateBase) ImplementsBrowser_ShouldEditItem added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_ShouldEditItem() bool

func (*BrowserDelegateBase) ImplementsBrowser_ShouldShowCellExpansionForRow_Column added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_ShouldShowCellExpansionForRow_Column() bool

func (*BrowserDelegateBase) ImplementsBrowser_ShouldSizeColumn_ForUserResize_ToWidth added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_ShouldSizeColumn_ForUserResize_ToWidth() bool

func (*BrowserDelegateBase) ImplementsBrowser_ShouldTypeSelectForEvent_WithCurrentSearchString added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_ShouldTypeSelectForEvent_WithCurrentSearchString() bool

func (*BrowserDelegateBase) ImplementsBrowser_SizeToFitWidthOfColumn added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_SizeToFitWidthOfColumn() bool

func (*BrowserDelegateBase) ImplementsBrowser_TitleOfColumn added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_TitleOfColumn() bool

func (*BrowserDelegateBase) ImplementsBrowser_TypeSelectStringForRow_InColumn added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_TypeSelectStringForRow_InColumn() bool

func (*BrowserDelegateBase) ImplementsBrowser_ValidateDrop_ProposedRow_Column_DropOperation added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_ValidateDrop_ProposedRow_Column_DropOperation() bool

func (*BrowserDelegateBase) ImplementsBrowser_WillDisplayCell_AtRow_Column added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_WillDisplayCell_AtRow_Column() bool

func (*BrowserDelegateBase) ImplementsBrowser_WriteRowsWithIndexes_InColumn_ToPasteboard added in v0.18.0

func (p *BrowserDelegateBase) ImplementsBrowser_WriteRowsWithIndexes_InColumn_ToPasteboard() bool

func (*BrowserDelegateBase) ImplementsRootItemForBrowser added in v0.18.0

func (p *BrowserDelegateBase) ImplementsRootItemForBrowser() bool

func (*BrowserDelegateBase) RootItemForBrowser added in v0.18.0

func (p *BrowserDelegateBase) RootItemForBrowser(browser Browser) objc.IObject

type BrowserDelegateCreator added in v0.19.0

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

func NewBrowserDelegateCreator added in v0.19.0

func NewBrowserDelegateCreator(name string) *BrowserDelegateCreator

func (*BrowserDelegateCreator) Create added in v0.19.0

func (*BrowserDelegateCreator) SetBrowserColumnConfigurationDidChange added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowserColumnConfigurationDidChange(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*BrowserDelegateCreator) SetBrowserDidScroll added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowserDidScroll(handle func(o objc.ProtocolBase, sender Browser))

func (*BrowserDelegateCreator) SetBrowserWillScroll added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowserWillScroll(handle func(o objc.ProtocolBase, sender Browser))

func (*BrowserDelegateCreator) SetBrowser_AcceptDrop_AtRow_Column_DropOperation added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_AcceptDrop_AtRow_Column_DropOperation(handle func(o objc.ProtocolBase, browser Browser, info objc.Object, row int, column int, dropOperation BrowserDropOperation) bool)

func (*BrowserDelegateCreator) SetBrowser_CanDragRowsWithIndexes_InColumn_WithEvent added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_CanDragRowsWithIndexes_InColumn_WithEvent(handle func(o objc.ProtocolBase, browser Browser, rowIndexes foundation.IndexSet, column int, event Event) bool)

func (*BrowserDelegateCreator) SetBrowser_Child_OfItem added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_Child_OfItem(handle func(o objc.ProtocolBase, browser Browser, index int, item objc.Object) objc.IObject)

func (*BrowserDelegateCreator) SetBrowser_CreateRowsForColumn_InMatrix added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_CreateRowsForColumn_InMatrix(handle func(o objc.ProtocolBase, sender Browser, column int, matrix Matrix))

func (*BrowserDelegateCreator) SetBrowser_DidChangeLastColumn_ToColumn added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_DidChangeLastColumn_ToColumn(handle func(o objc.ProtocolBase, browser Browser, oldLastColumn int, column int))

func (*BrowserDelegateCreator) SetBrowser_DraggingImageForRowsWithIndexes_InColumn_WithEvent_Offset added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_DraggingImageForRowsWithIndexes_InColumn_WithEvent_Offset(handle func(o objc.ProtocolBase, browser Browser, rowIndexes foundation.IndexSet, column int, event Event, dragImageOffset *foundation.Point) IImage)

func (*BrowserDelegateCreator) SetBrowser_HeaderViewControllerForItem added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_HeaderViewControllerForItem(handle func(o objc.ProtocolBase, browser Browser, item objc.Object) IViewController)

func (*BrowserDelegateCreator) SetBrowser_HeightOfRow_InColumn added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_HeightOfRow_InColumn(handle func(o objc.ProtocolBase, browser Browser, row int, columnIndex int) float64)

func (*BrowserDelegateCreator) SetBrowser_IsColumnValid added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_IsColumnValid(handle func(o objc.ProtocolBase, sender Browser, column int) bool)

func (*BrowserDelegateCreator) SetBrowser_IsLeafItem added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_IsLeafItem(handle func(o objc.ProtocolBase, browser Browser, item objc.Object) bool)

func (*BrowserDelegateCreator) SetBrowser_NamesOfPromisedFilesDroppedAtDestination_ForDraggedRowsWithIndexes_InColumn added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_NamesOfPromisedFilesDroppedAtDestination_ForDraggedRowsWithIndexes_InColumn(handle func(o objc.ProtocolBase, browser Browser, dropDestination foundation.URL, rowIndexes foundation.IndexSet, column int) []string)

deprecated

func (*BrowserDelegateCreator) SetBrowser_NextTypeSelectMatchFromRow_ToRow_InColumn_ForString added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_NextTypeSelectMatchFromRow_ToRow_InColumn_ForString(handle func(o objc.ProtocolBase, browser Browser, startRow int, endRow int, column int, searchString string) int)

func (*BrowserDelegateCreator) SetBrowser_NumberOfChildrenOfItem added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_NumberOfChildrenOfItem(handle func(o objc.ProtocolBase, browser Browser, item objc.Object) int)

func (*BrowserDelegateCreator) SetBrowser_NumberOfRowsInColumn added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_NumberOfRowsInColumn(handle func(o objc.ProtocolBase, sender Browser, column int) int)

func (*BrowserDelegateCreator) SetBrowser_ObjectValueForItem added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_ObjectValueForItem(handle func(o objc.ProtocolBase, browser Browser, item objc.Object) objc.IObject)

func (*BrowserDelegateCreator) SetBrowser_PreviewViewControllerForLeafItem added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_PreviewViewControllerForLeafItem(handle func(o objc.ProtocolBase, browser Browser, item objc.Object) IViewController)

func (*BrowserDelegateCreator) SetBrowser_SelectCellWithString_InColumn added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_SelectCellWithString_InColumn(handle func(o objc.ProtocolBase, sender Browser, title string, column int) bool)

func (*BrowserDelegateCreator) SetBrowser_SelectRow_InColumn added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_SelectRow_InColumn(handle func(o objc.ProtocolBase, sender Browser, row int, column int) bool)

func (*BrowserDelegateCreator) SetBrowser_SelectionIndexesForProposedSelection_InColumn added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_SelectionIndexesForProposedSelection_InColumn(handle func(o objc.ProtocolBase, browser Browser, proposedSelectionIndexes foundation.IndexSet, column int) foundation.IIndexSet)

func (*BrowserDelegateCreator) SetBrowser_SetObjectValue_ForItem added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_SetObjectValue_ForItem(handle func(o objc.ProtocolBase, browser Browser, object objc.Object, item objc.Object))

func (*BrowserDelegateCreator) SetBrowser_ShouldEditItem added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_ShouldEditItem(handle func(o objc.ProtocolBase, browser Browser, item objc.Object) bool)

func (*BrowserDelegateCreator) SetBrowser_ShouldShowCellExpansionForRow_Column added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_ShouldShowCellExpansionForRow_Column(handle func(o objc.ProtocolBase, browser Browser, row int, column int) bool)

func (*BrowserDelegateCreator) SetBrowser_ShouldSizeColumn_ForUserResize_ToWidth added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_ShouldSizeColumn_ForUserResize_ToWidth(handle func(o objc.ProtocolBase, browser Browser, columnIndex int, forUserResize bool, suggestedWidth float64) float64)

func (*BrowserDelegateCreator) SetBrowser_ShouldTypeSelectForEvent_WithCurrentSearchString added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_ShouldTypeSelectForEvent_WithCurrentSearchString(handle func(o objc.ProtocolBase, browser Browser, event Event, searchString string) bool)

func (*BrowserDelegateCreator) SetBrowser_SizeToFitWidthOfColumn added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_SizeToFitWidthOfColumn(handle func(o objc.ProtocolBase, browser Browser, columnIndex int) float64)

func (*BrowserDelegateCreator) SetBrowser_TitleOfColumn added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_TitleOfColumn(handle func(o objc.ProtocolBase, sender Browser, column int) string)

func (*BrowserDelegateCreator) SetBrowser_TypeSelectStringForRow_InColumn added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_TypeSelectStringForRow_InColumn(handle func(o objc.ProtocolBase, browser Browser, row int, column int) string)

func (*BrowserDelegateCreator) SetBrowser_ValidateDrop_ProposedRow_Column_DropOperation added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_ValidateDrop_ProposedRow_Column_DropOperation(handle func(o objc.ProtocolBase, browser Browser, info objc.Object, row *int, column *int, dropOperation *BrowserDropOperation) DragOperation)

func (*BrowserDelegateCreator) SetBrowser_WillDisplayCell_AtRow_Column added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_WillDisplayCell_AtRow_Column(handle func(o objc.ProtocolBase, sender Browser, cell objc.Object, row int, column int))

func (*BrowserDelegateCreator) SetBrowser_WriteRowsWithIndexes_InColumn_ToPasteboard added in v0.19.0

func (c *BrowserDelegateCreator) SetBrowser_WriteRowsWithIndexes_InColumn_ToPasteboard(handle func(o objc.ProtocolBase, browser Browser, rowIndexes foundation.IndexSet, column int, pasteboard Pasteboard) bool)

func (*BrowserDelegateCreator) SetRootItemForBrowser added in v0.19.0

func (c *BrowserDelegateCreator) SetRootItemForBrowser(handle func(o objc.ProtocolBase, browser Browser) objc.IObject)

type BrowserDropOperation

type BrowserDropOperation uint
const BrowserDropAbove BrowserDropOperation = 1
const BrowserDropOn BrowserDropOperation = 0

type Button

type Button struct {
	Control
}

func MakeButton

func MakeButton(ptr unsafe.Pointer) Button

func NewButton

func NewButton() Button

func NewButtonWithImage added in v0.15.3

func NewButtonWithImage(image Image) Button

NewButtonWithImage return a new common used Button with image

func NewButtonWithTitle added in v0.15.3

func NewButtonWithTitle(title string) Button

NewButton return a new common used Button

func NewCheckBox added in v0.15.3

func NewCheckBox(title string) Button

NewCheckBox return a new common used checkbox Button

func NewPushButton added in v0.15.3

func NewPushButton(title string) Button

NewPushButton return a button that switches between on and off states with each click.

func NewRadioButton added in v0.15.3

func NewRadioButton(title string) Button

NewRadioButton return a new common used radio Button

func (Button) ActiveCompressionOptions

func (b_ Button) ActiveCompressionOptions() UserInterfaceCompressionOptions

func (Button) AllowsMixedState

func (b_ Button) AllowsMixedState() bool

func (Button) AlternateImage

func (b_ Button) AlternateImage() Image

func (Button) AlternateTitle

func (b_ Button) AlternateTitle() string

func (Button) AttributedAlternateTitle

func (b_ Button) AttributedAlternateTitle() foundation.AttributedString

func (Button) AttributedTitle

func (b_ Button) AttributedTitle() foundation.AttributedString

func (Button) BezelColor

func (b_ Button) BezelColor() Color

func (Button) BezelStyle

func (b_ Button) BezelStyle() BezelStyle

func (Button) CompressWithPrioritizedCompressionOptions

func (b_ Button) CompressWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions)

func (Button) ContentTintColor

func (b_ Button) ContentTintColor() Color

func (Button) GetPeriodicDelay_Interval added in v0.13.4

func (b_ Button) GetPeriodicDelay_Interval(delay *float32, interval *float32)

func (Button) HasDestructiveAction

func (b_ Button) HasDestructiveAction() bool

func (Button) Highlight

func (b_ Button) Highlight(flag bool)

func (Button) Image

func (b_ Button) Image() Image

func (Button) ImageHugsTitle

func (b_ Button) ImageHugsTitle() bool

func (Button) ImagePosition

func (b_ Button) ImagePosition() CellImagePosition

func (Button) ImageScaling

func (b_ Button) ImageScaling() ImageScaling

func (Button) Init added in v0.11.0

func (b_ Button) Init() Button

func (Button) InitWithFrame added in v0.11.0

func (b_ Button) InitWithFrame(frameRect foundation.Rect) Button

func (Button) IsBordered

func (b_ Button) IsBordered() bool

func (Button) IsSpringLoaded

func (b_ Button) IsSpringLoaded() bool

func (Button) IsTransparent

func (b_ Button) IsTransparent() bool

func (Button) KeyEquivalent

func (b_ Button) KeyEquivalent() string

func (Button) KeyEquivalentModifierMask

func (b_ Button) KeyEquivalentModifierMask() EventModifierFlags

func (Button) MaxAcceleratorLevel

func (b_ Button) MaxAcceleratorLevel() int

func (Button) MinimumSizeWithPrioritizedCompressionOptions

func (b_ Button) MinimumSizeWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions) foundation.Size

func (Button) SetAllowsMixedState

func (b_ Button) SetAllowsMixedState(value bool)

func (Button) SetAlternateImage

func (b_ Button) SetAlternateImage(value IImage)

func (Button) SetAlternateTitle

func (b_ Button) SetAlternateTitle(value string)

func (Button) SetAttributedAlternateTitle

func (b_ Button) SetAttributedAlternateTitle(value foundation.IAttributedString)

func (Button) SetAttributedTitle

func (b_ Button) SetAttributedTitle(value foundation.IAttributedString)

func (Button) SetBezelColor

func (b_ Button) SetBezelColor(value IColor)

func (Button) SetBezelStyle

func (b_ Button) SetBezelStyle(value BezelStyle)

func (Button) SetBordered

func (b_ Button) SetBordered(value bool)

func (Button) SetButtonType

func (b_ Button) SetButtonType(type_ ButtonType)

func (Button) SetContentTintColor

func (b_ Button) SetContentTintColor(value IColor)

func (Button) SetHasDestructiveAction

func (b_ Button) SetHasDestructiveAction(value bool)

func (Button) SetImage

func (b_ Button) SetImage(value IImage)

func (Button) SetImageHugsTitle

func (b_ Button) SetImageHugsTitle(value bool)

func (Button) SetImagePosition

func (b_ Button) SetImagePosition(value CellImagePosition)

func (Button) SetImageScaling

func (b_ Button) SetImageScaling(value ImageScaling)

func (Button) SetKeyEquivalent

func (b_ Button) SetKeyEquivalent(value string)

func (Button) SetKeyEquivalentModifierMask

func (b_ Button) SetKeyEquivalentModifierMask(value EventModifierFlags)

func (Button) SetMaxAcceleratorLevel

func (b_ Button) SetMaxAcceleratorLevel(value int)

func (Button) SetNextState

func (b_ Button) SetNextState()

func (Button) SetPeriodicDelay_Interval

func (b_ Button) SetPeriodicDelay_Interval(delay float32, interval float32)

func (Button) SetShowsBorderOnlyWhileMouseInside

func (b_ Button) SetShowsBorderOnlyWhileMouseInside(value bool)

func (Button) SetSound

func (b_ Button) SetSound(value ISound)

func (Button) SetSpringLoaded

func (b_ Button) SetSpringLoaded(value bool)

func (Button) SetState

func (b_ Button) SetState(value ControlStateValue)

func (Button) SetSymbolConfiguration

func (b_ Button) SetSymbolConfiguration(value IImageSymbolConfiguration)

func (Button) SetTitle

func (b_ Button) SetTitle(value string)

func (Button) SetTitleWithMnemonic added in v0.14.5

func (b_ Button) SetTitleWithMnemonic(stringWithAmpersand string)

deprecated

func (Button) SetTransparent

func (b_ Button) SetTransparent(value bool)

func (Button) ShowsBorderOnlyWhileMouseInside

func (b_ Button) ShowsBorderOnlyWhileMouseInside() bool

func (Button) Sound

func (b_ Button) Sound() Sound

func (Button) State

func (b_ Button) State() ControlStateValue

func (Button) SymbolConfiguration

func (b_ Button) SymbolConfiguration() ImageSymbolConfiguration

func (Button) Title

func (b_ Button) Title() string

type ButtonCell

type ButtonCell struct {
	ActionCell
}

func MakeButtonCell

func MakeButtonCell(ptr unsafe.Pointer) ButtonCell

func NewButtonCell

func NewButtonCell() ButtonCell

func (ButtonCell) AlternateImage

func (b_ ButtonCell) AlternateImage() Image

func (ButtonCell) AlternateMnemonic added in v0.14.5

func (b_ ButtonCell) AlternateMnemonic() string

deprecated

func (ButtonCell) AlternateMnemonicLocation added in v0.14.5

func (b_ ButtonCell) AlternateMnemonicLocation() uint

deprecated

func (ButtonCell) AlternateTitle

func (b_ ButtonCell) AlternateTitle() string

func (ButtonCell) AttributedAlternateTitle

func (b_ ButtonCell) AttributedAlternateTitle() foundation.AttributedString

func (ButtonCell) AttributedTitle

func (b_ ButtonCell) AttributedTitle() foundation.AttributedString

func (ButtonCell) BackgroundColor

func (b_ ButtonCell) BackgroundColor() Color

func (ButtonCell) BezelStyle

func (b_ ButtonCell) BezelStyle() BezelStyle

func (ButtonCell) DrawBezelWithFrame_InView

func (b_ ButtonCell) DrawBezelWithFrame_InView(frame foundation.Rect, controlView IView)

func (ButtonCell) DrawImage_WithFrame_InView

func (b_ ButtonCell) DrawImage_WithFrame_InView(image IImage, frame foundation.Rect, controlView IView)

func (ButtonCell) DrawTitle_WithFrame_InView

func (b_ ButtonCell) DrawTitle_WithFrame_InView(title foundation.IAttributedString, frame foundation.Rect, controlView IView) foundation.Rect

func (ButtonCell) GradientType added in v0.14.5

func (b_ ButtonCell) GradientType() GradientType

deprecated

func (ButtonCell) HighlightsBy

func (b_ ButtonCell) HighlightsBy() CellStyleMask

func (ButtonCell) ImageDimsWhenDisabled

func (b_ ButtonCell) ImageDimsWhenDisabled() bool

func (ButtonCell) ImagePosition

func (b_ ButtonCell) ImagePosition() CellImagePosition

func (ButtonCell) ImageScaling

func (b_ ButtonCell) ImageScaling() ImageScaling

func (ButtonCell) Init added in v0.11.0

func (b_ ButtonCell) Init() ButtonCell

func (ButtonCell) InitImageCell added in v0.11.0

func (b_ ButtonCell) InitImageCell(image IImage) ButtonCell

func (ButtonCell) InitTextCell added in v0.11.0

func (b_ ButtonCell) InitTextCell(string_ string) ButtonCell

func (ButtonCell) IsTransparent

func (b_ ButtonCell) IsTransparent() bool

func (ButtonCell) KeyEquivalentFont added in v0.14.5

func (b_ ButtonCell) KeyEquivalentFont() Font

deprecated

func (ButtonCell) KeyEquivalentModifierMask

func (b_ ButtonCell) KeyEquivalentModifierMask() EventModifierFlags

func (ButtonCell) MouseEntered

func (b_ ButtonCell) MouseEntered(event IEvent)

func (ButtonCell) MouseExited

func (b_ ButtonCell) MouseExited(event IEvent)

func (ButtonCell) SetAlternateImage

func (b_ ButtonCell) SetAlternateImage(value IImage)

func (ButtonCell) SetAlternateMnemonicLocation added in v0.14.5

func (b_ ButtonCell) SetAlternateMnemonicLocation(location uint)

deprecated

func (ButtonCell) SetAlternateTitle

func (b_ ButtonCell) SetAlternateTitle(value string)

func (ButtonCell) SetAlternateTitleWithMnemonic added in v0.14.5

func (b_ ButtonCell) SetAlternateTitleWithMnemonic(stringWithAmpersand string)

deprecated

func (ButtonCell) SetAttributedAlternateTitle

func (b_ ButtonCell) SetAttributedAlternateTitle(value foundation.IAttributedString)

func (ButtonCell) SetAttributedTitle

func (b_ ButtonCell) SetAttributedTitle(value foundation.IAttributedString)

func (ButtonCell) SetBackgroundColor

func (b_ ButtonCell) SetBackgroundColor(value IColor)

func (ButtonCell) SetBezelStyle

func (b_ ButtonCell) SetBezelStyle(value BezelStyle)

func (ButtonCell) SetButtonType

func (b_ ButtonCell) SetButtonType(type_ ButtonType)

func (ButtonCell) SetGradientType added in v0.14.5

func (b_ ButtonCell) SetGradientType(value GradientType)

deprecated

func (ButtonCell) SetHighlightsBy

func (b_ ButtonCell) SetHighlightsBy(value CellStyleMask)

func (ButtonCell) SetImageDimsWhenDisabled

func (b_ ButtonCell) SetImageDimsWhenDisabled(value bool)

func (ButtonCell) SetImagePosition

func (b_ ButtonCell) SetImagePosition(value CellImagePosition)

func (ButtonCell) SetImageScaling

func (b_ ButtonCell) SetImageScaling(value ImageScaling)

func (ButtonCell) SetKeyEquivalent

func (b_ ButtonCell) SetKeyEquivalent(value string)

func (ButtonCell) SetKeyEquivalentFont added in v0.14.5

func (b_ ButtonCell) SetKeyEquivalentFont(value IFont)

deprecated

func (ButtonCell) SetKeyEquivalentFont_Size added in v0.14.5

func (b_ ButtonCell) SetKeyEquivalentFont_Size(fontName string, fontSize float64)

deprecated

func (ButtonCell) SetKeyEquivalentModifierMask

func (b_ ButtonCell) SetKeyEquivalentModifierMask(value EventModifierFlags)

func (ButtonCell) SetPeriodicDelay_Interval

func (b_ ButtonCell) SetPeriodicDelay_Interval(delay float32, interval float32)

func (ButtonCell) SetShowsBorderOnlyWhileMouseInside

func (b_ ButtonCell) SetShowsBorderOnlyWhileMouseInside(value bool)

func (ButtonCell) SetShowsStateBy

func (b_ ButtonCell) SetShowsStateBy(value CellStyleMask)

func (ButtonCell) SetSound

func (b_ ButtonCell) SetSound(value ISound)

func (ButtonCell) SetTransparent

func (b_ ButtonCell) SetTransparent(value bool)

func (ButtonCell) ShowsBorderOnlyWhileMouseInside

func (b_ ButtonCell) ShowsBorderOnlyWhileMouseInside() bool

func (ButtonCell) ShowsStateBy

func (b_ ButtonCell) ShowsStateBy() CellStyleMask

func (ButtonCell) Sound

func (b_ ButtonCell) Sound() Sound

type ButtonType

type ButtonType uint
const ButtonTypeAccelerator ButtonType = 8
const ButtonTypeMomentaryChange ButtonType = 5
const ButtonTypeMomentaryLight ButtonType = 0
const ButtonTypeMomentaryPushIn ButtonType = 7
const ButtonTypeMultiLevelAccelerator ButtonType = 9
const ButtonTypeOnOff ButtonType = 6
const ButtonTypePushOnPushOff ButtonType = 1
const ButtonTypeRadio ButtonType = 4
const ButtonTypeSwitch ButtonType = 3
const ButtonTypeToggle ButtonType = 2

type CandidateListTouchBarItem

type CandidateListTouchBarItem struct {
	TouchBarItem
}

func MakeCandidateListTouchBarItem

func MakeCandidateListTouchBarItem(ptr unsafe.Pointer) CandidateListTouchBarItem

func NewCandidateListTouchBarItem added in v0.13.0

func NewCandidateListTouchBarItem() CandidateListTouchBarItem

func (CandidateListTouchBarItem) AllowsCollapsing added in v0.9.4

func (c_ CandidateListTouchBarItem) AllowsCollapsing() bool

func (CandidateListTouchBarItem) AllowsTextInputContextCandidates added in v0.9.4

func (c_ CandidateListTouchBarItem) AllowsTextInputContextCandidates() bool

func (CandidateListTouchBarItem) Client added in v0.9.4

func (c_ CandidateListTouchBarItem) Client() View

weak property

func (CandidateListTouchBarItem) Delegate added in v0.9.4

func (c_ CandidateListTouchBarItem) Delegate() objc.Object

weak property

func (CandidateListTouchBarItem) Init added in v0.13.0

func (CandidateListTouchBarItem) InitWithIdentifier added in v0.11.0

func (CandidateListTouchBarItem) IsCandidateListVisible added in v0.9.4

func (c_ CandidateListTouchBarItem) IsCandidateListVisible() bool

func (CandidateListTouchBarItem) IsCollapsed added in v0.9.4

func (c_ CandidateListTouchBarItem) IsCollapsed() bool

func (CandidateListTouchBarItem) SetAllowsCollapsing added in v0.9.4

func (c_ CandidateListTouchBarItem) SetAllowsCollapsing(value bool)

func (CandidateListTouchBarItem) SetAllowsTextInputContextCandidates added in v0.9.4

func (c_ CandidateListTouchBarItem) SetAllowsTextInputContextCandidates(value bool)

func (CandidateListTouchBarItem) SetClient added in v0.9.4

func (c_ CandidateListTouchBarItem) SetClient(value IView)

weak property

func (CandidateListTouchBarItem) SetCollapsed added in v0.9.4

func (c_ CandidateListTouchBarItem) SetCollapsed(value bool)

func (CandidateListTouchBarItem) SetCustomizationLabel added in v0.9.4

func (c_ CandidateListTouchBarItem) SetCustomizationLabel(value string)

func (CandidateListTouchBarItem) SetDelegate added in v0.9.4

func (c_ CandidateListTouchBarItem) SetDelegate(value objc.IObject)

weak property

func (CandidateListTouchBarItem) UpdateWithInsertionPointVisibility added in v0.9.4

func (c_ CandidateListTouchBarItem) UpdateWithInsertionPointVisibility(isVisible bool)

type CandidateListTouchBarItemDelegate added in v0.13.0

type CandidateListTouchBarItemDelegate interface {
	ImplementsCandidateListTouchBarItem_BeginSelectingCandidateAtIndex() bool
	// optional
	CandidateListTouchBarItem_BeginSelectingCandidateAtIndex(anItem CandidateListTouchBarItem, index int)
	ImplementsCandidateListTouchBarItem_ChangeSelectionFromCandidateAtIndex_ToIndex() bool
	// optional
	CandidateListTouchBarItem_ChangeSelectionFromCandidateAtIndex_ToIndex(anItem CandidateListTouchBarItem, previousIndex int, index int)
	ImplementsCandidateListTouchBarItem_EndSelectingCandidateAtIndex() bool
	// optional
	CandidateListTouchBarItem_EndSelectingCandidateAtIndex(anItem CandidateListTouchBarItem, index int)
	ImplementsCandidateListTouchBarItem_ChangedCandidateListVisibility() bool
	// optional
	CandidateListTouchBarItem_ChangedCandidateListVisibility(anItem CandidateListTouchBarItem, isVisible bool)
}

type CandidateListTouchBarItemDelegateBase added in v0.18.0

type CandidateListTouchBarItemDelegateBase struct {
}

func (*CandidateListTouchBarItemDelegateBase) CandidateListTouchBarItem_BeginSelectingCandidateAtIndex added in v0.18.0

func (p *CandidateListTouchBarItemDelegateBase) CandidateListTouchBarItem_BeginSelectingCandidateAtIndex(anItem CandidateListTouchBarItem, index int)

func (*CandidateListTouchBarItemDelegateBase) CandidateListTouchBarItem_ChangeSelectionFromCandidateAtIndex_ToIndex added in v0.18.0

func (p *CandidateListTouchBarItemDelegateBase) CandidateListTouchBarItem_ChangeSelectionFromCandidateAtIndex_ToIndex(anItem CandidateListTouchBarItem, previousIndex int, index int)

func (*CandidateListTouchBarItemDelegateBase) CandidateListTouchBarItem_ChangedCandidateListVisibility added in v0.18.0

func (p *CandidateListTouchBarItemDelegateBase) CandidateListTouchBarItem_ChangedCandidateListVisibility(anItem CandidateListTouchBarItem, isVisible bool)

func (*CandidateListTouchBarItemDelegateBase) CandidateListTouchBarItem_EndSelectingCandidateAtIndex added in v0.18.0

func (p *CandidateListTouchBarItemDelegateBase) CandidateListTouchBarItem_EndSelectingCandidateAtIndex(anItem CandidateListTouchBarItem, index int)

func (*CandidateListTouchBarItemDelegateBase) ImplementsCandidateListTouchBarItem_BeginSelectingCandidateAtIndex added in v0.18.0

func (p *CandidateListTouchBarItemDelegateBase) ImplementsCandidateListTouchBarItem_BeginSelectingCandidateAtIndex() bool

func (*CandidateListTouchBarItemDelegateBase) ImplementsCandidateListTouchBarItem_ChangeSelectionFromCandidateAtIndex_ToIndex added in v0.18.0

func (p *CandidateListTouchBarItemDelegateBase) ImplementsCandidateListTouchBarItem_ChangeSelectionFromCandidateAtIndex_ToIndex() bool

func (*CandidateListTouchBarItemDelegateBase) ImplementsCandidateListTouchBarItem_ChangedCandidateListVisibility added in v0.18.0

func (p *CandidateListTouchBarItemDelegateBase) ImplementsCandidateListTouchBarItem_ChangedCandidateListVisibility() bool

func (*CandidateListTouchBarItemDelegateBase) ImplementsCandidateListTouchBarItem_EndSelectingCandidateAtIndex added in v0.18.0

func (p *CandidateListTouchBarItemDelegateBase) ImplementsCandidateListTouchBarItem_EndSelectingCandidateAtIndex() bool

type CandidateListTouchBarItemDelegateCreator added in v0.19.0

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

func NewCandidateListTouchBarItemDelegateCreator added in v0.19.0

func NewCandidateListTouchBarItemDelegateCreator(name string) *CandidateListTouchBarItemDelegateCreator

func (*CandidateListTouchBarItemDelegateCreator) Create added in v0.19.0

func (*CandidateListTouchBarItemDelegateCreator) SetCandidateListTouchBarItem_BeginSelectingCandidateAtIndex added in v0.19.0

func (c *CandidateListTouchBarItemDelegateCreator) SetCandidateListTouchBarItem_BeginSelectingCandidateAtIndex(handle func(o objc.ProtocolBase, anItem CandidateListTouchBarItem, index int))

func (*CandidateListTouchBarItemDelegateCreator) SetCandidateListTouchBarItem_ChangeSelectionFromCandidateAtIndex_ToIndex added in v0.19.0

func (c *CandidateListTouchBarItemDelegateCreator) SetCandidateListTouchBarItem_ChangeSelectionFromCandidateAtIndex_ToIndex(handle func(o objc.ProtocolBase, anItem CandidateListTouchBarItem, previousIndex int, index int))

func (*CandidateListTouchBarItemDelegateCreator) SetCandidateListTouchBarItem_ChangedCandidateListVisibility added in v0.19.0

func (c *CandidateListTouchBarItemDelegateCreator) SetCandidateListTouchBarItem_ChangedCandidateListVisibility(handle func(o objc.ProtocolBase, anItem CandidateListTouchBarItem, isVisible bool))

func (*CandidateListTouchBarItemDelegateCreator) SetCandidateListTouchBarItem_EndSelectingCandidateAtIndex added in v0.19.0

func (c *CandidateListTouchBarItemDelegateCreator) SetCandidateListTouchBarItem_EndSelectingCandidateAtIndex(handle func(o objc.ProtocolBase, anItem CandidateListTouchBarItem, index int))

type Cell

type Cell struct {
	objc.Object
}

func MakeCell

func MakeCell(ptr unsafe.Pointer) Cell

func NewCell

func NewCell() Cell

func (Cell) AcceptsFirstResponder

func (c_ Cell) AcceptsFirstResponder() bool

func (Cell) Action

func (c_ Cell) Action() objc.Selector

func (Cell) Alignment

func (c_ Cell) Alignment() TextAlignment

func (Cell) AllowsEditingTextAttributes

func (c_ Cell) AllowsEditingTextAttributes() bool

func (Cell) AllowsMixedState

func (c_ Cell) AllowsMixedState() bool

func (Cell) AllowsUndo

func (c_ Cell) AllowsUndo() bool

func (Cell) AttributedStringValue

func (c_ Cell) AttributedStringValue() foundation.AttributedString

func (Cell) BackgroundStyle

func (c_ Cell) BackgroundStyle() BackgroundStyle

func (Cell) BaseWritingDirection

func (c_ Cell) BaseWritingDirection() WritingDirection

func (Cell) CalcDrawInfo

func (c_ Cell) CalcDrawInfo(rect foundation.Rect)

func (Cell) CellAttribute

func (c_ Cell) CellAttribute(parameter CellAttribute) int

func (Cell) CellSize

func (c_ Cell) CellSize() foundation.Size

func (Cell) CellSizeForBounds

func (c_ Cell) CellSizeForBounds(rect foundation.Rect) foundation.Size

func (Cell) Compare

func (c_ Cell) Compare(otherCell objc.IObject) foundation.ComparisonResult

func (Cell) ContinueTracking_At_InView

func (c_ Cell) ContinueTracking_At_InView(lastPoint foundation.Point, currentPoint foundation.Point, controlView IView) bool

func (Cell) ControlSize

func (c_ Cell) ControlSize() ControlSize

func (Cell) ControlTint added in v0.14.5

func (c_ Cell) ControlTint() ControlTint

deprecated

func (Cell) ControlView

func (c_ Cell) ControlView() View

weak property

func (Cell) DoubleValue

func (c_ Cell) DoubleValue() float64

func (Cell) DraggingImageComponentsWithFrame_InView

func (c_ Cell) DraggingImageComponentsWithFrame_InView(frame foundation.Rect, view IView) []DraggingImageComponent

func (Cell) DrawFocusRingMaskWithFrame_InView

func (c_ Cell) DrawFocusRingMaskWithFrame_InView(cellFrame foundation.Rect, controlView IView)

func (Cell) DrawInteriorWithFrame_InView

func (c_ Cell) DrawInteriorWithFrame_InView(cellFrame foundation.Rect, controlView IView)

func (Cell) DrawWithExpansionFrame_InView

func (c_ Cell) DrawWithExpansionFrame_InView(cellFrame foundation.Rect, view IView)

func (Cell) DrawWithFrame_InView

func (c_ Cell) DrawWithFrame_InView(cellFrame foundation.Rect, controlView IView)

func (Cell) DrawingRectForBounds

func (c_ Cell) DrawingRectForBounds(rect foundation.Rect) foundation.Rect

func (Cell) EditWithFrame_InView_Editor_Delegate_Event

func (c_ Cell) EditWithFrame_InView_Editor_Delegate_Event(rect foundation.Rect, controlView IView, textObj IText, delegate objc.IObject, event IEvent)

func (Cell) EndEditing

func (c_ Cell) EndEditing(textObj IText)

func (Cell) EntryType added in v0.14.5

func (c_ Cell) EntryType() int

deprecated

func (Cell) ExpansionFrameWithFrame_InView

func (c_ Cell) ExpansionFrameWithFrame_InView(cellFrame foundation.Rect, view IView) foundation.Rect

func (Cell) FieldEditorForView

func (c_ Cell) FieldEditorForView(controlView IView) TextView

func (Cell) FloatValue

func (c_ Cell) FloatValue() float32

func (Cell) FocusRingMaskBoundsForFrame_InView

func (c_ Cell) FocusRingMaskBoundsForFrame_InView(cellFrame foundation.Rect, controlView IView) foundation.Rect

func (Cell) FocusRingType

func (c_ Cell) FocusRingType() FocusRingType

func (Cell) Font

func (c_ Cell) Font() Font

func (Cell) Formatter

func (c_ Cell) Formatter() foundation.Formatter

func (Cell) GetPeriodicDelay_Interval added in v0.13.4

func (c_ Cell) GetPeriodicDelay_Interval(delay *float32, interval *float32)

func (Cell) HasValidObjectValue

func (c_ Cell) HasValidObjectValue() bool

func (Cell) HighlightColorWithFrame_InView

func (c_ Cell) HighlightColorWithFrame_InView(cellFrame foundation.Rect, controlView IView) Color

func (Cell) Highlight_WithFrame_InView

func (c_ Cell) Highlight_WithFrame_InView(flag bool, cellFrame foundation.Rect, controlView IView)

func (Cell) HitTestForEvent_InRect_OfView

func (c_ Cell) HitTestForEvent_InRect_OfView(event IEvent, cellFrame foundation.Rect, controlView IView) CellHitResult

func (Cell) Image

func (c_ Cell) Image() Image

func (Cell) ImageRectForBounds

func (c_ Cell) ImageRectForBounds(rect foundation.Rect) foundation.Rect

func (Cell) ImportsGraphics

func (c_ Cell) ImportsGraphics() bool

func (Cell) Init added in v0.11.0

func (c_ Cell) Init() Cell

func (Cell) InitImageCell added in v0.11.0

func (c_ Cell) InitImageCell(image IImage) Cell

func (Cell) InitTextCell added in v0.11.0

func (c_ Cell) InitTextCell(string_ string) Cell

func (Cell) IntValue added in v0.10.1

func (c_ Cell) IntValue() int32

func (Cell) IntegerValue

func (c_ Cell) IntegerValue() int

func (Cell) InteriorBackgroundStyle

func (c_ Cell) InteriorBackgroundStyle() BackgroundStyle

func (Cell) IsBezeled

func (c_ Cell) IsBezeled() bool

func (Cell) IsBordered

func (c_ Cell) IsBordered() bool

func (Cell) IsContinuous

func (c_ Cell) IsContinuous() bool

func (Cell) IsEditable

func (c_ Cell) IsEditable() bool

func (Cell) IsEnabled

func (c_ Cell) IsEnabled() bool

func (Cell) IsEntryAcceptable added in v0.14.5

func (c_ Cell) IsEntryAcceptable(string_ string) bool

deprecated

func (Cell) IsHighlighted

func (c_ Cell) IsHighlighted() bool

func (Cell) IsOpaque

func (c_ Cell) IsOpaque() bool

func (Cell) IsScrollable

func (c_ Cell) IsScrollable() bool

func (Cell) IsSelectable

func (c_ Cell) IsSelectable() bool

func (Cell) KeyEquivalent

func (c_ Cell) KeyEquivalent() string

func (Cell) LineBreakMode

func (c_ Cell) LineBreakMode() LineBreakMode

func (Cell) Menu

func (c_ Cell) Menu() Menu

func (Cell) MenuForEvent_InRect_OfView

func (c_ Cell) MenuForEvent_InRect_OfView(event IEvent, cellFrame foundation.Rect, view IView) Menu

func (Cell) Mnemonic added in v0.14.5

func (c_ Cell) Mnemonic() string

deprecated

func (Cell) MnemonicLocation added in v0.14.5

func (c_ Cell) MnemonicLocation() uint

deprecated

func (Cell) MouseDownFlags

func (c_ Cell) MouseDownFlags() int

func (Cell) NextState

func (c_ Cell) NextState() int

func (Cell) ObjectValue

func (c_ Cell) ObjectValue() objc.Object

func (Cell) PerformClick

func (c_ Cell) PerformClick(sender objc.IObject)

func (Cell) RefusesFirstResponder

func (c_ Cell) RefusesFirstResponder() bool

func (Cell) RepresentedObject

func (c_ Cell) RepresentedObject() objc.Object

func (Cell) ResetCursorRect_InView

func (c_ Cell) ResetCursorRect_InView(cellFrame foundation.Rect, controlView IView)

func (Cell) SelectWithFrame_InView_Editor_Delegate_Start_Length

func (c_ Cell) SelectWithFrame_InView_Editor_Delegate_Start_Length(rect foundation.Rect, controlView IView, textObj IText, delegate objc.IObject, selStart int, selLength int)

func (Cell) SendActionOn added in v0.13.6

func (c_ Cell) SendActionOn(mask EventMask) int

func (Cell) SendsActionOnEndEditing

func (c_ Cell) SendsActionOnEndEditing() bool

func (Cell) SetAction

func (c_ Cell) SetAction(value objc.Selector)

func (Cell) SetAlignment

func (c_ Cell) SetAlignment(value TextAlignment)

func (Cell) SetAllowsEditingTextAttributes

func (c_ Cell) SetAllowsEditingTextAttributes(value bool)

func (Cell) SetAllowsMixedState

func (c_ Cell) SetAllowsMixedState(value bool)

func (Cell) SetAllowsUndo

func (c_ Cell) SetAllowsUndo(value bool)

func (Cell) SetAttributedStringValue

func (c_ Cell) SetAttributedStringValue(value foundation.IAttributedString)

func (Cell) SetBackgroundStyle

func (c_ Cell) SetBackgroundStyle(value BackgroundStyle)

func (Cell) SetBaseWritingDirection

func (c_ Cell) SetBaseWritingDirection(value WritingDirection)

func (Cell) SetBezeled

func (c_ Cell) SetBezeled(value bool)

func (Cell) SetBordered

func (c_ Cell) SetBordered(value bool)

func (Cell) SetCellAttribute_To

func (c_ Cell) SetCellAttribute_To(parameter CellAttribute, value int)

func (Cell) SetContinuous

func (c_ Cell) SetContinuous(value bool)

func (Cell) SetControlSize

func (c_ Cell) SetControlSize(value ControlSize)

func (Cell) SetControlTint added in v0.14.5

func (c_ Cell) SetControlTint(value ControlTint)

deprecated

func (Cell) SetControlView

func (c_ Cell) SetControlView(value IView)

weak property

func (Cell) SetDoubleValue

func (c_ Cell) SetDoubleValue(value float64)

func (Cell) SetEditable

func (c_ Cell) SetEditable(value bool)

func (Cell) SetEnabled

func (c_ Cell) SetEnabled(value bool)

func (Cell) SetEntryType added in v0.14.5

func (c_ Cell) SetEntryType(type_ int)

deprecated

func (Cell) SetFloatValue

func (c_ Cell) SetFloatValue(value float32)

func (Cell) SetFloatingPointFormat_Left_Right added in v0.14.5

func (c_ Cell) SetFloatingPointFormat_Left_Right(autoRange bool, leftDigits uint, rightDigits uint)

deprecated

func (Cell) SetFocusRingType

func (c_ Cell) SetFocusRingType(value FocusRingType)

func (Cell) SetFont

func (c_ Cell) SetFont(value IFont)

func (Cell) SetFormatter

func (c_ Cell) SetFormatter(value foundation.IFormatter)

func (Cell) SetHighlighted

func (c_ Cell) SetHighlighted(value bool)

func (Cell) SetImage

func (c_ Cell) SetImage(value IImage)

func (Cell) SetImportsGraphics

func (c_ Cell) SetImportsGraphics(value bool)

func (Cell) SetIntValue added in v0.10.1

func (c_ Cell) SetIntValue(value int32)

func (Cell) SetIntegerValue

func (c_ Cell) SetIntegerValue(value int)

func (Cell) SetLineBreakMode

func (c_ Cell) SetLineBreakMode(value LineBreakMode)

func (Cell) SetMenu

func (c_ Cell) SetMenu(value IMenu)

func (Cell) SetMnemonicLocation added in v0.14.5

func (c_ Cell) SetMnemonicLocation(location uint)

deprecated

func (Cell) SetNextState

func (c_ Cell) SetNextState()

func (Cell) SetObjectValue

func (c_ Cell) SetObjectValue(value objc.IObject)

func (Cell) SetRefusesFirstResponder

func (c_ Cell) SetRefusesFirstResponder(value bool)

func (Cell) SetRepresentedObject

func (c_ Cell) SetRepresentedObject(value objc.IObject)

func (Cell) SetScrollable

func (c_ Cell) SetScrollable(value bool)

func (Cell) SetSelectable

func (c_ Cell) SetSelectable(value bool)

func (Cell) SetSendsActionOnEndEditing

func (c_ Cell) SetSendsActionOnEndEditing(value bool)

func (Cell) SetShowsFirstResponder

func (c_ Cell) SetShowsFirstResponder(value bool)

func (Cell) SetState

func (c_ Cell) SetState(value ControlStateValue)

func (Cell) SetStringValue

func (c_ Cell) SetStringValue(value string)

func (Cell) SetTag

func (c_ Cell) SetTag(value int)

func (Cell) SetTarget

func (c_ Cell) SetTarget(value objc.IObject)

weak property

func (Cell) SetTitle

func (c_ Cell) SetTitle(value string)

func (Cell) SetTitleWithMnemonic added in v0.14.5

func (c_ Cell) SetTitleWithMnemonic(stringWithAmpersand string)

deprecated

func (Cell) SetTruncatesLastVisibleLine

func (c_ Cell) SetTruncatesLastVisibleLine(value bool)

func (Cell) SetType

func (c_ Cell) SetType(value CellType)

func (Cell) SetUpFieldEditorAttributes

func (c_ Cell) SetUpFieldEditorAttributes(textObj IText) Text

func (Cell) SetUserInterfaceLayoutDirection

func (c_ Cell) SetUserInterfaceLayoutDirection(value UserInterfaceLayoutDirection)

func (Cell) SetUsesSingleLineMode

func (c_ Cell) SetUsesSingleLineMode(value bool)

func (Cell) SetWraps

func (c_ Cell) SetWraps(value bool)

func (Cell) ShowsFirstResponder

func (c_ Cell) ShowsFirstResponder() bool

func (Cell) StartTrackingAt_InView

func (c_ Cell) StartTrackingAt_InView(startPoint foundation.Point, controlView IView) bool

func (Cell) State

func (c_ Cell) State() ControlStateValue

func (Cell) StopTracking_At_InView_MouseIsUp

func (c_ Cell) StopTracking_At_InView_MouseIsUp(lastPoint foundation.Point, stopPoint foundation.Point, controlView IView, flag bool)

func (Cell) StringValue

func (c_ Cell) StringValue() string

func (Cell) Tag

func (c_ Cell) Tag() int

func (Cell) TakeDoubleValueFrom

func (c_ Cell) TakeDoubleValueFrom(sender objc.IObject)

func (Cell) TakeFloatValueFrom

func (c_ Cell) TakeFloatValueFrom(sender objc.IObject)

func (Cell) TakeIntValueFrom

func (c_ Cell) TakeIntValueFrom(sender objc.IObject)

func (Cell) TakeIntegerValueFrom

func (c_ Cell) TakeIntegerValueFrom(sender objc.IObject)

func (Cell) TakeObjectValueFrom

func (c_ Cell) TakeObjectValueFrom(sender objc.IObject)

func (Cell) TakeStringValueFrom

func (c_ Cell) TakeStringValueFrom(sender objc.IObject)

func (Cell) Target

func (c_ Cell) Target() objc.Object

weak property

func (Cell) Title

func (c_ Cell) Title() string

func (Cell) TitleRectForBounds

func (c_ Cell) TitleRectForBounds(rect foundation.Rect) foundation.Rect

func (Cell) TrackMouse_InRect_OfView_UntilMouseUp

func (c_ Cell) TrackMouse_InRect_OfView_UntilMouseUp(event IEvent, cellFrame foundation.Rect, controlView IView, flag bool) bool

func (Cell) TruncatesLastVisibleLine

func (c_ Cell) TruncatesLastVisibleLine() bool

func (Cell) Type

func (c_ Cell) Type() CellType

func (Cell) UserInterfaceLayoutDirection

func (c_ Cell) UserInterfaceLayoutDirection() UserInterfaceLayoutDirection

func (Cell) UsesSingleLineMode

func (c_ Cell) UsesSingleLineMode() bool

func (Cell) WantsNotificationForMarkedText

func (c_ Cell) WantsNotificationForMarkedText() bool

func (Cell) Wraps

func (c_ Cell) Wraps() bool

type CellAttribute

type CellAttribute uint
const CellAllowsMixedState CellAttribute = 16
const CellChangesContents CellAttribute = 14
const CellDisabled CellAttribute = 0
const CellEditable CellAttribute = 3
const CellHasImageHorizontal CellAttribute = 12
const CellHasImageOnLeftOrBottom CellAttribute = 13
const CellHasOverlappingImage CellAttribute = 11
const CellHighlighted CellAttribute = 5
const CellIsBordered CellAttribute = 10
const CellIsInsetButton CellAttribute = 15
const CellLightsByBackground CellAttribute = 9
const CellLightsByContents CellAttribute = 6
const CellLightsByGray CellAttribute = 7
const CellState CellAttribute = 1
const ChangeBackgroundCell CellAttribute = 8
const ChangeGrayCell CellAttribute = 4
const PushInCell CellAttribute = 2

type CellHitResult

type CellHitResult uint
const CellHitContentArea CellHitResult = 1
const CellHitEditableTextArea CellHitResult = 2
const CellHitNone CellHitResult = 0
const CellHitTrackableArea CellHitResult = 4

type CellImagePosition

type CellImagePosition uint
const ImageAbove CellImagePosition = 5
const ImageBelow CellImagePosition = 4
const ImageLeading CellImagePosition = 7
const ImageLeft CellImagePosition = 2
const ImageOnly CellImagePosition = 1
const ImageOverlaps CellImagePosition = 6
const ImageRight CellImagePosition = 3
const ImageTrailing CellImagePosition = 8
const NoImage CellImagePosition = 0

type CellStyleMask

type CellStyleMask uint
const ChangeBackgroundCellMask CellStyleMask = 8
const ChangeGrayCellMask CellStyleMask = 4
const ContentsCellMask CellStyleMask = 1
const NoCellMask CellStyleMask = 0
const PushInCellMask CellStyleMask = 2

type CellType

type CellType uint
const ImageCellType CellType = 2
const NullCellType CellType = 0
const TextCellType CellType = 1

type ClipView

type ClipView struct {
	View
}

func MakeClipView

func MakeClipView(ptr unsafe.Pointer) ClipView

func NewClipView

func NewClipView() ClipView

func (ClipView) AutomaticallyAdjustsContentInsets

func (c_ ClipView) AutomaticallyAdjustsContentInsets() bool

func (ClipView) BackgroundColor

func (c_ ClipView) BackgroundColor() Color

func (ClipView) ConstrainBoundsRect

func (c_ ClipView) ConstrainBoundsRect(proposedBounds foundation.Rect) foundation.Rect

func (ClipView) ConstrainScrollPoint added in v0.14.5

func (c_ ClipView) ConstrainScrollPoint(newOrigin foundation.Point) foundation.Point

deprecated

func (ClipView) ContentInsets

func (c_ ClipView) ContentInsets() foundation.EdgeInsets

func (ClipView) CopiesOnScroll added in v0.14.5

func (c_ ClipView) CopiesOnScroll() bool

deprecated

func (ClipView) DocumentCursor

func (c_ ClipView) DocumentCursor() Cursor

func (ClipView) DocumentRect

func (c_ ClipView) DocumentRect() foundation.Rect

func (ClipView) DocumentView

func (c_ ClipView) DocumentView() View

func (ClipView) DocumentVisibleRect

func (c_ ClipView) DocumentVisibleRect() foundation.Rect

func (ClipView) DrawsBackground

func (c_ ClipView) DrawsBackground() bool

func (ClipView) Init added in v0.11.0

func (c_ ClipView) Init() ClipView

func (ClipView) InitWithFrame added in v0.11.0

func (c_ ClipView) InitWithFrame(frameRect foundation.Rect) ClipView

func (ClipView) ScrollToPoint

func (c_ ClipView) ScrollToPoint(newOrigin foundation.Point)

func (ClipView) SetAutomaticallyAdjustsContentInsets

func (c_ ClipView) SetAutomaticallyAdjustsContentInsets(value bool)

func (ClipView) SetBackgroundColor

func (c_ ClipView) SetBackgroundColor(value IColor)

func (ClipView) SetContentInsets

func (c_ ClipView) SetContentInsets(value foundation.EdgeInsets)

func (ClipView) SetCopiesOnScroll added in v0.14.5

func (c_ ClipView) SetCopiesOnScroll(value bool)

deprecated

func (ClipView) SetDocumentCursor

func (c_ ClipView) SetDocumentCursor(value ICursor)

func (ClipView) SetDocumentView

func (c_ ClipView) SetDocumentView(value IView)

func (ClipView) SetDrawsBackground

func (c_ ClipView) SetDrawsBackground(value bool)

func (ClipView) ViewBoundsChanged

func (c_ ClipView) ViewBoundsChanged(notification foundation.INotification)

func (ClipView) ViewFrameChanged

func (c_ ClipView) ViewFrameChanged(notification foundation.INotification)

type CollectionElementCategory

type CollectionElementCategory int
const CollectionElementCategoryDecorationView CollectionElementCategory = 2
const CollectionElementCategoryInterItemGap CollectionElementCategory = 3
const CollectionElementCategoryItem CollectionElementCategory = 0
const CollectionElementCategorySupplementaryView CollectionElementCategory = 1

type CollectionLayoutAnchor

type CollectionLayoutAnchor struct {
	objc.Object
}

func MakeCollectionLayoutAnchor

func MakeCollectionLayoutAnchor(ptr unsafe.Pointer) CollectionLayoutAnchor

func NewCollectionLayoutAnchor added in v0.13.0

func NewCollectionLayoutAnchor() CollectionLayoutAnchor

func (CollectionLayoutAnchor) Edges

func (CollectionLayoutAnchor) Init added in v0.13.0

func (CollectionLayoutAnchor) IsAbsoluteOffset

func (c_ CollectionLayoutAnchor) IsAbsoluteOffset() bool

func (CollectionLayoutAnchor) IsFractionalOffset

func (c_ CollectionLayoutAnchor) IsFractionalOffset() bool

func (CollectionLayoutAnchor) Offset

type CollectionLayoutBoundarySupplementaryItem

type CollectionLayoutBoundarySupplementaryItem struct {
	CollectionLayoutSupplementaryItem
}

func NewCollectionLayoutBoundarySupplementaryItem added in v0.13.0

func NewCollectionLayoutBoundarySupplementaryItem() CollectionLayoutBoundarySupplementaryItem

func (CollectionLayoutBoundarySupplementaryItem) Alignment

func (CollectionLayoutBoundarySupplementaryItem) ExtendsBoundary

func (c_ CollectionLayoutBoundarySupplementaryItem) ExtendsBoundary() bool

func (CollectionLayoutBoundarySupplementaryItem) Init added in v0.13.0

func (CollectionLayoutBoundarySupplementaryItem) Offset

func (CollectionLayoutBoundarySupplementaryItem) PinToVisibleBounds

func (c_ CollectionLayoutBoundarySupplementaryItem) PinToVisibleBounds() bool

func (CollectionLayoutBoundarySupplementaryItem) SetExtendsBoundary

func (c_ CollectionLayoutBoundarySupplementaryItem) SetExtendsBoundary(value bool)

func (CollectionLayoutBoundarySupplementaryItem) SetPinToVisibleBounds

func (c_ CollectionLayoutBoundarySupplementaryItem) SetPinToVisibleBounds(value bool)

type CollectionLayoutContainer added in v0.16.0

type CollectionLayoutContainer interface {
	ImplementsContentSize() bool
	// optional
	ContentSize() foundation.Size
	ImplementsEffectiveContentSize() bool
	// optional
	EffectiveContentSize() foundation.Size
	ImplementsContentInsets() bool
	// optional
	ContentInsets() DirectionalEdgeInsets
	ImplementsEffectiveContentInsets() bool
	// optional
	EffectiveContentInsets() DirectionalEdgeInsets
}

type CollectionLayoutContainerBase added in v0.18.0

type CollectionLayoutContainerBase struct {
}

func (*CollectionLayoutContainerBase) ContentInsets added in v0.18.0

func (*CollectionLayoutContainerBase) ContentSize added in v0.18.0

func (*CollectionLayoutContainerBase) EffectiveContentInsets added in v0.18.0

func (p *CollectionLayoutContainerBase) EffectiveContentInsets() DirectionalEdgeInsets

func (*CollectionLayoutContainerBase) EffectiveContentSize added in v0.18.0

func (p *CollectionLayoutContainerBase) EffectiveContentSize() foundation.Size

func (*CollectionLayoutContainerBase) ImplementsContentInsets added in v0.18.0

func (p *CollectionLayoutContainerBase) ImplementsContentInsets() bool

func (*CollectionLayoutContainerBase) ImplementsContentSize added in v0.18.0

func (p *CollectionLayoutContainerBase) ImplementsContentSize() bool

func (*CollectionLayoutContainerBase) ImplementsEffectiveContentInsets added in v0.18.0

func (p *CollectionLayoutContainerBase) ImplementsEffectiveContentInsets() bool

func (*CollectionLayoutContainerBase) ImplementsEffectiveContentSize added in v0.18.0

func (p *CollectionLayoutContainerBase) ImplementsEffectiveContentSize() bool

type CollectionLayoutDecorationItem

type CollectionLayoutDecorationItem struct {
	CollectionLayoutItem
}

func MakeCollectionLayoutDecorationItem

func MakeCollectionLayoutDecorationItem(ptr unsafe.Pointer) CollectionLayoutDecorationItem

func NewCollectionLayoutDecorationItem added in v0.13.0

func NewCollectionLayoutDecorationItem() CollectionLayoutDecorationItem

func (CollectionLayoutDecorationItem) ElementKind

func (c_ CollectionLayoutDecorationItem) ElementKind() string

func (CollectionLayoutDecorationItem) Init added in v0.13.0

func (CollectionLayoutDecorationItem) SetZIndex

func (c_ CollectionLayoutDecorationItem) SetZIndex(value int)

func (CollectionLayoutDecorationItem) ZIndex

func (c_ CollectionLayoutDecorationItem) ZIndex() int

type CollectionLayoutDimension

type CollectionLayoutDimension struct {
	objc.Object
}

func MakeCollectionLayoutDimension

func MakeCollectionLayoutDimension(ptr unsafe.Pointer) CollectionLayoutDimension

func NewCollectionLayoutDimension added in v0.13.0

func NewCollectionLayoutDimension() CollectionLayoutDimension

func (CollectionLayoutDimension) Dimension

func (c_ CollectionLayoutDimension) Dimension() float64

func (CollectionLayoutDimension) Init added in v0.13.0

func (CollectionLayoutDimension) IsAbsolute

func (c_ CollectionLayoutDimension) IsAbsolute() bool

func (CollectionLayoutDimension) IsEstimated

func (c_ CollectionLayoutDimension) IsEstimated() bool

func (CollectionLayoutDimension) IsFractionalHeight

func (c_ CollectionLayoutDimension) IsFractionalHeight() bool

func (CollectionLayoutDimension) IsFractionalWidth

func (c_ CollectionLayoutDimension) IsFractionalWidth() bool

type CollectionLayoutEdgeSpacing

type CollectionLayoutEdgeSpacing struct {
	objc.Object
}

func MakeCollectionLayoutEdgeSpacing

func MakeCollectionLayoutEdgeSpacing(ptr unsafe.Pointer) CollectionLayoutEdgeSpacing

func NewCollectionLayoutEdgeSpacing added in v0.13.0

func NewCollectionLayoutEdgeSpacing() CollectionLayoutEdgeSpacing

func (CollectionLayoutEdgeSpacing) Bottom

func (CollectionLayoutEdgeSpacing) Init added in v0.13.0

func (CollectionLayoutEdgeSpacing) Leading

func (CollectionLayoutEdgeSpacing) Top

func (CollectionLayoutEdgeSpacing) Trailing

type CollectionLayoutEnvironment added in v0.16.0

type CollectionLayoutEnvironment interface {
	ImplementsContainer() bool
	// optional
	Container() objc.IObject
}

type CollectionLayoutEnvironmentBase added in v0.18.0

type CollectionLayoutEnvironmentBase struct {
}

func (*CollectionLayoutEnvironmentBase) Container added in v0.18.0

func (*CollectionLayoutEnvironmentBase) ImplementsContainer added in v0.18.0

func (p *CollectionLayoutEnvironmentBase) ImplementsContainer() bool

type CollectionLayoutGroup

type CollectionLayoutGroup struct {
	CollectionLayoutItem
}

func MakeCollectionLayoutGroup

func MakeCollectionLayoutGroup(ptr unsafe.Pointer) CollectionLayoutGroup

func NewCollectionLayoutGroup added in v0.13.0

func NewCollectionLayoutGroup() CollectionLayoutGroup

func (CollectionLayoutGroup) Init added in v0.13.0

func (CollectionLayoutGroup) InterItemSpacing

func (c_ CollectionLayoutGroup) InterItemSpacing() CollectionLayoutSpacing

func (CollectionLayoutGroup) SetInterItemSpacing

func (c_ CollectionLayoutGroup) SetInterItemSpacing(value ICollectionLayoutSpacing)

func (CollectionLayoutGroup) SetSupplementaryItems

func (c_ CollectionLayoutGroup) SetSupplementaryItems(value []ICollectionLayoutSupplementaryItem)

func (CollectionLayoutGroup) Subitems

func (CollectionLayoutGroup) VisualDescription

func (c_ CollectionLayoutGroup) VisualDescription() string

type CollectionLayoutGroupCustomItem

type CollectionLayoutGroupCustomItem struct {
	objc.Object
}

func MakeCollectionLayoutGroupCustomItem

func MakeCollectionLayoutGroupCustomItem(ptr unsafe.Pointer) CollectionLayoutGroupCustomItem

func NewCollectionLayoutGroupCustomItem added in v0.13.0

func NewCollectionLayoutGroupCustomItem() CollectionLayoutGroupCustomItem

func (CollectionLayoutGroupCustomItem) Frame

func (CollectionLayoutGroupCustomItem) Init added in v0.13.0

func (CollectionLayoutGroupCustomItem) ZIndex

type CollectionLayoutItem

type CollectionLayoutItem struct {
	objc.Object
}

func MakeCollectionLayoutItem

func MakeCollectionLayoutItem(ptr unsafe.Pointer) CollectionLayoutItem

func NewCollectionLayoutItem added in v0.13.0

func NewCollectionLayoutItem() CollectionLayoutItem

func (CollectionLayoutItem) ContentInsets

func (c_ CollectionLayoutItem) ContentInsets() DirectionalEdgeInsets

func (CollectionLayoutItem) EdgeSpacing

func (CollectionLayoutItem) Init added in v0.13.0

func (CollectionLayoutItem) LayoutSize

func (CollectionLayoutItem) SetContentInsets

func (c_ CollectionLayoutItem) SetContentInsets(value DirectionalEdgeInsets)

func (CollectionLayoutItem) SetEdgeSpacing

func (c_ CollectionLayoutItem) SetEdgeSpacing(value ICollectionLayoutEdgeSpacing)

func (CollectionLayoutItem) SupplementaryItems

func (c_ CollectionLayoutItem) SupplementaryItems() []CollectionLayoutSupplementaryItem

type CollectionLayoutSection

type CollectionLayoutSection struct {
	objc.Object
}

func MakeCollectionLayoutSection

func MakeCollectionLayoutSection(ptr unsafe.Pointer) CollectionLayoutSection

func NewCollectionLayoutSection added in v0.13.0

func NewCollectionLayoutSection() CollectionLayoutSection

func (CollectionLayoutSection) BoundarySupplementaryItems

func (c_ CollectionLayoutSection) BoundarySupplementaryItems() []CollectionLayoutBoundarySupplementaryItem

func (CollectionLayoutSection) ContentInsets

func (CollectionLayoutSection) DecorationItems

func (CollectionLayoutSection) Init added in v0.13.0

func (CollectionLayoutSection) InterGroupSpacing

func (c_ CollectionLayoutSection) InterGroupSpacing() float64

func (CollectionLayoutSection) OrthogonalScrollingBehavior

func (CollectionLayoutSection) SetBoundarySupplementaryItems

func (c_ CollectionLayoutSection) SetBoundarySupplementaryItems(value []ICollectionLayoutBoundarySupplementaryItem)

func (CollectionLayoutSection) SetContentInsets

func (c_ CollectionLayoutSection) SetContentInsets(value DirectionalEdgeInsets)

func (CollectionLayoutSection) SetDecorationItems

func (c_ CollectionLayoutSection) SetDecorationItems(value []ICollectionLayoutDecorationItem)

func (CollectionLayoutSection) SetInterGroupSpacing

func (c_ CollectionLayoutSection) SetInterGroupSpacing(value float64)

func (CollectionLayoutSection) SetOrthogonalScrollingBehavior

func (c_ CollectionLayoutSection) SetOrthogonalScrollingBehavior(value CollectionLayoutSectionOrthogonalScrollingBehavior)

func (CollectionLayoutSection) SetSupplementariesFollowContentInsets

func (c_ CollectionLayoutSection) SetSupplementariesFollowContentInsets(value bool)

func (CollectionLayoutSection) SupplementariesFollowContentInsets

func (c_ CollectionLayoutSection) SupplementariesFollowContentInsets() bool

type CollectionLayoutSectionOrthogonalScrollingBehavior

type CollectionLayoutSectionOrthogonalScrollingBehavior int
const CollectionLayoutSectionOrthogonalScrollingBehaviorContinuous CollectionLayoutSectionOrthogonalScrollingBehavior = 1
const CollectionLayoutSectionOrthogonalScrollingBehaviorContinuousGroupLeadingBoundary CollectionLayoutSectionOrthogonalScrollingBehavior = 2
const CollectionLayoutSectionOrthogonalScrollingBehaviorGroupPaging CollectionLayoutSectionOrthogonalScrollingBehavior = 4
const CollectionLayoutSectionOrthogonalScrollingBehaviorGroupPagingCentered CollectionLayoutSectionOrthogonalScrollingBehavior = 5
const CollectionLayoutSectionOrthogonalScrollingBehaviorNone CollectionLayoutSectionOrthogonalScrollingBehavior = 0
const CollectionLayoutSectionOrthogonalScrollingBehaviorPaging CollectionLayoutSectionOrthogonalScrollingBehavior = 3

type CollectionLayoutSize

type CollectionLayoutSize struct {
	objc.Object
}

func MakeCollectionLayoutSize

func MakeCollectionLayoutSize(ptr unsafe.Pointer) CollectionLayoutSize

func NewCollectionLayoutSize added in v0.13.0

func NewCollectionLayoutSize() CollectionLayoutSize

func (CollectionLayoutSize) HeightDimension

func (c_ CollectionLayoutSize) HeightDimension() CollectionLayoutDimension

func (CollectionLayoutSize) Init added in v0.13.0

func (CollectionLayoutSize) WidthDimension

func (c_ CollectionLayoutSize) WidthDimension() CollectionLayoutDimension

type CollectionLayoutSpacing

type CollectionLayoutSpacing struct {
	objc.Object
}

func MakeCollectionLayoutSpacing

func MakeCollectionLayoutSpacing(ptr unsafe.Pointer) CollectionLayoutSpacing

func NewCollectionLayoutSpacing added in v0.13.0

func NewCollectionLayoutSpacing() CollectionLayoutSpacing

func (CollectionLayoutSpacing) Init added in v0.13.0

func (CollectionLayoutSpacing) IsFixedSpacing

func (c_ CollectionLayoutSpacing) IsFixedSpacing() bool

func (CollectionLayoutSpacing) IsFlexibleSpacing

func (c_ CollectionLayoutSpacing) IsFlexibleSpacing() bool

func (CollectionLayoutSpacing) Spacing

func (c_ CollectionLayoutSpacing) Spacing() float64

type CollectionLayoutSupplementaryItem

type CollectionLayoutSupplementaryItem struct {
	CollectionLayoutItem
}

func MakeCollectionLayoutSupplementaryItem

func MakeCollectionLayoutSupplementaryItem(ptr unsafe.Pointer) CollectionLayoutSupplementaryItem

func NewCollectionLayoutSupplementaryItem added in v0.13.0

func NewCollectionLayoutSupplementaryItem() CollectionLayoutSupplementaryItem

func (CollectionLayoutSupplementaryItem) ContainerAnchor

func (CollectionLayoutSupplementaryItem) ElementKind

func (c_ CollectionLayoutSupplementaryItem) ElementKind() string

func (CollectionLayoutSupplementaryItem) Init added in v0.13.0

func (CollectionLayoutSupplementaryItem) ItemAnchor

func (CollectionLayoutSupplementaryItem) SetZIndex

func (c_ CollectionLayoutSupplementaryItem) SetZIndex(value int)

func (CollectionLayoutSupplementaryItem) ZIndex

type CollectionUpdateAction

type CollectionUpdateAction int
const CollectionUpdateActionDelete CollectionUpdateAction = 1
const CollectionUpdateActionInsert CollectionUpdateAction = 0
const CollectionUpdateActionMove CollectionUpdateAction = 3
const CollectionUpdateActionNone CollectionUpdateAction = 4
const CollectionUpdateActionReload CollectionUpdateAction = 2

type CollectionView

type CollectionView struct {
	View
}

func MakeCollectionView

func MakeCollectionView(ptr unsafe.Pointer) CollectionView

func NewCollectionView

func NewCollectionView() CollectionView

func (CollectionView) AllowsEmptySelection

func (c_ CollectionView) AllowsEmptySelection() bool

func (CollectionView) AllowsMultipleSelection

func (c_ CollectionView) AllowsMultipleSelection() bool

func (CollectionView) BackgroundColors

func (c_ CollectionView) BackgroundColors() []Color

func (CollectionView) BackgroundView

func (c_ CollectionView) BackgroundView() View

func (CollectionView) BackgroundViewScrollsWithContent

func (c_ CollectionView) BackgroundViewScrollsWithContent() bool

func (CollectionView) CollectionViewLayout

func (c_ CollectionView) CollectionViewLayout() CollectionViewLayout

func (CollectionView) Content

func (c_ CollectionView) Content() []objc.Object

func (CollectionView) DataSource

func (c_ CollectionView) DataSource() objc.Object

weak property

func (CollectionView) Delegate

func (c_ CollectionView) Delegate() objc.Object

weak property

func (CollectionView) DeleteItemsAtIndexPaths

func (c_ CollectionView) DeleteItemsAtIndexPaths(indexPaths foundation.ISet)

func (CollectionView) DeleteSections

func (c_ CollectionView) DeleteSections(sections foundation.IIndexSet)

func (CollectionView) DeselectAll

func (c_ CollectionView) DeselectAll(sender objc.IObject)

func (CollectionView) DeselectItemsAtIndexPaths

func (c_ CollectionView) DeselectItemsAtIndexPaths(indexPaths foundation.ISet)

func (CollectionView) DraggingImageForItemsAtIndexPaths_WithEvent_Offset added in v0.14.3

func (c_ CollectionView) DraggingImageForItemsAtIndexPaths_WithEvent_Offset(indexPaths foundation.ISet, event IEvent, dragImageOffset *foundation.Point) Image

func (CollectionView) DraggingImageForItemsAtIndexes_WithEvent_Offset added in v0.13.4

func (c_ CollectionView) DraggingImageForItemsAtIndexes_WithEvent_Offset(indexes foundation.IIndexSet, event IEvent, dragImageOffset *foundation.Point) Image

func (CollectionView) FrameForItemAtIndex

func (c_ CollectionView) FrameForItemAtIndex(index uint) foundation.Rect

func (CollectionView) FrameForItemAtIndex_WithNumberOfItems

func (c_ CollectionView) FrameForItemAtIndex_WithNumberOfItems(index uint, numberOfItems uint) foundation.Rect

func (CollectionView) IndexPathForItem

func (c_ CollectionView) IndexPathForItem(item ICollectionViewItem) foundation.IndexPath

func (CollectionView) IndexPathForItemAtPoint

func (c_ CollectionView) IndexPathForItemAtPoint(point foundation.Point) foundation.IndexPath

func (CollectionView) IndexPathsForVisibleItems

func (c_ CollectionView) IndexPathsForVisibleItems() foundation.Set

func (CollectionView) IndexPathsForVisibleSupplementaryElementsOfKind

func (c_ CollectionView) IndexPathsForVisibleSupplementaryElementsOfKind(elementKind CollectionViewSupplementaryElementKind) foundation.Set

func (CollectionView) Init added in v0.11.0

func (c_ CollectionView) Init() CollectionView

func (CollectionView) InitWithFrame added in v0.11.0

func (c_ CollectionView) InitWithFrame(frameRect foundation.Rect) CollectionView

func (CollectionView) InsertItemsAtIndexPaths

func (c_ CollectionView) InsertItemsAtIndexPaths(indexPaths foundation.ISet)

func (CollectionView) InsertSections

func (c_ CollectionView) InsertSections(sections foundation.IIndexSet)

func (CollectionView) IsFirstResponder

func (c_ CollectionView) IsFirstResponder() bool

func (CollectionView) IsSelectable

func (c_ CollectionView) IsSelectable() bool

func (CollectionView) ItemAtIndex

func (c_ CollectionView) ItemAtIndex(index uint) CollectionViewItem

func (CollectionView) ItemAtIndexPath

func (c_ CollectionView) ItemAtIndexPath(indexPath foundation.IIndexPath) CollectionViewItem

func (CollectionView) ItemPrototype added in v0.14.5

func (c_ CollectionView) ItemPrototype() CollectionViewItem

deprecated

func (CollectionView) LayoutAttributesForItemAtIndexPath

func (c_ CollectionView) LayoutAttributesForItemAtIndexPath(indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

func (CollectionView) LayoutAttributesForSupplementaryElementOfKind_AtIndexPath

func (c_ CollectionView) LayoutAttributesForSupplementaryElementOfKind_AtIndexPath(kind CollectionViewSupplementaryElementKind, indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

func (CollectionView) MakeItemWithIdentifier_ForIndexPath

func (c_ CollectionView) MakeItemWithIdentifier_ForIndexPath(identifier UserInterfaceItemIdentifier, indexPath foundation.IIndexPath) CollectionViewItem

func (CollectionView) MakeSupplementaryViewOfKind_WithIdentifier_ForIndexPath

func (c_ CollectionView) MakeSupplementaryViewOfKind_WithIdentifier_ForIndexPath(elementKind CollectionViewSupplementaryElementKind, identifier UserInterfaceItemIdentifier, indexPath foundation.IIndexPath) View

func (CollectionView) MaxItemSize added in v0.14.5

func (c_ CollectionView) MaxItemSize() foundation.Size

deprecated

func (CollectionView) MaxNumberOfColumns added in v0.14.5

func (c_ CollectionView) MaxNumberOfColumns() uint

deprecated

func (CollectionView) MaxNumberOfRows added in v0.14.5

func (c_ CollectionView) MaxNumberOfRows() uint

deprecated

func (CollectionView) MinItemSize added in v0.14.5

func (c_ CollectionView) MinItemSize() foundation.Size

deprecated

func (CollectionView) MoveItemAtIndexPath_ToIndexPath

func (c_ CollectionView) MoveItemAtIndexPath_ToIndexPath(indexPath foundation.IIndexPath, newIndexPath foundation.IIndexPath)

func (CollectionView) MoveSection_ToSection

func (c_ CollectionView) MoveSection_ToSection(section int, newSection int)

func (CollectionView) NewItemForRepresentedObject added in v0.14.5

func (c_ CollectionView) NewItemForRepresentedObject(object objc.IObject) CollectionViewItem

deprecated

func (CollectionView) NumberOfItemsInSection

func (c_ CollectionView) NumberOfItemsInSection(section int) int

func (CollectionView) NumberOfSections

func (c_ CollectionView) NumberOfSections() int

func (CollectionView) PerformBatchUpdates_CompletionHandler added in v0.13.3

func (c_ CollectionView) PerformBatchUpdates_CompletionHandler(updates func(), completionHandler func(finished bool))

func (CollectionView) PrefetchDataSource

func (c_ CollectionView) PrefetchDataSource() objc.Object

weak property

func (CollectionView) RegisterClass_ForItemWithIdentifier added in v0.16.0

func (c_ CollectionView) RegisterClass_ForItemWithIdentifier(itemClass objc.IClass, identifier UserInterfaceItemIdentifier)

func (CollectionView) RegisterClass_ForSupplementaryViewOfKind_WithIdentifier added in v0.16.0

func (c_ CollectionView) RegisterClass_ForSupplementaryViewOfKind_WithIdentifier(viewClass objc.IClass, kind CollectionViewSupplementaryElementKind, identifier UserInterfaceItemIdentifier)

func (CollectionView) RegisterNib_ForItemWithIdentifier

func (c_ CollectionView) RegisterNib_ForItemWithIdentifier(nib INib, identifier UserInterfaceItemIdentifier)

func (CollectionView) RegisterNib_ForSupplementaryViewOfKind_WithIdentifier

func (c_ CollectionView) RegisterNib_ForSupplementaryViewOfKind_WithIdentifier(nib INib, kind CollectionViewSupplementaryElementKind, identifier UserInterfaceItemIdentifier)

func (CollectionView) ReloadData

func (c_ CollectionView) ReloadData()

func (CollectionView) ReloadItemsAtIndexPaths

func (c_ CollectionView) ReloadItemsAtIndexPaths(indexPaths foundation.ISet)

func (CollectionView) ReloadSections

func (c_ CollectionView) ReloadSections(sections foundation.IIndexSet)

func (CollectionView) ScrollToItemsAtIndexPaths_ScrollPosition

func (c_ CollectionView) ScrollToItemsAtIndexPaths_ScrollPosition(indexPaths foundation.ISet, scrollPosition CollectionViewScrollPosition)

func (CollectionView) SelectAll

func (c_ CollectionView) SelectAll(sender objc.IObject)

func (CollectionView) SelectItemsAtIndexPaths_ScrollPosition

func (c_ CollectionView) SelectItemsAtIndexPaths_ScrollPosition(indexPaths foundation.ISet, scrollPosition CollectionViewScrollPosition)

func (CollectionView) SelectionIndexPaths

func (c_ CollectionView) SelectionIndexPaths() foundation.Set

func (CollectionView) SelectionIndexes

func (c_ CollectionView) SelectionIndexes() foundation.IndexSet

func (CollectionView) SetAllowsEmptySelection

func (c_ CollectionView) SetAllowsEmptySelection(value bool)

func (CollectionView) SetAllowsMultipleSelection

func (c_ CollectionView) SetAllowsMultipleSelection(value bool)

func (CollectionView) SetBackgroundColors

func (c_ CollectionView) SetBackgroundColors(value []IColor)

func (CollectionView) SetBackgroundView

func (c_ CollectionView) SetBackgroundView(value IView)

func (CollectionView) SetBackgroundViewScrollsWithContent

func (c_ CollectionView) SetBackgroundViewScrollsWithContent(value bool)

func (CollectionView) SetCollectionViewLayout

func (c_ CollectionView) SetCollectionViewLayout(value ICollectionViewLayout)

func (CollectionView) SetContent

func (c_ CollectionView) SetContent(value []objc.IObject)

func (CollectionView) SetDataSource

func (c_ CollectionView) SetDataSource(value objc.IObject)

weak property

func (CollectionView) SetDelegate

func (c_ CollectionView) SetDelegate(value objc.IObject)

weak property

func (CollectionView) SetDraggingSourceOperationMask_ForLocal

func (c_ CollectionView) SetDraggingSourceOperationMask_ForLocal(dragOperationMask DragOperation, localDestination bool)

func (CollectionView) SetItemPrototype added in v0.14.5

func (c_ CollectionView) SetItemPrototype(value ICollectionViewItem)

deprecated

func (CollectionView) SetMaxItemSize added in v0.14.5

func (c_ CollectionView) SetMaxItemSize(value foundation.Size)

deprecated

func (CollectionView) SetMaxNumberOfColumns added in v0.14.5

func (c_ CollectionView) SetMaxNumberOfColumns(value uint)

deprecated

func (CollectionView) SetMaxNumberOfRows added in v0.14.5

func (c_ CollectionView) SetMaxNumberOfRows(value uint)

deprecated

func (CollectionView) SetMinItemSize added in v0.14.5

func (c_ CollectionView) SetMinItemSize(value foundation.Size)

deprecated

func (CollectionView) SetPrefetchDataSource

func (c_ CollectionView) SetPrefetchDataSource(value objc.IObject)

weak property

func (CollectionView) SetSelectable

func (c_ CollectionView) SetSelectable(value bool)

func (CollectionView) SetSelectionIndexPaths

func (c_ CollectionView) SetSelectionIndexPaths(value foundation.ISet)

func (CollectionView) SetSelectionIndexes

func (c_ CollectionView) SetSelectionIndexes(value foundation.IIndexSet)

func (CollectionView) SupplementaryViewForElementKind_AtIndexPath

func (c_ CollectionView) SupplementaryViewForElementKind_AtIndexPath(elementKind CollectionViewSupplementaryElementKind, indexPath foundation.IIndexPath) View

func (CollectionView) ToggleSectionCollapse

func (c_ CollectionView) ToggleSectionCollapse(sender objc.IObject)

func (CollectionView) VisibleItems

func (c_ CollectionView) VisibleItems() []CollectionViewItem

func (CollectionView) VisibleSupplementaryViewsOfKind added in v0.13.3

func (c_ CollectionView) VisibleSupplementaryViewsOfKind(elementKind CollectionViewSupplementaryElementKind) []View

type CollectionViewCompositionalLayout

type CollectionViewCompositionalLayout struct {
	CollectionViewLayout
}

func MakeCollectionViewCompositionalLayout

func MakeCollectionViewCompositionalLayout(ptr unsafe.Pointer) CollectionViewCompositionalLayout

func NewCollectionViewCompositionalLayout added in v0.13.0

func NewCollectionViewCompositionalLayout() CollectionViewCompositionalLayout

func (CollectionViewCompositionalLayout) Configuration

func (CollectionViewCompositionalLayout) Init added in v0.13.0

func (CollectionViewCompositionalLayout) InitWithSection added in v0.11.0

func (CollectionViewCompositionalLayout) InitWithSectionProvider added in v0.16.0

func (c_ CollectionViewCompositionalLayout) InitWithSectionProvider(sectionProvider func(section int, param2 objc.Object) ICollectionLayoutSection) CollectionViewCompositionalLayout

func (CollectionViewCompositionalLayout) InitWithSectionProvider_Configuration added in v0.16.0

func (c_ CollectionViewCompositionalLayout) InitWithSectionProvider_Configuration(sectionProvider func(section int, param2 objc.Object) ICollectionLayoutSection, configuration ICollectionViewCompositionalLayoutConfiguration) CollectionViewCompositionalLayout

func (CollectionViewCompositionalLayout) InitWithSection_Configuration added in v0.11.0

func (CollectionViewCompositionalLayout) SetConfiguration

type CollectionViewCompositionalLayoutConfiguration

type CollectionViewCompositionalLayoutConfiguration struct {
	objc.Object
}

func NewCollectionViewCompositionalLayoutConfiguration

func NewCollectionViewCompositionalLayoutConfiguration() CollectionViewCompositionalLayoutConfiguration

func (CollectionViewCompositionalLayoutConfiguration) BoundarySupplementaryItems

func (CollectionViewCompositionalLayoutConfiguration) Init added in v0.11.0

func (CollectionViewCompositionalLayoutConfiguration) InterSectionSpacing

func (CollectionViewCompositionalLayoutConfiguration) ScrollDirection

func (CollectionViewCompositionalLayoutConfiguration) SetBoundarySupplementaryItems

func (CollectionViewCompositionalLayoutConfiguration) SetInterSectionSpacing

func (c_ CollectionViewCompositionalLayoutConfiguration) SetInterSectionSpacing(value float64)

func (CollectionViewCompositionalLayoutConfiguration) SetScrollDirection

type CollectionViewDataSource

type CollectionViewDataSource interface {
	ImplementsNumberOfSectionsInCollectionView() bool
	// optional
	NumberOfSectionsInCollectionView(collectionView CollectionView) int
	// required
	CollectionView_NumberOfItemsInSection(collectionView CollectionView, section int) int
	// required
	CollectionView_ItemForRepresentedObjectAtIndexPath(collectionView CollectionView, indexPath foundation.IndexPath) ICollectionViewItem
	ImplementsCollectionView_ViewForSupplementaryElementOfKind_AtIndexPath() bool
	// optional
	CollectionView_ViewForSupplementaryElementOfKind_AtIndexPath(collectionView CollectionView, kind CollectionViewSupplementaryElementKind, indexPath foundation.IndexPath) IView
}

type CollectionViewDataSourceBase added in v0.13.0

type CollectionViewDataSourceBase struct {
}

func (*CollectionViewDataSourceBase) CollectionView_ViewForSupplementaryElementOfKind_AtIndexPath added in v0.13.0

func (p *CollectionViewDataSourceBase) CollectionView_ViewForSupplementaryElementOfKind_AtIndexPath(collectionView CollectionView, kind CollectionViewSupplementaryElementKind, indexPath foundation.IndexPath) IView

func (*CollectionViewDataSourceBase) ImplementsCollectionView_ViewForSupplementaryElementOfKind_AtIndexPath added in v0.13.0

func (p *CollectionViewDataSourceBase) ImplementsCollectionView_ViewForSupplementaryElementOfKind_AtIndexPath() bool

func (*CollectionViewDataSourceBase) ImplementsNumberOfSectionsInCollectionView added in v0.13.0

func (p *CollectionViewDataSourceBase) ImplementsNumberOfSectionsInCollectionView() bool

func (*CollectionViewDataSourceBase) NumberOfSectionsInCollectionView added in v0.13.0

func (p *CollectionViewDataSourceBase) NumberOfSectionsInCollectionView(collectionView CollectionView) int

type CollectionViewDecorationElementKind

type CollectionViewDecorationElementKind string

type CollectionViewDelegate

type CollectionViewDelegate interface {
	ImplementsCollectionView_ShouldSelectItemsAtIndexPaths() bool
	// optional
	CollectionView_ShouldSelectItemsAtIndexPaths(collectionView CollectionView, indexPaths foundation.Set) foundation.ISet
	ImplementsCollectionView_DidSelectItemsAtIndexPaths() bool
	// optional
	CollectionView_DidSelectItemsAtIndexPaths(collectionView CollectionView, indexPaths foundation.Set)
	ImplementsCollectionView_ShouldDeselectItemsAtIndexPaths() bool
	// optional
	CollectionView_ShouldDeselectItemsAtIndexPaths(collectionView CollectionView, indexPaths foundation.Set) foundation.ISet
	ImplementsCollectionView_DidDeselectItemsAtIndexPaths() bool
	// optional
	CollectionView_DidDeselectItemsAtIndexPaths(collectionView CollectionView, indexPaths foundation.Set)
	ImplementsCollectionView_ShouldChangeItemsAtIndexPaths_ToHighlightState() bool
	// optional
	CollectionView_ShouldChangeItemsAtIndexPaths_ToHighlightState(collectionView CollectionView, indexPaths foundation.Set, highlightState CollectionViewItemHighlightState) foundation.ISet
	ImplementsCollectionView_DidChangeItemsAtIndexPaths_ToHighlightState() bool
	// optional
	CollectionView_DidChangeItemsAtIndexPaths_ToHighlightState(collectionView CollectionView, indexPaths foundation.Set, highlightState CollectionViewItemHighlightState)
	ImplementsCollectionView_WillDisplayItem_ForRepresentedObjectAtIndexPath() bool
	// optional
	CollectionView_WillDisplayItem_ForRepresentedObjectAtIndexPath(collectionView CollectionView, item CollectionViewItem, indexPath foundation.IndexPath)
	ImplementsCollectionView_DidEndDisplayingItem_ForRepresentedObjectAtIndexPath() bool
	// optional
	CollectionView_DidEndDisplayingItem_ForRepresentedObjectAtIndexPath(collectionView CollectionView, item CollectionViewItem, indexPath foundation.IndexPath)
	ImplementsCollectionView_WillDisplaySupplementaryView_ForElementKind_AtIndexPath() bool
	// optional
	CollectionView_WillDisplaySupplementaryView_ForElementKind_AtIndexPath(collectionView CollectionView, view View, elementKind CollectionViewSupplementaryElementKind, indexPath foundation.IndexPath)
	ImplementsCollectionView_DidEndDisplayingSupplementaryView_ForElementOfKind_AtIndexPath() bool
	// optional
	CollectionView_DidEndDisplayingSupplementaryView_ForElementOfKind_AtIndexPath(collectionView CollectionView, view View, elementKind CollectionViewSupplementaryElementKind, indexPath foundation.IndexPath)
	ImplementsCollectionView_TransitionLayoutForOldLayout_NewLayout() bool
	// optional
	CollectionView_TransitionLayoutForOldLayout_NewLayout(collectionView CollectionView, fromLayout CollectionViewLayout, toLayout CollectionViewLayout) ICollectionViewTransitionLayout
	ImplementsCollectionView_CanDragItemsAtIndexPaths_WithEvent() bool
	// optional
	CollectionView_CanDragItemsAtIndexPaths_WithEvent(collectionView CollectionView, indexPaths foundation.Set, event Event) bool
	ImplementsCollectionView_PasteboardWriterForItemAtIndexPath() bool
	// optional
	CollectionView_PasteboardWriterForItemAtIndexPath(collectionView CollectionView, indexPath foundation.IndexPath) objc.IObject
	ImplementsCollectionView_WriteItemsAtIndexPaths_ToPasteboard() bool
	// optional
	// deprecated
	CollectionView_WriteItemsAtIndexPaths_ToPasteboard(collectionView CollectionView, indexPaths foundation.Set, pasteboard Pasteboard) bool
	ImplementsCollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexPaths() bool
	// optional
	// deprecated
	CollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexPaths(collectionView CollectionView, dropURL foundation.URL, indexPaths foundation.Set) []string
	ImplementsCollectionView_DraggingImageForItemsAtIndexPaths_WithEvent_Offset() bool
	// optional
	CollectionView_DraggingImageForItemsAtIndexPaths_WithEvent_Offset(collectionView CollectionView, indexPaths foundation.Set, event Event, dragImageOffset *foundation.Point) IImage
	ImplementsCollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexPaths() bool
	// optional
	CollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexPaths(collectionView CollectionView, session DraggingSession, screenPoint foundation.Point, indexPaths foundation.Set)
	ImplementsCollectionView_DraggingSession_EndedAtPoint_DragOperation() bool
	// optional
	CollectionView_DraggingSession_EndedAtPoint_DragOperation(collectionView CollectionView, session DraggingSession, screenPoint foundation.Point, operation DragOperation)
	ImplementsCollectionView_UpdateDraggingItemsForDrag() bool
	// optional
	CollectionView_UpdateDraggingItemsForDrag(collectionView CollectionView, draggingInfo objc.Object)
	ImplementsCollectionView_ValidateDrop_ProposedIndexPath_DropOperation() bool
	// optional
	CollectionView_ValidateDrop_ProposedIndexPath_DropOperation(collectionView CollectionView, draggingInfo objc.Object, proposedDropIndexPath *foundation.IndexPath, proposedDropOperation *CollectionViewDropOperation) DragOperation
	ImplementsCollectionView_AcceptDrop_IndexPath_DropOperation() bool
	// optional
	CollectionView_AcceptDrop_IndexPath_DropOperation(collectionView CollectionView, draggingInfo objc.Object, indexPath foundation.IndexPath, dropOperation CollectionViewDropOperation) bool
	ImplementsCollectionView_CanDragItemsAtIndexes_WithEvent() bool
	// optional
	CollectionView_CanDragItemsAtIndexes_WithEvent(collectionView CollectionView, indexes foundation.IndexSet, event Event) bool
	ImplementsCollectionView_PasteboardWriterForItemAtIndex() bool
	// optional
	CollectionView_PasteboardWriterForItemAtIndex(collectionView CollectionView, index uint) objc.IObject
	ImplementsCollectionView_WriteItemsAtIndexes_ToPasteboard() bool
	// optional
	// deprecated
	CollectionView_WriteItemsAtIndexes_ToPasteboard(collectionView CollectionView, indexes foundation.IndexSet, pasteboard Pasteboard) bool
	ImplementsCollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexes() bool
	// optional
	// deprecated
	CollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexes(collectionView CollectionView, dropURL foundation.URL, indexes foundation.IndexSet) []string
	ImplementsCollectionView_DraggingImageForItemsAtIndexes_WithEvent_Offset() bool
	// optional
	CollectionView_DraggingImageForItemsAtIndexes_WithEvent_Offset(collectionView CollectionView, indexes foundation.IndexSet, event Event, dragImageOffset *foundation.Point) IImage
	ImplementsCollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexes() bool
	// optional
	CollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexes(collectionView CollectionView, session DraggingSession, screenPoint foundation.Point, indexes foundation.IndexSet)
	ImplementsCollectionView_ValidateDrop_ProposedIndex_DropOperation() bool
	// optional
	CollectionView_ValidateDrop_ProposedIndex_DropOperation(collectionView CollectionView, draggingInfo objc.Object, proposedDropIndex *int, proposedDropOperation *CollectionViewDropOperation) DragOperation
	ImplementsCollectionView_AcceptDrop_Index_DropOperation() bool
	// optional
	CollectionView_AcceptDrop_Index_DropOperation(collectionView CollectionView, draggingInfo objc.Object, index int, dropOperation CollectionViewDropOperation) bool
}

type CollectionViewDelegateBase added in v0.18.0

type CollectionViewDelegateBase struct {
}

func (*CollectionViewDelegateBase) CollectionView_AcceptDrop_IndexPath_DropOperation added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_AcceptDrop_IndexPath_DropOperation(collectionView CollectionView, draggingInfo objc.Object, indexPath foundation.IndexPath, dropOperation CollectionViewDropOperation) bool

func (*CollectionViewDelegateBase) CollectionView_AcceptDrop_Index_DropOperation added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_AcceptDrop_Index_DropOperation(collectionView CollectionView, draggingInfo objc.Object, index int, dropOperation CollectionViewDropOperation) bool

func (*CollectionViewDelegateBase) CollectionView_CanDragItemsAtIndexPaths_WithEvent added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_CanDragItemsAtIndexPaths_WithEvent(collectionView CollectionView, indexPaths foundation.Set, event Event) bool

func (*CollectionViewDelegateBase) CollectionView_CanDragItemsAtIndexes_WithEvent added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_CanDragItemsAtIndexes_WithEvent(collectionView CollectionView, indexes foundation.IndexSet, event Event) bool

func (*CollectionViewDelegateBase) CollectionView_DidChangeItemsAtIndexPaths_ToHighlightState added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_DidChangeItemsAtIndexPaths_ToHighlightState(collectionView CollectionView, indexPaths foundation.Set, highlightState CollectionViewItemHighlightState)

func (*CollectionViewDelegateBase) CollectionView_DidDeselectItemsAtIndexPaths added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_DidDeselectItemsAtIndexPaths(collectionView CollectionView, indexPaths foundation.Set)

func (*CollectionViewDelegateBase) CollectionView_DidEndDisplayingItem_ForRepresentedObjectAtIndexPath added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_DidEndDisplayingItem_ForRepresentedObjectAtIndexPath(collectionView CollectionView, item CollectionViewItem, indexPath foundation.IndexPath)

func (*CollectionViewDelegateBase) CollectionView_DidEndDisplayingSupplementaryView_ForElementOfKind_AtIndexPath added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_DidEndDisplayingSupplementaryView_ForElementOfKind_AtIndexPath(collectionView CollectionView, view View, elementKind CollectionViewSupplementaryElementKind, indexPath foundation.IndexPath)

func (*CollectionViewDelegateBase) CollectionView_DidSelectItemsAtIndexPaths added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_DidSelectItemsAtIndexPaths(collectionView CollectionView, indexPaths foundation.Set)

func (*CollectionViewDelegateBase) CollectionView_DraggingImageForItemsAtIndexPaths_WithEvent_Offset added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_DraggingImageForItemsAtIndexPaths_WithEvent_Offset(collectionView CollectionView, indexPaths foundation.Set, event Event, dragImageOffset *foundation.Point) IImage

func (*CollectionViewDelegateBase) CollectionView_DraggingImageForItemsAtIndexes_WithEvent_Offset added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_DraggingImageForItemsAtIndexes_WithEvent_Offset(collectionView CollectionView, indexes foundation.IndexSet, event Event, dragImageOffset *foundation.Point) IImage

func (*CollectionViewDelegateBase) CollectionView_DraggingSession_EndedAtPoint_DragOperation added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_DraggingSession_EndedAtPoint_DragOperation(collectionView CollectionView, session DraggingSession, screenPoint foundation.Point, operation DragOperation)

func (*CollectionViewDelegateBase) CollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexPaths added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexPaths(collectionView CollectionView, session DraggingSession, screenPoint foundation.Point, indexPaths foundation.Set)

func (*CollectionViewDelegateBase) CollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexes added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexes(collectionView CollectionView, session DraggingSession, screenPoint foundation.Point, indexes foundation.IndexSet)

func (*CollectionViewDelegateBase) CollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexPaths added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexPaths(collectionView CollectionView, dropURL foundation.URL, indexPaths foundation.Set) []string

deprecated

func (*CollectionViewDelegateBase) CollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexes added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexes(collectionView CollectionView, dropURL foundation.URL, indexes foundation.IndexSet) []string

deprecated

func (*CollectionViewDelegateBase) CollectionView_PasteboardWriterForItemAtIndex added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_PasteboardWriterForItemAtIndex(collectionView CollectionView, index uint) objc.IObject

func (*CollectionViewDelegateBase) CollectionView_PasteboardWriterForItemAtIndexPath added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_PasteboardWriterForItemAtIndexPath(collectionView CollectionView, indexPath foundation.IndexPath) objc.IObject

func (*CollectionViewDelegateBase) CollectionView_ShouldChangeItemsAtIndexPaths_ToHighlightState added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_ShouldChangeItemsAtIndexPaths_ToHighlightState(collectionView CollectionView, indexPaths foundation.Set, highlightState CollectionViewItemHighlightState) foundation.ISet

func (*CollectionViewDelegateBase) CollectionView_ShouldDeselectItemsAtIndexPaths added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_ShouldDeselectItemsAtIndexPaths(collectionView CollectionView, indexPaths foundation.Set) foundation.ISet

func (*CollectionViewDelegateBase) CollectionView_ShouldSelectItemsAtIndexPaths added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_ShouldSelectItemsAtIndexPaths(collectionView CollectionView, indexPaths foundation.Set) foundation.ISet

func (*CollectionViewDelegateBase) CollectionView_TransitionLayoutForOldLayout_NewLayout added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_TransitionLayoutForOldLayout_NewLayout(collectionView CollectionView, fromLayout CollectionViewLayout, toLayout CollectionViewLayout) ICollectionViewTransitionLayout

func (*CollectionViewDelegateBase) CollectionView_UpdateDraggingItemsForDrag added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_UpdateDraggingItemsForDrag(collectionView CollectionView, draggingInfo objc.Object)

func (*CollectionViewDelegateBase) CollectionView_ValidateDrop_ProposedIndexPath_DropOperation added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_ValidateDrop_ProposedIndexPath_DropOperation(collectionView CollectionView, draggingInfo objc.Object, proposedDropIndexPath *foundation.IndexPath, proposedDropOperation *CollectionViewDropOperation) DragOperation

func (*CollectionViewDelegateBase) CollectionView_ValidateDrop_ProposedIndex_DropOperation added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_ValidateDrop_ProposedIndex_DropOperation(collectionView CollectionView, draggingInfo objc.Object, proposedDropIndex *int, proposedDropOperation *CollectionViewDropOperation) DragOperation

func (*CollectionViewDelegateBase) CollectionView_WillDisplayItem_ForRepresentedObjectAtIndexPath added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_WillDisplayItem_ForRepresentedObjectAtIndexPath(collectionView CollectionView, item CollectionViewItem, indexPath foundation.IndexPath)

func (*CollectionViewDelegateBase) CollectionView_WillDisplaySupplementaryView_ForElementKind_AtIndexPath added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_WillDisplaySupplementaryView_ForElementKind_AtIndexPath(collectionView CollectionView, view View, elementKind CollectionViewSupplementaryElementKind, indexPath foundation.IndexPath)

func (*CollectionViewDelegateBase) CollectionView_WriteItemsAtIndexPaths_ToPasteboard added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_WriteItemsAtIndexPaths_ToPasteboard(collectionView CollectionView, indexPaths foundation.Set, pasteboard Pasteboard) bool

deprecated

func (*CollectionViewDelegateBase) CollectionView_WriteItemsAtIndexes_ToPasteboard added in v0.18.0

func (p *CollectionViewDelegateBase) CollectionView_WriteItemsAtIndexes_ToPasteboard(collectionView CollectionView, indexes foundation.IndexSet, pasteboard Pasteboard) bool

deprecated

func (*CollectionViewDelegateBase) ImplementsCollectionView_AcceptDrop_IndexPath_DropOperation added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_AcceptDrop_IndexPath_DropOperation() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_AcceptDrop_Index_DropOperation added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_AcceptDrop_Index_DropOperation() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_CanDragItemsAtIndexPaths_WithEvent added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_CanDragItemsAtIndexPaths_WithEvent() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_CanDragItemsAtIndexes_WithEvent added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_CanDragItemsAtIndexes_WithEvent() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_DidChangeItemsAtIndexPaths_ToHighlightState added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_DidChangeItemsAtIndexPaths_ToHighlightState() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_DidDeselectItemsAtIndexPaths added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_DidDeselectItemsAtIndexPaths() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_DidEndDisplayingItem_ForRepresentedObjectAtIndexPath added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_DidEndDisplayingItem_ForRepresentedObjectAtIndexPath() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_DidEndDisplayingSupplementaryView_ForElementOfKind_AtIndexPath added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_DidEndDisplayingSupplementaryView_ForElementOfKind_AtIndexPath() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_DidSelectItemsAtIndexPaths added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_DidSelectItemsAtIndexPaths() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_DraggingImageForItemsAtIndexPaths_WithEvent_Offset added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_DraggingImageForItemsAtIndexPaths_WithEvent_Offset() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_DraggingImageForItemsAtIndexes_WithEvent_Offset added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_DraggingImageForItemsAtIndexes_WithEvent_Offset() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_DraggingSession_EndedAtPoint_DragOperation added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_DraggingSession_EndedAtPoint_DragOperation() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexPaths added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexPaths() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexes added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexes() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexPaths added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexPaths() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexes added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexes() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_PasteboardWriterForItemAtIndex added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_PasteboardWriterForItemAtIndex() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_PasteboardWriterForItemAtIndexPath added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_PasteboardWriterForItemAtIndexPath() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_ShouldChangeItemsAtIndexPaths_ToHighlightState added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_ShouldChangeItemsAtIndexPaths_ToHighlightState() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_ShouldDeselectItemsAtIndexPaths added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_ShouldDeselectItemsAtIndexPaths() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_ShouldSelectItemsAtIndexPaths added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_ShouldSelectItemsAtIndexPaths() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_TransitionLayoutForOldLayout_NewLayout added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_TransitionLayoutForOldLayout_NewLayout() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_UpdateDraggingItemsForDrag added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_UpdateDraggingItemsForDrag() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_ValidateDrop_ProposedIndexPath_DropOperation added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_ValidateDrop_ProposedIndexPath_DropOperation() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_ValidateDrop_ProposedIndex_DropOperation added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_ValidateDrop_ProposedIndex_DropOperation() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_WillDisplayItem_ForRepresentedObjectAtIndexPath added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_WillDisplayItem_ForRepresentedObjectAtIndexPath() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_WillDisplaySupplementaryView_ForElementKind_AtIndexPath added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_WillDisplaySupplementaryView_ForElementKind_AtIndexPath() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_WriteItemsAtIndexPaths_ToPasteboard added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_WriteItemsAtIndexPaths_ToPasteboard() bool

func (*CollectionViewDelegateBase) ImplementsCollectionView_WriteItemsAtIndexes_ToPasteboard added in v0.18.0

func (p *CollectionViewDelegateBase) ImplementsCollectionView_WriteItemsAtIndexes_ToPasteboard() bool

type CollectionViewDelegateCreator added in v0.19.0

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

func NewCollectionViewDelegateCreator added in v0.19.0

func NewCollectionViewDelegateCreator(name string) *CollectionViewDelegateCreator

func (*CollectionViewDelegateCreator) Create added in v0.19.0

func (*CollectionViewDelegateCreator) SetCollectionView_AcceptDrop_IndexPath_DropOperation added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_AcceptDrop_IndexPath_DropOperation(handle func(o objc.ProtocolBase, collectionView CollectionView, draggingInfo objc.Object, indexPath foundation.IndexPath, dropOperation CollectionViewDropOperation) bool)

func (*CollectionViewDelegateCreator) SetCollectionView_AcceptDrop_Index_DropOperation added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_AcceptDrop_Index_DropOperation(handle func(o objc.ProtocolBase, collectionView CollectionView, draggingInfo objc.Object, index int, dropOperation CollectionViewDropOperation) bool)

func (*CollectionViewDelegateCreator) SetCollectionView_CanDragItemsAtIndexPaths_WithEvent added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_CanDragItemsAtIndexPaths_WithEvent(handle func(o objc.ProtocolBase, collectionView CollectionView, indexPaths foundation.Set, event Event) bool)

func (*CollectionViewDelegateCreator) SetCollectionView_CanDragItemsAtIndexes_WithEvent added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_CanDragItemsAtIndexes_WithEvent(handle func(o objc.ProtocolBase, collectionView CollectionView, indexes foundation.IndexSet, event Event) bool)

func (*CollectionViewDelegateCreator) SetCollectionView_DidChangeItemsAtIndexPaths_ToHighlightState added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_DidChangeItemsAtIndexPaths_ToHighlightState(handle func(o objc.ProtocolBase, collectionView CollectionView, indexPaths foundation.Set, highlightState CollectionViewItemHighlightState))

func (*CollectionViewDelegateCreator) SetCollectionView_DidDeselectItemsAtIndexPaths added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_DidDeselectItemsAtIndexPaths(handle func(o objc.ProtocolBase, collectionView CollectionView, indexPaths foundation.Set))

func (*CollectionViewDelegateCreator) SetCollectionView_DidEndDisplayingItem_ForRepresentedObjectAtIndexPath added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_DidEndDisplayingItem_ForRepresentedObjectAtIndexPath(handle func(o objc.ProtocolBase, collectionView CollectionView, item CollectionViewItem, indexPath foundation.IndexPath))

func (*CollectionViewDelegateCreator) SetCollectionView_DidEndDisplayingSupplementaryView_ForElementOfKind_AtIndexPath added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_DidEndDisplayingSupplementaryView_ForElementOfKind_AtIndexPath(handle func(o objc.ProtocolBase, collectionView CollectionView, view View, elementKind CollectionViewSupplementaryElementKind, indexPath foundation.IndexPath))

func (*CollectionViewDelegateCreator) SetCollectionView_DidSelectItemsAtIndexPaths added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_DidSelectItemsAtIndexPaths(handle func(o objc.ProtocolBase, collectionView CollectionView, indexPaths foundation.Set))

func (*CollectionViewDelegateCreator) SetCollectionView_DraggingImageForItemsAtIndexPaths_WithEvent_Offset added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_DraggingImageForItemsAtIndexPaths_WithEvent_Offset(handle func(o objc.ProtocolBase, collectionView CollectionView, indexPaths foundation.Set, event Event, dragImageOffset *foundation.Point) IImage)

func (*CollectionViewDelegateCreator) SetCollectionView_DraggingImageForItemsAtIndexes_WithEvent_Offset added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_DraggingImageForItemsAtIndexes_WithEvent_Offset(handle func(o objc.ProtocolBase, collectionView CollectionView, indexes foundation.IndexSet, event Event, dragImageOffset *foundation.Point) IImage)

func (*CollectionViewDelegateCreator) SetCollectionView_DraggingSession_EndedAtPoint_DragOperation added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_DraggingSession_EndedAtPoint_DragOperation(handle func(o objc.ProtocolBase, collectionView CollectionView, session DraggingSession, screenPoint foundation.Point, operation DragOperation))

func (*CollectionViewDelegateCreator) SetCollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexPaths added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexPaths(handle func(o objc.ProtocolBase, collectionView CollectionView, session DraggingSession, screenPoint foundation.Point, indexPaths foundation.Set))

func (*CollectionViewDelegateCreator) SetCollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexes added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_DraggingSession_WillBeginAtPoint_ForItemsAtIndexes(handle func(o objc.ProtocolBase, collectionView CollectionView, session DraggingSession, screenPoint foundation.Point, indexes foundation.IndexSet))

func (*CollectionViewDelegateCreator) SetCollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexPaths added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexPaths(handle func(o objc.ProtocolBase, collectionView CollectionView, dropURL foundation.URL, indexPaths foundation.Set) []string)

deprecated

func (*CollectionViewDelegateCreator) SetCollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexes added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItemsAtIndexes(handle func(o objc.ProtocolBase, collectionView CollectionView, dropURL foundation.URL, indexes foundation.IndexSet) []string)

deprecated

func (*CollectionViewDelegateCreator) SetCollectionView_PasteboardWriterForItemAtIndex added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_PasteboardWriterForItemAtIndex(handle func(o objc.ProtocolBase, collectionView CollectionView, index uint) objc.IObject)

func (*CollectionViewDelegateCreator) SetCollectionView_PasteboardWriterForItemAtIndexPath added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_PasteboardWriterForItemAtIndexPath(handle func(o objc.ProtocolBase, collectionView CollectionView, indexPath foundation.IndexPath) objc.IObject)

func (*CollectionViewDelegateCreator) SetCollectionView_ShouldChangeItemsAtIndexPaths_ToHighlightState added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_ShouldChangeItemsAtIndexPaths_ToHighlightState(handle func(o objc.ProtocolBase, collectionView CollectionView, indexPaths foundation.Set, highlightState CollectionViewItemHighlightState) foundation.ISet)

func (*CollectionViewDelegateCreator) SetCollectionView_ShouldDeselectItemsAtIndexPaths added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_ShouldDeselectItemsAtIndexPaths(handle func(o objc.ProtocolBase, collectionView CollectionView, indexPaths foundation.Set) foundation.ISet)

func (*CollectionViewDelegateCreator) SetCollectionView_ShouldSelectItemsAtIndexPaths added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_ShouldSelectItemsAtIndexPaths(handle func(o objc.ProtocolBase, collectionView CollectionView, indexPaths foundation.Set) foundation.ISet)

func (*CollectionViewDelegateCreator) SetCollectionView_TransitionLayoutForOldLayout_NewLayout added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_TransitionLayoutForOldLayout_NewLayout(handle func(o objc.ProtocolBase, collectionView CollectionView, fromLayout CollectionViewLayout, toLayout CollectionViewLayout) ICollectionViewTransitionLayout)

func (*CollectionViewDelegateCreator) SetCollectionView_UpdateDraggingItemsForDrag added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_UpdateDraggingItemsForDrag(handle func(o objc.ProtocolBase, collectionView CollectionView, draggingInfo objc.Object))

func (*CollectionViewDelegateCreator) SetCollectionView_ValidateDrop_ProposedIndexPath_DropOperation added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_ValidateDrop_ProposedIndexPath_DropOperation(handle func(o objc.ProtocolBase, collectionView CollectionView, draggingInfo objc.Object, proposedDropIndexPath *foundation.IndexPath, proposedDropOperation *CollectionViewDropOperation) DragOperation)

func (*CollectionViewDelegateCreator) SetCollectionView_ValidateDrop_ProposedIndex_DropOperation added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_ValidateDrop_ProposedIndex_DropOperation(handle func(o objc.ProtocolBase, collectionView CollectionView, draggingInfo objc.Object, proposedDropIndex *int, proposedDropOperation *CollectionViewDropOperation) DragOperation)

func (*CollectionViewDelegateCreator) SetCollectionView_WillDisplayItem_ForRepresentedObjectAtIndexPath added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_WillDisplayItem_ForRepresentedObjectAtIndexPath(handle func(o objc.ProtocolBase, collectionView CollectionView, item CollectionViewItem, indexPath foundation.IndexPath))

func (*CollectionViewDelegateCreator) SetCollectionView_WillDisplaySupplementaryView_ForElementKind_AtIndexPath added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_WillDisplaySupplementaryView_ForElementKind_AtIndexPath(handle func(o objc.ProtocolBase, collectionView CollectionView, view View, elementKind CollectionViewSupplementaryElementKind, indexPath foundation.IndexPath))

func (*CollectionViewDelegateCreator) SetCollectionView_WriteItemsAtIndexPaths_ToPasteboard added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_WriteItemsAtIndexPaths_ToPasteboard(handle func(o objc.ProtocolBase, collectionView CollectionView, indexPaths foundation.Set, pasteboard Pasteboard) bool)

deprecated

func (*CollectionViewDelegateCreator) SetCollectionView_WriteItemsAtIndexes_ToPasteboard added in v0.19.0

func (c *CollectionViewDelegateCreator) SetCollectionView_WriteItemsAtIndexes_ToPasteboard(handle func(o objc.ProtocolBase, collectionView CollectionView, indexes foundation.IndexSet, pasteboard Pasteboard) bool)

deprecated

type CollectionViewDelegateFlowLayout

type CollectionViewDelegateFlowLayout interface {
	CollectionViewDelegate
	ImplementsCollectionView_Layout_SizeForItemAtIndexPath() bool
	// optional
	CollectionView_Layout_SizeForItemAtIndexPath(collectionView CollectionView, collectionViewLayout CollectionViewLayout, indexPath foundation.IndexPath) foundation.Size
	ImplementsCollectionView_Layout_InsetForSectionAtIndex() bool
	// optional
	CollectionView_Layout_InsetForSectionAtIndex(collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) foundation.EdgeInsets
	ImplementsCollectionView_Layout_MinimumLineSpacingForSectionAtIndex() bool
	// optional
	CollectionView_Layout_MinimumLineSpacingForSectionAtIndex(collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) float64
	ImplementsCollectionView_Layout_MinimumInteritemSpacingForSectionAtIndex() bool
	// optional
	CollectionView_Layout_MinimumInteritemSpacingForSectionAtIndex(collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) float64
	ImplementsCollectionView_Layout_ReferenceSizeForHeaderInSection() bool
	// optional
	CollectionView_Layout_ReferenceSizeForHeaderInSection(collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) foundation.Size
	ImplementsCollectionView_Layout_ReferenceSizeForFooterInSection() bool
	// optional
	CollectionView_Layout_ReferenceSizeForFooterInSection(collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) foundation.Size
}

type CollectionViewDelegateFlowLayoutBase added in v0.13.0

type CollectionViewDelegateFlowLayoutBase struct {
	CollectionViewDelegateBase
}

func (*CollectionViewDelegateFlowLayoutBase) CollectionView_Layout_InsetForSectionAtIndex added in v0.13.0

func (p *CollectionViewDelegateFlowLayoutBase) CollectionView_Layout_InsetForSectionAtIndex(collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) foundation.EdgeInsets

func (*CollectionViewDelegateFlowLayoutBase) CollectionView_Layout_MinimumInteritemSpacingForSectionAtIndex added in v0.13.0

func (p *CollectionViewDelegateFlowLayoutBase) CollectionView_Layout_MinimumInteritemSpacingForSectionAtIndex(collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) float64

func (*CollectionViewDelegateFlowLayoutBase) CollectionView_Layout_MinimumLineSpacingForSectionAtIndex added in v0.13.0

func (p *CollectionViewDelegateFlowLayoutBase) CollectionView_Layout_MinimumLineSpacingForSectionAtIndex(collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) float64

func (*CollectionViewDelegateFlowLayoutBase) CollectionView_Layout_ReferenceSizeForFooterInSection added in v0.13.0

func (p *CollectionViewDelegateFlowLayoutBase) CollectionView_Layout_ReferenceSizeForFooterInSection(collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) foundation.Size

func (*CollectionViewDelegateFlowLayoutBase) CollectionView_Layout_ReferenceSizeForHeaderInSection added in v0.13.0

func (p *CollectionViewDelegateFlowLayoutBase) CollectionView_Layout_ReferenceSizeForHeaderInSection(collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) foundation.Size

func (*CollectionViewDelegateFlowLayoutBase) CollectionView_Layout_SizeForItemAtIndexPath added in v0.13.0

func (p *CollectionViewDelegateFlowLayoutBase) CollectionView_Layout_SizeForItemAtIndexPath(collectionView CollectionView, collectionViewLayout CollectionViewLayout, indexPath foundation.IndexPath) foundation.Size

func (*CollectionViewDelegateFlowLayoutBase) ImplementsCollectionView_Layout_InsetForSectionAtIndex added in v0.13.0

func (p *CollectionViewDelegateFlowLayoutBase) ImplementsCollectionView_Layout_InsetForSectionAtIndex() bool

func (*CollectionViewDelegateFlowLayoutBase) ImplementsCollectionView_Layout_MinimumInteritemSpacingForSectionAtIndex added in v0.13.0

func (p *CollectionViewDelegateFlowLayoutBase) ImplementsCollectionView_Layout_MinimumInteritemSpacingForSectionAtIndex() bool

func (*CollectionViewDelegateFlowLayoutBase) ImplementsCollectionView_Layout_MinimumLineSpacingForSectionAtIndex added in v0.13.0

func (p *CollectionViewDelegateFlowLayoutBase) ImplementsCollectionView_Layout_MinimumLineSpacingForSectionAtIndex() bool

func (*CollectionViewDelegateFlowLayoutBase) ImplementsCollectionView_Layout_ReferenceSizeForFooterInSection added in v0.13.0

func (p *CollectionViewDelegateFlowLayoutBase) ImplementsCollectionView_Layout_ReferenceSizeForFooterInSection() bool

func (*CollectionViewDelegateFlowLayoutBase) ImplementsCollectionView_Layout_ReferenceSizeForHeaderInSection added in v0.13.0

func (p *CollectionViewDelegateFlowLayoutBase) ImplementsCollectionView_Layout_ReferenceSizeForHeaderInSection() bool

func (*CollectionViewDelegateFlowLayoutBase) ImplementsCollectionView_Layout_SizeForItemAtIndexPath added in v0.13.0

func (p *CollectionViewDelegateFlowLayoutBase) ImplementsCollectionView_Layout_SizeForItemAtIndexPath() bool

type CollectionViewDelegateFlowLayoutCreator added in v0.19.0

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

func NewCollectionViewDelegateFlowLayoutCreator added in v0.19.0

func NewCollectionViewDelegateFlowLayoutCreator(name string) *CollectionViewDelegateFlowLayoutCreator

func (*CollectionViewDelegateFlowLayoutCreator) Create added in v0.19.0

func (*CollectionViewDelegateFlowLayoutCreator) SetCollectionView_Layout_InsetForSectionAtIndex added in v0.19.0

func (c *CollectionViewDelegateFlowLayoutCreator) SetCollectionView_Layout_InsetForSectionAtIndex(handle func(o objc.ProtocolBase, collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) foundation.EdgeInsets)

func (*CollectionViewDelegateFlowLayoutCreator) SetCollectionView_Layout_MinimumInteritemSpacingForSectionAtIndex added in v0.19.0

func (c *CollectionViewDelegateFlowLayoutCreator) SetCollectionView_Layout_MinimumInteritemSpacingForSectionAtIndex(handle func(o objc.ProtocolBase, collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) float64)

func (*CollectionViewDelegateFlowLayoutCreator) SetCollectionView_Layout_MinimumLineSpacingForSectionAtIndex added in v0.19.0

func (c *CollectionViewDelegateFlowLayoutCreator) SetCollectionView_Layout_MinimumLineSpacingForSectionAtIndex(handle func(o objc.ProtocolBase, collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) float64)

func (*CollectionViewDelegateFlowLayoutCreator) SetCollectionView_Layout_ReferenceSizeForFooterInSection added in v0.19.0

func (c *CollectionViewDelegateFlowLayoutCreator) SetCollectionView_Layout_ReferenceSizeForFooterInSection(handle func(o objc.ProtocolBase, collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) foundation.Size)

func (*CollectionViewDelegateFlowLayoutCreator) SetCollectionView_Layout_ReferenceSizeForHeaderInSection added in v0.19.0

func (c *CollectionViewDelegateFlowLayoutCreator) SetCollectionView_Layout_ReferenceSizeForHeaderInSection(handle func(o objc.ProtocolBase, collectionView CollectionView, collectionViewLayout CollectionViewLayout, section int) foundation.Size)

func (*CollectionViewDelegateFlowLayoutCreator) SetCollectionView_Layout_SizeForItemAtIndexPath added in v0.19.0

func (c *CollectionViewDelegateFlowLayoutCreator) SetCollectionView_Layout_SizeForItemAtIndexPath(handle func(o objc.ProtocolBase, collectionView CollectionView, collectionViewLayout CollectionViewLayout, indexPath foundation.IndexPath) foundation.Size)

type CollectionViewDiffableDataSource

type CollectionViewDiffableDataSource struct {
	objc.Object
}

func MakeCollectionViewDiffableDataSource

func MakeCollectionViewDiffableDataSource(ptr unsafe.Pointer) CollectionViewDiffableDataSource

func NewCollectionViewDiffableDataSource added in v0.13.0

func NewCollectionViewDiffableDataSource() CollectionViewDiffableDataSource

func (CollectionViewDiffableDataSource) ApplySnapshot_AnimatingDifferences

func (c_ CollectionViewDiffableDataSource) ApplySnapshot_AnimatingDifferences(snapshot IDiffableDataSourceSnapshot, animatingDifferences bool)

func (CollectionViewDiffableDataSource) IndexPathForItemIdentifier added in v0.13.6

func (c_ CollectionViewDiffableDataSource) IndexPathForItemIdentifier(identifier objc.IObject) foundation.IndexPath

func (CollectionViewDiffableDataSource) Init added in v0.13.0

func (CollectionViewDiffableDataSource) InitWithCollectionView_ItemProvider added in v0.13.6

func (c_ CollectionViewDiffableDataSource) InitWithCollectionView_ItemProvider(collectionView ICollectionView, itemProvider func(param1 CollectionView, param2 foundation.IndexPath, param3 objc.Object) ICollectionViewItem) CollectionViewDiffableDataSource

func (CollectionViewDiffableDataSource) ItemIdentifierForIndexPath added in v0.13.6

func (c_ CollectionViewDiffableDataSource) ItemIdentifierForIndexPath(indexPath foundation.IIndexPath) objc.Object

func (CollectionViewDiffableDataSource) SetSupplementaryViewProvider added in v0.13.3

func (c_ CollectionViewDiffableDataSource) SetSupplementaryViewProvider(value func(param1 CollectionView, param2 string, param3 foundation.IndexPath) IView)

func (CollectionViewDiffableDataSource) Snapshot

func (CollectionViewDiffableDataSource) SupplementaryViewProvider added in v0.13.3

func (c_ CollectionViewDiffableDataSource) SupplementaryViewProvider() func(param1 ICollectionView, param2 string, param3 foundation.IIndexPath) View

type CollectionViewDropOperation

type CollectionViewDropOperation int
const CollectionViewDropBefore CollectionViewDropOperation = 1
const CollectionViewDropOn CollectionViewDropOperation = 0

type CollectionViewElement

type CollectionViewElement interface {
	UserInterfaceItemIdentification
	ImplementsPrepareForReuse() bool
	// optional
	PrepareForReuse()
	ImplementsPreferredLayoutAttributesFittingAttributes() bool
	// optional
	PreferredLayoutAttributesFittingAttributes(layoutAttributes CollectionViewLayoutAttributes) ICollectionViewLayoutAttributes
	ImplementsApplyLayoutAttributes() bool
	// optional
	ApplyLayoutAttributes(layoutAttributes CollectionViewLayoutAttributes)
	ImplementsWillTransitionFromLayout_ToLayout() bool
	// optional
	WillTransitionFromLayout_ToLayout(oldLayout CollectionViewLayout, newLayout CollectionViewLayout)
	ImplementsDidTransitionFromLayout_ToLayout() bool
	// optional
	DidTransitionFromLayout_ToLayout(oldLayout CollectionViewLayout, newLayout CollectionViewLayout)
}

type CollectionViewElementBase added in v0.13.0

type CollectionViewElementBase struct {
	UserInterfaceItemIdentificationBase
}

func (*CollectionViewElementBase) ApplyLayoutAttributes added in v0.13.0

func (p *CollectionViewElementBase) ApplyLayoutAttributes(layoutAttributes CollectionViewLayoutAttributes)

func (*CollectionViewElementBase) DidTransitionFromLayout_ToLayout added in v0.13.0

func (p *CollectionViewElementBase) DidTransitionFromLayout_ToLayout(oldLayout CollectionViewLayout, newLayout CollectionViewLayout)

func (*CollectionViewElementBase) ImplementsApplyLayoutAttributes added in v0.13.0

func (p *CollectionViewElementBase) ImplementsApplyLayoutAttributes() bool

func (*CollectionViewElementBase) ImplementsDidTransitionFromLayout_ToLayout added in v0.13.0

func (p *CollectionViewElementBase) ImplementsDidTransitionFromLayout_ToLayout() bool

func (*CollectionViewElementBase) ImplementsPreferredLayoutAttributesFittingAttributes added in v0.13.0

func (p *CollectionViewElementBase) ImplementsPreferredLayoutAttributesFittingAttributes() bool

func (*CollectionViewElementBase) ImplementsPrepareForReuse added in v0.13.0

func (p *CollectionViewElementBase) ImplementsPrepareForReuse() bool

func (*CollectionViewElementBase) ImplementsWillTransitionFromLayout_ToLayout added in v0.13.0

func (p *CollectionViewElementBase) ImplementsWillTransitionFromLayout_ToLayout() bool

func (*CollectionViewElementBase) PreferredLayoutAttributesFittingAttributes added in v0.13.0

func (p *CollectionViewElementBase) PreferredLayoutAttributesFittingAttributes(layoutAttributes CollectionViewLayoutAttributes) ICollectionViewLayoutAttributes

func (*CollectionViewElementBase) PrepareForReuse added in v0.13.0

func (p *CollectionViewElementBase) PrepareForReuse()

func (*CollectionViewElementBase) WillTransitionFromLayout_ToLayout added in v0.13.0

func (p *CollectionViewElementBase) WillTransitionFromLayout_ToLayout(oldLayout CollectionViewLayout, newLayout CollectionViewLayout)

type CollectionViewFlowLayout

type CollectionViewFlowLayout struct {
	CollectionViewLayout
}

func MakeCollectionViewFlowLayout

func MakeCollectionViewFlowLayout(ptr unsafe.Pointer) CollectionViewFlowLayout

func NewCollectionViewFlowLayout

func NewCollectionViewFlowLayout() CollectionViewFlowLayout

func (CollectionViewFlowLayout) CollapseSectionAtIndex

func (c_ CollectionViewFlowLayout) CollapseSectionAtIndex(sectionIndex uint)

func (CollectionViewFlowLayout) EstimatedItemSize

func (c_ CollectionViewFlowLayout) EstimatedItemSize() foundation.Size

func (CollectionViewFlowLayout) ExpandSectionAtIndex

func (c_ CollectionViewFlowLayout) ExpandSectionAtIndex(sectionIndex uint)

func (CollectionViewFlowLayout) FooterReferenceSize

func (c_ CollectionViewFlowLayout) FooterReferenceSize() foundation.Size

func (CollectionViewFlowLayout) HeaderReferenceSize

func (c_ CollectionViewFlowLayout) HeaderReferenceSize() foundation.Size

func (CollectionViewFlowLayout) Init added in v0.11.0

func (CollectionViewFlowLayout) ItemSize

func (CollectionViewFlowLayout) MinimumInteritemSpacing

func (c_ CollectionViewFlowLayout) MinimumInteritemSpacing() float64

func (CollectionViewFlowLayout) MinimumLineSpacing

func (c_ CollectionViewFlowLayout) MinimumLineSpacing() float64

func (CollectionViewFlowLayout) ScrollDirection

func (CollectionViewFlowLayout) SectionAtIndexIsCollapsed

func (c_ CollectionViewFlowLayout) SectionAtIndexIsCollapsed(sectionIndex uint) bool

func (CollectionViewFlowLayout) SectionFootersPinToVisibleBounds

func (c_ CollectionViewFlowLayout) SectionFootersPinToVisibleBounds() bool

func (CollectionViewFlowLayout) SectionHeadersPinToVisibleBounds

func (c_ CollectionViewFlowLayout) SectionHeadersPinToVisibleBounds() bool

func (CollectionViewFlowLayout) SectionInset

func (CollectionViewFlowLayout) SetEstimatedItemSize

func (c_ CollectionViewFlowLayout) SetEstimatedItemSize(value foundation.Size)

func (CollectionViewFlowLayout) SetFooterReferenceSize

func (c_ CollectionViewFlowLayout) SetFooterReferenceSize(value foundation.Size)

func (CollectionViewFlowLayout) SetHeaderReferenceSize

func (c_ CollectionViewFlowLayout) SetHeaderReferenceSize(value foundation.Size)

func (CollectionViewFlowLayout) SetItemSize

func (c_ CollectionViewFlowLayout) SetItemSize(value foundation.Size)

func (CollectionViewFlowLayout) SetMinimumInteritemSpacing

func (c_ CollectionViewFlowLayout) SetMinimumInteritemSpacing(value float64)

func (CollectionViewFlowLayout) SetMinimumLineSpacing

func (c_ CollectionViewFlowLayout) SetMinimumLineSpacing(value float64)

func (CollectionViewFlowLayout) SetScrollDirection

func (c_ CollectionViewFlowLayout) SetScrollDirection(value CollectionViewScrollDirection)

func (CollectionViewFlowLayout) SetSectionFootersPinToVisibleBounds

func (c_ CollectionViewFlowLayout) SetSectionFootersPinToVisibleBounds(value bool)

func (CollectionViewFlowLayout) SetSectionHeadersPinToVisibleBounds

func (c_ CollectionViewFlowLayout) SetSectionHeadersPinToVisibleBounds(value bool)

func (CollectionViewFlowLayout) SetSectionInset

func (c_ CollectionViewFlowLayout) SetSectionInset(value foundation.EdgeInsets)

type CollectionViewFlowLayoutInvalidationContext

type CollectionViewFlowLayoutInvalidationContext struct {
	CollectionViewLayoutInvalidationContext
}

func NewCollectionViewFlowLayoutInvalidationContext

func NewCollectionViewFlowLayoutInvalidationContext() CollectionViewFlowLayoutInvalidationContext

func (CollectionViewFlowLayoutInvalidationContext) Init added in v0.11.0

func (CollectionViewFlowLayoutInvalidationContext) InvalidateFlowLayoutAttributes

func (c_ CollectionViewFlowLayoutInvalidationContext) InvalidateFlowLayoutAttributes() bool

func (CollectionViewFlowLayoutInvalidationContext) InvalidateFlowLayoutDelegateMetrics

func (c_ CollectionViewFlowLayoutInvalidationContext) InvalidateFlowLayoutDelegateMetrics() bool

func (CollectionViewFlowLayoutInvalidationContext) SetInvalidateFlowLayoutAttributes

func (c_ CollectionViewFlowLayoutInvalidationContext) SetInvalidateFlowLayoutAttributes(value bool)

func (CollectionViewFlowLayoutInvalidationContext) SetInvalidateFlowLayoutDelegateMetrics

func (c_ CollectionViewFlowLayoutInvalidationContext) SetInvalidateFlowLayoutDelegateMetrics(value bool)

type CollectionViewGridLayout

type CollectionViewGridLayout struct {
	CollectionViewLayout
}

func MakeCollectionViewGridLayout

func MakeCollectionViewGridLayout(ptr unsafe.Pointer) CollectionViewGridLayout

func NewCollectionViewGridLayout

func NewCollectionViewGridLayout() CollectionViewGridLayout

func (CollectionViewGridLayout) BackgroundColors

func (c_ CollectionViewGridLayout) BackgroundColors() []Color

func (CollectionViewGridLayout) Init added in v0.11.0

func (CollectionViewGridLayout) Margins

func (CollectionViewGridLayout) MaximumItemSize

func (c_ CollectionViewGridLayout) MaximumItemSize() foundation.Size

func (CollectionViewGridLayout) MaximumNumberOfColumns

func (c_ CollectionViewGridLayout) MaximumNumberOfColumns() uint

func (CollectionViewGridLayout) MaximumNumberOfRows

func (c_ CollectionViewGridLayout) MaximumNumberOfRows() uint

func (CollectionViewGridLayout) MinimumInteritemSpacing

func (c_ CollectionViewGridLayout) MinimumInteritemSpacing() float64

func (CollectionViewGridLayout) MinimumItemSize

func (c_ CollectionViewGridLayout) MinimumItemSize() foundation.Size

func (CollectionViewGridLayout) MinimumLineSpacing

func (c_ CollectionViewGridLayout) MinimumLineSpacing() float64

func (CollectionViewGridLayout) SetBackgroundColors

func (c_ CollectionViewGridLayout) SetBackgroundColors(value []IColor)

func (CollectionViewGridLayout) SetMargins

func (c_ CollectionViewGridLayout) SetMargins(value foundation.EdgeInsets)

func (CollectionViewGridLayout) SetMaximumItemSize

func (c_ CollectionViewGridLayout) SetMaximumItemSize(value foundation.Size)

func (CollectionViewGridLayout) SetMaximumNumberOfColumns

func (c_ CollectionViewGridLayout) SetMaximumNumberOfColumns(value uint)

func (CollectionViewGridLayout) SetMaximumNumberOfRows

func (c_ CollectionViewGridLayout) SetMaximumNumberOfRows(value uint)

func (CollectionViewGridLayout) SetMinimumInteritemSpacing

func (c_ CollectionViewGridLayout) SetMinimumInteritemSpacing(value float64)

func (CollectionViewGridLayout) SetMinimumItemSize

func (c_ CollectionViewGridLayout) SetMinimumItemSize(value foundation.Size)

func (CollectionViewGridLayout) SetMinimumLineSpacing

func (c_ CollectionViewGridLayout) SetMinimumLineSpacing(value float64)

type CollectionViewItem

type CollectionViewItem struct {
	ViewController
}

func MakeCollectionViewItem

func MakeCollectionViewItem(ptr unsafe.Pointer) CollectionViewItem

func NewCollectionViewItem

func NewCollectionViewItem() CollectionViewItem

func (CollectionViewItem) CollectionView

func (c_ CollectionViewItem) CollectionView() CollectionView

weak property

func (CollectionViewItem) DraggingImageComponents

func (c_ CollectionViewItem) DraggingImageComponents() []DraggingImageComponent

func (CollectionViewItem) HighlightState

func (CollectionViewItem) ImageView

func (c_ CollectionViewItem) ImageView() ImageView

weak property

func (CollectionViewItem) Init added in v0.11.0

func (CollectionViewItem) InitWithNibName_Bundle added in v0.11.0

func (c_ CollectionViewItem) InitWithNibName_Bundle(nibNameOrNil NibName, nibBundleOrNil foundation.IBundle) CollectionViewItem

func (CollectionViewItem) IsSelected

func (c_ CollectionViewItem) IsSelected() bool

func (CollectionViewItem) SetHighlightState

func (c_ CollectionViewItem) SetHighlightState(value CollectionViewItemHighlightState)

func (CollectionViewItem) SetImageView

func (c_ CollectionViewItem) SetImageView(value IImageView)

weak property

func (CollectionViewItem) SetSelected

func (c_ CollectionViewItem) SetSelected(value bool)

func (CollectionViewItem) SetTextField

func (c_ CollectionViewItem) SetTextField(value ITextField)

weak property

func (CollectionViewItem) TextField

func (c_ CollectionViewItem) TextField() TextField

weak property

type CollectionViewItemHighlightState

type CollectionViewItemHighlightState int
const CollectionViewItemHighlightAsDropTarget CollectionViewItemHighlightState = 3
const CollectionViewItemHighlightForDeselection CollectionViewItemHighlightState = 2
const CollectionViewItemHighlightForSelection CollectionViewItemHighlightState = 1
const CollectionViewItemHighlightNone CollectionViewItemHighlightState = 0

type CollectionViewLayout

type CollectionViewLayout struct {
	objc.Object
}

func MakeCollectionViewLayout

func MakeCollectionViewLayout(ptr unsafe.Pointer) CollectionViewLayout

func NewCollectionViewLayout

func NewCollectionViewLayout() CollectionViewLayout

func (CollectionViewLayout) CollectionView

func (c_ CollectionViewLayout) CollectionView() CollectionView

weak property

func (CollectionViewLayout) CollectionViewContentSize

func (c_ CollectionViewLayout) CollectionViewContentSize() foundation.Size

func (CollectionViewLayout) FinalLayoutAttributesForDisappearingDecorationElementOfKind_AtIndexPath

func (c_ CollectionViewLayout) FinalLayoutAttributesForDisappearingDecorationElementOfKind_AtIndexPath(elementKind CollectionViewDecorationElementKind, decorationIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes

func (CollectionViewLayout) FinalLayoutAttributesForDisappearingItemAtIndexPath

func (c_ CollectionViewLayout) FinalLayoutAttributesForDisappearingItemAtIndexPath(itemIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes

func (CollectionViewLayout) FinalLayoutAttributesForDisappearingSupplementaryElementOfKind_AtIndexPath

func (c_ CollectionViewLayout) FinalLayoutAttributesForDisappearingSupplementaryElementOfKind_AtIndexPath(elementKind CollectionViewSupplementaryElementKind, elementIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes

func (CollectionViewLayout) FinalizeAnimatedBoundsChange

func (c_ CollectionViewLayout) FinalizeAnimatedBoundsChange()

func (CollectionViewLayout) FinalizeCollectionViewUpdates

func (c_ CollectionViewLayout) FinalizeCollectionViewUpdates()

func (CollectionViewLayout) FinalizeLayoutTransition

func (c_ CollectionViewLayout) FinalizeLayoutTransition()

func (CollectionViewLayout) IndexPathsToDeleteForDecorationViewOfKind

func (c_ CollectionViewLayout) IndexPathsToDeleteForDecorationViewOfKind(elementKind CollectionViewDecorationElementKind) foundation.Set

func (CollectionViewLayout) IndexPathsToDeleteForSupplementaryViewOfKind

func (c_ CollectionViewLayout) IndexPathsToDeleteForSupplementaryViewOfKind(elementKind CollectionViewSupplementaryElementKind) foundation.Set

func (CollectionViewLayout) IndexPathsToInsertForDecorationViewOfKind

func (c_ CollectionViewLayout) IndexPathsToInsertForDecorationViewOfKind(elementKind CollectionViewDecorationElementKind) foundation.Set

func (CollectionViewLayout) IndexPathsToInsertForSupplementaryViewOfKind

func (c_ CollectionViewLayout) IndexPathsToInsertForSupplementaryViewOfKind(elementKind CollectionViewSupplementaryElementKind) foundation.Set

func (CollectionViewLayout) Init added in v0.11.0

func (CollectionViewLayout) InitialLayoutAttributesForAppearingDecorationElementOfKind_AtIndexPath

func (c_ CollectionViewLayout) InitialLayoutAttributesForAppearingDecorationElementOfKind_AtIndexPath(elementKind CollectionViewDecorationElementKind, decorationIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes

func (CollectionViewLayout) InitialLayoutAttributesForAppearingItemAtIndexPath

func (c_ CollectionViewLayout) InitialLayoutAttributesForAppearingItemAtIndexPath(itemIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes

func (CollectionViewLayout) InitialLayoutAttributesForAppearingSupplementaryElementOfKind_AtIndexPath

func (c_ CollectionViewLayout) InitialLayoutAttributesForAppearingSupplementaryElementOfKind_AtIndexPath(elementKind CollectionViewSupplementaryElementKind, elementIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes

func (CollectionViewLayout) InvalidateLayout

func (c_ CollectionViewLayout) InvalidateLayout()

func (CollectionViewLayout) InvalidateLayoutWithContext

func (c_ CollectionViewLayout) InvalidateLayoutWithContext(context ICollectionViewLayoutInvalidationContext)

func (CollectionViewLayout) InvalidationContextForBoundsChange

func (c_ CollectionViewLayout) InvalidationContextForBoundsChange(newBounds foundation.Rect) CollectionViewLayoutInvalidationContext

func (CollectionViewLayout) InvalidationContextForPreferredLayoutAttributes_WithOriginalAttributes

func (c_ CollectionViewLayout) InvalidationContextForPreferredLayoutAttributes_WithOriginalAttributes(preferredAttributes ICollectionViewLayoutAttributes, originalAttributes ICollectionViewLayoutAttributes) CollectionViewLayoutInvalidationContext

func (CollectionViewLayout) LayoutAttributesForDecorationViewOfKind_AtIndexPath

func (c_ CollectionViewLayout) LayoutAttributesForDecorationViewOfKind_AtIndexPath(elementKind CollectionViewDecorationElementKind, indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

func (CollectionViewLayout) LayoutAttributesForDropTargetAtPoint

func (c_ CollectionViewLayout) LayoutAttributesForDropTargetAtPoint(pointInCollectionView foundation.Point) CollectionViewLayoutAttributes

func (CollectionViewLayout) LayoutAttributesForElementsInRect

func (c_ CollectionViewLayout) LayoutAttributesForElementsInRect(rect foundation.Rect) []CollectionViewLayoutAttributes

func (CollectionViewLayout) LayoutAttributesForInterItemGapBeforeIndexPath

func (c_ CollectionViewLayout) LayoutAttributesForInterItemGapBeforeIndexPath(indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

func (CollectionViewLayout) LayoutAttributesForItemAtIndexPath

func (c_ CollectionViewLayout) LayoutAttributesForItemAtIndexPath(indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

func (CollectionViewLayout) LayoutAttributesForSupplementaryViewOfKind_AtIndexPath

func (c_ CollectionViewLayout) LayoutAttributesForSupplementaryViewOfKind_AtIndexPath(elementKind CollectionViewSupplementaryElementKind, indexPath foundation.IIndexPath) CollectionViewLayoutAttributes

func (CollectionViewLayout) PrepareForAnimatedBoundsChange

func (c_ CollectionViewLayout) PrepareForAnimatedBoundsChange(oldBounds foundation.Rect)

func (CollectionViewLayout) PrepareForCollectionViewUpdates

func (c_ CollectionViewLayout) PrepareForCollectionViewUpdates(updateItems []ICollectionViewUpdateItem)

func (CollectionViewLayout) PrepareForTransitionFromLayout

func (c_ CollectionViewLayout) PrepareForTransitionFromLayout(oldLayout ICollectionViewLayout)

func (CollectionViewLayout) PrepareForTransitionToLayout

func (c_ CollectionViewLayout) PrepareForTransitionToLayout(newLayout ICollectionViewLayout)

func (CollectionViewLayout) PrepareLayout

func (c_ CollectionViewLayout) PrepareLayout()

func (CollectionViewLayout) RegisterClass_ForDecorationViewOfKind added in v0.16.0

func (c_ CollectionViewLayout) RegisterClass_ForDecorationViewOfKind(viewClass objc.IClass, elementKind CollectionViewDecorationElementKind)

func (CollectionViewLayout) RegisterNib_ForDecorationViewOfKind

func (c_ CollectionViewLayout) RegisterNib_ForDecorationViewOfKind(nib INib, elementKind CollectionViewDecorationElementKind)

func (CollectionViewLayout) ShouldInvalidateLayoutForBoundsChange

func (c_ CollectionViewLayout) ShouldInvalidateLayoutForBoundsChange(newBounds foundation.Rect) bool

func (CollectionViewLayout) ShouldInvalidateLayoutForPreferredLayoutAttributes_WithOriginalAttributes

func (c_ CollectionViewLayout) ShouldInvalidateLayoutForPreferredLayoutAttributes_WithOriginalAttributes(preferredAttributes ICollectionViewLayoutAttributes, originalAttributes ICollectionViewLayoutAttributes) bool

func (CollectionViewLayout) TargetContentOffsetForProposedContentOffset

func (c_ CollectionViewLayout) TargetContentOffsetForProposedContentOffset(proposedContentOffset foundation.Point) foundation.Point

func (CollectionViewLayout) TargetContentOffsetForProposedContentOffset_WithScrollingVelocity

func (c_ CollectionViewLayout) TargetContentOffsetForProposedContentOffset_WithScrollingVelocity(proposedContentOffset foundation.Point, velocity foundation.Point) foundation.Point

type CollectionViewLayoutAttributes

type CollectionViewLayoutAttributes struct {
	objc.Object
}

func MakeCollectionViewLayoutAttributes

func MakeCollectionViewLayoutAttributes(ptr unsafe.Pointer) CollectionViewLayoutAttributes

func NewCollectionViewLayoutAttributes

func NewCollectionViewLayoutAttributes() CollectionViewLayoutAttributes

func (CollectionViewLayoutAttributes) Alpha

func (CollectionViewLayoutAttributes) Frame

func (CollectionViewLayoutAttributes) IndexPath

func (CollectionViewLayoutAttributes) Init added in v0.11.0

func (CollectionViewLayoutAttributes) IsHidden

func (c_ CollectionViewLayoutAttributes) IsHidden() bool

func (CollectionViewLayoutAttributes) RepresentedElementCategory

func (c_ CollectionViewLayoutAttributes) RepresentedElementCategory() CollectionElementCategory

func (CollectionViewLayoutAttributes) RepresentedElementKind

func (c_ CollectionViewLayoutAttributes) RepresentedElementKind() string

func (CollectionViewLayoutAttributes) SetAlpha

func (c_ CollectionViewLayoutAttributes) SetAlpha(value float64)

func (CollectionViewLayoutAttributes) SetFrame

func (c_ CollectionViewLayoutAttributes) SetFrame(value foundation.Rect)

func (CollectionViewLayoutAttributes) SetHidden

func (c_ CollectionViewLayoutAttributes) SetHidden(value bool)

func (CollectionViewLayoutAttributes) SetIndexPath

func (c_ CollectionViewLayoutAttributes) SetIndexPath(value foundation.IIndexPath)

func (CollectionViewLayoutAttributes) SetSize

func (CollectionViewLayoutAttributes) SetZIndex

func (c_ CollectionViewLayoutAttributes) SetZIndex(value int)

func (CollectionViewLayoutAttributes) Size

func (CollectionViewLayoutAttributes) ZIndex

func (c_ CollectionViewLayoutAttributes) ZIndex() int

type CollectionViewLayoutInvalidationContext

type CollectionViewLayoutInvalidationContext struct {
	objc.Object
}

func MakeCollectionViewLayoutInvalidationContext

func MakeCollectionViewLayoutInvalidationContext(ptr unsafe.Pointer) CollectionViewLayoutInvalidationContext

func NewCollectionViewLayoutInvalidationContext

func NewCollectionViewLayoutInvalidationContext() CollectionViewLayoutInvalidationContext

func (CollectionViewLayoutInvalidationContext) ContentOffsetAdjustment

func (c_ CollectionViewLayoutInvalidationContext) ContentOffsetAdjustment() foundation.Point

func (CollectionViewLayoutInvalidationContext) ContentSizeAdjustment

func (c_ CollectionViewLayoutInvalidationContext) ContentSizeAdjustment() foundation.Size

func (CollectionViewLayoutInvalidationContext) Init added in v0.11.0

func (CollectionViewLayoutInvalidationContext) InvalidateDataSourceCounts

func (c_ CollectionViewLayoutInvalidationContext) InvalidateDataSourceCounts() bool

func (CollectionViewLayoutInvalidationContext) InvalidateDecorationElementsOfKind_AtIndexPaths

func (c_ CollectionViewLayoutInvalidationContext) InvalidateDecorationElementsOfKind_AtIndexPaths(elementKind CollectionViewDecorationElementKind, indexPaths foundation.ISet)

func (CollectionViewLayoutInvalidationContext) InvalidateEverything

func (c_ CollectionViewLayoutInvalidationContext) InvalidateEverything() bool

func (CollectionViewLayoutInvalidationContext) InvalidateItemsAtIndexPaths

func (c_ CollectionViewLayoutInvalidationContext) InvalidateItemsAtIndexPaths(indexPaths foundation.ISet)

func (CollectionViewLayoutInvalidationContext) InvalidateSupplementaryElementsOfKind_AtIndexPaths

func (c_ CollectionViewLayoutInvalidationContext) InvalidateSupplementaryElementsOfKind_AtIndexPaths(elementKind CollectionViewSupplementaryElementKind, indexPaths foundation.ISet)

func (CollectionViewLayoutInvalidationContext) InvalidatedDecorationIndexPaths added in v0.13.3

func (CollectionViewLayoutInvalidationContext) InvalidatedItemIndexPaths

func (c_ CollectionViewLayoutInvalidationContext) InvalidatedItemIndexPaths() foundation.Set

func (CollectionViewLayoutInvalidationContext) InvalidatedSupplementaryIndexPaths added in v0.13.3

func (CollectionViewLayoutInvalidationContext) SetContentOffsetAdjustment

func (c_ CollectionViewLayoutInvalidationContext) SetContentOffsetAdjustment(value foundation.Point)

func (CollectionViewLayoutInvalidationContext) SetContentSizeAdjustment

func (c_ CollectionViewLayoutInvalidationContext) SetContentSizeAdjustment(value foundation.Size)

type CollectionViewPrefetching added in v0.13.0

type CollectionViewPrefetching interface {
	ImplementsCollectionView_CancelPrefetchingForItemsAtIndexPaths() bool
	// optional
	CollectionView_CancelPrefetchingForItemsAtIndexPaths(collectionView CollectionView, indexPaths []foundation.IndexPath)
	// required
	CollectionView_PrefetchItemsAtIndexPaths(collectionView CollectionView, indexPaths []foundation.IndexPath)
}

type CollectionViewPrefetchingBase added in v0.13.0

type CollectionViewPrefetchingBase struct {
}

func (*CollectionViewPrefetchingBase) CollectionView_CancelPrefetchingForItemsAtIndexPaths added in v0.13.0

func (p *CollectionViewPrefetchingBase) CollectionView_CancelPrefetchingForItemsAtIndexPaths(collectionView CollectionView, indexPaths []foundation.IndexPath)

func (*CollectionViewPrefetchingBase) ImplementsCollectionView_CancelPrefetchingForItemsAtIndexPaths added in v0.13.0

func (p *CollectionViewPrefetchingBase) ImplementsCollectionView_CancelPrefetchingForItemsAtIndexPaths() bool

type CollectionViewScrollDirection

type CollectionViewScrollDirection int
const CollectionViewScrollDirectionHorizontal CollectionViewScrollDirection = 1
const CollectionViewScrollDirectionVertical CollectionViewScrollDirection = 0

type CollectionViewScrollPosition

type CollectionViewScrollPosition uint
const CollectionViewScrollPositionBottom CollectionViewScrollPosition = 4
const CollectionViewScrollPositionCenteredHorizontally CollectionViewScrollPosition = 16
const CollectionViewScrollPositionCenteredVertically CollectionViewScrollPosition = 2
const CollectionViewScrollPositionLeadingEdge CollectionViewScrollPosition = 64
const CollectionViewScrollPositionLeft CollectionViewScrollPosition = 8
const CollectionViewScrollPositionNearestHorizontalEdge CollectionViewScrollPosition = 512
const CollectionViewScrollPositionNearestVerticalEdge CollectionViewScrollPosition = 256
const CollectionViewScrollPositionNone CollectionViewScrollPosition = 0
const CollectionViewScrollPositionRight CollectionViewScrollPosition = 32
const CollectionViewScrollPositionTop CollectionViewScrollPosition = 1
const CollectionViewScrollPositionTrailingEdge CollectionViewScrollPosition = 128

type CollectionViewSectionHeaderView

type CollectionViewSectionHeaderView interface {
	CollectionViewElement
	ImplementsSetSectionCollapseButton() bool
	// optional
	SetSectionCollapseButton(value Button)
	ImplementsSectionCollapseButton() bool
	// optional
	SectionCollapseButton() IButton
}

type CollectionViewSectionHeaderViewBase added in v0.13.0

type CollectionViewSectionHeaderViewBase struct {
	CollectionViewElementBase
}

func (*CollectionViewSectionHeaderViewBase) ImplementsSectionCollapseButton added in v0.13.0

func (p *CollectionViewSectionHeaderViewBase) ImplementsSectionCollapseButton() bool

func (*CollectionViewSectionHeaderViewBase) ImplementsSetSectionCollapseButton added in v0.13.0

func (p *CollectionViewSectionHeaderViewBase) ImplementsSetSectionCollapseButton() bool

func (*CollectionViewSectionHeaderViewBase) SectionCollapseButton added in v0.13.0

func (p *CollectionViewSectionHeaderViewBase) SectionCollapseButton() IButton

func (*CollectionViewSectionHeaderViewBase) SetSectionCollapseButton added in v0.13.0

func (p *CollectionViewSectionHeaderViewBase) SetSectionCollapseButton(value Button)

type CollectionViewSupplementaryElementKind

type CollectionViewSupplementaryElementKind string

type CollectionViewTransitionLayout

type CollectionViewTransitionLayout struct {
	CollectionViewLayout
}

func MakeCollectionViewTransitionLayout

func MakeCollectionViewTransitionLayout(ptr unsafe.Pointer) CollectionViewTransitionLayout

func NewCollectionViewTransitionLayout

func NewCollectionViewTransitionLayout() CollectionViewTransitionLayout

func (CollectionViewTransitionLayout) CurrentLayout

func (CollectionViewTransitionLayout) Init added in v0.11.0

func (CollectionViewTransitionLayout) InitWithCurrentLayout_NextLayout added in v0.11.0

func (c_ CollectionViewTransitionLayout) InitWithCurrentLayout_NextLayout(currentLayout ICollectionViewLayout, newLayout ICollectionViewLayout) CollectionViewTransitionLayout

func (CollectionViewTransitionLayout) NextLayout

func (CollectionViewTransitionLayout) SetTransitionProgress

func (c_ CollectionViewTransitionLayout) SetTransitionProgress(value float64)

weak property

func (CollectionViewTransitionLayout) TransitionProgress

func (c_ CollectionViewTransitionLayout) TransitionProgress() float64

weak property

func (CollectionViewTransitionLayout) UpdateValue_ForAnimatedKey

func (c_ CollectionViewTransitionLayout) UpdateValue_ForAnimatedKey(value float64, key CollectionViewTransitionLayoutAnimatedKey)

func (CollectionViewTransitionLayout) ValueForAnimatedKey

type CollectionViewTransitionLayoutAnimatedKey

type CollectionViewTransitionLayoutAnimatedKey string

type CollectionViewUpdateItem

type CollectionViewUpdateItem struct {
	objc.Object
}

func MakeCollectionViewUpdateItem

func MakeCollectionViewUpdateItem(ptr unsafe.Pointer) CollectionViewUpdateItem

func NewCollectionViewUpdateItem

func NewCollectionViewUpdateItem() CollectionViewUpdateItem

func (CollectionViewUpdateItem) IndexPathAfterUpdate

func (c_ CollectionViewUpdateItem) IndexPathAfterUpdate() foundation.IndexPath

func (CollectionViewUpdateItem) IndexPathBeforeUpdate

func (c_ CollectionViewUpdateItem) IndexPathBeforeUpdate() foundation.IndexPath

func (CollectionViewUpdateItem) Init added in v0.11.0

func (CollectionViewUpdateItem) UpdateAction

type Color

type Color struct {
	objc.Object
}

func MakeColor

func MakeColor(ptr unsafe.Pointer) Color

func NewColor

func NewColor() Color

func (Color) AlphaComponent

func (c_ Color) AlphaComponent() float64

func (Color) BlackComponent

func (c_ Color) BlackComponent() float64

func (Color) BlendedColorWithFraction_OfColor

func (c_ Color) BlendedColorWithFraction_OfColor(fraction float64, color IColor) Color

func (Color) BlueComponent

func (c_ Color) BlueComponent() float64

func (Color) BrightnessComponent

func (c_ Color) BrightnessComponent() float64

func (Color) CGColor

func (c_ Color) CGColor() coregraphics.ColorRef

func (Color) CatalogNameComponent

func (c_ Color) CatalogNameComponent() ColorListName

func (Color) ColorNameComponent

func (c_ Color) ColorNameComponent() ColorName

func (Color) ColorSpace

func (c_ Color) ColorSpace() ColorSpace

func (Color) ColorSpaceName added in v0.14.5

func (c_ Color) ColorSpaceName() ColorSpaceName

deprecated

func (Color) ColorUsingColorSpace

func (c_ Color) ColorUsingColorSpace(space IColorSpace) Color

func (Color) ColorUsingColorSpaceName added in v0.14.5

func (c_ Color) ColorUsingColorSpaceName(name ColorSpaceName) Color

deprecated

func (Color) ColorUsingColorSpaceName_Device added in v0.14.5

func (c_ Color) ColorUsingColorSpaceName_Device(name ColorSpaceName, deviceDescription map[DeviceDescriptionKey]objc.IObject) Color

deprecated

func (Color) ColorUsingType

func (c_ Color) ColorUsingType(type_ ColorType) Color

func (Color) ColorWithAlphaComponent

func (c_ Color) ColorWithAlphaComponent(alpha float64) Color

func (Color) ColorWithSystemEffect

func (c_ Color) ColorWithSystemEffect(systemEffect ColorSystemEffect) Color

func (Color) CyanComponent

func (c_ Color) CyanComponent() float64

func (Color) DrawSwatchInRect

func (c_ Color) DrawSwatchInRect(rect foundation.Rect)

func (Color) GetComponents added in v0.13.4

func (c_ Color) GetComponents(components *float64)

func (Color) GetCyan_Magenta_Yellow_Black_Alpha added in v0.13.4

func (c_ Color) GetCyan_Magenta_Yellow_Black_Alpha(cyan *float64, magenta *float64, yellow *float64, black *float64, alpha *float64)

func (Color) GetHue_Saturation_Brightness_Alpha added in v0.13.4

func (c_ Color) GetHue_Saturation_Brightness_Alpha(hue *float64, saturation *float64, brightness *float64, alpha *float64)

func (Color) GetRed_Green_Blue_Alpha added in v0.13.4

func (c_ Color) GetRed_Green_Blue_Alpha(red *float64, green *float64, blue *float64, alpha *float64)

func (Color) GetWhite_Alpha added in v0.13.4

func (c_ Color) GetWhite_Alpha(white *float64, alpha *float64)

func (Color) GreenComponent

func (c_ Color) GreenComponent() float64

func (Color) HighlightWithLevel

func (c_ Color) HighlightWithLevel(val float64) Color

func (Color) HueComponent

func (c_ Color) HueComponent() float64

func (Color) Init added in v0.11.0

func (c_ Color) Init() Color

func (Color) LocalizedCatalogNameComponent

func (c_ Color) LocalizedCatalogNameComponent() string

func (Color) LocalizedColorNameComponent

func (c_ Color) LocalizedColorNameComponent() string

func (Color) MagentaComponent

func (c_ Color) MagentaComponent() float64

func (Color) NumberOfComponents

func (c_ Color) NumberOfComponents() int

func (Color) PatternImage

func (c_ Color) PatternImage() Image

func (Color) RedComponent

func (c_ Color) RedComponent() float64

func (Color) SaturationComponent

func (c_ Color) SaturationComponent() float64

func (Color) Set

func (c_ Color) Set()

func (Color) SetFill

func (c_ Color) SetFill()

func (Color) SetStroke

func (c_ Color) SetStroke()

func (Color) ShadowWithLevel

func (c_ Color) ShadowWithLevel(val float64) Color

func (Color) Type

func (c_ Color) Type() ColorType

func (Color) WhiteComponent

func (c_ Color) WhiteComponent() float64

func (Color) WriteToPasteboard

func (c_ Color) WriteToPasteboard(pasteBoard IPasteboard)

func (Color) YellowComponent

func (c_ Color) YellowComponent() float64

type ColorList

type ColorList struct {
	objc.Object
}

func MakeColorList

func MakeColorList(ptr unsafe.Pointer) ColorList

func NewColorList

func NewColorList() ColorList

func (ColorList) AllKeys

func (c_ ColorList) AllKeys() []ColorName

func (ColorList) ColorWithKey

func (c_ ColorList) ColorWithKey(key ColorName) Color

func (ColorList) Init added in v0.11.0

func (c_ ColorList) Init() ColorList

func (ColorList) InitWithName added in v0.11.0

func (c_ ColorList) InitWithName(name ColorListName) ColorList

func (ColorList) InitWithName_FromFile added in v0.11.0

func (c_ ColorList) InitWithName_FromFile(name ColorListName, path string) ColorList

func (ColorList) InsertColor_Key_AtIndex

func (c_ ColorList) InsertColor_Key_AtIndex(color IColor, key ColorName, loc uint)

func (ColorList) IsEditable

func (c_ ColorList) IsEditable() bool

func (ColorList) Name

func (c_ ColorList) Name() ColorListName

func (ColorList) RemoveColorWithKey

func (c_ ColorList) RemoveColorWithKey(key ColorName)

func (ColorList) RemoveFile

func (c_ ColorList) RemoveFile()

func (ColorList) SetColor_ForKey

func (c_ ColorList) SetColor_ForKey(color IColor, key ColorName)

func (ColorList) WriteToFile added in v0.14.5

func (c_ ColorList) WriteToFile(path string) bool

deprecated

func (ColorList) WriteToURL_Error added in v0.13.3

func (c_ ColorList) WriteToURL_Error(url foundation.IURL, errPtr *foundation.Error) bool

type ColorListName

type ColorListName string

type ColorName

type ColorName string

type ColorPanel

type ColorPanel struct {
	Panel
}

func MakeColorPanel

func MakeColorPanel(ptr unsafe.Pointer) ColorPanel

func NewColorPanel

func NewColorPanel() ColorPanel

func (ColorPanel) AccessoryView

func (c_ ColorPanel) AccessoryView() View

func (ColorPanel) Alpha

func (c_ ColorPanel) Alpha() float64

func (ColorPanel) AttachColorList

func (c_ ColorPanel) AttachColorList(colorList IColorList)

func (ColorPanel) ChangeColor added in v0.14.5

func (c_ ColorPanel) ChangeColor(sender objc.IObject)

deprecated

func (ColorPanel) Color

func (c_ ColorPanel) Color() Color

func (ColorPanel) DetachColorList

func (c_ ColorPanel) DetachColorList(colorList IColorList)

func (ColorPanel) Init added in v0.11.0

func (c_ ColorPanel) Init() ColorPanel

func (ColorPanel) InitWithContentRect_StyleMask_Backing_Defer added in v0.11.0

func (c_ ColorPanel) InitWithContentRect_StyleMask_Backing_Defer(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool) ColorPanel

func (ColorPanel) InitWithContentRect_StyleMask_Backing_Defer_Screen added in v0.11.0

func (c_ ColorPanel) InitWithContentRect_StyleMask_Backing_Defer_Screen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) ColorPanel

func (ColorPanel) IsContinuous

func (c_ ColorPanel) IsContinuous() bool

func (ColorPanel) Mode

func (c_ ColorPanel) Mode() ColorPanelMode

func (ColorPanel) SetAccessoryView

func (c_ ColorPanel) SetAccessoryView(value IView)

func (ColorPanel) SetAction

func (c_ ColorPanel) SetAction(selector objc.Selector)

func (ColorPanel) SetColor

func (c_ ColorPanel) SetColor(value IColor)

func (ColorPanel) SetContinuous

func (c_ ColorPanel) SetContinuous(value bool)

func (ColorPanel) SetMode

func (c_ ColorPanel) SetMode(value ColorPanelMode)

func (ColorPanel) SetShowsAlpha

func (c_ ColorPanel) SetShowsAlpha(value bool)

func (ColorPanel) SetTarget

func (c_ ColorPanel) SetTarget(target objc.IObject)

func (ColorPanel) ShowsAlpha

func (c_ ColorPanel) ShowsAlpha() bool

type ColorPanelMode

type ColorPanelMode int
const ColorPanelModeCMYK ColorPanelMode = 2
const ColorPanelModeColorList ColorPanelMode = 5
const ColorPanelModeCrayon ColorPanelMode = 7
const ColorPanelModeCustomPalette ColorPanelMode = 4
const ColorPanelModeGray ColorPanelMode = 0
const ColorPanelModeHSB ColorPanelMode = 3
const ColorPanelModeNone ColorPanelMode = -1
const ColorPanelModeRGB ColorPanelMode = 1
const ColorPanelModeWheel ColorPanelMode = 6

type ColorPanelOptions

type ColorPanelOptions uint
const ColorPanelAllModesMask ColorPanelOptions = 65535
const ColorPanelCMYKModeMask ColorPanelOptions = 4
const ColorPanelColorListModeMask ColorPanelOptions = 32
const ColorPanelCrayonModeMask ColorPanelOptions = 128
const ColorPanelCustomPaletteModeMask ColorPanelOptions = 16
const ColorPanelGrayModeMask ColorPanelOptions = 1
const ColorPanelHSBModeMask ColorPanelOptions = 8
const ColorPanelRGBModeMask ColorPanelOptions = 2
const ColorPanelWheelModeMask ColorPanelOptions = 64

type ColorPicker

type ColorPicker struct {
	objc.Object
}

func MakeColorPicker

func MakeColorPicker(ptr unsafe.Pointer) ColorPicker

func NewColorPicker

func NewColorPicker() ColorPicker

func (ColorPicker) AttachColorList

func (c_ ColorPicker) AttachColorList(colorList IColorList)

func (ColorPicker) ButtonToolTip

func (c_ ColorPicker) ButtonToolTip() string

func (ColorPicker) ColorPanel

func (c_ ColorPicker) ColorPanel() ColorPanel

func (ColorPicker) DetachColorList

func (c_ ColorPicker) DetachColorList(colorList IColorList)

func (ColorPicker) Init added in v0.11.0

func (c_ ColorPicker) Init() ColorPicker

func (ColorPicker) InitWithPickerMask_ColorPanel added in v0.11.0

func (c_ ColorPicker) InitWithPickerMask_ColorPanel(mask uint, owningColorPanel IColorPanel) ColorPicker

func (ColorPicker) InsertNewButtonImage_In

func (c_ ColorPicker) InsertNewButtonImage_In(newButtonImage IImage, buttonCell IButtonCell)

func (ColorPicker) MinContentSize

func (c_ ColorPicker) MinContentSize() foundation.Size

func (ColorPicker) ProvideNewButtonImage

func (c_ ColorPicker) ProvideNewButtonImage() Image

func (ColorPicker) SetMode

func (c_ ColorPicker) SetMode(mode ColorPanelMode)

func (ColorPicker) ViewSizeChanged

func (c_ ColorPicker) ViewSizeChanged(sender objc.IObject)

type ColorRenderingIntent

type ColorRenderingIntent int
const ColorRenderingIntentAbsoluteColorimetric ColorRenderingIntent = 1
const ColorRenderingIntentDefault ColorRenderingIntent = 0
const ColorRenderingIntentPerceptual ColorRenderingIntent = 3
const ColorRenderingIntentRelativeColorimetric ColorRenderingIntent = 2
const ColorRenderingIntentSaturation ColorRenderingIntent = 4

type ColorSpace

type ColorSpace struct {
	objc.Object
}

func MakeColorSpace

func MakeColorSpace(ptr unsafe.Pointer) ColorSpace

func NewColorSpace

func NewColorSpace() ColorSpace

func (ColorSpace) CGColorSpace

func (c_ ColorSpace) CGColorSpace() coregraphics.ColorSpaceRef

func (ColorSpace) ColorSpaceModel

func (c_ ColorSpace) ColorSpaceModel() ColorSpaceModel

func (ColorSpace) ColorSyncProfile added in v0.8.1

func (c_ ColorSpace) ColorSyncProfile() unsafe.Pointer

func (ColorSpace) ICCProfileData

func (c_ ColorSpace) ICCProfileData() []byte

func (ColorSpace) Init added in v0.11.0

func (c_ ColorSpace) Init() ColorSpace

func (ColorSpace) InitWithCGColorSpace added in v0.11.0

func (c_ ColorSpace) InitWithCGColorSpace(cgColorSpace coregraphics.ColorSpaceRef) ColorSpace

func (ColorSpace) InitWithColorSyncProfile added in v0.11.0

func (c_ ColorSpace) InitWithColorSyncProfile(prof unsafe.Pointer) ColorSpace

func (ColorSpace) InitWithICCProfileData added in v0.11.0

func (c_ ColorSpace) InitWithICCProfileData(iccData []byte) ColorSpace

func (ColorSpace) LocalizedName

func (c_ ColorSpace) LocalizedName() string

func (ColorSpace) NumberOfColorComponents

func (c_ ColorSpace) NumberOfColorComponents() int

type ColorSpaceModel

type ColorSpaceModel int
const ColorSpaceModelCMYK ColorSpaceModel = 2
const ColorSpaceModelDeviceN ColorSpaceModel = 4
const ColorSpaceModelGray ColorSpaceModel = 0
const ColorSpaceModelIndexed ColorSpaceModel = 5
const ColorSpaceModelLAB ColorSpaceModel = 3
const ColorSpaceModelPatterned ColorSpaceModel = 6
const ColorSpaceModelRGB ColorSpaceModel = 1
const ColorSpaceModelUnknown ColorSpaceModel = -1

type ColorSpaceName

type ColorSpaceName string
const CalibratedRGBColorSpace ColorSpaceName = "NSCalibratedRGBColorSpace"
const CalibratedWhiteColorSpace ColorSpaceName = "NSCalibratedWhiteColorSpace"
const CustomColorSpace ColorSpaceName = "NSCustomColorSpace"
const DeviceCMYKColorSpace ColorSpaceName = "NSDeviceCMYKColorSpace"
const DeviceRGBColorSpace ColorSpaceName = "NSDeviceRGBColorSpace"
const DeviceWhiteColorSpace ColorSpaceName = "NSDeviceWhiteColorSpace"
const NamedColorSpace ColorSpaceName = "NSNamedColorSpace"
const PatternColorSpace ColorSpaceName = "NSPatternColorSpace"

type ColorSystemEffect

type ColorSystemEffect int
const ColorSystemEffectDeepPressed ColorSystemEffect = 2
const ColorSystemEffectDisabled ColorSystemEffect = 3
const ColorSystemEffectNone ColorSystemEffect = 0
const ColorSystemEffectPressed ColorSystemEffect = 1
const ColorSystemEffectRollover ColorSystemEffect = 4

type ColorType

type ColorType int
const ColorTypeCatalog ColorType = 2
const ColorTypeComponentBased ColorType = 0
const ColorTypePattern ColorType = 1

type ColorWell

type ColorWell struct {
	Control
}

func MakeColorWell

func MakeColorWell(ptr unsafe.Pointer) ColorWell

func NewColorWell

func NewColorWell() ColorWell

func (ColorWell) Activate

func (c_ ColorWell) Activate(exclusive bool)

func (ColorWell) Color

func (c_ ColorWell) Color() Color

func (ColorWell) ColorWellStyle added in v0.13.5

func (c_ ColorWell) ColorWellStyle() ColorWellStyle

weak property

func (ColorWell) Deactivate

func (c_ ColorWell) Deactivate()

func (ColorWell) DrawWellInside

func (c_ ColorWell) DrawWellInside(insideRect foundation.Rect)

func (ColorWell) Image added in v0.13.5

func (c_ ColorWell) Image() Image

func (ColorWell) Init added in v0.11.0

func (c_ ColorWell) Init() ColorWell

func (ColorWell) InitWithFrame added in v0.11.0

func (c_ ColorWell) InitWithFrame(frameRect foundation.Rect) ColorWell

func (ColorWell) IsActive

func (c_ ColorWell) IsActive() bool

func (ColorWell) IsBordered

func (c_ ColorWell) IsBordered() bool

deprecated

func (ColorWell) PulldownAction added in v0.13.5

func (c_ ColorWell) PulldownAction() objc.Selector

func (ColorWell) PulldownTarget added in v0.13.5

func (c_ ColorWell) PulldownTarget() objc.Object

weak property

func (ColorWell) SetBordered

func (c_ ColorWell) SetBordered(value bool)

deprecated

func (ColorWell) SetColor

func (c_ ColorWell) SetColor(value IColor)

func (ColorWell) SetColorWellStyle added in v0.13.5

func (c_ ColorWell) SetColorWellStyle(value ColorWellStyle)

weak property

func (ColorWell) SetImage added in v0.13.5

func (c_ ColorWell) SetImage(value IImage)

func (ColorWell) SetPulldownAction added in v0.13.5

func (c_ ColorWell) SetPulldownAction(value objc.Selector)

func (ColorWell) SetPulldownTarget added in v0.13.5

func (c_ ColorWell) SetPulldownTarget(value objc.IObject)

weak property

func (ColorWell) TakeColorFrom

func (c_ ColorWell) TakeColorFrom(sender objc.IObject)

type ColorWellStyle added in v0.13.5

type ColorWellStyle int
const ColorWellStyleDefault ColorWellStyle = 0
const ColorWellStyleExpanded ColorWellStyle = 2
const ColorWellStyleMinimal ColorWellStyle = 1

type ComboBox

type ComboBox struct {
	TextField
}

func MakeComboBox

func MakeComboBox(ptr unsafe.Pointer) ComboBox

func NewComboBox

func NewComboBox() ComboBox

func (ComboBox) AddItemWithObjectValue

func (c_ ComboBox) AddItemWithObjectValue(object objc.IObject)

func (ComboBox) AddItemsWithObjectValues

func (c_ ComboBox) AddItemsWithObjectValues(objects []objc.IObject)

func (ComboBox) Completes

func (c_ ComboBox) Completes() bool

func (ComboBox) DataSource

func (c_ ComboBox) DataSource() objc.Object

weak property

func (ComboBox) DeselectItemAtIndex

func (c_ ComboBox) DeselectItemAtIndex(index int)

func (ComboBox) HasVerticalScroller

func (c_ ComboBox) HasVerticalScroller() bool

func (ComboBox) IndexOfItemWithObjectValue

func (c_ ComboBox) IndexOfItemWithObjectValue(object objc.IObject) int

func (ComboBox) IndexOfSelectedItem

func (c_ ComboBox) IndexOfSelectedItem() int

func (ComboBox) Init added in v0.11.0

func (c_ ComboBox) Init() ComboBox

func (ComboBox) InitWithFrame added in v0.11.0

func (c_ ComboBox) InitWithFrame(frameRect foundation.Rect) ComboBox

func (ComboBox) InsertItemWithObjectValue_AtIndex

func (c_ ComboBox) InsertItemWithObjectValue_AtIndex(object objc.IObject, index int)

func (ComboBox) IntercellSpacing

func (c_ ComboBox) IntercellSpacing() foundation.Size

func (ComboBox) IsButtonBordered

func (c_ ComboBox) IsButtonBordered() bool

func (ComboBox) ItemHeight

func (c_ ComboBox) ItemHeight() float64

func (ComboBox) ItemObjectValueAtIndex

func (c_ ComboBox) ItemObjectValueAtIndex(index int) objc.Object

func (ComboBox) NoteNumberOfItemsChanged

func (c_ ComboBox) NoteNumberOfItemsChanged()

func (ComboBox) NumberOfItems

func (c_ ComboBox) NumberOfItems() int

func (ComboBox) NumberOfVisibleItems

func (c_ ComboBox) NumberOfVisibleItems() int

func (ComboBox) ObjectValueOfSelectedItem

func (c_ ComboBox) ObjectValueOfSelectedItem() objc.Object

func (ComboBox) ObjectValues

func (c_ ComboBox) ObjectValues() []objc.Object

func (ComboBox) ReloadData

func (c_ ComboBox) ReloadData()

func (ComboBox) RemoveAllItems

func (c_ ComboBox) RemoveAllItems()

func (ComboBox) RemoveItemAtIndex

func (c_ ComboBox) RemoveItemAtIndex(index int)

func (ComboBox) RemoveItemWithObjectValue

func (c_ ComboBox) RemoveItemWithObjectValue(object objc.IObject)

func (ComboBox) ScrollItemAtIndexToTop

func (c_ ComboBox) ScrollItemAtIndexToTop(index int)

func (ComboBox) ScrollItemAtIndexToVisible

func (c_ ComboBox) ScrollItemAtIndexToVisible(index int)

func (ComboBox) SelectItemAtIndex

func (c_ ComboBox) SelectItemAtIndex(index int)

func (ComboBox) SelectItemWithObjectValue

func (c_ ComboBox) SelectItemWithObjectValue(object objc.IObject)

func (ComboBox) SetButtonBordered

func (c_ ComboBox) SetButtonBordered(value bool)

func (ComboBox) SetCompletes

func (c_ ComboBox) SetCompletes(value bool)

func (ComboBox) SetDataSource

func (c_ ComboBox) SetDataSource(value objc.IObject)

weak property

func (ComboBox) SetHasVerticalScroller

func (c_ ComboBox) SetHasVerticalScroller(value bool)

func (ComboBox) SetIntercellSpacing

func (c_ ComboBox) SetIntercellSpacing(value foundation.Size)

func (ComboBox) SetItemHeight

func (c_ ComboBox) SetItemHeight(value float64)

func (ComboBox) SetNumberOfVisibleItems

func (c_ ComboBox) SetNumberOfVisibleItems(value int)

func (ComboBox) SetUsesDataSource

func (c_ ComboBox) SetUsesDataSource(value bool)

func (ComboBox) UsesDataSource

func (c_ ComboBox) UsesDataSource() bool

type ComboBoxDataSource

type ComboBoxDataSource interface {
	ImplementsComboBox_CompletedString() bool
	// optional
	ComboBox_CompletedString(comboBox ComboBox, string_ string) string
	ImplementsComboBox_IndexOfItemWithStringValue() bool
	// optional
	ComboBox_IndexOfItemWithStringValue(comboBox ComboBox, string_ string) uint
	ImplementsComboBox_ObjectValueForItemAtIndex() bool
	// optional
	ComboBox_ObjectValueForItemAtIndex(comboBox ComboBox, index int) objc.IObject
	ImplementsNumberOfItemsInComboBox() bool
	// optional
	NumberOfItemsInComboBox(comboBox ComboBox) int
}

type ComboBoxDataSourceBase added in v0.13.0

type ComboBoxDataSourceBase struct {
}

func (*ComboBoxDataSourceBase) ComboBox_CompletedString added in v0.13.0

func (p *ComboBoxDataSourceBase) ComboBox_CompletedString(comboBox ComboBox, string_ string) string

func (*ComboBoxDataSourceBase) ComboBox_IndexOfItemWithStringValue added in v0.13.0

func (p *ComboBoxDataSourceBase) ComboBox_IndexOfItemWithStringValue(comboBox ComboBox, string_ string) uint

func (*ComboBoxDataSourceBase) ComboBox_ObjectValueForItemAtIndex added in v0.13.0

func (p *ComboBoxDataSourceBase) ComboBox_ObjectValueForItemAtIndex(comboBox ComboBox, index int) objc.IObject

func (*ComboBoxDataSourceBase) ImplementsComboBox_CompletedString added in v0.13.0

func (p *ComboBoxDataSourceBase) ImplementsComboBox_CompletedString() bool

func (*ComboBoxDataSourceBase) ImplementsComboBox_IndexOfItemWithStringValue added in v0.13.0

func (p *ComboBoxDataSourceBase) ImplementsComboBox_IndexOfItemWithStringValue() bool

func (*ComboBoxDataSourceBase) ImplementsComboBox_ObjectValueForItemAtIndex added in v0.13.0

func (p *ComboBoxDataSourceBase) ImplementsComboBox_ObjectValueForItemAtIndex() bool

func (*ComboBoxDataSourceBase) ImplementsNumberOfItemsInComboBox added in v0.13.0

func (p *ComboBoxDataSourceBase) ImplementsNumberOfItemsInComboBox() bool

func (*ComboBoxDataSourceBase) NumberOfItemsInComboBox added in v0.13.0

func (p *ComboBoxDataSourceBase) NumberOfItemsInComboBox(comboBox ComboBox) int

type ComboBoxDelegate

type ComboBoxDelegate interface {
	TextFieldDelegate
	ImplementsComboBoxSelectionDidChange() bool
	// optional
	ComboBoxSelectionDidChange(notification foundation.Notification)
	ImplementsComboBoxSelectionIsChanging() bool
	// optional
	ComboBoxSelectionIsChanging(notification foundation.Notification)
	ImplementsComboBoxWillDismiss() bool
	// optional
	ComboBoxWillDismiss(notification foundation.Notification)
	ImplementsComboBoxWillPopUp() bool
	// optional
	ComboBoxWillPopUp(notification foundation.Notification)
}

type ComboBoxDelegateBase added in v0.18.0

type ComboBoxDelegateBase struct {
	TextFieldDelegateBase
}

func (*ComboBoxDelegateBase) ComboBoxSelectionDidChange added in v0.18.0

func (p *ComboBoxDelegateBase) ComboBoxSelectionDidChange(notification foundation.Notification)

func (*ComboBoxDelegateBase) ComboBoxSelectionIsChanging added in v0.18.0

func (p *ComboBoxDelegateBase) ComboBoxSelectionIsChanging(notification foundation.Notification)

func (*ComboBoxDelegateBase) ComboBoxWillDismiss added in v0.18.0

func (p *ComboBoxDelegateBase) ComboBoxWillDismiss(notification foundation.Notification)

func (*ComboBoxDelegateBase) ComboBoxWillPopUp added in v0.18.0

func (p *ComboBoxDelegateBase) ComboBoxWillPopUp(notification foundation.Notification)

func (*ComboBoxDelegateBase) ImplementsComboBoxSelectionDidChange added in v0.18.0

func (p *ComboBoxDelegateBase) ImplementsComboBoxSelectionDidChange() bool

func (*ComboBoxDelegateBase) ImplementsComboBoxSelectionIsChanging added in v0.18.0

func (p *ComboBoxDelegateBase) ImplementsComboBoxSelectionIsChanging() bool

func (*ComboBoxDelegateBase) ImplementsComboBoxWillDismiss added in v0.18.0

func (p *ComboBoxDelegateBase) ImplementsComboBoxWillDismiss() bool

func (*ComboBoxDelegateBase) ImplementsComboBoxWillPopUp added in v0.18.0

func (p *ComboBoxDelegateBase) ImplementsComboBoxWillPopUp() bool

type ComboBoxDelegateCreator added in v0.19.0

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

func NewComboBoxDelegateCreator added in v0.19.0

func NewComboBoxDelegateCreator(name string) *ComboBoxDelegateCreator

func (*ComboBoxDelegateCreator) Create added in v0.19.0

func (*ComboBoxDelegateCreator) SetComboBoxSelectionDidChange added in v0.19.0

func (c *ComboBoxDelegateCreator) SetComboBoxSelectionDidChange(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ComboBoxDelegateCreator) SetComboBoxSelectionIsChanging added in v0.19.0

func (c *ComboBoxDelegateCreator) SetComboBoxSelectionIsChanging(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ComboBoxDelegateCreator) SetComboBoxWillDismiss added in v0.19.0

func (c *ComboBoxDelegateCreator) SetComboBoxWillDismiss(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ComboBoxDelegateCreator) SetComboBoxWillPopUp added in v0.19.0

func (c *ComboBoxDelegateCreator) SetComboBoxWillPopUp(handle func(o objc.ProtocolBase, notification foundation.Notification))

type ComboButton added in v0.13.6

type ComboButton struct {
	Control
}

func MakeComboButton added in v0.13.6

func MakeComboButton(ptr unsafe.Pointer) ComboButton

func NewComboButton added in v0.13.6

func NewComboButton() ComboButton

func (ComboButton) Image added in v0.13.6

func (c_ ComboButton) Image() Image

func (ComboButton) ImageScaling added in v0.13.6

func (c_ ComboButton) ImageScaling() ImageScaling

func (ComboButton) Init added in v0.13.6

func (c_ ComboButton) Init() ComboButton

func (ComboButton) InitWithFrame added in v0.13.6

func (c_ ComboButton) InitWithFrame(frameRect foundation.Rect) ComboButton

func (ComboButton) SetImage added in v0.13.6

func (c_ ComboButton) SetImage(value IImage)

func (ComboButton) SetImageScaling added in v0.13.6

func (c_ ComboButton) SetImageScaling(value ImageScaling)

func (ComboButton) SetStyle added in v0.13.6

func (c_ ComboButton) SetStyle(value ComboButtonStyle)

func (ComboButton) SetTitle added in v0.13.6

func (c_ ComboButton) SetTitle(value string)

func (ComboButton) Style added in v0.13.6

func (c_ ComboButton) Style() ComboButtonStyle

func (ComboButton) Title added in v0.13.6

func (c_ ComboButton) Title() string

type ComboButtonStyle added in v0.13.6

type ComboButtonStyle int
const ComboButtonStyleSplit ComboButtonStyle = 0
const ComboButtonStyleUnified ComboButtonStyle = 1

type CompositingOperation

type CompositingOperation uint
const CompositingOperationClear CompositingOperation = 0
const CompositingOperationColor CompositingOperation = 27
const CompositingOperationColorBurn CompositingOperation = 20
const CompositingOperationColorDodge CompositingOperation = 19
const CompositingOperationCopy CompositingOperation = 1
const CompositingOperationDarken CompositingOperation = 17
const CompositingOperationDestinationAtop CompositingOperation = 9
const CompositingOperationDestinationIn CompositingOperation = 7
const CompositingOperationDestinationOut CompositingOperation = 8
const CompositingOperationDestinationOver CompositingOperation = 6
const CompositingOperationDifference CompositingOperation = 23
const CompositingOperationExclusion CompositingOperation = 24
const CompositingOperationHardLight CompositingOperation = 22
const CompositingOperationHue CompositingOperation = 25
const CompositingOperationLighten CompositingOperation = 18
const CompositingOperationLuminosity CompositingOperation = 28
const CompositingOperationMultiply CompositingOperation = 14
const CompositingOperationOverlay CompositingOperation = 16
const CompositingOperationPlusDarker CompositingOperation = 11
const CompositingOperationPlusLighter CompositingOperation = 13
const CompositingOperationSaturation CompositingOperation = 26
const CompositingOperationScreen CompositingOperation = 15
const CompositingOperationSoftLight CompositingOperation = 21
const CompositingOperationSourceAtop CompositingOperation = 5
const CompositingOperationSourceIn CompositingOperation = 3
const CompositingOperationSourceOut CompositingOperation = 4
const CompositingOperationSourceOver CompositingOperation = 2
const CompositingOperationXOR CompositingOperation = 10

type Control

type Control struct {
	View
}

func MakeControl

func MakeControl(ptr unsafe.Pointer) Control

func NewControl

func NewControl() Control

func (Control) AbortEditing

func (c_ Control) AbortEditing() bool

func (Control) Action

func (c_ Control) Action() objc.Selector

func (Control) Alignment

func (c_ Control) Alignment() TextAlignment

func (Control) AllowsExpansionToolTips

func (c_ Control) AllowsExpansionToolTips() bool

func (Control) AttributedStringValue

func (c_ Control) AttributedStringValue() foundation.AttributedString

func (Control) BaseWritingDirection

func (c_ Control) BaseWritingDirection() WritingDirection

func (Control) CalcSize added in v0.14.5

func (c_ Control) CalcSize()

deprecated

func (Control) Cell

func (c_ Control) Cell() Cell

deprecated

func (Control) ControlSize

func (c_ Control) ControlSize() ControlSize

func (Control) ControlTextDidBeginEditing added in v0.14.5

func (c_ Control) ControlTextDidBeginEditing(obj foundation.INotification)

deprecated

func (Control) ControlTextDidChange added in v0.14.5

func (c_ Control) ControlTextDidChange(obj foundation.INotification)

deprecated

func (Control) ControlTextDidEndEditing added in v0.14.5

func (c_ Control) ControlTextDidEndEditing(obj foundation.INotification)

deprecated

func (Control) CurrentEditor

func (c_ Control) CurrentEditor() Text

func (Control) DoubleValue

func (c_ Control) DoubleValue() float64

func (Control) DrawCell added in v0.14.5

func (c_ Control) DrawCell(cell ICell)

deprecated

func (Control) DrawCellInside added in v0.14.5

func (c_ Control) DrawCellInside(cell ICell)

deprecated

func (Control) DrawWithExpansionFrame_InView

func (c_ Control) DrawWithExpansionFrame_InView(contentFrame foundation.Rect, view IView)

func (Control) EditWithFrame_Editor_Delegate_Event

func (c_ Control) EditWithFrame_Editor_Delegate_Event(rect foundation.Rect, textObj IText, delegate objc.IObject, event IEvent)

func (Control) EndEditing

func (c_ Control) EndEditing(textObj IText)

func (Control) ExpansionFrameWithFrame

func (c_ Control) ExpansionFrameWithFrame(contentFrame foundation.Rect) foundation.Rect

func (Control) FloatValue

func (c_ Control) FloatValue() float32

func (Control) Font

func (c_ Control) Font() Font

func (Control) Formatter

func (c_ Control) Formatter() foundation.Formatter

func (Control) IgnoresMultiClick

func (c_ Control) IgnoresMultiClick() bool

func (Control) Init added in v0.11.0

func (c_ Control) Init() Control

func (Control) InitWithFrame added in v0.11.0

func (c_ Control) InitWithFrame(frameRect foundation.Rect) Control

func (Control) IntValue added in v0.10.1

func (c_ Control) IntValue() int32

func (Control) IntegerValue

func (c_ Control) IntegerValue() int

func (Control) InvalidateIntrinsicContentSizeForCell

func (c_ Control) InvalidateIntrinsicContentSizeForCell(cell ICell)

func (Control) IsContinuous

func (c_ Control) IsContinuous() bool

func (Control) IsEnabled

func (c_ Control) IsEnabled() bool

func (Control) IsHighlighted

func (c_ Control) IsHighlighted() bool

func (Control) LineBreakMode

func (c_ Control) LineBreakMode() LineBreakMode

func (Control) ObjectValue

func (c_ Control) ObjectValue() objc.Object

func (Control) PerformClick

func (c_ Control) PerformClick(sender objc.IObject)

func (Control) RefusesFirstResponder

func (c_ Control) RefusesFirstResponder() bool

func (Control) SelectCell added in v0.14.5

func (c_ Control) SelectCell(cell ICell)

deprecated

func (Control) SelectWithFrame_Editor_Delegate_Start_Length

func (c_ Control) SelectWithFrame_Editor_Delegate_Start_Length(rect foundation.Rect, textObj IText, delegate objc.IObject, selStart int, selLength int)

func (Control) SelectedCell added in v0.14.5

func (c_ Control) SelectedCell() Cell

deprecated

func (Control) SelectedTag added in v0.14.5

func (c_ Control) SelectedTag() int

deprecated

func (Control) SendActionOn added in v0.13.6

func (c_ Control) SendActionOn(mask EventMask) int

func (Control) SendAction_To

func (c_ Control) SendAction_To(action objc.Selector, target objc.IObject) bool

func (Control) SetAction

func (c_ Control) SetAction(value objc.Selector)

func (Control) SetAlignment

func (c_ Control) SetAlignment(value TextAlignment)

func (Control) SetAllowsExpansionToolTips

func (c_ Control) SetAllowsExpansionToolTips(value bool)

func (Control) SetAttributedStringValue

func (c_ Control) SetAttributedStringValue(value foundation.IAttributedString)

func (Control) SetBaseWritingDirection

func (c_ Control) SetBaseWritingDirection(value WritingDirection)

func (Control) SetCell

func (c_ Control) SetCell(value ICell)

deprecated

func (Control) SetContinuous

func (c_ Control) SetContinuous(value bool)

func (Control) SetControlSize

func (c_ Control) SetControlSize(value ControlSize)

func (Control) SetDoubleValue

func (c_ Control) SetDoubleValue(value float64)

func (Control) SetEnabled

func (c_ Control) SetEnabled(value bool)

func (Control) SetFloatValue

func (c_ Control) SetFloatValue(value float32)

func (Control) SetFloatingPointFormat_Left_Right added in v0.14.5

func (c_ Control) SetFloatingPointFormat_Left_Right(autoRange bool, leftDigits uint, rightDigits uint)

deprecated

func (Control) SetFont

func (c_ Control) SetFont(value IFont)

func (Control) SetFormatter

func (c_ Control) SetFormatter(value foundation.IFormatter)

func (Control) SetHighlighted

func (c_ Control) SetHighlighted(value bool)

func (Control) SetIgnoresMultiClick

func (c_ Control) SetIgnoresMultiClick(value bool)

func (Control) SetIntValue added in v0.10.1

func (c_ Control) SetIntValue(value int32)

func (Control) SetIntegerValue

func (c_ Control) SetIntegerValue(value int)

func (Control) SetLineBreakMode

func (c_ Control) SetLineBreakMode(value LineBreakMode)

func (Control) SetNeedsDisplay0 added in v0.16.0

func (c_ Control) SetNeedsDisplay0()

deprecated

func (Control) SetObjectValue

func (c_ Control) SetObjectValue(value objc.IObject)

func (Control) SetRefusesFirstResponder

func (c_ Control) SetRefusesFirstResponder(value bool)

func (Control) SetStringValue

func (c_ Control) SetStringValue(value string)

func (Control) SetTag

func (c_ Control) SetTag(value int)

func (Control) SetTarget

func (c_ Control) SetTarget(value objc.IObject)

weak property

func (Control) SetUsesSingleLineMode

func (c_ Control) SetUsesSingleLineMode(value bool)

func (Control) SizeThatFits

func (c_ Control) SizeThatFits(size foundation.Size) foundation.Size

func (Control) SizeToFit

func (c_ Control) SizeToFit()

func (Control) StringValue

func (c_ Control) StringValue() string

func (Control) TakeDoubleValueFrom

func (c_ Control) TakeDoubleValueFrom(sender objc.IObject)

func (Control) TakeFloatValueFrom

func (c_ Control) TakeFloatValueFrom(sender objc.IObject)

func (Control) TakeIntValueFrom

func (c_ Control) TakeIntValueFrom(sender objc.IObject)

func (Control) TakeIntegerValueFrom

func (c_ Control) TakeIntegerValueFrom(sender objc.IObject)

func (Control) TakeObjectValueFrom

func (c_ Control) TakeObjectValueFrom(sender objc.IObject)

func (Control) TakeStringValueFrom

func (c_ Control) TakeStringValueFrom(sender objc.IObject)

func (Control) Target

func (c_ Control) Target() objc.Object

weak property

func (Control) UpdateCell added in v0.14.5

func (c_ Control) UpdateCell(cell ICell)

deprecated

func (Control) UpdateCellInside added in v0.14.5

func (c_ Control) UpdateCellInside(cell ICell)

deprecated

func (Control) UsesSingleLineMode

func (c_ Control) UsesSingleLineMode() bool

func (Control) ValidateEditing

func (c_ Control) ValidateEditing()

type ControlCharacterAction added in v0.13.0

type ControlCharacterAction int
const ControlCharacterActionContainerBreak ControlCharacterAction = 32
const ControlCharacterActionHorizontalTab ControlCharacterAction = 4
const ControlCharacterActionLineBreak ControlCharacterAction = 8
const ControlCharacterActionParagraphBreak ControlCharacterAction = 16
const ControlCharacterActionWhitespace ControlCharacterAction = 2
const ControlCharacterActionZeroAdvancement ControlCharacterAction = 1

type ControlSize

type ControlSize uint
const ControlSizeLarge ControlSize = 3
const ControlSizeMini ControlSize = 2
const ControlSizeRegular ControlSize = 0
const ControlSizeSmall ControlSize = 1

type ControlStateValue

type ControlStateValue int
const ControlStateValueMixed ControlStateValue = -1
const ControlStateValueOff ControlStateValue = 0
const ControlStateValueOn ControlStateValue = 1

type ControlTextEditingDelegate

type ControlTextEditingDelegate interface {
	ImplementsControl_IsValidObject() bool
	// optional
	Control_IsValidObject(control Control, obj objc.Object) bool
	ImplementsControl_DidFailToValidatePartialString_ErrorDescription() bool
	// optional
	Control_DidFailToValidatePartialString_ErrorDescription(control Control, string_ string, error string)
	ImplementsControl_DidFailToFormatString_ErrorDescription() bool
	// optional
	Control_DidFailToFormatString_ErrorDescription(control Control, string_ string, error string) bool
	ImplementsControl_TextShouldBeginEditing() bool
	// optional
	Control_TextShouldBeginEditing(control Control, fieldEditor Text) bool
	ImplementsControl_TextShouldEndEditing() bool
	// optional
	Control_TextShouldEndEditing(control Control, fieldEditor Text) bool
	ImplementsControl_TextView_Completions_ForPartialWordRange_IndexOfSelectedItem() bool
	// optional
	Control_TextView_Completions_ForPartialWordRange_IndexOfSelectedItem(control Control, textView TextView, words []string, charRange foundation.Range, index *int) []string
	ImplementsControl_TextView_DoCommandBySelector() bool
	// optional
	Control_TextView_DoCommandBySelector(control Control, textView TextView, commandSelector objc.Selector) bool
	ImplementsControlTextDidBeginEditing() bool
	// optional
	ControlTextDidBeginEditing(obj foundation.Notification)
	ImplementsControlTextDidChange() bool
	// optional
	ControlTextDidChange(obj foundation.Notification)
	ImplementsControlTextDidEndEditing() bool
	// optional
	ControlTextDidEndEditing(obj foundation.Notification)
}

type ControlTextEditingDelegateBase added in v0.18.0

type ControlTextEditingDelegateBase struct {
}

func (*ControlTextEditingDelegateBase) ControlTextDidBeginEditing added in v0.18.0

func (p *ControlTextEditingDelegateBase) ControlTextDidBeginEditing(obj foundation.Notification)

func (*ControlTextEditingDelegateBase) ControlTextDidChange added in v0.18.0

func (p *ControlTextEditingDelegateBase) ControlTextDidChange(obj foundation.Notification)

func (*ControlTextEditingDelegateBase) ControlTextDidEndEditing added in v0.18.0

func (p *ControlTextEditingDelegateBase) ControlTextDidEndEditing(obj foundation.Notification)

func (*ControlTextEditingDelegateBase) Control_DidFailToFormatString_ErrorDescription added in v0.18.0

func (p *ControlTextEditingDelegateBase) Control_DidFailToFormatString_ErrorDescription(control Control, string_ string, error string) bool

func (*ControlTextEditingDelegateBase) Control_DidFailToValidatePartialString_ErrorDescription added in v0.18.0

func (p *ControlTextEditingDelegateBase) Control_DidFailToValidatePartialString_ErrorDescription(control Control, string_ string, error string)

func (*ControlTextEditingDelegateBase) Control_IsValidObject added in v0.18.0

func (p *ControlTextEditingDelegateBase) Control_IsValidObject(control Control, obj objc.Object) bool

func (*ControlTextEditingDelegateBase) Control_TextShouldBeginEditing added in v0.18.0

func (p *ControlTextEditingDelegateBase) Control_TextShouldBeginEditing(control Control, fieldEditor Text) bool

func (*ControlTextEditingDelegateBase) Control_TextShouldEndEditing added in v0.18.0

func (p *ControlTextEditingDelegateBase) Control_TextShouldEndEditing(control Control, fieldEditor Text) bool

func (*ControlTextEditingDelegateBase) Control_TextView_Completions_ForPartialWordRange_IndexOfSelectedItem added in v0.18.0

func (p *ControlTextEditingDelegateBase) Control_TextView_Completions_ForPartialWordRange_IndexOfSelectedItem(control Control, textView TextView, words []string, charRange foundation.Range, index *int) []string

func (*ControlTextEditingDelegateBase) Control_TextView_DoCommandBySelector added in v0.18.0

func (p *ControlTextEditingDelegateBase) Control_TextView_DoCommandBySelector(control Control, textView TextView, commandSelector objc.Selector) bool

func (*ControlTextEditingDelegateBase) ImplementsControlTextDidBeginEditing added in v0.18.0

func (p *ControlTextEditingDelegateBase) ImplementsControlTextDidBeginEditing() bool

func (*ControlTextEditingDelegateBase) ImplementsControlTextDidChange added in v0.18.0

func (p *ControlTextEditingDelegateBase) ImplementsControlTextDidChange() bool

func (*ControlTextEditingDelegateBase) ImplementsControlTextDidEndEditing added in v0.18.0

func (p *ControlTextEditingDelegateBase) ImplementsControlTextDidEndEditing() bool

func (*ControlTextEditingDelegateBase) ImplementsControl_DidFailToFormatString_ErrorDescription added in v0.18.0

func (p *ControlTextEditingDelegateBase) ImplementsControl_DidFailToFormatString_ErrorDescription() bool

func (*ControlTextEditingDelegateBase) ImplementsControl_DidFailToValidatePartialString_ErrorDescription added in v0.18.0

func (p *ControlTextEditingDelegateBase) ImplementsControl_DidFailToValidatePartialString_ErrorDescription() bool

func (*ControlTextEditingDelegateBase) ImplementsControl_IsValidObject added in v0.18.0

func (p *ControlTextEditingDelegateBase) ImplementsControl_IsValidObject() bool

func (*ControlTextEditingDelegateBase) ImplementsControl_TextShouldBeginEditing added in v0.18.0

func (p *ControlTextEditingDelegateBase) ImplementsControl_TextShouldBeginEditing() bool

func (*ControlTextEditingDelegateBase) ImplementsControl_TextShouldEndEditing added in v0.18.0

func (p *ControlTextEditingDelegateBase) ImplementsControl_TextShouldEndEditing() bool

func (*ControlTextEditingDelegateBase) ImplementsControl_TextView_Completions_ForPartialWordRange_IndexOfSelectedItem added in v0.18.0

func (p *ControlTextEditingDelegateBase) ImplementsControl_TextView_Completions_ForPartialWordRange_IndexOfSelectedItem() bool

func (*ControlTextEditingDelegateBase) ImplementsControl_TextView_DoCommandBySelector added in v0.18.0

func (p *ControlTextEditingDelegateBase) ImplementsControl_TextView_DoCommandBySelector() bool

type ControlTextEditingDelegateCreator added in v0.19.0

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

func NewControlTextEditingDelegateCreator added in v0.19.0

func NewControlTextEditingDelegateCreator(name string) *ControlTextEditingDelegateCreator

func (*ControlTextEditingDelegateCreator) Create added in v0.19.0

func (*ControlTextEditingDelegateCreator) SetControlTextDidBeginEditing added in v0.19.0

func (c *ControlTextEditingDelegateCreator) SetControlTextDidBeginEditing(handle func(o objc.ProtocolBase, obj foundation.Notification))

func (*ControlTextEditingDelegateCreator) SetControlTextDidChange added in v0.19.0

func (c *ControlTextEditingDelegateCreator) SetControlTextDidChange(handle func(o objc.ProtocolBase, obj foundation.Notification))

func (*ControlTextEditingDelegateCreator) SetControlTextDidEndEditing added in v0.19.0

func (c *ControlTextEditingDelegateCreator) SetControlTextDidEndEditing(handle func(o objc.ProtocolBase, obj foundation.Notification))

func (*ControlTextEditingDelegateCreator) SetControl_DidFailToFormatString_ErrorDescription added in v0.19.0

func (c *ControlTextEditingDelegateCreator) SetControl_DidFailToFormatString_ErrorDescription(handle func(o objc.ProtocolBase, control Control, string_ string, error string) bool)

func (*ControlTextEditingDelegateCreator) SetControl_DidFailToValidatePartialString_ErrorDescription added in v0.19.0

func (c *ControlTextEditingDelegateCreator) SetControl_DidFailToValidatePartialString_ErrorDescription(handle func(o objc.ProtocolBase, control Control, string_ string, error string))

func (*ControlTextEditingDelegateCreator) SetControl_IsValidObject added in v0.19.0

func (c *ControlTextEditingDelegateCreator) SetControl_IsValidObject(handle func(o objc.ProtocolBase, control Control, obj objc.Object) bool)

func (*ControlTextEditingDelegateCreator) SetControl_TextShouldBeginEditing added in v0.19.0

func (c *ControlTextEditingDelegateCreator) SetControl_TextShouldBeginEditing(handle func(o objc.ProtocolBase, control Control, fieldEditor Text) bool)

func (*ControlTextEditingDelegateCreator) SetControl_TextShouldEndEditing added in v0.19.0

func (c *ControlTextEditingDelegateCreator) SetControl_TextShouldEndEditing(handle func(o objc.ProtocolBase, control Control, fieldEditor Text) bool)

func (*ControlTextEditingDelegateCreator) SetControl_TextView_Completions_ForPartialWordRange_IndexOfSelectedItem added in v0.19.0

func (c *ControlTextEditingDelegateCreator) SetControl_TextView_Completions_ForPartialWordRange_IndexOfSelectedItem(handle func(o objc.ProtocolBase, control Control, textView TextView, words []string, charRange foundation.Range, index *int) []string)

func (*ControlTextEditingDelegateCreator) SetControl_TextView_DoCommandBySelector added in v0.19.0

func (c *ControlTextEditingDelegateCreator) SetControl_TextView_DoCommandBySelector(handle func(o objc.ProtocolBase, control Control, textView TextView, commandSelector objc.Selector) bool)

type ControlTint

type ControlTint uint
const BlueControlTint ControlTint = 1
const ClearControlTint ControlTint = 7
const DefaultControlTint ControlTint = 0
const GraphiteControlTint ControlTint = 6

type Controller

type Controller struct {
	objc.Object
}

func MakeController

func MakeController(ptr unsafe.Pointer) Controller

func NewController

func NewController() Controller

func (Controller) CommitEditing

func (c_ Controller) CommitEditing() bool

func (Controller) CommitEditingWithDelegate_DidCommitSelector_ContextInfo added in v0.8.1

func (c_ Controller) CommitEditingWithDelegate_DidCommitSelector_ContextInfo(delegate objc.IObject, didCommitSelector objc.Selector, contextInfo unsafe.Pointer)

func (Controller) DiscardEditing

func (c_ Controller) DiscardEditing()

func (Controller) Init added in v0.11.0

func (c_ Controller) Init() Controller

func (Controller) IsEditing

func (c_ Controller) IsEditing() bool

func (Controller) ObjectDidBeginEditing

func (c_ Controller) ObjectDidBeginEditing(editor objc.IObject)

func (Controller) ObjectDidEndEditing

func (c_ Controller) ObjectDidEndEditing(editor objc.IObject)

type Copying added in v0.16.0

type Copying interface {
}

type CopyingBase added in v0.18.0

type CopyingBase struct {
}

type Cursor

type Cursor struct {
	objc.Object
}

func MakeCursor

func MakeCursor(ptr unsafe.Pointer) Cursor

func NewCursor

func NewCursor() Cursor

func (Cursor) HotSpot

func (c_ Cursor) HotSpot() foundation.Point

func (Cursor) Image

func (c_ Cursor) Image() Image

func (Cursor) Init added in v0.11.0

func (c_ Cursor) Init() Cursor

func (Cursor) InitWithImage_ForegroundColorHint_BackgroundColorHint_HotSpot added in v0.14.5

func (c_ Cursor) InitWithImage_ForegroundColorHint_BackgroundColorHint_HotSpot(newImage IImage, fg IColor, bg IColor, hotSpot foundation.Point) Cursor

func (Cursor) InitWithImage_HotSpot added in v0.11.0

func (c_ Cursor) InitWithImage_HotSpot(newImage IImage, point foundation.Point) Cursor

func (Cursor) IsSetOnMouseEntered added in v0.14.5

func (c_ Cursor) IsSetOnMouseEntered() bool

deprecated

func (Cursor) IsSetOnMouseExited added in v0.14.5

func (c_ Cursor) IsSetOnMouseExited() bool

deprecated

func (Cursor) MouseEntered added in v0.14.5

func (c_ Cursor) MouseEntered(event IEvent)

deprecated

func (Cursor) MouseExited added in v0.14.5

func (c_ Cursor) MouseExited(event IEvent)

deprecated

func (Cursor) Push

func (c_ Cursor) Push()

func (Cursor) Set

func (c_ Cursor) Set()

func (Cursor) SetOnMouseEntered added in v0.14.5

func (c_ Cursor) SetOnMouseEntered(flag bool)

deprecated

func (Cursor) SetOnMouseExited added in v0.14.5

func (c_ Cursor) SetOnMouseExited(flag bool)

deprecated

type DatePicker

type DatePicker struct {
	Control
}

func MakeDatePicker

func MakeDatePicker(ptr unsafe.Pointer) DatePicker

func NewDatePicker

func NewDatePicker() DatePicker

func (DatePicker) BackgroundColor

func (d_ DatePicker) BackgroundColor() Color

func (DatePicker) Calendar

func (d_ DatePicker) Calendar() foundation.Calendar

func (DatePicker) DatePickerElements

func (d_ DatePicker) DatePickerElements() DatePickerElementFlags

func (DatePicker) DatePickerMode

func (d_ DatePicker) DatePickerMode() DatePickerMode

func (DatePicker) DatePickerStyle

func (d_ DatePicker) DatePickerStyle() DatePickerStyle

func (DatePicker) DateValue

func (d_ DatePicker) DateValue() foundation.Date

func (DatePicker) Delegate

func (d_ DatePicker) Delegate() objc.Object

weak property

func (DatePicker) DrawsBackground

func (d_ DatePicker) DrawsBackground() bool

func (DatePicker) Init added in v0.11.0

func (d_ DatePicker) Init() DatePicker

func (DatePicker) InitWithFrame added in v0.11.0

func (d_ DatePicker) InitWithFrame(frameRect foundation.Rect) DatePicker

func (DatePicker) IsBezeled

func (d_ DatePicker) IsBezeled() bool

func (DatePicker) IsBordered

func (d_ DatePicker) IsBordered() bool

func (DatePicker) Locale

func (d_ DatePicker) Locale() foundation.Locale

func (DatePicker) MaxDate

func (d_ DatePicker) MaxDate() foundation.Date

func (DatePicker) MinDate

func (d_ DatePicker) MinDate() foundation.Date

func (DatePicker) PresentsCalendarOverlay

func (d_ DatePicker) PresentsCalendarOverlay() bool

func (DatePicker) SetBackgroundColor

func (d_ DatePicker) SetBackgroundColor(value IColor)

func (DatePicker) SetBezeled

func (d_ DatePicker) SetBezeled(value bool)

func (DatePicker) SetBordered

func (d_ DatePicker) SetBordered(value bool)

func (DatePicker) SetCalendar

func (d_ DatePicker) SetCalendar(value foundation.ICalendar)

func (DatePicker) SetDatePickerElements

func (d_ DatePicker) SetDatePickerElements(value DatePickerElementFlags)

func (DatePicker) SetDatePickerMode

func (d_ DatePicker) SetDatePickerMode(value DatePickerMode)

func (DatePicker) SetDatePickerStyle

func (d_ DatePicker) SetDatePickerStyle(value DatePickerStyle)

func (DatePicker) SetDateValue

func (d_ DatePicker) SetDateValue(value foundation.IDate)

func (DatePicker) SetDelegate

func (d_ DatePicker) SetDelegate(value objc.IObject)

weak property

func (DatePicker) SetDrawsBackground

func (d_ DatePicker) SetDrawsBackground(value bool)

func (DatePicker) SetLocale

func (d_ DatePicker) SetLocale(value foundation.ILocale)

func (DatePicker) SetMaxDate

func (d_ DatePicker) SetMaxDate(value foundation.IDate)

func (DatePicker) SetMinDate

func (d_ DatePicker) SetMinDate(value foundation.IDate)

func (DatePicker) SetPresentsCalendarOverlay

func (d_ DatePicker) SetPresentsCalendarOverlay(value bool)

func (DatePicker) SetTextColor

func (d_ DatePicker) SetTextColor(value IColor)

func (DatePicker) SetTimeInterval

func (d_ DatePicker) SetTimeInterval(value foundation.TimeInterval)

func (DatePicker) SetTimeZone

func (d_ DatePicker) SetTimeZone(value foundation.ITimeZone)

func (DatePicker) TextColor

func (d_ DatePicker) TextColor() Color

func (DatePicker) TimeInterval

func (d_ DatePicker) TimeInterval() foundation.TimeInterval

func (DatePicker) TimeZone

func (d_ DatePicker) TimeZone() foundation.TimeZone

type DatePickerCell added in v0.13.6

type DatePickerCell struct {
	ActionCell
}

func MakeDatePickerCell added in v0.13.6

func MakeDatePickerCell(ptr unsafe.Pointer) DatePickerCell

func NewDatePickerCell added in v0.13.6

func NewDatePickerCell() DatePickerCell

func (DatePickerCell) BackgroundColor added in v0.13.6

func (d_ DatePickerCell) BackgroundColor() Color

func (DatePickerCell) Calendar added in v0.13.6

func (d_ DatePickerCell) Calendar() foundation.Calendar

func (DatePickerCell) DatePickerElements added in v0.13.6

func (d_ DatePickerCell) DatePickerElements() DatePickerElementFlags

func (DatePickerCell) DatePickerMode added in v0.13.6

func (d_ DatePickerCell) DatePickerMode() DatePickerMode

func (DatePickerCell) DatePickerStyle added in v0.13.6

func (d_ DatePickerCell) DatePickerStyle() DatePickerStyle

func (DatePickerCell) DateValue added in v0.13.6

func (d_ DatePickerCell) DateValue() foundation.Date

func (DatePickerCell) Delegate added in v0.14.6

func (d_ DatePickerCell) Delegate() objc.Object

weak property

func (DatePickerCell) DrawsBackground added in v0.13.6

func (d_ DatePickerCell) DrawsBackground() bool

func (DatePickerCell) Init added in v0.13.6

func (d_ DatePickerCell) Init() DatePickerCell

func (DatePickerCell) InitImageCell added in v0.13.6

func (d_ DatePickerCell) InitImageCell(image IImage) DatePickerCell

func (DatePickerCell) InitTextCell added in v0.13.6

func (d_ DatePickerCell) InitTextCell(string_ string) DatePickerCell

func (DatePickerCell) Locale added in v0.13.6

func (d_ DatePickerCell) Locale() foundation.Locale

func (DatePickerCell) MaxDate added in v0.13.6

func (d_ DatePickerCell) MaxDate() foundation.Date

func (DatePickerCell) MinDate added in v0.13.6

func (d_ DatePickerCell) MinDate() foundation.Date

func (DatePickerCell) SetBackgroundColor added in v0.13.6

func (d_ DatePickerCell) SetBackgroundColor(value IColor)

func (DatePickerCell) SetCalendar added in v0.13.6

func (d_ DatePickerCell) SetCalendar(value foundation.ICalendar)

func (DatePickerCell) SetDatePickerElements added in v0.13.6

func (d_ DatePickerCell) SetDatePickerElements(value DatePickerElementFlags)

func (DatePickerCell) SetDatePickerMode added in v0.13.6

func (d_ DatePickerCell) SetDatePickerMode(value DatePickerMode)

func (DatePickerCell) SetDatePickerStyle added in v0.13.6

func (d_ DatePickerCell) SetDatePickerStyle(value DatePickerStyle)

func (DatePickerCell) SetDateValue added in v0.13.6

func (d_ DatePickerCell) SetDateValue(value foundation.IDate)

func (DatePickerCell) SetDelegate added in v0.13.6

func (d_ DatePickerCell) SetDelegate(value objc.IObject)

weak property

func (DatePickerCell) SetDrawsBackground added in v0.13.6

func (d_ DatePickerCell) SetDrawsBackground(value bool)

func (DatePickerCell) SetLocale added in v0.13.6

func (d_ DatePickerCell) SetLocale(value foundation.ILocale)

func (DatePickerCell) SetMaxDate added in v0.13.6

func (d_ DatePickerCell) SetMaxDate(value foundation.IDate)

func (DatePickerCell) SetMinDate added in v0.13.6

func (d_ DatePickerCell) SetMinDate(value foundation.IDate)

func (DatePickerCell) SetTextColor added in v0.13.6

func (d_ DatePickerCell) SetTextColor(value IColor)

func (DatePickerCell) SetTimeInterval added in v0.13.6

func (d_ DatePickerCell) SetTimeInterval(value foundation.TimeInterval)

func (DatePickerCell) SetTimeZone added in v0.13.6

func (d_ DatePickerCell) SetTimeZone(value foundation.ITimeZone)

func (DatePickerCell) TextColor added in v0.13.6

func (d_ DatePickerCell) TextColor() Color

func (DatePickerCell) TimeInterval added in v0.13.6

func (d_ DatePickerCell) TimeInterval() foundation.TimeInterval

func (DatePickerCell) TimeZone added in v0.13.6

func (d_ DatePickerCell) TimeZone() foundation.TimeZone

type DatePickerCellDelegate added in v0.13.0

type DatePickerCellDelegate interface {
	ImplementsDatePickerCell_ValidateProposedDateValue_TimeInterval() bool
	// optional
	DatePickerCell_ValidateProposedDateValue_TimeInterval(datePickerCell DatePickerCell, proposedDateValue *foundation.Date, proposedTimeInterval *foundation.TimeInterval)
}

type DatePickerCellDelegateBase added in v0.18.0

type DatePickerCellDelegateBase struct {
}

func (*DatePickerCellDelegateBase) DatePickerCell_ValidateProposedDateValue_TimeInterval added in v0.18.0

func (p *DatePickerCellDelegateBase) DatePickerCell_ValidateProposedDateValue_TimeInterval(datePickerCell DatePickerCell, proposedDateValue *foundation.Date, proposedTimeInterval *foundation.TimeInterval)

func (*DatePickerCellDelegateBase) ImplementsDatePickerCell_ValidateProposedDateValue_TimeInterval added in v0.18.0

func (p *DatePickerCellDelegateBase) ImplementsDatePickerCell_ValidateProposedDateValue_TimeInterval() bool

type DatePickerCellDelegateCreator added in v0.19.0

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

func NewDatePickerCellDelegateCreator added in v0.19.0

func NewDatePickerCellDelegateCreator(name string) *DatePickerCellDelegateCreator

func (*DatePickerCellDelegateCreator) Create added in v0.19.0

func (*DatePickerCellDelegateCreator) SetDatePickerCell_ValidateProposedDateValue_TimeInterval added in v0.19.0

func (c *DatePickerCellDelegateCreator) SetDatePickerCell_ValidateProposedDateValue_TimeInterval(handle func(o objc.ProtocolBase, datePickerCell DatePickerCell, proposedDateValue *foundation.Date, proposedTimeInterval *foundation.TimeInterval))

type DatePickerElementFlags

type DatePickerElementFlags uint
const DatePickerElementFlagEra DatePickerElementFlags = 256
const DatePickerElementFlagHourMinute DatePickerElementFlags = 12
const DatePickerElementFlagHourMinuteSecond DatePickerElementFlags = 14
const DatePickerElementFlagTimeZone DatePickerElementFlags = 16
const DatePickerElementFlagYearMonth DatePickerElementFlags = 192
const DatePickerElementFlagYearMonthDay DatePickerElementFlags = 224

type DatePickerMode

type DatePickerMode uint
const DatePickerModeRange DatePickerMode = 1
const DatePickerModeSingle DatePickerMode = 0

type DatePickerStyle

type DatePickerStyle uint
const DatePickerStyleClockAndCalendar DatePickerStyle = 1
const DatePickerStyleTextField DatePickerStyle = 2
const DatePickerStyleTextFieldAndStepper DatePickerStyle = 0

type DefinitionOptionKey added in v0.12.5

type DefinitionOptionKey string
const DefinitionPresentationTypeKey DefinitionOptionKey = "NSDefinitionPresentationTypeKey"

type DeviceDescriptionKey

type DeviceDescriptionKey string
const DeviceBitsPerSample DeviceDescriptionKey = "NSDeviceBitsPerSample"
const DeviceColorSpaceName DeviceDescriptionKey = "NSDeviceColorSpaceName"
const DeviceIsPrinter DeviceDescriptionKey = "NSDeviceIsPrinter"
const DeviceIsScreen DeviceDescriptionKey = "NSDeviceIsScreen"
const DeviceResolution DeviceDescriptionKey = "NSDeviceResolution"
const DeviceSize DeviceDescriptionKey = "NSDeviceSize"

type DiffableDataSourceSnapshot

type DiffableDataSourceSnapshot struct {
	objc.Object
}

func MakeDiffableDataSourceSnapshot

func MakeDiffableDataSourceSnapshot(ptr unsafe.Pointer) DiffableDataSourceSnapshot

func NewDiffableDataSourceSnapshot

func NewDiffableDataSourceSnapshot() DiffableDataSourceSnapshot

func (DiffableDataSourceSnapshot) AppendItemsWithIdentifiers added in v0.13.6

func (d_ DiffableDataSourceSnapshot) AppendItemsWithIdentifiers(identifiers []objc.IObject)

func (DiffableDataSourceSnapshot) AppendItemsWithIdentifiers_IntoSectionWithIdentifier added in v0.13.6

func (d_ DiffableDataSourceSnapshot) AppendItemsWithIdentifiers_IntoSectionWithIdentifier(identifiers []objc.IObject, sectionIdentifier objc.IObject)

func (DiffableDataSourceSnapshot) AppendSectionsWithIdentifiers

func (d_ DiffableDataSourceSnapshot) AppendSectionsWithIdentifiers(sectionIdentifiers []objc.IObject)

func (DiffableDataSourceSnapshot) DeleteAllItems

func (d_ DiffableDataSourceSnapshot) DeleteAllItems()

func (DiffableDataSourceSnapshot) DeleteItemsWithIdentifiers added in v0.13.6

func (d_ DiffableDataSourceSnapshot) DeleteItemsWithIdentifiers(identifiers []objc.IObject)

func (DiffableDataSourceSnapshot) DeleteSectionsWithIdentifiers added in v0.13.6

func (d_ DiffableDataSourceSnapshot) DeleteSectionsWithIdentifiers(sectionIdentifiers []objc.IObject)

func (DiffableDataSourceSnapshot) IndexOfItemIdentifier added in v0.13.6

func (d_ DiffableDataSourceSnapshot) IndexOfItemIdentifier(itemIdentifier objc.IObject) int

func (DiffableDataSourceSnapshot) IndexOfSectionIdentifier added in v0.13.6

func (d_ DiffableDataSourceSnapshot) IndexOfSectionIdentifier(sectionIdentifier objc.IObject) int

func (DiffableDataSourceSnapshot) Init added in v0.11.0

func (DiffableDataSourceSnapshot) InsertItemsWithIdentifiers_AfterItemWithIdentifier added in v0.13.6

func (d_ DiffableDataSourceSnapshot) InsertItemsWithIdentifiers_AfterItemWithIdentifier(identifiers []objc.IObject, itemIdentifier objc.IObject)

func (DiffableDataSourceSnapshot) InsertItemsWithIdentifiers_BeforeItemWithIdentifier added in v0.13.6

func (d_ DiffableDataSourceSnapshot) InsertItemsWithIdentifiers_BeforeItemWithIdentifier(identifiers []objc.IObject, itemIdentifier objc.IObject)

func (DiffableDataSourceSnapshot) InsertSectionsWithIdentifiers_AfterSectionWithIdentifier added in v0.13.6

func (d_ DiffableDataSourceSnapshot) InsertSectionsWithIdentifiers_AfterSectionWithIdentifier(sectionIdentifiers []objc.IObject, toSectionIdentifier objc.IObject)

func (DiffableDataSourceSnapshot) InsertSectionsWithIdentifiers_BeforeSectionWithIdentifier added in v0.13.6

func (d_ DiffableDataSourceSnapshot) InsertSectionsWithIdentifiers_BeforeSectionWithIdentifier(sectionIdentifiers []objc.IObject, toSectionIdentifier objc.IObject)

func (DiffableDataSourceSnapshot) ItemIdentifiers added in v0.13.6

func (d_ DiffableDataSourceSnapshot) ItemIdentifiers() []objc.Object

func (DiffableDataSourceSnapshot) ItemIdentifiersInSectionWithIdentifier added in v0.13.6

func (d_ DiffableDataSourceSnapshot) ItemIdentifiersInSectionWithIdentifier(sectionIdentifier objc.IObject) []objc.Object

func (DiffableDataSourceSnapshot) MoveItemWithIdentifier_AfterItemWithIdentifier added in v0.13.6

func (d_ DiffableDataSourceSnapshot) MoveItemWithIdentifier_AfterItemWithIdentifier(fromIdentifier objc.IObject, toIdentifier objc.IObject)

func (DiffableDataSourceSnapshot) MoveItemWithIdentifier_BeforeItemWithIdentifier added in v0.13.6

func (d_ DiffableDataSourceSnapshot) MoveItemWithIdentifier_BeforeItemWithIdentifier(fromIdentifier objc.IObject, toIdentifier objc.IObject)

func (DiffableDataSourceSnapshot) MoveSectionWithIdentifier_AfterSectionWithIdentifier added in v0.13.6

func (d_ DiffableDataSourceSnapshot) MoveSectionWithIdentifier_AfterSectionWithIdentifier(fromSectionIdentifier objc.IObject, toSectionIdentifier objc.IObject)

func (DiffableDataSourceSnapshot) MoveSectionWithIdentifier_BeforeSectionWithIdentifier added in v0.13.6

func (d_ DiffableDataSourceSnapshot) MoveSectionWithIdentifier_BeforeSectionWithIdentifier(fromSectionIdentifier objc.IObject, toSectionIdentifier objc.IObject)

func (DiffableDataSourceSnapshot) NumberOfItems

func (d_ DiffableDataSourceSnapshot) NumberOfItems() int

func (DiffableDataSourceSnapshot) NumberOfItemsInSection added in v0.13.6

func (d_ DiffableDataSourceSnapshot) NumberOfItemsInSection(sectionIdentifier objc.IObject) int

func (DiffableDataSourceSnapshot) NumberOfSections

func (d_ DiffableDataSourceSnapshot) NumberOfSections() int

func (DiffableDataSourceSnapshot) ReloadItemsWithIdentifiers added in v0.13.6

func (d_ DiffableDataSourceSnapshot) ReloadItemsWithIdentifiers(identifiers []objc.IObject)

func (DiffableDataSourceSnapshot) ReloadSectionsWithIdentifiers added in v0.13.6

func (d_ DiffableDataSourceSnapshot) ReloadSectionsWithIdentifiers(sectionIdentifiers []objc.IObject)

func (DiffableDataSourceSnapshot) SectionIdentifierForSectionContainingItemIdentifier added in v0.13.6

func (d_ DiffableDataSourceSnapshot) SectionIdentifierForSectionContainingItemIdentifier(itemIdentifier objc.IObject) objc.Object

func (DiffableDataSourceSnapshot) SectionIdentifiers added in v0.13.6

func (d_ DiffableDataSourceSnapshot) SectionIdentifiers() []objc.Object

type DirectionalEdgeInsets

type DirectionalEdgeInsets struct {
	Top      coregraphics.Float
	Leading  coregraphics.Float
	Bottom   coregraphics.Float
	Trailing coregraphics.Float
}

type DirectionalRectEdge

type DirectionalRectEdge uint
const DirectionalRectEdgeAll DirectionalRectEdge = 15
const DirectionalRectEdgeBottom DirectionalRectEdge = 4
const DirectionalRectEdgeLeading DirectionalRectEdge = 2
const DirectionalRectEdgeNone DirectionalRectEdge = 0
const DirectionalRectEdgeTop DirectionalRectEdge = 1
const DirectionalRectEdgeTrailing DirectionalRectEdge = 8

type DisplayGamut

type DisplayGamut int
const DisplayGamutP3 DisplayGamut = 2
const DisplayGamutSRGB DisplayGamut = 1

type DockTile

type DockTile struct {
	objc.Object
}

func MakeDockTile

func MakeDockTile(ptr unsafe.Pointer) DockTile

func NewDockTile

func NewDockTile() DockTile

func (DockTile) BadgeLabel

func (d_ DockTile) BadgeLabel() string

func (DockTile) ContentView

func (d_ DockTile) ContentView() View

func (DockTile) Display

func (d_ DockTile) Display()

func (DockTile) Init added in v0.11.0

func (d_ DockTile) Init() DockTile

func (DockTile) Owner

func (d_ DockTile) Owner() objc.Object

weak property

func (DockTile) SetBadgeLabel

func (d_ DockTile) SetBadgeLabel(value string)

func (DockTile) SetContentView

func (d_ DockTile) SetContentView(value IView)

func (DockTile) SetShowsApplicationBadge

func (d_ DockTile) SetShowsApplicationBadge(value bool)

func (DockTile) ShowsApplicationBadge

func (d_ DockTile) ShowsApplicationBadge() bool

func (DockTile) Size

func (d_ DockTile) Size() foundation.Size

type Document

type Document struct {
	objc.Object
}

func MakeDocument

func MakeDocument(ptr unsafe.Pointer) Document

func NewDocument

func NewDocument() Document

func (Document) AddWindowController

func (d_ Document) AddWindowController(windowController IWindowController)

func (Document) AllowsDocumentSharing

func (d_ Document) AllowsDocumentSharing() bool

func (Document) AutosaveDocumentWithDelegate_DidAutosaveSelector_ContextInfo added in v0.8.1

func (d_ Document) AutosaveDocumentWithDelegate_DidAutosaveSelector_ContextInfo(delegate objc.IObject, didAutosaveSelector objc.Selector, contextInfo unsafe.Pointer)

func (Document) AutosaveWithImplicitCancellability_CompletionHandler added in v0.13.3

func (d_ Document) AutosaveWithImplicitCancellability_CompletionHandler(autosavingIsImplicitlyCancellable bool, completionHandler func(errorOrNil foundation.Error))

func (Document) AutosavedContentsFileURL

func (d_ Document) AutosavedContentsFileURL() foundation.URL

func (Document) AutosavingFileType

func (d_ Document) AutosavingFileType() string

func (Document) AutosavingIsImplicitlyCancellable

func (d_ Document) AutosavingIsImplicitlyCancellable() bool

func (Document) BackupFileURL

func (d_ Document) BackupFileURL() foundation.URL

func (Document) BrowseDocumentVersions

func (d_ Document) BrowseDocumentVersions(sender objc.IObject)

func (Document) CanAsynchronouslyWriteToURL_OfType_ForSaveOperation

func (d_ Document) CanAsynchronouslyWriteToURL_OfType_ForSaveOperation(url foundation.IURL, typeName string, saveOperation SaveOperationType) bool

func (Document) CanCloseDocumentWithDelegate_ShouldCloseSelector_ContextInfo added in v0.8.1

func (d_ Document) CanCloseDocumentWithDelegate_ShouldCloseSelector_ContextInfo(delegate objc.IObject, shouldCloseSelector objc.Selector, contextInfo unsafe.Pointer)

func (Document) ChangeCountTokenForSaveOperation

func (d_ Document) ChangeCountTokenForSaveOperation(saveOperation SaveOperationType) objc.Object

func (Document) CheckAutosavingSafetyAndReturnError added in v0.13.3

func (d_ Document) CheckAutosavingSafetyAndReturnError(outError *foundation.Error) bool

func (Document) Close

func (d_ Document) Close()

func (Document) ContinueActivityUsingBlock added in v0.13.3

func (d_ Document) ContinueActivityUsingBlock(block func())

func (Document) ContinueAsynchronousWorkOnMainThreadUsingBlock added in v0.13.3

func (d_ Document) ContinueAsynchronousWorkOnMainThreadUsingBlock(block func())

func (Document) DataOfType_Error added in v0.13.3

func (d_ Document) DataOfType_Error(typeName string, outError *foundation.Error) []byte

func (Document) DataRepresentationOfType added in v0.14.5

func (d_ Document) DataRepresentationOfType(type_ string) []byte

deprecated

func (Document) DefaultDraftName

func (d_ Document) DefaultDraftName() string

func (Document) DisplayName

func (d_ Document) DisplayName() string

func (Document) DuplicateAndReturnError added in v0.13.3

func (d_ Document) DuplicateAndReturnError(outError *foundation.Error) Document

func (Document) DuplicateDocument

func (d_ Document) DuplicateDocument(sender objc.IObject)

func (Document) DuplicateDocumentWithDelegate_DidDuplicateSelector_ContextInfo added in v0.8.1

func (d_ Document) DuplicateDocumentWithDelegate_DidDuplicateSelector_ContextInfo(delegate objc.IObject, didDuplicateSelector objc.Selector, contextInfo unsafe.Pointer)

func (Document) EncodeRestorableStateWithCoder

func (d_ Document) EncodeRestorableStateWithCoder(coder foundation.ICoder)

func (Document) EncodeRestorableStateWithCoder_BackgroundQueue

func (d_ Document) EncodeRestorableStateWithCoder_BackgroundQueue(coder foundation.ICoder, queue foundation.IOperationQueue)

func (Document) FileAttributesToWriteToURL_OfType_ForSaveOperation_OriginalContentsURL_Error added in v0.13.3

func (d_ Document) FileAttributesToWriteToURL_OfType_ForSaveOperation_OriginalContentsURL_Error(url foundation.IURL, typeName string, saveOperation SaveOperationType, absoluteOriginalContentsURL foundation.IURL, outError *foundation.Error) map[string]objc.Object

func (Document) FileModificationDate

func (d_ Document) FileModificationDate() foundation.Date

func (Document) FileName added in v0.14.5

func (d_ Document) FileName() string

deprecated

func (Document) FileNameExtensionForType_SaveOperation

func (d_ Document) FileNameExtensionForType_SaveOperation(typeName string, saveOperation SaveOperationType) string

func (Document) FileNameExtensionWasHiddenInLastRunSavePanel

func (d_ Document) FileNameExtensionWasHiddenInLastRunSavePanel() bool

func (Document) FileType

func (d_ Document) FileType() string

func (Document) FileTypeFromLastRunSavePanel

func (d_ Document) FileTypeFromLastRunSavePanel() string

func (Document) FileURL

func (d_ Document) FileURL() foundation.URL

func (Document) FileWrapperOfType_Error added in v0.13.3

func (d_ Document) FileWrapperOfType_Error(typeName string, outError *foundation.Error) foundation.FileWrapper

func (Document) FileWrapperRepresentationOfType added in v0.14.5

func (d_ Document) FileWrapperRepresentationOfType(type_ string) foundation.FileWrapper

deprecated

func (Document) HandleCloseScriptCommand

func (d_ Document) HandleCloseScriptCommand(command foundation.ICloseCommand) objc.Object

func (Document) HandlePrintScriptCommand

func (d_ Document) HandlePrintScriptCommand(command foundation.IScriptCommand) objc.Object

func (Document) HandleSaveScriptCommand

func (d_ Document) HandleSaveScriptCommand(command foundation.IScriptCommand) objc.Object

func (Document) HasUnautosavedChanges

func (d_ Document) HasUnautosavedChanges() bool

func (Document) HasUndoManager

func (d_ Document) HasUndoManager() bool

func (Document) Init added in v0.11.0

func (d_ Document) Init() Document

func (Document) InitForURL_WithContentsOfURL_OfType_Error added in v0.13.3

func (d_ Document) InitForURL_WithContentsOfURL_OfType_Error(urlOrNil foundation.IURL, contentsURL foundation.IURL, typeName string, outError *foundation.Error) Document

func (Document) InitWithContentsOfFile_OfType added in v0.14.5

func (d_ Document) InitWithContentsOfFile_OfType(absolutePath string, typeName string) objc.Object

deprecated

func (Document) InitWithContentsOfURL_OfType added in v0.14.5

func (d_ Document) InitWithContentsOfURL_OfType(url foundation.IURL, typeName string) objc.Object

deprecated

func (Document) InitWithContentsOfURL_OfType_Error added in v0.13.3

func (d_ Document) InitWithContentsOfURL_OfType_Error(url foundation.IURL, typeName string, outError *foundation.Error) Document

func (Document) InitWithType_Error added in v0.13.3

func (d_ Document) InitWithType_Error(typeName string, outError *foundation.Error) Document

func (Document) InvalidateRestorableState

func (d_ Document) InvalidateRestorableState()

func (Document) IsBrowsingVersions

func (d_ Document) IsBrowsingVersions() bool

func (Document) IsDocumentEdited

func (d_ Document) IsDocumentEdited() bool

func (Document) IsDraft

func (d_ Document) IsDraft() bool

func (Document) IsEntireFileLoaded

func (d_ Document) IsEntireFileLoaded() bool

func (Document) IsInViewingMode

func (d_ Document) IsInViewingMode() bool

func (Document) IsLocked

func (d_ Document) IsLocked() bool

func (Document) KeepBackupFile

func (d_ Document) KeepBackupFile() bool

func (Document) LastComponentOfFileName

func (d_ Document) LastComponentOfFileName() string

func (Document) LoadDataRepresentation_OfType added in v0.14.5

func (d_ Document) LoadDataRepresentation_OfType(data []byte, type_ string) bool

deprecated

func (Document) LoadFileWrapperRepresentation_OfType added in v0.14.5

func (d_ Document) LoadFileWrapperRepresentation_OfType(wrapper foundation.IFileWrapper, type_ string) bool

deprecated

func (Document) LockDocument

func (d_ Document) LockDocument(sender objc.IObject)

func (Document) LockDocumentWithCompletionHandler added in v0.13.3

func (d_ Document) LockDocumentWithCompletionHandler(completionHandler func(didLock bool))

func (Document) LockWithCompletionHandler added in v0.13.3

func (d_ Document) LockWithCompletionHandler(completionHandler func(param1 foundation.Error))

func (Document) MakeWindowControllers

func (d_ Document) MakeWindowControllers()

func (Document) MoveDocument

func (d_ Document) MoveDocument(sender objc.IObject)

func (Document) MoveDocumentToUbiquityContainer

func (d_ Document) MoveDocumentToUbiquityContainer(sender objc.IObject)

func (Document) MoveDocumentWithCompletionHandler added in v0.13.3

func (d_ Document) MoveDocumentWithCompletionHandler(completionHandler func(didMove bool))

func (Document) MoveToURL_CompletionHandler added in v0.13.3

func (d_ Document) MoveToURL_CompletionHandler(url foundation.IURL, completionHandler func(param1 foundation.Error))

func (Document) ObjectSpecifier

func (d_ Document) ObjectSpecifier() foundation.ScriptObjectSpecifier

func (Document) PDFPrintOperation

func (d_ Document) PDFPrintOperation() PrintOperation

func (Document) PerformActivityWithSynchronousWaiting_UsingBlock added in v0.16.0

func (d_ Document) PerformActivityWithSynchronousWaiting_UsingBlock(waitSynchronously bool, block func(param1 func()))

func (Document) PerformAsynchronousFileAccessUsingBlock added in v0.16.0

func (d_ Document) PerformAsynchronousFileAccessUsingBlock(block func(param1 func()))

func (Document) PerformSynchronousFileAccessUsingBlock added in v0.13.3

func (d_ Document) PerformSynchronousFileAccessUsingBlock(block func())

func (Document) PreparePageLayout

func (d_ Document) PreparePageLayout(pageLayout IPageLayout) bool

func (Document) PrepareSavePanel

func (d_ Document) PrepareSavePanel(savePanel ISavePanel) bool

func (Document) PrepareSharingServicePicker

func (d_ Document) PrepareSharingServicePicker(sharingServicePicker ISharingServicePicker)

func (Document) PresentError

func (d_ Document) PresentError(error foundation.IError) bool

func (Document) PresentError_ModalForWindow_Delegate_DidPresentSelector_ContextInfo added in v0.8.1

func (d_ Document) PresentError_ModalForWindow_Delegate_DidPresentSelector_ContextInfo(error foundation.IError, window IWindow, delegate objc.IObject, didPresentSelector objc.Selector, contextInfo unsafe.Pointer)

func (Document) PrintDocument

func (d_ Document) PrintDocument(sender objc.IObject)

func (Document) PrintDocumentWithSettings_ShowPrintPanel_Delegate_DidPrintSelector_ContextInfo added in v0.8.1

func (d_ Document) PrintDocumentWithSettings_ShowPrintPanel_Delegate_DidPrintSelector_ContextInfo(printSettings map[PrintInfoAttributeKey]objc.IObject, showPrintPanel bool, delegate objc.IObject, didPrintSelector objc.Selector, contextInfo unsafe.Pointer)

func (Document) PrintInfo

func (d_ Document) PrintInfo() PrintInfo

func (Document) PrintOperationWithSettings_Error added in v0.13.3

func (d_ Document) PrintOperationWithSettings_Error(printSettings map[PrintInfoAttributeKey]objc.IObject, outError *foundation.Error) PrintOperation

func (Document) PrintShowingPrintPanel added in v0.14.5

func (d_ Document) PrintShowingPrintPanel(flag bool)

deprecated

func (Document) ReadFromData_OfType_Error added in v0.13.3

func (d_ Document) ReadFromData_OfType_Error(data []byte, typeName string, outError *foundation.Error) bool

func (Document) ReadFromFileWrapper_OfType_Error added in v0.13.3

func (d_ Document) ReadFromFileWrapper_OfType_Error(fileWrapper foundation.IFileWrapper, typeName string, outError *foundation.Error) bool

func (Document) ReadFromFile_OfType added in v0.14.5

func (d_ Document) ReadFromFile_OfType(fileName string, type_ string) bool

deprecated

func (Document) ReadFromURL_OfType added in v0.14.5

func (d_ Document) ReadFromURL_OfType(url foundation.IURL, type_ string) bool

deprecated

func (Document) ReadFromURL_OfType_Error added in v0.13.3

func (d_ Document) ReadFromURL_OfType_Error(url foundation.IURL, typeName string, outError *foundation.Error) bool

func (Document) RemoveWindowController

func (d_ Document) RemoveWindowController(windowController IWindowController)

func (Document) RenameDocument

func (d_ Document) RenameDocument(sender objc.IObject)

func (Document) RestoreDocumentWindowWithIdentifier_State_CompletionHandler added in v0.13.3

func (d_ Document) RestoreDocumentWindowWithIdentifier_State_CompletionHandler(identifier UserInterfaceItemIdentifier, state foundation.ICoder, completionHandler func(param1 Window, param2 foundation.Error))

func (Document) RestoreStateWithCoder

func (d_ Document) RestoreStateWithCoder(coder foundation.ICoder)

func (Document) RevertDocumentToSaved

func (d_ Document) RevertDocumentToSaved(sender objc.IObject)

func (Document) RevertToContentsOfURL_OfType_Error added in v0.13.3

func (d_ Document) RevertToContentsOfURL_OfType_Error(url foundation.IURL, typeName string, outError *foundation.Error) bool

func (Document) RevertToSavedFromFile_OfType added in v0.14.5

func (d_ Document) RevertToSavedFromFile_OfType(fileName string, type_ string) bool

deprecated

func (Document) RevertToSavedFromURL_OfType added in v0.14.5

func (d_ Document) RevertToSavedFromURL_OfType(url foundation.IURL, type_ string) bool

deprecated

func (Document) RunModalPageLayoutWithPrintInfo added in v0.14.5

func (d_ Document) RunModalPageLayoutWithPrintInfo(printInfo IPrintInfo) int

deprecated

func (Document) RunModalPageLayoutWithPrintInfo_Delegate_DidRunSelector_ContextInfo added in v0.8.1

func (d_ Document) RunModalPageLayoutWithPrintInfo_Delegate_DidRunSelector_ContextInfo(printInfo IPrintInfo, delegate objc.IObject, didRunSelector objc.Selector, contextInfo unsafe.Pointer)

func (Document) RunModalPrintOperation_Delegate_DidRunSelector_ContextInfo added in v0.8.1

func (d_ Document) RunModalPrintOperation_Delegate_DidRunSelector_ContextInfo(printOperation IPrintOperation, delegate objc.IObject, didRunSelector objc.Selector, contextInfo unsafe.Pointer)

func (Document) RunModalSavePanelForSaveOperation_Delegate_DidSaveSelector_ContextInfo added in v0.8.1

func (d_ Document) RunModalSavePanelForSaveOperation_Delegate_DidSaveSelector_ContextInfo(saveOperation SaveOperationType, delegate objc.IObject, didSaveSelector objc.Selector, contextInfo unsafe.Pointer)

func (Document) RunPageLayout

func (d_ Document) RunPageLayout(sender objc.IObject)

func (Document) SaveDocument

func (d_ Document) SaveDocument(sender objc.IObject)

func (Document) SaveDocumentAs

func (d_ Document) SaveDocumentAs(sender objc.IObject)

func (Document) SaveDocumentTo

func (d_ Document) SaveDocumentTo(sender objc.IObject)

func (Document) SaveDocumentToPDF

func (d_ Document) SaveDocumentToPDF(sender objc.IObject)

func (Document) SaveDocumentWithDelegate_DidSaveSelector_ContextInfo added in v0.8.1

func (d_ Document) SaveDocumentWithDelegate_DidSaveSelector_ContextInfo(delegate objc.IObject, didSaveSelector objc.Selector, contextInfo unsafe.Pointer)

func (Document) SaveToFile_SaveOperation_Delegate_DidSaveSelector_ContextInfo added in v0.14.5

func (d_ Document) SaveToFile_SaveOperation_Delegate_DidSaveSelector_ContextInfo(fileName string, saveOperation SaveOperationType, delegate objc.IObject, didSaveSelector objc.Selector, contextInfo unsafe.Pointer)

deprecated

func (Document) SaveToURL_OfType_ForSaveOperation_CompletionHandler added in v0.13.3

func (d_ Document) SaveToURL_OfType_ForSaveOperation_CompletionHandler(url foundation.IURL, typeName string, saveOperation SaveOperationType, completionHandler func(errorOrNil foundation.Error))

func (Document) SaveToURL_OfType_ForSaveOperation_Delegate_DidSaveSelector_ContextInfo added in v0.8.1

func (d_ Document) SaveToURL_OfType_ForSaveOperation_Delegate_DidSaveSelector_ContextInfo(url foundation.IURL, typeName string, saveOperation SaveOperationType, delegate objc.IObject, didSaveSelector objc.Selector, contextInfo unsafe.Pointer)

func (Document) SaveToURL_OfType_ForSaveOperation_Error added in v0.14.5

func (d_ Document) SaveToURL_OfType_ForSaveOperation_Error(url foundation.IURL, typeName string, saveOperation SaveOperationType, outError *foundation.Error) bool

deprecated

func (Document) ScheduleAutosaving

func (d_ Document) ScheduleAutosaving()

func (Document) SetAutosavedContentsFileURL

func (d_ Document) SetAutosavedContentsFileURL(value foundation.IURL)

func (Document) SetDisplayName

func (d_ Document) SetDisplayName(displayNameOrNil string)

func (Document) SetDraft

func (d_ Document) SetDraft(value bool)

func (Document) SetFileModificationDate

func (d_ Document) SetFileModificationDate(value foundation.IDate)

func (Document) SetFileName added in v0.14.5

func (d_ Document) SetFileName(fileName string)

deprecated

func (Document) SetFileType

func (d_ Document) SetFileType(value string)

func (Document) SetFileURL

func (d_ Document) SetFileURL(value foundation.IURL)

func (Document) SetHasUndoManager

func (d_ Document) SetHasUndoManager(value bool)

func (Document) SetLastComponentOfFileName

func (d_ Document) SetLastComponentOfFileName(value string)

func (Document) SetPrintInfo

func (d_ Document) SetPrintInfo(value IPrintInfo)

func (Document) SetUndoManager

func (d_ Document) SetUndoManager(value foundation.IUndoManager)

func (Document) SetUserActivity

func (d_ Document) SetUserActivity(value foundation.IUserActivity)

func (Document) SetWindow

func (d_ Document) SetWindow(window IWindow)

func (Document) ShareDocumentWithSharingService_CompletionHandler added in v0.13.3

func (d_ Document) ShareDocumentWithSharingService_CompletionHandler(sharingService ISharingService, completionHandler func(success bool))

func (Document) ShouldChangePrintInfo

func (d_ Document) ShouldChangePrintInfo(newPrintInfo IPrintInfo) bool

func (Document) ShouldCloseWindowController_Delegate_ShouldCloseSelector_ContextInfo added in v0.8.1

func (d_ Document) ShouldCloseWindowController_Delegate_ShouldCloseSelector_ContextInfo(windowController IWindowController, delegate objc.IObject, shouldCloseSelector objc.Selector, contextInfo unsafe.Pointer)

func (Document) ShouldRunSavePanelWithAccessoryView

func (d_ Document) ShouldRunSavePanelWithAccessoryView() bool

func (Document) ShowWindows

func (d_ Document) ShowWindows()

func (Document) StopBrowsingVersionsWithCompletionHandler added in v0.13.3

func (d_ Document) StopBrowsingVersionsWithCompletionHandler(completionHandler func())

func (Document) UnblockUserInteraction

func (d_ Document) UnblockUserInteraction()

func (Document) UndoManager

func (d_ Document) UndoManager() foundation.UndoManager

func (Document) UnlockDocument

func (d_ Document) UnlockDocument(sender objc.IObject)

func (Document) UnlockDocumentWithCompletionHandler added in v0.13.3

func (d_ Document) UnlockDocumentWithCompletionHandler(completionHandler func(didUnlock bool))

func (Document) UnlockWithCompletionHandler added in v0.13.3

func (d_ Document) UnlockWithCompletionHandler(completionHandler func(param1 foundation.Error))

func (Document) UpdateChangeCount

func (d_ Document) UpdateChangeCount(change DocumentChangeType)

func (Document) UpdateChangeCountWithToken_ForSaveOperation

func (d_ Document) UpdateChangeCountWithToken_ForSaveOperation(changeCountToken objc.IObject, saveOperation SaveOperationType)

func (Document) UpdateUserActivityState

func (d_ Document) UpdateUserActivityState(activity foundation.IUserActivity)

func (Document) UserActivity

func (d_ Document) UserActivity() foundation.UserActivity

func (Document) ValidateUserInterfaceItem

func (d_ Document) ValidateUserInterfaceItem(item objc.IObject) bool

func (Document) WillNotPresentError

func (d_ Document) WillNotPresentError(error foundation.IError)

func (Document) WillPresentError

func (d_ Document) WillPresentError(error foundation.IError) foundation.Error

func (Document) WindowControllerDidLoadNib

func (d_ Document) WindowControllerDidLoadNib(windowController IWindowController)

func (Document) WindowControllerWillLoadNib

func (d_ Document) WindowControllerWillLoadNib(windowController IWindowController)

func (Document) WindowControllers

func (d_ Document) WindowControllers() []WindowController

func (Document) WindowForSheet

func (d_ Document) WindowForSheet() Window

func (Document) WindowNibName

func (d_ Document) WindowNibName() NibName

func (Document) WritableTypesForSaveOperation

func (d_ Document) WritableTypesForSaveOperation(saveOperation SaveOperationType) []string

func (Document) WriteSafelyToURL_OfType_ForSaveOperation_Error added in v0.13.3

func (d_ Document) WriteSafelyToURL_OfType_ForSaveOperation_Error(url foundation.IURL, typeName string, saveOperation SaveOperationType, outError *foundation.Error) bool

func (Document) WriteToFile_OfType added in v0.14.5

func (d_ Document) WriteToFile_OfType(fileName string, type_ string) bool

deprecated

func (Document) WriteToFile_OfType_OriginalFile_SaveOperation added in v0.14.5

func (d_ Document) WriteToFile_OfType_OriginalFile_SaveOperation(fullDocumentPath string, documentTypeName string, fullOriginalDocumentPath string, saveOperationType SaveOperationType) bool

deprecated

func (Document) WriteToURL_OfType added in v0.14.5

func (d_ Document) WriteToURL_OfType(url foundation.IURL, type_ string) bool

deprecated

func (Document) WriteToURL_OfType_Error added in v0.13.3

func (d_ Document) WriteToURL_OfType_Error(url foundation.IURL, typeName string, outError *foundation.Error) bool

func (Document) WriteToURL_OfType_ForSaveOperation_OriginalContentsURL_Error added in v0.13.3

func (d_ Document) WriteToURL_OfType_ForSaveOperation_OriginalContentsURL_Error(url foundation.IURL, typeName string, saveOperation SaveOperationType, absoluteOriginalContentsURL foundation.IURL, outError *foundation.Error) bool

func (Document) WriteWithBackupToFile_OfType_SaveOperation added in v0.14.5

func (d_ Document) WriteWithBackupToFile_OfType_SaveOperation(fullDocumentPath string, documentTypeName string, saveOperationType SaveOperationType) bool

deprecated

type DocumentChangeType

type DocumentChangeType uint
const ChangeAutosaved DocumentChangeType = 4
const ChangeCleared DocumentChangeType = 2
const ChangeDiscardable DocumentChangeType = 256
const ChangeDone DocumentChangeType = 0
const ChangeReadOtherContents DocumentChangeType = 3
const ChangeRedone DocumentChangeType = 5
const ChangeUndone DocumentChangeType = 1

type DragOperation

type DragOperation uint
const DragOperationCopy DragOperation = 1
const DragOperationDelete DragOperation = 32
const DragOperationEvery DragOperation = 18446744073709551615
const DragOperationGeneric DragOperation = 4
const DragOperationLink DragOperation = 2
const DragOperationMove DragOperation = 16
const DragOperationNone DragOperation = 0
const DragOperationPrivate DragOperation = 8

type DraggingContext

type DraggingContext int
const DraggingContextOutsideApplication DraggingContext = 0
const DraggingContextWithinApplication DraggingContext = 1

type DraggingDestination

type DraggingDestination interface {
	ImplementsDraggingEntered() bool
	// optional
	DraggingEntered(sender objc.Object) DragOperation
	ImplementsWantsPeriodicDraggingUpdates() bool
	// optional
	WantsPeriodicDraggingUpdates() bool
	ImplementsDraggingUpdated() bool
	// optional
	DraggingUpdated(sender objc.Object) DragOperation
	ImplementsDraggingEnded() bool
	// optional
	DraggingEnded(sender objc.Object)
	ImplementsDraggingExited() bool
	// optional
	DraggingExited(sender objc.Object)
	ImplementsPrepareForDragOperation() bool
	// optional
	PrepareForDragOperation(sender objc.Object) bool
	ImplementsPerformDragOperation() bool
	// optional
	PerformDragOperation(sender objc.Object) bool
	ImplementsConcludeDragOperation() bool
	// optional
	ConcludeDragOperation(sender objc.Object)
	ImplementsUpdateDraggingItemsForDrag() bool
	// optional
	UpdateDraggingItemsForDrag(sender objc.Object)
}

type DraggingDestinationBase added in v0.13.0

type DraggingDestinationBase struct {
}

func (*DraggingDestinationBase) ConcludeDragOperation added in v0.14.1

func (p *DraggingDestinationBase) ConcludeDragOperation(sender objc.Object)

func (*DraggingDestinationBase) DraggingEnded added in v0.14.1

func (p *DraggingDestinationBase) DraggingEnded(sender objc.Object)

func (*DraggingDestinationBase) DraggingEntered added in v0.14.1

func (p *DraggingDestinationBase) DraggingEntered(sender objc.Object) DragOperation

func (*DraggingDestinationBase) DraggingExited added in v0.14.1

func (p *DraggingDestinationBase) DraggingExited(sender objc.Object)

func (*DraggingDestinationBase) DraggingUpdated added in v0.14.1

func (p *DraggingDestinationBase) DraggingUpdated(sender objc.Object) DragOperation

func (*DraggingDestinationBase) ImplementsConcludeDragOperation added in v0.14.1

func (p *DraggingDestinationBase) ImplementsConcludeDragOperation() bool

func (*DraggingDestinationBase) ImplementsDraggingEnded added in v0.14.1

func (p *DraggingDestinationBase) ImplementsDraggingEnded() bool

func (*DraggingDestinationBase) ImplementsDraggingEntered added in v0.14.1

func (p *DraggingDestinationBase) ImplementsDraggingEntered() bool

func (*DraggingDestinationBase) ImplementsDraggingExited added in v0.14.1

func (p *DraggingDestinationBase) ImplementsDraggingExited() bool

func (*DraggingDestinationBase) ImplementsDraggingUpdated added in v0.14.1

func (p *DraggingDestinationBase) ImplementsDraggingUpdated() bool

func (*DraggingDestinationBase) ImplementsPerformDragOperation added in v0.14.1

func (p *DraggingDestinationBase) ImplementsPerformDragOperation() bool

func (*DraggingDestinationBase) ImplementsPrepareForDragOperation added in v0.14.1

func (p *DraggingDestinationBase) ImplementsPrepareForDragOperation() bool

func (*DraggingDestinationBase) ImplementsUpdateDraggingItemsForDrag added in v0.14.1

func (p *DraggingDestinationBase) ImplementsUpdateDraggingItemsForDrag() bool

func (*DraggingDestinationBase) ImplementsWantsPeriodicDraggingUpdates added in v0.13.0

func (p *DraggingDestinationBase) ImplementsWantsPeriodicDraggingUpdates() bool

func (*DraggingDestinationBase) PerformDragOperation added in v0.14.1

func (p *DraggingDestinationBase) PerformDragOperation(sender objc.Object) bool

func (*DraggingDestinationBase) PrepareForDragOperation added in v0.14.1

func (p *DraggingDestinationBase) PrepareForDragOperation(sender objc.Object) bool

func (*DraggingDestinationBase) UpdateDraggingItemsForDrag added in v0.14.1

func (p *DraggingDestinationBase) UpdateDraggingItemsForDrag(sender objc.Object)

func (*DraggingDestinationBase) WantsPeriodicDraggingUpdates added in v0.13.0

func (p *DraggingDestinationBase) WantsPeriodicDraggingUpdates() bool

type DraggingFormation

type DraggingFormation int
const DraggingFormationDefault DraggingFormation = 0
const DraggingFormationList DraggingFormation = 3
const DraggingFormationNone DraggingFormation = 1
const DraggingFormationPile DraggingFormation = 2
const DraggingFormationStack DraggingFormation = 4

type DraggingImageComponent

type DraggingImageComponent struct {
	objc.Object
}

func MakeDraggingImageComponent

func MakeDraggingImageComponent(ptr unsafe.Pointer) DraggingImageComponent

func NewDraggingImageComponent added in v0.13.0

func NewDraggingImageComponent() DraggingImageComponent

func (DraggingImageComponent) Contents

func (d_ DraggingImageComponent) Contents() objc.Object

func (DraggingImageComponent) Frame

func (DraggingImageComponent) Init added in v0.13.0

func (DraggingImageComponent) InitWithKey added in v0.11.0

func (DraggingImageComponent) Key

func (DraggingImageComponent) SetContents

func (d_ DraggingImageComponent) SetContents(value objc.IObject)

func (DraggingImageComponent) SetFrame

func (d_ DraggingImageComponent) SetFrame(value foundation.Rect)

func (DraggingImageComponent) SetKey

type DraggingImageComponentKey

type DraggingImageComponentKey string
const DraggingImageComponentIconKey DraggingImageComponentKey = "icon"
const DraggingImageComponentLabelKey DraggingImageComponentKey = "label"

type DraggingInfo

type DraggingInfo interface {
	// required
	// deprecated
	NamesOfPromisedFilesDroppedAtDestination(dropDestination foundation.URL) []string
	// required
	SlideDraggedImageTo(screenPoint foundation.Point)
	// required
	EnumerateDraggingItemsWithOptions_ForView_Classes_SearchOptions_UsingBlock(enumOpts DraggingItemEnumerationOptions, view View, classArray []objc.Class, searchOptions map[PasteboardReadingOptionKey]objc.Object, block func(draggingItem IDraggingItem, idx int, stop *bool))
	// required
	ResetSpringLoading()
	ImplementsDraggingPasteboard() bool
	// optional
	DraggingPasteboard() IPasteboard
	ImplementsDraggingSequenceNumber() bool
	// optional
	DraggingSequenceNumber() int
	ImplementsDraggingSource() bool
	// optional
	DraggingSource() objc.IObject
	ImplementsDraggingSourceOperationMask() bool
	// optional
	DraggingSourceOperationMask() DragOperation
	ImplementsDraggingLocation() bool
	// optional
	DraggingLocation() foundation.Point
	ImplementsDraggingDestinationWindow() bool
	// optional
	DraggingDestinationWindow() IWindow
	ImplementsSetNumberOfValidItemsForDrop() bool
	// optional
	SetNumberOfValidItemsForDrop(value int)
	ImplementsNumberOfValidItemsForDrop() bool
	// optional
	NumberOfValidItemsForDrop() int
	ImplementsDraggedImage() bool
	// optional
	// deprecated
	DraggedImage() IImage
	ImplementsDraggedImageLocation() bool
	// optional
	DraggedImageLocation() foundation.Point
	ImplementsSetAnimatesToDestination() bool
	// optional
	SetAnimatesToDestination(value bool)
	ImplementsAnimatesToDestination() bool
	// optional
	AnimatesToDestination() bool
	ImplementsSetDraggingFormation() bool
	// optional
	SetDraggingFormation(value DraggingFormation)
	ImplementsDraggingFormation() bool
	// optional
	DraggingFormation() DraggingFormation
	ImplementsSpringLoadingHighlight() bool
	// optional
	SpringLoadingHighlight() SpringLoadingHighlight
}

type DraggingInfoBase added in v0.14.1

type DraggingInfoBase struct {
}

func (*DraggingInfoBase) AnimatesToDestination added in v0.14.1

func (p *DraggingInfoBase) AnimatesToDestination() bool

func (*DraggingInfoBase) DraggedImage added in v0.14.1

func (p *DraggingInfoBase) DraggedImage() IImage

deprecated

func (*DraggingInfoBase) DraggedImageLocation added in v0.14.1

func (p *DraggingInfoBase) DraggedImageLocation() foundation.Point

func (*DraggingInfoBase) DraggingDestinationWindow added in v0.14.1

func (p *DraggingInfoBase) DraggingDestinationWindow() IWindow

func (*DraggingInfoBase) DraggingFormation added in v0.14.1

func (p *DraggingInfoBase) DraggingFormation() DraggingFormation

func (*DraggingInfoBase) DraggingLocation added in v0.14.1

func (p *DraggingInfoBase) DraggingLocation() foundation.Point

func (*DraggingInfoBase) DraggingPasteboard added in v0.14.1

func (p *DraggingInfoBase) DraggingPasteboard() IPasteboard

func (*DraggingInfoBase) DraggingSequenceNumber added in v0.14.1

func (p *DraggingInfoBase) DraggingSequenceNumber() int

func (*DraggingInfoBase) DraggingSource added in v0.14.1

func (p *DraggingInfoBase) DraggingSource() objc.IObject

func (*DraggingInfoBase) DraggingSourceOperationMask added in v0.14.1

func (p *DraggingInfoBase) DraggingSourceOperationMask() DragOperation

func (*DraggingInfoBase) ImplementsAnimatesToDestination added in v0.14.1

func (p *DraggingInfoBase) ImplementsAnimatesToDestination() bool

func (*DraggingInfoBase) ImplementsDraggedImage added in v0.14.1

func (p *DraggingInfoBase) ImplementsDraggedImage() bool

func (*DraggingInfoBase) ImplementsDraggedImageLocation added in v0.14.1

func (p *DraggingInfoBase) ImplementsDraggedImageLocation() bool

func (*DraggingInfoBase) ImplementsDraggingDestinationWindow added in v0.14.1

func (p *DraggingInfoBase) ImplementsDraggingDestinationWindow() bool

func (*DraggingInfoBase) ImplementsDraggingFormation added in v0.14.1

func (p *DraggingInfoBase) ImplementsDraggingFormation() bool

func (*DraggingInfoBase) ImplementsDraggingLocation added in v0.14.1

func (p *DraggingInfoBase) ImplementsDraggingLocation() bool

func (*DraggingInfoBase) ImplementsDraggingPasteboard added in v0.14.1

func (p *DraggingInfoBase) ImplementsDraggingPasteboard() bool

func (*DraggingInfoBase) ImplementsDraggingSequenceNumber added in v0.14.1

func (p *DraggingInfoBase) ImplementsDraggingSequenceNumber() bool

func (*DraggingInfoBase) ImplementsDraggingSource added in v0.14.1

func (p *DraggingInfoBase) ImplementsDraggingSource() bool

func (*DraggingInfoBase) ImplementsDraggingSourceOperationMask added in v0.14.1

func (p *DraggingInfoBase) ImplementsDraggingSourceOperationMask() bool

func (*DraggingInfoBase) ImplementsNumberOfValidItemsForDrop added in v0.14.1

func (p *DraggingInfoBase) ImplementsNumberOfValidItemsForDrop() bool

func (*DraggingInfoBase) ImplementsSetAnimatesToDestination added in v0.14.1

func (p *DraggingInfoBase) ImplementsSetAnimatesToDestination() bool

func (*DraggingInfoBase) ImplementsSetDraggingFormation added in v0.14.1

func (p *DraggingInfoBase) ImplementsSetDraggingFormation() bool

func (*DraggingInfoBase) ImplementsSetNumberOfValidItemsForDrop added in v0.14.1

func (p *DraggingInfoBase) ImplementsSetNumberOfValidItemsForDrop() bool

func (*DraggingInfoBase) ImplementsSpringLoadingHighlight added in v0.14.1

func (p *DraggingInfoBase) ImplementsSpringLoadingHighlight() bool

func (*DraggingInfoBase) NumberOfValidItemsForDrop added in v0.14.1

func (p *DraggingInfoBase) NumberOfValidItemsForDrop() int

func (*DraggingInfoBase) SetAnimatesToDestination added in v0.14.1

func (p *DraggingInfoBase) SetAnimatesToDestination(value bool)

func (*DraggingInfoBase) SetDraggingFormation added in v0.14.1

func (p *DraggingInfoBase) SetDraggingFormation(value DraggingFormation)

func (*DraggingInfoBase) SetNumberOfValidItemsForDrop added in v0.14.1

func (p *DraggingInfoBase) SetNumberOfValidItemsForDrop(value int)

func (*DraggingInfoBase) SpringLoadingHighlight added in v0.14.1

func (p *DraggingInfoBase) SpringLoadingHighlight() SpringLoadingHighlight

type DraggingItem

type DraggingItem struct {
	objc.Object
}

func MakeDraggingItem

func MakeDraggingItem(ptr unsafe.Pointer) DraggingItem

func NewDraggingItem added in v0.13.0

func NewDraggingItem() DraggingItem

func (DraggingItem) DraggingFrame

func (d_ DraggingItem) DraggingFrame() foundation.Rect

func (DraggingItem) ImageComponents

func (d_ DraggingItem) ImageComponents() []DraggingImageComponent

func (DraggingItem) ImageComponentsProvider added in v0.13.3

func (d_ DraggingItem) ImageComponentsProvider() func() []DraggingImageComponent

func (DraggingItem) Init added in v0.13.0

func (d_ DraggingItem) Init() DraggingItem

func (DraggingItem) InitWithPasteboardWriter added in v0.11.0

func (d_ DraggingItem) InitWithPasteboardWriter(pasteboardWriter objc.IObject) DraggingItem

func (DraggingItem) Item

func (d_ DraggingItem) Item() objc.Object

func (DraggingItem) SetDraggingFrame

func (d_ DraggingItem) SetDraggingFrame(value foundation.Rect)

func (DraggingItem) SetDraggingFrame_Contents

func (d_ DraggingItem) SetDraggingFrame_Contents(frame foundation.Rect, contents objc.IObject)

func (DraggingItem) SetImageComponentsProvider added in v0.13.3

func (d_ DraggingItem) SetImageComponentsProvider(value func() []IDraggingImageComponent)

type DraggingItemEnumerationOptions added in v0.12.5

type DraggingItemEnumerationOptions uint
const DraggingItemEnumerationClearNonenumeratedImages DraggingItemEnumerationOptions = 65536
const DraggingItemEnumerationConcurrent DraggingItemEnumerationOptions = 1

type DraggingSession

type DraggingSession struct {
	objc.Object
}

func MakeDraggingSession

func MakeDraggingSession(ptr unsafe.Pointer) DraggingSession

func NewDraggingSession

func NewDraggingSession() DraggingSession

func (DraggingSession) AnimatesToStartingPositionsOnCancelOrFail

func (d_ DraggingSession) AnimatesToStartingPositionsOnCancelOrFail() bool

func (DraggingSession) DraggingFormation

func (d_ DraggingSession) DraggingFormation() DraggingFormation

func (DraggingSession) DraggingLeaderIndex

func (d_ DraggingSession) DraggingLeaderIndex() int

func (DraggingSession) DraggingLocation

func (d_ DraggingSession) DraggingLocation() foundation.Point

func (DraggingSession) DraggingPasteboard

func (d_ DraggingSession) DraggingPasteboard() Pasteboard

func (DraggingSession) DraggingSequenceNumber

func (d_ DraggingSession) DraggingSequenceNumber() int

func (DraggingSession) EnumerateDraggingItemsWithOptions_ForView_Classes_SearchOptions_UsingBlock added in v0.13.6

func (d_ DraggingSession) EnumerateDraggingItemsWithOptions_ForView_Classes_SearchOptions_UsingBlock(enumOpts DraggingItemEnumerationOptions, view IView, classArray []objc.IClass, searchOptions map[PasteboardReadingOptionKey]objc.IObject, block func(draggingItem DraggingItem, idx int, stop *bool))

func (DraggingSession) Init added in v0.11.0

func (d_ DraggingSession) Init() DraggingSession

func (DraggingSession) SetAnimatesToStartingPositionsOnCancelOrFail

func (d_ DraggingSession) SetAnimatesToStartingPositionsOnCancelOrFail(value bool)

func (DraggingSession) SetDraggingFormation

func (d_ DraggingSession) SetDraggingFormation(value DraggingFormation)

func (DraggingSession) SetDraggingLeaderIndex

func (d_ DraggingSession) SetDraggingLeaderIndex(value int)

type DraggingSource

type DraggingSource interface {
	// required
	DraggingSession_SourceOperationMaskForDraggingContext(session DraggingSession, context DraggingContext) DragOperation
	ImplementsDraggingSession_EndedAtPoint_Operation() bool
	// optional
	DraggingSession_EndedAtPoint_Operation(session DraggingSession, screenPoint foundation.Point, operation DragOperation)
	ImplementsDraggingSession_MovedToPoint() bool
	// optional
	DraggingSession_MovedToPoint(session DraggingSession, screenPoint foundation.Point)
	ImplementsDraggingSession_WillBeginAtPoint() bool
	// optional
	DraggingSession_WillBeginAtPoint(session DraggingSession, screenPoint foundation.Point)
	ImplementsIgnoreModifierKeysForDraggingSession() bool
	// optional
	IgnoreModifierKeysForDraggingSession(session DraggingSession) bool
}

type DraggingSourceBase added in v0.13.0

type DraggingSourceBase struct {
}

func (*DraggingSourceBase) DraggingSession_EndedAtPoint_Operation added in v0.13.0

func (p *DraggingSourceBase) DraggingSession_EndedAtPoint_Operation(session DraggingSession, screenPoint foundation.Point, operation DragOperation)

func (*DraggingSourceBase) DraggingSession_MovedToPoint added in v0.13.0

func (p *DraggingSourceBase) DraggingSession_MovedToPoint(session DraggingSession, screenPoint foundation.Point)

func (*DraggingSourceBase) DraggingSession_WillBeginAtPoint added in v0.13.0

func (p *DraggingSourceBase) DraggingSession_WillBeginAtPoint(session DraggingSession, screenPoint foundation.Point)

func (*DraggingSourceBase) IgnoreModifierKeysForDraggingSession added in v0.13.0

func (p *DraggingSourceBase) IgnoreModifierKeysForDraggingSession(session DraggingSession) bool

func (*DraggingSourceBase) ImplementsDraggingSession_EndedAtPoint_Operation added in v0.13.0

func (p *DraggingSourceBase) ImplementsDraggingSession_EndedAtPoint_Operation() bool

func (*DraggingSourceBase) ImplementsDraggingSession_MovedToPoint added in v0.13.0

func (p *DraggingSourceBase) ImplementsDraggingSession_MovedToPoint() bool

func (*DraggingSourceBase) ImplementsDraggingSession_WillBeginAtPoint added in v0.13.0

func (p *DraggingSourceBase) ImplementsDraggingSession_WillBeginAtPoint() bool

func (*DraggingSourceBase) ImplementsIgnoreModifierKeysForDraggingSession added in v0.13.0

func (p *DraggingSourceBase) ImplementsIgnoreModifierKeysForDraggingSession() bool

type Drawer added in v0.16.0

type Drawer struct {
	Responder
}

func MakeDrawer added in v0.16.0

func MakeDrawer(ptr unsafe.Pointer) Drawer

func NewDrawer added in v0.16.0

func NewDrawer() Drawer

func (Drawer) Close added in v0.16.0

func (d_ Drawer) Close()

deprecated

func (Drawer) Close1 added in v0.16.0

func (d_ Drawer) Close1(sender objc.IObject)

deprecated

func (Drawer) ContentSize added in v0.16.0

func (d_ Drawer) ContentSize() foundation.Size

deprecated

func (Drawer) ContentView added in v0.16.0

func (d_ Drawer) ContentView() View

deprecated

func (Drawer) Delegate added in v0.16.0

func (d_ Drawer) Delegate() objc.Object

weak property deprecated

func (Drawer) Edge added in v0.16.0

func (d_ Drawer) Edge() foundation.RectEdge

deprecated

func (Drawer) Init added in v0.16.0

func (d_ Drawer) Init() Drawer

func (Drawer) InitWithContentSize_PreferredEdge added in v0.16.0

func (d_ Drawer) InitWithContentSize_PreferredEdge(contentSize foundation.Size, edge foundation.RectEdge) Drawer

func (Drawer) LeadingOffset added in v0.16.0

func (d_ Drawer) LeadingOffset() float64

deprecated

func (Drawer) MaxContentSize added in v0.16.0

func (d_ Drawer) MaxContentSize() foundation.Size

deprecated

func (Drawer) MinContentSize added in v0.16.0

func (d_ Drawer) MinContentSize() foundation.Size

deprecated

func (Drawer) Open added in v0.16.0

func (d_ Drawer) Open()

deprecated

func (Drawer) Open1 added in v0.16.0

func (d_ Drawer) Open1(sender objc.IObject)

deprecated

func (Drawer) OpenOnEdge added in v0.16.0

func (d_ Drawer) OpenOnEdge(edge foundation.RectEdge)

deprecated

func (Drawer) ParentWindow added in v0.16.0

func (d_ Drawer) ParentWindow() Window

weak property deprecated

func (Drawer) PreferredEdge added in v0.16.0

func (d_ Drawer) PreferredEdge() foundation.RectEdge

deprecated

func (Drawer) SetContentSize added in v0.16.0

func (d_ Drawer) SetContentSize(value foundation.Size)

deprecated

func (Drawer) SetContentView added in v0.16.0

func (d_ Drawer) SetContentView(value IView)

deprecated

func (Drawer) SetDelegate added in v0.16.0

func (d_ Drawer) SetDelegate(value objc.IObject)

weak property deprecated

func (Drawer) SetLeadingOffset added in v0.16.0

func (d_ Drawer) SetLeadingOffset(value float64)

deprecated

func (Drawer) SetMaxContentSize added in v0.16.0

func (d_ Drawer) SetMaxContentSize(value foundation.Size)

deprecated

func (Drawer) SetMinContentSize added in v0.16.0

func (d_ Drawer) SetMinContentSize(value foundation.Size)

deprecated

func (Drawer) SetParentWindow added in v0.16.0

func (d_ Drawer) SetParentWindow(value IWindow)

weak property deprecated

func (Drawer) SetPreferredEdge added in v0.16.0

func (d_ Drawer) SetPreferredEdge(value foundation.RectEdge)

deprecated

func (Drawer) SetTrailingOffset added in v0.16.0

func (d_ Drawer) SetTrailingOffset(value float64)

deprecated

func (Drawer) State added in v0.16.0

func (d_ Drawer) State() int

deprecated

func (Drawer) Toggle added in v0.16.0

func (d_ Drawer) Toggle(sender objc.IObject)

deprecated

func (Drawer) TrailingOffset added in v0.16.0

func (d_ Drawer) TrailingOffset() float64

deprecated

type DrawerDelegate added in v0.16.0

type DrawerDelegate interface {
	ImplementsDrawerShouldOpen() bool
	// optional
	// deprecated
	DrawerShouldOpen(sender Drawer) bool
	ImplementsDrawerWillOpen() bool
	// optional
	// deprecated
	DrawerWillOpen(notification foundation.Notification)
	ImplementsDrawerDidOpen() bool
	// optional
	// deprecated
	DrawerDidOpen(notification foundation.Notification)
	ImplementsDrawerShouldClose() bool
	// optional
	// deprecated
	DrawerShouldClose(sender Drawer) bool
	ImplementsDrawerWillClose() bool
	// optional
	// deprecated
	DrawerWillClose(notification foundation.Notification)
	ImplementsDrawerDidClose() bool
	// optional
	// deprecated
	DrawerDidClose(notification foundation.Notification)
	ImplementsDrawerWillResizeContents_ToSize() bool
	// optional
	// deprecated
	DrawerWillResizeContents_ToSize(sender Drawer, contentSize foundation.Size) foundation.Size
}

type DrawerDelegateBase added in v0.18.0

type DrawerDelegateBase struct {
}

func (*DrawerDelegateBase) DrawerDidClose added in v0.18.0

func (p *DrawerDelegateBase) DrawerDidClose(notification foundation.Notification)

deprecated

func (*DrawerDelegateBase) DrawerDidOpen added in v0.18.0

func (p *DrawerDelegateBase) DrawerDidOpen(notification foundation.Notification)

deprecated

func (*DrawerDelegateBase) DrawerShouldClose added in v0.18.0

func (p *DrawerDelegateBase) DrawerShouldClose(sender Drawer) bool

deprecated

func (*DrawerDelegateBase) DrawerShouldOpen added in v0.18.0

func (p *DrawerDelegateBase) DrawerShouldOpen(sender Drawer) bool

deprecated

func (*DrawerDelegateBase) DrawerWillClose added in v0.18.0

func (p *DrawerDelegateBase) DrawerWillClose(notification foundation.Notification)

deprecated

func (*DrawerDelegateBase) DrawerWillOpen added in v0.18.0

func (p *DrawerDelegateBase) DrawerWillOpen(notification foundation.Notification)

deprecated

func (*DrawerDelegateBase) DrawerWillResizeContents_ToSize added in v0.18.0

func (p *DrawerDelegateBase) DrawerWillResizeContents_ToSize(sender Drawer, contentSize foundation.Size) foundation.Size

deprecated

func (*DrawerDelegateBase) ImplementsDrawerDidClose added in v0.18.0

func (p *DrawerDelegateBase) ImplementsDrawerDidClose() bool

func (*DrawerDelegateBase) ImplementsDrawerDidOpen added in v0.18.0

func (p *DrawerDelegateBase) ImplementsDrawerDidOpen() bool

func (*DrawerDelegateBase) ImplementsDrawerShouldClose added in v0.18.0

func (p *DrawerDelegateBase) ImplementsDrawerShouldClose() bool

func (*DrawerDelegateBase) ImplementsDrawerShouldOpen added in v0.18.0

func (p *DrawerDelegateBase) ImplementsDrawerShouldOpen() bool

func (*DrawerDelegateBase) ImplementsDrawerWillClose added in v0.18.0

func (p *DrawerDelegateBase) ImplementsDrawerWillClose() bool

func (*DrawerDelegateBase) ImplementsDrawerWillOpen added in v0.18.0

func (p *DrawerDelegateBase) ImplementsDrawerWillOpen() bool

func (*DrawerDelegateBase) ImplementsDrawerWillResizeContents_ToSize added in v0.18.0

func (p *DrawerDelegateBase) ImplementsDrawerWillResizeContents_ToSize() bool

type DrawerDelegateCreator added in v0.19.0

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

func NewDrawerDelegateCreator added in v0.19.0

func NewDrawerDelegateCreator(name string) *DrawerDelegateCreator

func (*DrawerDelegateCreator) Create added in v0.19.0

func (*DrawerDelegateCreator) SetDrawerDidClose added in v0.19.0

func (c *DrawerDelegateCreator) SetDrawerDidClose(handle func(o objc.ProtocolBase, notification foundation.Notification))

deprecated

func (*DrawerDelegateCreator) SetDrawerDidOpen added in v0.19.0

func (c *DrawerDelegateCreator) SetDrawerDidOpen(handle func(o objc.ProtocolBase, notification foundation.Notification))

deprecated

func (*DrawerDelegateCreator) SetDrawerShouldClose added in v0.19.0

func (c *DrawerDelegateCreator) SetDrawerShouldClose(handle func(o objc.ProtocolBase, sender Drawer) bool)

deprecated

func (*DrawerDelegateCreator) SetDrawerShouldOpen added in v0.19.0

func (c *DrawerDelegateCreator) SetDrawerShouldOpen(handle func(o objc.ProtocolBase, sender Drawer) bool)

deprecated

func (*DrawerDelegateCreator) SetDrawerWillClose added in v0.19.0

func (c *DrawerDelegateCreator) SetDrawerWillClose(handle func(o objc.ProtocolBase, notification foundation.Notification))

deprecated

func (*DrawerDelegateCreator) SetDrawerWillOpen added in v0.19.0

func (c *DrawerDelegateCreator) SetDrawerWillOpen(handle func(o objc.ProtocolBase, notification foundation.Notification))

deprecated

func (*DrawerDelegateCreator) SetDrawerWillResizeContents_ToSize added in v0.19.0

func (c *DrawerDelegateCreator) SetDrawerWillResizeContents_ToSize(handle func(o objc.ProtocolBase, sender Drawer, contentSize foundation.Size) foundation.Size)

deprecated

type Editor added in v0.13.0

type Editor interface {
	// required
	CommitEditing() bool
	// required
	CommitEditingWithDelegate_DidCommitSelector_ContextInfo(delegate objc.Object, didCommitSelector objc.Selector, contextInfo unsafe.Pointer)
	// required
	CommitEditingAndReturnError(error *foundation.Error) bool
	// required
	DiscardEditing()
}

type EditorBase added in v0.13.0

type EditorBase struct {
}

type Event

type Event struct {
	objc.Object
}

func MakeEvent

func MakeEvent(ptr unsafe.Pointer) Event

func NewEvent

func NewEvent() Event

func (Event) AbsoluteX

func (e_ Event) AbsoluteX() int

func (Event) AbsoluteY

func (e_ Event) AbsoluteY() int

func (Event) AbsoluteZ

func (e_ Event) AbsoluteZ() int

func (Event) AllTouches

func (e_ Event) AllTouches() foundation.Set

func (Event) AssociatedEventsMask added in v0.13.6

func (e_ Event) AssociatedEventsMask() EventMask

func (Event) ButtonMask

func (e_ Event) ButtonMask() EventButtonMask

func (Event) ButtonNumber

func (e_ Event) ButtonNumber() int

func (Event) CGEvent

func (e_ Event) CGEvent() coregraphics.EventRef

func (Event) CapabilityMask

func (e_ Event) CapabilityMask() uint

func (Event) Characters

func (e_ Event) Characters() string

func (Event) CharactersByApplyingModifiers

func (e_ Event) CharactersByApplyingModifiers(modifiers EventModifierFlags) string

func (Event) CharactersIgnoringModifiers

func (e_ Event) CharactersIgnoringModifiers() string

func (Event) ClickCount

func (e_ Event) ClickCount() int

func (Event) CoalescedTouchesForTouch

func (e_ Event) CoalescedTouchesForTouch(touch ITouch) []Touch

func (Event) Context added in v0.14.5

func (e_ Event) Context() GraphicsContext

deprecated

func (Event) Data1

func (e_ Event) Data1() int

func (Event) Data2

func (e_ Event) Data2() int

func (Event) DeltaX

func (e_ Event) DeltaX() float64

func (Event) DeltaY

func (e_ Event) DeltaY() float64

func (Event) DeltaZ

func (e_ Event) DeltaZ() float64

func (Event) DeviceID

func (e_ Event) DeviceID() uint

func (Event) EventNumber

func (e_ Event) EventNumber() int

func (Event) EventRef added in v0.8.1

func (e_ Event) EventRef() unsafe.Pointer

func (Event) HasPreciseScrollingDeltas

func (e_ Event) HasPreciseScrollingDeltas() bool

func (Event) Init added in v0.11.0

func (e_ Event) Init() Event

func (Event) IsARepeat

func (e_ Event) IsARepeat() bool

func (Event) IsDirectionInvertedFromDevice

func (e_ Event) IsDirectionInvertedFromDevice() bool

func (Event) IsEnteringProximity

func (e_ Event) IsEnteringProximity() bool

func (Event) KeyCode added in v0.13.6

func (e_ Event) KeyCode() uint16

func (Event) LocationInWindow

func (e_ Event) LocationInWindow() foundation.Point

func (Event) Magnification

func (e_ Event) Magnification() float64

func (Event) ModifierFlags

func (e_ Event) ModifierFlags() EventModifierFlags

func (Event) MomentumPhase

func (e_ Event) MomentumPhase() EventPhase

func (Event) Phase

func (e_ Event) Phase() EventPhase

func (Event) PointingDeviceID

func (e_ Event) PointingDeviceID() uint

func (Event) PointingDeviceSerialNumber

func (e_ Event) PointingDeviceSerialNumber() uint

func (Event) PointingDeviceType

func (e_ Event) PointingDeviceType() PointingDeviceType

func (Event) Pressure

func (e_ Event) Pressure() float32

func (Event) PressureBehavior

func (e_ Event) PressureBehavior() PressureBehavior

func (Event) Rotation

func (e_ Event) Rotation() float32

func (Event) ScrollingDeltaX

func (e_ Event) ScrollingDeltaX() float64

func (Event) ScrollingDeltaY

func (e_ Event) ScrollingDeltaY() float64

func (Event) Stage

func (e_ Event) Stage() int

func (Event) StageTransition

func (e_ Event) StageTransition() float64

func (Event) Subtype added in v0.13.6

func (e_ Event) Subtype() EventSubtype

func (Event) SystemTabletID

func (e_ Event) SystemTabletID() uint

func (Event) TabletID

func (e_ Event) TabletID() uint

func (Event) TangentialPressure

func (e_ Event) TangentialPressure() float32

func (Event) Tilt

func (e_ Event) Tilt() foundation.Point

func (Event) Timestamp

func (e_ Event) Timestamp() foundation.TimeInterval

func (Event) TouchesForView

func (e_ Event) TouchesForView(view IView) foundation.Set

func (Event) TouchesMatchingPhase_InView

func (e_ Event) TouchesMatchingPhase_InView(phase TouchPhase, view IView) foundation.Set

func (Event) TrackSwipeEventWithOptions_DampenAmountThresholdMin_Max_UsingHandler added in v0.13.4

func (e_ Event) TrackSwipeEventWithOptions_DampenAmountThresholdMin_Max_UsingHandler(options EventSwipeTrackingOptions, minDampenThreshold float64, maxDampenThreshold float64, trackingHandler func(gestureAmount float64, phase EventPhase, isComplete bool, stop *bool))

func (Event) TrackingArea

func (e_ Event) TrackingArea() TrackingArea

func (Event) TrackingNumber

func (e_ Event) TrackingNumber() int

func (Event) Type

func (e_ Event) Type() EventType

func (Event) UniqueID added in v0.13.6

func (e_ Event) UniqueID() uint64

func (Event) UserData added in v0.8.1

func (e_ Event) UserData() unsafe.Pointer

func (Event) VendorDefined

func (e_ Event) VendorDefined() objc.Object

func (Event) VendorID

func (e_ Event) VendorID() uint

func (Event) VendorPointingDeviceType

func (e_ Event) VendorPointingDeviceType() uint

func (Event) Window

func (e_ Event) Window() Window

weak property

func (Event) WindowNumber

func (e_ Event) WindowNumber() int

type EventButtonMask

type EventButtonMask uint
const EventButtonMaskPenLowerSide EventButtonMask = 2
const EventButtonMaskPenTip EventButtonMask = 1
const EventButtonMaskPenUpperSide EventButtonMask = 4

type EventGestureAxis

type EventGestureAxis int
const EventGestureAxisHorizontal EventGestureAxis = 1
const EventGestureAxisNone EventGestureAxis = 0
const EventGestureAxisVertical EventGestureAxis = 2

type EventMask added in v0.13.6

type EventMask uint64
const EventMaskAny EventMask = 18446744073709551615
const EventMaskAppKitDefined EventMask = 8192
const EventMaskApplicationDefined EventMask = 32768
const EventMaskBeginGesture EventMask = 524288
const EventMaskChangeMode EventMask = 274877906944
const EventMaskCursorUpdate EventMask = 131072
const EventMaskDirectTouch EventMask = 137438953472
const EventMaskEndGesture EventMask = 1048576
const EventMaskFlagsChanged EventMask = 4096
const EventMaskGesture EventMask = 536870912
const EventMaskKeyDown EventMask = 1024
const EventMaskKeyUp EventMask = 2048
const EventMaskLeftMouseDown EventMask = 2
const EventMaskLeftMouseDragged EventMask = 64
const EventMaskLeftMouseUp EventMask = 4
const EventMaskMagnify EventMask = 1073741824
const EventMaskMouseEntered EventMask = 256
const EventMaskMouseExited EventMask = 512
const EventMaskMouseMoved EventMask = 32
const EventMaskOtherMouseDown EventMask = 33554432
const EventMaskOtherMouseDragged EventMask = 134217728
const EventMaskOtherMouseUp EventMask = 67108864
const EventMaskPeriodic EventMask = 65536
const EventMaskPressure EventMask = 17179869184
const EventMaskRightMouseDown EventMask = 8
const EventMaskRightMouseDragged EventMask = 128
const EventMaskRightMouseUp EventMask = 16
const EventMaskRotate EventMask = 262144
const EventMaskScrollWheel EventMask = 4194304
const EventMaskSmartMagnify EventMask = 4294967296
const EventMaskSwipe EventMask = 2147483648
const EventMaskSystemDefined EventMask = 16384
const EventMaskTabletPoint EventMask = 8388608
const EventMaskTabletProximity EventMask = 16777216

type EventModifierFlags

type EventModifierFlags uint
const EventModifierFlagCapsLock EventModifierFlags = 65536
const EventModifierFlagCommand EventModifierFlags = 1048576
const EventModifierFlagControl EventModifierFlags = 262144
const EventModifierFlagDeviceIndependentFlagsMask EventModifierFlags = 4294901760
const EventModifierFlagFunction EventModifierFlags = 8388608
const EventModifierFlagHelp EventModifierFlags = 4194304
const EventModifierFlagNumericPad EventModifierFlags = 2097152
const EventModifierFlagOption EventModifierFlags = 524288
const EventModifierFlagShift EventModifierFlags = 131072

type EventPhase

type EventPhase uint
const EventPhaseBegan EventPhase = 1
const EventPhaseCancelled EventPhase = 16
const EventPhaseChanged EventPhase = 4
const EventPhaseEnded EventPhase = 8
const EventPhaseMayBegin EventPhase = 32
const EventPhaseNone EventPhase = 0
const EventPhaseStationary EventPhase = 2

type EventSubtype added in v0.13.6

type EventSubtype int16
const EventSubtypeApplicationActivated EventSubtype = 1
const EventSubtypeApplicationDeactivated EventSubtype = 2
const EventSubtypeMouseEvent EventSubtype = 0
const EventSubtypePowerOff EventSubtype = 1
const EventSubtypeScreenChanged EventSubtype = 8
const EventSubtypeTabletPoint EventSubtype = 1
const EventSubtypeTabletProximity EventSubtype = 2
const EventSubtypeTouch EventSubtype = 3
const EventSubtypeWindowExposed EventSubtype = 0
const EventSubtypeWindowMoved EventSubtype = 4

type EventSwipeTrackingOptions added in v0.12.5

type EventSwipeTrackingOptions uint
const EventSwipeTrackingClampGestureAmount EventSwipeTrackingOptions = 2
const EventSwipeTrackingLockDirection EventSwipeTrackingOptions = 1

type EventType

type EventType uint
const EventTypeAppKitDefined EventType = 13
const EventTypeApplicationDefined EventType = 15
const EventTypeBeginGesture EventType = 19
const EventTypeChangeMode EventType = 38
const EventTypeCursorUpdate EventType = 17
const EventTypeDirectTouch EventType = 37
const EventTypeEndGesture EventType = 20
const EventTypeFlagsChanged EventType = 12
const EventTypeGesture EventType = 29
const EventTypeKeyDown EventType = 10
const EventTypeKeyUp EventType = 11
const EventTypeLeftMouseDown EventType = 1
const EventTypeLeftMouseDragged EventType = 6
const EventTypeLeftMouseUp EventType = 2
const EventTypeMagnify EventType = 30
const EventTypeMouseEntered EventType = 8
const EventTypeMouseExited EventType = 9
const EventTypeMouseMoved EventType = 5
const EventTypeOtherMouseDown EventType = 25
const EventTypeOtherMouseDragged EventType = 27
const EventTypeOtherMouseUp EventType = 26
const EventTypePeriodic EventType = 16
const EventTypePressure EventType = 34
const EventTypeQuickLook EventType = 33
const EventTypeRightMouseDown EventType = 3
const EventTypeRightMouseDragged EventType = 7
const EventTypeRightMouseUp EventType = 4
const EventTypeRotate EventType = 18
const EventTypeScrollWheel EventType = 22
const EventTypeSmartMagnify EventType = 32
const EventTypeSwipe EventType = 31
const EventTypeSystemDefined EventType = 14
const EventTypeTabletPoint EventType = 23
const EventTypeTabletProximity EventType = 24

type FocusRingType

type FocusRingType uint
const FocusRingTypeDefault FocusRingType = 0
const FocusRingTypeExterior FocusRingType = 2
const FocusRingTypeNone FocusRingType = 1

type Font

type Font struct {
	objc.Object
}

func MakeFont

func MakeFont(ptr unsafe.Pointer) Font

func NewFont

func NewFont() Font

func (Font) AdvancementForCGGlyph added in v0.13.6

func (f_ Font) AdvancementForCGGlyph(glyph coregraphics.Glyph) foundation.Size

func (Font) AdvancementForGlyph added in v0.14.5

func (f_ Font) AdvancementForGlyph(glyph Glyph) foundation.Size

deprecated

func (Font) Ascender

func (f_ Font) Ascender() float64

func (Font) BoundingRectForCGGlyph added in v0.13.6

func (f_ Font) BoundingRectForCGGlyph(glyph coregraphics.Glyph) foundation.Rect

func (Font) BoundingRectForFont

func (f_ Font) BoundingRectForFont() foundation.Rect

func (Font) BoundingRectForGlyph added in v0.14.5

func (f_ Font) BoundingRectForGlyph(glyph Glyph) foundation.Rect

deprecated

func (Font) CapHeight

func (f_ Font) CapHeight() float64

func (Font) CoveredCharacterSet

func (f_ Font) CoveredCharacterSet() foundation.CharacterSet

func (Font) Descender

func (f_ Font) Descender() float64

func (Font) DisplayName

func (f_ Font) DisplayName() string

func (Font) FamilyName

func (f_ Font) FamilyName() string

func (Font) FontDescriptor

func (f_ Font) FontDescriptor() FontDescriptor

func (Font) FontName

func (f_ Font) FontName() string

func (Font) FontWithSize

func (f_ Font) FontWithSize(fontSize float64) Font

func (Font) GetAdvancements_ForCGGlyphs_Count added in v0.13.6

func (f_ Font) GetAdvancements_ForCGGlyphs_Count(advancements *foundation.Size, glyphs *coregraphics.Glyph, glyphCount uint)

func (Font) GetAdvancements_ForGlyphs_Count added in v0.14.5

func (f_ Font) GetAdvancements_ForGlyphs_Count(advancements *foundation.Size, glyphs *Glyph, glyphCount uint)

deprecated

func (Font) GetAdvancements_ForPackedGlyphs_Length added in v0.14.5

func (f_ Font) GetAdvancements_ForPackedGlyphs_Length(advancements *foundation.Size, packedGlyphs unsafe.Pointer, length uint)

deprecated

func (Font) GetBoundingRects_ForCGGlyphs_Count added in v0.13.6

func (f_ Font) GetBoundingRects_ForCGGlyphs_Count(bounds *foundation.Rect, glyphs *coregraphics.Glyph, glyphCount uint)

func (Font) GetBoundingRects_ForGlyphs_Count added in v0.14.5

func (f_ Font) GetBoundingRects_ForGlyphs_Count(bounds *foundation.Rect, glyphs *Glyph, glyphCount uint)

deprecated

func (Font) GlyphWithName added in v0.14.5

func (f_ Font) GlyphWithName(name string) Glyph

deprecated

func (Font) Init added in v0.11.0

func (f_ Font) Init() Font

func (Font) IsFixedPitch

func (f_ Font) IsFixedPitch() bool

func (Font) IsVertical

func (f_ Font) IsVertical() bool

func (Font) ItalicAngle

func (f_ Font) ItalicAngle() float64

func (Font) Leading

func (f_ Font) Leading() float64

func (Font) Matrix added in v0.13.4

func (f_ Font) Matrix() *float64

func (Font) MaximumAdvancement

func (f_ Font) MaximumAdvancement() foundation.Size

func (Font) MostCompatibleStringEncoding

func (f_ Font) MostCompatibleStringEncoding() foundation.StringEncoding

func (Font) NumberOfGlyphs

func (f_ Font) NumberOfGlyphs() uint

func (Font) PointSize

func (f_ Font) PointSize() float64

func (Font) PrinterFont added in v0.14.5

func (f_ Font) PrinterFont() Font

deprecated

func (Font) RenderingMode added in v0.14.5

func (f_ Font) RenderingMode() FontRenderingMode

deprecated

func (Font) ScreenFont added in v0.14.5

func (f_ Font) ScreenFont() Font

deprecated

func (Font) ScreenFontWithRenderingMode added in v0.14.5

func (f_ Font) ScreenFontWithRenderingMode(renderingMode FontRenderingMode) Font

deprecated

func (Font) Set

func (f_ Font) Set()

func (Font) SetInContext

func (f_ Font) SetInContext(graphicsContext IGraphicsContext)

func (Font) TextTransform

func (f_ Font) TextTransform() foundation.AffineTransform

func (Font) UnderlinePosition

func (f_ Font) UnderlinePosition() float64

func (Font) UnderlineThickness

func (f_ Font) UnderlineThickness() float64

func (Font) VerticalFont

func (f_ Font) VerticalFont() Font

func (Font) XHeight

func (f_ Font) XHeight() float64

type FontAction

type FontAction uint
const AddTraitFontAction FontAction = 2
const HeavierFontAction FontAction = 5
const LighterFontAction FontAction = 6
const NoFontChangeAction FontAction = 0
const RemoveTraitFontAction FontAction = 7
const SizeDownFontAction FontAction = 4
const SizeUpFontAction FontAction = 3
const ViaPanelFontAction FontAction = 1

type FontChanging

type FontChanging interface {
	ImplementsChangeFont() bool
	// optional
	ChangeFont(sender FontManager)
	ImplementsValidModesForFontPanel() bool
	// optional
	ValidModesForFontPanel(fontPanel FontPanel) FontPanelModeMask
}

type FontChangingBase added in v0.13.0

type FontChangingBase struct {
}

func (*FontChangingBase) ChangeFont added in v0.13.0

func (p *FontChangingBase) ChangeFont(sender FontManager)

func (*FontChangingBase) ImplementsChangeFont added in v0.13.0

func (p *FontChangingBase) ImplementsChangeFont() bool

func (*FontChangingBase) ImplementsValidModesForFontPanel added in v0.13.0

func (p *FontChangingBase) ImplementsValidModesForFontPanel() bool

func (*FontChangingBase) ValidModesForFontPanel added in v0.13.0

func (p *FontChangingBase) ValidModesForFontPanel(fontPanel FontPanel) FontPanelModeMask

type FontCollectionOptions added in v0.14.5

type FontCollectionOptions uint
const FontCollectionApplicationOnlyMask FontCollectionOptions = 1

type FontDescriptor

type FontDescriptor struct {
	objc.Object
}

func MakeFontDescriptor

func MakeFontDescriptor(ptr unsafe.Pointer) FontDescriptor

func NewFontDescriptor

func NewFontDescriptor() FontDescriptor

func (FontDescriptor) FontAttributes

func (f_ FontDescriptor) FontAttributes() map[FontDescriptorAttributeName]objc.Object

func (FontDescriptor) FontDescriptorByAddingAttributes

func (f_ FontDescriptor) FontDescriptorByAddingAttributes(attributes map[FontDescriptorAttributeName]objc.IObject) FontDescriptor

func (FontDescriptor) FontDescriptorWithDesign added in v0.11.0

func (f_ FontDescriptor) FontDescriptorWithDesign(design FontDescriptorSystemDesign) FontDescriptor

func (FontDescriptor) FontDescriptorWithFace

func (f_ FontDescriptor) FontDescriptorWithFace(newFace string) FontDescriptor

func (FontDescriptor) FontDescriptorWithFamily

func (f_ FontDescriptor) FontDescriptorWithFamily(newFamily string) FontDescriptor

func (FontDescriptor) FontDescriptorWithMatrix

func (f_ FontDescriptor) FontDescriptorWithMatrix(matrix foundation.IAffineTransform) FontDescriptor

func (FontDescriptor) FontDescriptorWithSize

func (f_ FontDescriptor) FontDescriptorWithSize(newPointSize float64) FontDescriptor

func (FontDescriptor) FontDescriptorWithSymbolicTraits

func (f_ FontDescriptor) FontDescriptorWithSymbolicTraits(symbolicTraits FontDescriptorSymbolicTraits) FontDescriptor

func (FontDescriptor) Init added in v0.11.0

func (f_ FontDescriptor) Init() FontDescriptor

func (FontDescriptor) InitWithFontAttributes added in v0.11.0

func (f_ FontDescriptor) InitWithFontAttributes(attributes map[FontDescriptorAttributeName]objc.IObject) FontDescriptor

func (FontDescriptor) MatchingFontDescriptorWithMandatoryKeys

func (f_ FontDescriptor) MatchingFontDescriptorWithMandatoryKeys(mandatoryKeys foundation.ISet) FontDescriptor

func (FontDescriptor) MatchingFontDescriptorsWithMandatoryKeys

func (f_ FontDescriptor) MatchingFontDescriptorsWithMandatoryKeys(mandatoryKeys foundation.ISet) []FontDescriptor

func (FontDescriptor) Matrix

func (FontDescriptor) ObjectForKey

func (f_ FontDescriptor) ObjectForKey(attribute FontDescriptorAttributeName) objc.Object

func (FontDescriptor) PointSize

func (f_ FontDescriptor) PointSize() float64

func (FontDescriptor) PostscriptName

func (f_ FontDescriptor) PostscriptName() string

func (FontDescriptor) RequiresFontAssetRequest

func (f_ FontDescriptor) RequiresFontAssetRequest() bool

func (FontDescriptor) SymbolicTraits

func (f_ FontDescriptor) SymbolicTraits() FontDescriptorSymbolicTraits

type FontDescriptorAttributeName

type FontDescriptorAttributeName string
const FontCascadeListAttribute FontDescriptorAttributeName = "NSCTFontCascadeListAttribute"
const FontCharacterSetAttribute FontDescriptorAttributeName = "NSCTFontCharacterSetAttribute"
const FontFaceAttribute FontDescriptorAttributeName = "NSFontFaceAttribute"
const FontFamilyAttribute FontDescriptorAttributeName = "NSFontFamilyAttribute"
const FontFeatureSettingsAttribute FontDescriptorAttributeName = "NSCTFontFeatureSettingsAttribute"
const FontFixedAdvanceAttribute FontDescriptorAttributeName = "NSCTFontFixedAdvanceAttribute"
const FontMatrixAttribute FontDescriptorAttributeName = "NSFontMatrixAttribute"
const FontNameAttribute FontDescriptorAttributeName = "NSFontNameAttribute"
const FontSizeAttribute FontDescriptorAttributeName = "NSFontSizeAttribute"
const FontTraitsAttribute FontDescriptorAttributeName = "NSCTFontTraitsAttribute"
const FontVariationAttribute FontDescriptorAttributeName = "NSCTFontVariationAttribute"
const FontVisibleNameAttribute FontDescriptorAttributeName = "NSFontVisibleNameAttribute"

type FontDescriptorSymbolicTraits

type FontDescriptorSymbolicTraits uint32
const FontDescriptorClassClarendonSerifs FontDescriptorSymbolicTraits = 1073741824
const FontDescriptorClassFreeformSerifs FontDescriptorSymbolicTraits = 1879048192
const FontDescriptorClassMask FontDescriptorSymbolicTraits = 4026531840
const FontDescriptorClassModernSerifs FontDescriptorSymbolicTraits = 805306368
const FontDescriptorClassOldStyleSerifs FontDescriptorSymbolicTraits = 268435456
const FontDescriptorClassOrnamentals FontDescriptorSymbolicTraits = 2415919104
const FontDescriptorClassSansSerif FontDescriptorSymbolicTraits = 2147483648
const FontDescriptorClassScripts FontDescriptorSymbolicTraits = 2684354560
const FontDescriptorClassSlabSerifs FontDescriptorSymbolicTraits = 1342177280
const FontDescriptorClassSymbolic FontDescriptorSymbolicTraits = 3221225472
const FontDescriptorClassTransitionalSerifs FontDescriptorSymbolicTraits = 536870912
const FontDescriptorClassUnknown FontDescriptorSymbolicTraits = 0
const FontDescriptorTraitBold FontDescriptorSymbolicTraits = 2
const FontDescriptorTraitCondensed FontDescriptorSymbolicTraits = 64
const FontDescriptorTraitExpanded FontDescriptorSymbolicTraits = 32
const FontDescriptorTraitItalic FontDescriptorSymbolicTraits = 1
const FontDescriptorTraitLooseLeading FontDescriptorSymbolicTraits = 65536
const FontDescriptorTraitMonoSpace FontDescriptorSymbolicTraits = 1024
const FontDescriptorTraitTightLeading FontDescriptorSymbolicTraits = 32768
const FontDescriptorTraitUIOptimized FontDescriptorSymbolicTraits = 4096
const FontDescriptorTraitVertical FontDescriptorSymbolicTraits = 2048

type FontDescriptorSystemDesign

type FontDescriptorSystemDesign string
const FontDescriptorSystemDesignDefault FontDescriptorSystemDesign = "NSCTFontUIFontDesignDefault"
const FontDescriptorSystemDesignMonospaced FontDescriptorSystemDesign = "NSCTFontUIFontDesignMonospaced"
const FontDescriptorSystemDesignRounded FontDescriptorSystemDesign = "NSCTFontUIFontDesignRounded"
const FontDescriptorSystemDesignSerif FontDescriptorSystemDesign = "NSCTFontUIFontDesignSerif"

type FontManager

type FontManager struct {
	objc.Object
}

func MakeFontManager

func MakeFontManager(ptr unsafe.Pointer) FontManager

func NewFontManager

func NewFontManager() FontManager

func (FontManager) Action

func (f_ FontManager) Action() objc.Selector

func (FontManager) AddCollection_Options added in v0.14.5

func (f_ FontManager) AddCollection_Options(collectionName string, collectionOptions FontCollectionOptions) bool

deprecated

func (FontManager) AddFontDescriptors_ToCollection added in v0.14.5

func (f_ FontManager) AddFontDescriptors_ToCollection(descriptors []objc.IObject, collectionName string)

deprecated

func (FontManager) AddFontTrait

func (f_ FontManager) AddFontTrait(sender objc.IObject)

func (FontManager) AvailableFontFamilies

func (f_ FontManager) AvailableFontFamilies() []string

func (FontManager) AvailableFontNamesMatchingFontDescriptor added in v0.14.5

func (f_ FontManager) AvailableFontNamesMatchingFontDescriptor(descriptor IFontDescriptor) []objc.Object

deprecated

func (FontManager) AvailableFontNamesWithTraits

func (f_ FontManager) AvailableFontNamesWithTraits(someTraits FontTraitMask) []string

func (FontManager) AvailableFonts

func (f_ FontManager) AvailableFonts() []string

func (FontManager) AvailableMembersOfFontFamily added in v0.13.0

func (f_ FontManager) AvailableMembersOfFontFamily(fam string) [][]objc.Object

func (FontManager) ChangeFont added in v0.14.5

func (f_ FontManager) ChangeFont(sender objc.IObject)

deprecated

func (FontManager) CollectionNames added in v0.14.5

func (f_ FontManager) CollectionNames() []objc.Object

deprecated

func (FontManager) ConvertAttributes

func (f_ FontManager) ConvertAttributes(attributes map[string]objc.IObject) map[string]objc.Object

func (FontManager) ConvertFont

func (f_ FontManager) ConvertFont(fontObj IFont) Font

func (FontManager) ConvertFontTraits

func (f_ FontManager) ConvertFontTraits(traits FontTraitMask) FontTraitMask

func (FontManager) ConvertFont_ToFace

func (f_ FontManager) ConvertFont_ToFace(fontObj IFont, typeface string) Font

func (FontManager) ConvertFont_ToFamily

func (f_ FontManager) ConvertFont_ToFamily(fontObj IFont, family string) Font

func (FontManager) ConvertFont_ToHaveTrait

func (f_ FontManager) ConvertFont_ToHaveTrait(fontObj IFont, trait FontTraitMask) Font

func (FontManager) ConvertFont_ToNotHaveTrait

func (f_ FontManager) ConvertFont_ToNotHaveTrait(fontObj IFont, trait FontTraitMask) Font

func (FontManager) ConvertFont_ToSize

func (f_ FontManager) ConvertFont_ToSize(fontObj IFont, size float64) Font

func (FontManager) ConvertWeight_OfFont

func (f_ FontManager) ConvertWeight_OfFont(upFlag bool, fontObj IFont) Font

func (FontManager) CurrentFontAction

func (f_ FontManager) CurrentFontAction() FontAction

func (FontManager) Delegate added in v0.14.5

func (f_ FontManager) Delegate() objc.Object

weak property deprecated

func (FontManager) FontDescriptorsInCollection added in v0.14.5

func (f_ FontManager) FontDescriptorsInCollection(collectionNames string) []objc.Object

deprecated

func (FontManager) FontManager_WillIncludeFont added in v0.14.5

func (f_ FontManager) FontManager_WillIncludeFont(sender objc.IObject, fontName string) bool

deprecated

func (FontManager) FontMenu

func (f_ FontManager) FontMenu(create bool) Menu

func (FontManager) FontNamed_HasTraits

func (f_ FontManager) FontNamed_HasTraits(fName string, someTraits FontTraitMask) bool

func (FontManager) FontPanel

func (f_ FontManager) FontPanel(create bool) FontPanel

func (FontManager) FontWithFamily_Traits_Weight_Size

func (f_ FontManager) FontWithFamily_Traits_Weight_Size(family string, traits FontTraitMask, weight int, size float64) Font

func (FontManager) Init added in v0.11.0

func (f_ FontManager) Init() FontManager

func (FontManager) IsEnabled

func (f_ FontManager) IsEnabled() bool

func (FontManager) IsMultiple

func (f_ FontManager) IsMultiple() bool

func (FontManager) LocalizedNameForFamily_Face

func (f_ FontManager) LocalizedNameForFamily_Face(family string, faceKey string) string

func (FontManager) ModifyFont

func (f_ FontManager) ModifyFont(sender objc.IObject)

func (FontManager) ModifyFontViaPanel

func (f_ FontManager) ModifyFontViaPanel(sender objc.IObject)

func (FontManager) OrderFrontFontPanel

func (f_ FontManager) OrderFrontFontPanel(sender objc.IObject)

func (FontManager) OrderFrontStylesPanel

func (f_ FontManager) OrderFrontStylesPanel(sender objc.IObject)

func (FontManager) RemoveCollection added in v0.14.5

func (f_ FontManager) RemoveCollection(collectionName string) bool

deprecated

func (FontManager) RemoveFontDescriptor_FromCollection added in v0.14.5

func (f_ FontManager) RemoveFontDescriptor_FromCollection(descriptor IFontDescriptor, collection string)

deprecated

func (FontManager) RemoveFontTrait

func (f_ FontManager) RemoveFontTrait(sender objc.IObject)

func (FontManager) SelectedFont

func (f_ FontManager) SelectedFont() Font

func (FontManager) SendAction

func (f_ FontManager) SendAction() bool

func (FontManager) SetAction

func (f_ FontManager) SetAction(value objc.Selector)

func (FontManager) SetDelegate added in v0.14.5

func (f_ FontManager) SetDelegate(value objc.IObject)

weak property deprecated

func (FontManager) SetEnabled

func (f_ FontManager) SetEnabled(value bool)

func (FontManager) SetFontMenu

func (f_ FontManager) SetFontMenu(newMenu IMenu)

func (FontManager) SetSelectedAttributes_IsMultiple

func (f_ FontManager) SetSelectedAttributes_IsMultiple(attributes map[string]objc.IObject, flag bool)

func (FontManager) SetSelectedFont_IsMultiple

func (f_ FontManager) SetSelectedFont_IsMultiple(fontObj IFont, flag bool)

func (FontManager) SetTarget

func (f_ FontManager) SetTarget(value objc.IObject)

weak property

func (FontManager) Target

func (f_ FontManager) Target() objc.Object

weak property

func (FontManager) TraitsOfFont

func (f_ FontManager) TraitsOfFont(fontObj IFont) FontTraitMask

func (FontManager) WeightOfFont

func (f_ FontManager) WeightOfFont(fontObj IFont) int

type FontPanel

type FontPanel struct {
	Panel
}

func MakeFontPanel

func MakeFontPanel(ptr unsafe.Pointer) FontPanel

func NewFontPanel

func NewFontPanel() FontPanel

func (FontPanel) AccessoryView

func (f_ FontPanel) AccessoryView() View

func (FontPanel) Init added in v0.11.0

func (f_ FontPanel) Init() FontPanel

func (FontPanel) InitWithContentRect_StyleMask_Backing_Defer added in v0.11.0

func (f_ FontPanel) InitWithContentRect_StyleMask_Backing_Defer(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool) FontPanel

func (FontPanel) InitWithContentRect_StyleMask_Backing_Defer_Screen added in v0.11.0

func (f_ FontPanel) InitWithContentRect_StyleMask_Backing_Defer_Screen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) FontPanel

func (FontPanel) IsEnabled

func (f_ FontPanel) IsEnabled() bool

func (FontPanel) PanelConvertFont

func (f_ FontPanel) PanelConvertFont(fontObj IFont) Font

func (FontPanel) ReloadDefaultFontFamilies

func (f_ FontPanel) ReloadDefaultFontFamilies()

func (FontPanel) SetAccessoryView

func (f_ FontPanel) SetAccessoryView(value IView)

func (FontPanel) SetEnabled

func (f_ FontPanel) SetEnabled(value bool)

func (FontPanel) SetPanelFont_IsMultiple

func (f_ FontPanel) SetPanelFont_IsMultiple(fontObj IFont, flag bool)

type FontPanelModeMask

type FontPanelModeMask uint
const FontPanelModeMaskAllEffects FontPanelModeMask = 1048320
const FontPanelModeMaskCollection FontPanelModeMask = 4
const FontPanelModeMaskDocumentColorEffect FontPanelModeMask = 2048
const FontPanelModeMaskFace FontPanelModeMask = 1
const FontPanelModeMaskShadowEffect FontPanelModeMask = 4096
const FontPanelModeMaskSize FontPanelModeMask = 2
const FontPanelModeMaskStrikethroughEffect FontPanelModeMask = 512
const FontPanelModeMaskTextColorEffect FontPanelModeMask = 1024
const FontPanelModeMaskUnderlineEffect FontPanelModeMask = 256
const FontPanelModesMaskAllModes FontPanelModeMask = 4294967295
const FontPanelModesMaskStandardModes FontPanelModeMask = 65535

type FontRenderingMode added in v0.14.5

type FontRenderingMode uint
const FontAntialiasedIntegerAdvancementsRenderingMode FontRenderingMode = 3
const FontAntialiasedRenderingMode FontRenderingMode = 1
const FontDefaultRenderingMode FontRenderingMode = 0
const FontIntegerAdvancementsRenderingMode FontRenderingMode = 2

type FontTextStyle

type FontTextStyle string
const FontTextStyleBody FontTextStyle = "UICTFontTextStyleBody"
const FontTextStyleCallout FontTextStyle = "UICTFontTextStyleCallout"
const FontTextStyleCaption1 FontTextStyle = "UICTFontTextStyleCaption1"
const FontTextStyleCaption2 FontTextStyle = "UICTFontTextStyleCaption2"
const FontTextStyleFootnote FontTextStyle = "UICTFontTextStyleFootnote"
const FontTextStyleHeadline FontTextStyle = "UICTFontTextStyleHeadline"
const FontTextStyleLargeTitle FontTextStyle = "UICTFontTextStyleTitle0"
const FontTextStyleSubheadline FontTextStyle = "UICTFontTextStyleSubhead"
const FontTextStyleTitle1 FontTextStyle = "UICTFontTextStyleTitle1"
const FontTextStyleTitle2 FontTextStyle = "UICTFontTextStyleTitle2"
const FontTextStyleTitle3 FontTextStyle = "UICTFontTextStyleTitle3"

type FontTextStyleOptionKey

type FontTextStyleOptionKey string

type FontTraitMask

type FontTraitMask uint
const BoldFontMask FontTraitMask = 2
const CompressedFontMask FontTraitMask = 512
const CondensedFontMask FontTraitMask = 64
const ExpandedFontMask FontTraitMask = 32
const FixedPitchFontMask FontTraitMask = 1024
const ItalicFontMask FontTraitMask = 1
const NarrowFontMask FontTraitMask = 16
const NonStandardCharacterSetFontMask FontTraitMask = 8
const PosterFontMask FontTraitMask = 256
const SmallCapsFontMask FontTraitMask = 128
const UnboldFontMask FontTraitMask = 4
const UnitalicFontMask FontTraitMask = 16777216

type FontWeight

type FontWeight float64
const FontWeightBlack FontWeight = 0.6200000047683716
const FontWeightBold FontWeight = 0.4000000059604645
const FontWeightHeavy FontWeight = 0.5600000023841858
const FontWeightLight FontWeight = -0.4000000059604645
const FontWeightMedium FontWeight = 0.23000000417232513
const FontWeightRegular FontWeight = 0.0
const FontWeightSemibold FontWeight = 0.30000001192092896
const FontWeightThin FontWeight = -0.6000000238418579
const FontWeightUltraLight FontWeight = -0.800000011920929

type FontWidth added in v0.15.3

type FontWidth float64
const FontWidthCompressed FontWidth = -0.3
const FontWidthCondensed FontWidth = -0.2
const FontWidthExpanded FontWidth = 0.2
const FontWidthStandard FontWidth = 0.0

type GestureRecognizer

type GestureRecognizer struct {
	objc.Object
}

func MakeGestureRecognizer

func MakeGestureRecognizer(ptr unsafe.Pointer) GestureRecognizer

func NewGestureRecognizer

func NewGestureRecognizer() GestureRecognizer

func (GestureRecognizer) Action

func (g_ GestureRecognizer) Action() objc.Selector

func (GestureRecognizer) AllowedTouchTypes

func (g_ GestureRecognizer) AllowedTouchTypes() TouchTypeMask

func (GestureRecognizer) CanBePreventedByGestureRecognizer

func (g_ GestureRecognizer) CanBePreventedByGestureRecognizer(preventingGestureRecognizer IGestureRecognizer) bool

func (GestureRecognizer) CanPreventGestureRecognizer

func (g_ GestureRecognizer) CanPreventGestureRecognizer(preventedGestureRecognizer IGestureRecognizer) bool

func (GestureRecognizer) DelaysKeyEvents

func (g_ GestureRecognizer) DelaysKeyEvents() bool

func (GestureRecognizer) DelaysMagnificationEvents

func (g_ GestureRecognizer) DelaysMagnificationEvents() bool

func (GestureRecognizer) DelaysOtherMouseButtonEvents

func (g_ GestureRecognizer) DelaysOtherMouseButtonEvents() bool

func (GestureRecognizer) DelaysPrimaryMouseButtonEvents

func (g_ GestureRecognizer) DelaysPrimaryMouseButtonEvents() bool

func (GestureRecognizer) DelaysRotationEvents

func (g_ GestureRecognizer) DelaysRotationEvents() bool

func (GestureRecognizer) DelaysSecondaryMouseButtonEvents

func (g_ GestureRecognizer) DelaysSecondaryMouseButtonEvents() bool

func (GestureRecognizer) Delegate

func (g_ GestureRecognizer) Delegate() objc.Object

weak property

func (GestureRecognizer) FlagsChanged

func (g_ GestureRecognizer) FlagsChanged(event IEvent)

func (GestureRecognizer) Init added in v0.11.0

func (GestureRecognizer) InitWithTarget_Action added in v0.11.0

func (g_ GestureRecognizer) InitWithTarget_Action(target objc.IObject, action objc.Selector) GestureRecognizer

func (GestureRecognizer) IsEnabled

func (g_ GestureRecognizer) IsEnabled() bool

func (GestureRecognizer) KeyDown

func (g_ GestureRecognizer) KeyDown(event IEvent)

func (GestureRecognizer) KeyUp

func (g_ GestureRecognizer) KeyUp(event IEvent)

func (GestureRecognizer) LocationInView

func (g_ GestureRecognizer) LocationInView(view IView) foundation.Point

func (GestureRecognizer) MagnifyWithEvent

func (g_ GestureRecognizer) MagnifyWithEvent(event IEvent)

func (GestureRecognizer) MouseDown

func (g_ GestureRecognizer) MouseDown(event IEvent)

func (GestureRecognizer) MouseDragged

func (g_ GestureRecognizer) MouseDragged(event IEvent)

func (GestureRecognizer) MouseUp

func (g_ GestureRecognizer) MouseUp(event IEvent)

func (GestureRecognizer) OtherMouseDown

func (g_ GestureRecognizer) OtherMouseDown(event IEvent)

func (GestureRecognizer) OtherMouseDragged

func (g_ GestureRecognizer) OtherMouseDragged(event IEvent)

func (GestureRecognizer) OtherMouseUp

func (g_ GestureRecognizer) OtherMouseUp(event IEvent)

func (GestureRecognizer) PressureChangeWithEvent

func (g_ GestureRecognizer) PressureChangeWithEvent(event IEvent)

func (GestureRecognizer) PressureConfiguration

func (g_ GestureRecognizer) PressureConfiguration() PressureConfiguration

func (GestureRecognizer) Reset

func (g_ GestureRecognizer) Reset()

func (GestureRecognizer) RightMouseDown

func (g_ GestureRecognizer) RightMouseDown(event IEvent)

func (GestureRecognizer) RightMouseDragged

func (g_ GestureRecognizer) RightMouseDragged(event IEvent)

func (GestureRecognizer) RightMouseUp

func (g_ GestureRecognizer) RightMouseUp(event IEvent)

func (GestureRecognizer) RotateWithEvent

func (g_ GestureRecognizer) RotateWithEvent(event IEvent)

func (GestureRecognizer) SetAction

func (g_ GestureRecognizer) SetAction(value objc.Selector)

func (GestureRecognizer) SetAllowedTouchTypes

func (g_ GestureRecognizer) SetAllowedTouchTypes(value TouchTypeMask)

func (GestureRecognizer) SetDelaysKeyEvents

func (g_ GestureRecognizer) SetDelaysKeyEvents(value bool)

func (GestureRecognizer) SetDelaysMagnificationEvents

func (g_ GestureRecognizer) SetDelaysMagnificationEvents(value bool)

func (GestureRecognizer) SetDelaysOtherMouseButtonEvents

func (g_ GestureRecognizer) SetDelaysOtherMouseButtonEvents(value bool)

func (GestureRecognizer) SetDelaysPrimaryMouseButtonEvents

func (g_ GestureRecognizer) SetDelaysPrimaryMouseButtonEvents(value bool)

func (GestureRecognizer) SetDelaysRotationEvents

func (g_ GestureRecognizer) SetDelaysRotationEvents(value bool)

func (GestureRecognizer) SetDelaysSecondaryMouseButtonEvents

func (g_ GestureRecognizer) SetDelaysSecondaryMouseButtonEvents(value bool)

func (GestureRecognizer) SetDelegate

func (g_ GestureRecognizer) SetDelegate(value objc.IObject)

weak property

func (GestureRecognizer) SetEnabled

func (g_ GestureRecognizer) SetEnabled(value bool)

func (GestureRecognizer) SetPressureConfiguration

func (g_ GestureRecognizer) SetPressureConfiguration(value IPressureConfiguration)

func (GestureRecognizer) SetTarget

func (g_ GestureRecognizer) SetTarget(value objc.IObject)

weak property

func (GestureRecognizer) ShouldBeRequiredToFailByGestureRecognizer

func (g_ GestureRecognizer) ShouldBeRequiredToFailByGestureRecognizer(otherGestureRecognizer IGestureRecognizer) bool

func (GestureRecognizer) ShouldRequireFailureOfGestureRecognizer

func (g_ GestureRecognizer) ShouldRequireFailureOfGestureRecognizer(otherGestureRecognizer IGestureRecognizer) bool

func (GestureRecognizer) State

func (GestureRecognizer) TabletPoint

func (g_ GestureRecognizer) TabletPoint(event IEvent)

func (GestureRecognizer) Target

func (g_ GestureRecognizer) Target() objc.Object

weak property

func (GestureRecognizer) TouchesBeganWithEvent

func (g_ GestureRecognizer) TouchesBeganWithEvent(event IEvent)

func (GestureRecognizer) TouchesCancelledWithEvent

func (g_ GestureRecognizer) TouchesCancelledWithEvent(event IEvent)

func (GestureRecognizer) TouchesEndedWithEvent

func (g_ GestureRecognizer) TouchesEndedWithEvent(event IEvent)

func (GestureRecognizer) TouchesMovedWithEvent

func (g_ GestureRecognizer) TouchesMovedWithEvent(event IEvent)

func (GestureRecognizer) View

func (g_ GestureRecognizer) View() View

type GestureRecognizerDelegate added in v0.13.0

type GestureRecognizerDelegate interface {
	ImplementsGestureRecognizer_ShouldAttemptToRecognizeWithEvent() bool
	// optional
	GestureRecognizer_ShouldAttemptToRecognizeWithEvent(gestureRecognizer GestureRecognizer, event Event) bool
	ImplementsGestureRecognizerShouldBegin() bool
	// optional
	GestureRecognizerShouldBegin(gestureRecognizer GestureRecognizer) bool
	ImplementsGestureRecognizer_ShouldRecognizeSimultaneouslyWithGestureRecognizer() bool
	// optional
	GestureRecognizer_ShouldRecognizeSimultaneouslyWithGestureRecognizer(gestureRecognizer GestureRecognizer, otherGestureRecognizer GestureRecognizer) bool
	ImplementsGestureRecognizer_ShouldRequireFailureOfGestureRecognizer() bool
	// optional
	GestureRecognizer_ShouldRequireFailureOfGestureRecognizer(gestureRecognizer GestureRecognizer, otherGestureRecognizer GestureRecognizer) bool
	ImplementsGestureRecognizer_ShouldBeRequiredToFailByGestureRecognizer() bool
	// optional
	GestureRecognizer_ShouldBeRequiredToFailByGestureRecognizer(gestureRecognizer GestureRecognizer, otherGestureRecognizer GestureRecognizer) bool
	ImplementsGestureRecognizer_ShouldReceiveTouch() bool
	// optional
	GestureRecognizer_ShouldReceiveTouch(gestureRecognizer GestureRecognizer, touch Touch) bool
}

type GestureRecognizerDelegateBase added in v0.18.0

type GestureRecognizerDelegateBase struct {
}

func (*GestureRecognizerDelegateBase) GestureRecognizerShouldBegin added in v0.18.0

func (p *GestureRecognizerDelegateBase) GestureRecognizerShouldBegin(gestureRecognizer GestureRecognizer) bool

func (*GestureRecognizerDelegateBase) GestureRecognizer_ShouldAttemptToRecognizeWithEvent added in v0.18.0

func (p *GestureRecognizerDelegateBase) GestureRecognizer_ShouldAttemptToRecognizeWithEvent(gestureRecognizer GestureRecognizer, event Event) bool

func (*GestureRecognizerDelegateBase) GestureRecognizer_ShouldBeRequiredToFailByGestureRecognizer added in v0.18.0

func (p *GestureRecognizerDelegateBase) GestureRecognizer_ShouldBeRequiredToFailByGestureRecognizer(gestureRecognizer GestureRecognizer, otherGestureRecognizer GestureRecognizer) bool

func (*GestureRecognizerDelegateBase) GestureRecognizer_ShouldReceiveTouch added in v0.18.0

func (p *GestureRecognizerDelegateBase) GestureRecognizer_ShouldReceiveTouch(gestureRecognizer GestureRecognizer, touch Touch) bool

func (*GestureRecognizerDelegateBase) GestureRecognizer_ShouldRecognizeSimultaneouslyWithGestureRecognizer added in v0.18.0

func (p *GestureRecognizerDelegateBase) GestureRecognizer_ShouldRecognizeSimultaneouslyWithGestureRecognizer(gestureRecognizer GestureRecognizer, otherGestureRecognizer GestureRecognizer) bool

func (*GestureRecognizerDelegateBase) GestureRecognizer_ShouldRequireFailureOfGestureRecognizer added in v0.18.0

func (p *GestureRecognizerDelegateBase) GestureRecognizer_ShouldRequireFailureOfGestureRecognizer(gestureRecognizer GestureRecognizer, otherGestureRecognizer GestureRecognizer) bool

func (*GestureRecognizerDelegateBase) ImplementsGestureRecognizerShouldBegin added in v0.18.0

func (p *GestureRecognizerDelegateBase) ImplementsGestureRecognizerShouldBegin() bool

func (*GestureRecognizerDelegateBase) ImplementsGestureRecognizer_ShouldAttemptToRecognizeWithEvent added in v0.18.0

func (p *GestureRecognizerDelegateBase) ImplementsGestureRecognizer_ShouldAttemptToRecognizeWithEvent() bool

func (*GestureRecognizerDelegateBase) ImplementsGestureRecognizer_ShouldBeRequiredToFailByGestureRecognizer added in v0.18.0

func (p *GestureRecognizerDelegateBase) ImplementsGestureRecognizer_ShouldBeRequiredToFailByGestureRecognizer() bool

func (*GestureRecognizerDelegateBase) ImplementsGestureRecognizer_ShouldReceiveTouch added in v0.18.0

func (p *GestureRecognizerDelegateBase) ImplementsGestureRecognizer_ShouldReceiveTouch() bool

func (*GestureRecognizerDelegateBase) ImplementsGestureRecognizer_ShouldRecognizeSimultaneouslyWithGestureRecognizer added in v0.18.0

func (p *GestureRecognizerDelegateBase) ImplementsGestureRecognizer_ShouldRecognizeSimultaneouslyWithGestureRecognizer() bool

func (*GestureRecognizerDelegateBase) ImplementsGestureRecognizer_ShouldRequireFailureOfGestureRecognizer added in v0.18.0

func (p *GestureRecognizerDelegateBase) ImplementsGestureRecognizer_ShouldRequireFailureOfGestureRecognizer() bool

type GestureRecognizerDelegateCreator added in v0.19.0

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

func NewGestureRecognizerDelegateCreator added in v0.19.0

func NewGestureRecognizerDelegateCreator(name string) *GestureRecognizerDelegateCreator

func (*GestureRecognizerDelegateCreator) Create added in v0.19.0

func (*GestureRecognizerDelegateCreator) SetGestureRecognizerShouldBegin added in v0.19.0

func (c *GestureRecognizerDelegateCreator) SetGestureRecognizerShouldBegin(handle func(o objc.ProtocolBase, gestureRecognizer GestureRecognizer) bool)

func (*GestureRecognizerDelegateCreator) SetGestureRecognizer_ShouldAttemptToRecognizeWithEvent added in v0.19.0

func (c *GestureRecognizerDelegateCreator) SetGestureRecognizer_ShouldAttemptToRecognizeWithEvent(handle func(o objc.ProtocolBase, gestureRecognizer GestureRecognizer, event Event) bool)

func (*GestureRecognizerDelegateCreator) SetGestureRecognizer_ShouldBeRequiredToFailByGestureRecognizer added in v0.19.0

func (c *GestureRecognizerDelegateCreator) SetGestureRecognizer_ShouldBeRequiredToFailByGestureRecognizer(handle func(o objc.ProtocolBase, gestureRecognizer GestureRecognizer, otherGestureRecognizer GestureRecognizer) bool)

func (*GestureRecognizerDelegateCreator) SetGestureRecognizer_ShouldReceiveTouch added in v0.19.0

func (c *GestureRecognizerDelegateCreator) SetGestureRecognizer_ShouldReceiveTouch(handle func(o objc.ProtocolBase, gestureRecognizer GestureRecognizer, touch Touch) bool)

func (*GestureRecognizerDelegateCreator) SetGestureRecognizer_ShouldRecognizeSimultaneouslyWithGestureRecognizer added in v0.19.0

func (c *GestureRecognizerDelegateCreator) SetGestureRecognizer_ShouldRecognizeSimultaneouslyWithGestureRecognizer(handle func(o objc.ProtocolBase, gestureRecognizer GestureRecognizer, otherGestureRecognizer GestureRecognizer) bool)

func (*GestureRecognizerDelegateCreator) SetGestureRecognizer_ShouldRequireFailureOfGestureRecognizer added in v0.19.0

func (c *GestureRecognizerDelegateCreator) SetGestureRecognizer_ShouldRequireFailureOfGestureRecognizer(handle func(o objc.ProtocolBase, gestureRecognizer GestureRecognizer, otherGestureRecognizer GestureRecognizer) bool)

type GestureRecognizerState

type GestureRecognizerState int
const GestureRecognizerStateBegan GestureRecognizerState = 1
const GestureRecognizerStateCancelled GestureRecognizerState = 4
const GestureRecognizerStateChanged GestureRecognizerState = 2
const GestureRecognizerStateEnded GestureRecognizerState = 3
const GestureRecognizerStateFailed GestureRecognizerState = 5
const GestureRecognizerStatePossible GestureRecognizerState = 0
const GestureRecognizerStateRecognized GestureRecognizerState = 3

type Glyph added in v0.14.5

type Glyph uint32

type GlyphGenerator

type GlyphGenerator struct {
	objc.Object
}

func MakeGlyphGenerator

func MakeGlyphGenerator(ptr unsafe.Pointer) GlyphGenerator

func NewGlyphGenerator

func NewGlyphGenerator() GlyphGenerator

func (GlyphGenerator) GenerateGlyphsForGlyphStorage_DesiredNumberOfCharacters_GlyphIndex_CharacterIndex added in v0.16.0

func (g_ GlyphGenerator) GenerateGlyphsForGlyphStorage_DesiredNumberOfCharacters_GlyphIndex_CharacterIndex(glyphStorage objc.IObject, nChars uint, glyphIndex *uint, charIndex *uint)

func (GlyphGenerator) Init added in v0.11.0

func (g_ GlyphGenerator) Init() GlyphGenerator

type GlyphInscription added in v0.14.5

type GlyphInscription uint

type GlyphProperty

type GlyphProperty int
const GlyphPropertyControlCharacter GlyphProperty = 2
const GlyphPropertyElastic GlyphProperty = 4
const GlyphPropertyNonBaseCharacter GlyphProperty = 8
const GlyphPropertyNull GlyphProperty = 1

type GlyphStorage added in v0.16.0

type GlyphStorage interface {
	// required
	AttributedString() foundation.IAttributedString
	// required
	LayoutOptions() uint
	// required
	InsertGlyphs_Length_ForStartingGlyphAtIndex_CharacterIndex(glyphs *Glyph, length uint, glyphIndex uint, charIndex uint)
	// required
	SetIntAttribute_Value_ForGlyphAtIndex(attributeTag int, val int, glyphIndex uint)
}

type GlyphStorageBase added in v0.18.0

type GlyphStorageBase struct {
}

type GradientType added in v0.14.5

type GradientType uint

type GraphicsContext

type GraphicsContext struct {
	objc.Object
}

func MakeGraphicsContext

func MakeGraphicsContext(ptr unsafe.Pointer) GraphicsContext

func NewGraphicsContext

func NewGraphicsContext() GraphicsContext

func (GraphicsContext) Attributes

func (GraphicsContext) CGContext

func (g_ GraphicsContext) CGContext() coregraphics.ContextRef

func (GraphicsContext) ColorRenderingIntent

func (g_ GraphicsContext) ColorRenderingIntent() ColorRenderingIntent

func (GraphicsContext) CompositingOperation

func (g_ GraphicsContext) CompositingOperation() CompositingOperation

func (GraphicsContext) FlushGraphics

func (g_ GraphicsContext) FlushGraphics()

func (GraphicsContext) FocusStack added in v0.14.5

func (g_ GraphicsContext) FocusStack() objc.Object

deprecated

func (GraphicsContext) GraphicsPort added in v0.14.5

func (g_ GraphicsContext) GraphicsPort() unsafe.Pointer

deprecated

func (GraphicsContext) ImageInterpolation

func (g_ GraphicsContext) ImageInterpolation() ImageInterpolation

func (GraphicsContext) Init added in v0.11.0

func (g_ GraphicsContext) Init() GraphicsContext

func (GraphicsContext) IsDrawingToScreen

func (g_ GraphicsContext) IsDrawingToScreen() bool

func (GraphicsContext) IsFlipped

func (g_ GraphicsContext) IsFlipped() bool

func (GraphicsContext) PatternPhase

func (g_ GraphicsContext) PatternPhase() foundation.Point

func (GraphicsContext) SetColorRenderingIntent

func (g_ GraphicsContext) SetColorRenderingIntent(value ColorRenderingIntent)

func (GraphicsContext) SetCompositingOperation

func (g_ GraphicsContext) SetCompositingOperation(value CompositingOperation)

func (GraphicsContext) SetFocusStack added in v0.14.5

func (g_ GraphicsContext) SetFocusStack(stack objc.IObject)

deprecated

func (GraphicsContext) SetImageInterpolation

func (g_ GraphicsContext) SetImageInterpolation(value ImageInterpolation)

func (GraphicsContext) SetPatternPhase

func (g_ GraphicsContext) SetPatternPhase(value foundation.Point)

func (GraphicsContext) SetShouldAntialias

func (g_ GraphicsContext) SetShouldAntialias(value bool)

func (GraphicsContext) ShouldAntialias

func (g_ GraphicsContext) ShouldAntialias() bool

type GraphicsContextAttributeKey

type GraphicsContextAttributeKey string
const GraphicsContextDestinationAttributeName GraphicsContextAttributeKey = "NSGraphicsContextDestinationAttributeName"
const GraphicsContextRepresentationFormatAttributeName GraphicsContextAttributeKey = "NSGraphicsContextRepresentationFormatAttributeName"

type GridCell

type GridCell struct {
	objc.Object
}

func MakeGridCell

func MakeGridCell(ptr unsafe.Pointer) GridCell

func NewGridCell

func NewGridCell() GridCell

func (GridCell) Column

func (g_ GridCell) Column() GridColumn

weak property

func (GridCell) ContentView

func (g_ GridCell) ContentView() View

func (GridCell) CustomPlacementConstraints

func (g_ GridCell) CustomPlacementConstraints() []LayoutConstraint

func (GridCell) Init added in v0.11.0

func (g_ GridCell) Init() GridCell

func (GridCell) Row

func (g_ GridCell) Row() GridRow

weak property

func (GridCell) RowAlignment

func (g_ GridCell) RowAlignment() GridRowAlignment

func (GridCell) SetContentView

func (g_ GridCell) SetContentView(value IView)

func (GridCell) SetCustomPlacementConstraints

func (g_ GridCell) SetCustomPlacementConstraints(value []ILayoutConstraint)

func (GridCell) SetRowAlignment

func (g_ GridCell) SetRowAlignment(value GridRowAlignment)

func (GridCell) SetXPlacement

func (g_ GridCell) SetXPlacement(value GridCellPlacement)

func (GridCell) SetYPlacement

func (g_ GridCell) SetYPlacement(value GridCellPlacement)

func (GridCell) XPlacement

func (g_ GridCell) XPlacement() GridCellPlacement

func (GridCell) YPlacement

func (g_ GridCell) YPlacement() GridCellPlacement

type GridCellPlacement

type GridCellPlacement int
const GridCellPlacementBottom GridCellPlacement = 3
const GridCellPlacementCenter GridCellPlacement = 4
const GridCellPlacementFill GridCellPlacement = 5
const GridCellPlacementInherited GridCellPlacement = 0
const GridCellPlacementLeading GridCellPlacement = 2
const GridCellPlacementNone GridCellPlacement = 1
const GridCellPlacementTop GridCellPlacement = 2
const GridCellPlacementTrailing GridCellPlacement = 3

type GridColumn

type GridColumn struct {
	objc.Object
}

func MakeGridColumn

func MakeGridColumn(ptr unsafe.Pointer) GridColumn

func NewGridColumn

func NewGridColumn() GridColumn

func (GridColumn) CellAtIndex

func (g_ GridColumn) CellAtIndex(index int) GridCell

func (GridColumn) GridView

func (g_ GridColumn) GridView() GridView

weak property

func (GridColumn) Init added in v0.11.0

func (g_ GridColumn) Init() GridColumn

func (GridColumn) IsHidden

func (g_ GridColumn) IsHidden() bool

func (GridColumn) LeadingPadding

func (g_ GridColumn) LeadingPadding() float64

func (GridColumn) MergeCellsInRange

func (g_ GridColumn) MergeCellsInRange(range_ foundation.Range)

func (GridColumn) NumberOfCells

func (g_ GridColumn) NumberOfCells() int

func (GridColumn) SetHidden

func (g_ GridColumn) SetHidden(value bool)

func (GridColumn) SetLeadingPadding

func (g_ GridColumn) SetLeadingPadding(value float64)

func (GridColumn) SetTrailingPadding

func (g_ GridColumn) SetTrailingPadding(value float64)

func (GridColumn) SetWidth

func (g_ GridColumn) SetWidth(value float64)

func (GridColumn) SetXPlacement

func (g_ GridColumn) SetXPlacement(value GridCellPlacement)

func (GridColumn) TrailingPadding

func (g_ GridColumn) TrailingPadding() float64

func (GridColumn) Width

func (g_ GridColumn) Width() float64

func (GridColumn) XPlacement

func (g_ GridColumn) XPlacement() GridCellPlacement

type GridRow

type GridRow struct {
	objc.Object
}

func MakeGridRow

func MakeGridRow(ptr unsafe.Pointer) GridRow

func NewGridRow

func NewGridRow() GridRow

func (GridRow) BottomPadding

func (g_ GridRow) BottomPadding() float64

func (GridRow) CellAtIndex

func (g_ GridRow) CellAtIndex(index int) GridCell

func (GridRow) GridView

func (g_ GridRow) GridView() GridView

weak property

func (GridRow) Height

func (g_ GridRow) Height() float64

func (GridRow) Init added in v0.11.0

func (g_ GridRow) Init() GridRow

func (GridRow) IsHidden

func (g_ GridRow) IsHidden() bool

func (GridRow) MergeCellsInRange

func (g_ GridRow) MergeCellsInRange(range_ foundation.Range)

func (GridRow) NumberOfCells

func (g_ GridRow) NumberOfCells() int

func (GridRow) RowAlignment

func (g_ GridRow) RowAlignment() GridRowAlignment

func (GridRow) SetBottomPadding

func (g_ GridRow) SetBottomPadding(value float64)

func (GridRow) SetHeight

func (g_ GridRow) SetHeight(value float64)

func (GridRow) SetHidden

func (g_ GridRow) SetHidden(value bool)

func (GridRow) SetRowAlignment

func (g_ GridRow) SetRowAlignment(value GridRowAlignment)

func (GridRow) SetTopPadding

func (g_ GridRow) SetTopPadding(value float64)

func (GridRow) SetYPlacement

func (g_ GridRow) SetYPlacement(value GridCellPlacement)

func (GridRow) TopPadding

func (g_ GridRow) TopPadding() float64

func (GridRow) YPlacement

func (g_ GridRow) YPlacement() GridCellPlacement

type GridRowAlignment

type GridRowAlignment int
const GridRowAlignmentFirstBaseline GridRowAlignment = 2
const GridRowAlignmentInherited GridRowAlignment = 0
const GridRowAlignmentLastBaseline GridRowAlignment = 3
const GridRowAlignmentNone GridRowAlignment = 1

type GridView

type GridView struct {
	View
}

func MakeGridView

func MakeGridView(ptr unsafe.Pointer) GridView

func NewGridView

func NewGridView() GridView

func (GridView) AddColumnWithViews

func (g_ GridView) AddColumnWithViews(views []IView) GridColumn

func (GridView) AddRowWithViews

func (g_ GridView) AddRowWithViews(views []IView) GridRow

func (GridView) CellAtColumnIndex_RowIndex

func (g_ GridView) CellAtColumnIndex_RowIndex(columnIndex int, rowIndex int) GridCell

func (GridView) CellForView

func (g_ GridView) CellForView(view IView) GridCell

func (GridView) ColumnAtIndex

func (g_ GridView) ColumnAtIndex(index int) GridColumn

func (GridView) ColumnSpacing

func (g_ GridView) ColumnSpacing() float64

func (GridView) IndexOfColumn

func (g_ GridView) IndexOfColumn(column IGridColumn) int

func (GridView) IndexOfRow

func (g_ GridView) IndexOfRow(row IGridRow) int

func (GridView) Init added in v0.11.0

func (g_ GridView) Init() GridView

func (GridView) InitWithFrame added in v0.11.0

func (g_ GridView) InitWithFrame(frameRect foundation.Rect) GridView

func (GridView) InsertColumnAtIndex_WithViews

func (g_ GridView) InsertColumnAtIndex_WithViews(index int, views []IView) GridColumn

func (GridView) InsertRowAtIndex_WithViews

func (g_ GridView) InsertRowAtIndex_WithViews(index int, views []IView) GridRow

func (GridView) MergeCellsInHorizontalRange_VerticalRange

func (g_ GridView) MergeCellsInHorizontalRange_VerticalRange(hRange foundation.Range, vRange foundation.Range)

func (GridView) MoveColumnAtIndex_ToIndex

func (g_ GridView) MoveColumnAtIndex_ToIndex(fromIndex int, toIndex int)

func (GridView) MoveRowAtIndex_ToIndex

func (g_ GridView) MoveRowAtIndex_ToIndex(fromIndex int, toIndex int)

func (GridView) NumberOfColumns

func (g_ GridView) NumberOfColumns() int

func (GridView) NumberOfRows

func (g_ GridView) NumberOfRows() int

func (GridView) RemoveColumnAtIndex

func (g_ GridView) RemoveColumnAtIndex(index int)

func (GridView) RemoveRowAtIndex

func (g_ GridView) RemoveRowAtIndex(index int)

func (GridView) RowAlignment

func (g_ GridView) RowAlignment() GridRowAlignment

func (GridView) RowAtIndex

func (g_ GridView) RowAtIndex(index int) GridRow

func (GridView) RowSpacing

func (g_ GridView) RowSpacing() float64

func (GridView) SetColumnSpacing

func (g_ GridView) SetColumnSpacing(value float64)

func (GridView) SetRowAlignment

func (g_ GridView) SetRowAlignment(value GridRowAlignment)

func (GridView) SetRowSpacing

func (g_ GridView) SetRowSpacing(value float64)

func (GridView) SetXPlacement

func (g_ GridView) SetXPlacement(value GridCellPlacement)

func (GridView) SetYPlacement

func (g_ GridView) SetYPlacement(value GridCellPlacement)

func (GridView) XPlacement

func (g_ GridView) XPlacement() GridCellPlacement

func (GridView) YPlacement

func (g_ GridView) YPlacement() GridCellPlacement

type HelpAnchorName

type HelpAnchorName string

type IActionCell added in v0.11.0

type IActionCell interface {
	ICell
}

type IAlert added in v0.11.0

type IAlert interface {
	objc.IObject
	Layout()
	RunModal() ModalResponse
	BeginSheetModalForWindow_CompletionHandler(sheetWindow IWindow, handler func(returnCode ModalResponse))
	// deprecated
	BeginSheetModalForWindow_ModalDelegate_DidEndSelector_ContextInfo(window IWindow, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)
	AddButtonWithTitle(title string) Button
	AlertStyle() AlertStyle
	SetAlertStyle(value AlertStyle)
	AccessoryView() View
	SetAccessoryView(value IView)
	ShowsHelp() bool
	SetShowsHelp(value bool)
	HelpAnchor() HelpAnchorName
	SetHelpAnchor(value HelpAnchorName)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	SuppressionButton() Button
	ShowsSuppressionButton() bool
	SetShowsSuppressionButton(value bool)
	InformativeText() string
	SetInformativeText(value string)
	MessageText() string
	SetMessageText(value string)
	Icon() Image
	SetIcon(value IImage)
	Buttons() []Button
	Window() Window
}

type IAnimation added in v0.11.0

type IAnimation interface {
	objc.IObject
	StartAnimation()
	StopAnimation()
	AddProgressMark(progressMark AnimationProgress)
	RemoveProgressMark(progressMark AnimationProgress)
	StartWhenAnimation_ReachesProgress(animation IAnimation, startProgress AnimationProgress)
	StopWhenAnimation_ReachesProgress(animation IAnimation, stopProgress AnimationProgress)
	ClearStartAnimation()
	ClearStopAnimation()
	AnimationBlockingMode() AnimationBlockingMode
	SetAnimationBlockingMode(value AnimationBlockingMode)
	RunLoopModesForAnimating() []foundation.RunLoopMode
	AnimationCurve() AnimationCurve
	SetAnimationCurve(value AnimationCurve)
	Duration() foundation.TimeInterval
	SetDuration(value foundation.TimeInterval)
	FrameRate() float32
	SetFrameRate(value float32)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	IsAnimating() bool
	CurrentProgress() AnimationProgress
	SetCurrentProgress(value AnimationProgress)
	CurrentValue() float32
	ProgressMarks() []foundation.Number
	SetProgressMarks(value []foundation.INumber)
}

type IAnimationContext added in v0.11.0

type IAnimationContext interface {
	objc.IObject
	CompletionHandler() func()
	SetCompletionHandler(value func())
	Duration() foundation.TimeInterval
	SetDuration(value foundation.TimeInterval)
	TimingFunction() quartzcore.MediaTimingFunction
	SetTimingFunction(value quartzcore.IMediaTimingFunction)
	AllowsImplicitAnimation() bool
	SetAllowsImplicitAnimation(value bool)
}

type IAppearance added in v0.11.0

type IAppearance interface {
	objc.IObject
	BestMatchFromAppearancesWithNames(appearances []AppearanceName) AppearanceName
	PerformAsCurrentDrawingAppearance(block func())
	Name() AppearanceName
	AllowsVibrancy() bool
}

type IApplication added in v0.11.0

type IApplication interface {
	IResponder
	NextEventMatchingMask_UntilDate_InMode_Dequeue(mask EventMask, expiration foundation.IDate, mode foundation.RunLoopMode, deqFlag bool) Event
	DiscardEventsMatchingMask_BeforeEvent(mask EventMask, lastEvent IEvent)
	Run()
	FinishLaunching()
	Stop(sender objc.IObject)
	SendEvent(event IEvent)
	PostEvent_AtStart(event IEvent, flag bool)
	SendAction_To_From(action objc.Selector, target objc.IObject, sender objc.IObject) bool
	TargetForAction(action objc.Selector) objc.Object
	TargetForAction_To_From(action objc.Selector, target objc.IObject, sender objc.IObject) objc.Object
	Terminate(sender objc.IObject)
	ReplyToApplicationShouldTerminate(shouldTerminate bool)
	ActivateIgnoringOtherApps(flag bool)
	Deactivate()
	DisableRelaunchOnLogin()
	EnableRelaunchOnLogin()
	RegisterForRemoteNotifications()
	UnregisterForRemoteNotifications()
	RegisterForRemoteNotificationTypes(types RemoteNotificationType)
	ToggleTouchBarCustomizationPalette(sender objc.IObject)
	RequestUserAttention(requestType RequestUserAttentionType) int
	CancelUserAttentionRequest(request int)
	ReplyToOpenOrPrint(reply ApplicationDelegateReply)
	RegisterUserInterfaceItemSearchHandler(handler objc.IObject)
	SearchString_InUserInterfaceItemString_SearchRange_FoundRange(searchString string, stringToSearch string, searchRange foundation.Range, foundRange *foundation.Range) bool
	UnregisterUserInterfaceItemSearchHandler(handler objc.IObject)
	ShowHelp(sender objc.IObject)
	ActivateContextHelpMode(sender objc.IObject)
	HideOtherApplications(sender objc.IObject)
	UnhideAllApplications(sender objc.IObject)
	ReportException(exception foundation.IException)
	ActivationPolicy() ApplicationActivationPolicy
	SetActivationPolicy(activationPolicy ApplicationActivationPolicy) bool
	WindowWithWindowNumber(windowNum int) Window
	// deprecated
	MakeWindowsPerform_InOrder(selector objc.Selector, flag bool) Window
	EnumerateWindowsWithOptions_UsingBlock(options WindowListOptions, block func(window Window, stop *bool))
	MiniaturizeAll(sender objc.IObject)
	Hide(sender objc.IObject)
	Unhide(sender objc.IObject)
	UnhideWithoutActivation()
	UpdateWindows()
	SetWindowsNeedUpdate(needUpdate bool)
	PreventWindowOrdering()
	ArrangeInFront(sender objc.IObject)
	ExtendStateRestoration()
	CompleteStateRestoration()
	RestoreWindowWithIdentifier_State_CompletionHandler(identifier UserInterfaceItemIdentifier, state foundation.ICoder, completionHandler func(param1 Window, param2 foundation.Error)) bool
	RunModalForWindow(window IWindow) ModalResponse
	StopModal()
	StopModalWithCode(returnCode ModalResponse)
	AbortModal()
	BeginModalSessionForWindow(window IWindow) ModalSession
	RunModalSession(session ModalSession) ModalResponse
	OrderFrontColorPanel(sender objc.IObject)
	OrderFrontStandardAboutPanel(sender objc.IObject)
	OrderFrontStandardAboutPanelWithOptions(optionsDictionary map[AboutPanelOptionKey]objc.IObject)
	OrderFrontCharacterPalette(sender objc.IObject)
	RunPageLayout(sender objc.IObject)
	AddWindowsItem_Title_Filename(win IWindow, string_ string, isFilename bool)
	ChangeWindowsItem_Title_Filename(win IWindow, string_ string, isFilename bool)
	RemoveWindowsItem(win IWindow)
	UpdateWindowsItem(win IWindow)
	RegisterServicesMenuSendTypes_ReturnTypes(sendTypes []PasteboardType, returnTypes []PasteboardType)
	// deprecated
	BeginModalSessionForWindow_RelativeToWindow(window IWindow, docWindow IWindow) ModalSession
	// deprecated
	RunModalForWindow_RelativeToWindow(window IWindow, docWindow IWindow) int
	EndModalSession(session ModalSession)
	// deprecated
	BeginSheet_ModalForWindow_ModalDelegate_DidEndSelector_ContextInfo(sheet IWindow, docWindow IWindow, modalDelegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)
	// deprecated
	EndSheet(sheet IWindow)
	// deprecated
	EndSheet_ReturnCode(sheet IWindow, returnCode int)
	// deprecated
	Application_PrintFiles(sender IApplication, filenames []string)
	// deprecated
	Application_DelegateHandlesKey(sender IApplication, key string) bool
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	CurrentEvent() Event
	IsRunning() bool
	IsActive() bool
	EnabledRemoteNotificationTypes() RemoteNotificationType
	IsRegisteredForRemoteNotifications() bool
	Appearance() Appearance
	SetAppearance(value IAppearance)
	EffectiveAppearance() Appearance
	CurrentSystemPresentationOptions() ApplicationPresentationOptions
	PresentationOptions() ApplicationPresentationOptions
	SetPresentationOptions(value ApplicationPresentationOptions)
	UserInterfaceLayoutDirection() UserInterfaceLayoutDirection
	DockTile() DockTile
	ApplicationIconImage() Image
	SetApplicationIconImage(value IImage)
	HelpMenu() Menu
	SetHelpMenu(value IMenu)
	ServicesProvider() objc.Object
	SetServicesProvider(value objc.IObject)
	IsFullKeyboardAccessEnabled() bool
	OrderedDocuments() []Document
	OrderedWindows() []Window
	KeyWindow() Window
	MainWindow() Window
	Windows() []Window
	IsHidden() bool
	// deprecated
	Context() GraphicsContext
	OcclusionState() ApplicationOcclusionState
	IsProtectedDataAvailable() bool
	ModalWindow() Window
	MainMenu() Menu
	SetMainMenu(value IMenu)
	IsAutomaticCustomizeTouchBarMenuItemEnabled() bool
	SetAutomaticCustomizeTouchBarMenuItemEnabled(value bool)
	WindowsMenu() Menu
	SetWindowsMenu(value IMenu)
	ServicesMenu() Menu
	SetServicesMenu(value IMenu)
}

type IArrayController added in v0.19.0

type IArrayController interface {
	IObjectController
	ArrangeObjects(objects []objc.IObject) []objc.Object
	RearrangeObjects()
	SetSelectionIndex(index uint) bool
	SetSelectionIndexes(indexes foundation.IIndexSet) bool
	AddSelectionIndexes(indexes foundation.IIndexSet) bool
	RemoveSelectionIndexes(indexes foundation.IIndexSet) bool
	SetSelectedObjects(objects []objc.IObject) bool
	AddSelectedObjects(objects []objc.IObject) bool
	RemoveSelectedObjects(objects []objc.IObject) bool
	SelectNext(sender objc.IObject)
	SelectPrevious(sender objc.IObject)
	Insert(sender objc.IObject)
	AddObjects(objects []objc.IObject)
	InsertObject_AtArrangedObjectIndex(object objc.IObject, index uint)
	InsertObjects_AtArrangedObjectIndexes(objects []objc.IObject, indexes foundation.IIndexSet)
	RemoveObjectAtArrangedObjectIndex(index uint)
	RemoveObjectsAtArrangedObjectIndexes(indexes foundation.IIndexSet)
	RemoveObjects(objects []objc.IObject)
	DidChangeArrangementCriteria()
	SortDescriptors() []foundation.SortDescriptor
	SetSortDescriptors(value []foundation.ISortDescriptor)
	ArrangedObjects() objc.Object
	AvoidsEmptySelection() bool
	SetAvoidsEmptySelection(value bool)
	PreservesSelection() bool
	SetPreservesSelection(value bool)
	AlwaysUsesMultipleValuesMarker() bool
	SetAlwaysUsesMultipleValuesMarker(value bool)
	SelectionIndex() uint
	SelectsInsertedObjects() bool
	SetSelectsInsertedObjects(value bool)
	SelectionIndexes() foundation.IndexSet
	CanSelectNext() bool
	CanSelectPrevious() bool
	CanInsert() bool
	ClearsFilterPredicateOnInsertion() bool
	SetClearsFilterPredicateOnInsertion(value bool)
	FilterPredicate() foundation.Predicate
	SetFilterPredicate(value foundation.IPredicate)
	AutomaticallyRearrangesObjects() bool
	SetAutomaticallyRearrangesObjects(value bool)
	AutomaticRearrangementKeyPaths() []string
}

type IBezierPath added in v0.11.0

type IBezierPath interface {
	objc.IObject
	MoveToPoint(point foundation.Point)
	LineToPoint(point foundation.Point)
	CurveToPoint_ControlPoint1_ControlPoint2(endPoint foundation.Point, controlPoint1 foundation.Point, controlPoint2 foundation.Point)
	ClosePath()
	RelativeMoveToPoint(point foundation.Point)
	RelativeLineToPoint(point foundation.Point)
	RelativeCurveToPoint_ControlPoint1_ControlPoint2(endPoint foundation.Point, controlPoint1 foundation.Point, controlPoint2 foundation.Point)
	AppendBezierPath(path IBezierPath)
	AppendBezierPathWithPoints_Count(points *foundation.Point, count int)
	AppendBezierPathWithOvalInRect(rect foundation.Rect)
	AppendBezierPathWithArcFromPoint_ToPoint_Radius(point1 foundation.Point, point2 foundation.Point, radius float64)
	AppendBezierPathWithArcWithCenter_Radius_StartAngle_EndAngle(center foundation.Point, radius float64, startAngle float64, endAngle float64)
	AppendBezierPathWithArcWithCenter_Radius_StartAngle_EndAngle_Clockwise(center foundation.Point, radius float64, startAngle float64, endAngle float64, clockwise bool)
	AppendBezierPathWithRect(rect foundation.Rect)
	AppendBezierPathWithRoundedRect_XRadius_YRadius(rect foundation.Rect, xRadius float64, yRadius float64)
	AppendBezierPathWithCGGlyph_InFont(glyph coregraphics.Glyph, font IFont)
	AppendBezierPathWithCGGlyphs_Count_InFont(glyphs *coregraphics.Glyph, count int, font IFont)
	// deprecated
	AppendBezierPathWithGlyph_InFont(glyph Glyph, font IFont)
	// deprecated
	AppendBezierPathWithGlyphs_Count_InFont(glyphs *Glyph, count int, font IFont)
	// deprecated
	AppendBezierPathWithPackedGlyphs(packedGlyphs *byte)
	GetLineDash_Count_Phase(pattern *float64, count *int, phase *float64)
	SetLineDash_Count_Phase(pattern *float64, count int, phase float64)
	Stroke()
	Fill()
	AddClip()
	SetClip()
	ContainsPoint(point foundation.Point) bool
	TransformUsingAffineTransform(transform foundation.IAffineTransform)
	ElementAtIndex(index int) BezierPathElement
	ElementAtIndex_AssociatedPoints(index int, points *foundation.Point) BezierPathElement
	RemoveAllPoints()
	SetAssociatedPoints_AtIndex(points *foundation.Point, index int)
	// deprecated
	CachesBezierPath() bool
	// deprecated
	SetCachesBezierPath(flag bool)
	BezierPathByFlatteningPath() BezierPath
	BezierPathByReversingPath() BezierPath
	WindingRule() WindingRule
	SetWindingRule(value WindingRule)
	LineCapStyle() LineCapStyle
	SetLineCapStyle(value LineCapStyle)
	LineJoinStyle() LineJoinStyle
	SetLineJoinStyle(value LineJoinStyle)
	LineWidth() float64
	SetLineWidth(value float64)
	MiterLimit() float64
	SetMiterLimit(value float64)
	Flatness() float64
	SetFlatness(value float64)
	Bounds() foundation.Rect
	ControlPointBounds() foundation.Rect
	CurrentPoint() foundation.Point
	IsEmpty() bool
	ElementCount() int
}

type IBitmapImageRep added in v0.11.0

type IBitmapImageRep interface {
	IImageRep
	ColorizeByMappingGray_ToColor_BlackMapping_WhiteMapping(midPoint float64, midPointColor IColor, shadowColor IColor, lightColor IColor)
	TIFFRepresentationUsingCompression_Factor(comp TIFFCompression, factor float32) []byte
	RepresentationUsingType_Properties(storageType BitmapImageFileType, properties map[BitmapImageRepPropertyKey]objc.IObject) []byte
	CanBeCompressedUsing(compression TIFFCompression) bool
	SetCompression_Factor(compression TIFFCompression, factor float32)
	GetCompression_Factor(compression *TIFFCompression, factor *float32)
	SetProperty_WithValue(property BitmapImageRepPropertyKey, value objc.IObject)
	ValueForProperty(property BitmapImageRepPropertyKey) objc.Object
	IncrementalLoadFromData_Complete(data []byte, complete bool) int
	SetColor_AtX_Y(color IColor, x int, y int)
	ColorAtX_Y(x int, y int) Color
	SetPixel_AtX_Y(p *uint, x int, y int)
	GetPixel_AtX_Y(p *uint, x int, y int)
	BitmapImageRepByConvertingToColorSpace_RenderingIntent(targetSpace IColorSpace, renderingIntent ColorRenderingIntent) BitmapImageRep
	BitmapImageRepByRetaggingWithColorSpace(newSpace IColorSpace) BitmapImageRep
	BitmapFormat() BitmapFormat
	BitsPerPixel() int
	BytesPerPlane() int
	BytesPerRow() int
	IsPlanar() bool
	NumberOfPlanes() int
	SamplesPerPixel() int
	BitmapData() *byte
	TIFFRepresentation() []byte
	CGImage() coregraphics.ImageRef
	ColorSpace() ColorSpace
}

type IBox added in v0.11.0

type IBox interface {
	IView
	// deprecated
	SetTitleWithMnemonic(stringWithAmpersand string)
	SetFrameFromContentFrame(contentFrame foundation.Rect)
	SizeToFit()
	BorderRect() foundation.Rect
	BoxType() BoxType
	SetBoxType(value BoxType)
	// deprecated
	BorderType() BorderType
	// deprecated
	SetBorderType(value BorderType)
	IsTransparent() bool
	SetTransparent(value bool)
	Title() string
	SetTitle(value string)
	TitleFont() Font
	SetTitleFont(value IFont)
	TitlePosition() TitlePosition
	SetTitlePosition(value TitlePosition)
	TitleCell() objc.Object
	TitleRect() foundation.Rect
	BorderColor() Color
	SetBorderColor(value IColor)
	BorderWidth() float64
	SetBorderWidth(value float64)
	CornerRadius() float64
	SetCornerRadius(value float64)
	FillColor() Color
	SetFillColor(value IColor)
	ContentView() View
	SetContentView(value IView)
	ContentViewMargins() foundation.Size
	SetContentViewMargins(value foundation.Size)
}

type IBrowser added in v0.11.0

type IBrowser interface {
	IControl
	Tile()
	SelectedRowIndexesInColumn(column int) foundation.IndexSet
	SelectRowIndexes_InColumn(indexes foundation.IIndexSet, column int)
	SelectedCellInColumn(column int) objc.Object
	SelectAll(sender objc.IObject)
	SelectedRowInColumn(column int) int
	SelectRow_InColumn(row int, column int)
	LoadedCellAtRow_Column(row int, col int) objc.Object
	EditItemAtIndexPath_WithEvent_Select(indexPath foundation.IIndexPath, event IEvent, select_ bool)
	ItemAtIndexPath(indexPath foundation.IIndexPath) objc.Object
	ItemAtRow_InColumn(row int, column int) objc.Object
	IndexPathForColumn(column int) foundation.IndexPath
	IsLeafItem(item objc.IObject) bool
	ParentForItemsInColumn(column int) objc.Object
	Path() string
	SetPath(path string) bool
	PathToColumn(column int) string
	AddColumn()
	ValidateVisibleColumns()
	LoadColumnZero()
	ReloadColumn(column int)
	TitleOfColumn(column int) string
	SetTitle_OfColumn(string_ string, column int)
	DrawTitleOfColumn_InRect(column int, rect foundation.Rect)
	TitleFrameOfColumn(column int) foundation.Rect
	NoteHeightOfRowsWithIndexesChanged_InColumn(indexSet foundation.IIndexSet, columnIndex int)
	ReloadDataForRowIndexes_InColumn(rowIndexes foundation.IIndexSet, column int)
	ScrollColumnToVisible(column int)
	ScrollColumnsLeftBy(shiftAmount int)
	ScrollColumnsRightBy(shiftAmount int)
	ScrollRowToVisible_InColumn(row int, column int)
	SetDraggingSourceOperationMask_ForLocal(mask DragOperation, isLocal bool)
	CanDragRowsWithIndexes_InColumn_WithEvent(rowIndexes foundation.IIndexSet, column int, event IEvent) bool
	DraggingImageForRowsWithIndexes_InColumn_WithEvent_Offset(rowIndexes foundation.IIndexSet, column int, event IEvent, dragImageOffset *foundation.Point) Image
	FrameOfColumn(column int) foundation.Rect
	FrameOfInsideOfColumn(column int) foundation.Rect
	FrameOfRow_InColumn(row int, column int) foundation.Rect
	GetRow_Column_ForPoint(row *int, column *int, point foundation.Point) bool
	SendAction() bool
	DoClick(sender objc.IObject)
	DoDoubleClick(sender objc.IObject)
	ColumnContentWidthForColumnWidth(columnWidth float64) float64
	ColumnWidthForColumnContentWidth(columnContentWidth float64) float64
	WidthOfColumn(column int) float64
	SetWidth_OfColumn(columnWidth float64, columnIndex int)
	DefaultColumnWidth() float64
	SetDefaultColumnWidth(columnWidth float64)
	// deprecated
	UpdateScroller()
	// deprecated
	ScrollViaScroller(sender IScroller)
	// deprecated
	DisplayAllColumns()
	// deprecated
	DisplayColumn(column int)
	// deprecated
	ColumnOfMatrix(matrix IMatrix) int
	// deprecated
	MatrixInColumn(column int) Matrix
	// deprecated
	MatrixClass() objc.Class
	// deprecated
	SetMatrixClass(factoryId objc.IClass)
	// deprecated
	AcceptsArrowKeys() bool
	// deprecated
	SetAcceptsArrowKeys(flag bool)
	ReusesColumns() bool
	SetReusesColumns(value bool)
	MaxVisibleColumns() int
	SetMaxVisibleColumns(value int)
	AutohidesScroller() bool
	SetAutohidesScroller(value bool)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	MinColumnWidth() float64
	SetMinColumnWidth(value float64)
	SeparatesColumns() bool
	SetSeparatesColumns(value bool)
	TakesTitleFromPreviousColumn() bool
	SetTakesTitleFromPreviousColumn(value bool)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	CellPrototype() objc.Object
	SetCellPrototype(value objc.IObject)
	AllowsBranchSelection() bool
	SetAllowsBranchSelection(value bool)
	AllowsEmptySelection() bool
	SetAllowsEmptySelection(value bool)
	AllowsMultipleSelection() bool
	SetAllowsMultipleSelection(value bool)
	AllowsTypeSelect() bool
	SetAllowsTypeSelect(value bool)
	SelectedCells() []Cell
	SelectionIndexPath() foundation.IndexPath
	SetSelectionIndexPath(value foundation.IIndexPath)
	SelectionIndexPaths() []foundation.IndexPath
	SetSelectionIndexPaths(value []foundation.IIndexPath)
	PathSeparator() string
	SetPathSeparator(value string)
	SelectedColumn() int
	LastColumn() int
	SetLastColumn(value int)
	FirstVisibleColumn() int
	NumberOfVisibleColumns() int
	LastVisibleColumn() int
	IsLoaded() bool
	IsTitled() bool
	SetTitled(value bool)
	TitleHeight() float64
	HasHorizontalScroller() bool
	SetHasHorizontalScroller(value bool)
	DoubleAction() objc.Selector
	SetDoubleAction(value objc.Selector)
	SendsActionOnArrowKeys() bool
	SetSendsActionOnArrowKeys(value bool)
	ClickedColumn() int
	ClickedRow() int
	ColumnsAutosaveName() BrowserColumnsAutosaveName
	SetColumnsAutosaveName(value BrowserColumnsAutosaveName)
	ColumnResizingType() BrowserColumnResizingType
	SetColumnResizingType(value BrowserColumnResizingType)
	PrefersAllColumnUserResizing() bool
	SetPrefersAllColumnUserResizing(value bool)
	RowHeight() float64
	SetRowHeight(value float64)
}

type IBrowserCell added in v0.11.0

type IBrowserCell interface {
	ICell
	Reset()
	Set()
	HighlightColorInView(controlView IView) Color
	AlternateImage() Image
	SetAlternateImage(value IImage)
	IsLeaf() bool
	SetLeaf(value bool)
	IsLoaded() bool
	SetLoaded(value bool)
}

type IButton added in v0.11.0

type IButton interface {
	IControl
	SetButtonType(type_ ButtonType)
	GetPeriodicDelay_Interval(delay *float32, interval *float32)
	SetPeriodicDelay_Interval(delay float32, interval float32)
	// deprecated
	SetTitleWithMnemonic(stringWithAmpersand string)
	CompressWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions)
	MinimumSizeWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions) foundation.Size
	SetNextState()
	Highlight(flag bool)
	ContentTintColor() Color
	SetContentTintColor(value IColor)
	HasDestructiveAction() bool
	SetHasDestructiveAction(value bool)
	AlternateTitle() string
	SetAlternateTitle(value string)
	AttributedTitle() foundation.AttributedString
	SetAttributedTitle(value foundation.IAttributedString)
	AttributedAlternateTitle() foundation.AttributedString
	SetAttributedAlternateTitle(value foundation.IAttributedString)
	Title() string
	SetTitle(value string)
	SymbolConfiguration() ImageSymbolConfiguration
	SetSymbolConfiguration(value IImageSymbolConfiguration)
	Sound() Sound
	SetSound(value ISound)
	IsSpringLoaded() bool
	SetSpringLoaded(value bool)
	MaxAcceleratorLevel() int
	SetMaxAcceleratorLevel(value int)
	Image() Image
	SetImage(value IImage)
	AlternateImage() Image
	SetAlternateImage(value IImage)
	ImagePosition() CellImagePosition
	SetImagePosition(value CellImagePosition)
	IsBordered() bool
	SetBordered(value bool)
	IsTransparent() bool
	SetTransparent(value bool)
	BezelStyle() BezelStyle
	SetBezelStyle(value BezelStyle)
	BezelColor() Color
	SetBezelColor(value IColor)
	ShowsBorderOnlyWhileMouseInside() bool
	SetShowsBorderOnlyWhileMouseInside(value bool)
	ImageHugsTitle() bool
	SetImageHugsTitle(value bool)
	ImageScaling() ImageScaling
	SetImageScaling(value ImageScaling)
	ActiveCompressionOptions() UserInterfaceCompressionOptions
	AllowsMixedState() bool
	SetAllowsMixedState(value bool)
	State() ControlStateValue
	SetState(value ControlStateValue)
	KeyEquivalent() string
	SetKeyEquivalent(value string)
	KeyEquivalentModifierMask() EventModifierFlags
	SetKeyEquivalentModifierMask(value EventModifierFlags)
}

type IButtonCell added in v0.11.0

type IButtonCell interface {
	IActionCell
	// deprecated
	AlternateMnemonic() string
	// deprecated
	AlternateMnemonicLocation() uint
	// deprecated
	SetAlternateMnemonicLocation(location uint)
	// deprecated
	SetAlternateTitleWithMnemonic(stringWithAmpersand string)
	SetPeriodicDelay_Interval(delay float32, interval float32)
	// deprecated
	SetKeyEquivalentFont_Size(fontName string, fontSize float64)
	SetButtonType(type_ ButtonType)
	MouseEntered(event IEvent)
	MouseExited(event IEvent)
	DrawBezelWithFrame_InView(frame foundation.Rect, controlView IView)
	DrawImage_WithFrame_InView(image IImage, frame foundation.Rect, controlView IView)
	DrawTitle_WithFrame_InView(title foundation.IAttributedString, frame foundation.Rect, controlView IView) foundation.Rect
	AlternateTitle() string
	SetAlternateTitle(value string)
	AttributedAlternateTitle() foundation.AttributedString
	SetAttributedAlternateTitle(value foundation.IAttributedString)
	AttributedTitle() foundation.AttributedString
	SetAttributedTitle(value foundation.IAttributedString)
	AlternateImage() Image
	SetAlternateImage(value IImage)
	ImagePosition() CellImagePosition
	SetImagePosition(value CellImagePosition)
	ImageScaling() ImageScaling
	SetImageScaling(value ImageScaling)
	SetKeyEquivalent(value string)
	// deprecated
	KeyEquivalentFont() Font
	// deprecated
	SetKeyEquivalentFont(value IFont)
	KeyEquivalentModifierMask() EventModifierFlags
	SetKeyEquivalentModifierMask(value EventModifierFlags)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	BezelStyle() BezelStyle
	SetBezelStyle(value BezelStyle)
	// deprecated
	GradientType() GradientType
	// deprecated
	SetGradientType(value GradientType)
	ImageDimsWhenDisabled() bool
	SetImageDimsWhenDisabled(value bool)
	IsTransparent() bool
	SetTransparent(value bool)
	ShowsBorderOnlyWhileMouseInside() bool
	SetShowsBorderOnlyWhileMouseInside(value bool)
	HighlightsBy() CellStyleMask
	SetHighlightsBy(value CellStyleMask)
	ShowsStateBy() CellStyleMask
	SetShowsStateBy(value CellStyleMask)
	Sound() Sound
	SetSound(value ISound)
}

type ICandidateListTouchBarItem added in v0.11.0

type ICandidateListTouchBarItem interface {
	ITouchBarItem
	UpdateWithInsertionPointVisibility(isVisible bool)
	Client() View
	SetClient(value IView)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	AllowsTextInputContextCandidates() bool
	SetAllowsTextInputContextCandidates(value bool)
	AllowsCollapsing() bool
	SetAllowsCollapsing(value bool)
	IsCollapsed() bool
	SetCollapsed(value bool)
	IsCandidateListVisible() bool
	SetCustomizationLabel(value string)
}

type ICell added in v0.11.0

type ICell interface {
	objc.IObject
	SetCellAttribute_To(parameter CellAttribute, value int)
	CellAttribute(parameter CellAttribute) int
	SetNextState()
	SetUpFieldEditorAttributes(textObj IText) Text
	SendActionOn(mask EventMask) int
	MenuForEvent_InRect_OfView(event IEvent, cellFrame foundation.Rect, view IView) Menu
	Compare(otherCell objc.IObject) foundation.ComparisonResult
	PerformClick(sender objc.IObject)
	TakeObjectValueFrom(sender objc.IObject)
	TakeIntegerValueFrom(sender objc.IObject)
	TakeIntValueFrom(sender objc.IObject)
	TakeStringValueFrom(sender objc.IObject)
	TakeDoubleValueFrom(sender objc.IObject)
	TakeFloatValueFrom(sender objc.IObject)
	TrackMouse_InRect_OfView_UntilMouseUp(event IEvent, cellFrame foundation.Rect, controlView IView, flag bool) bool
	StartTrackingAt_InView(startPoint foundation.Point, controlView IView) bool
	ContinueTracking_At_InView(lastPoint foundation.Point, currentPoint foundation.Point, controlView IView) bool
	StopTracking_At_InView_MouseIsUp(lastPoint foundation.Point, stopPoint foundation.Point, controlView IView, flag bool)
	GetPeriodicDelay_Interval(delay *float32, interval *float32)
	HitTestForEvent_InRect_OfView(event IEvent, cellFrame foundation.Rect, controlView IView) CellHitResult
	ResetCursorRect_InView(cellFrame foundation.Rect, controlView IView)
	DraggingImageComponentsWithFrame_InView(frame foundation.Rect, view IView) []DraggingImageComponent
	DrawFocusRingMaskWithFrame_InView(cellFrame foundation.Rect, controlView IView)
	FocusRingMaskBoundsForFrame_InView(cellFrame foundation.Rect, controlView IView) foundation.Rect
	CalcDrawInfo(rect foundation.Rect)
	CellSizeForBounds(rect foundation.Rect) foundation.Size
	DrawingRectForBounds(rect foundation.Rect) foundation.Rect
	ImageRectForBounds(rect foundation.Rect) foundation.Rect
	TitleRectForBounds(rect foundation.Rect) foundation.Rect
	DrawWithFrame_InView(cellFrame foundation.Rect, controlView IView)
	HighlightColorWithFrame_InView(cellFrame foundation.Rect, controlView IView) Color
	DrawInteriorWithFrame_InView(cellFrame foundation.Rect, controlView IView)
	Highlight_WithFrame_InView(flag bool, cellFrame foundation.Rect, controlView IView)
	EditWithFrame_InView_Editor_Delegate_Event(rect foundation.Rect, controlView IView, textObj IText, delegate objc.IObject, event IEvent)
	SelectWithFrame_InView_Editor_Delegate_Start_Length(rect foundation.Rect, controlView IView, textObj IText, delegate objc.IObject, selStart int, selLength int)
	EndEditing(textObj IText)
	FieldEditorForView(controlView IView) TextView
	ExpansionFrameWithFrame_InView(cellFrame foundation.Rect, view IView) foundation.Rect
	DrawWithExpansionFrame_InView(cellFrame foundation.Rect, view IView)
	// deprecated
	SetEntryType(type_ int)
	// deprecated
	EntryType() int
	// deprecated
	IsEntryAcceptable(string_ string) bool
	// deprecated
	SetFloatingPointFormat_Left_Right(autoRange bool, leftDigits uint, rightDigits uint)
	// deprecated
	SetTitleWithMnemonic(stringWithAmpersand string)
	// deprecated
	Mnemonic() string
	// deprecated
	SetMnemonicLocation(location uint)
	// deprecated
	MnemonicLocation() uint
	ObjectValue() objc.Object
	SetObjectValue(value objc.IObject)
	HasValidObjectValue() bool
	IntValue() int32
	SetIntValue(value int32)
	IntegerValue() int
	SetIntegerValue(value int)
	StringValue() string
	SetStringValue(value string)
	DoubleValue() float64
	SetDoubleValue(value float64)
	FloatValue() float32
	SetFloatValue(value float32)
	Type() CellType
	SetType(value CellType)
	IsEnabled() bool
	SetEnabled(value bool)
	AllowsUndo() bool
	SetAllowsUndo(value bool)
	IsBezeled() bool
	SetBezeled(value bool)
	IsBordered() bool
	SetBordered(value bool)
	IsOpaque() bool
	// deprecated
	ControlTint() ControlTint
	// deprecated
	SetControlTint(value ControlTint)
	BackgroundStyle() BackgroundStyle
	SetBackgroundStyle(value BackgroundStyle)
	InteriorBackgroundStyle() BackgroundStyle
	AllowsMixedState() bool
	SetAllowsMixedState(value bool)
	NextState() int
	State() ControlStateValue
	SetState(value ControlStateValue)
	IsEditable() bool
	SetEditable(value bool)
	IsSelectable() bool
	SetSelectable(value bool)
	IsScrollable() bool
	SetScrollable(value bool)
	Alignment() TextAlignment
	SetAlignment(value TextAlignment)
	Font() Font
	SetFont(value IFont)
	LineBreakMode() LineBreakMode
	SetLineBreakMode(value LineBreakMode)
	TruncatesLastVisibleLine() bool
	SetTruncatesLastVisibleLine(value bool)
	Wraps() bool
	SetWraps(value bool)
	BaseWritingDirection() WritingDirection
	SetBaseWritingDirection(value WritingDirection)
	AttributedStringValue() foundation.AttributedString
	SetAttributedStringValue(value foundation.IAttributedString)
	AllowsEditingTextAttributes() bool
	SetAllowsEditingTextAttributes(value bool)
	ImportsGraphics() bool
	SetImportsGraphics(value bool)
	Title() string
	SetTitle(value string)
	Action() objc.Selector
	SetAction(value objc.Selector)
	Target() objc.Object
	SetTarget(value objc.IObject)
	IsContinuous() bool
	SetContinuous(value bool)
	Image() Image
	SetImage(value IImage)
	Tag() int
	SetTag(value int)
	Formatter() foundation.Formatter
	SetFormatter(value foundation.IFormatter)
	Menu() Menu
	SetMenu(value IMenu)
	AcceptsFirstResponder() bool
	ShowsFirstResponder() bool
	SetShowsFirstResponder(value bool)
	RefusesFirstResponder() bool
	SetRefusesFirstResponder(value bool)
	RepresentedObject() objc.Object
	SetRepresentedObject(value objc.IObject)
	MouseDownFlags() int
	KeyEquivalent() string
	FocusRingType() FocusRingType
	SetFocusRingType(value FocusRingType)
	CellSize() foundation.Size
	ControlSize() ControlSize
	SetControlSize(value ControlSize)
	ControlView() View
	SetControlView(value IView)
	IsHighlighted() bool
	SetHighlighted(value bool)
	SendsActionOnEndEditing() bool
	SetSendsActionOnEndEditing(value bool)
	WantsNotificationForMarkedText() bool
	UsesSingleLineMode() bool
	SetUsesSingleLineMode(value bool)
	UserInterfaceLayoutDirection() UserInterfaceLayoutDirection
	SetUserInterfaceLayoutDirection(value UserInterfaceLayoutDirection)
}

type IClipView added in v0.11.0

type IClipView interface {
	IView
	ScrollToPoint(newOrigin foundation.Point)
	// deprecated
	ConstrainScrollPoint(newOrigin foundation.Point) foundation.Point
	ConstrainBoundsRect(proposedBounds foundation.Rect) foundation.Rect
	ViewBoundsChanged(notification foundation.INotification)
	ViewFrameChanged(notification foundation.INotification)
	DocumentView() View
	SetDocumentView(value IView)
	// deprecated
	CopiesOnScroll() bool
	// deprecated
	SetCopiesOnScroll(value bool)
	ContentInsets() foundation.EdgeInsets
	SetContentInsets(value foundation.EdgeInsets)
	AutomaticallyAdjustsContentInsets() bool
	SetAutomaticallyAdjustsContentInsets(value bool)
	DocumentRect() foundation.Rect
	DocumentVisibleRect() foundation.Rect
	DocumentCursor() Cursor
	SetDocumentCursor(value ICursor)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
}

type ICollectionLayoutAnchor added in v0.11.0

type ICollectionLayoutAnchor interface {
	objc.IObject
	Edges() DirectionalRectEdge
	Offset() foundation.Point
	IsAbsoluteOffset() bool
	IsFractionalOffset() bool
}

type ICollectionLayoutBoundarySupplementaryItem added in v0.11.0

type ICollectionLayoutBoundarySupplementaryItem interface {
	ICollectionLayoutSupplementaryItem
	PinToVisibleBounds() bool
	SetPinToVisibleBounds(value bool)
	Offset() foundation.Point
	Alignment() RectAlignment
	ExtendsBoundary() bool
	SetExtendsBoundary(value bool)
}

type ICollectionLayoutDecorationItem added in v0.11.0

type ICollectionLayoutDecorationItem interface {
	ICollectionLayoutItem
	ElementKind() string
	ZIndex() int
	SetZIndex(value int)
}

type ICollectionLayoutDimension added in v0.11.0

type ICollectionLayoutDimension interface {
	objc.IObject
	Dimension() float64
	IsAbsolute() bool
	IsEstimated() bool
	IsFractionalHeight() bool
	IsFractionalWidth() bool
}

type ICollectionLayoutEdgeSpacing added in v0.11.0

type ICollectionLayoutEdgeSpacing interface {
	objc.IObject
	Leading() CollectionLayoutSpacing
	Top() CollectionLayoutSpacing
	Trailing() CollectionLayoutSpacing
	Bottom() CollectionLayoutSpacing
}

type ICollectionLayoutGroup added in v0.11.0

type ICollectionLayoutGroup interface {
	ICollectionLayoutItem
	VisualDescription() string
	Subitems() []CollectionLayoutItem
	SetSupplementaryItems(value []ICollectionLayoutSupplementaryItem)
	InterItemSpacing() CollectionLayoutSpacing
	SetInterItemSpacing(value ICollectionLayoutSpacing)
}

type ICollectionLayoutGroupCustomItem added in v0.11.0

type ICollectionLayoutGroupCustomItem interface {
	objc.IObject
	Frame() foundation.Rect
	ZIndex() int
}

type ICollectionLayoutItem added in v0.11.0

type ICollectionLayoutItem interface {
	objc.IObject
	LayoutSize() CollectionLayoutSize
	SupplementaryItems() []CollectionLayoutSupplementaryItem
	EdgeSpacing() CollectionLayoutEdgeSpacing
	SetEdgeSpacing(value ICollectionLayoutEdgeSpacing)
	ContentInsets() DirectionalEdgeInsets
	SetContentInsets(value DirectionalEdgeInsets)
}

type ICollectionLayoutSection added in v0.11.0

type ICollectionLayoutSection interface {
	objc.IObject
	OrthogonalScrollingBehavior() CollectionLayoutSectionOrthogonalScrollingBehavior
	SetOrthogonalScrollingBehavior(value CollectionLayoutSectionOrthogonalScrollingBehavior)
	InterGroupSpacing() float64
	SetInterGroupSpacing(value float64)
	ContentInsets() DirectionalEdgeInsets
	SetContentInsets(value DirectionalEdgeInsets)
	BoundarySupplementaryItems() []CollectionLayoutBoundarySupplementaryItem
	SetBoundarySupplementaryItems(value []ICollectionLayoutBoundarySupplementaryItem)
	DecorationItems() []CollectionLayoutDecorationItem
	SetDecorationItems(value []ICollectionLayoutDecorationItem)
	SupplementariesFollowContentInsets() bool
	SetSupplementariesFollowContentInsets(value bool)
}

type ICollectionLayoutSize added in v0.11.0

type ICollectionLayoutSize interface {
	objc.IObject
	WidthDimension() CollectionLayoutDimension
	HeightDimension() CollectionLayoutDimension
}

type ICollectionLayoutSpacing added in v0.11.0

type ICollectionLayoutSpacing interface {
	objc.IObject
	Spacing() float64
	IsFixedSpacing() bool
	IsFlexibleSpacing() bool
}

type ICollectionLayoutSupplementaryItem added in v0.11.0

type ICollectionLayoutSupplementaryItem interface {
	ICollectionLayoutItem
	ItemAnchor() CollectionLayoutAnchor
	ContainerAnchor() CollectionLayoutAnchor
	ElementKind() string
	ZIndex() int
	SetZIndex(value int)
}

type ICollectionView added in v0.11.0

type ICollectionView interface {
	IView
	MakeItemWithIdentifier_ForIndexPath(identifier UserInterfaceItemIdentifier, indexPath foundation.IIndexPath) CollectionViewItem
	RegisterClass_ForItemWithIdentifier(itemClass objc.IClass, identifier UserInterfaceItemIdentifier)
	RegisterNib_ForItemWithIdentifier(nib INib, identifier UserInterfaceItemIdentifier)
	MakeSupplementaryViewOfKind_WithIdentifier_ForIndexPath(elementKind CollectionViewSupplementaryElementKind, identifier UserInterfaceItemIdentifier, indexPath foundation.IIndexPath) View
	RegisterClass_ForSupplementaryViewOfKind_WithIdentifier(viewClass objc.IClass, kind CollectionViewSupplementaryElementKind, identifier UserInterfaceItemIdentifier)
	RegisterNib_ForSupplementaryViewOfKind_WithIdentifier(nib INib, kind CollectionViewSupplementaryElementKind, identifier UserInterfaceItemIdentifier)
	ReloadData()
	ReloadSections(sections foundation.IIndexSet)
	ReloadItemsAtIndexPaths(indexPaths foundation.ISet)
	NumberOfItemsInSection(section int) int
	InsertItemsAtIndexPaths(indexPaths foundation.ISet)
	MoveItemAtIndexPath_ToIndexPath(indexPath foundation.IIndexPath, newIndexPath foundation.IIndexPath)
	DeleteItemsAtIndexPaths(indexPaths foundation.ISet)
	InsertSections(sections foundation.IIndexSet)
	MoveSection_ToSection(section int, newSection int)
	DeleteSections(sections foundation.IIndexSet)
	ToggleSectionCollapse(sender objc.IObject)
	SelectAll(sender objc.IObject)
	DeselectAll(sender objc.IObject)
	SelectItemsAtIndexPaths_ScrollPosition(indexPaths foundation.ISet, scrollPosition CollectionViewScrollPosition)
	DeselectItemsAtIndexPaths(indexPaths foundation.ISet)
	VisibleItems() []CollectionViewItem
	IndexPathsForVisibleItems() foundation.Set
	VisibleSupplementaryViewsOfKind(elementKind CollectionViewSupplementaryElementKind) []View
	IndexPathsForVisibleSupplementaryElementsOfKind(elementKind CollectionViewSupplementaryElementKind) foundation.Set
	IndexPathForItem(item ICollectionViewItem) foundation.IndexPath
	IndexPathForItemAtPoint(point foundation.Point) foundation.IndexPath
	ItemAtIndexPath(indexPath foundation.IIndexPath) CollectionViewItem
	SupplementaryViewForElementKind_AtIndexPath(elementKind CollectionViewSupplementaryElementKind, indexPath foundation.IIndexPath) View
	ScrollToItemsAtIndexPaths_ScrollPosition(indexPaths foundation.ISet, scrollPosition CollectionViewScrollPosition)
	LayoutAttributesForItemAtIndexPath(indexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	LayoutAttributesForSupplementaryElementOfKind_AtIndexPath(kind CollectionViewSupplementaryElementKind, indexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	PerformBatchUpdates_CompletionHandler(updates func(), completionHandler func(finished bool))
	DraggingImageForItemsAtIndexPaths_WithEvent_Offset(indexPaths foundation.ISet, event IEvent, dragImageOffset *foundation.Point) Image
	// deprecated
	NewItemForRepresentedObject(object objc.IObject) CollectionViewItem
	ItemAtIndex(index uint) CollectionViewItem
	FrameForItemAtIndex(index uint) foundation.Rect
	FrameForItemAtIndex_WithNumberOfItems(index uint, numberOfItems uint) foundation.Rect
	DraggingImageForItemsAtIndexes_WithEvent_Offset(indexes foundation.IIndexSet, event IEvent, dragImageOffset *foundation.Point) Image
	SetDraggingSourceOperationMask_ForLocal(dragOperationMask DragOperation, localDestination bool)
	DataSource() objc.Object
	SetDataSource(value objc.IObject)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	Content() []objc.Object
	SetContent(value []objc.IObject)
	BackgroundView() View
	SetBackgroundView(value IView)
	BackgroundColors() []Color
	SetBackgroundColors(value []IColor)
	BackgroundViewScrollsWithContent() bool
	SetBackgroundViewScrollsWithContent(value bool)
	CollectionViewLayout() CollectionViewLayout
	SetCollectionViewLayout(value ICollectionViewLayout)
	PrefetchDataSource() objc.Object
	SetPrefetchDataSource(value objc.IObject)
	NumberOfSections() int
	IsSelectable() bool
	SetSelectable(value bool)
	AllowsMultipleSelection() bool
	SetAllowsMultipleSelection(value bool)
	AllowsEmptySelection() bool
	SetAllowsEmptySelection(value bool)
	SelectionIndexPaths() foundation.Set
	SetSelectionIndexPaths(value foundation.ISet)
	IsFirstResponder() bool
	// deprecated
	ItemPrototype() CollectionViewItem
	// deprecated
	SetItemPrototype(value ICollectionViewItem)
	SelectionIndexes() foundation.IndexSet
	SetSelectionIndexes(value foundation.IIndexSet)
	// deprecated
	MaxNumberOfRows() uint
	// deprecated
	SetMaxNumberOfRows(value uint)
	// deprecated
	MaxNumberOfColumns() uint
	// deprecated
	SetMaxNumberOfColumns(value uint)
	// deprecated
	MinItemSize() foundation.Size
	// deprecated
	SetMinItemSize(value foundation.Size)
	// deprecated
	MaxItemSize() foundation.Size
	// deprecated
	SetMaxItemSize(value foundation.Size)
}

type ICollectionViewCompositionalLayout added in v0.11.0

type ICollectionViewCompositionalLayout interface {
	ICollectionViewLayout
	Configuration() CollectionViewCompositionalLayoutConfiguration
	SetConfiguration(value ICollectionViewCompositionalLayoutConfiguration)
}

type ICollectionViewCompositionalLayoutConfiguration added in v0.11.0

type ICollectionViewCompositionalLayoutConfiguration interface {
	objc.IObject
	ScrollDirection() CollectionViewScrollDirection
	SetScrollDirection(value CollectionViewScrollDirection)
	InterSectionSpacing() float64
	SetInterSectionSpacing(value float64)
	BoundarySupplementaryItems() []CollectionLayoutBoundarySupplementaryItem
	SetBoundarySupplementaryItems(value []ICollectionLayoutBoundarySupplementaryItem)
}

type ICollectionViewDiffableDataSource added in v0.11.0

type ICollectionViewDiffableDataSource interface {
	objc.IObject
	ItemIdentifierForIndexPath(indexPath foundation.IIndexPath) objc.Object
	IndexPathForItemIdentifier(identifier objc.IObject) foundation.IndexPath
	Snapshot() DiffableDataSourceSnapshot
	ApplySnapshot_AnimatingDifferences(snapshot IDiffableDataSourceSnapshot, animatingDifferences bool)
	SupplementaryViewProvider() func(param1 ICollectionView, param2 string, param3 foundation.IIndexPath) View
	SetSupplementaryViewProvider(value func(param1 CollectionView, param2 string, param3 foundation.IndexPath) IView)
}

type ICollectionViewFlowLayout added in v0.11.0

type ICollectionViewFlowLayout interface {
	ICollectionViewLayout
	CollapseSectionAtIndex(sectionIndex uint)
	ExpandSectionAtIndex(sectionIndex uint)
	SectionAtIndexIsCollapsed(sectionIndex uint) bool
	ScrollDirection() CollectionViewScrollDirection
	SetScrollDirection(value CollectionViewScrollDirection)
	MinimumLineSpacing() float64
	SetMinimumLineSpacing(value float64)
	MinimumInteritemSpacing() float64
	SetMinimumInteritemSpacing(value float64)
	EstimatedItemSize() foundation.Size
	SetEstimatedItemSize(value foundation.Size)
	ItemSize() foundation.Size
	SetItemSize(value foundation.Size)
	SectionInset() foundation.EdgeInsets
	SetSectionInset(value foundation.EdgeInsets)
	HeaderReferenceSize() foundation.Size
	SetHeaderReferenceSize(value foundation.Size)
	FooterReferenceSize() foundation.Size
	SetFooterReferenceSize(value foundation.Size)
	SectionFootersPinToVisibleBounds() bool
	SetSectionFootersPinToVisibleBounds(value bool)
	SectionHeadersPinToVisibleBounds() bool
	SetSectionHeadersPinToVisibleBounds(value bool)
}

type ICollectionViewFlowLayoutInvalidationContext added in v0.11.0

type ICollectionViewFlowLayoutInvalidationContext interface {
	ICollectionViewLayoutInvalidationContext
	InvalidateFlowLayoutAttributes() bool
	SetInvalidateFlowLayoutAttributes(value bool)
	InvalidateFlowLayoutDelegateMetrics() bool
	SetInvalidateFlowLayoutDelegateMetrics(value bool)
}

type ICollectionViewGridLayout added in v0.11.0

type ICollectionViewGridLayout interface {
	ICollectionViewLayout
	MaximumNumberOfRows() uint
	SetMaximumNumberOfRows(value uint)
	MaximumNumberOfColumns() uint
	SetMaximumNumberOfColumns(value uint)
	MinimumItemSize() foundation.Size
	SetMinimumItemSize(value foundation.Size)
	MaximumItemSize() foundation.Size
	SetMaximumItemSize(value foundation.Size)
	MinimumInteritemSpacing() float64
	SetMinimumInteritemSpacing(value float64)
	MinimumLineSpacing() float64
	SetMinimumLineSpacing(value float64)
	Margins() foundation.EdgeInsets
	SetMargins(value foundation.EdgeInsets)
	BackgroundColors() []Color
	SetBackgroundColors(value []IColor)
}

type ICollectionViewItem added in v0.11.0

type ICollectionViewItem interface {
	IViewController
	ImageView() ImageView
	SetImageView(value IImageView)
	TextField() TextField
	SetTextField(value ITextField)
	IsSelected() bool
	SetSelected(value bool)
	HighlightState() CollectionViewItemHighlightState
	SetHighlightState(value CollectionViewItemHighlightState)
	CollectionView() CollectionView
	DraggingImageComponents() []DraggingImageComponent
}

type ICollectionViewLayout added in v0.11.0

type ICollectionViewLayout interface {
	objc.IObject
	PrepareLayout()
	LayoutAttributesForElementsInRect(rect foundation.Rect) []CollectionViewLayoutAttributes
	LayoutAttributesForItemAtIndexPath(indexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	LayoutAttributesForSupplementaryViewOfKind_AtIndexPath(elementKind CollectionViewSupplementaryElementKind, indexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	LayoutAttributesForDecorationViewOfKind_AtIndexPath(elementKind CollectionViewDecorationElementKind, indexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	LayoutAttributesForDropTargetAtPoint(pointInCollectionView foundation.Point) CollectionViewLayoutAttributes
	LayoutAttributesForInterItemGapBeforeIndexPath(indexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	TargetContentOffsetForProposedContentOffset(proposedContentOffset foundation.Point) foundation.Point
	TargetContentOffsetForProposedContentOffset_WithScrollingVelocity(proposedContentOffset foundation.Point, velocity foundation.Point) foundation.Point
	PrepareForCollectionViewUpdates(updateItems []ICollectionViewUpdateItem)
	FinalizeCollectionViewUpdates()
	IndexPathsToInsertForSupplementaryViewOfKind(elementKind CollectionViewSupplementaryElementKind) foundation.Set
	IndexPathsToInsertForDecorationViewOfKind(elementKind CollectionViewDecorationElementKind) foundation.Set
	InitialLayoutAttributesForAppearingItemAtIndexPath(itemIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	InitialLayoutAttributesForAppearingSupplementaryElementOfKind_AtIndexPath(elementKind CollectionViewSupplementaryElementKind, elementIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	InitialLayoutAttributesForAppearingDecorationElementOfKind_AtIndexPath(elementKind CollectionViewDecorationElementKind, decorationIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	IndexPathsToDeleteForSupplementaryViewOfKind(elementKind CollectionViewSupplementaryElementKind) foundation.Set
	IndexPathsToDeleteForDecorationViewOfKind(elementKind CollectionViewDecorationElementKind) foundation.Set
	FinalLayoutAttributesForDisappearingItemAtIndexPath(itemIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	FinalLayoutAttributesForDisappearingSupplementaryElementOfKind_AtIndexPath(elementKind CollectionViewSupplementaryElementKind, elementIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	FinalLayoutAttributesForDisappearingDecorationElementOfKind_AtIndexPath(elementKind CollectionViewDecorationElementKind, decorationIndexPath foundation.IIndexPath) CollectionViewLayoutAttributes
	InvalidateLayout()
	InvalidateLayoutWithContext(context ICollectionViewLayoutInvalidationContext)
	ShouldInvalidateLayoutForBoundsChange(newBounds foundation.Rect) bool
	ShouldInvalidateLayoutForPreferredLayoutAttributes_WithOriginalAttributes(preferredAttributes ICollectionViewLayoutAttributes, originalAttributes ICollectionViewLayoutAttributes) bool
	InvalidationContextForBoundsChange(newBounds foundation.Rect) CollectionViewLayoutInvalidationContext
	InvalidationContextForPreferredLayoutAttributes_WithOriginalAttributes(preferredAttributes ICollectionViewLayoutAttributes, originalAttributes ICollectionViewLayoutAttributes) CollectionViewLayoutInvalidationContext
	PrepareForAnimatedBoundsChange(oldBounds foundation.Rect)
	FinalizeAnimatedBoundsChange()
	RegisterClass_ForDecorationViewOfKind(viewClass objc.IClass, elementKind CollectionViewDecorationElementKind)
	RegisterNib_ForDecorationViewOfKind(nib INib, elementKind CollectionViewDecorationElementKind)
	PrepareForTransitionFromLayout(oldLayout ICollectionViewLayout)
	PrepareForTransitionToLayout(newLayout ICollectionViewLayout)
	FinalizeLayoutTransition()
	CollectionView() CollectionView
	CollectionViewContentSize() foundation.Size
}

type ICollectionViewLayoutAttributes added in v0.11.0

type ICollectionViewLayoutAttributes interface {
	objc.IObject
	RepresentedElementCategory() CollectionElementCategory
	IndexPath() foundation.IndexPath
	SetIndexPath(value foundation.IIndexPath)
	RepresentedElementKind() string
	Frame() foundation.Rect
	SetFrame(value foundation.Rect)
	Size() foundation.Size
	SetSize(value foundation.Size)
	Alpha() float64
	SetAlpha(value float64)
	IsHidden() bool
	SetHidden(value bool)
	ZIndex() int
	SetZIndex(value int)
}

type ICollectionViewLayoutInvalidationContext added in v0.11.0

type ICollectionViewLayoutInvalidationContext interface {
	objc.IObject
	InvalidateItemsAtIndexPaths(indexPaths foundation.ISet)
	InvalidateSupplementaryElementsOfKind_AtIndexPaths(elementKind CollectionViewSupplementaryElementKind, indexPaths foundation.ISet)
	InvalidateDecorationElementsOfKind_AtIndexPaths(elementKind CollectionViewDecorationElementKind, indexPaths foundation.ISet)
	InvalidateEverything() bool
	InvalidateDataSourceCounts() bool
	ContentOffsetAdjustment() foundation.Point
	SetContentOffsetAdjustment(value foundation.Point)
	ContentSizeAdjustment() foundation.Size
	SetContentSizeAdjustment(value foundation.Size)
	InvalidatedItemIndexPaths() foundation.Set
	InvalidatedSupplementaryIndexPaths() map[CollectionViewSupplementaryElementKind]foundation.Set
	InvalidatedDecorationIndexPaths() map[CollectionViewDecorationElementKind]foundation.Set
}

type ICollectionViewTransitionLayout added in v0.11.0

type ICollectionViewTransitionLayout interface {
	ICollectionViewLayout
	UpdateValue_ForAnimatedKey(value float64, key CollectionViewTransitionLayoutAnimatedKey)
	ValueForAnimatedKey(key CollectionViewTransitionLayoutAnimatedKey) float64
	TransitionProgress() float64
	SetTransitionProgress(value float64)
	CurrentLayout() CollectionViewLayout
	NextLayout() CollectionViewLayout
}

type ICollectionViewUpdateItem added in v0.11.0

type ICollectionViewUpdateItem interface {
	objc.IObject
	IndexPathBeforeUpdate() foundation.IndexPath
	IndexPathAfterUpdate() foundation.IndexPath
	UpdateAction() CollectionUpdateAction
}

type IColor added in v0.11.0

type IColor interface {
	objc.IObject
	ColorWithSystemEffect(systemEffect ColorSystemEffect) Color
	ColorUsingColorSpace(space IColorSpace) Color
	BlendedColorWithFraction_OfColor(fraction float64, color IColor) Color
	ColorWithAlphaComponent(alpha float64) Color
	HighlightWithLevel(val float64) Color
	ShadowWithLevel(val float64) Color
	// deprecated
	ColorUsingColorSpaceName(name ColorSpaceName) Color
	// deprecated
	ColorUsingColorSpaceName_Device(name ColorSpaceName, deviceDescription map[DeviceDescriptionKey]objc.IObject) Color
	WriteToPasteboard(pasteBoard IPasteboard)
	GetCyan_Magenta_Yellow_Black_Alpha(cyan *float64, magenta *float64, yellow *float64, black *float64, alpha *float64)
	GetHue_Saturation_Brightness_Alpha(hue *float64, saturation *float64, brightness *float64, alpha *float64)
	GetRed_Green_Blue_Alpha(red *float64, green *float64, blue *float64, alpha *float64)
	GetWhite_Alpha(white *float64, alpha *float64)
	GetComponents(components *float64)
	ColorUsingType(type_ ColorType) Color
	DrawSwatchInRect(rect foundation.Rect)
	Set()
	SetFill()
	SetStroke()
	NumberOfComponents() int
	AlphaComponent() float64
	WhiteComponent() float64
	RedComponent() float64
	GreenComponent() float64
	BlueComponent() float64
	CyanComponent() float64
	MagentaComponent() float64
	YellowComponent() float64
	BlackComponent() float64
	HueComponent() float64
	SaturationComponent() float64
	BrightnessComponent() float64
	CatalogNameComponent() ColorListName
	LocalizedCatalogNameComponent() string
	ColorNameComponent() ColorName
	LocalizedColorNameComponent() string
	Type() ColorType
	ColorSpace() ColorSpace
	// deprecated
	ColorSpaceName() ColorSpaceName
	CGColor() coregraphics.ColorRef
	PatternImage() Image
}

type IColorList added in v0.11.0

type IColorList interface {
	objc.IObject
	ColorWithKey(key ColorName) Color
	InsertColor_Key_AtIndex(color IColor, key ColorName, loc uint)
	RemoveColorWithKey(key ColorName)
	SetColor_ForKey(color IColor, key ColorName)
	WriteToURL_Error(url foundation.IURL, errPtr *foundation.Error) bool
	RemoveFile()
	// deprecated
	WriteToFile(path string) bool
	Name() ColorListName
	IsEditable() bool
	AllKeys() []ColorName
}

type IColorPanel added in v0.11.0

type IColorPanel interface {
	IPanel
	SetAction(selector objc.Selector)
	SetTarget(target objc.IObject)
	AttachColorList(colorList IColorList)
	DetachColorList(colorList IColorList)
	// deprecated
	ChangeColor(sender objc.IObject)
	Mode() ColorPanelMode
	SetMode(value ColorPanelMode)
	AccessoryView() View
	SetAccessoryView(value IView)
	IsContinuous() bool
	SetContinuous(value bool)
	ShowsAlpha() bool
	SetShowsAlpha(value bool)
	Color() Color
	SetColor(value IColor)
	Alpha() float64
}

type IColorPicker added in v0.11.0

type IColorPicker interface {
	objc.IObject
	InsertNewButtonImage_In(newButtonImage IImage, buttonCell IButtonCell)
	SetMode(mode ColorPanelMode)
	AttachColorList(colorList IColorList)
	DetachColorList(colorList IColorList)
	ViewSizeChanged(sender objc.IObject)
	ColorPanel() ColorPanel
	ProvideNewButtonImage() Image
	ButtonToolTip() string
	MinContentSize() foundation.Size
}

type IColorSpace added in v0.11.0

type IColorSpace interface {
	objc.IObject
	CGColorSpace() coregraphics.ColorSpaceRef
	ColorSpaceModel() ColorSpaceModel
	ColorSyncProfile() unsafe.Pointer
	ICCProfileData() []byte
	LocalizedName() string
	NumberOfColorComponents() int
}

type IColorWell added in v0.11.0

type IColorWell interface {
	IControl
	TakeColorFrom(sender objc.IObject)
	Activate(exclusive bool)
	Deactivate()
	DrawWellInside(insideRect foundation.Rect)
	Color() Color
	SetColor(value IColor)
	ColorWellStyle() ColorWellStyle
	SetColorWellStyle(value ColorWellStyle)
	Image() Image
	SetImage(value IImage)
	// deprecated
	IsBordered() bool
	// deprecated
	SetBordered(value bool)
	IsActive() bool
	PulldownAction() objc.Selector
	SetPulldownAction(value objc.Selector)
	PulldownTarget() objc.Object
	SetPulldownTarget(value objc.IObject)
}

type IComboBox added in v0.11.0

type IComboBox interface {
	ITextField
	AddItemsWithObjectValues(objects []objc.IObject)
	AddItemWithObjectValue(object objc.IObject)
	InsertItemWithObjectValue_AtIndex(object objc.IObject, index int)
	RemoveAllItems()
	RemoveItemAtIndex(index int)
	RemoveItemWithObjectValue(object objc.IObject)
	IndexOfItemWithObjectValue(object objc.IObject) int
	ItemObjectValueAtIndex(index int) objc.Object
	NoteNumberOfItemsChanged()
	ReloadData()
	ScrollItemAtIndexToTop(index int)
	ScrollItemAtIndexToVisible(index int)
	DeselectItemAtIndex(index int)
	SelectItemAtIndex(index int)
	SelectItemWithObjectValue(object objc.IObject)
	HasVerticalScroller() bool
	SetHasVerticalScroller(value bool)
	IntercellSpacing() foundation.Size
	SetIntercellSpacing(value foundation.Size)
	IsButtonBordered() bool
	SetButtonBordered(value bool)
	ItemHeight() float64
	SetItemHeight(value float64)
	NumberOfVisibleItems() int
	SetNumberOfVisibleItems(value int)
	DataSource() objc.Object
	SetDataSource(value objc.IObject)
	UsesDataSource() bool
	SetUsesDataSource(value bool)
	ObjectValues() []objc.Object
	NumberOfItems() int
	IndexOfSelectedItem() int
	ObjectValueOfSelectedItem() objc.Object
	Completes() bool
	SetCompletes(value bool)
}

type IComboButton added in v0.13.6

type IComboButton interface {
	IControl
	Style() ComboButtonStyle
	SetStyle(value ComboButtonStyle)
	Title() string
	SetTitle(value string)
	Image() Image
	SetImage(value IImage)
	ImageScaling() ImageScaling
	SetImageScaling(value ImageScaling)
}

type IControl added in v0.11.0

type IControl interface {
	IView
	TakeDoubleValueFrom(sender objc.IObject)
	TakeFloatValueFrom(sender objc.IObject)
	TakeIntValueFrom(sender objc.IObject)
	TakeIntegerValueFrom(sender objc.IObject)
	TakeObjectValueFrom(sender objc.IObject)
	TakeStringValueFrom(sender objc.IObject)
	// deprecated
	SetFloatingPointFormat_Left_Right(autoRange bool, leftDigits uint, rightDigits uint)
	DrawWithExpansionFrame_InView(contentFrame foundation.Rect, view IView)
	ExpansionFrameWithFrame(contentFrame foundation.Rect) foundation.Rect
	AbortEditing() bool
	CurrentEditor() Text
	ValidateEditing()
	EditWithFrame_Editor_Delegate_Event(rect foundation.Rect, textObj IText, delegate objc.IObject, event IEvent)
	EndEditing(textObj IText)
	SelectWithFrame_Editor_Delegate_Start_Length(rect foundation.Rect, textObj IText, delegate objc.IObject, selStart int, selLength int)
	SizeThatFits(size foundation.Size) foundation.Size
	SizeToFit()
	SendAction_To(action objc.Selector, target objc.IObject) bool
	SendActionOn(mask EventMask) int
	PerformClick(sender objc.IObject)
	InvalidateIntrinsicContentSizeForCell(cell ICell)
	// deprecated
	SelectedCell() Cell
	// deprecated
	SelectedTag() int
	// deprecated
	SetNeedsDisplay0()
	// deprecated
	CalcSize()
	// deprecated
	SelectCell(cell ICell)
	// deprecated
	DrawCell(cell ICell)
	// deprecated
	DrawCellInside(cell ICell)
	// deprecated
	UpdateCell(cell ICell)
	// deprecated
	UpdateCellInside(cell ICell)
	// deprecated
	ControlTextDidBeginEditing(obj foundation.INotification)
	// deprecated
	ControlTextDidChange(obj foundation.INotification)
	// deprecated
	ControlTextDidEndEditing(obj foundation.INotification)
	IsEnabled() bool
	SetEnabled(value bool)
	DoubleValue() float64
	SetDoubleValue(value float64)
	FloatValue() float32
	SetFloatValue(value float32)
	IntValue() int32
	SetIntValue(value int32)
	IntegerValue() int
	SetIntegerValue(value int)
	ObjectValue() objc.Object
	SetObjectValue(value objc.IObject)
	StringValue() string
	SetStringValue(value string)
	AttributedStringValue() foundation.AttributedString
	SetAttributedStringValue(value foundation.IAttributedString)
	Alignment() TextAlignment
	SetAlignment(value TextAlignment)
	Font() Font
	SetFont(value IFont)
	LineBreakMode() LineBreakMode
	SetLineBreakMode(value LineBreakMode)
	UsesSingleLineMode() bool
	SetUsesSingleLineMode(value bool)
	Formatter() foundation.Formatter
	SetFormatter(value foundation.IFormatter)
	BaseWritingDirection() WritingDirection
	SetBaseWritingDirection(value WritingDirection)
	AllowsExpansionToolTips() bool
	SetAllowsExpansionToolTips(value bool)
	ControlSize() ControlSize
	SetControlSize(value ControlSize)
	IsHighlighted() bool
	SetHighlighted(value bool)
	Action() objc.Selector
	SetAction(value objc.Selector)
	Target() objc.Object
	SetTarget(value objc.IObject)
	IsContinuous() bool
	SetContinuous(value bool)
	SetTag(value int)
	RefusesFirstResponder() bool
	SetRefusesFirstResponder(value bool)
	IgnoresMultiClick() bool
	SetIgnoresMultiClick(value bool)
	// deprecated
	Cell() Cell
	// deprecated
	SetCell(value ICell)
}

type IController added in v0.11.0

type IController interface {
	objc.IObject
	ObjectDidBeginEditing(editor objc.IObject)
	ObjectDidEndEditing(editor objc.IObject)
	CommitEditing() bool
	CommitEditingWithDelegate_DidCommitSelector_ContextInfo(delegate objc.IObject, didCommitSelector objc.Selector, contextInfo unsafe.Pointer)
	DiscardEditing()
	IsEditing() bool
}

type ICursor added in v0.11.0

type ICursor interface {
	objc.IObject
	Push()
	Set()
	// deprecated
	MouseEntered(event IEvent)
	// deprecated
	SetOnMouseEntered(flag bool)
	// deprecated
	MouseExited(event IEvent)
	// deprecated
	SetOnMouseExited(flag bool)
	Image() Image
	HotSpot() foundation.Point
	// deprecated
	IsSetOnMouseEntered() bool
	// deprecated
	IsSetOnMouseExited() bool
}

type IDatePicker added in v0.11.0

type IDatePicker interface {
	IControl
	IsBezeled() bool
	SetBezeled(value bool)
	IsBordered() bool
	SetBordered(value bool)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	TextColor() Color
	SetTextColor(value IColor)
	DatePickerStyle() DatePickerStyle
	SetDatePickerStyle(value DatePickerStyle)
	PresentsCalendarOverlay() bool
	SetPresentsCalendarOverlay(value bool)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	DatePickerElements() DatePickerElementFlags
	SetDatePickerElements(value DatePickerElementFlags)
	Calendar() foundation.Calendar
	SetCalendar(value foundation.ICalendar)
	Locale() foundation.Locale
	SetLocale(value foundation.ILocale)
	DatePickerMode() DatePickerMode
	SetDatePickerMode(value DatePickerMode)
	TimeZone() foundation.TimeZone
	SetTimeZone(value foundation.ITimeZone)
	DateValue() foundation.Date
	SetDateValue(value foundation.IDate)
	TimeInterval() foundation.TimeInterval
	SetTimeInterval(value foundation.TimeInterval)
	MinDate() foundation.Date
	SetMinDate(value foundation.IDate)
	MaxDate() foundation.Date
	SetMaxDate(value foundation.IDate)
}

type IDatePickerCell added in v0.13.6

type IDatePickerCell interface {
	IActionCell
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	TextColor() Color
	SetTextColor(value IColor)
	DatePickerStyle() DatePickerStyle
	SetDatePickerStyle(value DatePickerStyle)
	DatePickerElements() DatePickerElementFlags
	SetDatePickerElements(value DatePickerElementFlags)
	DatePickerMode() DatePickerMode
	SetDatePickerMode(value DatePickerMode)
	DateValue() foundation.Date
	SetDateValue(value foundation.IDate)
	TimeInterval() foundation.TimeInterval
	SetTimeInterval(value foundation.TimeInterval)
	Calendar() foundation.Calendar
	SetCalendar(value foundation.ICalendar)
	Locale() foundation.Locale
	SetLocale(value foundation.ILocale)
	TimeZone() foundation.TimeZone
	SetTimeZone(value foundation.ITimeZone)
	MinDate() foundation.Date
	SetMinDate(value foundation.IDate)
	MaxDate() foundation.Date
	SetMaxDate(value foundation.IDate)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
}

type IDiffableDataSourceSnapshot added in v0.11.0

type IDiffableDataSourceSnapshot interface {
	objc.IObject
	AppendSectionsWithIdentifiers(sectionIdentifiers []objc.IObject)
	AppendItemsWithIdentifiers_IntoSectionWithIdentifier(identifiers []objc.IObject, sectionIdentifier objc.IObject)
	AppendItemsWithIdentifiers(identifiers []objc.IObject)
	NumberOfItemsInSection(sectionIdentifier objc.IObject) int
	IndexOfItemIdentifier(itemIdentifier objc.IObject) int
	IndexOfSectionIdentifier(sectionIdentifier objc.IObject) int
	ItemIdentifiersInSectionWithIdentifier(sectionIdentifier objc.IObject) []objc.Object
	SectionIdentifierForSectionContainingItemIdentifier(itemIdentifier objc.IObject) objc.Object
	InsertItemsWithIdentifiers_AfterItemWithIdentifier(identifiers []objc.IObject, itemIdentifier objc.IObject)
	InsertItemsWithIdentifiers_BeforeItemWithIdentifier(identifiers []objc.IObject, itemIdentifier objc.IObject)
	InsertSectionsWithIdentifiers_AfterSectionWithIdentifier(sectionIdentifiers []objc.IObject, toSectionIdentifier objc.IObject)
	InsertSectionsWithIdentifiers_BeforeSectionWithIdentifier(sectionIdentifiers []objc.IObject, toSectionIdentifier objc.IObject)
	DeleteAllItems()
	DeleteItemsWithIdentifiers(identifiers []objc.IObject)
	DeleteSectionsWithIdentifiers(sectionIdentifiers []objc.IObject)
	MoveItemWithIdentifier_AfterItemWithIdentifier(fromIdentifier objc.IObject, toIdentifier objc.IObject)
	MoveItemWithIdentifier_BeforeItemWithIdentifier(fromIdentifier objc.IObject, toIdentifier objc.IObject)
	MoveSectionWithIdentifier_AfterSectionWithIdentifier(fromSectionIdentifier objc.IObject, toSectionIdentifier objc.IObject)
	MoveSectionWithIdentifier_BeforeSectionWithIdentifier(fromSectionIdentifier objc.IObject, toSectionIdentifier objc.IObject)
	ReloadItemsWithIdentifiers(identifiers []objc.IObject)
	ReloadSectionsWithIdentifiers(sectionIdentifiers []objc.IObject)
	NumberOfItems() int
	NumberOfSections() int
	ItemIdentifiers() []objc.Object
	SectionIdentifiers() []objc.Object
}

type IDockTile added in v0.11.0

type IDockTile interface {
	objc.IObject
	Display()
	ContentView() View
	SetContentView(value IView)
	Size() foundation.Size
	Owner() objc.Object
	ShowsApplicationBadge() bool
	SetShowsApplicationBadge(value bool)
	BadgeLabel() string
	SetBadgeLabel(value string)
}

type IDocument added in v0.11.0

type IDocument interface {
	objc.IObject
	ReadFromURL_OfType_Error(url foundation.IURL, typeName string, outError *foundation.Error) bool
	ReadFromFileWrapper_OfType_Error(fileWrapper foundation.IFileWrapper, typeName string, outError *foundation.Error) bool
	ReadFromData_OfType_Error(data []byte, typeName string, outError *foundation.Error) bool
	CanAsynchronouslyWriteToURL_OfType_ForSaveOperation(url foundation.IURL, typeName string, saveOperation SaveOperationType) bool
	UnblockUserInteraction()
	WriteToURL_OfType_Error(url foundation.IURL, typeName string, outError *foundation.Error) bool
	WriteSafelyToURL_OfType_ForSaveOperation_Error(url foundation.IURL, typeName string, saveOperation SaveOperationType, outError *foundation.Error) bool
	FileWrapperOfType_Error(typeName string, outError *foundation.Error) foundation.FileWrapper
	DataOfType_Error(typeName string, outError *foundation.Error) []byte
	WriteToURL_OfType_ForSaveOperation_OriginalContentsURL_Error(url foundation.IURL, typeName string, saveOperation SaveOperationType, absoluteOriginalContentsURL foundation.IURL, outError *foundation.Error) bool
	SaveToURL_OfType_ForSaveOperation_Delegate_DidSaveSelector_ContextInfo(url foundation.IURL, typeName string, saveOperation SaveOperationType, delegate objc.IObject, didSaveSelector objc.Selector, contextInfo unsafe.Pointer)
	SaveToURL_OfType_ForSaveOperation_CompletionHandler(url foundation.IURL, typeName string, saveOperation SaveOperationType, completionHandler func(errorOrNil foundation.Error))
	FileAttributesToWriteToURL_OfType_ForSaveOperation_OriginalContentsURL_Error(url foundation.IURL, typeName string, saveOperation SaveOperationType, absoluteOriginalContentsURL foundation.IURL, outError *foundation.Error) map[string]objc.Object
	WritableTypesForSaveOperation(saveOperation SaveOperationType) []string
	FileNameExtensionForType_SaveOperation(typeName string, saveOperation SaveOperationType) string
	MakeWindowControllers()
	AddWindowController(windowController IWindowController)
	RemoveWindowController(windowController IWindowController)
	WindowControllerDidLoadNib(windowController IWindowController)
	WindowControllerWillLoadNib(windowController IWindowController)
	ShouldCloseWindowController_Delegate_ShouldCloseSelector_ContextInfo(windowController IWindowController, delegate objc.IObject, shouldCloseSelector objc.Selector, contextInfo unsafe.Pointer)
	ShowWindows()
	SetWindow(window IWindow)
	SetDisplayName(displayNameOrNil string)
	DefaultDraftName() string
	EncodeRestorableStateWithCoder_BackgroundQueue(coder foundation.ICoder, queue foundation.IOperationQueue)
	CheckAutosavingSafetyAndReturnError(outError *foundation.Error) bool
	ScheduleAutosaving()
	AutosaveDocumentWithDelegate_DidAutosaveSelector_ContextInfo(delegate objc.IObject, didAutosaveSelector objc.Selector, contextInfo unsafe.Pointer)
	AutosaveWithImplicitCancellability_CompletionHandler(autosavingIsImplicitlyCancellable bool, completionHandler func(errorOrNil foundation.Error))
	BrowseDocumentVersions(sender objc.IObject)
	StopBrowsingVersionsWithCompletionHandler(completionHandler func())
	MoveDocumentToUbiquityContainer(sender objc.IObject)
	UpdateChangeCountWithToken_ForSaveOperation(changeCountToken objc.IObject, saveOperation SaveOperationType)
	UpdateChangeCount(change DocumentChangeType)
	ChangeCountTokenForSaveOperation(saveOperation SaveOperationType) objc.Object
	EncodeRestorableStateWithCoder(coder foundation.ICoder)
	RestoreStateWithCoder(coder foundation.ICoder)
	InvalidateRestorableState()
	RestoreDocumentWindowWithIdentifier_State_CompletionHandler(identifier UserInterfaceItemIdentifier, state foundation.ICoder, completionHandler func(param1 Window, param2 foundation.Error))
	RunModalSavePanelForSaveOperation_Delegate_DidSaveSelector_ContextInfo(saveOperation SaveOperationType, delegate objc.IObject, didSaveSelector objc.Selector, contextInfo unsafe.Pointer)
	PrepareSavePanel(savePanel ISavePanel) bool
	UpdateUserActivityState(activity foundation.IUserActivity)
	ValidateUserInterfaceItem(item objc.IObject) bool
	PerformSynchronousFileAccessUsingBlock(block func())
	PerformAsynchronousFileAccessUsingBlock(block func(param1 func()))
	PerformActivityWithSynchronousWaiting_UsingBlock(waitSynchronously bool, block func(param1 func()))
	ContinueActivityUsingBlock(block func())
	ContinueAsynchronousWorkOnMainThreadUsingBlock(block func())
	PrintDocument(sender objc.IObject)
	RunPageLayout(sender objc.IObject)
	RevertDocumentToSaved(sender objc.IObject)
	SaveDocument(sender objc.IObject)
	SaveDocumentAs(sender objc.IObject)
	SaveDocumentTo(sender objc.IObject)
	SaveDocumentWithDelegate_DidSaveSelector_ContextInfo(delegate objc.IObject, didSaveSelector objc.Selector, contextInfo unsafe.Pointer)
	CanCloseDocumentWithDelegate_ShouldCloseSelector_ContextInfo(delegate objc.IObject, shouldCloseSelector objc.Selector, contextInfo unsafe.Pointer)
	Close()
	RevertToContentsOfURL_OfType_Error(url foundation.IURL, typeName string, outError *foundation.Error) bool
	DuplicateAndReturnError(outError *foundation.Error) Document
	DuplicateDocument(sender objc.IObject)
	DuplicateDocumentWithDelegate_DidDuplicateSelector_ContextInfo(delegate objc.IObject, didDuplicateSelector objc.Selector, contextInfo unsafe.Pointer)
	RenameDocument(sender objc.IObject)
	MoveDocument(sender objc.IObject)
	MoveDocumentWithCompletionHandler(completionHandler func(didMove bool))
	MoveToURL_CompletionHandler(url foundation.IURL, completionHandler func(param1 foundation.Error))
	LockDocument(sender objc.IObject)
	UnlockDocument(sender objc.IObject)
	LockDocumentWithCompletionHandler(completionHandler func(didLock bool))
	LockWithCompletionHandler(completionHandler func(param1 foundation.Error))
	UnlockDocumentWithCompletionHandler(completionHandler func(didUnlock bool))
	UnlockWithCompletionHandler(completionHandler func(param1 foundation.Error))
	PreparePageLayout(pageLayout IPageLayout) bool
	RunModalPageLayoutWithPrintInfo_Delegate_DidRunSelector_ContextInfo(printInfo IPrintInfo, delegate objc.IObject, didRunSelector objc.Selector, contextInfo unsafe.Pointer)
	RunModalPrintOperation_Delegate_DidRunSelector_ContextInfo(printOperation IPrintOperation, delegate objc.IObject, didRunSelector objc.Selector, contextInfo unsafe.Pointer)
	ShouldChangePrintInfo(newPrintInfo IPrintInfo) bool
	PrintDocumentWithSettings_ShowPrintPanel_Delegate_DidPrintSelector_ContextInfo(printSettings map[PrintInfoAttributeKey]objc.IObject, showPrintPanel bool, delegate objc.IObject, didPrintSelector objc.Selector, contextInfo unsafe.Pointer)
	PrintOperationWithSettings_Error(printSettings map[PrintInfoAttributeKey]objc.IObject, outError *foundation.Error) PrintOperation
	SaveDocumentToPDF(sender objc.IObject)
	PrepareSharingServicePicker(sharingServicePicker ISharingServicePicker)
	ShareDocumentWithSharingService_CompletionHandler(sharingService ISharingService, completionHandler func(success bool))
	HandleCloseScriptCommand(command foundation.ICloseCommand) objc.Object
	HandlePrintScriptCommand(command foundation.IScriptCommand) objc.Object
	HandleSaveScriptCommand(command foundation.IScriptCommand) objc.Object
	PresentError_ModalForWindow_Delegate_DidPresentSelector_ContextInfo(error foundation.IError, window IWindow, delegate objc.IObject, didPresentSelector objc.Selector, contextInfo unsafe.Pointer)
	PresentError(error foundation.IError) bool
	WillPresentError(error foundation.IError) foundation.Error
	WillNotPresentError(error foundation.IError)
	// deprecated
	DataRepresentationOfType(type_ string) []byte
	// deprecated
	FileName() string
	// deprecated
	FileWrapperRepresentationOfType(type_ string) foundation.FileWrapper
	// deprecated
	InitWithContentsOfFile_OfType(absolutePath string, typeName string) objc.Object
	// deprecated
	InitWithContentsOfURL_OfType(url foundation.IURL, typeName string) objc.Object
	// deprecated
	LoadDataRepresentation_OfType(data []byte, type_ string) bool
	// deprecated
	LoadFileWrapperRepresentation_OfType(wrapper foundation.IFileWrapper, type_ string) bool
	// deprecated
	PrintShowingPrintPanel(flag bool)
	// deprecated
	ReadFromFile_OfType(fileName string, type_ string) bool
	// deprecated
	ReadFromURL_OfType(url foundation.IURL, type_ string) bool
	// deprecated
	RevertToSavedFromFile_OfType(fileName string, type_ string) bool
	// deprecated
	RevertToSavedFromURL_OfType(url foundation.IURL, type_ string) bool
	// deprecated
	RunModalPageLayoutWithPrintInfo(printInfo IPrintInfo) int
	// deprecated
	SaveToFile_SaveOperation_Delegate_DidSaveSelector_ContextInfo(fileName string, saveOperation SaveOperationType, delegate objc.IObject, didSaveSelector objc.Selector, contextInfo unsafe.Pointer)
	// deprecated
	SaveToURL_OfType_ForSaveOperation_Error(url foundation.IURL, typeName string, saveOperation SaveOperationType, outError *foundation.Error) bool
	// deprecated
	SetFileName(fileName string)
	// deprecated
	WriteToFile_OfType(fileName string, type_ string) bool
	// deprecated
	WriteToFile_OfType_OriginalFile_SaveOperation(fullDocumentPath string, documentTypeName string, fullOriginalDocumentPath string, saveOperationType SaveOperationType) bool
	// deprecated
	WriteToURL_OfType(url foundation.IURL, type_ string) bool
	// deprecated
	WriteWithBackupToFile_OfType_SaveOperation(fullDocumentPath string, documentTypeName string, saveOperationType SaveOperationType) bool
	FileURL() foundation.URL
	SetFileURL(value foundation.IURL)
	IsEntireFileLoaded() bool
	FileModificationDate() foundation.Date
	SetFileModificationDate(value foundation.IDate)
	KeepBackupFile() bool
	IsDraft() bool
	SetDraft(value bool)
	FileType() string
	SetFileType(value string)
	IsDocumentEdited() bool
	IsInViewingMode() bool
	WindowControllers() []WindowController
	WindowNibName() NibName
	WindowForSheet() Window
	DisplayName() string
	AutosavedContentsFileURL() foundation.URL
	SetAutosavedContentsFileURL(value foundation.IURL)
	AutosavingFileType() string
	AutosavingIsImplicitlyCancellable() bool
	HasUnautosavedChanges() bool
	BackupFileURL() foundation.URL
	IsBrowsingVersions() bool
	UndoManager() foundation.UndoManager
	SetUndoManager(value foundation.IUndoManager)
	HasUndoManager() bool
	SetHasUndoManager(value bool)
	ShouldRunSavePanelWithAccessoryView() bool
	FileTypeFromLastRunSavePanel() string
	FileNameExtensionWasHiddenInLastRunSavePanel() bool
	UserActivity() foundation.UserActivity
	SetUserActivity(value foundation.IUserActivity)
	IsLocked() bool
	PrintInfo() PrintInfo
	SetPrintInfo(value IPrintInfo)
	PDFPrintOperation() PrintOperation
	AllowsDocumentSharing() bool
	ObjectSpecifier() foundation.ScriptObjectSpecifier
	LastComponentOfFileName() string
	SetLastComponentOfFileName(value string)
}

type IDraggingImageComponent added in v0.11.0

type IDraggingImageComponent interface {
	objc.IObject
	Key() DraggingImageComponentKey
	SetKey(value DraggingImageComponentKey)
	Contents() objc.Object
	SetContents(value objc.IObject)
	Frame() foundation.Rect
	SetFrame(value foundation.Rect)
}

type IDraggingItem added in v0.11.0

type IDraggingItem interface {
	objc.IObject
	SetDraggingFrame_Contents(frame foundation.Rect, contents objc.IObject)
	DraggingFrame() foundation.Rect
	SetDraggingFrame(value foundation.Rect)
	ImageComponents() []DraggingImageComponent
	ImageComponentsProvider() func() []DraggingImageComponent
	SetImageComponentsProvider(value func() []IDraggingImageComponent)
	Item() objc.Object
}

type IDraggingSession added in v0.11.0

type IDraggingSession interface {
	objc.IObject
	EnumerateDraggingItemsWithOptions_ForView_Classes_SearchOptions_UsingBlock(enumOpts DraggingItemEnumerationOptions, view IView, classArray []objc.IClass, searchOptions map[PasteboardReadingOptionKey]objc.IObject, block func(draggingItem DraggingItem, idx int, stop *bool))
	DraggingPasteboard() Pasteboard
	AnimatesToStartingPositionsOnCancelOrFail() bool
	SetAnimatesToStartingPositionsOnCancelOrFail(value bool)
	DraggingFormation() DraggingFormation
	SetDraggingFormation(value DraggingFormation)
	DraggingSequenceNumber() int
	DraggingLocation() foundation.Point
	DraggingLeaderIndex() int
	SetDraggingLeaderIndex(value int)
}

type IDrawer added in v0.16.0

type IDrawer interface {
	IResponder
	// deprecated
	Close()
	// deprecated
	Close1(sender objc.IObject)
	// deprecated
	Open()
	// deprecated
	Open1(sender objc.IObject)
	// deprecated
	OpenOnEdge(edge foundation.RectEdge)
	// deprecated
	Toggle(sender objc.IObject)
	// deprecated
	Delegate() objc.Object
	// deprecated
	SetDelegate(value objc.IObject)
	// deprecated
	State() int
	// deprecated
	ContentSize() foundation.Size
	// deprecated
	SetContentSize(value foundation.Size)
	// deprecated
	LeadingOffset() float64
	// deprecated
	SetLeadingOffset(value float64)
	// deprecated
	MaxContentSize() foundation.Size
	// deprecated
	SetMaxContentSize(value foundation.Size)
	// deprecated
	MinContentSize() foundation.Size
	// deprecated
	SetMinContentSize(value foundation.Size)
	// deprecated
	TrailingOffset() float64
	// deprecated
	SetTrailingOffset(value float64)
	// deprecated
	Edge() foundation.RectEdge
	// deprecated
	PreferredEdge() foundation.RectEdge
	// deprecated
	SetPreferredEdge(value foundation.RectEdge)
	// deprecated
	ContentView() View
	// deprecated
	SetContentView(value IView)
	// deprecated
	ParentWindow() Window
	// deprecated
	SetParentWindow(value IWindow)
}

type IEvent added in v0.11.0

type IEvent interface {
	objc.IObject
	CharactersByApplyingModifiers(modifiers EventModifierFlags) string
	TrackSwipeEventWithOptions_DampenAmountThresholdMin_Max_UsingHandler(options EventSwipeTrackingOptions, minDampenThreshold float64, maxDampenThreshold float64, trackingHandler func(gestureAmount float64, phase EventPhase, isComplete bool, stop *bool))
	TouchesMatchingPhase_InView(phase TouchPhase, view IView) foundation.Set
	AllTouches() foundation.Set
	TouchesForView(view IView) foundation.Set
	CoalescedTouchesForTouch(touch ITouch) []Touch
	Type() EventType
	Subtype() EventSubtype
	LocationInWindow() foundation.Point
	Timestamp() foundation.TimeInterval
	Window() Window
	WindowNumber() int
	EventRef() unsafe.Pointer
	CGEvent() coregraphics.EventRef
	ModifierFlags() EventModifierFlags
	Characters() string
	CharactersIgnoringModifiers() string
	KeyCode() uint16
	IsARepeat() bool
	ButtonNumber() int
	ClickCount() int
	AssociatedEventsMask() EventMask
	DeltaX() float64
	DeltaY() float64
	DeltaZ() float64
	HasPreciseScrollingDeltas() bool
	ScrollingDeltaX() float64
	ScrollingDeltaY() float64
	MomentumPhase() EventPhase
	IsDirectionInvertedFromDevice() bool
	Phase() EventPhase
	Magnification() float64
	Pressure() float32
	Stage() int
	StageTransition() float64
	PressureBehavior() PressureBehavior
	CapabilityMask() uint
	DeviceID() uint
	IsEnteringProximity() bool
	PointingDeviceID() uint
	PointingDeviceSerialNumber() uint
	PointingDeviceType() PointingDeviceType
	SystemTabletID() uint
	TabletID() uint
	UniqueID() uint64
	VendorID() uint
	VendorPointingDeviceType() uint
	AbsoluteX() int
	AbsoluteY() int
	AbsoluteZ() int
	ButtonMask() EventButtonMask
	Rotation() float32
	TangentialPressure() float32
	Tilt() foundation.Point
	VendorDefined() objc.Object
	EventNumber() int
	TrackingNumber() int
	TrackingArea() TrackingArea
	UserData() unsafe.Pointer
	Data1() int
	Data2() int
	// deprecated
	Context() GraphicsContext
}

type IFont added in v0.11.0

type IFont interface {
	objc.IObject
	Set()
	SetInContext(graphicsContext IGraphicsContext)
	FontWithSize(fontSize float64) Font
	BoundingRectForCGGlyph(glyph coregraphics.Glyph) foundation.Rect
	GetBoundingRects_ForCGGlyphs_Count(bounds *foundation.Rect, glyphs *coregraphics.Glyph, glyphCount uint)
	AdvancementForCGGlyph(glyph coregraphics.Glyph) foundation.Size
	GetAdvancements_ForCGGlyphs_Count(advancements *foundation.Size, glyphs *coregraphics.Glyph, glyphCount uint)
	// deprecated
	GetAdvancements_ForGlyphs_Count(advancements *foundation.Size, glyphs *Glyph, glyphCount uint)
	// deprecated
	GetAdvancements_ForPackedGlyphs_Length(advancements *foundation.Size, packedGlyphs unsafe.Pointer, length uint)
	// deprecated
	AdvancementForGlyph(glyph Glyph) foundation.Size
	// deprecated
	BoundingRectForGlyph(glyph Glyph) foundation.Rect
	// deprecated
	GetBoundingRects_ForGlyphs_Count(bounds *foundation.Rect, glyphs *Glyph, glyphCount uint)
	// deprecated
	GlyphWithName(name string) Glyph
	// deprecated
	ScreenFontWithRenderingMode(renderingMode FontRenderingMode) Font
	PointSize() float64
	CoveredCharacterSet() foundation.CharacterSet
	FontDescriptor() FontDescriptor
	IsFixedPitch() bool
	MostCompatibleStringEncoding() foundation.StringEncoding
	NumberOfGlyphs() uint
	DisplayName() string
	FamilyName() string
	FontName() string
	IsVertical() bool
	VerticalFont() Font
	Ascender() float64
	Descender() float64
	CapHeight() float64
	Leading() float64
	XHeight() float64
	ItalicAngle() float64
	UnderlinePosition() float64
	UnderlineThickness() float64
	BoundingRectForFont() foundation.Rect
	MaximumAdvancement() foundation.Size
	Matrix() *float64
	TextTransform() foundation.AffineTransform
	// deprecated
	RenderingMode() FontRenderingMode
	// deprecated
	PrinterFont() Font
	// deprecated
	ScreenFont() Font
}

type IFontDescriptor added in v0.11.0

type IFontDescriptor interface {
	objc.IObject
	FontDescriptorByAddingAttributes(attributes map[FontDescriptorAttributeName]objc.IObject) FontDescriptor
	FontDescriptorWithFace(newFace string) FontDescriptor
	FontDescriptorWithFamily(newFamily string) FontDescriptor
	FontDescriptorWithMatrix(matrix foundation.IAffineTransform) FontDescriptor
	FontDescriptorWithSize(newPointSize float64) FontDescriptor
	FontDescriptorWithSymbolicTraits(symbolicTraits FontDescriptorSymbolicTraits) FontDescriptor
	MatchingFontDescriptorsWithMandatoryKeys(mandatoryKeys foundation.ISet) []FontDescriptor
	MatchingFontDescriptorWithMandatoryKeys(mandatoryKeys foundation.ISet) FontDescriptor
	ObjectForKey(attribute FontDescriptorAttributeName) objc.Object
	FontAttributes() map[FontDescriptorAttributeName]objc.Object
	Matrix() foundation.AffineTransform
	PointSize() float64
	PostscriptName() string
	SymbolicTraits() FontDescriptorSymbolicTraits
	RequiresFontAssetRequest() bool
}

type IFontManager added in v0.11.0

type IFontManager interface {
	objc.IObject
	AvailableFontNamesWithTraits(someTraits FontTraitMask) []string
	AvailableMembersOfFontFamily(fam string) [][]objc.Object
	SetSelectedFont_IsMultiple(fontObj IFont, flag bool)
	SendAction() bool
	LocalizedNameForFamily_Face(family string, faceKey string) string
	AddFontTrait(sender objc.IObject)
	RemoveFontTrait(sender objc.IObject)
	ModifyFont(sender objc.IObject)
	ModifyFontViaPanel(sender objc.IObject)
	OrderFrontStylesPanel(sender objc.IObject)
	OrderFrontFontPanel(sender objc.IObject)
	ConvertFont(fontObj IFont) Font
	// deprecated
	ChangeFont(sender objc.IObject)
	ConvertFont_ToFace(fontObj IFont, typeface string) Font
	ConvertFont_ToFamily(fontObj IFont, family string) Font
	ConvertFont_ToHaveTrait(fontObj IFont, trait FontTraitMask) Font
	ConvertFont_ToNotHaveTrait(fontObj IFont, trait FontTraitMask) Font
	ConvertFont_ToSize(fontObj IFont, size float64) Font
	ConvertWeight_OfFont(upFlag bool, fontObj IFont) Font
	ConvertFontTraits(traits FontTraitMask) FontTraitMask
	FontWithFamily_Traits_Weight_Size(family string, traits FontTraitMask, weight int, size float64) Font
	TraitsOfFont(fontObj IFont) FontTraitMask
	FontNamed_HasTraits(fName string, someTraits FontTraitMask) bool
	WeightOfFont(fontObj IFont) int
	FontPanel(create bool) FontPanel
	SetFontMenu(newMenu IMenu)
	FontMenu(create bool) Menu
	SetSelectedAttributes_IsMultiple(attributes map[string]objc.IObject, flag bool)
	ConvertAttributes(attributes map[string]objc.IObject) map[string]objc.Object
	// deprecated
	AvailableFontNamesMatchingFontDescriptor(descriptor IFontDescriptor) []objc.Object
	// deprecated
	FontDescriptorsInCollection(collectionNames string) []objc.Object
	// deprecated
	AddCollection_Options(collectionName string, collectionOptions FontCollectionOptions) bool
	// deprecated
	RemoveCollection(collectionName string) bool
	// deprecated
	AddFontDescriptors_ToCollection(descriptors []objc.IObject, collectionName string)
	// deprecated
	RemoveFontDescriptor_FromCollection(descriptor IFontDescriptor, collection string)
	// deprecated
	FontManager_WillIncludeFont(sender objc.IObject, fontName string) bool
	AvailableFonts() []string
	AvailableFontFamilies() []string
	SelectedFont() Font
	IsMultiple() bool
	CurrentFontAction() FontAction
	IsEnabled() bool
	SetEnabled(value bool)
	Action() objc.Selector
	SetAction(value objc.Selector)
	Target() objc.Object
	SetTarget(value objc.IObject)
	// deprecated
	CollectionNames() []objc.Object
	// deprecated
	Delegate() objc.Object
	// deprecated
	SetDelegate(value objc.IObject)
}

type IFontPanel added in v0.11.0

type IFontPanel interface {
	IPanel
	ReloadDefaultFontFamilies()
	SetPanelFont_IsMultiple(fontObj IFont, flag bool)
	PanelConvertFont(fontObj IFont) Font
	IsEnabled() bool
	SetEnabled(value bool)
	AccessoryView() View
	SetAccessoryView(value IView)
}

type IGestureRecognizer added in v0.11.0

type IGestureRecognizer interface {
	objc.IObject
	LocationInView(view IView) foundation.Point
	Reset()
	MouseDown(event IEvent)
	MouseDragged(event IEvent)
	MouseUp(event IEvent)
	OtherMouseDown(event IEvent)
	OtherMouseDragged(event IEvent)
	OtherMouseUp(event IEvent)
	RightMouseDown(event IEvent)
	RightMouseDragged(event IEvent)
	RightMouseUp(event IEvent)
	MagnifyWithEvent(event IEvent)
	RotateWithEvent(event IEvent)
	CanBePreventedByGestureRecognizer(preventingGestureRecognizer IGestureRecognizer) bool
	CanPreventGestureRecognizer(preventedGestureRecognizer IGestureRecognizer) bool
	ShouldBeRequiredToFailByGestureRecognizer(otherGestureRecognizer IGestureRecognizer) bool
	ShouldRequireFailureOfGestureRecognizer(otherGestureRecognizer IGestureRecognizer) bool
	KeyDown(event IEvent)
	KeyUp(event IEvent)
	TabletPoint(event IEvent)
	FlagsChanged(event IEvent)
	PressureChangeWithEvent(event IEvent)
	TouchesBeganWithEvent(event IEvent)
	TouchesCancelledWithEvent(event IEvent)
	TouchesEndedWithEvent(event IEvent)
	TouchesMovedWithEvent(event IEvent)
	Action() objc.Selector
	SetAction(value objc.Selector)
	Target() objc.Object
	SetTarget(value objc.IObject)
	State() GestureRecognizerState
	View() View
	IsEnabled() bool
	SetEnabled(value bool)
	DelaysPrimaryMouseButtonEvents() bool
	SetDelaysPrimaryMouseButtonEvents(value bool)
	DelaysSecondaryMouseButtonEvents() bool
	SetDelaysSecondaryMouseButtonEvents(value bool)
	DelaysOtherMouseButtonEvents() bool
	SetDelaysOtherMouseButtonEvents(value bool)
	DelaysKeyEvents() bool
	SetDelaysKeyEvents(value bool)
	DelaysMagnificationEvents() bool
	SetDelaysMagnificationEvents(value bool)
	DelaysRotationEvents() bool
	SetDelaysRotationEvents(value bool)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	PressureConfiguration() PressureConfiguration
	SetPressureConfiguration(value IPressureConfiguration)
	AllowedTouchTypes() TouchTypeMask
	SetAllowedTouchTypes(value TouchTypeMask)
}

type IGlyphGenerator added in v0.11.0

type IGlyphGenerator interface {
	objc.IObject
	GenerateGlyphsForGlyphStorage_DesiredNumberOfCharacters_GlyphIndex_CharacterIndex(glyphStorage objc.IObject, nChars uint, glyphIndex *uint, charIndex *uint)
}

type IGraphicsContext added in v0.11.0

type IGraphicsContext interface {
	objc.IObject
	FlushGraphics()
	// deprecated
	FocusStack() objc.Object
	// deprecated
	SetFocusStack(stack objc.IObject)
	CGContext() coregraphics.ContextRef
	// deprecated
	GraphicsPort() unsafe.Pointer
	IsDrawingToScreen() bool
	Attributes() map[GraphicsContextAttributeKey]objc.Object
	IsFlipped() bool
	CompositingOperation() CompositingOperation
	SetCompositingOperation(value CompositingOperation)
	ImageInterpolation() ImageInterpolation
	SetImageInterpolation(value ImageInterpolation)
	ShouldAntialias() bool
	SetShouldAntialias(value bool)
	PatternPhase() foundation.Point
	SetPatternPhase(value foundation.Point)
	ColorRenderingIntent() ColorRenderingIntent
	SetColorRenderingIntent(value ColorRenderingIntent)
}

type IGridCell added in v0.11.0

type IGridCell interface {
	objc.IObject
	Column() GridColumn
	Row() GridRow
	ContentView() View
	SetContentView(value IView)
	CustomPlacementConstraints() []LayoutConstraint
	SetCustomPlacementConstraints(value []ILayoutConstraint)
	RowAlignment() GridRowAlignment
	SetRowAlignment(value GridRowAlignment)
	XPlacement() GridCellPlacement
	SetXPlacement(value GridCellPlacement)
	YPlacement() GridCellPlacement
	SetYPlacement(value GridCellPlacement)
}

type IGridColumn added in v0.11.0

type IGridColumn interface {
	objc.IObject
	CellAtIndex(index int) GridCell
	MergeCellsInRange(range_ foundation.Range)
	GridView() GridView
	IsHidden() bool
	SetHidden(value bool)
	LeadingPadding() float64
	SetLeadingPadding(value float64)
	NumberOfCells() int
	TrailingPadding() float64
	SetTrailingPadding(value float64)
	Width() float64
	SetWidth(value float64)
	XPlacement() GridCellPlacement
	SetXPlacement(value GridCellPlacement)
}

type IGridRow added in v0.11.0

type IGridRow interface {
	objc.IObject
	CellAtIndex(index int) GridCell
	MergeCellsInRange(range_ foundation.Range)
	NumberOfCells() int
	IsHidden() bool
	SetHidden(value bool)
	TopPadding() float64
	SetTopPadding(value float64)
	BottomPadding() float64
	SetBottomPadding(value float64)
	Height() float64
	SetHeight(value float64)
	RowAlignment() GridRowAlignment
	SetRowAlignment(value GridRowAlignment)
	YPlacement() GridCellPlacement
	SetYPlacement(value GridCellPlacement)
	GridView() GridView
}

type IGridView added in v0.11.0

type IGridView interface {
	IView
	IndexOfColumn(column IGridColumn) int
	RowAtIndex(index int) GridRow
	ColumnAtIndex(index int) GridColumn
	IndexOfRow(row IGridRow) int
	AddRowWithViews(views []IView) GridRow
	InsertRowAtIndex_WithViews(index int, views []IView) GridRow
	RemoveRowAtIndex(index int)
	MoveRowAtIndex_ToIndex(fromIndex int, toIndex int)
	AddColumnWithViews(views []IView) GridColumn
	InsertColumnAtIndex_WithViews(index int, views []IView) GridColumn
	RemoveColumnAtIndex(index int)
	MoveColumnAtIndex_ToIndex(fromIndex int, toIndex int)
	CellAtColumnIndex_RowIndex(columnIndex int, rowIndex int) GridCell
	CellForView(view IView) GridCell
	MergeCellsInHorizontalRange_VerticalRange(hRange foundation.Range, vRange foundation.Range)
	NumberOfRows() int
	NumberOfColumns() int
	ColumnSpacing() float64
	SetColumnSpacing(value float64)
	RowSpacing() float64
	SetRowSpacing(value float64)
	RowAlignment() GridRowAlignment
	SetRowAlignment(value GridRowAlignment)
	XPlacement() GridCellPlacement
	SetXPlacement(value GridCellPlacement)
	YPlacement() GridCellPlacement
	SetYPlacement(value GridCellPlacement)
}

type IImage added in v0.11.0

type IImage interface {
	objc.IObject
	SetName(string_ ImageName) bool
	Name() ImageName
	ImageWithSymbolConfiguration(configuration IImageSymbolConfiguration) Image
	AddRepresentation(imageRep IImageRep)
	AddRepresentations(imageReps []IImageRep)
	RemoveRepresentation(imageRep IImageRep)
	BestRepresentationForRect_Context_Hints(rect foundation.Rect, referenceContext IGraphicsContext, hints map[ImageHintKey]objc.IObject) ImageRep
	DrawInRect(rect foundation.Rect)
	DrawAtPoint_FromRect_Operation_Fraction(point foundation.Point, fromRect foundation.Rect, op CompositingOperation, delta float64)
	DrawInRect_FromRect_Operation_Fraction(rect foundation.Rect, fromRect foundation.Rect, op CompositingOperation, delta float64)
	DrawInRect_FromRect_Operation_Fraction_RespectFlipped_Hints(dstSpacePortionRect foundation.Rect, srcSpacePortionRect foundation.Rect, op CompositingOperation, requestedAlpha float64, respectContextIsFlipped bool, hints map[ImageHintKey]objc.IObject)
	DrawRepresentation_InRect(imageRep IImageRep, rect foundation.Rect) bool
	Recache()
	TIFFRepresentationUsingCompression_Factor(comp TIFFCompression, factor float32) []byte
	CGImageForProposedRect_Context_Hints(proposedDestRect *foundation.Rect, referenceContext IGraphicsContext, hints map[ImageHintKey]objc.IObject) coregraphics.ImageRef
	CancelIncrementalLoad()
	HitTestRect_WithImageDestinationRect_Context_Hints_Flipped(testRectDestSpace foundation.Rect, imageRectDestSpace foundation.Rect, context IGraphicsContext, hints map[ImageHintKey]objc.IObject, flipped bool) bool
	LayerContentsForContentsScale(layerContentsScale float64) objc.Object
	RecommendedLayerContentsScale(preferredContentsScale float64) float64
	// deprecated
	LockFocus()
	// deprecated
	LockFocusFlipped(flipped bool)
	// deprecated
	UnlockFocus()
	// deprecated
	LockFocusOnRepresentation(imageRepresentation IImageRep)
	// deprecated
	CompositeToPoint_Operation(point foundation.Point, op CompositingOperation)
	// deprecated
	CompositeToPoint_FromRect_Operation(point foundation.Point, rect foundation.Rect, op CompositingOperation)
	// deprecated
	CompositeToPoint_FromRect_Operation_Fraction(point foundation.Point, rect foundation.Rect, op CompositingOperation, delta float64)
	// deprecated
	CompositeToPoint_Operation_Fraction(point foundation.Point, op CompositingOperation, delta float64)
	// deprecated
	DissolveToPoint_Fraction(point foundation.Point, fraction float64)
	// deprecated
	DissolveToPoint_FromRect_Fraction(point foundation.Point, rect foundation.Rect, fraction float64)
	// deprecated
	SetScalesWhenResized(flag bool)
	// deprecated
	ScalesWhenResized() bool
	// deprecated
	SetDataRetained(flag bool)
	// deprecated
	IsDataRetained() bool
	// deprecated
	SetCachedSeparately(flag bool)
	// deprecated
	IsCachedSeparately() bool
	// deprecated
	SetCacheDepthMatchesImageDepth(flag bool)
	// deprecated
	CacheDepthMatchesImageDepth() bool
	// deprecated
	SetFlipped(flag bool)
	// deprecated
	IsFlipped() bool
	SymbolConfiguration() ImageSymbolConfiguration
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	Size() foundation.Size
	SetSize(value foundation.Size)
	IsTemplate() bool
	SetTemplate(value bool)
	Representations() []ImageRep
	PrefersColorMatch() bool
	SetPrefersColorMatch(value bool)
	UsesEPSOnResolutionMismatch() bool
	SetUsesEPSOnResolutionMismatch(value bool)
	MatchesOnMultipleResolution() bool
	SetMatchesOnMultipleResolution(value bool)
	IsValid() bool
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	CapInsets() foundation.EdgeInsets
	SetCapInsets(value foundation.EdgeInsets)
	ResizingMode() ImageResizingMode
	SetResizingMode(value ImageResizingMode)
	AlignmentRect() foundation.Rect
	SetAlignmentRect(value foundation.Rect)
	CacheMode() ImageCacheMode
	SetCacheMode(value ImageCacheMode)
	TIFFRepresentation() []byte
	AccessibilityDescription() string
	SetAccessibilityDescription(value string)
	MatchesOnlyOnBestFittingAxis() bool
	SetMatchesOnlyOnBestFittingAxis(value bool)
}

type IImageRep added in v0.11.0

type IImageRep interface {
	objc.IObject
	CGImageForProposedRect_Context_Hints(proposedDestRect *foundation.Rect, context IGraphicsContext, hints map[ImageHintKey]objc.IObject) coregraphics.ImageRef
	Draw() bool
	DrawAtPoint(point foundation.Point) bool
	DrawInRect(rect foundation.Rect) bool
	DrawInRect_FromRect_Operation_Fraction_RespectFlipped_Hints(dstSpacePortionRect foundation.Rect, srcSpacePortionRect foundation.Rect, op CompositingOperation, requestedAlpha float64, respectContextIsFlipped bool, hints map[ImageHintKey]objc.IObject) bool
	Size() foundation.Size
	SetSize(value foundation.Size)
	BitsPerSample() int
	SetBitsPerSample(value int)
	ColorSpaceName() ColorSpaceName
	SetColorSpaceName(value ColorSpaceName)
	HasAlpha() bool
	SetAlpha(value bool)
	IsOpaque() bool
	SetOpaque(value bool)
	PixelsHigh() int
	SetPixelsHigh(value int)
	PixelsWide() int
	SetPixelsWide(value int)
	LayoutDirection() ImageLayoutDirection
	SetLayoutDirection(value ImageLayoutDirection)
}

type IImageSymbolConfiguration added in v0.11.0

type IImageSymbolConfiguration interface {
	objc.IObject
}

type IImageView added in v0.11.0

type IImageView interface {
	IControl
	Image() Image
	SetImage(value IImage)
	ImageFrameStyle() ImageFrameStyle
	SetImageFrameStyle(value ImageFrameStyle)
	ImageAlignment() ImageAlignment
	SetImageAlignment(value ImageAlignment)
	ImageScaling() ImageScaling
	SetImageScaling(value ImageScaling)
	Animates() bool
	SetAnimates(value bool)
	IsEditable() bool
	SetEditable(value bool)
	AllowsCutCopyPaste() bool
	SetAllowsCutCopyPaste(value bool)
	ContentTintColor() Color
	SetContentTintColor(value IColor)
	SymbolConfiguration() ImageSymbolConfiguration
	SetSymbolConfiguration(value IImageSymbolConfiguration)
}

type ILayoutAnchor added in v0.11.0

type ILayoutAnchor interface {
	objc.IObject
	ConstraintEqualToAnchor(anchor ILayoutAnchor) LayoutConstraint
	ConstraintEqualToAnchor_Constant(anchor ILayoutAnchor, c float64) LayoutConstraint
	ConstraintGreaterThanOrEqualToAnchor(anchor ILayoutAnchor) LayoutConstraint
	ConstraintGreaterThanOrEqualToAnchor_Constant(anchor ILayoutAnchor, c float64) LayoutConstraint
	ConstraintLessThanOrEqualToAnchor(anchor ILayoutAnchor) LayoutConstraint
	ConstraintLessThanOrEqualToAnchor_Constant(anchor ILayoutAnchor, c float64) LayoutConstraint
	ConstraintsAffectingLayout() []LayoutConstraint
	HasAmbiguousLayout() bool
	Name() string
	Item() objc.Object
}

type ILayoutConstraint added in v0.11.0

type ILayoutConstraint interface {
	objc.IObject
	IsActive() bool
	SetActive(value bool)
	FirstItem() objc.Object
	FirstAttribute() LayoutAttribute
	Relation() LayoutRelation
	SecondItem() objc.Object
	SecondAttribute() LayoutAttribute
	Multiplier() float64
	Constant() float64
	SetConstant(value float64)
	FirstAnchor() LayoutAnchor
	SecondAnchor() LayoutAnchor
	Priority() LayoutPriority
	SetPriority(value LayoutPriority)
	Identifier() string
	SetIdentifier(value string)
	ShouldBeArchived() bool
	SetShouldBeArchived(value bool)
}

type ILayoutDimension added in v0.11.0

type ILayoutDimension interface {
	ILayoutAnchor
	ConstraintEqualToAnchor_Multiplier(anchor ILayoutDimension, m float64) LayoutConstraint
	ConstraintEqualToAnchor_Multiplier_Constant(anchor ILayoutDimension, m float64, c float64) LayoutConstraint
	ConstraintEqualToConstant(c float64) LayoutConstraint
	ConstraintGreaterThanOrEqualToAnchor_Multiplier(anchor ILayoutDimension, m float64) LayoutConstraint
	ConstraintGreaterThanOrEqualToAnchor_Multiplier_Constant(anchor ILayoutDimension, m float64, c float64) LayoutConstraint
	ConstraintGreaterThanOrEqualToConstant(c float64) LayoutConstraint
	ConstraintLessThanOrEqualToAnchor_Multiplier(anchor ILayoutDimension, m float64) LayoutConstraint
	ConstraintLessThanOrEqualToAnchor_Multiplier_Constant(anchor ILayoutDimension, m float64, c float64) LayoutConstraint
	ConstraintLessThanOrEqualToConstant(c float64) LayoutConstraint
}

type ILayoutGuide added in v0.11.0

type ILayoutGuide interface {
	objc.IObject
	ConstraintsAffectingLayoutForOrientation(orientation LayoutConstraintOrientation) []LayoutConstraint
	Identifier() UserInterfaceItemIdentifier
	SetIdentifier(value UserInterfaceItemIdentifier)
	Frame() foundation.Rect
	OwningView() View
	SetOwningView(value IView)
	BottomAnchor() LayoutYAxisAnchor
	CenterXAnchor() LayoutXAxisAnchor
	CenterYAnchor() LayoutYAxisAnchor
	HeightAnchor() LayoutDimension
	LeadingAnchor() LayoutXAxisAnchor
	LeftAnchor() LayoutXAxisAnchor
	RightAnchor() LayoutXAxisAnchor
	TopAnchor() LayoutYAxisAnchor
	TrailingAnchor() LayoutXAxisAnchor
	WidthAnchor() LayoutDimension
	HasAmbiguousLayout() bool
}

type ILayoutManager added in v0.11.0

type ILayoutManager interface {
	objc.IObject
	ReplaceTextStorage(newTextStorage ITextStorage)
	AddTextContainer(container ITextContainer)
	InsertTextContainer_AtIndex(container ITextContainer, index uint)
	RemoveTextContainerAtIndex(index uint)
	SetTextContainer_ForGlyphRange(container ITextContainer, glyphRange foundation.Range)
	TextContainerChangedGeometry(container ITextContainer)
	TextContainerChangedTextView(container ITextContainer)
	TextContainerForGlyphAtIndex_EffectiveRange(glyphIndex uint, effectiveGlyphRange *foundation.Range) TextContainer
	TextContainerForGlyphAtIndex_EffectiveRange_WithoutAdditionalLayout(glyphIndex uint, effectiveGlyphRange *foundation.Range, flag bool) TextContainer
	UsedRectForTextContainer(container ITextContainer) foundation.Rect
	InvalidateDisplayForCharacterRange(charRange foundation.Range)
	InvalidateDisplayForGlyphRange(glyphRange foundation.Range)
	InvalidateGlyphsForCharacterRange_ChangeInLength_ActualCharacterRange(charRange foundation.Range, delta int, actualCharRange *foundation.Range)
	InvalidateLayoutForCharacterRange_ActualCharacterRange(charRange foundation.Range, actualCharRange *foundation.Range)
	ProcessEditingForTextStorage_Edited_Range_ChangeInLength_InvalidatedRange(textStorage ITextStorage, editMask TextStorageEditActions, newCharRange foundation.Range, delta int, invalidatedCharRange foundation.Range)
	EnsureGlyphsForCharacterRange(charRange foundation.Range)
	EnsureGlyphsForGlyphRange(glyphRange foundation.Range)
	EnsureLayoutForBoundingRect_InTextContainer(bounds foundation.Rect, container ITextContainer)
	EnsureLayoutForCharacterRange(charRange foundation.Range)
	EnsureLayoutForGlyphRange(glyphRange foundation.Range)
	EnsureLayoutForTextContainer(container ITextContainer)
	GetGlyphsInRange_Glyphs_Properties_CharacterIndexes_BidiLevels(glyphRange foundation.Range, glyphBuffer *coregraphics.Glyph, props *GlyphProperty, charIndexBuffer *uint, bidiLevelBuffer *byte) uint
	CGGlyphAtIndex(glyphIndex uint) coregraphics.Glyph
	CGGlyphAtIndex_IsValidIndex(glyphIndex uint, isValidIndex *bool) coregraphics.Glyph
	SetGlyphs_Properties_CharacterIndexes_Font_ForGlyphRange(glyphs *coregraphics.Glyph, props *GlyphProperty, charIndexes *uint, aFont IFont, glyphRange foundation.Range)
	CharacterIndexForGlyphAtIndex(glyphIndex uint) uint
	GlyphIndexForCharacterAtIndex(charIndex uint) uint
	IsValidGlyphIndex(glyphIndex uint) bool
	PropertyForGlyphAtIndex(glyphIndex uint) GlyphProperty
	SetAttachmentSize_ForGlyphRange(attachmentSize foundation.Size, glyphRange foundation.Range)
	SetDrawsOutsideLineFragment_ForGlyphAtIndex(flag bool, glyphIndex uint)
	SetExtraLineFragmentRect_UsedRect_TextContainer(fragmentRect foundation.Rect, usedRect foundation.Rect, container ITextContainer)
	SetLineFragmentRect_ForGlyphRange_UsedRect(fragmentRect foundation.Rect, glyphRange foundation.Range, usedRect foundation.Rect)
	SetLocation_ForStartOfGlyphRange(location foundation.Point, glyphRange foundation.Range)
	SetNotShownAttribute_ForGlyphAtIndex(flag bool, glyphIndex uint)
	AttachmentSizeForGlyphAtIndex(glyphIndex uint) foundation.Size
	DrawsOutsideLineFragmentForGlyphAtIndex(glyphIndex uint) bool
	FirstUnlaidCharacterIndex() uint
	FirstUnlaidGlyphIndex() uint
	GetFirstUnlaidCharacterIndex_GlyphIndex(charIndex *uint, glyphIndex *uint)
	LineFragmentRectForGlyphAtIndex_EffectiveRange(glyphIndex uint, effectiveGlyphRange *foundation.Range) foundation.Rect
	LineFragmentRectForGlyphAtIndex_EffectiveRange_WithoutAdditionalLayout(glyphIndex uint, effectiveGlyphRange *foundation.Range, flag bool) foundation.Rect
	LineFragmentUsedRectForGlyphAtIndex_EffectiveRange(glyphIndex uint, effectiveGlyphRange *foundation.Range) foundation.Rect
	LineFragmentUsedRectForGlyphAtIndex_EffectiveRange_WithoutAdditionalLayout(glyphIndex uint, effectiveGlyphRange *foundation.Range, flag bool) foundation.Rect
	LocationForGlyphAtIndex(glyphIndex uint) foundation.Point
	NotShownAttributeForGlyphAtIndex(glyphIndex uint) bool
	TruncatedGlyphRangeInLineFragmentForGlyphAtIndex(glyphIndex uint) foundation.Range
	BoundingRectForGlyphRange_InTextContainer(glyphRange foundation.Range, container ITextContainer) foundation.Rect
	CharacterIndexForPoint_InTextContainer_FractionOfDistanceBetweenInsertionPoints(point foundation.Point, container ITextContainer, partialFraction *float64) uint
	CharacterRangeForGlyphRange_ActualGlyphRange(glyphRange foundation.Range, actualGlyphRange *foundation.Range) foundation.Range
	EnumerateEnclosingRectsForGlyphRange_WithinSelectedGlyphRange_InTextContainer_UsingBlock(glyphRange foundation.Range, selectedRange foundation.Range, textContainer ITextContainer, block func(rect foundation.Rect, stop *bool))
	EnumerateLineFragmentsForGlyphRange_UsingBlock(glyphRange foundation.Range, block func(rect foundation.Rect, usedRect foundation.Rect, textContainer TextContainer, glyphRange foundation.Range, stop *bool))
	FractionOfDistanceThroughGlyphForPoint_InTextContainer(point foundation.Point, container ITextContainer) float64
	GetLineFragmentInsertionPointsForCharacterAtIndex_AlternatePositions_InDisplayOrder_Positions_CharacterIndexes(charIndex uint, aFlag bool, dFlag bool, positions *float64, charIndexes *uint) uint
	GlyphIndexForPoint_InTextContainer(point foundation.Point, container ITextContainer) uint
	GlyphIndexForPoint_InTextContainer_FractionOfDistanceThroughGlyph(point foundation.Point, container ITextContainer, partialFraction *float64) uint
	GlyphRangeForBoundingRect_InTextContainer(bounds foundation.Rect, container ITextContainer) foundation.Range
	GlyphRangeForBoundingRectWithoutAdditionalLayout_InTextContainer(bounds foundation.Rect, container ITextContainer) foundation.Range
	GlyphRangeForTextContainer(container ITextContainer) foundation.Range
	GlyphRangeForCharacterRange_ActualCharacterRange(charRange foundation.Range, actualCharRange *foundation.Range) foundation.Range
	RangeOfNominallySpacedGlyphsContainingIndex(glyphIndex uint) foundation.Range
	DrawBackgroundForGlyphRange_AtPoint(glyphsToShow foundation.Range, origin foundation.Point)
	DrawGlyphsForGlyphRange_AtPoint(glyphsToShow foundation.Range, origin foundation.Point)
	DrawStrikethroughForGlyphRange_StrikethroughType_BaselineOffset_LineFragmentRect_LineFragmentGlyphRange_ContainerOrigin(glyphRange foundation.Range, strikethroughVal UnderlineStyle, baselineOffset float64, lineRect foundation.Rect, lineGlyphRange foundation.Range, containerOrigin foundation.Point)
	DrawUnderlineForGlyphRange_UnderlineType_BaselineOffset_LineFragmentRect_LineFragmentGlyphRange_ContainerOrigin(glyphRange foundation.Range, underlineVal UnderlineStyle, baselineOffset float64, lineRect foundation.Rect, lineGlyphRange foundation.Range, containerOrigin foundation.Point)
	FillBackgroundRectArray_Count_ForCharacterRange_Color(rectArray *foundation.Rect, rectCount uint, charRange foundation.Range, color IColor)
	ShowCGGlyphs_Positions_Count_Font_TextMatrix_Attributes_InContext(glyphs *coregraphics.Glyph, positions *coregraphics.Point, glyphCount int, font IFont, textMatrix coregraphics.AffineTransform, attributes map[foundation.AttributedStringKey]objc.IObject, CGContext coregraphics.ContextRef)
	StrikethroughGlyphRange_StrikethroughType_LineFragmentRect_LineFragmentGlyphRange_ContainerOrigin(glyphRange foundation.Range, strikethroughVal UnderlineStyle, lineRect foundation.Rect, lineGlyphRange foundation.Range, containerOrigin foundation.Point)
	UnderlineGlyphRange_UnderlineType_LineFragmentRect_LineFragmentGlyphRange_ContainerOrigin(glyphRange foundation.Range, underlineVal UnderlineStyle, lineRect foundation.Rect, lineGlyphRange foundation.Range, containerOrigin foundation.Point)
	SetLayoutRect_ForTextBlock_GlyphRange(rect foundation.Rect, block ITextBlock, glyphRange foundation.Range)
	LayoutRectForTextBlock_GlyphRange(block ITextBlock, glyphRange foundation.Range) foundation.Rect
	SetBoundsRect_ForTextBlock_GlyphRange(rect foundation.Rect, block ITextBlock, glyphRange foundation.Range)
	BoundsRectForTextBlock_GlyphRange(block ITextBlock, glyphRange foundation.Range) foundation.Rect
	LayoutRectForTextBlock_AtIndex_EffectiveRange(block ITextBlock, glyphIndex uint, effectiveGlyphRange *foundation.Range) foundation.Rect
	BoundsRectForTextBlock_AtIndex_EffectiveRange(block ITextBlock, glyphIndex uint, effectiveGlyphRange *foundation.Range) foundation.Rect
	ShowAttachmentCell_InRect_CharacterIndex(cell ICell, rect foundation.Rect, attachmentIndex uint)
	RulerAccessoryViewForTextView_ParagraphStyle_Ruler_Enabled(view ITextView, style IParagraphStyle, ruler IRulerView, isEnabled bool) View
	RulerMarkersForTextView_ParagraphStyle_Ruler(view ITextView, style IParagraphStyle, ruler IRulerView) []RulerMarker
	LayoutManagerOwnsFirstResponderInWindow(window IWindow) bool
	DefaultLineHeightForFont(theFont IFont) float64
	DefaultBaselineOffsetForFont(theFont IFont) float64
	AddTemporaryAttributes_ForCharacterRange(attrs map[foundation.AttributedStringKey]objc.IObject, charRange foundation.Range)
	AddTemporaryAttribute_Value_ForCharacterRange(attrName foundation.AttributedStringKey, value objc.IObject, charRange foundation.Range)
	SetTemporaryAttributes_ForCharacterRange(attrs map[foundation.AttributedStringKey]objc.IObject, charRange foundation.Range)
	RemoveTemporaryAttribute_ForCharacterRange(attrName foundation.AttributedStringKey, charRange foundation.Range)
	TemporaryAttribute_AtCharacterIndex_EffectiveRange(attrName foundation.AttributedStringKey, location uint, range_ *foundation.Range) objc.Object
	TemporaryAttribute_AtCharacterIndex_LongestEffectiveRange_InRange(attrName foundation.AttributedStringKey, location uint, range_ *foundation.Range, rangeLimit foundation.Range) objc.Object
	TemporaryAttributesAtCharacterIndex_EffectiveRange(charIndex uint, effectiveCharRange *foundation.Range) map[foundation.AttributedStringKey]objc.Object
	TemporaryAttributesAtCharacterIndex_LongestEffectiveRange_InRange(location uint, range_ *foundation.Range, rangeLimit foundation.Range) map[foundation.AttributedStringKey]objc.Object
	// deprecated
	ShowCGGlyphs_Positions_Count_Font_Matrix_Attributes_InContext(glyphs *coregraphics.Glyph, positions *foundation.Point, glyphCount uint, font IFont, textMatrix foundation.IAffineTransform, attributes map[foundation.AttributedStringKey]objc.IObject, graphicsContext IGraphicsContext)
	// deprecated
	InvalidateGlyphsOnLayoutInvalidationForGlyphRange(glyphRange foundation.Range)
	// deprecated
	InvalidateLayoutForCharacterRange_IsSoft_ActualCharacterRange(charRange foundation.Range, flag bool, actualCharRange *foundation.Range)
	// deprecated
	TextStorage_Edited_Range_ChangeInLength_InvalidatedRange(str ITextStorage, editedMask TextStorageEditedOptions, newCharRange foundation.Range, delta int, invalidatedCharRange foundation.Range)
	// deprecated
	InsertGlyph_AtGlyphIndex_CharacterIndex(glyph Glyph, glyphIndex uint, charIndex uint)
	// deprecated
	InsertGlyphs_Length_ForStartingGlyphAtIndex_CharacterIndex(glyphs *Glyph, length uint, glyphIndex uint, charIndex uint)
	// deprecated
	GlyphAtIndex(glyphIndex uint) Glyph
	// deprecated
	GlyphAtIndex_IsValidIndex(glyphIndex uint, isValidIndex *bool) Glyph
	// deprecated
	ReplaceGlyphAtIndex_WithGlyph(glyphIndex uint, newGlyph Glyph)
	// deprecated
	GetGlyphs_Range(glyphArray *Glyph, glyphRange foundation.Range) uint
	// deprecated
	GetGlyphsInRange_Glyphs_CharacterIndexes_GlyphInscriptions_ElasticBits(glyphRange foundation.Range, glyphBuffer *Glyph, charIndexBuffer *uint, inscribeBuffer *GlyphInscription, elasticBuffer *bool) uint
	// deprecated
	GetGlyphsInRange_Glyphs_CharacterIndexes_GlyphInscriptions_ElasticBits_BidiLevels(glyphRange foundation.Range, glyphBuffer *Glyph, charIndexBuffer *uint, inscribeBuffer *GlyphInscription, elasticBuffer *bool, bidiLevelBuffer *byte) uint
	// deprecated
	DeleteGlyphsInRange(glyphRange foundation.Range)
	// deprecated
	SetCharacterIndex_ForGlyphAtIndex(charIndex uint, glyphIndex uint)
	// deprecated
	IntAttribute_ForGlyphAtIndex(attributeTag int, glyphIndex uint) int
	// deprecated
	SetIntAttribute_Value_ForGlyphAtIndex(attributeTag int, val int, glyphIndex uint)
	// deprecated
	SetLocations_StartingGlyphIndexes_Count_ForGlyphRange(locations *foundation.Point, glyphIndexes *uint, count uint, glyphRange foundation.Range)
	// deprecated
	RectArrayForCharacterRange_WithinSelectedCharacterRange_InTextContainer_RectCount(charRange foundation.Range, selCharRange foundation.Range, container ITextContainer, rectCount *uint) *foundation.Rect
	// deprecated
	RectArrayForGlyphRange_WithinSelectedGlyphRange_InTextContainer_RectCount(glyphRange foundation.Range, selGlyphRange foundation.Range, container ITextContainer, rectCount *uint) *foundation.Rect
	// deprecated
	SubstituteFontForFont(originalFont IFont) Font
	// deprecated
	ShowPackedGlyphs_Length_GlyphRange_AtPoint_Font_Color_PrintingAdjustment(glyphs *byte, glyphLen uint, glyphRange foundation.Range, point foundation.Point, font IFont, color IColor, printingAdjustment foundation.Size)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	TextStorage() TextStorage
	SetTextStorage(value ITextStorage)
	AllowsNonContiguousLayout() bool
	SetAllowsNonContiguousLayout(value bool)
	HasNonContiguousLayout() bool
	ShowsInvisibleCharacters() bool
	SetShowsInvisibleCharacters(value bool)
	ShowsControlCharacters() bool
	SetShowsControlCharacters(value bool)
	UsesFontLeading() bool
	SetUsesFontLeading(value bool)
	BackgroundLayoutEnabled() bool
	SetBackgroundLayoutEnabled(value bool)
	LimitsLayoutForSuspiciousContents() bool
	SetLimitsLayoutForSuspiciousContents(value bool)
	UsesDefaultHyphenation() bool
	SetUsesDefaultHyphenation(value bool)
	TextContainers() []TextContainer
	GlyphGenerator() GlyphGenerator
	SetGlyphGenerator(value IGlyphGenerator)
	NumberOfGlyphs() uint
	ExtraLineFragmentRect() foundation.Rect
	ExtraLineFragmentTextContainer() TextContainer
	ExtraLineFragmentUsedRect() foundation.Rect
	DefaultAttachmentScaling() ImageScaling
	SetDefaultAttachmentScaling(value ImageScaling)
	FirstTextView() TextView
	TextViewForBeginningOfSelection() TextView
	Typesetter() Typesetter
	SetTypesetter(value ITypesetter)
	TypesetterBehavior() TypesetterBehavior
	SetTypesetterBehavior(value TypesetterBehavior)
	// deprecated
	HyphenationFactor() float32
	// deprecated
	SetHyphenationFactor(value float32)
	// deprecated
	UsesScreenFonts() bool
	// deprecated
	SetUsesScreenFonts(value bool)
}

type ILayoutXAxisAnchor added in v0.11.0

type ILayoutXAxisAnchor interface {
	ILayoutAnchor
	ConstraintEqualToSystemSpacingAfterAnchor_Multiplier(anchor ILayoutXAxisAnchor, multiplier float64) LayoutConstraint
	ConstraintGreaterThanOrEqualToSystemSpacingAfterAnchor_Multiplier(anchor ILayoutXAxisAnchor, multiplier float64) LayoutConstraint
	ConstraintLessThanOrEqualToSystemSpacingAfterAnchor_Multiplier(anchor ILayoutXAxisAnchor, multiplier float64) LayoutConstraint
	AnchorWithOffsetToAnchor(otherAnchor ILayoutXAxisAnchor) LayoutDimension
}

type ILayoutYAxisAnchor added in v0.11.0

type ILayoutYAxisAnchor interface {
	ILayoutAnchor
	ConstraintEqualToSystemSpacingBelowAnchor_Multiplier(anchor ILayoutYAxisAnchor, multiplier float64) LayoutConstraint
	ConstraintGreaterThanOrEqualToSystemSpacingBelowAnchor_Multiplier(anchor ILayoutYAxisAnchor, multiplier float64) LayoutConstraint
	ConstraintLessThanOrEqualToSystemSpacingBelowAnchor_Multiplier(anchor ILayoutYAxisAnchor, multiplier float64) LayoutConstraint
	AnchorWithOffsetToAnchor(otherAnchor ILayoutYAxisAnchor) LayoutDimension
}

type ILevelIndicator added in v0.11.0

type ILevelIndicator interface {
	IControl
	TickMarkValueAtIndex(index int) float64
	RectOfTickMarkAtIndex(index int) foundation.Rect
	MinValue() float64
	SetMinValue(value float64)
	MaxValue() float64
	SetMaxValue(value float64)
	WarningValue() float64
	SetWarningValue(value float64)
	CriticalValue() float64
	SetCriticalValue(value float64)
	TickMarkPosition() TickMarkPosition
	SetTickMarkPosition(value TickMarkPosition)
	NumberOfTickMarks() int
	SetNumberOfTickMarks(value int)
	NumberOfMajorTickMarks() int
	SetNumberOfMajorTickMarks(value int)
	LevelIndicatorStyle() LevelIndicatorStyle
	SetLevelIndicatorStyle(value LevelIndicatorStyle)
	RatingImage() Image
	SetRatingImage(value IImage)
	DrawsTieredCapacityLevels() bool
	SetDrawsTieredCapacityLevels(value bool)
	FillColor() Color
	SetFillColor(value IColor)
	WarningFillColor() Color
	SetWarningFillColor(value IColor)
	CriticalFillColor() Color
	SetCriticalFillColor(value IColor)
	RatingPlaceholderImage() Image
	SetRatingPlaceholderImage(value IImage)
	PlaceholderVisibility() LevelIndicatorPlaceholderVisibility
	SetPlaceholderVisibility(value LevelIndicatorPlaceholderVisibility)
	IsEditable() bool
	SetEditable(value bool)
}

type IMatrix added in v0.11.0

type IMatrix interface {
	IControl
	AddColumn()
	AddColumnWithCells(newCells []ICell)
	AddRow()
	AddRowWithCells(newCells []ICell)
	CellFrameAtRow_Column(row int, col int) foundation.Rect
	GetNumberOfRows_Columns(rowCount *int, colCount *int)
	InsertColumn(column int)
	InsertColumn_WithCells(column int, newCells []ICell)
	InsertRow(row int)
	InsertRow_WithCells(row int, newCells []ICell)
	MakeCellAtRow_Column(row int, col int) Cell
	PutCell_AtRow_Column(newCell ICell, row int, col int)
	RemoveColumn(col int)
	RemoveRow(row int)
	RenewRows_Columns(newRows int, newCols int)
	SortUsingSelector(comparator objc.Selector)
	GetRow_Column_ForPoint(row *int, col *int, point foundation.Point) bool
	GetRow_Column_OfCell(row *int, col *int, cell ICell) bool
	SetState_AtRow_Column(value int, row int, col int)
	SetToolTip_ForCell(toolTipString string, cell ICell)
	ToolTipForCell(cell ICell) string
	SelectCellAtRow_Column(row int, col int)
	SelectCellWithTag(tag int) bool
	SelectAll(sender objc.IObject)
	SetSelectionFrom_To_Anchor_Highlight(startPos int, endPos int, anchorPos int, lit bool)
	DeselectAllCells()
	DeselectSelectedCell()
	CellAtRow_Column(row int, col int) Cell
	CellWithTag(tag int) Cell
	SelectText(sender objc.IObject)
	SelectTextAtRow_Column(row int, col int) Cell
	TextShouldBeginEditing(textObject IText) bool
	TextDidBeginEditing(notification foundation.INotification)
	TextDidChange(notification foundation.INotification)
	TextShouldEndEditing(textObject IText) bool
	TextDidEndEditing(notification foundation.INotification)
	SetValidateSize(flag bool)
	SizeToCells()
	SetScrollable(flag bool)
	ScrollCellToVisibleAtRow_Column(row int, col int)
	DrawCellAtRow_Column(row int, col int)
	HighlightCell_AtRow_Column(flag bool, row int, col int)
	SendAction() bool
	SendAction_To_ForAllCells(selector objc.Selector, object objc.IObject, flag bool)
	SendDoubleAction()
	Mode() MatrixMode
	SetMode(value MatrixMode)
	AllowsEmptySelection() bool
	SetAllowsEmptySelection(value bool)
	IsSelectionByRect() bool
	SetSelectionByRect(value bool)
	Prototype() Cell
	SetPrototype(value ICell)
	CellSize() foundation.Size
	SetCellSize(value foundation.Size)
	IntercellSpacing() foundation.Size
	SetIntercellSpacing(value foundation.Size)
	NumberOfColumns() int
	NumberOfRows() int
	AutorecalculatesCellSize() bool
	SetAutorecalculatesCellSize(value bool)
	KeyCell() Cell
	SetKeyCell(value ICell)
	SelectedCells() []Cell
	SelectedColumn() int
	SelectedRow() int
	Cells() []Cell
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	CellBackgroundColor() Color
	SetCellBackgroundColor(value IColor)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	DrawsCellBackground() bool
	SetDrawsCellBackground(value bool)
	TabKeyTraversesCells() bool
	SetTabKeyTraversesCells(value bool)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	AutosizesCells() bool
	SetAutosizesCells(value bool)
	IsAutoscroll() bool
	SetAutoscroll(value bool)
	DoubleAction() objc.Selector
	SetDoubleAction(value objc.Selector)
	MouseDownFlags() int
}

type IMenu added in v0.11.0

type IMenu interface {
	objc.IObject
	InsertItem_AtIndex(newItem IMenuItem, index int)
	InsertItemWithTitle_Action_KeyEquivalent_AtIndex(string_ string, selector objc.Selector, charCode string, index int) MenuItem
	AddItem(newItem IMenuItem)
	AddItemWithTitle_Action_KeyEquivalent(string_ string, selector objc.Selector, charCode string) MenuItem
	RemoveItem(item IMenuItem)
	RemoveItemAtIndex(index int)
	ItemChanged(item IMenuItem)
	RemoveAllItems()
	ItemWithTag(tag int) MenuItem
	ItemWithTitle(title string) MenuItem
	ItemAtIndex(index int) MenuItem
	IndexOfItem(item IMenuItem) int
	IndexOfItemWithTitle(title string) int
	IndexOfItemWithTag(tag int) int
	IndexOfItemWithTarget_AndAction(target objc.IObject, actionSelector objc.Selector) int
	IndexOfItemWithRepresentedObject(object objc.IObject) int
	IndexOfItemWithSubmenu(submenu IMenu) int
	SetSubmenu_ForItem(menu IMenu, item IMenuItem)
	SubmenuAction(sender objc.IObject)
	// deprecated
	AttachedMenu() Menu
	// deprecated
	IsAttached() bool
	// deprecated
	LocationForSubmenu(submenu IMenu) foundation.Point
	Update()
	PerformKeyEquivalent(event IEvent) bool
	PerformActionForItemAtIndex(index int)
	// deprecated
	SizeToFit()
	// deprecated
	HelpRequested(eventPtr IEvent)
	PopUpMenuPositioningItem_AtLocation_InView(item IMenuItem, location foundation.Point, view IView) bool
	CancelTracking()
	CancelTrackingWithoutAnimation()
	// deprecated
	ContextMenuRepresentation() objc.Object
	// deprecated
	SetContextMenuRepresentation(menuRep objc.IObject)
	// deprecated
	TearOffMenuRepresentation() objc.Object
	// deprecated
	SetTearOffMenuRepresentation(menuRep objc.IObject)
	// deprecated
	SetMenuRepresentation(menuRep objc.IObject)
	// deprecated
	MenuRepresentation() objc.Object
	MenuBarHeight() float64
	NumberOfItems() int
	ItemArray() []MenuItem
	SetItemArray(value []IMenuItem)
	Supermenu() Menu
	SetSupermenu(value IMenu)
	// deprecated
	IsTornOff() bool
	AutoenablesItems() bool
	SetAutoenablesItems(value bool)
	Font() Font
	SetFont(value IFont)
	Title() string
	SetTitle(value string)
	MinimumWidth() float64
	SetMinimumWidth(value float64)
	Size() foundation.Size
	PropertiesToUpdate() MenuProperties
	// deprecated
	MenuChangedMessagesEnabled() bool
	// deprecated
	SetMenuChangedMessagesEnabled(value bool)
	AllowsContextMenuPlugIns() bool
	SetAllowsContextMenuPlugIns(value bool)
	ShowsStateColumn() bool
	SetShowsStateColumn(value bool)
	HighlightedItem() MenuItem
	UserInterfaceLayoutDirection() UserInterfaceLayoutDirection
	SetUserInterfaceLayoutDirection(value UserInterfaceLayoutDirection)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
}

type IMenuItem added in v0.11.0

type IMenuItem interface {
	objc.IObject
	// deprecated
	SetMnemonicLocation(location uint)
	// deprecated
	MnemonicLocation() uint
	// deprecated
	SetTitleWithMnemonic(stringWithAmpersand string)
	// deprecated
	Mnemonic() string
	IsEnabled() bool
	SetEnabled(value bool)
	IsHidden() bool
	SetHidden(value bool)
	IsHiddenOrHasHiddenAncestor() bool
	Target() objc.Object
	SetTarget(value objc.IObject)
	Action() objc.Selector
	SetAction(value objc.Selector)
	Title() string
	SetTitle(value string)
	AttributedTitle() foundation.AttributedString
	SetAttributedTitle(value foundation.IAttributedString)
	Tag() int
	SetTag(value int)
	State() ControlStateValue
	SetState(value ControlStateValue)
	Image() Image
	SetImage(value IImage)
	OnStateImage() Image
	SetOnStateImage(value IImage)
	OffStateImage() Image
	SetOffStateImage(value IImage)
	MixedStateImage() Image
	SetMixedStateImage(value IImage)
	Submenu() Menu
	SetSubmenu(value IMenu)
	HasSubmenu() bool
	ParentItem() MenuItem
	IsSeparatorItem() bool
	Menu() Menu
	SetMenu(value IMenu)
	KeyEquivalent() string
	SetKeyEquivalent(value string)
	KeyEquivalentModifierMask() EventModifierFlags
	SetKeyEquivalentModifierMask(value EventModifierFlags)
	UserKeyEquivalent() string
	AllowsAutomaticKeyEquivalentLocalization() bool
	SetAllowsAutomaticKeyEquivalentLocalization(value bool)
	AllowsAutomaticKeyEquivalentMirroring() bool
	SetAllowsAutomaticKeyEquivalentMirroring(value bool)
	AllowsKeyEquivalentWhenHidden() bool
	SetAllowsKeyEquivalentWhenHidden(value bool)
	IsAlternate() bool
	SetAlternate(value bool)
	IndentationLevel() int
	SetIndentationLevel(value int)
	ToolTip() string
	SetToolTip(value string)
	RepresentedObject() objc.Object
	SetRepresentedObject(value objc.IObject)
	View() View
	SetView(value IView)
	IsHighlighted() bool
}

type IMenuToolbarItem added in v0.13.6

type IMenuToolbarItem interface {
	IToolbarItem
	ShowsIndicator() bool
	SetShowsIndicator(value bool)
	Menu() Menu
	SetMenu(value IMenu)
}

type IMutableParagraphStyle added in v0.11.0

type IMutableParagraphStyle interface {
	IParagraphStyle
	SetParagraphStyle(obj IParagraphStyle)
	AddTabStop(anObject ITextTab)
	RemoveTabStop(anObject ITextTab)
	SetAlignment(value TextAlignment)
	SetFirstLineHeadIndent(value float64)
	SetHeadIndent(value float64)
	SetTailIndent(value float64)
	SetLineHeightMultiple(value float64)
	SetMaximumLineHeight(value float64)
	SetMinimumLineHeight(value float64)
	SetLineSpacing(value float64)
	SetParagraphSpacing(value float64)
	SetParagraphSpacingBefore(value float64)
	SetBaseWritingDirection(value WritingDirection)
	SetTabStops(value []ITextTab)
	SetDefaultTabInterval(value float64)
	SetTextBlocks(value []ITextBlock)
	SetTextLists(value []ITextList)
	SetLineBreakMode(value LineBreakMode)
	SetLineBreakStrategy(value LineBreakStrategy)
	SetHyphenationFactor(value float32)
	SetUsesDefaultHyphenation(value bool)
	SetTighteningFactorForTruncation(value float32)
	SetAllowsDefaultTighteningForTruncation(value bool)
	SetHeaderLevel(value int)
}

type INib added in v0.11.0

type INib interface {
	objc.IObject
	// deprecated
	InitWithContentsOfURL(nibFileURL foundation.IURL) objc.Object
	InstantiateWithOwner_TopLevelObjects(owner objc.IObject, topLevelObjects *foundation.Array) bool
}

type IObjectController added in v0.11.0

type IObjectController interface {
	IController
	PrepareContent()
	NewObject() objc.Object
	AddObject(object objc.IObject)
	RemoveObject(object objc.IObject)
	Add(sender objc.IObject)
	Remove(sender objc.IObject)
	Fetch(sender objc.IObject)
	ValidateUserInterfaceItem(item objc.IObject) bool
	Content() objc.Object
	SetContent(value objc.IObject)
	AutomaticallyPreparesContent() bool
	SetAutomaticallyPreparesContent(value bool)
	ObjectClass() objc.Class
	SetObjectClass(value objc.IClass)
	CanAdd() bool
	CanRemove() bool
	IsEditable() bool
	SetEditable(value bool)
	EntityName() string
	SetEntityName(value string)
	UsesLazyFetching() bool
	SetUsesLazyFetching(value bool)
	FetchPredicate() foundation.Predicate
	SetFetchPredicate(value foundation.IPredicate)
	SelectedObjects() []objc.Object
	Selection() objc.Object
}

type IOpenPanel added in v0.11.0

type IOpenPanel interface {
	ISavePanel
	// deprecated
	Filenames() []objc.Object
	// deprecated
	BeginForDirectory_File_Types_ModelessDelegate_DidEndSelector_ContextInfo(path string, name string, fileTypes []objc.IObject, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)
	// deprecated
	BeginSheetForDirectory_File_Types_ModalForWindow_ModalDelegate_DidEndSelector_ContextInfo(path string, name string, fileTypes []objc.IObject, docWindow IWindow, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)
	// deprecated
	RunModalForDirectory_File_Types(path string, name string, fileTypes []objc.IObject) int
	// deprecated
	RunModalForTypes(fileTypes []objc.IObject) int
	CanChooseFiles() bool
	SetCanChooseFiles(value bool)
	CanChooseDirectories() bool
	SetCanChooseDirectories(value bool)
	ResolvesAliases() bool
	SetResolvesAliases(value bool)
	AllowsMultipleSelection() bool
	SetAllowsMultipleSelection(value bool)
	IsAccessoryViewDisclosed() bool
	SetAccessoryViewDisclosed(value bool)
	URLs() []foundation.URL
	CanDownloadUbiquitousContents() bool
	SetCanDownloadUbiquitousContents(value bool)
	CanResolveUbiquitousConflicts() bool
	SetCanResolveUbiquitousConflicts(value bool)
}

type IOutlineView added in v0.11.0

type IOutlineView interface {
	ITableView
	IsExpandable(item objc.IObject) bool
	IsItemExpanded(item objc.IObject) bool
	ExpandItem(item objc.IObject)
	ExpandItem_ExpandChildren(item objc.IObject, expandChildren bool)
	CollapseItem(item objc.IObject)
	CollapseItem_CollapseChildren(item objc.IObject, collapseChildren bool)
	ReloadItem(item objc.IObject)
	ReloadItem_ReloadChildren(item objc.IObject, reloadChildren bool)
	ItemAtRow(row int) objc.Object
	RowForItem(item objc.IObject) int
	LevelForItem(item objc.IObject) int
	LevelForRow(row int) int
	SetDropItem_DropChildIndex(item objc.IObject, index int)
	ShouldCollapseAutoExpandedItemsForDeposited(deposited bool) bool
	ParentForItem(item objc.IObject) objc.Object
	ChildIndexForItem(item objc.IObject) int
	Child_OfItem(index int, item objc.IObject) objc.Object
	NumberOfChildrenOfItem(item objc.IObject) int
	FrameOfOutlineCellAtRow(row int) foundation.Rect
	InsertItemsAtIndexes_InParent_WithAnimation(indexes foundation.IIndexSet, parent objc.IObject, animationOptions TableViewAnimationOptions)
	MoveItemAtIndex_InParent_ToIndex_InParent(fromIndex int, oldParent objc.IObject, toIndex int, newParent objc.IObject)
	RemoveItemsAtIndexes_InParent_WithAnimation(indexes foundation.IIndexSet, parent objc.IObject, animationOptions TableViewAnimationOptions)
	StronglyReferencesItems() bool
	SetStronglyReferencesItems(value bool)
	OutlineTableColumn() TableColumn
	SetOutlineTableColumn(value ITableColumn)
	AutoresizesOutlineColumn() bool
	SetAutoresizesOutlineColumn(value bool)
	IndentationPerLevel() float64
	SetIndentationPerLevel(value float64)
	IndentationMarkerFollowsCell() bool
	SetIndentationMarkerFollowsCell(value bool)
	AutosaveExpandedItems() bool
	SetAutosaveExpandedItems(value bool)
}

type IPDFInfo added in v0.11.0

type IPDFInfo interface {
	objc.IObject
	URL() foundation.URL
	SetURL(value foundation.IURL)
	IsFileExtensionHidden() bool
	SetFileExtensionHidden(value bool)
	TagNames() []string
	SetTagNames(value []string)
	Orientation() PaperOrientation
	SetOrientation(value PaperOrientation)
	PaperSize() foundation.Size
	SetPaperSize(value foundation.Size)
	Attributes() foundation.MutableDictionary
}

type IPDFPanel added in v0.11.0

type IPDFPanel interface {
	objc.IObject
	BeginSheetWithPDFInfo_ModalForWindow_CompletionHandler(pdfInfo IPDFInfo, docWindow IWindow, completionHandler func(param1 int))
	AccessoryController() ViewController
	SetAccessoryController(value IViewController)
	Options() PDFPanelOptions
	SetOptions(value PDFPanelOptions)
	DefaultFileName() string
	SetDefaultFileName(value string)
}

type IPageLayout added in v0.11.0

type IPageLayout interface {
	objc.IObject
	BeginSheetWithPrintInfo_ModalForWindow_Delegate_DidEndSelector_ContextInfo(printInfo IPrintInfo, docWindow IWindow, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)
	RunModal() int
	RunModalWithPrintInfo(printInfo IPrintInfo) int
	AddAccessoryController(accessoryController IViewController)
	RemoveAccessoryController(accessoryController IViewController)
	// deprecated
	AccessoryView() View
	// deprecated
	SetAccessoryView(accessoryView IView)
	// deprecated
	ReadPrintInfo()
	// deprecated
	WritePrintInfo()
	AccessoryControllers() []ViewController
	PrintInfo() PrintInfo
}

type IPanel added in v0.11.0

type IPanel interface {
	IWindow
	SetFloatingPanel(value bool)
	BecomesKeyOnlyIfNeeded() bool
	SetBecomesKeyOnlyIfNeeded(value bool)
	SetWorksWhenModal(value bool)
}

type IParagraphStyle added in v0.11.0

type IParagraphStyle interface {
	objc.IObject
	Alignment() TextAlignment
	FirstLineHeadIndent() float64
	HeadIndent() float64
	TailIndent() float64
	LineHeightMultiple() float64
	MaximumLineHeight() float64
	MinimumLineHeight() float64
	LineSpacing() float64
	ParagraphSpacing() float64
	ParagraphSpacingBefore() float64
	TabStops() []TextTab
	DefaultTabInterval() float64
	TextBlocks() []TextBlock
	TextLists() []TextList
	LineBreakMode() LineBreakMode
	LineBreakStrategy() LineBreakStrategy
	HyphenationFactor() float32
	UsesDefaultHyphenation() bool
	TighteningFactorForTruncation() float32
	AllowsDefaultTighteningForTruncation() bool
	HeaderLevel() int
	BaseWritingDirection() WritingDirection
}

type IPasteboard added in v0.11.0

type IPasteboard interface {
	objc.IObject
	ClearContents() int
	SetData_ForType(data []byte, dataType PasteboardType) bool
	SetPropertyList_ForType(plist objc.IObject, dataType PasteboardType) bool
	SetString_ForType(string_ string, dataType PasteboardType) bool
	ReadObjectsForClasses_Options(classArray []objc.IClass, options map[PasteboardReadingOptionKey]objc.IObject) []objc.Object
	IndexOfPasteboardItem(pasteboardItem IPasteboardItem) uint
	DataForType(dataType PasteboardType) []byte
	PropertyListForType(dataType PasteboardType) objc.Object
	StringForType(dataType PasteboardType) string
	AvailableTypeFromArray(types []PasteboardType) PasteboardType
	CanReadItemWithDataConformingToTypes(types []string) bool
	CanReadObjectForClasses_Options(classArray []objc.IClass, options map[PasteboardReadingOptionKey]objc.IObject) bool
	PrepareForNewContentsWithOptions(options PasteboardContentsOptions) int
	DeclareTypes_Owner(newTypes []PasteboardType, newOwner objc.IObject) int
	AddTypes_Owner(newTypes []PasteboardType, newOwner objc.IObject) int
	WriteFileContents(filename string) bool
	WriteFileWrapper(wrapper foundation.IFileWrapper) bool
	ReadFileContentsType_ToFile(type_ PasteboardType, filename string) string
	ReadFileWrapper() foundation.FileWrapper
	PasteboardItems() []PasteboardItem
	Types() []PasteboardType
	Name() PasteboardName
	ChangeCount() int
}

type IPasteboardItem added in v0.11.0

type IPasteboardItem interface {
	objc.IObject
	AvailableTypeFromArray(types []PasteboardType) PasteboardType
	SetDataProvider_ForTypes(dataProvider objc.IObject, types []PasteboardType) bool
	SetData_ForType(data []byte, type_ PasteboardType) bool
	SetString_ForType(string_ string, type_ PasteboardType) bool
	SetPropertyList_ForType(propertyList objc.IObject, type_ PasteboardType) bool
	DataForType(type_ PasteboardType) []byte
	StringForType(type_ PasteboardType) string
	PropertyListForType(type_ PasteboardType) objc.Object
	Types() []PasteboardType
}

type IPathCell added in v0.11.0

type IPathCell interface {
	IActionCell
	MouseEntered_WithFrame_InView(event IEvent, frame foundation.Rect, view IView)
	MouseExited_WithFrame_InView(event IEvent, frame foundation.Rect, view IView)
	RectOfPathComponentCell_WithFrame_InView(cell IPathComponentCell, frame foundation.Rect, view IView) foundation.Rect
	PathComponentCellAtPoint_WithFrame_InView(point foundation.Point, frame foundation.Rect, view IView) PathComponentCell
	AllowedTypes() []string
	SetAllowedTypes(value []string)
	PathStyle() PathStyle
	SetPathStyle(value PathStyle)
	PlaceholderAttributedString() foundation.AttributedString
	SetPlaceholderAttributedString(value foundation.IAttributedString)
	PlaceholderString() string
	SetPlaceholderString(value string)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	ClickedPathComponentCell() PathComponentCell
	PathComponentCells() []PathComponentCell
	SetPathComponentCells(value []IPathComponentCell)
	DoubleAction() objc.Selector
	SetDoubleAction(value objc.Selector)
	URL() foundation.URL
	SetURL(value foundation.IURL)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
}

type IPathComponentCell added in v0.11.0

type IPathComponentCell interface {
	ITextFieldCell
	URL() foundation.URL
	SetURL(value foundation.IURL)
}

type IPathControl added in v0.11.0

type IPathControl interface {
	IControl
	// deprecated
	ClickedPathComponentCell() PathComponentCell
	// deprecated
	PathComponentCells() []PathComponentCell
	// deprecated
	SetPathComponentCells(cells []IPathComponentCell)
	SetDraggingSourceOperationMask_ForLocal(mask DragOperation, isLocal bool)
	PathStyle() PathStyle
	SetPathStyle(value PathStyle)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	DoubleAction() objc.Selector
	SetDoubleAction(value objc.Selector)
	URL() foundation.URL
	SetURL(value foundation.IURL)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	AllowedTypes() []string
	SetAllowedTypes(value []string)
	ClickedPathItem() PathControlItem
	IsEditable() bool
	SetEditable(value bool)
	PathItems() []PathControlItem
	SetPathItems(value []IPathControlItem)
	PlaceholderAttributedString() foundation.AttributedString
	SetPlaceholderAttributedString(value foundation.IAttributedString)
	PlaceholderString() string
	SetPlaceholderString(value string)
}

type IPathControlItem added in v0.11.0

type IPathControlItem interface {
	objc.IObject
	AttributedTitle() foundation.AttributedString
	SetAttributedTitle(value foundation.IAttributedString)
	Image() Image
	SetImage(value IImage)
	Title() string
	SetTitle(value string)
	URL() foundation.URL
}

type IPopUpButton added in v0.11.0

type IPopUpButton interface {
	IButton
	AddItemWithTitle(title string)
	AddItemsWithTitles(itemTitles []string)
	InsertItemWithTitle_AtIndex(title string, index int)
	RemoveAllItems()
	RemoveItemWithTitle(title string)
	RemoveItemAtIndex(index int)
	SelectItem(item IMenuItem)
	SelectItemAtIndex(index int)
	SelectItemWithTag(tag int) bool
	SelectItemWithTitle(title string)
	ItemAtIndex(index int) MenuItem
	ItemTitleAtIndex(index int) string
	ItemWithTitle(title string) MenuItem
	IndexOfItem(item IMenuItem) int
	IndexOfItemWithTag(tag int) int
	IndexOfItemWithTitle(title string) int
	IndexOfItemWithRepresentedObject(obj objc.IObject) int
	IndexOfItemWithTarget_AndAction(target objc.IObject, actionSelector objc.Selector) int
	SynchronizeTitleAndSelectedItem()
	PullsDown() bool
	SetPullsDown(value bool)
	AutoenablesItems() bool
	SetAutoenablesItems(value bool)
	SelectedItem() MenuItem
	TitleOfSelectedItem() string
	IndexOfSelectedItem() int
	NumberOfItems() int
	ItemArray() []MenuItem
	ItemTitles() []string
	LastItem() MenuItem
	PreferredEdge() foundation.RectEdge
	SetPreferredEdge(value foundation.RectEdge)
}

type IPopover added in v0.11.0

type IPopover interface {
	IResponder
	ShowRelativeToRect_OfView_PreferredEdge(positioningRect foundation.Rect, positioningView IView, preferredEdge foundation.RectEdge)
	PerformClose(sender objc.IObject)
	Close()
	ContentViewController() ViewController
	SetContentViewController(value IViewController)
	Behavior() PopoverBehavior
	SetBehavior(value PopoverBehavior)
	PositioningRect() foundation.Rect
	SetPositioningRect(value foundation.Rect)
	Appearance() Appearance
	SetAppearance(value IAppearance)
	EffectiveAppearance() Appearance
	Animates() bool
	SetAnimates(value bool)
	ContentSize() foundation.Size
	SetContentSize(value foundation.Size)
	IsShown() bool
	IsDetached() bool
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
}

type IPredicateEditor added in v0.13.6

type IPredicateEditor interface {
	IRuleEditor
	RowTemplates() []PredicateEditorRowTemplate
	SetRowTemplates(value []IPredicateEditorRowTemplate)
}

type IPredicateEditorRowTemplate added in v0.13.6

type IPredicateEditorRowTemplate interface {
	objc.IObject
	MatchForPredicate(predicate foundation.IPredicate) float64
	SetPredicate(predicate foundation.IPredicate)
	DisplayableSubpredicatesOfPredicate(predicate foundation.IPredicate) []foundation.Predicate
	PredicateWithSubpredicates(subpredicates []foundation.IPredicate) foundation.Predicate
	TemplateViews() []View
	LeftExpressions() []foundation.Expression
	RightExpressions() []foundation.Expression
	CompoundTypes() []foundation.Number
	Modifier() foundation.ComparisonPredicateModifier
	Operators() []foundation.Number
	Options() uint
}

type IPressureConfiguration added in v0.11.0

type IPressureConfiguration interface {
	objc.IObject
	Set()
	PressureBehavior() PressureBehavior
}

type IPrintInfo added in v0.11.0

type IPrintInfo interface {
	objc.IObject
	SetUpPrintOperationDefaultValues()
	Dictionary() foundation.MutableDictionary
	PMPrintSession() unsafe.Pointer
	PMPageFormat() unsafe.Pointer
	PMPrintSettings() unsafe.Pointer
	UpdateFromPMPageFormat()
	UpdateFromPMPrintSettings()
	TakeSettingsFromPDFInfo(inPDFInfo IPDFInfo)
	PaperSize() foundation.Size
	SetPaperSize(value foundation.Size)
	TopMargin() float64
	SetTopMargin(value float64)
	BottomMargin() float64
	SetBottomMargin(value float64)
	LeftMargin() float64
	SetLeftMargin(value float64)
	RightMargin() float64
	SetRightMargin(value float64)
	ImageablePageBounds() foundation.Rect
	Orientation() PaperOrientation
	SetOrientation(value PaperOrientation)
	PaperName() PrinterPaperName
	SetPaperName(value PrinterPaperName)
	LocalizedPaperName() string
	HorizontalPagination() PrintingPaginationMode
	SetHorizontalPagination(value PrintingPaginationMode)
	VerticalPagination() PrintingPaginationMode
	SetVerticalPagination(value PrintingPaginationMode)
	IsHorizontallyCentered() bool
	SetHorizontallyCentered(value bool)
	IsVerticallyCentered() bool
	SetVerticallyCentered(value bool)
	Printer() Printer
	SetPrinter(value IPrinter)
	JobDisposition() PrintJobDispositionValue
	SetJobDisposition(value PrintJobDispositionValue)
	IsSelectionOnly() bool
	SetSelectionOnly(value bool)
	ScalingFactor() float64
	SetScalingFactor(value float64)
	PrintSettings() foundation.MutableDictionary
}

type IPrintOperation added in v0.11.0

type IPrintOperation interface {
	objc.IObject
	RunOperation() bool
	RunOperationModalForWindow_Delegate_DidRunSelector_ContextInfo(docWindow IWindow, delegate objc.IObject, didRunSelector objc.Selector, contextInfo unsafe.Pointer)
	CleanUpOperation()
	DeliverResult() bool
	CreateContext() GraphicsContext
	DestroyContext()
	// deprecated
	JobStyleHint() string
	// deprecated
	SetJobStyleHint(hint string)
	// deprecated
	AccessoryView() View
	// deprecated
	SetAccessoryView(view IView)
	// deprecated
	ShowPanels() bool
	// deprecated
	SetShowPanels(flag bool)
	IsCopyingOperation() bool
	PrintInfo() PrintInfo
	SetPrintInfo(value IPrintInfo)
	View() View
	PreferredRenderingQuality() PrintRenderingQuality
	ShowsPrintPanel() bool
	SetShowsPrintPanel(value bool)
	ShowsProgressPanel() bool
	SetShowsProgressPanel(value bool)
	JobTitle() string
	SetJobTitle(value string)
	PrintPanel() PrintPanel
	SetPrintPanel(value IPrintPanel)
	PDFPanel() PDFPanel
	SetPDFPanel(value IPDFPanel)
	Context() GraphicsContext
	CurrentPage() int
	PageRange() foundation.Range
	PageOrder() PrintingPageOrder
	SetPageOrder(value PrintingPageOrder)
	CanSpawnSeparateThread() bool
	SetCanSpawnSeparateThread(value bool)
}

type IPrintPanel added in v0.11.0

type IPrintPanel interface {
	objc.IObject
	DefaultButtonTitle() string
	SetDefaultButtonTitle(defaultButtonTitle string)
	AddAccessoryController(accessoryController IViewController)
	RemoveAccessoryController(accessoryController IViewController)
	BeginSheetWithPrintInfo_ModalForWindow_Delegate_DidEndSelector_ContextInfo(printInfo IPrintInfo, docWindow IWindow, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)
	RunModal() int
	RunModalWithPrintInfo(printInfo IPrintInfo) int
	// deprecated
	AccessoryView() View
	// deprecated
	SetAccessoryView(accessoryView IView)
	// deprecated
	UpdateFromPrintInfo()
	// deprecated
	FinalWritePrintInfo()
	JobStyleHint() PrintPanelJobStyleHint
	SetJobStyleHint(value PrintPanelJobStyleHint)
	Options() PrintPanelOptions
	SetOptions(value PrintPanelOptions)
	HelpAnchor() HelpAnchorName
	SetHelpAnchor(value HelpAnchorName)
	AccessoryControllers() []ViewController
	PrintInfo() PrintInfo
}

type IPrinter added in v0.11.0

type IPrinter interface {
	objc.IObject
	PageSizeForPaper(paperName PrinterPaperName) foundation.Size
	// deprecated
	IsKey_InTable(key string, table string) bool
	// deprecated
	StringForKey_InTable(key string, table string) string
	// deprecated
	StringListForKey_InTable(key string, table string) []objc.Object
	// deprecated
	BooleanForKey_InTable(key string, table string) bool
	// deprecated
	FloatForKey_InTable(key string, table string) float32
	// deprecated
	IntForKey_InTable(key string, table string) int32
	// deprecated
	RectForKey_InTable(key string, table string) foundation.Rect
	// deprecated
	SizeForKey_InTable(key string, table string) foundation.Size
	// deprecated
	StatusForTable(tableName string) PrinterTableStatus
	// deprecated
	AcceptsBinary() bool
	// deprecated
	Domain() string
	// deprecated
	Host() string
	// deprecated
	ImageRectForPaper(paperName string) foundation.Rect
	// deprecated
	IsColor() bool
	// deprecated
	IsFontAvailable(faceName string) bool
	// deprecated
	IsOutputStackInReverseOrder() bool
	// deprecated
	Note() string
	Name() string
	Type() PrinterTypeName
	LanguageLevel() int
	DeviceDescription() map[DeviceDescriptionKey]objc.Object
}

type IProgressIndicator added in v0.11.0

type IProgressIndicator interface {
	IView
	StartAnimation(sender objc.IObject)
	StopAnimation(sender objc.IObject)
	// deprecated
	Animate(sender objc.IObject)
	// deprecated
	AnimationDelay() foundation.TimeInterval
	// deprecated
	SetAnimationDelay(delay foundation.TimeInterval)
	IncrementBy(delta float64)
	SizeToFit()
	UsesThreadedAnimation() bool
	SetUsesThreadedAnimation(value bool)
	DoubleValue() float64
	SetDoubleValue(value float64)
	MinValue() float64
	SetMinValue(value float64)
	MaxValue() float64
	SetMaxValue(value float64)
	ControlSize() ControlSize
	SetControlSize(value ControlSize)
	ControlTint() ControlTint
	SetControlTint(value ControlTint)
	IsBezeled() bool
	SetBezeled(value bool)
	IsIndeterminate() bool
	SetIndeterminate(value bool)
	Style() ProgressIndicatorStyle
	SetStyle(value ProgressIndicatorStyle)
	IsDisplayedWhenStopped() bool
	SetDisplayedWhenStopped(value bool)
}

type IResponder added in v0.11.0

type IResponder interface {
	objc.IObject
	BecomeFirstResponder() bool
	ResignFirstResponder() bool
	ValidateProposedFirstResponder_ForEvent(responder IResponder, event IEvent) bool
	MouseDown(event IEvent)
	MouseDragged(event IEvent)
	MouseUp(event IEvent)
	MouseMoved(event IEvent)
	MouseEntered(event IEvent)
	MouseExited(event IEvent)
	RightMouseDown(event IEvent)
	RightMouseDragged(event IEvent)
	RightMouseUp(event IEvent)
	OtherMouseDown(event IEvent)
	OtherMouseDragged(event IEvent)
	OtherMouseUp(event IEvent)
	KeyDown(event IEvent)
	KeyUp(event IEvent)
	InterpretKeyEvents(eventArray []IEvent)
	PerformKeyEquivalent(event IEvent) bool
	// deprecated
	PerformMnemonic(string_ string) bool
	FlushBufferedKeyEvents()
	PressureChangeWithEvent(event IEvent)
	CursorUpdate(event IEvent)
	FlagsChanged(event IEvent)
	TabletPoint(event IEvent)
	TabletProximity(event IEvent)
	HelpRequested(eventPtr IEvent)
	ScrollWheel(event IEvent)
	QuickLookWithEvent(event IEvent)
	ChangeModeWithEvent(event IEvent)
	SupplementalTargetForAction_Sender(action objc.Selector, sender objc.IObject) objc.Object
	EncodeRestorableStateWithCoder(coder foundation.ICoder)
	EncodeRestorableStateWithCoder_BackgroundQueue(coder foundation.ICoder, queue foundation.IOperationQueue)
	RestoreStateWithCoder(coder foundation.ICoder)
	InvalidateRestorableState()
	UpdateUserActivityState(userActivity foundation.IUserActivity)
	PresentError(error foundation.IError) bool
	PresentError_ModalForWindow_Delegate_DidPresentSelector_ContextInfo(error foundation.IError, window IWindow, delegate objc.IObject, didPresentSelector objc.Selector, contextInfo unsafe.Pointer)
	WillPresentError(error foundation.IError) foundation.Error
	TryToPerform_With(action objc.Selector, object objc.IObject) bool
	ValidRequestorForSendType_ReturnType(sendType PasteboardType, returnType PasteboardType) objc.Object
	ShouldBeTreatedAsInkEvent(event IEvent) bool
	NoResponderFor(eventSelector objc.Selector)
	// deprecated
	SetInterfaceStyle(interfaceStyle InterfaceStyle)
	// deprecated
	InterfaceStyle() InterfaceStyle
	BeginGestureWithEvent(event IEvent)
	EndGestureWithEvent(event IEvent)
	MagnifyWithEvent(event IEvent)
	RotateWithEvent(event IEvent)
	SwipeWithEvent(event IEvent)
	TouchesBeganWithEvent(event IEvent)
	TouchesMovedWithEvent(event IEvent)
	TouchesCancelledWithEvent(event IEvent)
	TouchesEndedWithEvent(event IEvent)
	WantsForwardedScrollEventsForAxis(axis EventGestureAxis) bool
	SmartMagnifyWithEvent(event IEvent)
	WantsScrollEventsForSwipeTrackingOnAxis(axis EventGestureAxis) bool
	MakeTouchBar() TouchBar
	PerformTextFinderAction(sender objc.IObject)
	NewWindowForTab(sender objc.IObject)
	ShowContextHelp(sender objc.IObject)
	AcceptsFirstResponder() bool
	NextResponder() Responder
	SetNextResponder(value IResponder)
	UserActivity() foundation.UserActivity
	SetUserActivity(value foundation.IUserActivity)
	Menu() Menu
	SetMenu(value IMenu)
	UndoManager() foundation.UndoManager
	TouchBar() TouchBar
	SetTouchBar(value ITouchBar)
}

type IRuleEditor added in v0.13.6

type IRuleEditor interface {
	IControl
	ReloadCriteria()
	SetCriteria_AndDisplayValues_ForRowAtIndex(criteria []objc.IObject, values []objc.IObject, rowIndex int)
	CriteriaForRow(row int) []objc.Object
	DisplayValuesForRow(row int) []objc.Object
	ParentRowForRow(rowIndex int) int
	RowForDisplayValue(displayValue objc.IObject) int
	RowTypeForRow(rowIndex int) RuleEditorRowType
	SubrowIndexesForRow(rowIndex int) foundation.IndexSet
	SelectRowIndexes_ByExtendingSelection(indexes foundation.IIndexSet, extend bool)
	AddRow(sender objc.IObject)
	InsertRowAtIndex_WithType_AsSubrowOfRow_Animate(rowIndex int, rowType RuleEditorRowType, parentRow int, shouldAnimate bool)
	RemoveRowAtIndex(rowIndex int)
	RemoveRowsAtIndexes_IncludeSubrows(rowIndexes foundation.IIndexSet, includeSubrows bool)
	ReloadPredicate()
	PredicateForRow(row int) foundation.Predicate
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	IsEditable() bool
	SetEditable(value bool)
	NestingMode() RuleEditorNestingMode
	SetNestingMode(value RuleEditorNestingMode)
	CanRemoveAllRows() bool
	SetCanRemoveAllRows(value bool)
	RowHeight() float64
	SetRowHeight(value float64)
	FormattingDictionary() map[string]string
	SetFormattingDictionary(value map[string]string)
	FormattingStringsFilename() string
	SetFormattingStringsFilename(value string)
	NumberOfRows() int
	SelectedRowIndexes() foundation.IndexSet
	Predicate() foundation.Predicate
	RowClass() objc.Class
	SetRowClass(value objc.IClass)
	RowTypeKeyPath() string
	SetRowTypeKeyPath(value string)
	SubrowsKeyPath() string
	SetSubrowsKeyPath(value string)
	CriteriaKeyPath() string
	SetCriteriaKeyPath(value string)
	DisplayValuesKeyPath() string
	SetDisplayValuesKeyPath(value string)
}

type IRulerMarker added in v0.11.0

type IRulerMarker interface {
	objc.IObject
	DrawRect(rect foundation.Rect)
	TrackMouse_Adding(mouseDownEvent IEvent, isAdding bool) bool
	Ruler() RulerView
	Image() Image
	SetImage(value IImage)
	ImageOrigin() foundation.Point
	SetImageOrigin(value foundation.Point)
	ImageRectInRuler() foundation.Rect
	ThicknessRequiredInRuler() float64
	IsMovable() bool
	SetMovable(value bool)
	IsRemovable() bool
	SetRemovable(value bool)
	MarkerLocation() float64
	SetMarkerLocation(value float64)
	RepresentedObject() objc.Object
	SetRepresentedObject(value objc.IObject)
	IsDragging() bool
}

type IRulerView added in v0.11.0

type IRulerView interface {
	IView
	AddMarker(marker IRulerMarker)
	RemoveMarker(marker IRulerMarker)
	TrackMarker_WithMouseEvent(marker IRulerMarker, event IEvent) bool
	MoveRulerlineFromLocation_ToLocation(oldLocation float64, newLocation float64)
	DrawHashMarksAndLabelsInRect(rect foundation.Rect)
	DrawMarkersInRect(rect foundation.Rect)
	InvalidateHashMarks()
	MeasurementUnits() RulerViewUnitName
	SetMeasurementUnits(value RulerViewUnitName)
	ClientView() View
	SetClientView(value IView)
	AccessoryView() View
	SetAccessoryView(value IView)
	OriginOffset() float64
	SetOriginOffset(value float64)
	Markers() []RulerMarker
	SetMarkers(value []IRulerMarker)
	ScrollView() ScrollView
	SetScrollView(value IScrollView)
	Orientation() RulerOrientation
	SetOrientation(value RulerOrientation)
	ReservedThicknessForAccessoryView() float64
	SetReservedThicknessForAccessoryView(value float64)
	ReservedThicknessForMarkers() float64
	SetReservedThicknessForMarkers(value float64)
	RuleThickness() float64
	SetRuleThickness(value float64)
	RequiredThickness() float64
	BaselineLocation() float64
}

type IRunningApplication added in v0.11.0

type IRunningApplication interface {
	objc.IObject
	ActivateWithOptions(options ApplicationActivationOptions) bool
	Hide() bool
	Unhide() bool
	ForceTerminate() bool
	Terminate() bool
	IsActive() bool
	ActivationPolicy() ApplicationActivationPolicy
	IsHidden() bool
	LocalizedName() string
	Icon() Image
	BundleIdentifier() string
	BundleURL() foundation.URL
	ExecutableArchitecture() int
	ExecutableURL() foundation.URL
	LaunchDate() foundation.Date
	IsFinishedLaunching() bool
	OwnsMenuBar() bool
	IsTerminated() bool
}

type ISavePanel added in v0.11.0

type ISavePanel interface {
	IPanel
	BeginSheetModalForWindow_CompletionHandler(window IWindow, handler func(result ModalResponse))
	BeginWithCompletionHandler(handler func(result ModalResponse))
	RunModal() ModalResponse
	ValidateVisibleColumns()
	Ok(sender objc.IObject)
	Cancel(sender objc.IObject)
	// deprecated
	RequiredFileType() string
	// deprecated
	SetRequiredFileType(type_ string)
	// deprecated
	SetDirectory(path string)
	// deprecated
	BeginSheetForDirectory_File_ModalForWindow_ModalDelegate_DidEndSelector_ContextInfo(path string, name string, docWindow IWindow, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)
	// deprecated
	RunModalForDirectory_File(path string, name string) int
	// deprecated
	Panel_CompareFilename_With_CaseSensitive(sender objc.IObject, name1 string, name2 string, caseSensitive bool) foundation.ComparisonResult
	// deprecated
	Panel_IsValidFilename(sender objc.IObject, filename string) bool
	// deprecated
	Panel_ShouldShowFilename(sender objc.IObject, filename string) bool
	// deprecated
	Panel_DirectoryDidChange(sender objc.IObject, path string)
	// deprecated
	Directory() string
	// deprecated
	Filename() string
	// deprecated
	SelectText(sender objc.IObject)
	URL() foundation.URL
	Prompt() string
	SetPrompt(value string)
	Message() string
	SetMessage(value string)
	NameFieldLabel() string
	SetNameFieldLabel(value string)
	NameFieldStringValue() string
	SetNameFieldStringValue(value string)
	DirectoryURL() foundation.URL
	SetDirectoryURL(value foundation.IURL)
	AccessoryView() View
	SetAccessoryView(value IView)
	ShowsTagField() bool
	SetShowsTagField(value bool)
	TagNames() []string
	SetTagNames(value []string)
	CanCreateDirectories() bool
	SetCanCreateDirectories(value bool)
	CanSelectHiddenExtension() bool
	SetCanSelectHiddenExtension(value bool)
	ShowsHiddenFiles() bool
	SetShowsHiddenFiles(value bool)
	IsExtensionHidden() bool
	SetExtensionHidden(value bool)
	IsExpanded() bool
	AllowedContentTypes() []uniformtypeidentifiers.Type
	SetAllowedContentTypes(value []uniformtypeidentifiers.IType)
	AllowsOtherFileTypes() bool
	SetAllowsOtherFileTypes(value bool)
	TreatsFilePackagesAsDirectories() bool
	SetTreatsFilePackagesAsDirectories(value bool)
	// deprecated
	AllowedFileTypes() []string
	// deprecated
	SetAllowedFileTypes(value []string)
}

type IScreen added in v0.11.0

type IScreen interface {
	objc.IObject
	// deprecated
	UserSpaceScaleFactor() float64
	CanRepresentDisplayGamut(displayGamut DisplayGamut) bool
	BackingAlignedRect_Options(rect foundation.Rect, options foundation.AlignmentOptions) foundation.Rect
	ConvertRectFromBacking(rect foundation.Rect) foundation.Rect
	ConvertRectToBacking(rect foundation.Rect) foundation.Rect
	Depth() WindowDepth
	Frame() foundation.Rect
	SupportedWindowDepths() *WindowDepth
	DeviceDescription() map[DeviceDescriptionKey]objc.Object
	ColorSpace() ColorSpace
	LocalizedName() string
	BackingScaleFactor() float64
	VisibleFrame() foundation.Rect
	SafeAreaInsets() foundation.EdgeInsets
	MaximumPotentialExtendedDynamicRangeColorComponentValue() float64
	MaximumExtendedDynamicRangeColorComponentValue() float64
	MaximumReferenceExtendedDynamicRangeColorComponentValue() float64
	MaximumFramesPerSecond() int
	MinimumRefreshInterval() foundation.TimeInterval
	MaximumRefreshInterval() foundation.TimeInterval
	DisplayUpdateGranularity() foundation.TimeInterval
	LastDisplayUpdateTimestamp() foundation.TimeInterval
	AuxiliaryTopLeftArea() foundation.Rect
	AuxiliaryTopRightArea() foundation.Rect
}

type IScrollView added in v0.11.0

type IScrollView interface {
	IView
	AddFloatingSubview_ForAxis(view IView, axis EventGestureAxis)
	Tile()
	FlashScrollers()
	MagnifyToFitRect(rect foundation.Rect)
	SetMagnification_CenteredAtPoint(magnification float64, point foundation.Point)
	ContentSize() foundation.Size
	DocumentVisibleRect() foundation.Rect
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	BorderType() BorderType
	SetBorderType(value BorderType)
	DocumentCursor() Cursor
	SetDocumentCursor(value ICursor)
	ContentView() ClipView
	SetContentView(value IClipView)
	DocumentView() View
	SetDocumentView(value IView)
	HorizontalScroller() Scroller
	SetHorizontalScroller(value IScroller)
	HasHorizontalScroller() bool
	SetHasHorizontalScroller(value bool)
	VerticalScroller() Scroller
	SetVerticalScroller(value IScroller)
	HasVerticalScroller() bool
	SetHasVerticalScroller(value bool)
	AutohidesScrollers() bool
	SetAutohidesScrollers(value bool)
	HasHorizontalRuler() bool
	SetHasHorizontalRuler(value bool)
	HorizontalRulerView() RulerView
	SetHorizontalRulerView(value IRulerView)
	HasVerticalRuler() bool
	SetHasVerticalRuler(value bool)
	VerticalRulerView() RulerView
	SetVerticalRulerView(value IRulerView)
	RulersVisible() bool
	SetRulersVisible(value bool)
	AutomaticallyAdjustsContentInsets() bool
	SetAutomaticallyAdjustsContentInsets(value bool)
	ContentInsets() foundation.EdgeInsets
	SetContentInsets(value foundation.EdgeInsets)
	ScrollerInsets() foundation.EdgeInsets
	SetScrollerInsets(value foundation.EdgeInsets)
	ScrollerKnobStyle() ScrollerKnobStyle
	SetScrollerKnobStyle(value ScrollerKnobStyle)
	ScrollerStyle() ScrollerStyle
	SetScrollerStyle(value ScrollerStyle)
	LineScroll() float64
	SetLineScroll(value float64)
	HorizontalLineScroll() float64
	SetHorizontalLineScroll(value float64)
	VerticalLineScroll() float64
	SetVerticalLineScroll(value float64)
	PageScroll() float64
	SetPageScroll(value float64)
	HorizontalPageScroll() float64
	SetHorizontalPageScroll(value float64)
	VerticalPageScroll() float64
	SetVerticalPageScroll(value float64)
	ScrollsDynamically() bool
	SetScrollsDynamically(value bool)
	FindBarPosition() ScrollViewFindBarPosition
	SetFindBarPosition(value ScrollViewFindBarPosition)
	UsesPredominantAxisScrolling() bool
	SetUsesPredominantAxisScrolling(value bool)
	HorizontalScrollElasticity() ScrollElasticity
	SetHorizontalScrollElasticity(value ScrollElasticity)
	VerticalScrollElasticity() ScrollElasticity
	SetVerticalScrollElasticity(value ScrollElasticity)
	AllowsMagnification() bool
	SetAllowsMagnification(value bool)
	Magnification() float64
	SetMagnification(value float64)
	MaxMagnification() float64
	SetMaxMagnification(value float64)
	MinMagnification() float64
	SetMinMagnification(value float64)
}

type IScroller added in v0.11.0

type IScroller interface {
	IControl
	// deprecated
	SetFloatValue_KnobProportion(value float32, proportion float64)
	SetKnobProportion(proportion float64)
	RectForPart(partCode ScrollerPart) foundation.Rect
	TestPart(point foundation.Point) ScrollerPart
	CheckSpaceForParts()
	// deprecated
	DrawArrow_Highlight(whichArrow ScrollerArrow, flag bool)
	DrawKnobSlotInRect_Highlight(slotRect foundation.Rect, flag bool)
	DrawKnob()
	// deprecated
	DrawParts()
	// deprecated
	Highlight(flag bool)
	TrackKnob(event IEvent)
	// deprecated
	TrackScrollButtons(event IEvent)
	// deprecated
	ArrowsPosition() ScrollArrowPosition
	// deprecated
	SetArrowsPosition(value ScrollArrowPosition)
	UsableParts() UsableScrollerParts
	HitPart() ScrollerPart
	// deprecated
	ControlTint() ControlTint
	// deprecated
	SetControlTint(value ControlTint)
	ScrollerStyle() ScrollerStyle
	SetScrollerStyle(value ScrollerStyle)
	KnobStyle() ScrollerKnobStyle
	SetKnobStyle(value ScrollerKnobStyle)
	KnobProportion() float64
}

type ISearchField added in v0.11.0

type ISearchField interface {
	ITextField
	// deprecated
	RectForCancelButtonWhenCentered(isCentered bool) foundation.Rect
	// deprecated
	RectForSearchButtonWhenCentered(isCentered bool) foundation.Rect
	// deprecated
	RectForSearchTextWhenCentered(isCentered bool) foundation.Rect
	SearchMenuTemplate() Menu
	SetSearchMenuTemplate(value IMenu)
	SendsSearchStringImmediately() bool
	SetSendsSearchStringImmediately(value bool)
	SendsWholeSearchString() bool
	SetSendsWholeSearchString(value bool)
	RecentSearches() []string
	SetRecentSearches(value []string)
	MaximumRecents() int
	SetMaximumRecents(value int)
	RecentsAutosaveName() SearchFieldRecentsAutosaveName
	SetRecentsAutosaveName(value SearchFieldRecentsAutosaveName)
	CancelButtonBounds() foundation.Rect
	SearchButtonBounds() foundation.Rect
	SearchTextBounds() foundation.Rect
	// deprecated
	CentersPlaceholder() bool
	// deprecated
	SetCentersPlaceholder(value bool)
}

type ISearchFieldCell added in v0.11.0

type ISearchFieldCell interface {
	ITextFieldCell
	ResetSearchButtonCell()
	ResetCancelButtonCell()
	SearchTextRectForBounds(rect foundation.Rect) foundation.Rect
	SearchButtonRectForBounds(rect foundation.Rect) foundation.Rect
	CancelButtonRectForBounds(rect foundation.Rect) foundation.Rect
	SearchButtonCell() ButtonCell
	SetSearchButtonCell(value IButtonCell)
	CancelButtonCell() ButtonCell
	SetCancelButtonCell(value IButtonCell)
	SearchMenuTemplate() Menu
	SetSearchMenuTemplate(value IMenu)
	SendsWholeSearchString() bool
	SetSendsWholeSearchString(value bool)
	SendsSearchStringImmediately() bool
	SetSendsSearchStringImmediately(value bool)
	MaximumRecents() int
	SetMaximumRecents(value int)
	RecentSearches() []string
	SetRecentSearches(value []string)
	RecentsAutosaveName() SearchFieldRecentsAutosaveName
	SetRecentsAutosaveName(value SearchFieldRecentsAutosaveName)
}

type ISearchToolbarItem added in v0.13.6

type ISearchToolbarItem interface {
	IToolbarItem
	BeginSearchInteraction()
	EndSearchInteraction()
	PreferredWidthForSearchField() float64
	SetPreferredWidthForSearchField(value float64)
	ResignsFirstResponderWithCancel() bool
	SetResignsFirstResponderWithCancel(value bool)
	SearchField() SearchField
	SetSearchField(value ISearchField)
}

type ISecureTextField added in v0.11.0

type ISecureTextField interface {
	ITextField
}

type ISegmentedCell added in v0.13.6

type ISegmentedCell interface {
	IActionCell
	SetSelected_ForSegment(selected bool, segment int)
	SelectSegmentWithTag(tag int) bool
	MakeNextSegmentKey()
	MakePreviousSegmentKey()
	IsSelectedForSegment(segment int) bool
	SetLabel_ForSegment(label string, segment int)
	LabelForSegment(segment int) string
	SetImage_ForSegment(image IImage, segment int)
	ImageForSegment(segment int) Image
	SetImageScaling_ForSegment(scaling ImageScaling, segment int)
	ImageScalingForSegment(segment int) ImageScaling
	SetWidth_ForSegment(width float64, segment int)
	WidthForSegment(segment int) float64
	SetEnabled_ForSegment(enabled bool, segment int)
	IsEnabledForSegment(segment int) bool
	SetMenu_ForSegment(menu IMenu, segment int)
	MenuForSegment(segment int) Menu
	SetToolTip_ForSegment(toolTip string, segment int)
	ToolTipForSegment(segment int) string
	SetTag_ForSegment(tag int, segment int)
	TagForSegment(segment int) int
	DrawSegment_InFrame_WithView(segment int, frame foundation.Rect, controlView IView)
	InteriorBackgroundStyleForSegment(segment int) BackgroundStyle
	SegmentCount() int
	SetSegmentCount(value int)
	SelectedSegment() int
	SetSelectedSegment(value int)
	TrackingMode() SegmentSwitchTracking
	SetTrackingMode(value SegmentSwitchTracking)
	SegmentStyle() SegmentStyle
	SetSegmentStyle(value SegmentStyle)
}

type ISegmentedControl added in v0.13.6

type ISegmentedControl interface {
	IControl
	LabelForSegment(segment int) string
	SetLabel_ForSegment(label string, segment int)
	SetAlignment_ForSegment(alignment TextAlignment, segment int)
	AlignmentForSegment(segment int) TextAlignment
	SetImage_ForSegment(image IImage, segment int)
	ImageForSegment(segment int) Image
	SetImageScaling_ForSegment(scaling ImageScaling, segment int)
	ImageScalingForSegment(segment int) ImageScaling
	SetMenu_ForSegment(menu IMenu, segment int)
	MenuForSegment(segment int) Menu
	SetShowsMenuIndicator_ForSegment(showsMenuIndicator bool, segment int)
	ShowsMenuIndicatorForSegment(segment int) bool
	SelectSegmentWithTag(tag int) bool
	SetSelected_ForSegment(selected bool, segment int)
	IsSelectedForSegment(segment int) bool
	SetWidth_ForSegment(width float64, segment int)
	WidthForSegment(segment int) float64
	CompressWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions)
	MinimumSizeWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions) foundation.Size
	SetEnabled_ForSegment(enabled bool, segment int)
	IsEnabledForSegment(segment int) bool
	TagForSegment(segment int) int
	SetTag_ForSegment(tag int, segment int)
	SetToolTip_ForSegment(toolTip string, segment int)
	ToolTipForSegment(segment int) string
	TrackingMode() SegmentSwitchTracking
	SetTrackingMode(value SegmentSwitchTracking)
	SegmentStyle() SegmentStyle
	SetSegmentStyle(value SegmentStyle)
	SegmentCount() int
	SetSegmentCount(value int)
	IsSpringLoaded() bool
	SetSpringLoaded(value bool)
	SelectedSegment() int
	SetSelectedSegment(value int)
	IndexOfSelectedItem() int
	SelectedSegmentBezelColor() Color
	SetSelectedSegmentBezelColor(value IColor)
	DoubleValueForSelectedSegment() float64
	SegmentDistribution() SegmentDistribution
	SetSegmentDistribution(value SegmentDistribution)
	ActiveCompressionOptions() UserInterfaceCompressionOptions
}

type IShadow added in v0.11.0

type IShadow interface {
	objc.IObject
	Set()
	ShadowOffset() foundation.Size
	SetShadowOffset(value foundation.Size)
	ShadowBlurRadius() float64
	SetShadowBlurRadius(value float64)
	ShadowColor() Color
	SetShadowColor(value IColor)
}

type ISharingService added in v0.13.0

type ISharingService interface {
	objc.IObject
	CanPerformWithItems(items []objc.IObject) bool
	PerformWithItems(items []objc.IObject)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	AccountName() string
	AlternateImage() Image
	Image() Image
	Title() string
	MenuItemTitle() string
	SetMenuItemTitle(value string)
	Recipients() []string
	SetRecipients(value []string)
	Subject() string
	SetSubject(value string)
	AttachmentFileURLs() []foundation.URL
	MessageBody() string
	PermanentLink() foundation.URL
}

type ISharingServicePicker added in v0.11.0

type ISharingServicePicker interface {
	objc.IObject
	ShowRelativeToRect_OfView_PreferredEdge(rect foundation.Rect, view IView, preferredEdge foundation.RectEdge)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	StandardShareMenuItem() MenuItem
}

type ISlider added in v0.11.0

type ISlider interface {
	IControl
	// deprecated
	SetKnobThickness(thickness float64)
	ClosestTickMarkValueToValue(value float64) float64
	IndexOfTickMarkAtPoint(point foundation.Point) int
	RectOfTickMarkAtIndex(index int) foundation.Rect
	TickMarkValueAtIndex(index int) float64
	// deprecated
	SetImage(backgroundImage IImage)
	// deprecated
	Image() Image
	// deprecated
	Title() string
	// deprecated
	TitleCell() objc.Object
	// deprecated
	TitleColor() Color
	// deprecated
	TitleFont() Font
	// deprecated
	SetTitle(string_ string)
	// deprecated
	SetTitleCell(cell ICell)
	// deprecated
	SetTitleColor(newColor IColor)
	// deprecated
	SetTitleFont(fontObj IFont)
	SliderType() SliderType
	SetSliderType(value SliderType)
	AltIncrementValue() float64
	SetAltIncrementValue(value float64)
	KnobThickness() float64
	IsVertical() bool
	SetVertical(value bool)
	TrackFillColor() Color
	SetTrackFillColor(value IColor)
	MaxValue() float64
	SetMaxValue(value float64)
	MinValue() float64
	SetMinValue(value float64)
	AllowsTickMarkValuesOnly() bool
	SetAllowsTickMarkValuesOnly(value bool)
	NumberOfTickMarks() int
	SetNumberOfTickMarks(value int)
	TickMarkPosition() TickMarkPosition
	SetTickMarkPosition(value TickMarkPosition)
}

type ISound added in v0.11.0

type ISound interface {
	objc.IObject
	SetName(string_ SoundName) bool
	Pause() bool
	Play() bool
	Resume() bool
	Stop() bool
	WriteToPasteboard(pasteboard IPasteboard)
	// deprecated
	ChannelMapping() []objc.Object
	// deprecated
	SetChannelMapping(channelMapping []objc.IObject)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	Name() SoundName
	Volume() float32
	SetVolume(value float32)
	CurrentTime() foundation.TimeInterval
	SetCurrentTime(value foundation.TimeInterval)
	Loops() bool
	SetLoops(value bool)
	PlaybackDeviceIdentifier() SoundPlaybackDeviceIdentifier
	SetPlaybackDeviceIdentifier(value SoundPlaybackDeviceIdentifier)
	Duration() foundation.TimeInterval
	IsPlaying() bool
}

type ISplitView added in v0.11.0

type ISplitView interface {
	IView
	AddArrangedSubview(view IView)
	InsertArrangedSubview_AtIndex(view IView, index int)
	RemoveArrangedSubview(view IView)
	AdjustSubviews()
	IsSubviewCollapsed(subview IView) bool
	HoldingPriorityForSubviewAtIndex(subviewIndex int) LayoutPriority
	SetHoldingPriority_ForSubviewAtIndex(priority LayoutPriority, subviewIndex int)
	DrawDividerInRect(rect foundation.Rect)
	MinPossiblePositionOfDividerAtIndex(dividerIndex int) float64
	MaxPossiblePositionOfDividerAtIndex(dividerIndex int) float64
	SetPosition_OfDividerAtIndex(position float64, dividerIndex int)
	// deprecated
	IsPaneSplitter() bool
	// deprecated
	SetIsPaneSplitter(flag bool)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	ArrangesAllSubviews() bool
	SetArrangesAllSubviews(value bool)
	ArrangedSubviews() []View
	IsVertical() bool
	SetVertical(value bool)
	DividerStyle() SplitViewDividerStyle
	SetDividerStyle(value SplitViewDividerStyle)
	DividerColor() Color
	DividerThickness() float64
	AutosaveName() SplitViewAutosaveName
	SetAutosaveName(value SplitViewAutosaveName)
}

type IStackView added in v0.11.0

type IStackView interface {
	IView
	AddView_InGravity(view IView, gravity StackViewGravity)
	InsertView_AtIndex_InGravity(view IView, index uint, gravity StackViewGravity)
	SetViews_InGravity(views []IView, gravity StackViewGravity)
	RemoveView(view IView)
	AddArrangedSubview(view IView)
	InsertArrangedSubview_AtIndex(view IView, index int)
	RemoveArrangedSubview(view IView)
	ViewsInGravity(gravity StackViewGravity) []View
	ClippingResistancePriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority
	HuggingPriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority
	CustomSpacingAfterView(view IView) float64
	SetCustomSpacing_AfterView(spacing float64, view IView)
	VisibilityPriorityForView(view IView) StackViewVisibilityPriority
	SetVisibilityPriority_ForView(priority StackViewVisibilityPriority, view IView)
	SetClippingResistancePriority_ForOrientation(clippingResistancePriority LayoutPriority, orientation LayoutConstraintOrientation)
	SetHuggingPriority_ForOrientation(huggingPriority LayoutPriority, orientation LayoutConstraintOrientation)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	ArrangedSubviews() []View
	Views() []View
	DetachedViews() []View
	Orientation() UserInterfaceLayoutOrientation
	SetOrientation(value UserInterfaceLayoutOrientation)
	Alignment() LayoutAttribute
	SetAlignment(value LayoutAttribute)
	Spacing() float64
	SetSpacing(value float64)
	EdgeInsets() foundation.EdgeInsets
	SetEdgeInsets(value foundation.EdgeInsets)
	// deprecated
	HasEqualSpacing() bool
	// deprecated
	SetHasEqualSpacing(value bool)
	Distribution() StackViewDistribution
	SetDistribution(value StackViewDistribution)
	DetachesHiddenViews() bool
	SetDetachesHiddenViews(value bool)
}

type IStatusBar added in v0.11.0

type IStatusBar interface {
	objc.IObject
	StatusItemWithLength(length float64) StatusItem
	RemoveStatusItem(item IStatusItem)
	IsVertical() bool
	Thickness() float64
}

type IStatusBarButton added in v0.11.0

type IStatusBarButton interface {
	IButton
	AppearsDisabled() bool
	SetAppearsDisabled(value bool)
}

type IStatusItem added in v0.11.0

type IStatusItem interface {
	objc.IObject
	// deprecated
	SendActionOn(mask EventMask) int
	// deprecated
	PopUpStatusItemMenu(menu IMenu)
	// deprecated
	DrawStatusBarBackgroundInRect_WithHighlight(rect foundation.Rect, highlight bool)
	StatusBar() StatusBar
	Behavior() StatusItemBehavior
	SetBehavior(value StatusItemBehavior)
	Button() StatusBarButton
	Menu() Menu
	SetMenu(value IMenu)
	IsVisible() bool
	SetVisible(value bool)
	Length() float64
	SetLength(value float64)
	AutosaveName() StatusItemAutosaveName
	SetAutosaveName(value StatusItemAutosaveName)
	// deprecated
	IsEnabled() bool
	// deprecated
	SetEnabled(value bool)
	// deprecated
	Target() objc.Object
	// deprecated
	SetTarget(value objc.IObject)
	// deprecated
	Action() objc.Selector
	// deprecated
	SetAction(value objc.Selector)
	// deprecated
	DoubleAction() objc.Selector
	// deprecated
	SetDoubleAction(value objc.Selector)
	// deprecated
	Title() string
	// deprecated
	SetTitle(value string)
	// deprecated
	AttributedTitle() foundation.AttributedString
	// deprecated
	SetAttributedTitle(value foundation.IAttributedString)
	// deprecated
	Image() Image
	// deprecated
	SetImage(value IImage)
	// deprecated
	AlternateImage() Image
	// deprecated
	SetAlternateImage(value IImage)
	// deprecated
	HighlightMode() bool
	// deprecated
	SetHighlightMode(value bool)
	// deprecated
	ToolTip() string
	// deprecated
	SetToolTip(value string)
	// deprecated
	View() View
	// deprecated
	SetView(value IView)
}

type IStepper added in v0.11.0

type IStepper interface {
	IControl
	MaxValue() float64
	SetMaxValue(value float64)
	MinValue() float64
	SetMinValue(value float64)
	Increment() float64
	SetIncrement(value float64)
	Autorepeat() bool
	SetAutorepeat(value bool)
	ValueWraps() bool
	SetValueWraps(value bool)
}

type IStoryboard added in v0.11.0

type IStoryboard interface {
	objc.IObject
	InstantiateInitialController() objc.Object
	InstantiateControllerWithIdentifier(identifier StoryboardSceneIdentifier) objc.Object
	InstantiateControllerWithIdentifier_Creator(identifier StoryboardSceneIdentifier, block func(coder foundation.Coder) objc.IObject) objc.Object
	InstantiateInitialControllerWithCreator(block func(coder foundation.Coder) objc.IObject) objc.Object
}

type ISwitch added in v0.11.0

type ISwitch interface {
	IControl
	State() ControlStateValue
	SetState(value ControlStateValue)
}

type ITabView added in v0.11.0

type ITabView interface {
	IView
	AddTabViewItem(tabViewItem ITabViewItem)
	InsertTabViewItem_AtIndex(tabViewItem ITabViewItem, index int)
	RemoveTabViewItem(tabViewItem ITabViewItem)
	IndexOfTabViewItem(tabViewItem ITabViewItem) int
	IndexOfTabViewItemWithIdentifier(identifier objc.IObject) int
	TabViewItemAtIndex(index int) TabViewItem
	SelectFirstTabViewItem(sender objc.IObject)
	SelectLastTabViewItem(sender objc.IObject)
	SelectNextTabViewItem(sender objc.IObject)
	SelectPreviousTabViewItem(sender objc.IObject)
	SelectTabViewItem(tabViewItem ITabViewItem)
	SelectTabViewItemAtIndex(index int)
	SelectTabViewItemWithIdentifier(identifier objc.IObject)
	TakeSelectedTabViewItemFromSender(sender objc.IObject)
	TabViewItemAtPoint(point foundation.Point) TabViewItem
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	NumberOfTabViewItems() int
	TabViewItems() []TabViewItem
	SetTabViewItems(value []ITabViewItem)
	TabViewType() TabViewType
	SetTabViewType(value TabViewType)
	TabPosition() TabPosition
	SetTabPosition(value TabPosition)
	TabViewBorderType() TabViewBorderType
	SetTabViewBorderType(value TabViewBorderType)
	SelectedTabViewItem() TabViewItem
	Font() Font
	SetFont(value IFont)
	// deprecated
	ControlTint() ControlTint
	// deprecated
	SetControlTint(value ControlTint)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	MinimumSize() foundation.Size
	ContentRect() foundation.Rect
	ControlSize() ControlSize
	SetControlSize(value ControlSize)
	AllowsTruncatedLabels() bool
	SetAllowsTruncatedLabels(value bool)
}

type ITabViewItem added in v0.11.0

type ITabViewItem interface {
	objc.IObject
	DrawLabel_InRect(shouldTruncateLabel bool, labelRect foundation.Rect)
	SizeOfLabel(computeMin bool) foundation.Size
	Label() string
	SetLabel(value string)
	TabState() TabState
	Identifier() objc.Object
	SetIdentifier(value objc.IObject)
	Color() Color
	SetColor(value IColor)
	View() View
	SetView(value IView)
	InitialFirstResponder() View
	SetInitialFirstResponder(value IView)
	TabView() TabView
	ToolTip() string
	SetToolTip(value string)
	Image() Image
	SetImage(value IImage)
	ViewController() ViewController
	SetViewController(value IViewController)
}

type ITableCellView added in v0.11.0

type ITableCellView interface {
	IView
	ObjectValue() objc.Object
	SetObjectValue(value objc.IObject)
	ImageView() ImageView
	SetImageView(value IImageView)
	TextField() TextField
	SetTextField(value ITextField)
	BackgroundStyle() BackgroundStyle
	SetBackgroundStyle(value BackgroundStyle)
	RowSizeStyle() TableViewRowSizeStyle
	SetRowSizeStyle(value TableViewRowSizeStyle)
	DraggingImageComponents() []DraggingImageComponent
}

type ITableColumn added in v0.11.0

type ITableColumn interface {
	objc.IObject
	SizeToFit()
	// deprecated
	IsResizable() bool
	// deprecated
	SetResizable(flag bool)
	// deprecated
	DataCellForRow(row int) objc.Object
	TableView() TableView
	SetTableView(value ITableView)
	Width() float64
	SetWidth(value float64)
	MinWidth() float64
	SetMinWidth(value float64)
	MaxWidth() float64
	SetMaxWidth(value float64)
	ResizingMask() TableColumnResizingOptions
	SetResizingMask(value TableColumnResizingOptions)
	Title() string
	SetTitle(value string)
	HeaderCell() TableHeaderCell
	SetHeaderCell(value ITableHeaderCell)
	Identifier() UserInterfaceItemIdentifier
	SetIdentifier(value UserInterfaceItemIdentifier)
	IsEditable() bool
	SetEditable(value bool)
	SortDescriptorPrototype() foundation.SortDescriptor
	SetSortDescriptorPrototype(value foundation.ISortDescriptor)
	IsHidden() bool
	SetHidden(value bool)
	HeaderToolTip() string
	SetHeaderToolTip(value string)
	// deprecated
	DataCell() objc.Object
	// deprecated
	SetDataCell(value objc.IObject)
}

type ITableHeaderCell added in v0.11.0

type ITableHeaderCell interface {
	ITextFieldCell
	DrawSortIndicatorWithFrame_InView_Ascending_Priority(cellFrame foundation.Rect, controlView IView, ascending bool, priority int)
	SortIndicatorRectForBounds(rect foundation.Rect) foundation.Rect
}

type ITableHeaderView added in v0.11.0

type ITableHeaderView interface {
	IView
	ColumnAtPoint(point foundation.Point) int
	HeaderRectOfColumn(column int) foundation.Rect
	TableView() TableView
	SetTableView(value ITableView)
	DraggedColumn() int
	DraggedDistance() float64
	ResizedColumn() int
}

type ITableRowView added in v0.11.0

type ITableRowView interface {
	IView
	DrawBackgroundInRect(dirtyRect foundation.Rect)
	DrawDraggingDestinationFeedbackInRect(dirtyRect foundation.Rect)
	DrawSelectionInRect(dirtyRect foundation.Rect)
	DrawSeparatorInRect(dirtyRect foundation.Rect)
	ViewAtColumn(column int) objc.Object
	IsEmphasized() bool
	SetEmphasized(value bool)
	InteriorBackgroundStyle() BackgroundStyle
	IsFloating() bool
	SetFloating(value bool)
	IsSelected() bool
	SetSelected(value bool)
	SelectionHighlightStyle() TableViewSelectionHighlightStyle
	SetSelectionHighlightStyle(value TableViewSelectionHighlightStyle)
	DraggingDestinationFeedbackStyle() TableViewDraggingDestinationFeedbackStyle
	SetDraggingDestinationFeedbackStyle(value TableViewDraggingDestinationFeedbackStyle)
	IndentationForDropOperation() float64
	SetIndentationForDropOperation(value float64)
	IsTargetForDropOperation() bool
	SetTargetForDropOperation(value bool)
	IsGroupRowStyle() bool
	SetGroupRowStyle(value bool)
	NumberOfColumns() int
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	IsNextRowSelected() bool
	SetNextRowSelected(value bool)
	IsPreviousRowSelected() bool
	SetPreviousRowSelected(value bool)
}

type ITableView added in v0.11.0

type ITableView interface {
	IControl
	ReloadData()
	ReloadDataForRowIndexes_ColumnIndexes(rowIndexes foundation.IIndexSet, columnIndexes foundation.IIndexSet)
	MakeViewWithIdentifier_Owner(identifier UserInterfaceItemIdentifier, owner objc.IObject) View
	RowViewAtRow_MakeIfNecessary(row int, makeIfNecessary bool) TableRowView
	ViewAtColumn_Row_MakeIfNecessary(column int, row int, makeIfNecessary bool) View
	BeginUpdates()
	EndUpdates()
	MoveRowAtIndex_ToIndex(oldIndex int, newIndex int)
	InsertRowsAtIndexes_WithAnimation(indexes foundation.IIndexSet, animationOptions TableViewAnimationOptions)
	RemoveRowsAtIndexes_WithAnimation(indexes foundation.IIndexSet, animationOptions TableViewAnimationOptions)
	RowForView(view IView) int
	ColumnForView(view IView) int
	RegisterNib_ForIdentifier(nib INib, identifier UserInterfaceItemIdentifier)
	IndicatorImageInTableColumn(tableColumn ITableColumn) Image
	SetIndicatorImage_InTableColumn(image IImage, tableColumn ITableColumn)
	AddTableColumn(tableColumn ITableColumn)
	RemoveTableColumn(tableColumn ITableColumn)
	MoveColumn_ToColumn(oldIndex int, newIndex int)
	ColumnWithIdentifier(identifier UserInterfaceItemIdentifier) int
	TableColumnWithIdentifier(identifier UserInterfaceItemIdentifier) TableColumn
	SelectColumnIndexes_ByExtendingSelection(indexes foundation.IIndexSet, extend bool)
	DeselectColumn(column int)
	IsColumnSelected(column int) bool
	SelectRowIndexes_ByExtendingSelection(indexes foundation.IIndexSet, extend bool)
	DeselectRow(row int)
	IsRowSelected(row int) bool
	SelectAll(sender objc.IObject)
	DeselectAll(sender objc.IObject)
	EnumerateAvailableRowViewsUsingBlock(handler func(rowView TableRowView, row int))
	EditColumn_Row_WithEvent_Select(column int, row int, event IEvent, select_ bool)
	DidAddRowView_ForRow(rowView ITableRowView, row int)
	DidRemoveRowView_ForRow(rowView ITableRowView, row int)
	RectOfColumn(column int) foundation.Rect
	RectOfRow(row int) foundation.Rect
	RowsInRect(rect foundation.Rect) foundation.Range
	ColumnIndexesInRect(rect foundation.Rect) foundation.IndexSet
	ColumnAtPoint(point foundation.Point) int
	RowAtPoint(point foundation.Point) int
	FrameOfCellAtColumn_Row(column int, row int) foundation.Rect
	SizeLastColumnToFit()
	NoteNumberOfRowsChanged()
	Tile()
	NoteHeightOfRowsWithIndexesChanged(indexSet foundation.IIndexSet)
	DrawRow_ClipRect(row int, clipRect foundation.Rect)
	DrawGridInClipRect(clipRect foundation.Rect)
	HighlightSelectionInClipRect(clipRect foundation.Rect)
	DrawBackgroundInClipRect(clipRect foundation.Rect)
	ScrollRowToVisible(row int)
	ScrollColumnToVisible(column int)
	DragImageForRowsWithIndexes_TableColumns_Event_Offset(dragRows foundation.IIndexSet, tableColumns []ITableColumn, dragEvent IEvent, dragImageOffset *foundation.Point) Image
	CanDragRowsWithIndexes_AtPoint(rowIndexes foundation.IIndexSet, mouseDownPoint foundation.Point) bool
	SetDraggingSourceOperationMask_ForLocal(mask DragOperation, isLocal bool)
	SetDropRow_DropOperation(row int, dropOperation TableViewDropOperation)
	HideRowsAtIndexes_WithAnimation(indexes foundation.IIndexSet, rowAnimation TableViewAnimationOptions)
	UnhideRowsAtIndexes_WithAnimation(indexes foundation.IIndexSet, rowAnimation TableViewAnimationOptions)
	// deprecated
	DragImageForRows_Event_DragImageOffset(dragRows []objc.IObject, dragEvent IEvent, dragImageOffset *foundation.Point) Image
	// deprecated
	SetAutoresizesAllColumnsToFit(flag bool)
	// deprecated
	AutoresizesAllColumnsToFit() bool
	// deprecated
	SelectColumn_ByExtendingSelection(column int, extend bool)
	// deprecated
	SelectRow_ByExtendingSelection(row int, extend bool)
	// deprecated
	TableView_WriteRows_ToPasteboard(tableView ITableView, rows []objc.IObject, pboard IPasteboard) bool
	// deprecated
	SetDrawsGrid(flag bool)
	// deprecated
	DrawsGrid() bool
	// deprecated
	SelectedColumnEnumerator() foundation.Enumerator
	// deprecated
	SelectedRowEnumerator() foundation.Enumerator
	// deprecated
	FocusedColumn() int
	// deprecated
	SetFocusedColumn(focusedColumn int)
	// deprecated
	ShouldFocusCell_AtColumn_Row(cell ICell, column int, row int) bool
	// deprecated
	PerformClickOnCellAtColumn_Row(column int, row int)
	// deprecated
	PreparedCellAtColumn_Row(column int, row int) Cell
	// deprecated
	ColumnsInRect(rect foundation.Rect) foundation.Range
	// deprecated
	TextShouldBeginEditing(textObject IText) bool
	// deprecated
	TextDidBeginEditing(notification foundation.INotification)
	// deprecated
	TextDidChange(notification foundation.INotification)
	// deprecated
	TextShouldEndEditing(textObject IText) bool
	// deprecated
	TextDidEndEditing(notification foundation.INotification)
	DataSource() objc.Object
	SetDataSource(value objc.IObject)
	UsesStaticContents() bool
	SetUsesStaticContents(value bool)
	RegisteredNibsByIdentifier() map[UserInterfaceItemIdentifier]Nib
	DoubleAction() objc.Selector
	SetDoubleAction(value objc.Selector)
	ClickedColumn() int
	ClickedRow() int
	AllowsColumnReordering() bool
	SetAllowsColumnReordering(value bool)
	AllowsColumnResizing() bool
	SetAllowsColumnResizing(value bool)
	AllowsMultipleSelection() bool
	SetAllowsMultipleSelection(value bool)
	AllowsEmptySelection() bool
	SetAllowsEmptySelection(value bool)
	AllowsColumnSelection() bool
	SetAllowsColumnSelection(value bool)
	UsesAutomaticRowHeights() bool
	SetUsesAutomaticRowHeights(value bool)
	IntercellSpacing() foundation.Size
	SetIntercellSpacing(value foundation.Size)
	RowHeight() float64
	SetRowHeight(value float64)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	UsesAlternatingRowBackgroundColors() bool
	SetUsesAlternatingRowBackgroundColors(value bool)
	Style() TableViewStyle
	SetStyle(value TableViewStyle)
	EffectiveStyle() TableViewStyle
	SelectionHighlightStyle() TableViewSelectionHighlightStyle
	SetSelectionHighlightStyle(value TableViewSelectionHighlightStyle)
	GridColor() Color
	SetGridColor(value IColor)
	GridStyleMask() TableViewGridLineStyle
	SetGridStyleMask(value TableViewGridLineStyle)
	EffectiveRowSizeStyle() TableViewRowSizeStyle
	RowSizeStyle() TableViewRowSizeStyle
	SetRowSizeStyle(value TableViewRowSizeStyle)
	TableColumns() []TableColumn
	SelectedColumn() int
	SelectedColumnIndexes() foundation.IndexSet
	NumberOfSelectedColumns() int
	SelectedRow() int
	SelectedRowIndexes() foundation.IndexSet
	NumberOfSelectedRows() int
	AllowsTypeSelect() bool
	SetAllowsTypeSelect(value bool)
	NumberOfColumns() int
	NumberOfRows() int
	FloatsGroupRows() bool
	SetFloatsGroupRows(value bool)
	EditedColumn() int
	EditedRow() int
	HeaderView() TableHeaderView
	SetHeaderView(value ITableHeaderView)
	CornerView() View
	SetCornerView(value IView)
	ColumnAutoresizingStyle() TableViewColumnAutoresizingStyle
	SetColumnAutoresizingStyle(value TableViewColumnAutoresizingStyle)
	AutosaveTableColumns() bool
	SetAutosaveTableColumns(value bool)
	AutosaveName() TableViewAutosaveName
	SetAutosaveName(value TableViewAutosaveName)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	HighlightedTableColumn() TableColumn
	SetHighlightedTableColumn(value ITableColumn)
	VerticalMotionCanBeginDrag() bool
	SetVerticalMotionCanBeginDrag(value bool)
	DraggingDestinationFeedbackStyle() TableViewDraggingDestinationFeedbackStyle
	SetDraggingDestinationFeedbackStyle(value TableViewDraggingDestinationFeedbackStyle)
	SortDescriptors() []foundation.SortDescriptor
	SetSortDescriptors(value []foundation.ISortDescriptor)
	RowActionsVisible() bool
	SetRowActionsVisible(value bool)
	HiddenRowIndexes() foundation.IndexSet
}

type ITableViewRowAction added in v0.11.0

type ITableViewRowAction interface {
	objc.IObject
	Style() TableViewRowActionStyle
	Title() string
	SetTitle(value string)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	Image() Image
	SetImage(value IImage)
}

type IText added in v0.11.0

type IText interface {
	IView
	ToggleRuler(sender objc.IObject)
	ReplaceCharactersInRange_WithRTF(range_ foundation.Range, rtfData []byte)
	ReplaceCharactersInRange_WithRTFD(range_ foundation.Range, rtfdData []byte)
	ReplaceCharactersInRange_WithString(range_ foundation.Range, string_ string)
	SelectAll(sender objc.IObject)
	Copy(sender objc.IObject)
	Cut(sender objc.IObject)
	Paste(sender objc.IObject)
	CopyFont(sender objc.IObject)
	PasteFont(sender objc.IObject)
	CopyRuler(sender objc.IObject)
	PasteRuler(sender objc.IObject)
	Delete(sender objc.IObject)
	ChangeFont(sender objc.IObject)
	SetFont_Range(font IFont, range_ foundation.Range)
	AlignCenter(sender objc.IObject)
	AlignLeft(sender objc.IObject)
	AlignRight(sender objc.IObject)
	SetTextColor_Range(color IColor, range_ foundation.Range)
	Superscript(sender objc.IObject)
	Subscript(sender objc.IObject)
	Unscript(sender objc.IObject)
	Underline(sender objc.IObject)
	ReadRTFDFromFile(path string) bool
	WriteRTFDToFile_Atomically(path string, flag bool) bool
	RTFDFromRange(range_ foundation.Range) []byte
	RTFFromRange(range_ foundation.Range) []byte
	CheckSpelling(sender objc.IObject)
	ShowGuessPanel(sender objc.IObject)
	SizeToFit()
	ScrollRangeToVisible(range_ foundation.Range)
	String() string
	SetString(value string)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	IsEditable() bool
	SetEditable(value bool)
	IsSelectable() bool
	SetSelectable(value bool)
	IsFieldEditor() bool
	SetFieldEditor(value bool)
	IsRichText() bool
	SetRichText(value bool)
	ImportsGraphics() bool
	SetImportsGraphics(value bool)
	UsesFontPanel() bool
	SetUsesFontPanel(value bool)
	IsRulerVisible() bool
	SelectedRange() foundation.Range
	SetSelectedRange(value foundation.Range)
	Font() Font
	SetFont(value IFont)
	Alignment() TextAlignment
	SetAlignment(value TextAlignment)
	TextColor() Color
	SetTextColor(value IColor)
	BaseWritingDirection() WritingDirection
	SetBaseWritingDirection(value WritingDirection)
	MaxSize() foundation.Size
	SetMaxSize(value foundation.Size)
	MinSize() foundation.Size
	SetMinSize(value foundation.Size)
	IsVerticallyResizable() bool
	SetVerticallyResizable(value bool)
	IsHorizontallyResizable() bool
	SetHorizontallyResizable(value bool)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
}

type ITextAttachment added in v0.11.0

type ITextAttachment interface {
	objc.IObject
	Bounds() coregraphics.Rect
	SetBounds(value coregraphics.Rect)
	Contents() []byte
	SetContents(value []byte)
	FileType() string
	SetFileType(value string)
	Image() Image
	SetImage(value IImage)
	FileWrapper() foundation.FileWrapper
	SetFileWrapper(value foundation.IFileWrapper)
	AllowsTextAttachmentView() bool
	SetAllowsTextAttachmentView(value bool)
	UsesTextAttachmentView() bool
	LineLayoutPadding() float64
	SetLineLayoutPadding(value float64)
}

type ITextAttachmentCell added in v0.13.0

type ITextAttachmentCell interface {
	ICell
}

type ITextAttachmentViewProvider added in v0.12.0

type ITextAttachmentViewProvider interface {
	objc.IObject
	LoadView()
	TextAttachment() TextAttachment
	TextLayoutManager() TextLayoutManager
	TracksTextAttachmentViewBounds() bool
	SetTracksTextAttachmentViewBounds(value bool)
	View() View
	SetView(value IView)
}

type ITextBlock added in v0.11.0

type ITextBlock interface {
	objc.IObject
	SetValue_Type_ForDimension(val float64, type_ TextBlockValueType, dimension TextBlockDimension)
	ValueForDimension(dimension TextBlockDimension) float64
	ValueTypeForDimension(dimension TextBlockDimension) TextBlockValueType
	SetContentWidth_Type(val float64, type_ TextBlockValueType)
	SetWidth_Type_ForLayer_Edge(val float64, type_ TextBlockValueType, layer TextBlockLayer, edge foundation.RectEdge)
	SetWidth_Type_ForLayer(val float64, type_ TextBlockValueType, layer TextBlockLayer)
	WidthForLayer_Edge(layer TextBlockLayer, edge foundation.RectEdge) float64
	WidthValueTypeForLayer_Edge(layer TextBlockLayer, edge foundation.RectEdge) TextBlockValueType
	SetBorderColor_ForEdge(color IColor, edge foundation.RectEdge)
	SetBorderColor(color IColor)
	BorderColorForEdge(edge foundation.RectEdge) Color
	RectForLayoutAtPoint_InRect_TextContainer_CharacterRange(startingPoint foundation.Point, rect foundation.Rect, textContainer ITextContainer, charRange foundation.Range) foundation.Rect
	BoundsRectForContentRect_InRect_TextContainer_CharacterRange(contentRect foundation.Rect, rect foundation.Rect, textContainer ITextContainer, charRange foundation.Range) foundation.Rect
	DrawBackgroundWithFrame_InView_CharacterRange_LayoutManager(frameRect foundation.Rect, controlView IView, charRange foundation.Range, layoutManager ILayoutManager)
	ContentWidth() float64
	ContentWidthValueType() TextBlockValueType
	VerticalAlignment() TextBlockVerticalAlignment
	SetVerticalAlignment(value TextBlockVerticalAlignment)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
}

type ITextContainer added in v0.11.0

type ITextContainer interface {
	objc.IObject
	ReplaceLayoutManager(newLayoutManager ILayoutManager)
	LineFragmentRectForProposedRect_AtIndex_WritingDirection_RemainingRect(proposedRect foundation.Rect, characterIndex uint, baseWritingDirection WritingDirection, remainingRect *foundation.Rect) foundation.Rect
	// deprecated
	LineFragmentRectForProposedRect_SweepDirection_MovementDirection_RemainingRect(proposedRect foundation.Rect, sweepDirection LineSweepDirection, movementDirection LineMovementDirection, remainingRect *foundation.Rect) foundation.Rect
	// deprecated
	ContainsPoint(point foundation.Point) bool
	LayoutManager() LayoutManager
	SetLayoutManager(value ILayoutManager)
	TextLayoutManager() TextLayoutManager
	TextView() TextView
	SetTextView(value ITextView)
	Size() foundation.Size
	SetSize(value foundation.Size)
	ExclusionPaths() []BezierPath
	SetExclusionPaths(value []IBezierPath)
	LineBreakMode() LineBreakMode
	SetLineBreakMode(value LineBreakMode)
	WidthTracksTextView() bool
	SetWidthTracksTextView(value bool)
	HeightTracksTextView() bool
	SetHeightTracksTextView(value bool)
	MaximumNumberOfLines() uint
	SetMaximumNumberOfLines(value uint)
	LineFragmentPadding() float64
	SetLineFragmentPadding(value float64)
	IsSimpleRectangularTextContainer() bool
	// deprecated
	ContainerSize() foundation.Size
	// deprecated
	SetContainerSize(value foundation.Size)
}

type ITextContentManager added in v0.12.0

type ITextContentManager interface {
	objc.IObject
	PerformEditingTransactionUsingBlock(transaction func())
	RecordEditActionInRange_NewTextRange(originalTextRange ITextRange, newTextRange ITextRange)
	AddTextLayoutManager(textLayoutManager ITextLayoutManager)
	RemoveTextLayoutManager(textLayoutManager ITextLayoutManager)
	SynchronizeTextLayoutManagers(completionHandler func(error foundation.Error))
	TextElementsForRange(range_ ITextRange) []TextElement
	AutomaticallySynchronizesToBackingStore() bool
	SetAutomaticallySynchronizesToBackingStore(value bool)
	HasEditingTransaction() bool
	PrimaryTextLayoutManager() TextLayoutManager
	SetPrimaryTextLayoutManager(value ITextLayoutManager)
	TextLayoutManagers() []TextLayoutManager
	AutomaticallySynchronizesTextLayoutManagers() bool
	SetAutomaticallySynchronizesTextLayoutManagers(value bool)
}

type ITextContentStorage added in v0.12.0

type ITextContentStorage interface {
	ITextContentManager
	AttributedStringForTextElement(textElement ITextElement) foundation.AttributedString
	TextElementForAttributedString(attributedString foundation.IAttributedString) TextElement
	AdjustedRangeFromRange_ForEditingTextSelection(textRange ITextRange, forEditingTextSelection bool) TextRange
	AttributedString() foundation.AttributedString
	SetAttributedString(value foundation.IAttributedString)
}

type ITextElement added in v0.12.0

type ITextElement interface {
	objc.IObject
	TextContentManager() TextContentManager
	SetTextContentManager(value ITextContentManager)
	ElementRange() TextRange
	SetElementRange(value ITextRange)
	IsRepresentedElement() bool
	ParentElement() TextElement
	ChildElements() []TextElement
}

type ITextField added in v0.11.0

type ITextField interface {
	IControl
	SelectText(sender objc.IObject)
	// deprecated
	SetTitleWithMnemonic(stringWithAmpersand string)
	TextShouldBeginEditing(textObject IText) bool
	TextDidBeginEditing(notification foundation.INotification)
	TextDidChange(notification foundation.INotification)
	TextShouldEndEditing(textObject IText) bool
	TextDidEndEditing(notification foundation.INotification)
	IsSelectable() bool
	SetSelectable(value bool)
	IsEditable() bool
	SetEditable(value bool)
	AllowsEditingTextAttributes() bool
	SetAllowsEditingTextAttributes(value bool)
	ImportsGraphics() bool
	SetImportsGraphics(value bool)
	PlaceholderString() string
	SetPlaceholderString(value string)
	PlaceholderAttributedString() foundation.AttributedString
	SetPlaceholderAttributedString(value foundation.IAttributedString)
	LineBreakStrategy() LineBreakStrategy
	SetLineBreakStrategy(value LineBreakStrategy)
	AllowsDefaultTighteningForTruncation() bool
	SetAllowsDefaultTighteningForTruncation(value bool)
	MaximumNumberOfLines() int
	SetMaximumNumberOfLines(value int)
	PreferredMaxLayoutWidth() float64
	SetPreferredMaxLayoutWidth(value float64)
	TextColor() Color
	SetTextColor(value IColor)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	IsBezeled() bool
	SetBezeled(value bool)
	BezelStyle() TextFieldBezelStyle
	SetBezelStyle(value TextFieldBezelStyle)
	IsBordered() bool
	SetBordered(value bool)
	AllowsCharacterPickerTouchBarItem() bool
	SetAllowsCharacterPickerTouchBarItem(value bool)
	IsAutomaticTextCompletionEnabled() bool
	SetAutomaticTextCompletionEnabled(value bool)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
}

type ITextFieldCell added in v0.11.0

type ITextFieldCell interface {
	IActionCell
	SetWantsNotificationForMarkedText(flag bool)
	TextColor() Color
	SetTextColor(value IColor)
	BezelStyle() TextFieldBezelStyle
	SetBezelStyle(value TextFieldBezelStyle)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	DrawsBackground() bool
	SetDrawsBackground(value bool)
	PlaceholderString() string
	SetPlaceholderString(value string)
	PlaceholderAttributedString() foundation.AttributedString
	SetPlaceholderAttributedString(value foundation.IAttributedString)
	AllowedInputSourceLocales() []string
	SetAllowedInputSourceLocales(value []string)
}

type ITextInputContext added in v0.11.0

type ITextInputContext interface {
	objc.IObject
	Activate()
	Deactivate()
	HandleEvent(event IEvent) bool
	DiscardMarkedText()
	InvalidateCharacterCoordinates()
	AcceptsGlyphInfo() bool
	SetAcceptsGlyphInfo(value bool)
	AllowedInputSourceLocales() []string
	SetAllowedInputSourceLocales(value []string)
	KeyboardInputSources() []TextInputSourceIdentifier
	SelectedKeyboardInputSource() TextInputSourceIdentifier
	SetSelectedKeyboardInputSource(value TextInputSourceIdentifier)
}

type ITextLayoutFragment added in v0.12.0

type ITextLayoutFragment interface {
	objc.IObject
	DrawAtPoint_InContext(point coregraphics.Point, context coregraphics.ContextRef)
	InvalidateLayout()
	BottomMargin() float64
	LeadingPadding() float64
	TopMargin() float64
	TrailingPadding() float64
	TextLayoutManager() TextLayoutManager
	LayoutQueue() foundation.OperationQueue
	SetLayoutQueue(value foundation.IOperationQueue)
	LayoutFragmentFrame() coregraphics.Rect
	RenderingSurfaceBounds() coregraphics.Rect
	TextAttachmentViewProviders() []TextAttachmentViewProvider
	State() TextLayoutFragmentState
	RangeInElement() TextRange
	TextElement() TextElement
	TextLineFragments() []TextLineFragment
}

type ITextLayoutManager added in v0.12.0

type ITextLayoutManager interface {
	objc.IObject
	EnumerateTextSegmentsInRange_Type_Options_UsingBlock(textRange ITextRange, type_ TextLayoutManagerSegmentType, options TextLayoutManagerSegmentOptions, block func(textSegmentRange TextRange, textSegmentFrame coregraphics.Rect, baselinePosition float64, textContainer TextContainer) bool)
	ReplaceTextContentManager(textContentManager ITextContentManager)
	ReplaceContentsInRange_WithAttributedString(range_ ITextRange, attributedString foundation.IAttributedString)
	ReplaceContentsInRange_WithTextElements(range_ ITextRange, textElements []ITextElement)
	AddRenderingAttribute_Value_ForTextRange(renderingAttribute foundation.AttributedStringKey, value objc.IObject, textRange ITextRange)
	InvalidateRenderingAttributesForTextRange(textRange ITextRange)
	RemoveRenderingAttribute_ForTextRange(renderingAttribute foundation.AttributedStringKey, textRange ITextRange)
	SetRenderingAttributes_ForTextRange(renderingAttributes map[foundation.AttributedStringKey]objc.IObject, textRange ITextRange)
	InvalidateLayoutForRange(range_ ITextRange)
	TextLayoutFragmentForPosition(position coregraphics.Point) TextLayoutFragment
	EnsureLayoutForBounds(bounds coregraphics.Rect)
	EnsureLayoutForRange(range_ ITextRange)
	LayoutQueue() foundation.OperationQueue
	SetLayoutQueue(value foundation.IOperationQueue)
	RenderingAttributesValidator() func(textLayoutManager ITextLayoutManager, textLayoutFragment ITextLayoutFragment)
	SetRenderingAttributesValidator(value func(textLayoutManager TextLayoutManager, textLayoutFragment TextLayoutFragment))
	UsesFontLeading() bool
	SetUsesFontLeading(value bool)
	UsesHyphenation() bool
	SetUsesHyphenation(value bool)
	LimitsLayoutForSuspiciousContents() bool
	SetLimitsLayoutForSuspiciousContents(value bool)
	TextContentManager() TextContentManager
	TextContainer() TextContainer
	SetTextContainer(value ITextContainer)
	TextSelectionNavigation() TextSelectionNavigation
	SetTextSelectionNavigation(value ITextSelectionNavigation)
	TextSelections() []TextSelection
	SetTextSelections(value []ITextSelection)
	UsageBoundsForTextContainer() coregraphics.Rect
	TextViewportLayoutController() TextViewportLayoutController
}

type ITextLineFragment added in v0.12.0

type ITextLineFragment interface {
	objc.IObject
	CharacterIndexForPoint(point coregraphics.Point) int
	FractionOfDistanceThroughGlyphForPoint(point coregraphics.Point) float64
	LocationForCharacterAtIndex(index int) coregraphics.Point
	DrawAtPoint_InContext(point coregraphics.Point, context coregraphics.ContextRef)
	AttributedString() foundation.AttributedString
	CharacterRange() foundation.Range
	GlyphOrigin() coregraphics.Point
	TypographicBounds() coregraphics.Rect
}

type ITextList added in v0.11.0

type ITextList interface {
	objc.IObject
	MarkerForItemNumber(itemNumber int) string
	MarkerFormat() TextListMarkerFormat
	IsOrdered() bool
	ListOptions() TextListOptions
	StartingItemNumber() int
	SetStartingItemNumber(value int)
}

type ITextRange added in v0.12.0

type ITextRange interface {
	objc.IObject
	IntersectsWithTextRange(textRange ITextRange) bool
	IsEqualToTextRange(textRange ITextRange) bool
	ContainsRange(textRange ITextRange) bool
	IsEmpty() bool
}

type ITextSelection added in v0.12.0

type ITextSelection interface {
	objc.IObject
	TextSelectionWithTextRanges(textRanges []ITextRange) TextSelection
	Affinity() TextSelectionAffinity
	AnchorPositionOffset() float64
	SetAnchorPositionOffset(value float64)
	Granularity() TextSelectionGranularity
	IsLogical() bool
	SetLogical(value bool)
	IsTransient() bool
	TextRanges() []TextRange
	TypingAttributes() map[foundation.AttributedStringKey]objc.Object
	SetTypingAttributes(value map[foundation.AttributedStringKey]objc.IObject)
}

type ITextSelectionNavigation added in v0.12.0

type ITextSelectionNavigation interface {
	objc.IObject
	TextSelectionForSelectionGranularity_EnclosingTextSelection(selectionGranularity TextSelectionGranularity, textSelection ITextSelection) TextSelection
	DestinationSelectionForTextSelection_Direction_Destination_Extending_Confined(textSelection ITextSelection, direction TextSelectionNavigationDirection, destination TextSelectionNavigationDestination, extending bool, confined bool) TextSelection
	FlushLayoutCache()
	DeletionRangesForTextSelection_Direction_Destination_AllowsDecomposition(textSelection ITextSelection, direction TextSelectionNavigationDirection, destination TextSelectionNavigationDestination, allowsDecomposition bool) []TextRange
	AllowsNonContiguousRanges() bool
	SetAllowsNonContiguousRanges(value bool)
	RotatesCoordinateSystemForLayoutOrientation() bool
	SetRotatesCoordinateSystemForLayoutOrientation(value bool)
}

type ITextStorage added in v0.11.0

type ITextStorage interface {
	foundation.IMutableAttributedString
	AddLayoutManager(aLayoutManager ILayoutManager)
	RemoveLayoutManager(aLayoutManager ILayoutManager)
	Edited_Range_ChangeInLength(editedMask TextStorageEditActions, editedRange foundation.Range, delta int)
	ProcessEditing()
	InvalidateAttributesInRange(range_ foundation.Range)
	EnsureAttributesAreFixedInRange(range_ foundation.Range)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	LayoutManagers() []LayoutManager
	FixesAttributesLazily() bool
	EditedMask() TextStorageEditActions
	EditedRange() foundation.Range
	ChangeInLength() int
	AttributeRuns() []TextStorage
	SetAttributeRuns(value []ITextStorage)
	Paragraphs() []TextStorage
	SetParagraphs(value []ITextStorage)
	Words() []TextStorage
	SetWords(value []ITextStorage)
	Characters() []TextStorage
	SetCharacters(value []ITextStorage)
	Font() Font
	SetFont(value IFont)
	ForegroundColor() Color
	SetForegroundColor(value IColor)
}

type ITextTab added in v0.11.0

type ITextTab interface {
	objc.IObject
	Location() float64
	Alignment() TextAlignment
	Options() map[TextTabOptionKey]objc.Object
	// deprecated
	TabStopType() TextTabType
}

type ITextTable added in v0.13.0

type ITextTable interface {
	ITextBlock
	NumberOfColumns() uint
	SetNumberOfColumns(value uint)
	LayoutAlgorithm() TextTableLayoutAlgorithm
	SetLayoutAlgorithm(value TextTableLayoutAlgorithm)
	CollapsesBorders() bool
	SetCollapsesBorders(value bool)
	HidesEmptyCells() bool
	SetHidesEmptyCells(value bool)
}

type ITextView added in v0.11.0

type ITextView interface {
	IText
	ReplaceTextContainer(newContainer ITextContainer)
	InvalidateTextContainerOrigin()
	ChangeDocumentBackgroundColor(sender objc.IObject)
	SetNeedsDisplayInRect_AvoidAdditionalLayout(rect foundation.Rect, flag bool)
	DrawInsertionPointInRect_Color_TurnedOn(rect foundation.Rect, color IColor, flag bool)
	DrawViewBackgroundInRect(rect foundation.Rect)
	SetConstrainedFrameSize(desiredSize foundation.Size)
	CleanUpAfterDragOperation()
	ShowFindIndicatorForRange(charRange foundation.Range)
	// deprecated
	InsertText(insertString objc.IObject)
	SetBaseWritingDirection_Range(writingDirection WritingDirection, range_ foundation.Range)
	// deprecated
	ToggleBaseWritingDirection(sender objc.IObject)
	Outline(sender objc.IObject)
	ToggleAutomaticQuoteSubstitution(sender objc.IObject)
	ToggleAutomaticLinkDetection(sender objc.IObject)
	ToggleAutomaticTextCompletion(sender objc.IObject)
	SetSelectedRange_Affinity_StillSelecting(charRange foundation.Range, affinity SelectionAffinity, stillSelectingFlag bool)
	SetSelectedRanges_Affinity_StillSelecting(ranges []foundation.IValue, affinity SelectionAffinity, stillSelectingFlag bool)
	UpdateInsertionPointStateAndRestartTimer(restartFlag bool)
	CharacterIndexForInsertionAtPoint(point foundation.Point) uint
	UpdateCandidates()
	PreferredPasteboardTypeFromArray_RestrictedToTypesFromArray(availableTypes []PasteboardType, allowedTypes []PasteboardType) PasteboardType
	ReadSelectionFromPasteboard(pboard IPasteboard) bool
	ReadSelectionFromPasteboard_Type(pboard IPasteboard, type_ PasteboardType) bool
	WriteSelectionToPasteboard_Type(pboard IPasteboard, type_ PasteboardType) bool
	WriteSelectionToPasteboard_Types(pboard IPasteboard, types []PasteboardType) bool
	AlignJustified(sender objc.IObject)
	ChangeAttributes(sender objc.IObject)
	ChangeColor(sender objc.IObject)
	SetAlignment_Range(alignment TextAlignment, range_ foundation.Range)
	UseStandardKerning(sender objc.IObject)
	LowerBaseline(sender objc.IObject)
	RaiseBaseline(sender objc.IObject)
	TurnOffKerning(sender objc.IObject)
	LoosenKerning(sender objc.IObject)
	TightenKerning(sender objc.IObject)
	UseStandardLigatures(sender objc.IObject)
	TurnOffLigatures(sender objc.IObject)
	UseAllLigatures(sender objc.IObject)
	// deprecated
	ToggleTraditionalCharacterShape(sender objc.IObject)
	ClickedOnLink_AtIndex(link objc.IObject, charIndex uint)
	PasteAsPlainText(sender objc.IObject)
	PasteAsRichText(sender objc.IObject)
	BreakUndoCoalescing()
	UpdateFontPanel()
	UpdateRuler()
	UpdateDragTypeRegistration()
	SelectionRangeForProposedRange_Granularity(proposedCharRange foundation.Range, granularity SelectionGranularity) foundation.Range
	ShouldChangeTextInRange_ReplacementString(affectedCharRange foundation.Range, replacementString string) bool
	ShouldChangeTextInRanges_ReplacementStrings(affectedRanges []foundation.IValue, replacementStrings []string) bool
	DidChangeText()
	SmartDeleteRangeForProposedRange(proposedCharRange foundation.Range) foundation.Range
	SmartInsertAfterStringForString_ReplacingRange(pasteString string, charRangeToReplace foundation.Range) string
	SmartInsertBeforeStringForString_ReplacingRange(pasteString string, charRangeToReplace foundation.Range) string
	SmartInsertForString_ReplacingRange_BeforeString_AfterString(pasteString string, charRangeToReplace foundation.Range, beforeString *foundation.String, afterString *foundation.String)
	ToggleSmartInsertDelete(sender objc.IObject)
	ToggleContinuousSpellChecking(sender objc.IObject)
	ToggleGrammarChecking(sender objc.IObject)
	SetSpellingState_Range(value int, charRange foundation.Range)
	OrderFrontSharingServicePicker(sender objc.IObject)
	DragImageForSelectionWithEvent_Origin(event IEvent, origin *foundation.Point) Image
	DragOperationForDraggingInfo_Type(dragInfo objc.IObject, type_ PasteboardType) DragOperation
	DragSelectionWithEvent_Offset_SlideBack(event IEvent, mouseOffset foundation.Size, slideBack bool) bool
	StartSpeaking(sender objc.IObject)
	StopSpeaking(sender objc.IObject)
	PerformFindPanelAction(sender objc.IObject)
	OrderFrontLinkPanel(sender objc.IObject)
	OrderFrontListPanel(sender objc.IObject)
	OrderFrontSpacingPanel(sender objc.IObject)
	OrderFrontTablePanel(sender objc.IObject)
	OrderFrontSubstitutionsPanel(sender objc.IObject)
	Complete(sender objc.IObject)
	CompletionsForPartialWordRange_IndexOfSelectedItem(charRange foundation.Range, index *int) []string
	InsertCompletion_ForPartialWordRange_Movement_IsFinal(word string, charRange foundation.Range, movement int, flag bool)
	CheckTextInDocument(sender objc.IObject)
	CheckTextInSelection(sender objc.IObject)
	CheckTextInRange_Types_Options(range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject)
	HandleTextCheckingResults_ForRange_Types_Options_Orthography_WordCount(results []foundation.ITextCheckingResult, range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject, orthography foundation.IOrthography, wordCount int)
	ToggleAutomaticDashSubstitution(sender objc.IObject)
	ToggleAutomaticDataDetection(sender objc.IObject)
	ToggleAutomaticSpellingCorrection(sender objc.IObject)
	ToggleAutomaticTextReplacement(sender objc.IObject)
	PerformValidatedReplacementInRange_WithAttributedString(range_ foundation.Range, attributedString foundation.IAttributedString) bool
	UpdateQuickLookPreviewPanel()
	ToggleQuickLookPreviewPanel(sender objc.IObject)
	ChangeLayoutOrientation(sender objc.IObject)
	SetLayoutOrientation(orientation TextLayoutOrientation)
	UpdateTextTouchBarItems()
	UpdateTouchBarItemIdentifiers()
	TextContainer() TextContainer
	SetTextContainer(value ITextContainer)
	TextContainerInset() foundation.Size
	SetTextContainerInset(value foundation.Size)
	TextContainerOrigin() foundation.Point
	TextLayoutManager() TextLayoutManager
	LayoutManager() LayoutManager
	TextContentStorage() TextContentStorage
	TextStorage() TextStorage
	AllowsDocumentBackgroundColorChange() bool
	SetAllowsDocumentBackgroundColorChange(value bool)
	ShouldDrawInsertionPoint() bool
	AllowedInputSourceLocales() []string
	SetAllowedInputSourceLocales(value []string)
	AllowsUndo() bool
	SetAllowsUndo(value bool)
	DefaultParagraphStyle() ParagraphStyle
	SetDefaultParagraphStyle(value IParagraphStyle)
	AllowsImageEditing() bool
	SetAllowsImageEditing(value bool)
	IsAutomaticQuoteSubstitutionEnabled() bool
	SetAutomaticQuoteSubstitutionEnabled(value bool)
	IsAutomaticLinkDetectionEnabled() bool
	SetAutomaticLinkDetectionEnabled(value bool)
	DisplaysLinkToolTips() bool
	SetDisplaysLinkToolTips(value bool)
	IsAutomaticTextCompletionEnabled() bool
	SetAutomaticTextCompletionEnabled(value bool)
	UsesAdaptiveColorMappingForDarkAppearance() bool
	SetUsesAdaptiveColorMappingForDarkAppearance(value bool)
	UsesRolloverButtonForSelection() bool
	SetUsesRolloverButtonForSelection(value bool)
	UsesRuler() bool
	SetUsesRuler(value bool)
	SetRulerVisible(value bool)
	UsesInspectorBar() bool
	SetUsesInspectorBar(value bool)
	SelectedRanges() []foundation.Value
	SetSelectedRanges(value []foundation.IValue)
	SelectionAffinity() SelectionAffinity
	SelectionGranularity() SelectionGranularity
	SetSelectionGranularity(value SelectionGranularity)
	InsertionPointColor() Color
	SetInsertionPointColor(value IColor)
	SelectedTextAttributes() map[foundation.AttributedStringKey]objc.Object
	SetSelectedTextAttributes(value map[foundation.AttributedStringKey]objc.IObject)
	MarkedTextAttributes() map[foundation.AttributedStringKey]objc.Object
	SetMarkedTextAttributes(value map[foundation.AttributedStringKey]objc.IObject)
	LinkTextAttributes() map[foundation.AttributedStringKey]objc.Object
	SetLinkTextAttributes(value map[foundation.AttributedStringKey]objc.IObject)
	ReadablePasteboardTypes() []PasteboardType
	WritablePasteboardTypes() []PasteboardType
	TypingAttributes() map[foundation.AttributedStringKey]objc.Object
	SetTypingAttributes(value map[foundation.AttributedStringKey]objc.IObject)
	IsCoalescingUndo() bool
	AcceptableDragTypes() []PasteboardType
	RangeForUserCharacterAttributeChange() foundation.Range
	RangesForUserCharacterAttributeChange() []foundation.Value
	RangeForUserParagraphAttributeChange() foundation.Range
	RangesForUserParagraphAttributeChange() []foundation.Value
	RangeForUserTextChange() foundation.Range
	RangesForUserTextChange() []foundation.Value
	SmartInsertDeleteEnabled() bool
	SetSmartInsertDeleteEnabled(value bool)
	IsContinuousSpellCheckingEnabled() bool
	SetContinuousSpellCheckingEnabled(value bool)
	SpellCheckerDocumentTag() int
	IsGrammarCheckingEnabled() bool
	SetGrammarCheckingEnabled(value bool)
	AcceptsGlyphInfo() bool
	SetAcceptsGlyphInfo(value bool)
	UsesFindPanel() bool
	SetUsesFindPanel(value bool)
	RangeForUserCompletion() foundation.Range
	EnabledTextCheckingTypes() foundation.TextCheckingTypes
	SetEnabledTextCheckingTypes(value foundation.TextCheckingTypes)
	IsAutomaticDashSubstitutionEnabled() bool
	SetAutomaticDashSubstitutionEnabled(value bool)
	IsAutomaticDataDetectionEnabled() bool
	SetAutomaticDataDetectionEnabled(value bool)
	IsAutomaticSpellingCorrectionEnabled() bool
	SetAutomaticSpellingCorrectionEnabled(value bool)
	IsAutomaticTextReplacementEnabled() bool
	SetAutomaticTextReplacementEnabled(value bool)
	UsesFindBar() bool
	SetUsesFindBar(value bool)
	IsIncrementalSearchingEnabled() bool
	SetIncrementalSearchingEnabled(value bool)
	AllowsCharacterPickerTouchBarItem() bool
	SetAllowsCharacterPickerTouchBarItem(value bool)
}

type ITextViewportLayoutController added in v0.12.0

type ITextViewportLayoutController interface {
	objc.IObject
	AdjustViewportByVerticalOffset(verticalOffset float64)
	LayoutViewport()
	TextLayoutManager() TextLayoutManager
	ViewportBounds() coregraphics.Rect
	ViewportRange() TextRange
}

type ITintConfiguration added in v0.11.0

type ITintConfiguration interface {
	objc.IObject
	AdaptsToUserAccentColor() bool
	BaseTintColor() Color
	EquivalentContentTintColor() Color
}

type ITitlebarAccessoryViewController added in v0.11.0

type ITitlebarAccessoryViewController interface {
	IViewController
	FullScreenMinHeight() float64
	SetFullScreenMinHeight(value float64)
	LayoutAttribute() LayoutAttribute
	SetLayoutAttribute(value LayoutAttribute)
	AutomaticallyAdjustsSize() bool
	SetAutomaticallyAdjustsSize(value bool)
	IsHidden() bool
	SetHidden(value bool)
}

type ITokenField added in v0.13.6

type ITokenField interface {
	ITextField
	TokenStyle() TokenStyle
	SetTokenStyle(value TokenStyle)
	TokenizingCharacterSet() foundation.CharacterSet
	SetTokenizingCharacterSet(value foundation.ICharacterSet)
	CompletionDelay() foundation.TimeInterval
	SetCompletionDelay(value foundation.TimeInterval)
}

type ITokenFieldCell added in v0.13.6

type ITokenFieldCell interface {
	ITextFieldCell
	TokenStyle() TokenStyle
	SetTokenStyle(value TokenStyle)
	TokenizingCharacterSet() foundation.CharacterSet
	SetTokenizingCharacterSet(value foundation.ICharacterSet)
	CompletionDelay() foundation.TimeInterval
	SetCompletionDelay(value foundation.TimeInterval)
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
}

type IToolbar added in v0.11.0

type IToolbar interface {
	objc.IObject
	InsertItemWithItemIdentifier_AtIndex(itemIdentifier ToolbarItemIdentifier, index int)
	RemoveItemAtIndex(index int)
	SetConfigurationFromDictionary(configDict map[string]objc.IObject)
	RunCustomizationPalette(sender objc.IObject)
	ValidateVisibleItems()
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	Identifier() ToolbarIdentifier
	IsVisible() bool
	SetVisible(value bool)
	DisplayMode() ToolbarDisplayMode
	SetDisplayMode(value ToolbarDisplayMode)
	ShowsBaselineSeparator() bool
	SetShowsBaselineSeparator(value bool)
	AllowsUserCustomization() bool
	SetAllowsUserCustomization(value bool)
	AllowsExtensionItems() bool
	SetAllowsExtensionItems(value bool)
	Items() []ToolbarItem
	VisibleItems() []ToolbarItem
	CenteredItemIdentifiers() foundation.Set
	SetCenteredItemIdentifiers(value foundation.ISet)
	SelectedItemIdentifier() ToolbarItemIdentifier
	SetSelectedItemIdentifier(value ToolbarItemIdentifier)
	AutosavesConfiguration() bool
	SetAutosavesConfiguration(value bool)
	ConfigurationDictionary() map[string]objc.Object
	CustomizationPaletteIsRunning() bool
	// deprecated
	CenteredItemIdentifier() ToolbarItemIdentifier
	// deprecated
	SetCenteredItemIdentifier(value ToolbarItemIdentifier)
	// deprecated
	FullScreenAccessoryView() View
	// deprecated
	SetFullScreenAccessoryView(value IView)
	// deprecated
	FullScreenAccessoryViewMinHeight() float64
	// deprecated
	SetFullScreenAccessoryViewMinHeight(value float64)
	// deprecated
	FullScreenAccessoryViewMaxHeight() float64
	// deprecated
	SetFullScreenAccessoryViewMaxHeight(value float64)
	// deprecated
	SizeMode() ToolbarSizeMode
	// deprecated
	SetSizeMode(value ToolbarSizeMode)
}

type IToolbarItem added in v0.11.0

type IToolbarItem interface {
	objc.IObject
	Validate()
	ItemIdentifier() ToolbarItemIdentifier
	PossibleLabels() foundation.Set
	SetPossibleLabels(value foundation.ISet)
	Label() string
	SetLabel(value string)
	PaletteLabel() string
	SetPaletteLabel(value string)
	Title() string
	SetTitle(value string)
	ToolTip() string
	SetToolTip(value string)
	Image() Image
	SetImage(value IImage)
	View() View
	SetView(value IView)
	Target() objc.Object
	SetTarget(value objc.IObject)
	Action() objc.Selector
	SetAction(value objc.Selector)
	MenuFormRepresentation() MenuItem
	SetMenuFormRepresentation(value IMenuItem)
	IsVisible() bool
	IsBordered() bool
	SetBordered(value bool)
	IsNavigational() bool
	SetNavigational(value bool)
	IsEnabled() bool
	SetEnabled(value bool)
	AllowsDuplicatesInToolbar() bool
	VisibilityPriority() ToolbarItemVisibilityPriority
	SetVisibilityPriority(value ToolbarItemVisibilityPriority)
	Tag() int
	SetTag(value int)
	Toolbar() Toolbar
	Autovalidates() bool
	SetAutovalidates(value bool)
	// deprecated
	MinSize() foundation.Size
	// deprecated
	SetMinSize(value foundation.Size)
	// deprecated
	MaxSize() foundation.Size
	// deprecated
	SetMaxSize(value foundation.Size)
}

type IToolbarItemGroup added in v0.13.6

type IToolbarItemGroup interface {
	IToolbarItem
	IsSelectedAtIndex(index int) bool
	SetSelected_AtIndex(selected bool, index int)
	Subitems() []ToolbarItem
	SetSubitems(value []IToolbarItem)
	SelectedIndex() int
	SetSelectedIndex(value int)
	ControlRepresentation() ToolbarItemGroupControlRepresentation
	SetControlRepresentation(value ToolbarItemGroupControlRepresentation)
	SelectionMode() ToolbarItemGroupSelectionMode
	SetSelectionMode(value ToolbarItemGroupSelectionMode)
}

type ITouch added in v0.11.0

type ITouch interface {
	objc.IObject
	LocationInView(view IView) foundation.Point
	PreviousLocationInView(view IView) foundation.Point
	Type() TouchType
	Phase() TouchPhase
	NormalizedPosition() foundation.Point
	IsResting() bool
	Device() objc.Object
	DeviceSize() foundation.Size
}

type ITouchBar added in v0.11.0

type ITouchBar interface {
	objc.IObject
	ItemForIdentifier(identifier TouchBarItemIdentifier) TouchBarItem
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	TemplateItems() foundation.Set
	SetTemplateItems(value foundation.ISet)
	DefaultItemIdentifiers() []TouchBarItemIdentifier
	SetDefaultItemIdentifiers(value []TouchBarItemIdentifier)
	PrincipalItemIdentifier() TouchBarItemIdentifier
	SetPrincipalItemIdentifier(value TouchBarItemIdentifier)
	EscapeKeyReplacementItemIdentifier() TouchBarItemIdentifier
	SetEscapeKeyReplacementItemIdentifier(value TouchBarItemIdentifier)
	IsVisible() bool
	ItemIdentifiers() []TouchBarItemIdentifier
	CustomizationIdentifier() TouchBarCustomizationIdentifier
	SetCustomizationIdentifier(value TouchBarCustomizationIdentifier)
	CustomizationAllowedItemIdentifiers() []TouchBarItemIdentifier
	SetCustomizationAllowedItemIdentifiers(value []TouchBarItemIdentifier)
	CustomizationRequiredItemIdentifiers() []TouchBarItemIdentifier
	SetCustomizationRequiredItemIdentifiers(value []TouchBarItemIdentifier)
}

type ITouchBarItem added in v0.11.0

type ITouchBarItem interface {
	objc.IObject
	Identifier() TouchBarItemIdentifier
	VisibilityPriority() TouchBarItemPriority
	SetVisibilityPriority(value TouchBarItemPriority)
	IsVisible() bool
	CustomizationLabel() string
	ViewController() ViewController
	View() View
}

type ITrackingArea added in v0.11.0

type ITrackingArea interface {
	objc.IObject
	Options() TrackingAreaOptions
	Owner() objc.Object
	Rect() foundation.Rect
	UserInfo() foundation.Dictionary
}

type ITrackingSeparatorToolbarItem added in v0.13.6

type ITrackingSeparatorToolbarItem interface {
	IToolbarItem
	DividerIndex() int
	SetDividerIndex(value int)
	SplitView() SplitView
	SetSplitView(value ISplitView)
}

type ITreeController added in v0.11.0

type ITreeController interface {
	IObjectController
	RearrangeObjects()
	SetSelectionIndexPath(indexPath foundation.IIndexPath) bool
	SetSelectionIndexPaths(indexPaths []foundation.IIndexPath) bool
	AddSelectionIndexPaths(indexPaths []foundation.IIndexPath) bool
	RemoveSelectionIndexPaths(indexPaths []foundation.IIndexPath) bool
	AddChild(sender objc.IObject)
	Insert(sender objc.IObject)
	InsertChild(sender objc.IObject)
	InsertObject_AtArrangedObjectIndexPath(object objc.IObject, indexPath foundation.IIndexPath)
	InsertObjects_AtArrangedObjectIndexPaths(objects []objc.IObject, indexPaths []foundation.IIndexPath)
	RemoveObjectAtArrangedObjectIndexPath(indexPath foundation.IIndexPath)
	RemoveObjectsAtArrangedObjectIndexPaths(indexPaths []foundation.IIndexPath)
	MoveNode_ToIndexPath(node ITreeNode, indexPath foundation.IIndexPath)
	MoveNodes_ToIndexPath(nodes []ITreeNode, startingIndexPath foundation.IIndexPath)
	ChildrenKeyPathForNode(node ITreeNode) string
	CountKeyPathForNode(node ITreeNode) string
	LeafKeyPathForNode(node ITreeNode) string
	SortDescriptors() []foundation.SortDescriptor
	SetSortDescriptors(value []foundation.ISortDescriptor)
	ArrangedObjects() TreeNode
	SelectionIndexPath() foundation.IndexPath
	SelectionIndexPaths() []foundation.IndexPath
	SelectedNodes() []TreeNode
	SelectsInsertedObjects() bool
	SetSelectsInsertedObjects(value bool)
	AvoidsEmptySelection() bool
	SetAvoidsEmptySelection(value bool)
	PreservesSelection() bool
	SetPreservesSelection(value bool)
	AlwaysUsesMultipleValuesMarker() bool
	SetAlwaysUsesMultipleValuesMarker(value bool)
	CanAddChild() bool
	CanInsert() bool
	CanInsertChild() bool
	ChildrenKeyPath() string
	SetChildrenKeyPath(value string)
	CountKeyPath() string
	SetCountKeyPath(value string)
	LeafKeyPath() string
	SetLeafKeyPath(value string)
}

type ITreeNode added in v0.11.0

type ITreeNode interface {
	objc.IObject
	DescendantNodeAtIndexPath(indexPath foundation.IIndexPath) TreeNode
	SortWithSortDescriptors_Recursively(sortDescriptors []foundation.ISortDescriptor, recursively bool)
	RepresentedObject() objc.Object
	IndexPath() foundation.IndexPath
	IsLeaf() bool
	ChildNodes() []TreeNode
	ParentNode() TreeNode
}

type ITypesetter added in v0.11.0

type ITypesetter interface {
	objc.IObject
	BaselineOffsetInLayoutManager_GlyphIndex(layoutMgr ILayoutManager, glyphIndex uint) float64
	SubstituteFontForFont(originalFont IFont) Font
	TextTabForGlyphLocation_WritingDirection_MaxLocation(glyphLocation float64, direction WritingDirection, maxLocation float64) TextTab
	SetParagraphGlyphRange_SeparatorGlyphRange(paragraphRange foundation.Range, paragraphSeparatorRange foundation.Range)
	LineSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect(glyphIndex uint, rect foundation.Rect) float64
	ParagraphSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect(glyphIndex uint, rect foundation.Rect) float64
	ParagraphSpacingBeforeGlyphAtIndex_WithProposedLineFragmentRect(glyphIndex uint, rect foundation.Rect) float64
	LayoutParagraphAtPoint(lineFragmentOrigin *foundation.Point) uint
	BeginParagraph()
	EndParagraph()
	BeginLineWithGlyphAtIndex(glyphIndex uint)
	EndLineWithGlyphRange(lineGlyphRange foundation.Range)
	LayoutCharactersInRange_ForLayoutManager_MaximumNumberOfLineFragments(characterRange foundation.Range, layoutManager ILayoutManager, maxNumLines uint) foundation.Range
	LayoutGlyphsInLayoutManager_StartingAtGlyphIndex_MaxNumberOfLineFragments_NextGlyphIndex(layoutManager ILayoutManager, startGlyphIndex uint, maxNumLines uint, nextGlyph *uint)
	BoundingBoxForControlGlyphAtIndex_ForTextContainer_ProposedLineFragment_GlyphPosition_CharacterIndex(glyphIndex uint, textContainer ITextContainer, proposedRect foundation.Rect, glyphPosition foundation.Point, charIndex uint) foundation.Rect
	GetLineFragmentRect_UsedRect_ForParagraphSeparatorGlyphRange_AtProposedOrigin(lineFragmentRect *foundation.Rect, lineFragmentUsedRect *foundation.Rect, paragraphSeparatorGlyphRange foundation.Range, lineOrigin foundation.Point)
	GetLineFragmentRect_UsedRect_RemainingRect_ForStartingGlyphAtIndex_ProposedRect_LineSpacing_ParagraphSpacingBefore_ParagraphSpacingAfter(lineFragmentRect *foundation.Rect, lineFragmentUsedRect *foundation.Rect, remainingRect *foundation.Rect, startingGlyphIndex uint, proposedRect foundation.Rect, lineSpacing float64, paragraphSpacingBefore float64, paragraphSpacingAfter float64)
	HyphenCharacterForGlyphAtIndex(glyphIndex uint) uint32
	HyphenationFactorForGlyphAtIndex(glyphIndex uint) float32
	ShouldBreakLineByHyphenatingBeforeCharacterAtIndex(charIndex uint) bool
	ShouldBreakLineByWordBeforeCharacterAtIndex(charIndex uint) bool
	WillSetLineFragmentRect_ForGlyphRange_UsedRect_BaselineOffset(lineRect *foundation.Rect, glyphRange foundation.Range, usedRect *foundation.Rect, baselineOffset *float64)
	SetHardInvalidation_ForGlyphRange(flag bool, glyphRange foundation.Range)
	CharacterRangeForGlyphRange_ActualGlyphRange(glyphRange foundation.Range, actualGlyphRange *foundation.Range) foundation.Range
	GlyphRangeForCharacterRange_ActualCharacterRange(charRange foundation.Range, actualCharRange *foundation.Range) foundation.Range
	SetAttachmentSize_ForGlyphRange(attachmentSize foundation.Size, glyphRange foundation.Range)
	SetDrawsOutsideLineFragment_ForGlyphRange(flag bool, glyphRange foundation.Range)
	SetLineFragmentRect_ForGlyphRange_UsedRect_BaselineOffset(fragmentRect foundation.Rect, glyphRange foundation.Range, usedRect foundation.Rect, baselineOffset float64)
	SetLocation_WithAdvancements_ForStartOfGlyphRange(location foundation.Point, advancements *float64, glyphRange foundation.Range)
	SetNotShownAttribute_ForGlyphRange(flag bool, glyphRange foundation.Range)
	// deprecated
	ActionForControlCharacterAtIndex(charIndex uint) TypesetterControlCharacterAction
	// deprecated
	DeleteGlyphsInRange(glyphRange foundation.Range)
	// deprecated
	SubstituteGlyphsInRange_WithGlyphs(glyphRange foundation.Range, glyphs *Glyph)
	// deprecated
	GetGlyphsInRange_Glyphs_CharacterIndexes_GlyphInscriptions_ElasticBits_BidiLevels(glyphsRange foundation.Range, glyphBuffer *Glyph, charIndexBuffer *uint, inscribeBuffer *GlyphInscription, elasticBuffer *bool, bidiLevelBuffer *byte) uint
	// deprecated
	InsertGlyph_AtGlyphIndex_CharacterIndex(glyph Glyph, glyphIndex uint, characterIndex uint)
	LayoutManager() LayoutManager
	UsesFontLeading() bool
	SetUsesFontLeading(value bool)
	TypesetterBehavior() TypesetterBehavior
	SetTypesetterBehavior(value TypesetterBehavior)
	HyphenationFactor() float32
	SetHyphenationFactor(value float32)
	CurrentTextContainer() TextContainer
	TextContainers() []TextContainer
	LineFragmentPadding() float64
	SetLineFragmentPadding(value float64)
	BidiProcessingEnabled() bool
	SetBidiProcessingEnabled(value bool)
	CurrentParagraphStyle() ParagraphStyle
	AttributedString() foundation.AttributedString
	SetAttributedString(value foundation.IAttributedString)
	ParagraphGlyphRange() foundation.Range
	ParagraphSeparatorGlyphRange() foundation.Range
	ParagraphCharacterRange() foundation.Range
	ParagraphSeparatorCharacterRange() foundation.Range
	AttributesForExtraLineFragment() map[foundation.AttributedStringKey]objc.Object
}

type IUserInterfaceCompressionOptions added in v0.11.0

type IUserInterfaceCompressionOptions interface {
	objc.IObject
	ContainsOptions(options IUserInterfaceCompressionOptions) bool
	IntersectsOptions(options IUserInterfaceCompressionOptions) bool
	OptionsByAddingOptions(options IUserInterfaceCompressionOptions) UserInterfaceCompressionOptions
	OptionsByRemovingOptions(options IUserInterfaceCompressionOptions) UserInterfaceCompressionOptions
	IsEmpty() bool
}

type IView added in v0.11.0

type IView interface {
	IResponder
	PrepareForReuse()
	IsDescendantOf(view IView) bool
	AncestorSharedWithView(view IView) View
	AddSubview(view IView)
	AddSubview_Positioned_RelativeTo(view IView, place WindowOrderingMode, otherView IView)
	RemoveFromSuperview()
	RemoveFromSuperviewWithoutNeedingDisplay()
	ReplaceSubview_With(oldView IView, newView IView)
	DidAddSubview(subview IView)
	ViewDidMoveToSuperview()
	ViewDidMoveToWindow()
	ViewWillMoveToSuperview(newSuperview IView)
	ViewWillMoveToWindow(newWindow IWindow)
	WillRemoveSubview(subview IView)
	ViewWithTag(tag int) View
	SetFrameOrigin(newOrigin foundation.Point)
	SetFrameSize(newSize foundation.Size)
	SetBoundsOrigin(newOrigin foundation.Point)
	SetBoundsSize(newSize foundation.Size)
	TranslateOriginToPoint(translation foundation.Point)
	ScaleUnitSquareToSize(newUnitSize foundation.Size)
	RotateByAngle(angle float64)
	BackingAlignedRect_Options(rect foundation.Rect, options foundation.AlignmentOptions) foundation.Rect
	ConvertPointFromBacking(point foundation.Point) foundation.Point
	ConvertPointToBacking(point foundation.Point) foundation.Point
	ConvertPointFromLayer(point foundation.Point) foundation.Point
	ConvertPointToLayer(point foundation.Point) foundation.Point
	ConvertRectFromBacking(rect foundation.Rect) foundation.Rect
	ConvertRectToBacking(rect foundation.Rect) foundation.Rect
	ConvertRectFromLayer(rect foundation.Rect) foundation.Rect
	ConvertRectToLayer(rect foundation.Rect) foundation.Rect
	ConvertSizeFromBacking(size foundation.Size) foundation.Size
	ConvertSizeToBacking(size foundation.Size) foundation.Size
	ConvertSizeFromLayer(size foundation.Size) foundation.Size
	ConvertSizeToLayer(size foundation.Size) foundation.Size
	ConvertPoint_FromView(point foundation.Point, view IView) foundation.Point
	ConvertPoint_ToView(point foundation.Point, view IView) foundation.Point
	ConvertSize_FromView(size foundation.Size, view IView) foundation.Size
	ConvertSize_ToView(size foundation.Size, view IView) foundation.Size
	ConvertRect_FromView(rect foundation.Rect, view IView) foundation.Rect
	ConvertRect_ToView(rect foundation.Rect, view IView) foundation.Rect
	CenterScanRect(rect foundation.Rect) foundation.Rect
	ViewDidHide()
	ViewDidUnhide()
	ViewDidChangeEffectiveAppearance()
	ViewDidChangeBackingProperties()
	DrawFocusRingMask()
	NoteFocusRingMaskChanged()
	SetKeyboardFocusRingNeedsDisplayInRect(rect foundation.Rect)
	MakeBackingLayer() quartzcore.Layer
	MenuForEvent(event IEvent) Menu
	WillOpenMenu_WithEvent(menu IMenu, event IEvent)
	DidCloseMenu_WithEvent(menu IMenu, event IEvent)
	AddCursorRect_Cursor(rect foundation.Rect, object ICursor)
	RemoveCursorRect_Cursor(rect foundation.Rect, object ICursor)
	DiscardCursorRects()
	ResetCursorRects()
	AddToolTipRect_Owner_UserData(rect foundation.Rect, owner objc.IObject, data unsafe.Pointer) ToolTipTag
	RemoveAllToolTips()
	RemoveToolTip(tag ToolTipTag)
	ShowDefinitionForAttributedString_AtPoint(attrString foundation.IAttributedString, textBaselineOrigin foundation.Point)
	ShowDefinitionForAttributedString_Range_Options_BaselineOriginProvider(attrString foundation.IAttributedString, targetRange foundation.Range, options map[DefinitionOptionKey]objc.IObject, originProvider func(adjustedRange foundation.Range) foundation.Point)
	RulerView_DidAddMarker(ruler IRulerView, marker IRulerMarker)
	RulerView_DidMoveMarker(ruler IRulerView, marker IRulerMarker)
	RulerView_DidRemoveMarker(ruler IRulerView, marker IRulerMarker)
	RulerView_HandleMouseDown(ruler IRulerView, event IEvent)
	RulerView_LocationForPoint(ruler IRulerView, point foundation.Point) float64
	RulerView_PointForLocation(ruler IRulerView, point float64) foundation.Point
	RulerView_ShouldAddMarker(ruler IRulerView, marker IRulerMarker) bool
	RulerView_ShouldMoveMarker(ruler IRulerView, marker IRulerMarker) bool
	RulerView_ShouldRemoveMarker(ruler IRulerView, marker IRulerMarker) bool
	RulerView_WillAddMarker_AtLocation(ruler IRulerView, marker IRulerMarker, location float64) float64
	RulerView_WillMoveMarker_ToLocation(ruler IRulerView, marker IRulerMarker, location float64) float64
	RulerView_WillSetClientView(ruler IRulerView, newClient IView)
	AddConstraint(constraint ILayoutConstraint)
	AddConstraints(constraints []ILayoutConstraint)
	RemoveConstraint(constraint ILayoutConstraint)
	RemoveConstraints(constraints []ILayoutConstraint)
	InvalidateIntrinsicContentSize()
	ContentCompressionResistancePriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority
	SetContentCompressionResistancePriority_ForOrientation(priority LayoutPriority, orientation LayoutConstraintOrientation)
	ContentHuggingPriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority
	SetContentHuggingPriority_ForOrientation(priority LayoutPriority, orientation LayoutConstraintOrientation)
	AddLayoutGuide(guide ILayoutGuide)
	RemoveLayoutGuide(guide ILayoutGuide)
	AlignmentRectForFrame(frame foundation.Rect) foundation.Rect
	FrameForAlignmentRect(alignmentRect foundation.Rect) foundation.Rect
	Layout()
	LayoutSubtreeIfNeeded()
	UpdateConstraints()
	UpdateConstraintsForSubtreeIfNeeded()
	ConstraintsAffectingLayoutForOrientation(orientation LayoutConstraintOrientation) []LayoutConstraint
	ExerciseAmbiguityInLayout()
	ResizeSubviewsWithOldSize(oldSize foundation.Size)
	ResizeWithOldSuperviewSize(oldSize foundation.Size)
	UpdateLayer()
	DrawRect(dirtyRect foundation.Rect)
	NeedsToDrawRect(rect foundation.Rect) bool
	BitmapImageRepForCachingDisplayInRect(rect foundation.Rect) BitmapImageRep
	CacheDisplayInRect_ToBitmapImageRep(rect foundation.Rect, bitmapImageRep IBitmapImageRep)
	EnterFullScreenMode_WithOptions(screen IScreen, options map[ViewFullScreenModeOptionKey]objc.IObject) bool
	ExitFullScreenModeWithOptions(options map[ViewFullScreenModeOptionKey]objc.IObject)
	SetNeedsDisplayInRect(invalidRect foundation.Rect)
	Display()
	DisplayRect(rect foundation.Rect)
	DisplayRectIgnoringOpacity(rect foundation.Rect)
	DisplayRectIgnoringOpacity_InContext(rect foundation.Rect, context IGraphicsContext)
	DisplayIfNeeded()
	DisplayIfNeededInRect(rect foundation.Rect)
	DisplayIfNeededIgnoringOpacity()
	DisplayIfNeededInRectIgnoringOpacity(rect foundation.Rect)
	TranslateRectsNeedingDisplayInRect_By(clipRect foundation.Rect, delta foundation.Size)
	ViewWillDraw()
	GetRectsExposedDuringLiveResize_Count(exposedRects *foundation.Rect, count *int)
	ViewWillStartLiveResize()
	ViewDidEndLiveResize()
	Print(sender objc.IObject)
	BeginPageInRect_AtPlacement(rect foundation.Rect, location foundation.Point)
	DataWithEPSInsideRect(rect foundation.Rect) []byte
	DataWithPDFInsideRect(rect foundation.Rect) []byte
	WriteEPSInsideRect_ToPasteboard(rect foundation.Rect, pasteboard IPasteboard)
	WritePDFInsideRect_ToPasteboard(rect foundation.Rect, pasteboard IPasteboard)
	DrawPageBorderWithSize(borderSize foundation.Size)
	// deprecated
	DrawSheetBorderWithSize(borderSize foundation.Size)
	AdjustPageWidthNew_Left_Right_Limit(newRight *float64, oldLeft float64, oldRight float64, rightLimit float64)
	AdjustPageHeightNew_Top_Bottom_Limit(newBottom *float64, oldTop float64, oldBottom float64, bottomLimit float64)
	KnowsPageRange(range_ *foundation.Range) bool
	RectForPage(page int) foundation.Rect
	LocationOfPrintRect(rect foundation.Rect) foundation.Point
	BeginDocument()
	EndDocument()
	EndPage()
	AcceptsFirstMouse(event IEvent) bool
	HitTest(point foundation.Point) View
	Mouse_InRect(point foundation.Point, rect foundation.Rect) bool
	AddGestureRecognizer(gestureRecognizer IGestureRecognizer)
	RemoveGestureRecognizer(gestureRecognizer IGestureRecognizer)
	RectForSmartMagnificationAtPoint_InRect(location foundation.Point, visibleRect foundation.Rect) foundation.Rect
	AddTrackingArea(trackingArea ITrackingArea)
	RemoveTrackingArea(trackingArea ITrackingArea)
	UpdateTrackingAreas()
	AddTrackingRect_Owner_UserData_AssumeInside(rect foundation.Rect, owner objc.IObject, data unsafe.Pointer, flag bool) TrackingRectTag
	RemoveTrackingRect(tag TrackingRectTag)
	PrepareContentInRect(rect foundation.Rect)
	ScrollPoint(point foundation.Point)
	ScrollRectToVisible(rect foundation.Rect) bool
	Autoscroll(event IEvent) bool
	AdjustScroll(newVisible foundation.Rect) foundation.Rect
	ScrollClipView_ToPoint(clipView IClipView, point foundation.Point)
	ReflectScrolledClipView(clipView IClipView)
	RegisterForDraggedTypes(newTypes []PasteboardType)
	UnregisterDraggedTypes()
	BeginDraggingSessionWithItems_Event_Source(items []IDraggingItem, event IEvent, source objc.IObject) DraggingSession
	ShouldDelayWindowOrderingForEvent(event IEvent) bool
	// deprecated
	LockFocus()
	// deprecated
	LockFocusIfCanDraw() bool
	// deprecated
	LockFocusIfCanDrawInContext(context IGraphicsContext) bool
	// deprecated
	UnlockFocus()
	// deprecated
	ScrollRect_By(rect foundation.Rect, delta foundation.Size)
	// deprecated
	ConvertPointToBase(point foundation.Point) foundation.Point
	// deprecated
	ConvertPointFromBase(point foundation.Point) foundation.Point
	// deprecated
	ConvertSizeToBase(size foundation.Size) foundation.Size
	// deprecated
	ConvertSizeFromBase(size foundation.Size) foundation.Size
	// deprecated
	ConvertRectToBase(rect foundation.Rect) foundation.Rect
	// deprecated
	ConvertRectFromBase(rect foundation.Rect) foundation.Rect
	// deprecated
	ShouldDrawColor() bool
	// deprecated
	AllocateGState()
	// deprecated
	GState() int
	// deprecated
	SetUpGState()
	// deprecated
	RenewGState()
	// deprecated
	DragImage_At_Offset_Event_Pasteboard_Source_SlideBack(image IImage, viewLocation foundation.Point, initialOffset foundation.Size, event IEvent, pboard IPasteboard, sourceObj objc.IObject, slideFlag bool)
	// deprecated
	DragFile_FromRect_SlideBack_Event(filename string, rect foundation.Rect, flag bool, event IEvent) bool
	// deprecated
	DragPromisedFilesOfTypes_FromRect_Source_SlideBack_Event(typeArray []string, rect foundation.Rect, sourceObject objc.IObject, flag bool, event IEvent) bool
	Superview() View
	Subviews() []View
	SetSubviews(value []IView)
	Window() Window
	OpaqueAncestor() View
	EnclosingMenuItem() MenuItem
	EnclosingScrollView() ScrollView
	Tag() int
	Frame() foundation.Rect
	SetFrame(value foundation.Rect)
	FrameRotation() float64
	SetFrameRotation(value float64)
	PostsFrameChangedNotifications() bool
	SetPostsFrameChangedNotifications(value bool)
	Bounds() foundation.Rect
	SetBounds(value foundation.Rect)
	BoundsRotation() float64
	SetBoundsRotation(value float64)
	PostsBoundsChangedNotifications() bool
	SetPostsBoundsChangedNotifications(value bool)
	IsFlipped() bool
	IsRotatedFromBase() bool
	IsRotatedOrScaledFromBase() bool
	IsHidden() bool
	SetHidden(value bool)
	IsHiddenOrHasHiddenAncestor() bool
	AllowsVibrancy() bool
	FocusRingType() FocusRingType
	SetFocusRingType(value FocusRingType)
	FocusRingMaskBounds() foundation.Rect
	IsDrawingFindIndicator() bool
	WantsLayer() bool
	SetWantsLayer(value bool)
	WantsUpdateLayer() bool
	Layer() quartzcore.Layer
	SetLayer(value quartzcore.ILayer)
	LayerContentsPlacement() ViewLayerContentsPlacement
	SetLayerContentsPlacement(value ViewLayerContentsPlacement)
	LayerContentsRedrawPolicy() ViewLayerContentsRedrawPolicy
	SetLayerContentsRedrawPolicy(value ViewLayerContentsRedrawPolicy)
	CanDrawSubviewsIntoLayer() bool
	SetCanDrawSubviewsIntoLayer(value bool)
	LayerUsesCoreImageFilters() bool
	SetLayerUsesCoreImageFilters(value bool)
	AlphaValue() float64
	SetAlphaValue(value float64)
	FrameCenterRotation() float64
	SetFrameCenterRotation(value float64)
	Shadow() Shadow
	SetShadow(value IShadow)
	ToolTip() string
	SetToolTip(value string)
	SafeAreaRect() foundation.Rect
	SafeAreaInsets() foundation.EdgeInsets
	AdditionalSafeAreaInsets() foundation.EdgeInsets
	SetAdditionalSafeAreaInsets(value foundation.EdgeInsets)
	SafeAreaLayoutGuide() LayoutGuide
	UserInterfaceLayoutDirection() UserInterfaceLayoutDirection
	SetUserInterfaceLayoutDirection(value UserInterfaceLayoutDirection)
	TranslatesAutoresizingMaskIntoConstraints() bool
	SetTranslatesAutoresizingMaskIntoConstraints(value bool)
	BottomAnchor() LayoutYAxisAnchor
	CenterXAnchor() LayoutXAxisAnchor
	CenterYAnchor() LayoutYAxisAnchor
	FirstBaselineAnchor() LayoutYAxisAnchor
	HeightAnchor() LayoutDimension
	LastBaselineAnchor() LayoutYAxisAnchor
	LeadingAnchor() LayoutXAxisAnchor
	LeftAnchor() LayoutXAxisAnchor
	RightAnchor() LayoutXAxisAnchor
	TopAnchor() LayoutYAxisAnchor
	TrailingAnchor() LayoutXAxisAnchor
	WidthAnchor() LayoutDimension
	Constraints() []LayoutConstraint
	FittingSize() foundation.Size
	IntrinsicContentSize() foundation.Size
	LayoutGuides() []LayoutGuide
	LayoutMarginsGuide() LayoutGuide
	AlignmentRectInsets() foundation.EdgeInsets
	BaselineOffsetFromBottom() float64
	FirstBaselineOffsetFromTop() float64
	LastBaselineOffsetFromBottom() float64
	NeedsLayout() bool
	SetNeedsLayout(value bool)
	NeedsUpdateConstraints() bool
	SetNeedsUpdateConstraints(value bool)
	IsHorizontalContentSizeConstraintActive() bool
	SetHorizontalContentSizeConstraintActive(value bool)
	IsVerticalContentSizeConstraintActive() bool
	SetVerticalContentSizeConstraintActive(value bool)
	HasAmbiguousLayout() bool
	AutoresizesSubviews() bool
	SetAutoresizesSubviews(value bool)
	AutoresizingMask() AutoresizingMaskOptions
	SetAutoresizingMask(value AutoresizingMaskOptions)
	CanDrawConcurrently() bool
	SetCanDrawConcurrently(value bool)
	VisibleRect() foundation.Rect
	WantsDefaultClipping() bool
	IsInFullScreenMode() bool
	NeedsDisplay() bool
	SetNeedsDisplay(value bool)
	IsOpaque() bool
	InLiveResize() bool
	PreservesContentDuringLiveResize() bool
	RectPreservedDuringLiveResize() foundation.Rect
	PrintJobTitle() string
	PageHeader() foundation.AttributedString
	PageFooter() foundation.AttributedString
	HeightAdjustLimit() float64
	WidthAdjustLimit() float64
	MouseDownCanMoveWindow() bool
	InputContext() TextInputContext
	AllowedTouchTypes() TouchTypeMask
	SetAllowedTouchTypes(value TouchTypeMask)
	WantsRestingTouches() bool
	SetWantsRestingTouches(value bool)
	CandidateListTouchBarItem() CandidateListTouchBarItem
	GestureRecognizers() []GestureRecognizer
	SetGestureRecognizers(value []IGestureRecognizer)
	CanBecomeKeyView() bool
	NeedsPanelToBecomeKey() bool
	NextKeyView() View
	SetNextKeyView(value IView)
	NextValidKeyView() View
	PreviousKeyView() View
	PreviousValidKeyView() View
	TrackingAreas() []TrackingArea
	PreparedContentRect() foundation.Rect
	SetPreparedContentRect(value foundation.Rect)
	PressureConfiguration() PressureConfiguration
	SetPressureConfiguration(value IPressureConfiguration)
	RegisteredDraggedTypes() []PasteboardType
	// deprecated
	WantsExtendedDynamicRangeOpenGLSurface() bool
	// deprecated
	SetWantsExtendedDynamicRangeOpenGLSurface(value bool)
	// deprecated
	AcceptsTouchEvents() bool
	// deprecated
	SetAcceptsTouchEvents(value bool)
	// deprecated
	CanDraw() bool
	// deprecated
	WantsBestResolutionOpenGLSurface() bool
	// deprecated
	SetWantsBestResolutionOpenGLSurface(value bool)
}

type IViewAnimation added in v0.11.0

type IViewAnimation interface {
	IAnimation
	ViewAnimations() []map[ViewAnimationKey]objc.Object
	SetViewAnimations(value []map[ViewAnimationKey]objc.IObject)
}

type IViewController added in v0.11.0

type IViewController interface {
	IResponder
	LoadView()
	CommitEditingWithDelegate_DidCommitSelector_ContextInfo(delegate objc.IObject, didCommitSelector objc.Selector, contextInfo unsafe.Pointer)
	CommitEditing() bool
	DiscardEditing()
	DismissController(sender objc.IObject)
	ViewDidLoad()
	ViewWillAppear()
	ViewDidAppear()
	ViewWillDisappear()
	ViewDidDisappear()
	UpdateViewConstraints()
	ViewWillLayout()
	ViewDidLayout()
	AddChildViewController(childViewController IViewController)
	TransitionFromViewController_ToViewController_Options_CompletionHandler(fromViewController IViewController, toViewController IViewController, options ViewControllerTransitionOptions, completion func())
	InsertChildViewController_AtIndex(childViewController IViewController, index int)
	RemoveChildViewControllerAtIndex(index int)
	RemoveFromParentViewController()
	PreferredContentSizeDidChangeForViewController(viewController IViewController)
	PresentViewController_Animator(viewController IViewController, animator objc.IObject)
	DismissViewController(viewController IViewController)
	PresentViewController_AsPopoverRelativeToRect_OfView_PreferredEdge_Behavior(viewController IViewController, positioningRect foundation.Rect, positioningView IView, preferredEdge foundation.RectEdge, behavior PopoverBehavior)
	PresentViewControllerAsModalWindow(viewController IViewController)
	PresentViewControllerAsSheet(viewController IViewController)
	ViewWillTransitionToSize(newSize foundation.Size)
	RepresentedObject() objc.Object
	SetRepresentedObject(value objc.IObject)
	NibBundle() foundation.Bundle
	NibName() NibName
	View() View
	SetView(value IView)
	Title() string
	SetTitle(value string)
	Storyboard() Storyboard
	IsViewLoaded() bool
	PreferredContentSize() foundation.Size
	SetPreferredContentSize(value foundation.Size)
	ChildViewControllers() []ViewController
	SetChildViewControllers(value []IViewController)
	ParentViewController() ViewController
	PresentedViewControllers() []ViewController
	PresentingViewController() ViewController
	ExtensionContext() foundation.ExtensionContext
	PreferredScreenOrigin() foundation.Point
	SetPreferredScreenOrigin(value foundation.Point)
	PreferredMaximumSize() foundation.Size
	PreferredMinimumSize() foundation.Size
	SourceItemView() View
	SetSourceItemView(value IView)
}

type IVisualEffectView added in v0.13.6

type IVisualEffectView interface {
	IView
	Material() VisualEffectMaterial
	SetMaterial(value VisualEffectMaterial)
	BlendingMode() VisualEffectBlendingMode
	SetBlendingMode(value VisualEffectBlendingMode)
	IsEmphasized() bool
	SetEmphasized(value bool)
	InteriorBackgroundStyle() BackgroundStyle
	MaskImage() Image
	SetMaskImage(value IImage)
	State() VisualEffectState
	SetState(value VisualEffectState)
}

type IWindow added in v0.11.0

type IWindow interface {
	IResponder
	ToggleFullScreen(sender objc.IObject)
	SetDynamicDepthLimit(flag bool)
	InvalidateShadow()
	AutorecalculatesContentBorderThicknessForEdge(edge foundation.RectEdge) bool
	SetAutorecalculatesContentBorderThickness_ForEdge(flag bool, edge foundation.RectEdge)
	ContentBorderThicknessForEdge(edge foundation.RectEdge) float64
	SetContentBorderThickness_ForEdge(thickness float64, edge foundation.RectEdge)
	ContentRectForFrameRect(frameRect foundation.Rect) foundation.Rect
	FrameRectForContentRect(contentRect foundation.Rect) foundation.Rect
	BeginSheet_CompletionHandler(sheetWindow IWindow, handler func(returnCode ModalResponse))
	BeginCriticalSheet_CompletionHandler(sheetWindow IWindow, handler func(returnCode ModalResponse))
	EndSheet(sheetWindow IWindow)
	EndSheet_ReturnCode(sheetWindow IWindow, returnCode ModalResponse)
	SetFrameOrigin(point foundation.Point)
	SetFrameTopLeftPoint(point foundation.Point)
	ConstrainFrameRect_ToScreen(frameRect foundation.Rect, screen IScreen) foundation.Rect
	CascadeTopLeftFromPoint(topLeftPoint foundation.Point) foundation.Point
	SetFrame_Display(frameRect foundation.Rect, flag bool)
	SetFrame_Display_Animate(frameRect foundation.Rect, displayFlag bool, animateFlag bool)
	AnimationResizeTime(newFrame foundation.Rect) foundation.TimeInterval
	PerformZoom(sender objc.IObject)
	Zoom(sender objc.IObject)
	SetContentSize(size foundation.Size)
	OrderOut(sender objc.IObject)
	OrderBack(sender objc.IObject)
	OrderFront(sender objc.IObject)
	OrderFrontRegardless()
	OrderWindow_RelativeTo(place WindowOrderingMode, otherWin int)
	SetFrameUsingName(name WindowFrameAutosaveName) bool
	SetFrameUsingName_Force(name WindowFrameAutosaveName, force bool) bool
	SaveFrameUsingName(name WindowFrameAutosaveName)
	SetFrameAutosaveName(name WindowFrameAutosaveName) bool
	SetFrameFromString(string_ WindowPersistableFrameDescriptor)
	MakeKeyWindow()
	MakeKeyAndOrderFront(sender objc.IObject)
	BecomeKeyWindow()
	ResignKeyWindow()
	MakeMainWindow()
	BecomeMainWindow()
	ResignMainWindow()
	ToggleToolbarShown(sender objc.IObject)
	RunToolbarCustomizationPalette(sender objc.IObject)
	AddChildWindow_Ordered(childWin IWindow, place WindowOrderingMode)
	RemoveChildWindow(childWin IWindow)
	EnableKeyEquivalentForDefaultButtonCell()
	DisableKeyEquivalentForDefaultButtonCell()
	FieldEditor_ForObject(createFlag bool, object objc.IObject) Text
	EndEditingFor(object objc.IObject)
	EnableCursorRects()
	DisableCursorRects()
	DiscardCursorRects()
	InvalidateCursorRectsForView(view IView)
	ResetCursorRects()
	StandardWindowButton(b WindowButton) Button
	AddTitlebarAccessoryViewController(childViewController ITitlebarAccessoryViewController)
	InsertTitlebarAccessoryViewController_AtIndex(childViewController ITitlebarAccessoryViewController, index int)
	RemoveTitlebarAccessoryViewControllerAtIndex(index int)
	AddTabbedWindow_Ordered(window IWindow, ordered WindowOrderingMode)
	MergeAllWindows(sender objc.IObject)
	SelectNextTab(sender objc.IObject)
	SelectPreviousTab(sender objc.IObject)
	MoveTabToNewWindow(sender objc.IObject)
	ToggleTabBar(sender objc.IObject)
	ToggleTabOverview(sender objc.IObject)
	NextEventMatchingMask(mask EventMask) Event
	NextEventMatchingMask_UntilDate_InMode_Dequeue(mask EventMask, expiration foundation.IDate, mode foundation.RunLoopMode, deqFlag bool) Event
	DiscardEventsMatchingMask_BeforeEvent(mask EventMask, lastEvent IEvent)
	PostEvent_AtStart(event IEvent, flag bool)
	SendEvent(event IEvent)
	MakeFirstResponder(responder IResponder) bool
	SelectKeyViewPrecedingView(view IView)
	SelectKeyViewFollowingView(view IView)
	SelectPreviousKeyView(sender objc.IObject)
	SelectNextKeyView(sender objc.IObject)
	RecalculateKeyViewLoop()
	TrackEventsMatchingMask_Timeout_Mode_Handler(mask EventMask, timeout foundation.TimeInterval, mode foundation.RunLoopMode, trackingHandler func(event Event, stop *bool))
	PerformWindowDragWithEvent(event IEvent)
	DisableSnapshotRestoration()
	EnableSnapshotRestoration()
	Display()
	DisplayIfNeeded()
	DisableScreenUpdatesUntilFlush()
	Update()
	DragImage_At_Offset_Event_Pasteboard_Source_SlideBack(image IImage, baseLocation foundation.Point, initialOffset foundation.Size, event IEvent, pboard IPasteboard, sourceObj objc.IObject, slideFlag bool)
	RegisterForDraggedTypes(newTypes []PasteboardType)
	UnregisterDraggedTypes()
	BackingAlignedRect_Options(rect foundation.Rect, options foundation.AlignmentOptions) foundation.Rect
	ConvertRectFromBacking(rect foundation.Rect) foundation.Rect
	ConvertRectFromScreen(rect foundation.Rect) foundation.Rect
	ConvertPointFromBacking(point foundation.Point) foundation.Point
	ConvertPointFromScreen(point foundation.Point) foundation.Point
	ConvertRectToBacking(rect foundation.Rect) foundation.Rect
	ConvertRectToScreen(rect foundation.Rect) foundation.Rect
	ConvertPointToBacking(point foundation.Point) foundation.Point
	ConvertPointToScreen(point foundation.Point) foundation.Point
	SetTitleWithRepresentedFilename(filename string)
	Center()
	PerformClose(sender objc.IObject)
	Close()
	PerformMiniaturize(sender objc.IObject)
	Miniaturize(sender objc.IObject)
	Deminiaturize(sender objc.IObject)
	Print(sender objc.IObject)
	DataWithEPSInsideRect(rect foundation.Rect) []byte
	DataWithPDFInsideRect(rect foundation.Rect) []byte
	UpdateConstraintsIfNeeded()
	LayoutIfNeeded()
	VisualizeConstraints(constraints []ILayoutConstraint)
	AnchorAttributeForOrientation(orientation LayoutConstraintOrientation) LayoutAttribute
	SetAnchorAttribute_ForOrientation(attr LayoutAttribute, orientation LayoutConstraintOrientation)
	CanRepresentDisplayGamut(displayGamut DisplayGamut) bool
	SetIsMiniaturized(flag bool)
	SetIsVisible(flag bool)
	SetIsZoomed(flag bool)
	HandleCloseScriptCommand(command foundation.ICloseCommand) objc.Object
	HandlePrintScriptCommand(command foundation.IScriptCommand) objc.Object
	HandleSaveScriptCommand(command foundation.IScriptCommand) objc.Object
	// deprecated
	GState() int
	// deprecated
	CanStoreColor() bool
	// deprecated
	EnableFlushWindow()
	// deprecated
	DisableFlushWindow()
	// deprecated
	FlushWindow()
	// deprecated
	FlushWindowIfNeeded()
	// deprecated
	CacheImageInRect(rect foundation.Rect)
	// deprecated
	RestoreCachedImage()
	// deprecated
	DiscardCachedImage()
	// deprecated
	UseOptimizedDrawing(flag bool)
	// deprecated
	ConvertBaseToScreen(point foundation.Point) foundation.Point
	// deprecated
	ConvertScreenToBase(point foundation.Point) foundation.Point
	// deprecated
	UserSpaceScaleFactor() float64
	InitWithWindowRef(windowRef unsafe.Pointer) Window
	Delegate() objc.Object
	SetDelegate(value objc.IObject)
	ContentViewController() ViewController
	SetContentViewController(value IViewController)
	ContentView() View
	SetContentView(value IView)
	StyleMask() WindowStyleMask
	SetStyleMask(value WindowStyleMask)
	WorksWhenModal() bool
	AlphaValue() float64
	SetAlphaValue(value float64)
	BackgroundColor() Color
	SetBackgroundColor(value IColor)
	ColorSpace() ColorSpace
	SetColorSpace(value IColorSpace)
	CanHide() bool
	SetCanHide(value bool)
	IsOnActiveSpace() bool
	HidesOnDeactivate() bool
	SetHidesOnDeactivate(value bool)
	CollectionBehavior() WindowCollectionBehavior
	SetCollectionBehavior(value WindowCollectionBehavior)
	IsOpaque() bool
	SetOpaque(value bool)
	HasShadow() bool
	SetHasShadow(value bool)
	PreventsApplicationTerminationWhenModal() bool
	SetPreventsApplicationTerminationWhenModal(value bool)
	DepthLimit() WindowDepth
	SetDepthLimit(value WindowDepth)
	HasDynamicDepthLimit() bool
	WindowNumber() int
	DeviceDescription() map[DeviceDescriptionKey]objc.Object
	CanBecomeVisibleWithoutLogin() bool
	SetCanBecomeVisibleWithoutLogin(value bool)
	SharingType() WindowSharingType
	SetSharingType(value WindowSharingType)
	BackingType() BackingStoreType
	SetBackingType(value BackingStoreType)
	WindowController() WindowController
	SetWindowController(value IWindowController)
	AttachedSheet() Window
	IsSheet() bool
	SheetParent() Window
	Sheets() []Window
	Frame() foundation.Rect
	AspectRatio() foundation.Size
	SetAspectRatio(value foundation.Size)
	MinSize() foundation.Size
	SetMinSize(value foundation.Size)
	MaxSize() foundation.Size
	SetMaxSize(value foundation.Size)
	IsZoomed() bool
	ResizeFlags() EventModifierFlags
	ResizeIncrements() foundation.Size
	SetResizeIncrements(value foundation.Size)
	PreservesContentDuringLiveResize() bool
	SetPreservesContentDuringLiveResize(value bool)
	InLiveResize() bool
	ContentAspectRatio() foundation.Size
	SetContentAspectRatio(value foundation.Size)
	ContentMinSize() foundation.Size
	SetContentMinSize(value foundation.Size)
	ContentMaxSize() foundation.Size
	SetContentMaxSize(value foundation.Size)
	ContentResizeIncrements() foundation.Size
	SetContentResizeIncrements(value foundation.Size)
	ContentLayoutGuide() objc.Object
	ContentLayoutRect() foundation.Rect
	MaxFullScreenContentSize() foundation.Size
	SetMaxFullScreenContentSize(value foundation.Size)
	MinFullScreenContentSize() foundation.Size
	SetMinFullScreenContentSize(value foundation.Size)
	Level() WindowLevel
	SetLevel(value WindowLevel)
	IsVisible() bool
	OcclusionState() WindowOcclusionState
	FrameAutosaveName() WindowFrameAutosaveName
	StringWithSavedFrame() WindowPersistableFrameDescriptor
	IsKeyWindow() bool
	CanBecomeKeyWindow() bool
	IsMainWindow() bool
	CanBecomeMainWindow() bool
	Toolbar() Toolbar
	SetToolbar(value IToolbar)
	ChildWindows() []Window
	ParentWindow() Window
	SetParentWindow(value IWindow)
	DefaultButtonCell() ButtonCell
	SetDefaultButtonCell(value IButtonCell)
	IsExcludedFromWindowsMenu() bool
	SetExcludedFromWindowsMenu(value bool)
	AreCursorRectsEnabled() bool
	// deprecated
	ShowsToolbarButton() bool
	// deprecated
	SetShowsToolbarButton(value bool)
	TitlebarAppearsTransparent() bool
	SetTitlebarAppearsTransparent(value bool)
	ToolbarStyle() WindowToolbarStyle
	SetToolbarStyle(value WindowToolbarStyle)
	TitlebarSeparatorStyle() TitlebarSeparatorStyle
	SetTitlebarSeparatorStyle(value TitlebarSeparatorStyle)
	WindowTitlebarLayoutDirection() UserInterfaceLayoutDirection
	TitlebarAccessoryViewControllers() []TitlebarAccessoryViewController
	SetTitlebarAccessoryViewControllers(value []ITitlebarAccessoryViewController)
	Tab() WindowTab
	TabbingIdentifier() WindowTabbingIdentifier
	SetTabbingIdentifier(value WindowTabbingIdentifier)
	TabbingMode() WindowTabbingMode
	SetTabbingMode(value WindowTabbingMode)
	TabbedWindows() []Window
	TabGroup() WindowTabGroup
	AllowsToolTipsWhenApplicationIsInactive() bool
	SetAllowsToolTipsWhenApplicationIsInactive(value bool)
	CurrentEvent() Event
	InitialFirstResponder() View
	SetInitialFirstResponder(value IView)
	FirstResponder() Responder
	KeyViewSelectionDirection() SelectionDirection
	AutorecalculatesKeyViewLoop() bool
	SetAutorecalculatesKeyViewLoop(value bool)
	AcceptsMouseMovedEvents() bool
	SetAcceptsMouseMovedEvents(value bool)
	IgnoresMouseEvents() bool
	SetIgnoresMouseEvents(value bool)
	MouseLocationOutsideOfEventStream() foundation.Point
	IsRestorable() bool
	SetRestorable(value bool)
	ViewsNeedDisplay() bool
	SetViewsNeedDisplay(value bool)
	AllowsConcurrentViewDrawing() bool
	SetAllowsConcurrentViewDrawing(value bool)
	AnimationBehavior() WindowAnimationBehavior
	SetAnimationBehavior(value WindowAnimationBehavior)
	IsDocumentEdited() bool
	SetDocumentEdited(value bool)
	BackingScaleFactor() float64
	Title() string
	SetTitle(value string)
	Subtitle() string
	SetSubtitle(value string)
	TitleVisibility() WindowTitleVisibility
	SetTitleVisibility(value WindowTitleVisibility)
	RepresentedFilename() string
	SetRepresentedFilename(value string)
	RepresentedURL() foundation.URL
	SetRepresentedURL(value foundation.IURL)
	Screen() Screen
	DeepestScreen() Screen
	DisplaysWhenScreenProfileChanges() bool
	SetDisplaysWhenScreenProfileChanges(value bool)
	IsMovableByWindowBackground() bool
	SetMovableByWindowBackground(value bool)
	IsMovable() bool
	SetMovable(value bool)
	IsReleasedWhenClosed() bool
	SetReleasedWhenClosed(value bool)
	IsMiniaturized() bool
	MiniwindowImage() Image
	SetMiniwindowImage(value IImage)
	MiniwindowTitle() string
	SetMiniwindowTitle(value string)
	DockTile() DockTile
	HasCloseBox() bool
	HasTitleBar() bool
	IsModalPanel() bool
	IsFloatingPanel() bool
	IsZoomable() bool
	IsResizable() bool
	IsMiniaturizable() bool
	OrderedIndex() int
	SetOrderedIndex(value int)
	// deprecated
	BackingLocation() WindowBackingLocation
	// deprecated
	PreferredBackingLocation() WindowBackingLocation
	// deprecated
	SetPreferredBackingLocation(value WindowBackingLocation)
	// deprecated
	IsOneShot() bool
	// deprecated
	SetOneShot(value bool)
	// deprecated
	Drawers() []Drawer
	// deprecated
	ShowsResizeIndicator() bool
	// deprecated
	SetShowsResizeIndicator(value bool)
	// deprecated
	IsFlushWindowDisabled() bool
	// deprecated
	IsAutodisplay() bool
	// deprecated
	SetAutodisplay(value bool)
	// deprecated
	GraphicsContext() GraphicsContext
	WindowRef() unsafe.Pointer
}

type IWindowController added in v0.11.0

type IWindowController interface {
	IResponder
	LoadWindow()
	ShowWindow(sender objc.IObject)
	WindowDidLoad()
	WindowWillLoad()
	SetDocumentEdited(dirtyFlag bool)
	Close()
	SynchronizeWindowTitleWithDocumentName()
	WindowTitleForDocumentDisplayName(displayName string) string
	DismissController(sender objc.IObject)
	IsWindowLoaded() bool
	Window() Window
	SetWindow(value IWindow)
	Document() objc.Object
	SetDocument(value objc.IObject)
	ShouldCloseDocument() bool
	SetShouldCloseDocument(value bool)
	Owner() objc.Object
	Storyboard() Storyboard
	WindowNibName() NibName
	WindowNibPath() string
	ShouldCascadeWindows() bool
	SetShouldCascadeWindows(value bool)
	WindowFrameAutosaveName() WindowFrameAutosaveName
	SetWindowFrameAutosaveName(value WindowFrameAutosaveName)
	ContentViewController() ViewController
	SetContentViewController(value IViewController)
}

type IWindowTab added in v0.11.0

type IWindowTab interface {
	objc.IObject
	Title() string
	SetTitle(value string)
	AttributedTitle() foundation.AttributedString
	SetAttributedTitle(value foundation.IAttributedString)
	ToolTip() string
	SetToolTip(value string)
	AccessoryView() View
	SetAccessoryView(value IView)
}

type IWindowTabGroup added in v0.11.0

type IWindowTabGroup interface {
	objc.IObject
	AddWindow(window IWindow)
	InsertWindow_AtIndex(window IWindow, index int)
	RemoveWindow(window IWindow)
	Identifier() WindowTabbingIdentifier
	IsOverviewVisible() bool
	SetOverviewVisible(value bool)
	IsTabBarVisible() bool
	Windows() []Window
	SelectedWindow() Window
	SetSelectedWindow(value IWindow)
}

type IWorkspace added in v0.11.0

type IWorkspace interface {
	objc.IObject
	OpenURL(url foundation.IURL) bool
	HideOtherApplications()
	ActivateFileViewerSelectingURLs(fileURLs []foundation.IURL)
	SelectFile_InFileViewerRootedAtPath(fullPath string, rootFullPath string) bool
	// deprecated
	TypeOfFile_Error(absoluteFilePath string, outError *foundation.Error) string
	// deprecated
	LocalizedDescriptionForType(typeName string) string
	// deprecated
	PreferredFilenameExtensionForType(typeName string) string
	// deprecated
	FilenameExtension_IsValidForType(filenameExtension string, typeName string) bool
	// deprecated
	Type_ConformsToType(firstTypeName string, secondTypeName string) bool
	URLForApplicationWithBundleIdentifier(bundleIdentifier string) foundation.URL
	// deprecated
	GetInfoForFile_Application_Type(fullPath string, appName *foundation.String, type_ *foundation.String) bool
	URLForApplicationToOpenURL(url foundation.IURL) foundation.URL
	GetFileSystemInfoForPath_IsRemovable_IsWritable_IsUnmountable_Description_Type(fullPath string, removableFlag *bool, writableFlag *bool, unmountableFlag *bool, description *foundation.String, fileSystemType *foundation.String) bool
	IsFilePackageAtPath(fullPath string) bool
	IconForFile(fullPath string) Image
	IconForFiles(fullPaths []string) Image
	IconForContentType(contentType uniformtypeidentifiers.IType) Image
	SetIcon_ForFile_Options(image IImage, fullPath string, options WorkspaceIconCreationOptions) bool
	UnmountAndEjectDeviceAtPath(path string) bool
	UnmountAndEjectDeviceAtURL_Error(url foundation.IURL, error *foundation.Error) bool
	DesktopImageURLForScreen(screen IScreen) foundation.URL
	SetDesktopImageURL_ForScreen_Options_Error(url foundation.IURL, screen IScreen, options map[WorkspaceDesktopImageOptionKey]objc.IObject, error *foundation.Error) bool
	DesktopImageOptionsForScreen(screen IScreen) map[WorkspaceDesktopImageOptionKey]objc.Object
	ShowSearchResultsForQueryString(queryString string) bool
	NoteFileSystemChanged1(path string)
	ExtendPowerOffBy(requested int) int
	SetDefaultApplicationAtURL_ToOpenContentType_CompletionHandler(applicationURL foundation.IURL, contentType uniformtypeidentifiers.IType, completionHandler func(error foundation.Error))
	SetDefaultApplicationAtURL_ToOpenContentTypeOfFileAtURL_CompletionHandler(applicationURL foundation.IURL, url foundation.IURL, completionHandler func(error foundation.Error))
	SetDefaultApplicationAtURL_ToOpenFileAtURL_CompletionHandler(applicationURL foundation.IURL, url foundation.IURL, completionHandler func(error foundation.Error))
	SetDefaultApplicationAtURL_ToOpenURLsWithScheme_CompletionHandler(applicationURL foundation.IURL, urlScheme string, completionHandler func(error foundation.Error))
	URLForApplicationToOpenContentType(contentType uniformtypeidentifiers.IType) foundation.URL
	URLsForApplicationsToOpenContentType(contentType uniformtypeidentifiers.IType) []foundation.URL
	URLsForApplicationsToOpenURL(url foundation.IURL) []foundation.URL
	URLsForApplicationsWithBundleIdentifier(bundleIdentifier string) []foundation.URL
	// deprecated
	OpenURL_Options_Configuration_Error(url foundation.IURL, options WorkspaceLaunchOptions, configuration map[WorkspaceLaunchConfigurationKey]objc.IObject, error *foundation.Error) RunningApplication
	// deprecated
	OpenURLs_WithApplicationAtURL_Options_Configuration_Error(urls []foundation.IURL, applicationURL foundation.IURL, options WorkspaceLaunchOptions, configuration map[WorkspaceLaunchConfigurationKey]objc.IObject, error *foundation.Error) RunningApplication
	// deprecated
	OpenFile(fullPath string) bool
	// deprecated
	OpenFile_WithApplication(fullPath string, appName string) bool
	// deprecated
	OpenFile_WithApplication_AndDeactivate(fullPath string, appName string, flag bool) bool
	// deprecated
	OpenFile_FromImage_At_InView(fullPath string, image IImage, point foundation.Point, view IView) bool
	// deprecated
	LaunchApplication(appName string) bool
	// deprecated
	LaunchApplication_ShowIcon_Autolaunch(appName string, showIcon bool, autolaunch bool) bool
	// deprecated
	LaunchApplicationAtURL_Options_Configuration_Error(url foundation.IURL, options WorkspaceLaunchOptions, configuration map[WorkspaceLaunchConfigurationKey]objc.IObject, error *foundation.Error) RunningApplication
	// deprecated
	PerformFileOperation_Source_Destination_Files_Tag(operation WorkspaceFileOperationName, source string, destination string, files []objc.IObject, tag *int) bool
	// deprecated
	FullPathForApplication(appName string) string
	// deprecated
	AbsolutePathForAppBundleWithIdentifier(bundleIdentifier string) string
	// deprecated
	LaunchAppWithBundleIdentifier_Options_AdditionalEventParamDescriptor_LaunchIdentifier(bundleIdentifier string, options WorkspaceLaunchOptions, descriptor foundation.IAppleEventDescriptor, identifier *foundation.Number) bool
	// deprecated
	OpenURLs_WithAppBundleIdentifier_Options_AdditionalEventParamDescriptor_LaunchIdentifiers(urls []foundation.IURL, bundleIdentifier string, options WorkspaceLaunchOptions, descriptor foundation.IAppleEventDescriptor, identifiers *foundation.Array) bool
	// deprecated
	OpenTempFile(fullPath string) bool
	// deprecated
	FindApplications()
	// deprecated
	NoteUserDefaultsChanged()
	// deprecated
	SlideImage_From_To(image IImage, fromPoint foundation.Point, toPoint foundation.Point)
	// deprecated
	CheckForRemovableMedia()
	// deprecated
	NoteFileSystemChanged()
	// deprecated
	FileSystemChanged() bool
	// deprecated
	UserDefaultsChanged() bool
	// deprecated
	MountNewRemovableMedia() []objc.Object
	// deprecated
	MountedRemovableMedia() []objc.Object
	// deprecated
	MountedLocalVolumePaths() []objc.Object
	// deprecated
	LaunchedApplications() []objc.Object
	// deprecated
	IconForFileType(fileType string) Image
	NotificationCenter() foundation.NotificationCenter
	FrontmostApplication() RunningApplication
	RunningApplications() []RunningApplication
	MenuBarOwningApplication() RunningApplication
	FileLabels() []string
	FileLabelColors() []Color
	AccessibilityDisplayShouldDifferentiateWithoutColor() bool
	AccessibilityDisplayShouldIncreaseContrast() bool
	AccessibilityDisplayShouldReduceTransparency() bool
	AccessibilityDisplayShouldInvertColors() bool
	AccessibilityDisplayShouldReduceMotion() bool
	IsSwitchControlEnabled() bool
	IsVoiceOverEnabled() bool
}

type Image

type Image struct {
	objc.Object
}

func MakeImage

func MakeImage(ptr unsafe.Pointer) Image

func NewImage

func NewImage() Image

func (Image) AccessibilityDescription

func (i_ Image) AccessibilityDescription() string

func (Image) AddRepresentation

func (i_ Image) AddRepresentation(imageRep IImageRep)

func (Image) AddRepresentations

func (i_ Image) AddRepresentations(imageReps []IImageRep)

func (Image) AlignmentRect

func (i_ Image) AlignmentRect() foundation.Rect

func (Image) BackgroundColor

func (i_ Image) BackgroundColor() Color

func (Image) BestRepresentationForRect_Context_Hints

func (i_ Image) BestRepresentationForRect_Context_Hints(rect foundation.Rect, referenceContext IGraphicsContext, hints map[ImageHintKey]objc.IObject) ImageRep

func (Image) CGImageForProposedRect_Context_Hints added in v0.11.0

func (i_ Image) CGImageForProposedRect_Context_Hints(proposedDestRect *foundation.Rect, referenceContext IGraphicsContext, hints map[ImageHintKey]objc.IObject) coregraphics.ImageRef

func (Image) CacheDepthMatchesImageDepth added in v0.14.5

func (i_ Image) CacheDepthMatchesImageDepth() bool

deprecated

func (Image) CacheMode

func (i_ Image) CacheMode() ImageCacheMode

func (Image) CancelIncrementalLoad

func (i_ Image) CancelIncrementalLoad()

func (Image) CapInsets

func (i_ Image) CapInsets() foundation.EdgeInsets

func (Image) CompositeToPoint_FromRect_Operation added in v0.14.5

func (i_ Image) CompositeToPoint_FromRect_Operation(point foundation.Point, rect foundation.Rect, op CompositingOperation)

deprecated

func (Image) CompositeToPoint_FromRect_Operation_Fraction added in v0.14.5

func (i_ Image) CompositeToPoint_FromRect_Operation_Fraction(point foundation.Point, rect foundation.Rect, op CompositingOperation, delta float64)

deprecated

func (Image) CompositeToPoint_Operation added in v0.14.5

func (i_ Image) CompositeToPoint_Operation(point foundation.Point, op CompositingOperation)

deprecated

func (Image) CompositeToPoint_Operation_Fraction added in v0.14.5

func (i_ Image) CompositeToPoint_Operation_Fraction(point foundation.Point, op CompositingOperation, delta float64)

deprecated

func (Image) Delegate

func (i_ Image) Delegate() objc.Object

weak property

func (Image) DissolveToPoint_Fraction added in v0.14.5

func (i_ Image) DissolveToPoint_Fraction(point foundation.Point, fraction float64)

deprecated

func (Image) DissolveToPoint_FromRect_Fraction added in v0.14.5

func (i_ Image) DissolveToPoint_FromRect_Fraction(point foundation.Point, rect foundation.Rect, fraction float64)

deprecated

func (Image) DrawAtPoint_FromRect_Operation_Fraction

func (i_ Image) DrawAtPoint_FromRect_Operation_Fraction(point foundation.Point, fromRect foundation.Rect, op CompositingOperation, delta float64)

func (Image) DrawInRect

func (i_ Image) DrawInRect(rect foundation.Rect)

func (Image) DrawInRect_FromRect_Operation_Fraction

func (i_ Image) DrawInRect_FromRect_Operation_Fraction(rect foundation.Rect, fromRect foundation.Rect, op CompositingOperation, delta float64)

func (Image) DrawInRect_FromRect_Operation_Fraction_RespectFlipped_Hints

func (i_ Image) DrawInRect_FromRect_Operation_Fraction_RespectFlipped_Hints(dstSpacePortionRect foundation.Rect, srcSpacePortionRect foundation.Rect, op CompositingOperation, requestedAlpha float64, respectContextIsFlipped bool, hints map[ImageHintKey]objc.IObject)

func (Image) DrawRepresentation_InRect

func (i_ Image) DrawRepresentation_InRect(imageRep IImageRep, rect foundation.Rect) bool

func (Image) HitTestRect_WithImageDestinationRect_Context_Hints_Flipped

func (i_ Image) HitTestRect_WithImageDestinationRect_Context_Hints_Flipped(testRectDestSpace foundation.Rect, imageRectDestSpace foundation.Rect, context IGraphicsContext, hints map[ImageHintKey]objc.IObject, flipped bool) bool

func (Image) ImageWithSymbolConfiguration

func (i_ Image) ImageWithSymbolConfiguration(configuration IImageSymbolConfiguration) Image

func (Image) Init added in v0.11.0

func (i_ Image) Init() Image

func (Image) InitByReferencingFile added in v0.11.0

func (i_ Image) InitByReferencingFile(fileName string) Image

func (Image) InitByReferencingURL added in v0.11.0

func (i_ Image) InitByReferencingURL(url foundation.IURL) Image

func (Image) InitWithCGImage_Size added in v0.11.0

func (i_ Image) InitWithCGImage_Size(cgImage coregraphics.ImageRef, size foundation.Size) Image

func (Image) InitWithContentsOfFile added in v0.11.0

func (i_ Image) InitWithContentsOfFile(fileName string) Image

func (Image) InitWithContentsOfURL added in v0.11.0

func (i_ Image) InitWithContentsOfURL(url foundation.IURL) Image

func (Image) InitWithData added in v0.11.0

func (i_ Image) InitWithData(data []byte) Image

func (Image) InitWithDataIgnoringOrientation added in v0.11.0

func (i_ Image) InitWithDataIgnoringOrientation(data []byte) Image

func (Image) InitWithPasteboard added in v0.11.0

func (i_ Image) InitWithPasteboard(pasteboard IPasteboard) Image

func (Image) InitWithSize added in v0.11.0

func (i_ Image) InitWithSize(size foundation.Size) Image

func (Image) IsCachedSeparately added in v0.14.5

func (i_ Image) IsCachedSeparately() bool

deprecated

func (Image) IsDataRetained added in v0.14.5

func (i_ Image) IsDataRetained() bool

deprecated

func (Image) IsFlipped added in v0.14.5

func (i_ Image) IsFlipped() bool

deprecated

func (Image) IsTemplate

func (i_ Image) IsTemplate() bool

func (Image) IsValid

func (i_ Image) IsValid() bool

func (Image) LayerContentsForContentsScale

func (i_ Image) LayerContentsForContentsScale(layerContentsScale float64) objc.Object

func (Image) LockFocus

func (i_ Image) LockFocus()

deprecated

func (Image) LockFocusFlipped

func (i_ Image) LockFocusFlipped(flipped bool)

deprecated

func (Image) LockFocusOnRepresentation added in v0.14.5

func (i_ Image) LockFocusOnRepresentation(imageRepresentation IImageRep)

deprecated

func (Image) MatchesOnMultipleResolution

func (i_ Image) MatchesOnMultipleResolution() bool

func (Image) MatchesOnlyOnBestFittingAxis

func (i_ Image) MatchesOnlyOnBestFittingAxis() bool

func (Image) Name

func (i_ Image) Name() ImageName

func (Image) PrefersColorMatch

func (i_ Image) PrefersColorMatch() bool

func (Image) Recache

func (i_ Image) Recache()

func (Image) RecommendedLayerContentsScale

func (i_ Image) RecommendedLayerContentsScale(preferredContentsScale float64) float64

func (Image) RemoveRepresentation

func (i_ Image) RemoveRepresentation(imageRep IImageRep)

func (Image) Representations

func (i_ Image) Representations() []ImageRep

func (Image) ResizingMode

func (i_ Image) ResizingMode() ImageResizingMode

func (Image) ScalesWhenResized added in v0.14.5

func (i_ Image) ScalesWhenResized() bool

deprecated

func (Image) SetAccessibilityDescription

func (i_ Image) SetAccessibilityDescription(value string)

func (Image) SetAlignmentRect

func (i_ Image) SetAlignmentRect(value foundation.Rect)

func (Image) SetBackgroundColor

func (i_ Image) SetBackgroundColor(value IColor)

func (Image) SetCacheDepthMatchesImageDepth added in v0.14.5

func (i_ Image) SetCacheDepthMatchesImageDepth(flag bool)

deprecated

func (Image) SetCacheMode

func (i_ Image) SetCacheMode(value ImageCacheMode)

func (Image) SetCachedSeparately added in v0.14.5

func (i_ Image) SetCachedSeparately(flag bool)

deprecated

func (Image) SetCapInsets

func (i_ Image) SetCapInsets(value foundation.EdgeInsets)

func (Image) SetDataRetained added in v0.14.5

func (i_ Image) SetDataRetained(flag bool)

deprecated

func (Image) SetDelegate

func (i_ Image) SetDelegate(value objc.IObject)

weak property

func (Image) SetFlipped added in v0.14.5

func (i_ Image) SetFlipped(flag bool)

deprecated

func (Image) SetMatchesOnMultipleResolution

func (i_ Image) SetMatchesOnMultipleResolution(value bool)

func (Image) SetMatchesOnlyOnBestFittingAxis

func (i_ Image) SetMatchesOnlyOnBestFittingAxis(value bool)

func (Image) SetName

func (i_ Image) SetName(string_ ImageName) bool

func (Image) SetPrefersColorMatch

func (i_ Image) SetPrefersColorMatch(value bool)

func (Image) SetResizingMode

func (i_ Image) SetResizingMode(value ImageResizingMode)

func (Image) SetScalesWhenResized added in v0.14.5

func (i_ Image) SetScalesWhenResized(flag bool)

deprecated

func (Image) SetSize

func (i_ Image) SetSize(value foundation.Size)

func (Image) SetTemplate

func (i_ Image) SetTemplate(value bool)

func (Image) SetUsesEPSOnResolutionMismatch

func (i_ Image) SetUsesEPSOnResolutionMismatch(value bool)

func (Image) Size

func (i_ Image) Size() foundation.Size

func (Image) SymbolConfiguration added in v0.12.0

func (i_ Image) SymbolConfiguration() ImageSymbolConfiguration

func (Image) TIFFRepresentation

func (i_ Image) TIFFRepresentation() []byte

func (Image) TIFFRepresentationUsingCompression_Factor

func (i_ Image) TIFFRepresentationUsingCompression_Factor(comp TIFFCompression, factor float32) []byte

func (Image) UnlockFocus

func (i_ Image) UnlockFocus()

deprecated

func (Image) UsesEPSOnResolutionMismatch

func (i_ Image) UsesEPSOnResolutionMismatch() bool

type ImageAlignment

type ImageAlignment uint
const ImageAlignBottom ImageAlignment = 5
const ImageAlignBottomLeft ImageAlignment = 6
const ImageAlignBottomRight ImageAlignment = 7
const ImageAlignCenter ImageAlignment = 0
const ImageAlignLeft ImageAlignment = 4
const ImageAlignRight ImageAlignment = 8
const ImageAlignTop ImageAlignment = 1
const ImageAlignTopLeft ImageAlignment = 2
const ImageAlignTopRight ImageAlignment = 3

type ImageCacheMode

type ImageCacheMode uint
const ImageCacheAlways ImageCacheMode = 1
const ImageCacheBySize ImageCacheMode = 2
const ImageCacheDefault ImageCacheMode = 0
const ImageCacheNever ImageCacheMode = 3

type ImageDelegate added in v0.13.0

type ImageDelegate interface {
	ImplementsImageDidNotDraw_InRect() bool
	// optional
	ImageDidNotDraw_InRect(sender Image, rect foundation.Rect) IImage
	ImplementsImage_DidLoadPartOfRepresentation_WithValidRows() bool
	// optional
	Image_DidLoadPartOfRepresentation_WithValidRows(image Image, rep ImageRep, rows int)
	ImplementsImage_DidLoadRepresentation_WithStatus() bool
	// optional
	Image_DidLoadRepresentation_WithStatus(image Image, rep ImageRep, status ImageLoadStatus)
	ImplementsImage_DidLoadRepresentationHeader() bool
	// optional
	Image_DidLoadRepresentationHeader(image Image, rep ImageRep)
	ImplementsImage_WillLoadRepresentation() bool
	// optional
	Image_WillLoadRepresentation(image Image, rep ImageRep)
}

type ImageDelegateBase added in v0.18.0

type ImageDelegateBase struct {
}

func (*ImageDelegateBase) ImageDidNotDraw_InRect added in v0.18.0

func (p *ImageDelegateBase) ImageDidNotDraw_InRect(sender Image, rect foundation.Rect) IImage

func (*ImageDelegateBase) Image_DidLoadPartOfRepresentation_WithValidRows added in v0.18.0

func (p *ImageDelegateBase) Image_DidLoadPartOfRepresentation_WithValidRows(image Image, rep ImageRep, rows int)

func (*ImageDelegateBase) Image_DidLoadRepresentationHeader added in v0.18.0

func (p *ImageDelegateBase) Image_DidLoadRepresentationHeader(image Image, rep ImageRep)

func (*ImageDelegateBase) Image_DidLoadRepresentation_WithStatus added in v0.18.0

func (p *ImageDelegateBase) Image_DidLoadRepresentation_WithStatus(image Image, rep ImageRep, status ImageLoadStatus)

func (*ImageDelegateBase) Image_WillLoadRepresentation added in v0.18.0

func (p *ImageDelegateBase) Image_WillLoadRepresentation(image Image, rep ImageRep)

func (*ImageDelegateBase) ImplementsImageDidNotDraw_InRect added in v0.18.0

func (p *ImageDelegateBase) ImplementsImageDidNotDraw_InRect() bool

func (*ImageDelegateBase) ImplementsImage_DidLoadPartOfRepresentation_WithValidRows added in v0.18.0

func (p *ImageDelegateBase) ImplementsImage_DidLoadPartOfRepresentation_WithValidRows() bool

func (*ImageDelegateBase) ImplementsImage_DidLoadRepresentationHeader added in v0.18.0

func (p *ImageDelegateBase) ImplementsImage_DidLoadRepresentationHeader() bool

func (*ImageDelegateBase) ImplementsImage_DidLoadRepresentation_WithStatus added in v0.18.0

func (p *ImageDelegateBase) ImplementsImage_DidLoadRepresentation_WithStatus() bool

func (*ImageDelegateBase) ImplementsImage_WillLoadRepresentation added in v0.18.0

func (p *ImageDelegateBase) ImplementsImage_WillLoadRepresentation() bool

type ImageDelegateCreator added in v0.19.0

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

func NewImageDelegateCreator added in v0.19.0

func NewImageDelegateCreator(name string) *ImageDelegateCreator

func (*ImageDelegateCreator) Create added in v0.19.0

func (*ImageDelegateCreator) SetImageDidNotDraw_InRect added in v0.19.0

func (c *ImageDelegateCreator) SetImageDidNotDraw_InRect(handle func(o objc.ProtocolBase, sender Image, rect foundation.Rect) IImage)

func (*ImageDelegateCreator) SetImage_DidLoadPartOfRepresentation_WithValidRows added in v0.19.0

func (c *ImageDelegateCreator) SetImage_DidLoadPartOfRepresentation_WithValidRows(handle func(o objc.ProtocolBase, image Image, rep ImageRep, rows int))

func (*ImageDelegateCreator) SetImage_DidLoadRepresentationHeader added in v0.19.0

func (c *ImageDelegateCreator) SetImage_DidLoadRepresentationHeader(handle func(o objc.ProtocolBase, image Image, rep ImageRep))

func (*ImageDelegateCreator) SetImage_DidLoadRepresentation_WithStatus added in v0.19.0

func (c *ImageDelegateCreator) SetImage_DidLoadRepresentation_WithStatus(handle func(o objc.ProtocolBase, image Image, rep ImageRep, status ImageLoadStatus))

func (*ImageDelegateCreator) SetImage_WillLoadRepresentation added in v0.19.0

func (c *ImageDelegateCreator) SetImage_WillLoadRepresentation(handle func(o objc.ProtocolBase, image Image, rep ImageRep))

type ImageFrameStyle

type ImageFrameStyle uint
const ImageFrameButton ImageFrameStyle = 4
const ImageFrameGrayBezel ImageFrameStyle = 2
const ImageFrameGroove ImageFrameStyle = 3
const ImageFrameNone ImageFrameStyle = 0
const ImageFramePhoto ImageFrameStyle = 1

type ImageHintKey

type ImageHintKey string
const ImageHintCTM ImageHintKey = "NSImageHintCTM"
const ImageHintInterpolation ImageHintKey = "NSImageHintInterpolation"
const ImageHintUserInterfaceLayoutDirection ImageHintKey = "NSImageHintUserInterfaceLayoutDirection"

type ImageInterpolation

type ImageInterpolation uint
const ImageInterpolationDefault ImageInterpolation = 0
const ImageInterpolationHigh ImageInterpolation = 3
const ImageInterpolationLow ImageInterpolation = 2
const ImageInterpolationMedium ImageInterpolation = 4
const ImageInterpolationNone ImageInterpolation = 1

type ImageLayoutDirection

type ImageLayoutDirection int
const ImageLayoutDirectionLeftToRight ImageLayoutDirection = 2
const ImageLayoutDirectionRightToLeft ImageLayoutDirection = 3
const ImageLayoutDirectionUnspecified ImageLayoutDirection = -1

type ImageLoadStatus added in v0.13.0

type ImageLoadStatus uint
const ImageLoadStatusCancelled ImageLoadStatus = 1
const ImageLoadStatusCompleted ImageLoadStatus = 0
const ImageLoadStatusInvalidData ImageLoadStatus = 2
const ImageLoadStatusReadError ImageLoadStatus = 4
const ImageLoadStatusUnexpectedEOF ImageLoadStatus = 3

type ImageName

type ImageName string
const ImageNameActionTemplate ImageName = "NSActionTemplate"
const ImageNameAddTemplate ImageName = "NSAddTemplate"
const ImageNameAdvanced ImageName = "NSAdvanced"
const ImageNameApplicationIcon ImageName = "NSApplicationIcon"
const ImageNameBluetoothTemplate ImageName = "NSBluetoothTemplate"
const ImageNameBonjour ImageName = "NSBonjour"
const ImageNameBookmarksTemplate ImageName = "NSBookmarksTemplate"
const ImageNameCaution ImageName = "NSCaution"
const ImageNameColorPanel ImageName = "NSColorPanel"
const ImageNameColumnViewTemplate ImageName = "NSColumnViewTemplate"
const ImageNameComputer ImageName = "NSComputer"
const ImageNameEnterFullScreenTemplate ImageName = "NSEnterFullScreenTemplate"
const ImageNameEveryone ImageName = "NSEveryone"
const ImageNameExitFullScreenTemplate ImageName = "NSExitFullScreenTemplate"
const ImageNameFlowViewTemplate ImageName = "NSFlowViewTemplate"
const ImageNameFolder ImageName = "NSFolder"
const ImageNameFolderBurnable ImageName = "NSFolderBurnable"
const ImageNameFolderSmart ImageName = "NSFolderSmart"
const ImageNameFollowLinkFreestandingTemplate ImageName = "NSFollowLinkFreestandingTemplate"
const ImageNameFontPanel ImageName = "NSFontPanel"
const ImageNameGoBackTemplate ImageName = "NSGoBackTemplate"
const ImageNameGoForwardTemplate ImageName = "NSGoForwardTemplate"
const ImageNameGoLeftTemplate ImageName = "NSGoLeftTemplate"
const ImageNameGoRightTemplate ImageName = "NSGoRightTemplate"
const ImageNameHomeTemplate ImageName = "NSHomeTemplate"
const ImageNameIChatTheaterTemplate ImageName = "NSIChatTheaterTemplate"
const ImageNameIconViewTemplate ImageName = "NSIconViewTemplate"
const ImageNameInfo ImageName = "NSInfo"
const ImageNameInvalidDataFreestandingTemplate ImageName = "NSInvalidDataFreestandingTemplate"
const ImageNameLeftFacingTriangleTemplate ImageName = "NSLeftFacingTriangleTemplate"
const ImageNameListViewTemplate ImageName = "NSListViewTemplate"
const ImageNameLockLockedTemplate ImageName = "NSLockLockedTemplate"
const ImageNameLockUnlockedTemplate ImageName = "NSLockUnlockedTemplate"
const ImageNameMenuMixedStateTemplate ImageName = "NSMenuMixedStateTemplate"
const ImageNameMenuOnStateTemplate ImageName = "NSMenuOnStateTemplate"
const ImageNameMobileMe ImageName = "NSMobileMe"
const ImageNameMultipleDocuments ImageName = "NSMultipleDocuments"
const ImageNameNetwork ImageName = "NSNetwork"
const ImageNamePathTemplate ImageName = "NSPathTemplate"
const ImageNamePreferencesGeneral ImageName = "NSPreferencesGeneral"
const ImageNameQuickLookTemplate ImageName = "NSQuickLookTemplate"
const ImageNameRefreshFreestandingTemplate ImageName = "NSRefreshFreestandingTemplate"
const ImageNameRefreshTemplate ImageName = "NSRefreshTemplate"
const ImageNameRemoveTemplate ImageName = "NSRemoveTemplate"
const ImageNameRevealFreestandingTemplate ImageName = "NSRevealFreestandingTemplate"
const ImageNameRightFacingTriangleTemplate ImageName = "NSRightFacingTriangleTemplate"
const ImageNameShareTemplate ImageName = "NSShareTemplate"
const ImageNameSlideshowTemplate ImageName = "NSSlideshowTemplate"
const ImageNameSmartBadgeTemplate ImageName = "NSSmartBadgeTemplate"
const ImageNameStatusAvailable ImageName = "NSStatusAvailable"
const ImageNameStatusNone ImageName = "NSStatusNone"
const ImageNameStatusPartiallyAvailable ImageName = "NSStatusPartiallyAvailable"
const ImageNameStatusUnavailable ImageName = "NSStatusUnavailable"
const ImageNameStopProgressFreestandingTemplate ImageName = "NSStopProgressFreestandingTemplate"
const ImageNameStopProgressTemplate ImageName = "NSStopProgressTemplate"
const ImageNameTouchBarAddDetailTemplate ImageName = "NSTouchBarAddDetailTemplate"
const ImageNameTouchBarAddTemplate ImageName = "NSTouchBarAddTemplate"
const ImageNameTouchBarAlarmTemplate ImageName = "NSTouchBarAlarmTemplate"
const ImageNameTouchBarAudioInputMuteTemplate ImageName = "NSTouchBarAudioInputMuteTemplate"
const ImageNameTouchBarAudioInputTemplate ImageName = "NSTouchBarAudioInputTemplate"
const ImageNameTouchBarAudioOutputMuteTemplate ImageName = "NSTouchBarAudioOutputMuteTemplate"
const ImageNameTouchBarAudioOutputVolumeHighTemplate ImageName = "NSTouchBarAudioOutputVolumeHighTemplate"
const ImageNameTouchBarAudioOutputVolumeLowTemplate ImageName = "NSTouchBarAudioOutputVolumeLowTemplate"
const ImageNameTouchBarAudioOutputVolumeMediumTemplate ImageName = "NSTouchBarAudioOutputVolumeMediumTemplate"
const ImageNameTouchBarAudioOutputVolumeOffTemplate ImageName = "NSTouchBarAudioOutputVolumeOffTemplate"
const ImageNameTouchBarBookmarksTemplate ImageName = "NSTouchBarBookmarksTemplate"
const ImageNameTouchBarColorPickerFill ImageName = "NSTouchBarColorPickerFill"
const ImageNameTouchBarColorPickerFont ImageName = "NSTouchBarColorPickerFont"
const ImageNameTouchBarColorPickerStroke ImageName = "NSTouchBarColorPickerStroke"
const ImageNameTouchBarCommunicationAudioTemplate ImageName = "NSTouchBarCommunicationAudioTemplate"
const ImageNameTouchBarCommunicationVideoTemplate ImageName = "NSTouchBarCommunicationVideoTemplate"
const ImageNameTouchBarComposeTemplate ImageName = "NSTouchBarComposeTemplate"
const ImageNameTouchBarDeleteTemplate ImageName = "NSTouchBarDeleteTemplate"
const ImageNameTouchBarDownloadTemplate ImageName = "NSTouchBarDownloadTemplate"
const ImageNameTouchBarEnterFullScreenTemplate ImageName = "NSTouchBarEnterFullScreenTemplate"
const ImageNameTouchBarExitFullScreenTemplate ImageName = "NSTouchBarExitFullScreenTemplate"
const ImageNameTouchBarFastForwardTemplate ImageName = "NSTouchBarFastForwardTemplate"
const ImageNameTouchBarFolderCopyToTemplate ImageName = "NSTouchBarFolderCopyToTemplate"
const ImageNameTouchBarFolderMoveToTemplate ImageName = "NSTouchBarFolderMoveToTemplate"
const ImageNameTouchBarFolderTemplate ImageName = "NSTouchBarFolderTemplate"
const ImageNameTouchBarGetInfoTemplate ImageName = "NSTouchBarGetInfoTemplate"
const ImageNameTouchBarGoBackTemplate ImageName = "NSTouchBarGoBackTemplate"
const ImageNameTouchBarGoDownTemplate ImageName = "NSTouchBarGoDownTemplate"
const ImageNameTouchBarGoForwardTemplate ImageName = "NSTouchBarGoForwardTemplate"
const ImageNameTouchBarGoUpTemplate ImageName = "NSTouchBarGoUpTemplate"
const ImageNameTouchBarHistoryTemplate ImageName = "NSTouchBarHistoryTemplate"
const ImageNameTouchBarIconViewTemplate ImageName = "NSTouchBarIconViewTemplate"
const ImageNameTouchBarListViewTemplate ImageName = "NSTouchBarListViewTemplate"
const ImageNameTouchBarMailTemplate ImageName = "NSTouchBarMailTemplate"
const ImageNameTouchBarNewFolderTemplate ImageName = "NSTouchBarNewFolderTemplate"
const ImageNameTouchBarNewMessageTemplate ImageName = "NSTouchBarNewMessageTemplate"
const ImageNameTouchBarOpenInBrowserTemplate ImageName = "NSTouchBarOpenInBrowserTemplate"
const ImageNameTouchBarPauseTemplate ImageName = "NSTouchBarPauseTemplate"
const ImageNameTouchBarPlayPauseTemplate ImageName = "NSTouchBarPlayPauseTemplate"
const ImageNameTouchBarPlayTemplate ImageName = "NSTouchBarPlayTemplate"
const ImageNameTouchBarPlayheadTemplate ImageName = "NSTouchBarPlayheadTemplate"
const ImageNameTouchBarQuickLookTemplate ImageName = "NSTouchBarQuickLookTemplate"
const ImageNameTouchBarRecordStartTemplate ImageName = "NSTouchBarRecordStartTemplate"
const ImageNameTouchBarRecordStopTemplate ImageName = "NSTouchBarRecordStopTemplate"
const ImageNameTouchBarRefreshTemplate ImageName = "NSTouchBarRefreshTemplate"
const ImageNameTouchBarRemoveTemplate ImageName = "NSTouchBarRemoveTemplate"
const ImageNameTouchBarRewindTemplate ImageName = "NSTouchBarRewindTemplate"
const ImageNameTouchBarRotateLeftTemplate ImageName = "NSTouchBarRotateLeftTemplate"
const ImageNameTouchBarRotateRightTemplate ImageName = "NSTouchBarRotateRightTemplate"
const ImageNameTouchBarSearchTemplate ImageName = "NSTouchBarSearchTemplate"
const ImageNameTouchBarShareTemplate ImageName = "NSTouchBarShareTemplate"
const ImageNameTouchBarSidebarTemplate ImageName = "NSTouchBarSidebarTemplate"
const ImageNameTouchBarSkipAhead15SecondsTemplate ImageName = "NSTouchBarSkipAhead15SecondsTemplate"
const ImageNameTouchBarSkipAhead30SecondsTemplate ImageName = "NSTouchBarSkipAhead30SecondsTemplate"
const ImageNameTouchBarSkipAheadTemplate ImageName = "NSTouchBarSkipAheadTemplate"
const ImageNameTouchBarSkipBack15SecondsTemplate ImageName = "NSTouchBarSkipBack15SecondsTemplate"
const ImageNameTouchBarSkipBack30SecondsTemplate ImageName = "NSTouchBarSkipBack30SecondsTemplate"
const ImageNameTouchBarSkipBackTemplate ImageName = "NSTouchBarSkipBackTemplate"
const ImageNameTouchBarSkipToEndTemplate ImageName = "NSTouchBarSkipToEndTemplate"
const ImageNameTouchBarSkipToStartTemplate ImageName = "NSTouchBarSkipToStartTemplate"
const ImageNameTouchBarSlideshowTemplate ImageName = "NSTouchBarSlideshowTemplate"
const ImageNameTouchBarTagIconTemplate ImageName = "NSTouchBarTagIconTemplate"
const ImageNameTouchBarTextBoldTemplate ImageName = "NSTouchBarTextBoldTemplate"
const ImageNameTouchBarTextBoxTemplate ImageName = "NSTouchBarTextBoxTemplate"
const ImageNameTouchBarTextCenterAlignTemplate ImageName = "NSTouchBarTextCenterAlignTemplate"
const ImageNameTouchBarTextItalicTemplate ImageName = "NSTouchBarTextItalicTemplate"
const ImageNameTouchBarTextJustifiedAlignTemplate ImageName = "NSTouchBarTextJustifiedAlignTemplate"
const ImageNameTouchBarTextLeftAlignTemplate ImageName = "NSTouchBarTextLeftAlignTemplate"
const ImageNameTouchBarTextListTemplate ImageName = "NSTouchBarTextListTemplate"
const ImageNameTouchBarTextRightAlignTemplate ImageName = "NSTouchBarTextRightAlignTemplate"
const ImageNameTouchBarTextStrikethroughTemplate ImageName = "NSTouchBarTextStrikethroughTemplate"
const ImageNameTouchBarTextUnderlineTemplate ImageName = "NSTouchBarTextUnderlineTemplate"
const ImageNameTouchBarUserAddTemplate ImageName = "NSTouchBarUserAddTemplate"
const ImageNameTouchBarUserGroupTemplate ImageName = "NSTouchBarUserGroupTemplate"
const ImageNameTouchBarUserTemplate ImageName = "NSTouchBarUserTemplate"
const ImageNameTouchBarVolumeDownTemplate ImageName = "NSTouchBarVolumeDownTemplate"
const ImageNameTouchBarVolumeUpTemplate ImageName = "NSTouchBarVolumeUpTemplate"
const ImageNameTrashEmpty ImageName = "NSTrashEmpty"
const ImageNameTrashFull ImageName = "NSTrashFull"
const ImageNameUser ImageName = "NSUser"
const ImageNameUserAccounts ImageName = "NSUserAccounts"
const ImageNameUserGroup ImageName = "NSUserGroup"
const ImageNameUserGuest ImageName = "NSUserGuest"

type ImageRep

type ImageRep struct {
	objc.Object
}

func MakeImageRep

func MakeImageRep(ptr unsafe.Pointer) ImageRep

func NewImageRep

func NewImageRep() ImageRep

func (ImageRep) BitsPerSample

func (i_ ImageRep) BitsPerSample() int

func (ImageRep) CGImageForProposedRect_Context_Hints added in v0.13.3

func (i_ ImageRep) CGImageForProposedRect_Context_Hints(proposedDestRect *foundation.Rect, context IGraphicsContext, hints map[ImageHintKey]objc.IObject) coregraphics.ImageRef

func (ImageRep) ColorSpaceName

func (i_ ImageRep) ColorSpaceName() ColorSpaceName

func (ImageRep) Draw

func (i_ ImageRep) Draw() bool

func (ImageRep) DrawAtPoint

func (i_ ImageRep) DrawAtPoint(point foundation.Point) bool

func (ImageRep) DrawInRect

func (i_ ImageRep) DrawInRect(rect foundation.Rect) bool

func (ImageRep) DrawInRect_FromRect_Operation_Fraction_RespectFlipped_Hints

func (i_ ImageRep) DrawInRect_FromRect_Operation_Fraction_RespectFlipped_Hints(dstSpacePortionRect foundation.Rect, srcSpacePortionRect foundation.Rect, op CompositingOperation, requestedAlpha float64, respectContextIsFlipped bool, hints map[ImageHintKey]objc.IObject) bool

func (ImageRep) HasAlpha

func (i_ ImageRep) HasAlpha() bool

func (ImageRep) Init added in v0.11.0

func (i_ ImageRep) Init() ImageRep

func (ImageRep) IsOpaque

func (i_ ImageRep) IsOpaque() bool

func (ImageRep) LayoutDirection

func (i_ ImageRep) LayoutDirection() ImageLayoutDirection

func (ImageRep) PixelsHigh

func (i_ ImageRep) PixelsHigh() int

func (ImageRep) PixelsWide

func (i_ ImageRep) PixelsWide() int

func (ImageRep) SetAlpha

func (i_ ImageRep) SetAlpha(value bool)

func (ImageRep) SetBitsPerSample

func (i_ ImageRep) SetBitsPerSample(value int)

func (ImageRep) SetColorSpaceName

func (i_ ImageRep) SetColorSpaceName(value ColorSpaceName)

func (ImageRep) SetLayoutDirection

func (i_ ImageRep) SetLayoutDirection(value ImageLayoutDirection)

func (ImageRep) SetOpaque

func (i_ ImageRep) SetOpaque(value bool)

func (ImageRep) SetPixelsHigh

func (i_ ImageRep) SetPixelsHigh(value int)

func (ImageRep) SetPixelsWide

func (i_ ImageRep) SetPixelsWide(value int)

func (ImageRep) SetSize

func (i_ ImageRep) SetSize(value foundation.Size)

func (ImageRep) Size

func (i_ ImageRep) Size() foundation.Size

type ImageResizingMode

type ImageResizingMode int
const ImageResizingModeStretch ImageResizingMode = 0
const ImageResizingModeTile ImageResizingMode = 1

type ImageScaling

type ImageScaling uint
const ImageScaleAxesIndependently ImageScaling = 1
const ImageScaleNone ImageScaling = 2
const ImageScaleProportionallyDown ImageScaling = 0
const ImageScaleProportionallyUpOrDown ImageScaling = 3

type ImageSymbolConfiguration

type ImageSymbolConfiguration struct {
	objc.Object
}

func MakeImageSymbolConfiguration

func MakeImageSymbolConfiguration(ptr unsafe.Pointer) ImageSymbolConfiguration

func NewImageSymbolConfiguration

func NewImageSymbolConfiguration() ImageSymbolConfiguration

func (ImageSymbolConfiguration) ConfigurationByApplyingConfiguration added in v0.12.0

func (i_ ImageSymbolConfiguration) ConfigurationByApplyingConfiguration(configuration IImageSymbolConfiguration) ImageSymbolConfiguration

func (ImageSymbolConfiguration) Init added in v0.11.0

type ImageSymbolScale

type ImageSymbolScale int
const ImageSymbolScaleLarge ImageSymbolScale = 3
const ImageSymbolScaleMedium ImageSymbolScale = 2
const ImageSymbolScaleSmall ImageSymbolScale = 1

type ImageView

type ImageView struct {
	Control
}

func MakeImageView

func MakeImageView(ptr unsafe.Pointer) ImageView

func NewImageView

func NewImageView() ImageView

func (ImageView) AllowsCutCopyPaste

func (i_ ImageView) AllowsCutCopyPaste() bool

func (ImageView) Animates

func (i_ ImageView) Animates() bool

func (ImageView) ContentTintColor

func (i_ ImageView) ContentTintColor() Color

func (ImageView) Image

func (i_ ImageView) Image() Image

func (ImageView) ImageAlignment

func (i_ ImageView) ImageAlignment() ImageAlignment

func (ImageView) ImageFrameStyle

func (i_ ImageView) ImageFrameStyle() ImageFrameStyle

func (ImageView) ImageScaling

func (i_ ImageView) ImageScaling() ImageScaling

func (ImageView) Init added in v0.11.0

func (i_ ImageView) Init() ImageView

func (ImageView) InitWithFrame added in v0.11.0

func (i_ ImageView) InitWithFrame(frameRect foundation.Rect) ImageView

func (ImageView) IsEditable

func (i_ ImageView) IsEditable() bool

func (ImageView) SetAllowsCutCopyPaste

func (i_ ImageView) SetAllowsCutCopyPaste(value bool)

func (ImageView) SetAnimates

func (i_ ImageView) SetAnimates(value bool)

func (ImageView) SetContentTintColor

func (i_ ImageView) SetContentTintColor(value IColor)

func (ImageView) SetEditable

func (i_ ImageView) SetEditable(value bool)

func (ImageView) SetImage

func (i_ ImageView) SetImage(value IImage)

func (ImageView) SetImageAlignment

func (i_ ImageView) SetImageAlignment(value ImageAlignment)

func (ImageView) SetImageFrameStyle

func (i_ ImageView) SetImageFrameStyle(value ImageFrameStyle)

func (ImageView) SetImageScaling

func (i_ ImageView) SetImageScaling(value ImageScaling)

func (ImageView) SetSymbolConfiguration

func (i_ ImageView) SetSymbolConfiguration(value IImageSymbolConfiguration)

func (ImageView) SymbolConfiguration

func (i_ ImageView) SymbolConfiguration() ImageSymbolConfiguration

type InterfaceStyle added in v0.14.5

type InterfaceStyle uint

type LayoutAnchor

type LayoutAnchor struct {
	objc.Object
}

func MakeLayoutAnchor

func MakeLayoutAnchor(ptr unsafe.Pointer) LayoutAnchor

func NewLayoutAnchor

func NewLayoutAnchor() LayoutAnchor

func (LayoutAnchor) ConstraintEqualToAnchor

func (l_ LayoutAnchor) ConstraintEqualToAnchor(anchor ILayoutAnchor) LayoutConstraint

func (LayoutAnchor) ConstraintEqualToAnchor_Constant

func (l_ LayoutAnchor) ConstraintEqualToAnchor_Constant(anchor ILayoutAnchor, c float64) LayoutConstraint

func (LayoutAnchor) ConstraintGreaterThanOrEqualToAnchor

func (l_ LayoutAnchor) ConstraintGreaterThanOrEqualToAnchor(anchor ILayoutAnchor) LayoutConstraint

func (LayoutAnchor) ConstraintGreaterThanOrEqualToAnchor_Constant

func (l_ LayoutAnchor) ConstraintGreaterThanOrEqualToAnchor_Constant(anchor ILayoutAnchor, c float64) LayoutConstraint

func (LayoutAnchor) ConstraintLessThanOrEqualToAnchor

func (l_ LayoutAnchor) ConstraintLessThanOrEqualToAnchor(anchor ILayoutAnchor) LayoutConstraint

func (LayoutAnchor) ConstraintLessThanOrEqualToAnchor_Constant

func (l_ LayoutAnchor) ConstraintLessThanOrEqualToAnchor_Constant(anchor ILayoutAnchor, c float64) LayoutConstraint

func (LayoutAnchor) ConstraintsAffectingLayout

func (l_ LayoutAnchor) ConstraintsAffectingLayout() []LayoutConstraint

func (LayoutAnchor) HasAmbiguousLayout

func (l_ LayoutAnchor) HasAmbiguousLayout() bool

func (LayoutAnchor) Init added in v0.11.0

func (l_ LayoutAnchor) Init() LayoutAnchor

func (LayoutAnchor) Item

func (l_ LayoutAnchor) Item() objc.Object

weak property

func (LayoutAnchor) Name

func (l_ LayoutAnchor) Name() string

type LayoutAttribute

type LayoutAttribute int
const LayoutAttributeBaseline LayoutAttribute = 11
const LayoutAttributeBottom LayoutAttribute = 4
const LayoutAttributeCenterX LayoutAttribute = 9
const LayoutAttributeCenterY LayoutAttribute = 10
const LayoutAttributeFirstBaseline LayoutAttribute = 12
const LayoutAttributeHeight LayoutAttribute = 8
const LayoutAttributeLastBaseline LayoutAttribute = 11
const LayoutAttributeLeading LayoutAttribute = 5
const LayoutAttributeLeft LayoutAttribute = 1
const LayoutAttributeNotAnAttribute LayoutAttribute = 0
const LayoutAttributeRight LayoutAttribute = 2
const LayoutAttributeTop LayoutAttribute = 3
const LayoutAttributeTrailing LayoutAttribute = 6
const LayoutAttributeWidth LayoutAttribute = 7

type LayoutConstraint

type LayoutConstraint struct {
	objc.Object
}

func MakeLayoutConstraint

func MakeLayoutConstraint(ptr unsafe.Pointer) LayoutConstraint

func NewLayoutConstraint

func NewLayoutConstraint() LayoutConstraint

func (LayoutConstraint) Constant

func (l_ LayoutConstraint) Constant() float64

func (LayoutConstraint) FirstAnchor

func (l_ LayoutConstraint) FirstAnchor() LayoutAnchor

func (LayoutConstraint) FirstAttribute

func (l_ LayoutConstraint) FirstAttribute() LayoutAttribute

func (LayoutConstraint) FirstItem

func (l_ LayoutConstraint) FirstItem() objc.Object

weak property

func (LayoutConstraint) Identifier

func (l_ LayoutConstraint) Identifier() string

func (LayoutConstraint) Init added in v0.11.0

func (LayoutConstraint) IsActive

func (l_ LayoutConstraint) IsActive() bool

func (LayoutConstraint) Multiplier

func (l_ LayoutConstraint) Multiplier() float64

func (LayoutConstraint) Priority

func (l_ LayoutConstraint) Priority() LayoutPriority

func (LayoutConstraint) Relation

func (l_ LayoutConstraint) Relation() LayoutRelation

func (LayoutConstraint) SecondAnchor

func (l_ LayoutConstraint) SecondAnchor() LayoutAnchor

func (LayoutConstraint) SecondAttribute

func (l_ LayoutConstraint) SecondAttribute() LayoutAttribute

func (LayoutConstraint) SecondItem

func (l_ LayoutConstraint) SecondItem() objc.Object

weak property

func (LayoutConstraint) SetActive

func (l_ LayoutConstraint) SetActive(value bool)

func (LayoutConstraint) SetConstant

func (l_ LayoutConstraint) SetConstant(value float64)

func (LayoutConstraint) SetIdentifier

func (l_ LayoutConstraint) SetIdentifier(value string)

func (LayoutConstraint) SetPriority

func (l_ LayoutConstraint) SetPriority(value LayoutPriority)

func (LayoutConstraint) SetShouldBeArchived

func (l_ LayoutConstraint) SetShouldBeArchived(value bool)

func (LayoutConstraint) ShouldBeArchived

func (l_ LayoutConstraint) ShouldBeArchived() bool

type LayoutConstraintOrientation

type LayoutConstraintOrientation int
const LayoutConstraintOrientationHorizontal LayoutConstraintOrientation = 0
const LayoutConstraintOrientationVertical LayoutConstraintOrientation = 1

type LayoutDimension

type LayoutDimension struct {
	LayoutAnchor
}

func MakeLayoutDimension

func MakeLayoutDimension(ptr unsafe.Pointer) LayoutDimension

func NewLayoutDimension

func NewLayoutDimension() LayoutDimension

func (LayoutDimension) ConstraintEqualToAnchor_Multiplier

func (l_ LayoutDimension) ConstraintEqualToAnchor_Multiplier(anchor ILayoutDimension, m float64) LayoutConstraint

func (LayoutDimension) ConstraintEqualToAnchor_Multiplier_Constant

func (l_ LayoutDimension) ConstraintEqualToAnchor_Multiplier_Constant(anchor ILayoutDimension, m float64, c float64) LayoutConstraint

func (LayoutDimension) ConstraintEqualToConstant

func (l_ LayoutDimension) ConstraintEqualToConstant(c float64) LayoutConstraint

func (LayoutDimension) ConstraintGreaterThanOrEqualToAnchor_Multiplier

func (l_ LayoutDimension) ConstraintGreaterThanOrEqualToAnchor_Multiplier(anchor ILayoutDimension, m float64) LayoutConstraint

func (LayoutDimension) ConstraintGreaterThanOrEqualToAnchor_Multiplier_Constant

func (l_ LayoutDimension) ConstraintGreaterThanOrEqualToAnchor_Multiplier_Constant(anchor ILayoutDimension, m float64, c float64) LayoutConstraint

func (LayoutDimension) ConstraintGreaterThanOrEqualToConstant

func (l_ LayoutDimension) ConstraintGreaterThanOrEqualToConstant(c float64) LayoutConstraint

func (LayoutDimension) ConstraintLessThanOrEqualToAnchor_Multiplier

func (l_ LayoutDimension) ConstraintLessThanOrEqualToAnchor_Multiplier(anchor ILayoutDimension, m float64) LayoutConstraint

func (LayoutDimension) ConstraintLessThanOrEqualToAnchor_Multiplier_Constant

func (l_ LayoutDimension) ConstraintLessThanOrEqualToAnchor_Multiplier_Constant(anchor ILayoutDimension, m float64, c float64) LayoutConstraint

func (LayoutDimension) ConstraintLessThanOrEqualToConstant

func (l_ LayoutDimension) ConstraintLessThanOrEqualToConstant(c float64) LayoutConstraint

func (LayoutDimension) Init added in v0.11.0

func (l_ LayoutDimension) Init() LayoutDimension

type LayoutFormatOptions

type LayoutFormatOptions uint
const LayoutFormatAlignAllBaseline LayoutFormatOptions = 2048
const LayoutFormatAlignAllBottom LayoutFormatOptions = 16
const LayoutFormatAlignAllCenterX LayoutFormatOptions = 512
const LayoutFormatAlignAllCenterY LayoutFormatOptions = 1024
const LayoutFormatAlignAllFirstBaseline LayoutFormatOptions = 4096
const LayoutFormatAlignAllLastBaseline LayoutFormatOptions = 2048
const LayoutFormatAlignAllLeading LayoutFormatOptions = 32
const LayoutFormatAlignAllLeft LayoutFormatOptions = 2
const LayoutFormatAlignAllRight LayoutFormatOptions = 4
const LayoutFormatAlignAllTop LayoutFormatOptions = 8
const LayoutFormatAlignAllTrailing LayoutFormatOptions = 64
const LayoutFormatAlignmentMask LayoutFormatOptions = 65535
const LayoutFormatDirectionLeadingToTrailing LayoutFormatOptions = 0
const LayoutFormatDirectionLeftToRight LayoutFormatOptions = 65536
const LayoutFormatDirectionMask LayoutFormatOptions = 196608
const LayoutFormatDirectionRightToLeft LayoutFormatOptions = 131072

type LayoutGuide

type LayoutGuide struct {
	objc.Object
}

func MakeLayoutGuide

func MakeLayoutGuide(ptr unsafe.Pointer) LayoutGuide

func NewLayoutGuide

func NewLayoutGuide() LayoutGuide

func (LayoutGuide) BottomAnchor

func (l_ LayoutGuide) BottomAnchor() LayoutYAxisAnchor

func (LayoutGuide) CenterXAnchor

func (l_ LayoutGuide) CenterXAnchor() LayoutXAxisAnchor

func (LayoutGuide) CenterYAnchor

func (l_ LayoutGuide) CenterYAnchor() LayoutYAxisAnchor

func (LayoutGuide) ConstraintsAffectingLayoutForOrientation

func (l_ LayoutGuide) ConstraintsAffectingLayoutForOrientation(orientation LayoutConstraintOrientation) []LayoutConstraint

func (LayoutGuide) Frame

func (l_ LayoutGuide) Frame() foundation.Rect

func (LayoutGuide) HasAmbiguousLayout

func (l_ LayoutGuide) HasAmbiguousLayout() bool

func (LayoutGuide) HeightAnchor

func (l_ LayoutGuide) HeightAnchor() LayoutDimension

func (LayoutGuide) Identifier

func (l_ LayoutGuide) Identifier() UserInterfaceItemIdentifier

func (LayoutGuide) Init added in v0.11.0

func (l_ LayoutGuide) Init() LayoutGuide

func (LayoutGuide) LeadingAnchor

func (l_ LayoutGuide) LeadingAnchor() LayoutXAxisAnchor

func (LayoutGuide) LeftAnchor

func (l_ LayoutGuide) LeftAnchor() LayoutXAxisAnchor

func (LayoutGuide) OwningView

func (l_ LayoutGuide) OwningView() View

weak property

func (LayoutGuide) RightAnchor

func (l_ LayoutGuide) RightAnchor() LayoutXAxisAnchor

func (LayoutGuide) SetIdentifier

func (l_ LayoutGuide) SetIdentifier(value UserInterfaceItemIdentifier)

func (LayoutGuide) SetOwningView

func (l_ LayoutGuide) SetOwningView(value IView)

weak property

func (LayoutGuide) TopAnchor

func (l_ LayoutGuide) TopAnchor() LayoutYAxisAnchor

func (LayoutGuide) TrailingAnchor

func (l_ LayoutGuide) TrailingAnchor() LayoutXAxisAnchor

func (LayoutGuide) WidthAnchor

func (l_ LayoutGuide) WidthAnchor() LayoutDimension

type LayoutManager

type LayoutManager struct {
	objc.Object
}

func MakeLayoutManager

func MakeLayoutManager(ptr unsafe.Pointer) LayoutManager

func NewLayoutManager

func NewLayoutManager() LayoutManager

func (LayoutManager) AddTemporaryAttribute_Value_ForCharacterRange

func (l_ LayoutManager) AddTemporaryAttribute_Value_ForCharacterRange(attrName foundation.AttributedStringKey, value objc.IObject, charRange foundation.Range)

func (LayoutManager) AddTemporaryAttributes_ForCharacterRange

func (l_ LayoutManager) AddTemporaryAttributes_ForCharacterRange(attrs map[foundation.AttributedStringKey]objc.IObject, charRange foundation.Range)

func (LayoutManager) AddTextContainer

func (l_ LayoutManager) AddTextContainer(container ITextContainer)

func (LayoutManager) AllowsNonContiguousLayout

func (l_ LayoutManager) AllowsNonContiguousLayout() bool

func (LayoutManager) AttachmentSizeForGlyphAtIndex

func (l_ LayoutManager) AttachmentSizeForGlyphAtIndex(glyphIndex uint) foundation.Size

func (LayoutManager) BackgroundLayoutEnabled

func (l_ LayoutManager) BackgroundLayoutEnabled() bool

func (LayoutManager) BoundingRectForGlyphRange_InTextContainer

func (l_ LayoutManager) BoundingRectForGlyphRange_InTextContainer(glyphRange foundation.Range, container ITextContainer) foundation.Rect

func (LayoutManager) BoundsRectForTextBlock_AtIndex_EffectiveRange added in v0.13.4

func (l_ LayoutManager) BoundsRectForTextBlock_AtIndex_EffectiveRange(block ITextBlock, glyphIndex uint, effectiveGlyphRange *foundation.Range) foundation.Rect

func (LayoutManager) BoundsRectForTextBlock_GlyphRange

func (l_ LayoutManager) BoundsRectForTextBlock_GlyphRange(block ITextBlock, glyphRange foundation.Range) foundation.Rect

func (LayoutManager) CGGlyphAtIndex added in v0.13.6

func (l_ LayoutManager) CGGlyphAtIndex(glyphIndex uint) coregraphics.Glyph

func (LayoutManager) CGGlyphAtIndex_IsValidIndex added in v0.13.6

func (l_ LayoutManager) CGGlyphAtIndex_IsValidIndex(glyphIndex uint, isValidIndex *bool) coregraphics.Glyph

func (LayoutManager) CharacterIndexForGlyphAtIndex

func (l_ LayoutManager) CharacterIndexForGlyphAtIndex(glyphIndex uint) uint

func (LayoutManager) CharacterIndexForPoint_InTextContainer_FractionOfDistanceBetweenInsertionPoints added in v0.13.4

func (l_ LayoutManager) CharacterIndexForPoint_InTextContainer_FractionOfDistanceBetweenInsertionPoints(point foundation.Point, container ITextContainer, partialFraction *float64) uint

func (LayoutManager) CharacterRangeForGlyphRange_ActualGlyphRange added in v0.13.4

func (l_ LayoutManager) CharacterRangeForGlyphRange_ActualGlyphRange(glyphRange foundation.Range, actualGlyphRange *foundation.Range) foundation.Range

func (LayoutManager) DefaultAttachmentScaling

func (l_ LayoutManager) DefaultAttachmentScaling() ImageScaling

func (LayoutManager) DefaultBaselineOffsetForFont

func (l_ LayoutManager) DefaultBaselineOffsetForFont(theFont IFont) float64

func (LayoutManager) DefaultLineHeightForFont

func (l_ LayoutManager) DefaultLineHeightForFont(theFont IFont) float64

func (LayoutManager) Delegate

func (l_ LayoutManager) Delegate() objc.Object

weak property

func (LayoutManager) DeleteGlyphsInRange added in v0.14.5

func (l_ LayoutManager) DeleteGlyphsInRange(glyphRange foundation.Range)

deprecated

func (LayoutManager) DrawBackgroundForGlyphRange_AtPoint

func (l_ LayoutManager) DrawBackgroundForGlyphRange_AtPoint(glyphsToShow foundation.Range, origin foundation.Point)

func (LayoutManager) DrawGlyphsForGlyphRange_AtPoint

func (l_ LayoutManager) DrawGlyphsForGlyphRange_AtPoint(glyphsToShow foundation.Range, origin foundation.Point)

func (LayoutManager) DrawStrikethroughForGlyphRange_StrikethroughType_BaselineOffset_LineFragmentRect_LineFragmentGlyphRange_ContainerOrigin

func (l_ LayoutManager) DrawStrikethroughForGlyphRange_StrikethroughType_BaselineOffset_LineFragmentRect_LineFragmentGlyphRange_ContainerOrigin(glyphRange foundation.Range, strikethroughVal UnderlineStyle, baselineOffset float64, lineRect foundation.Rect, lineGlyphRange foundation.Range, containerOrigin foundation.Point)

func (LayoutManager) DrawUnderlineForGlyphRange_UnderlineType_BaselineOffset_LineFragmentRect_LineFragmentGlyphRange_ContainerOrigin

func (l_ LayoutManager) DrawUnderlineForGlyphRange_UnderlineType_BaselineOffset_LineFragmentRect_LineFragmentGlyphRange_ContainerOrigin(glyphRange foundation.Range, underlineVal UnderlineStyle, baselineOffset float64, lineRect foundation.Rect, lineGlyphRange foundation.Range, containerOrigin foundation.Point)

func (LayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex

func (l_ LayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex(glyphIndex uint) bool

func (LayoutManager) EnsureGlyphsForCharacterRange

func (l_ LayoutManager) EnsureGlyphsForCharacterRange(charRange foundation.Range)

func (LayoutManager) EnsureGlyphsForGlyphRange

func (l_ LayoutManager) EnsureGlyphsForGlyphRange(glyphRange foundation.Range)

func (LayoutManager) EnsureLayoutForBoundingRect_InTextContainer

func (l_ LayoutManager) EnsureLayoutForBoundingRect_InTextContainer(bounds foundation.Rect, container ITextContainer)

func (LayoutManager) EnsureLayoutForCharacterRange

func (l_ LayoutManager) EnsureLayoutForCharacterRange(charRange foundation.Range)

func (LayoutManager) EnsureLayoutForGlyphRange

func (l_ LayoutManager) EnsureLayoutForGlyphRange(glyphRange foundation.Range)

func (LayoutManager) EnsureLayoutForTextContainer

func (l_ LayoutManager) EnsureLayoutForTextContainer(container ITextContainer)

func (LayoutManager) EnumerateEnclosingRectsForGlyphRange_WithinSelectedGlyphRange_InTextContainer_UsingBlock added in v0.13.4

func (l_ LayoutManager) EnumerateEnclosingRectsForGlyphRange_WithinSelectedGlyphRange_InTextContainer_UsingBlock(glyphRange foundation.Range, selectedRange foundation.Range, textContainer ITextContainer, block func(rect foundation.Rect, stop *bool))

func (LayoutManager) EnumerateLineFragmentsForGlyphRange_UsingBlock added in v0.13.4

func (l_ LayoutManager) EnumerateLineFragmentsForGlyphRange_UsingBlock(glyphRange foundation.Range, block func(rect foundation.Rect, usedRect foundation.Rect, textContainer TextContainer, glyphRange foundation.Range, stop *bool))

func (LayoutManager) ExtraLineFragmentRect

func (l_ LayoutManager) ExtraLineFragmentRect() foundation.Rect

func (LayoutManager) ExtraLineFragmentTextContainer

func (l_ LayoutManager) ExtraLineFragmentTextContainer() TextContainer

func (LayoutManager) ExtraLineFragmentUsedRect

func (l_ LayoutManager) ExtraLineFragmentUsedRect() foundation.Rect

func (LayoutManager) FillBackgroundRectArray_Count_ForCharacterRange_Color added in v0.13.3

func (l_ LayoutManager) FillBackgroundRectArray_Count_ForCharacterRange_Color(rectArray *foundation.Rect, rectCount uint, charRange foundation.Range, color IColor)

func (LayoutManager) FirstTextView

func (l_ LayoutManager) FirstTextView() TextView

weak property

func (LayoutManager) FirstUnlaidCharacterIndex

func (l_ LayoutManager) FirstUnlaidCharacterIndex() uint

func (LayoutManager) FirstUnlaidGlyphIndex

func (l_ LayoutManager) FirstUnlaidGlyphIndex() uint

func (LayoutManager) FractionOfDistanceThroughGlyphForPoint_InTextContainer

func (l_ LayoutManager) FractionOfDistanceThroughGlyphForPoint_InTextContainer(point foundation.Point, container ITextContainer) float64

func (LayoutManager) GetFirstUnlaidCharacterIndex_GlyphIndex added in v0.13.4

func (l_ LayoutManager) GetFirstUnlaidCharacterIndex_GlyphIndex(charIndex *uint, glyphIndex *uint)

func (LayoutManager) GetGlyphsInRange_Glyphs_CharacterIndexes_GlyphInscriptions_ElasticBits added in v0.14.5

func (l_ LayoutManager) GetGlyphsInRange_Glyphs_CharacterIndexes_GlyphInscriptions_ElasticBits(glyphRange foundation.Range, glyphBuffer *Glyph, charIndexBuffer *uint, inscribeBuffer *GlyphInscription, elasticBuffer *bool) uint

deprecated

func (LayoutManager) GetGlyphsInRange_Glyphs_CharacterIndexes_GlyphInscriptions_ElasticBits_BidiLevels added in v0.14.5

func (l_ LayoutManager) GetGlyphsInRange_Glyphs_CharacterIndexes_GlyphInscriptions_ElasticBits_BidiLevels(glyphRange foundation.Range, glyphBuffer *Glyph, charIndexBuffer *uint, inscribeBuffer *GlyphInscription, elasticBuffer *bool, bidiLevelBuffer *byte) uint

deprecated

func (LayoutManager) GetGlyphsInRange_Glyphs_Properties_CharacterIndexes_BidiLevels added in v0.13.6

func (l_ LayoutManager) GetGlyphsInRange_Glyphs_Properties_CharacterIndexes_BidiLevels(glyphRange foundation.Range, glyphBuffer *coregraphics.Glyph, props *GlyphProperty, charIndexBuffer *uint, bidiLevelBuffer *byte) uint

func (LayoutManager) GetGlyphs_Range added in v0.14.5

func (l_ LayoutManager) GetGlyphs_Range(glyphArray *Glyph, glyphRange foundation.Range) uint

deprecated

func (LayoutManager) GetLineFragmentInsertionPointsForCharacterAtIndex_AlternatePositions_InDisplayOrder_Positions_CharacterIndexes added in v0.13.4

func (l_ LayoutManager) GetLineFragmentInsertionPointsForCharacterAtIndex_AlternatePositions_InDisplayOrder_Positions_CharacterIndexes(charIndex uint, aFlag bool, dFlag bool, positions *float64, charIndexes *uint) uint

func (LayoutManager) GlyphAtIndex added in v0.14.5

func (l_ LayoutManager) GlyphAtIndex(glyphIndex uint) Glyph

deprecated

func (LayoutManager) GlyphAtIndex_IsValidIndex added in v0.14.5

func (l_ LayoutManager) GlyphAtIndex_IsValidIndex(glyphIndex uint, isValidIndex *bool) Glyph

deprecated

func (LayoutManager) GlyphGenerator

func (l_ LayoutManager) GlyphGenerator() GlyphGenerator

func (LayoutManager) GlyphIndexForCharacterAtIndex

func (l_ LayoutManager) GlyphIndexForCharacterAtIndex(charIndex uint) uint

func (LayoutManager) GlyphIndexForPoint_InTextContainer

func (l_ LayoutManager) GlyphIndexForPoint_InTextContainer(point foundation.Point, container ITextContainer) uint

func (LayoutManager) GlyphIndexForPoint_InTextContainer_FractionOfDistanceThroughGlyph added in v0.13.4

func (l_ LayoutManager) GlyphIndexForPoint_InTextContainer_FractionOfDistanceThroughGlyph(point foundation.Point, container ITextContainer, partialFraction *float64) uint

func (LayoutManager) GlyphRangeForBoundingRectWithoutAdditionalLayout_InTextContainer

func (l_ LayoutManager) GlyphRangeForBoundingRectWithoutAdditionalLayout_InTextContainer(bounds foundation.Rect, container ITextContainer) foundation.Range

func (LayoutManager) GlyphRangeForBoundingRect_InTextContainer

func (l_ LayoutManager) GlyphRangeForBoundingRect_InTextContainer(bounds foundation.Rect, container ITextContainer) foundation.Range

func (LayoutManager) GlyphRangeForCharacterRange_ActualCharacterRange added in v0.13.4

func (l_ LayoutManager) GlyphRangeForCharacterRange_ActualCharacterRange(charRange foundation.Range, actualCharRange *foundation.Range) foundation.Range

func (LayoutManager) GlyphRangeForTextContainer

func (l_ LayoutManager) GlyphRangeForTextContainer(container ITextContainer) foundation.Range

func (LayoutManager) HasNonContiguousLayout

func (l_ LayoutManager) HasNonContiguousLayout() bool

func (LayoutManager) HyphenationFactor added in v0.14.5

func (l_ LayoutManager) HyphenationFactor() float32

deprecated

func (LayoutManager) Init added in v0.11.0

func (l_ LayoutManager) Init() LayoutManager

func (LayoutManager) InsertGlyph_AtGlyphIndex_CharacterIndex added in v0.14.5

func (l_ LayoutManager) InsertGlyph_AtGlyphIndex_CharacterIndex(glyph Glyph, glyphIndex uint, charIndex uint)

deprecated

func (LayoutManager) InsertGlyphs_Length_ForStartingGlyphAtIndex_CharacterIndex added in v0.14.5

func (l_ LayoutManager) InsertGlyphs_Length_ForStartingGlyphAtIndex_CharacterIndex(glyphs *Glyph, length uint, glyphIndex uint, charIndex uint)

deprecated

func (LayoutManager) InsertTextContainer_AtIndex

func (l_ LayoutManager) InsertTextContainer_AtIndex(container ITextContainer, index uint)

func (LayoutManager) IntAttribute_ForGlyphAtIndex added in v0.14.5

func (l_ LayoutManager) IntAttribute_ForGlyphAtIndex(attributeTag int, glyphIndex uint) int

deprecated

func (LayoutManager) InvalidateDisplayForCharacterRange

func (l_ LayoutManager) InvalidateDisplayForCharacterRange(charRange foundation.Range)

func (LayoutManager) InvalidateDisplayForGlyphRange

func (l_ LayoutManager) InvalidateDisplayForGlyphRange(glyphRange foundation.Range)

func (LayoutManager) InvalidateGlyphsForCharacterRange_ChangeInLength_ActualCharacterRange added in v0.13.4

func (l_ LayoutManager) InvalidateGlyphsForCharacterRange_ChangeInLength_ActualCharacterRange(charRange foundation.Range, delta int, actualCharRange *foundation.Range)

func (LayoutManager) InvalidateGlyphsOnLayoutInvalidationForGlyphRange added in v0.14.5

func (l_ LayoutManager) InvalidateGlyphsOnLayoutInvalidationForGlyphRange(glyphRange foundation.Range)

deprecated

func (LayoutManager) InvalidateLayoutForCharacterRange_ActualCharacterRange added in v0.13.4

func (l_ LayoutManager) InvalidateLayoutForCharacterRange_ActualCharacterRange(charRange foundation.Range, actualCharRange *foundation.Range)

func (LayoutManager) InvalidateLayoutForCharacterRange_IsSoft_ActualCharacterRange added in v0.14.5

func (l_ LayoutManager) InvalidateLayoutForCharacterRange_IsSoft_ActualCharacterRange(charRange foundation.Range, flag bool, actualCharRange *foundation.Range)

deprecated

func (LayoutManager) IsValidGlyphIndex

func (l_ LayoutManager) IsValidGlyphIndex(glyphIndex uint) bool

func (LayoutManager) LayoutManagerOwnsFirstResponderInWindow

func (l_ LayoutManager) LayoutManagerOwnsFirstResponderInWindow(window IWindow) bool

func (LayoutManager) LayoutRectForTextBlock_AtIndex_EffectiveRange added in v0.13.4

func (l_ LayoutManager) LayoutRectForTextBlock_AtIndex_EffectiveRange(block ITextBlock, glyphIndex uint, effectiveGlyphRange *foundation.Range) foundation.Rect

func (LayoutManager) LayoutRectForTextBlock_GlyphRange

func (l_ LayoutManager) LayoutRectForTextBlock_GlyphRange(block ITextBlock, glyphRange foundation.Range) foundation.Rect

func (LayoutManager) LimitsLayoutForSuspiciousContents

func (l_ LayoutManager) LimitsLayoutForSuspiciousContents() bool

func (LayoutManager) LineFragmentRectForGlyphAtIndex_EffectiveRange added in v0.13.4

func (l_ LayoutManager) LineFragmentRectForGlyphAtIndex_EffectiveRange(glyphIndex uint, effectiveGlyphRange *foundation.Range) foundation.Rect

func (LayoutManager) LineFragmentRectForGlyphAtIndex_EffectiveRange_WithoutAdditionalLayout added in v0.13.4

func (l_ LayoutManager) LineFragmentRectForGlyphAtIndex_EffectiveRange_WithoutAdditionalLayout(glyphIndex uint, effectiveGlyphRange *foundation.Range, flag bool) foundation.Rect

func (LayoutManager) LineFragmentUsedRectForGlyphAtIndex_EffectiveRange added in v0.13.4

func (l_ LayoutManager) LineFragmentUsedRectForGlyphAtIndex_EffectiveRange(glyphIndex uint, effectiveGlyphRange *foundation.Range) foundation.Rect

func (LayoutManager) LineFragmentUsedRectForGlyphAtIndex_EffectiveRange_WithoutAdditionalLayout added in v0.13.4

func (l_ LayoutManager) LineFragmentUsedRectForGlyphAtIndex_EffectiveRange_WithoutAdditionalLayout(glyphIndex uint, effectiveGlyphRange *foundation.Range, flag bool) foundation.Rect

func (LayoutManager) LocationForGlyphAtIndex

func (l_ LayoutManager) LocationForGlyphAtIndex(glyphIndex uint) foundation.Point

func (LayoutManager) NotShownAttributeForGlyphAtIndex

func (l_ LayoutManager) NotShownAttributeForGlyphAtIndex(glyphIndex uint) bool

func (LayoutManager) NumberOfGlyphs

func (l_ LayoutManager) NumberOfGlyphs() uint

func (LayoutManager) ProcessEditingForTextStorage_Edited_Range_ChangeInLength_InvalidatedRange

func (l_ LayoutManager) ProcessEditingForTextStorage_Edited_Range_ChangeInLength_InvalidatedRange(textStorage ITextStorage, editMask TextStorageEditActions, newCharRange foundation.Range, delta int, invalidatedCharRange foundation.Range)

func (LayoutManager) PropertyForGlyphAtIndex

func (l_ LayoutManager) PropertyForGlyphAtIndex(glyphIndex uint) GlyphProperty

func (LayoutManager) RangeOfNominallySpacedGlyphsContainingIndex

func (l_ LayoutManager) RangeOfNominallySpacedGlyphsContainingIndex(glyphIndex uint) foundation.Range

func (LayoutManager) RectArrayForCharacterRange_WithinSelectedCharacterRange_InTextContainer_RectCount added in v0.14.5

func (l_ LayoutManager) RectArrayForCharacterRange_WithinSelectedCharacterRange_InTextContainer_RectCount(charRange foundation.Range, selCharRange foundation.Range, container ITextContainer, rectCount *uint) *foundation.Rect

deprecated

func (LayoutManager) RectArrayForGlyphRange_WithinSelectedGlyphRange_InTextContainer_RectCount added in v0.14.5

func (l_ LayoutManager) RectArrayForGlyphRange_WithinSelectedGlyphRange_InTextContainer_RectCount(glyphRange foundation.Range, selGlyphRange foundation.Range, container ITextContainer, rectCount *uint) *foundation.Rect

deprecated

func (LayoutManager) RemoveTemporaryAttribute_ForCharacterRange

func (l_ LayoutManager) RemoveTemporaryAttribute_ForCharacterRange(attrName foundation.AttributedStringKey, charRange foundation.Range)

func (LayoutManager) RemoveTextContainerAtIndex

func (l_ LayoutManager) RemoveTextContainerAtIndex(index uint)

func (LayoutManager) ReplaceGlyphAtIndex_WithGlyph added in v0.14.5

func (l_ LayoutManager) ReplaceGlyphAtIndex_WithGlyph(glyphIndex uint, newGlyph Glyph)

deprecated

func (LayoutManager) ReplaceTextStorage

func (l_ LayoutManager) ReplaceTextStorage(newTextStorage ITextStorage)

func (LayoutManager) RulerAccessoryViewForTextView_ParagraphStyle_Ruler_Enabled

func (l_ LayoutManager) RulerAccessoryViewForTextView_ParagraphStyle_Ruler_Enabled(view ITextView, style IParagraphStyle, ruler IRulerView, isEnabled bool) View

func (LayoutManager) RulerMarkersForTextView_ParagraphStyle_Ruler

func (l_ LayoutManager) RulerMarkersForTextView_ParagraphStyle_Ruler(view ITextView, style IParagraphStyle, ruler IRulerView) []RulerMarker

func (LayoutManager) SetAllowsNonContiguousLayout

func (l_ LayoutManager) SetAllowsNonContiguousLayout(value bool)

func (LayoutManager) SetAttachmentSize_ForGlyphRange

func (l_ LayoutManager) SetAttachmentSize_ForGlyphRange(attachmentSize foundation.Size, glyphRange foundation.Range)

func (LayoutManager) SetBackgroundLayoutEnabled

func (l_ LayoutManager) SetBackgroundLayoutEnabled(value bool)

func (LayoutManager) SetBoundsRect_ForTextBlock_GlyphRange

func (l_ LayoutManager) SetBoundsRect_ForTextBlock_GlyphRange(rect foundation.Rect, block ITextBlock, glyphRange foundation.Range)

func (LayoutManager) SetCharacterIndex_ForGlyphAtIndex added in v0.14.5

func (l_ LayoutManager) SetCharacterIndex_ForGlyphAtIndex(charIndex uint, glyphIndex uint)

deprecated

func (LayoutManager) SetDefaultAttachmentScaling

func (l_ LayoutManager) SetDefaultAttachmentScaling(value ImageScaling)

func (LayoutManager) SetDelegate

func (l_ LayoutManager) SetDelegate(value objc.IObject)

weak property

func (LayoutManager) SetDrawsOutsideLineFragment_ForGlyphAtIndex

func (l_ LayoutManager) SetDrawsOutsideLineFragment_ForGlyphAtIndex(flag bool, glyphIndex uint)

func (LayoutManager) SetExtraLineFragmentRect_UsedRect_TextContainer

func (l_ LayoutManager) SetExtraLineFragmentRect_UsedRect_TextContainer(fragmentRect foundation.Rect, usedRect foundation.Rect, container ITextContainer)

func (LayoutManager) SetGlyphGenerator

func (l_ LayoutManager) SetGlyphGenerator(value IGlyphGenerator)

func (LayoutManager) SetGlyphs_Properties_CharacterIndexes_Font_ForGlyphRange added in v0.13.6

func (l_ LayoutManager) SetGlyphs_Properties_CharacterIndexes_Font_ForGlyphRange(glyphs *coregraphics.Glyph, props *GlyphProperty, charIndexes *uint, aFont IFont, glyphRange foundation.Range)

func (LayoutManager) SetHyphenationFactor added in v0.14.5

func (l_ LayoutManager) SetHyphenationFactor(value float32)

deprecated

func (LayoutManager) SetIntAttribute_Value_ForGlyphAtIndex added in v0.14.5

func (l_ LayoutManager) SetIntAttribute_Value_ForGlyphAtIndex(attributeTag int, val int, glyphIndex uint)

deprecated

func (LayoutManager) SetLayoutRect_ForTextBlock_GlyphRange

func (l_ LayoutManager) SetLayoutRect_ForTextBlock_GlyphRange(rect foundation.Rect, block ITextBlock, glyphRange foundation.Range)

func (LayoutManager) SetLimitsLayoutForSuspiciousContents

func (l_ LayoutManager) SetLimitsLayoutForSuspiciousContents(value bool)

func (LayoutManager) SetLineFragmentRect_ForGlyphRange_UsedRect

func (l_ LayoutManager) SetLineFragmentRect_ForGlyphRange_UsedRect(fragmentRect foundation.Rect, glyphRange foundation.Range, usedRect foundation.Rect)

func (LayoutManager) SetLocation_ForStartOfGlyphRange

func (l_ LayoutManager) SetLocation_ForStartOfGlyphRange(location foundation.Point, glyphRange foundation.Range)

func (LayoutManager) SetLocations_StartingGlyphIndexes_Count_ForGlyphRange added in v0.14.5

func (l_ LayoutManager) SetLocations_StartingGlyphIndexes_Count_ForGlyphRange(locations *foundation.Point, glyphIndexes *uint, count uint, glyphRange foundation.Range)

deprecated

func (LayoutManager) SetNotShownAttribute_ForGlyphAtIndex

func (l_ LayoutManager) SetNotShownAttribute_ForGlyphAtIndex(flag bool, glyphIndex uint)

func (LayoutManager) SetShowsControlCharacters

func (l_ LayoutManager) SetShowsControlCharacters(value bool)

func (LayoutManager) SetShowsInvisibleCharacters

func (l_ LayoutManager) SetShowsInvisibleCharacters(value bool)

func (LayoutManager) SetTemporaryAttributes_ForCharacterRange

func (l_ LayoutManager) SetTemporaryAttributes_ForCharacterRange(attrs map[foundation.AttributedStringKey]objc.IObject, charRange foundation.Range)

func (LayoutManager) SetTextContainer_ForGlyphRange

func (l_ LayoutManager) SetTextContainer_ForGlyphRange(container ITextContainer, glyphRange foundation.Range)

func (LayoutManager) SetTextStorage

func (l_ LayoutManager) SetTextStorage(value ITextStorage)

weak property

func (LayoutManager) SetTypesetter

func (l_ LayoutManager) SetTypesetter(value ITypesetter)

func (LayoutManager) SetTypesetterBehavior

func (l_ LayoutManager) SetTypesetterBehavior(value TypesetterBehavior)

func (LayoutManager) SetUsesDefaultHyphenation

func (l_ LayoutManager) SetUsesDefaultHyphenation(value bool)

func (LayoutManager) SetUsesFontLeading

func (l_ LayoutManager) SetUsesFontLeading(value bool)

func (LayoutManager) SetUsesScreenFonts added in v0.14.5

func (l_ LayoutManager) SetUsesScreenFonts(value bool)

deprecated

func (LayoutManager) ShowAttachmentCell_InRect_CharacterIndex

func (l_ LayoutManager) ShowAttachmentCell_InRect_CharacterIndex(cell ICell, rect foundation.Rect, attachmentIndex uint)

func (LayoutManager) ShowCGGlyphs_Positions_Count_Font_Matrix_Attributes_InContext added in v0.14.5

func (l_ LayoutManager) ShowCGGlyphs_Positions_Count_Font_Matrix_Attributes_InContext(glyphs *coregraphics.Glyph, positions *foundation.Point, glyphCount uint, font IFont, textMatrix foundation.IAffineTransform, attributes map[foundation.AttributedStringKey]objc.IObject, graphicsContext IGraphicsContext)

deprecated

func (LayoutManager) ShowCGGlyphs_Positions_Count_Font_TextMatrix_Attributes_InContext added in v0.13.6

func (l_ LayoutManager) ShowCGGlyphs_Positions_Count_Font_TextMatrix_Attributes_InContext(glyphs *coregraphics.Glyph, positions *coregraphics.Point, glyphCount int, font IFont, textMatrix coregraphics.AffineTransform, attributes map[foundation.AttributedStringKey]objc.IObject, CGContext coregraphics.ContextRef)

func (LayoutManager) ShowPackedGlyphs_Length_GlyphRange_AtPoint_Font_Color_PrintingAdjustment added in v0.14.5

func (l_ LayoutManager) ShowPackedGlyphs_Length_GlyphRange_AtPoint_Font_Color_PrintingAdjustment(glyphs *byte, glyphLen uint, glyphRange foundation.Range, point foundation.Point, font IFont, color IColor, printingAdjustment foundation.Size)

deprecated

func (LayoutManager) ShowsControlCharacters

func (l_ LayoutManager) ShowsControlCharacters() bool

func (LayoutManager) ShowsInvisibleCharacters

func (l_ LayoutManager) ShowsInvisibleCharacters() bool

func (LayoutManager) StrikethroughGlyphRange_StrikethroughType_LineFragmentRect_LineFragmentGlyphRange_ContainerOrigin

func (l_ LayoutManager) StrikethroughGlyphRange_StrikethroughType_LineFragmentRect_LineFragmentGlyphRange_ContainerOrigin(glyphRange foundation.Range, strikethroughVal UnderlineStyle, lineRect foundation.Rect, lineGlyphRange foundation.Range, containerOrigin foundation.Point)

func (LayoutManager) SubstituteFontForFont added in v0.14.5

func (l_ LayoutManager) SubstituteFontForFont(originalFont IFont) Font

deprecated

func (LayoutManager) TemporaryAttribute_AtCharacterIndex_EffectiveRange added in v0.13.4

func (l_ LayoutManager) TemporaryAttribute_AtCharacterIndex_EffectiveRange(attrName foundation.AttributedStringKey, location uint, range_ *foundation.Range) objc.Object

func (LayoutManager) TemporaryAttribute_AtCharacterIndex_LongestEffectiveRange_InRange added in v0.13.4

func (l_ LayoutManager) TemporaryAttribute_AtCharacterIndex_LongestEffectiveRange_InRange(attrName foundation.AttributedStringKey, location uint, range_ *foundation.Range, rangeLimit foundation.Range) objc.Object

func (LayoutManager) TemporaryAttributesAtCharacterIndex_EffectiveRange added in v0.13.4

func (l_ LayoutManager) TemporaryAttributesAtCharacterIndex_EffectiveRange(charIndex uint, effectiveCharRange *foundation.Range) map[foundation.AttributedStringKey]objc.Object

func (LayoutManager) TemporaryAttributesAtCharacterIndex_LongestEffectiveRange_InRange added in v0.13.4

func (l_ LayoutManager) TemporaryAttributesAtCharacterIndex_LongestEffectiveRange_InRange(location uint, range_ *foundation.Range, rangeLimit foundation.Range) map[foundation.AttributedStringKey]objc.Object

func (LayoutManager) TextContainerChangedGeometry

func (l_ LayoutManager) TextContainerChangedGeometry(container ITextContainer)

func (LayoutManager) TextContainerChangedTextView

func (l_ LayoutManager) TextContainerChangedTextView(container ITextContainer)

func (LayoutManager) TextContainerForGlyphAtIndex_EffectiveRange added in v0.13.4

func (l_ LayoutManager) TextContainerForGlyphAtIndex_EffectiveRange(glyphIndex uint, effectiveGlyphRange *foundation.Range) TextContainer

func (LayoutManager) TextContainerForGlyphAtIndex_EffectiveRange_WithoutAdditionalLayout added in v0.13.4

func (l_ LayoutManager) TextContainerForGlyphAtIndex_EffectiveRange_WithoutAdditionalLayout(glyphIndex uint, effectiveGlyphRange *foundation.Range, flag bool) TextContainer

func (LayoutManager) TextContainers

func (l_ LayoutManager) TextContainers() []TextContainer

func (LayoutManager) TextStorage

func (l_ LayoutManager) TextStorage() TextStorage

weak property

func (LayoutManager) TextStorage_Edited_Range_ChangeInLength_InvalidatedRange added in v0.14.5

func (l_ LayoutManager) TextStorage_Edited_Range_ChangeInLength_InvalidatedRange(str ITextStorage, editedMask TextStorageEditedOptions, newCharRange foundation.Range, delta int, invalidatedCharRange foundation.Range)

deprecated

func (LayoutManager) TextViewForBeginningOfSelection

func (l_ LayoutManager) TextViewForBeginningOfSelection() TextView

weak property

func (LayoutManager) TruncatedGlyphRangeInLineFragmentForGlyphAtIndex

func (l_ LayoutManager) TruncatedGlyphRangeInLineFragmentForGlyphAtIndex(glyphIndex uint) foundation.Range

func (LayoutManager) Typesetter

func (l_ LayoutManager) Typesetter() Typesetter

func (LayoutManager) TypesetterBehavior

func (l_ LayoutManager) TypesetterBehavior() TypesetterBehavior

func (LayoutManager) UnderlineGlyphRange_UnderlineType_LineFragmentRect_LineFragmentGlyphRange_ContainerOrigin

func (l_ LayoutManager) UnderlineGlyphRange_UnderlineType_LineFragmentRect_LineFragmentGlyphRange_ContainerOrigin(glyphRange foundation.Range, underlineVal UnderlineStyle, lineRect foundation.Rect, lineGlyphRange foundation.Range, containerOrigin foundation.Point)

func (LayoutManager) UsedRectForTextContainer

func (l_ LayoutManager) UsedRectForTextContainer(container ITextContainer) foundation.Rect

func (LayoutManager) UsesDefaultHyphenation

func (l_ LayoutManager) UsesDefaultHyphenation() bool

func (LayoutManager) UsesFontLeading

func (l_ LayoutManager) UsesFontLeading() bool

func (LayoutManager) UsesScreenFonts added in v0.14.5

func (l_ LayoutManager) UsesScreenFonts() bool

deprecated

type LayoutManagerDelegate added in v0.13.0

type LayoutManagerDelegate interface {
	ImplementsLayoutManagerDidInvalidateLayout() bool
	// optional
	LayoutManagerDidInvalidateLayout(sender LayoutManager)
	ImplementsLayoutManager_ShouldGenerateGlyphs_Properties_CharacterIndexes_Font_ForGlyphRange() bool
	// optional
	LayoutManager_ShouldGenerateGlyphs_Properties_CharacterIndexes_Font_ForGlyphRange(layoutManager LayoutManager, glyphs *coregraphics.Glyph, props *GlyphProperty, charIndexes *uint, aFont Font, glyphRange foundation.Range) uint
	ImplementsLayoutManager_ShouldUseAction_ForControlCharacterAtIndex() bool
	// optional
	LayoutManager_ShouldUseAction_ForControlCharacterAtIndex(layoutManager LayoutManager, action ControlCharacterAction, charIndex uint) ControlCharacterAction
	ImplementsLayoutManager_DidCompleteLayoutForTextContainer_AtEnd() bool
	// optional
	LayoutManager_DidCompleteLayoutForTextContainer_AtEnd(layoutManager LayoutManager, textContainer TextContainer, layoutFinishedFlag bool)
	ImplementsLayoutManager_TextContainer_DidChangeGeometryFromSize() bool
	// optional
	LayoutManager_TextContainer_DidChangeGeometryFromSize(layoutManager LayoutManager, textContainer TextContainer, oldSize foundation.Size)
	ImplementsLayoutManager_ShouldBreakLineByHyphenatingBeforeCharacterAtIndex() bool
	// optional
	LayoutManager_ShouldBreakLineByHyphenatingBeforeCharacterAtIndex(layoutManager LayoutManager, charIndex uint) bool
	ImplementsLayoutManager_ShouldBreakLineByWordBeforeCharacterAtIndex() bool
	// optional
	LayoutManager_ShouldBreakLineByWordBeforeCharacterAtIndex(layoutManager LayoutManager, charIndex uint) bool
	ImplementsLayoutManager_LineSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect() bool
	// optional
	LayoutManager_LineSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect(layoutManager LayoutManager, glyphIndex uint, rect foundation.Rect) float64
	ImplementsLayoutManager_ParagraphSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect() bool
	// optional
	LayoutManager_ParagraphSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect(layoutManager LayoutManager, glyphIndex uint, rect foundation.Rect) float64
	ImplementsLayoutManager_ParagraphSpacingBeforeGlyphAtIndex_WithProposedLineFragmentRect() bool
	// optional
	LayoutManager_ParagraphSpacingBeforeGlyphAtIndex_WithProposedLineFragmentRect(layoutManager LayoutManager, glyphIndex uint, rect foundation.Rect) float64
	ImplementsLayoutManager_BoundingBoxForControlGlyphAtIndex_ForTextContainer_ProposedLineFragment_GlyphPosition_CharacterIndex() bool
	// optional
	LayoutManager_BoundingBoxForControlGlyphAtIndex_ForTextContainer_ProposedLineFragment_GlyphPosition_CharacterIndex(layoutManager LayoutManager, glyphIndex uint, textContainer TextContainer, proposedRect foundation.Rect, glyphPosition foundation.Point, charIndex uint) foundation.Rect
	ImplementsLayoutManager_ShouldUseTemporaryAttributes_ForDrawingToScreen_AtCharacterIndex_EffectiveRange() bool
	// optional
	LayoutManager_ShouldUseTemporaryAttributes_ForDrawingToScreen_AtCharacterIndex_EffectiveRange(layoutManager LayoutManager, attrs map[foundation.AttributedStringKey]objc.Object, toScreen bool, charIndex uint, effectiveCharRange *foundation.Range) map[foundation.AttributedStringKey]objc.IObject
}

type LayoutManagerDelegateBase added in v0.18.0

type LayoutManagerDelegateBase struct {
}

func (*LayoutManagerDelegateBase) ImplementsLayoutManagerDidInvalidateLayout added in v0.18.0

func (p *LayoutManagerDelegateBase) ImplementsLayoutManagerDidInvalidateLayout() bool

func (*LayoutManagerDelegateBase) ImplementsLayoutManager_BoundingBoxForControlGlyphAtIndex_ForTextContainer_ProposedLineFragment_GlyphPosition_CharacterIndex added in v0.18.0

func (p *LayoutManagerDelegateBase) ImplementsLayoutManager_BoundingBoxForControlGlyphAtIndex_ForTextContainer_ProposedLineFragment_GlyphPosition_CharacterIndex() bool

func (*LayoutManagerDelegateBase) ImplementsLayoutManager_DidCompleteLayoutForTextContainer_AtEnd added in v0.18.0

func (p *LayoutManagerDelegateBase) ImplementsLayoutManager_DidCompleteLayoutForTextContainer_AtEnd() bool

func (*LayoutManagerDelegateBase) ImplementsLayoutManager_LineSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect added in v0.18.0

func (p *LayoutManagerDelegateBase) ImplementsLayoutManager_LineSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect() bool

func (*LayoutManagerDelegateBase) ImplementsLayoutManager_ParagraphSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect added in v0.18.0

func (p *LayoutManagerDelegateBase) ImplementsLayoutManager_ParagraphSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect() bool

func (*LayoutManagerDelegateBase) ImplementsLayoutManager_ParagraphSpacingBeforeGlyphAtIndex_WithProposedLineFragmentRect added in v0.18.0

func (p *LayoutManagerDelegateBase) ImplementsLayoutManager_ParagraphSpacingBeforeGlyphAtIndex_WithProposedLineFragmentRect() bool

func (*LayoutManagerDelegateBase) ImplementsLayoutManager_ShouldBreakLineByHyphenatingBeforeCharacterAtIndex added in v0.18.0

func (p *LayoutManagerDelegateBase) ImplementsLayoutManager_ShouldBreakLineByHyphenatingBeforeCharacterAtIndex() bool

func (*LayoutManagerDelegateBase) ImplementsLayoutManager_ShouldBreakLineByWordBeforeCharacterAtIndex added in v0.18.0

func (p *LayoutManagerDelegateBase) ImplementsLayoutManager_ShouldBreakLineByWordBeforeCharacterAtIndex() bool

func (*LayoutManagerDelegateBase) ImplementsLayoutManager_ShouldGenerateGlyphs_Properties_CharacterIndexes_Font_ForGlyphRange added in v0.18.0

func (p *LayoutManagerDelegateBase) ImplementsLayoutManager_ShouldGenerateGlyphs_Properties_CharacterIndexes_Font_ForGlyphRange() bool

func (*LayoutManagerDelegateBase) ImplementsLayoutManager_ShouldUseAction_ForControlCharacterAtIndex added in v0.18.0

func (p *LayoutManagerDelegateBase) ImplementsLayoutManager_ShouldUseAction_ForControlCharacterAtIndex() bool

func (*LayoutManagerDelegateBase) ImplementsLayoutManager_ShouldUseTemporaryAttributes_ForDrawingToScreen_AtCharacterIndex_EffectiveRange added in v0.18.0

func (p *LayoutManagerDelegateBase) ImplementsLayoutManager_ShouldUseTemporaryAttributes_ForDrawingToScreen_AtCharacterIndex_EffectiveRange() bool

func (*LayoutManagerDelegateBase) ImplementsLayoutManager_TextContainer_DidChangeGeometryFromSize added in v0.18.0

func (p *LayoutManagerDelegateBase) ImplementsLayoutManager_TextContainer_DidChangeGeometryFromSize() bool

func (*LayoutManagerDelegateBase) LayoutManagerDidInvalidateLayout added in v0.18.0

func (p *LayoutManagerDelegateBase) LayoutManagerDidInvalidateLayout(sender LayoutManager)

func (*LayoutManagerDelegateBase) LayoutManager_BoundingBoxForControlGlyphAtIndex_ForTextContainer_ProposedLineFragment_GlyphPosition_CharacterIndex added in v0.18.0

func (p *LayoutManagerDelegateBase) LayoutManager_BoundingBoxForControlGlyphAtIndex_ForTextContainer_ProposedLineFragment_GlyphPosition_CharacterIndex(layoutManager LayoutManager, glyphIndex uint, textContainer TextContainer, proposedRect foundation.Rect, glyphPosition foundation.Point, charIndex uint) foundation.Rect

func (*LayoutManagerDelegateBase) LayoutManager_DidCompleteLayoutForTextContainer_AtEnd added in v0.18.0

func (p *LayoutManagerDelegateBase) LayoutManager_DidCompleteLayoutForTextContainer_AtEnd(layoutManager LayoutManager, textContainer TextContainer, layoutFinishedFlag bool)

func (*LayoutManagerDelegateBase) LayoutManager_LineSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect added in v0.18.0

func (p *LayoutManagerDelegateBase) LayoutManager_LineSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect(layoutManager LayoutManager, glyphIndex uint, rect foundation.Rect) float64

func (*LayoutManagerDelegateBase) LayoutManager_ParagraphSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect added in v0.18.0

func (p *LayoutManagerDelegateBase) LayoutManager_ParagraphSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect(layoutManager LayoutManager, glyphIndex uint, rect foundation.Rect) float64

func (*LayoutManagerDelegateBase) LayoutManager_ParagraphSpacingBeforeGlyphAtIndex_WithProposedLineFragmentRect added in v0.18.0

func (p *LayoutManagerDelegateBase) LayoutManager_ParagraphSpacingBeforeGlyphAtIndex_WithProposedLineFragmentRect(layoutManager LayoutManager, glyphIndex uint, rect foundation.Rect) float64

func (*LayoutManagerDelegateBase) LayoutManager_ShouldBreakLineByHyphenatingBeforeCharacterAtIndex added in v0.18.0

func (p *LayoutManagerDelegateBase) LayoutManager_ShouldBreakLineByHyphenatingBeforeCharacterAtIndex(layoutManager LayoutManager, charIndex uint) bool

func (*LayoutManagerDelegateBase) LayoutManager_ShouldBreakLineByWordBeforeCharacterAtIndex added in v0.18.0

func (p *LayoutManagerDelegateBase) LayoutManager_ShouldBreakLineByWordBeforeCharacterAtIndex(layoutManager LayoutManager, charIndex uint) bool

func (*LayoutManagerDelegateBase) LayoutManager_ShouldGenerateGlyphs_Properties_CharacterIndexes_Font_ForGlyphRange added in v0.18.0

func (p *LayoutManagerDelegateBase) LayoutManager_ShouldGenerateGlyphs_Properties_CharacterIndexes_Font_ForGlyphRange(layoutManager LayoutManager, glyphs *coregraphics.Glyph, props *GlyphProperty, charIndexes *uint, aFont Font, glyphRange foundation.Range) uint

func (*LayoutManagerDelegateBase) LayoutManager_ShouldUseAction_ForControlCharacterAtIndex added in v0.18.0

func (p *LayoutManagerDelegateBase) LayoutManager_ShouldUseAction_ForControlCharacterAtIndex(layoutManager LayoutManager, action ControlCharacterAction, charIndex uint) ControlCharacterAction

func (*LayoutManagerDelegateBase) LayoutManager_ShouldUseTemporaryAttributes_ForDrawingToScreen_AtCharacterIndex_EffectiveRange added in v0.18.0

func (p *LayoutManagerDelegateBase) LayoutManager_ShouldUseTemporaryAttributes_ForDrawingToScreen_AtCharacterIndex_EffectiveRange(layoutManager LayoutManager, attrs map[foundation.AttributedStringKey]objc.Object, toScreen bool, charIndex uint, effectiveCharRange *foundation.Range) map[foundation.AttributedStringKey]objc.IObject

func (*LayoutManagerDelegateBase) LayoutManager_TextContainer_DidChangeGeometryFromSize added in v0.18.0

func (p *LayoutManagerDelegateBase) LayoutManager_TextContainer_DidChangeGeometryFromSize(layoutManager LayoutManager, textContainer TextContainer, oldSize foundation.Size)

type LayoutManagerDelegateCreator added in v0.19.0

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

func NewLayoutManagerDelegateCreator added in v0.19.0

func NewLayoutManagerDelegateCreator(name string) *LayoutManagerDelegateCreator

func (*LayoutManagerDelegateCreator) Create added in v0.19.0

func (*LayoutManagerDelegateCreator) SetLayoutManagerDidInvalidateLayout added in v0.19.0

func (c *LayoutManagerDelegateCreator) SetLayoutManagerDidInvalidateLayout(handle func(o objc.ProtocolBase, sender LayoutManager))

func (*LayoutManagerDelegateCreator) SetLayoutManager_BoundingBoxForControlGlyphAtIndex_ForTextContainer_ProposedLineFragment_GlyphPosition_CharacterIndex added in v0.19.0

func (c *LayoutManagerDelegateCreator) SetLayoutManager_BoundingBoxForControlGlyphAtIndex_ForTextContainer_ProposedLineFragment_GlyphPosition_CharacterIndex(handle func(o objc.ProtocolBase, layoutManager LayoutManager, glyphIndex uint, textContainer TextContainer, proposedRect foundation.Rect, glyphPosition foundation.Point, charIndex uint) foundation.Rect)

func (*LayoutManagerDelegateCreator) SetLayoutManager_DidCompleteLayoutForTextContainer_AtEnd added in v0.19.0

func (c *LayoutManagerDelegateCreator) SetLayoutManager_DidCompleteLayoutForTextContainer_AtEnd(handle func(o objc.ProtocolBase, layoutManager LayoutManager, textContainer TextContainer, layoutFinishedFlag bool))

func (*LayoutManagerDelegateCreator) SetLayoutManager_LineSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect added in v0.19.0

func (c *LayoutManagerDelegateCreator) SetLayoutManager_LineSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect(handle func(o objc.ProtocolBase, layoutManager LayoutManager, glyphIndex uint, rect foundation.Rect) float64)

func (*LayoutManagerDelegateCreator) SetLayoutManager_ParagraphSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect added in v0.19.0

func (c *LayoutManagerDelegateCreator) SetLayoutManager_ParagraphSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect(handle func(o objc.ProtocolBase, layoutManager LayoutManager, glyphIndex uint, rect foundation.Rect) float64)

func (*LayoutManagerDelegateCreator) SetLayoutManager_ParagraphSpacingBeforeGlyphAtIndex_WithProposedLineFragmentRect added in v0.19.0

func (c *LayoutManagerDelegateCreator) SetLayoutManager_ParagraphSpacingBeforeGlyphAtIndex_WithProposedLineFragmentRect(handle func(o objc.ProtocolBase, layoutManager LayoutManager, glyphIndex uint, rect foundation.Rect) float64)

func (*LayoutManagerDelegateCreator) SetLayoutManager_ShouldBreakLineByHyphenatingBeforeCharacterAtIndex added in v0.19.0

func (c *LayoutManagerDelegateCreator) SetLayoutManager_ShouldBreakLineByHyphenatingBeforeCharacterAtIndex(handle func(o objc.ProtocolBase, layoutManager LayoutManager, charIndex uint) bool)

func (*LayoutManagerDelegateCreator) SetLayoutManager_ShouldBreakLineByWordBeforeCharacterAtIndex added in v0.19.0

func (c *LayoutManagerDelegateCreator) SetLayoutManager_ShouldBreakLineByWordBeforeCharacterAtIndex(handle func(o objc.ProtocolBase, layoutManager LayoutManager, charIndex uint) bool)

func (*LayoutManagerDelegateCreator) SetLayoutManager_ShouldGenerateGlyphs_Properties_CharacterIndexes_Font_ForGlyphRange added in v0.19.0

func (c *LayoutManagerDelegateCreator) SetLayoutManager_ShouldGenerateGlyphs_Properties_CharacterIndexes_Font_ForGlyphRange(handle func(o objc.ProtocolBase, layoutManager LayoutManager, glyphs *coregraphics.Glyph, props *GlyphProperty, charIndexes *uint, aFont Font, glyphRange foundation.Range) uint)

func (*LayoutManagerDelegateCreator) SetLayoutManager_ShouldUseAction_ForControlCharacterAtIndex added in v0.19.0

func (c *LayoutManagerDelegateCreator) SetLayoutManager_ShouldUseAction_ForControlCharacterAtIndex(handle func(o objc.ProtocolBase, layoutManager LayoutManager, action ControlCharacterAction, charIndex uint) ControlCharacterAction)

func (*LayoutManagerDelegateCreator) SetLayoutManager_ShouldUseTemporaryAttributes_ForDrawingToScreen_AtCharacterIndex_EffectiveRange added in v0.19.0

func (c *LayoutManagerDelegateCreator) SetLayoutManager_ShouldUseTemporaryAttributes_ForDrawingToScreen_AtCharacterIndex_EffectiveRange(handle func(o objc.ProtocolBase, layoutManager LayoutManager, attrs map[foundation.AttributedStringKey]objc.Object, toScreen bool, charIndex uint, effectiveCharRange *foundation.Range) map[foundation.AttributedStringKey]objc.IObject)

func (*LayoutManagerDelegateCreator) SetLayoutManager_TextContainer_DidChangeGeometryFromSize added in v0.19.0

func (c *LayoutManagerDelegateCreator) SetLayoutManager_TextContainer_DidChangeGeometryFromSize(handle func(o objc.ProtocolBase, layoutManager LayoutManager, textContainer TextContainer, oldSize foundation.Size))

type LayoutPriority

type LayoutPriority float32
const LayoutPriorityDefaultHigh LayoutPriority = 750
const LayoutPriorityDefaultLow LayoutPriority = 250
const LayoutPriorityDragThatCanResizeWindow LayoutPriority = 510
const LayoutPriorityDragThatCannotResizeWindow LayoutPriority = 490
const LayoutPriorityFittingSizeCompression LayoutPriority = 50
const LayoutPriorityRequired LayoutPriority = 1000
const LayoutPriorityWindowSizeStayPut LayoutPriority = 500

type LayoutRelation

type LayoutRelation int
const LayoutRelationEqual LayoutRelation = 0
const LayoutRelationGreaterThanOrEqual LayoutRelation = 1
const LayoutRelationLessThanOrEqual LayoutRelation = -1

type LayoutXAxisAnchor

type LayoutXAxisAnchor struct {
	LayoutAnchor
}

func MakeLayoutXAxisAnchor

func MakeLayoutXAxisAnchor(ptr unsafe.Pointer) LayoutXAxisAnchor

func NewLayoutXAxisAnchor

func NewLayoutXAxisAnchor() LayoutXAxisAnchor

func (LayoutXAxisAnchor) AnchorWithOffsetToAnchor

func (l_ LayoutXAxisAnchor) AnchorWithOffsetToAnchor(otherAnchor ILayoutXAxisAnchor) LayoutDimension

func (LayoutXAxisAnchor) ConstraintEqualToSystemSpacingAfterAnchor_Multiplier

func (l_ LayoutXAxisAnchor) ConstraintEqualToSystemSpacingAfterAnchor_Multiplier(anchor ILayoutXAxisAnchor, multiplier float64) LayoutConstraint

func (LayoutXAxisAnchor) ConstraintGreaterThanOrEqualToSystemSpacingAfterAnchor_Multiplier

func (l_ LayoutXAxisAnchor) ConstraintGreaterThanOrEqualToSystemSpacingAfterAnchor_Multiplier(anchor ILayoutXAxisAnchor, multiplier float64) LayoutConstraint

func (LayoutXAxisAnchor) ConstraintLessThanOrEqualToSystemSpacingAfterAnchor_Multiplier

func (l_ LayoutXAxisAnchor) ConstraintLessThanOrEqualToSystemSpacingAfterAnchor_Multiplier(anchor ILayoutXAxisAnchor, multiplier float64) LayoutConstraint

func (LayoutXAxisAnchor) Init added in v0.11.0

type LayoutYAxisAnchor

type LayoutYAxisAnchor struct {
	LayoutAnchor
}

func MakeLayoutYAxisAnchor

func MakeLayoutYAxisAnchor(ptr unsafe.Pointer) LayoutYAxisAnchor

func NewLayoutYAxisAnchor

func NewLayoutYAxisAnchor() LayoutYAxisAnchor

func (LayoutYAxisAnchor) AnchorWithOffsetToAnchor

func (l_ LayoutYAxisAnchor) AnchorWithOffsetToAnchor(otherAnchor ILayoutYAxisAnchor) LayoutDimension

func (LayoutYAxisAnchor) ConstraintEqualToSystemSpacingBelowAnchor_Multiplier

func (l_ LayoutYAxisAnchor) ConstraintEqualToSystemSpacingBelowAnchor_Multiplier(anchor ILayoutYAxisAnchor, multiplier float64) LayoutConstraint

func (LayoutYAxisAnchor) ConstraintGreaterThanOrEqualToSystemSpacingBelowAnchor_Multiplier

func (l_ LayoutYAxisAnchor) ConstraintGreaterThanOrEqualToSystemSpacingBelowAnchor_Multiplier(anchor ILayoutYAxisAnchor, multiplier float64) LayoutConstraint

func (LayoutYAxisAnchor) ConstraintLessThanOrEqualToSystemSpacingBelowAnchor_Multiplier

func (l_ LayoutYAxisAnchor) ConstraintLessThanOrEqualToSystemSpacingBelowAnchor_Multiplier(anchor ILayoutYAxisAnchor, multiplier float64) LayoutConstraint

func (LayoutYAxisAnchor) Init added in v0.11.0

type LevelIndicator

type LevelIndicator struct {
	Control
}

func MakeLevelIndicator

func MakeLevelIndicator(ptr unsafe.Pointer) LevelIndicator

func NewLevelIndicator

func NewLevelIndicator() LevelIndicator

func (LevelIndicator) CriticalFillColor

func (l_ LevelIndicator) CriticalFillColor() Color

func (LevelIndicator) CriticalValue

func (l_ LevelIndicator) CriticalValue() float64

func (LevelIndicator) DrawsTieredCapacityLevels

func (l_ LevelIndicator) DrawsTieredCapacityLevels() bool

func (LevelIndicator) FillColor

func (l_ LevelIndicator) FillColor() Color

func (LevelIndicator) Init added in v0.11.0

func (l_ LevelIndicator) Init() LevelIndicator

func (LevelIndicator) InitWithFrame added in v0.11.0

func (l_ LevelIndicator) InitWithFrame(frameRect foundation.Rect) LevelIndicator

func (LevelIndicator) IsEditable

func (l_ LevelIndicator) IsEditable() bool

func (LevelIndicator) LevelIndicatorStyle

func (l_ LevelIndicator) LevelIndicatorStyle() LevelIndicatorStyle

func (LevelIndicator) MaxValue

func (l_ LevelIndicator) MaxValue() float64

func (LevelIndicator) MinValue

func (l_ LevelIndicator) MinValue() float64

func (LevelIndicator) NumberOfMajorTickMarks

func (l_ LevelIndicator) NumberOfMajorTickMarks() int

func (LevelIndicator) NumberOfTickMarks

func (l_ LevelIndicator) NumberOfTickMarks() int

func (LevelIndicator) PlaceholderVisibility

func (l_ LevelIndicator) PlaceholderVisibility() LevelIndicatorPlaceholderVisibility

func (LevelIndicator) RatingImage

func (l_ LevelIndicator) RatingImage() Image

func (LevelIndicator) RatingPlaceholderImage

func (l_ LevelIndicator) RatingPlaceholderImage() Image

func (LevelIndicator) RectOfTickMarkAtIndex

func (l_ LevelIndicator) RectOfTickMarkAtIndex(index int) foundation.Rect

func (LevelIndicator) SetCriticalFillColor

func (l_ LevelIndicator) SetCriticalFillColor(value IColor)

func (LevelIndicator) SetCriticalValue

func (l_ LevelIndicator) SetCriticalValue(value float64)

func (LevelIndicator) SetDrawsTieredCapacityLevels

func (l_ LevelIndicator) SetDrawsTieredCapacityLevels(value bool)

func (LevelIndicator) SetEditable

func (l_ LevelIndicator) SetEditable(value bool)

func (LevelIndicator) SetFillColor

func (l_ LevelIndicator) SetFillColor(value IColor)

func (LevelIndicator) SetLevelIndicatorStyle

func (l_ LevelIndicator) SetLevelIndicatorStyle(value LevelIndicatorStyle)

func (LevelIndicator) SetMaxValue

func (l_ LevelIndicator) SetMaxValue(value float64)

func (LevelIndicator) SetMinValue

func (l_ LevelIndicator) SetMinValue(value float64)

func (LevelIndicator) SetNumberOfMajorTickMarks

func (l_ LevelIndicator) SetNumberOfMajorTickMarks(value int)

func (LevelIndicator) SetNumberOfTickMarks

func (l_ LevelIndicator) SetNumberOfTickMarks(value int)

func (LevelIndicator) SetPlaceholderVisibility

func (l_ LevelIndicator) SetPlaceholderVisibility(value LevelIndicatorPlaceholderVisibility)

func (LevelIndicator) SetRatingImage

func (l_ LevelIndicator) SetRatingImage(value IImage)

func (LevelIndicator) SetRatingPlaceholderImage

func (l_ LevelIndicator) SetRatingPlaceholderImage(value IImage)

func (LevelIndicator) SetTickMarkPosition

func (l_ LevelIndicator) SetTickMarkPosition(value TickMarkPosition)

func (LevelIndicator) SetWarningFillColor

func (l_ LevelIndicator) SetWarningFillColor(value IColor)

func (LevelIndicator) SetWarningValue

func (l_ LevelIndicator) SetWarningValue(value float64)

func (LevelIndicator) TickMarkPosition

func (l_ LevelIndicator) TickMarkPosition() TickMarkPosition

func (LevelIndicator) TickMarkValueAtIndex

func (l_ LevelIndicator) TickMarkValueAtIndex(index int) float64

func (LevelIndicator) WarningFillColor

func (l_ LevelIndicator) WarningFillColor() Color

func (LevelIndicator) WarningValue

func (l_ LevelIndicator) WarningValue() float64

type LevelIndicatorPlaceholderVisibility

type LevelIndicatorPlaceholderVisibility int
const LevelIndicatorPlaceholderVisibilityAlways LevelIndicatorPlaceholderVisibility = 1
const LevelIndicatorPlaceholderVisibilityAutomatic LevelIndicatorPlaceholderVisibility = 0
const LevelIndicatorPlaceholderVisibilityWhileEditing LevelIndicatorPlaceholderVisibility = 2

type LevelIndicatorStyle

type LevelIndicatorStyle uint
const LevelIndicatorStyleContinuousCapacity LevelIndicatorStyle = 1
const LevelIndicatorStyleDiscreteCapacity LevelIndicatorStyle = 2
const LevelIndicatorStyleRating LevelIndicatorStyle = 3
const LevelIndicatorStyleRelevancy LevelIndicatorStyle = 0

type LineBreakMode

type LineBreakMode uint
const LineBreakByCharWrapping LineBreakMode = 1
const LineBreakByClipping LineBreakMode = 2
const LineBreakByTruncatingHead LineBreakMode = 3
const LineBreakByTruncatingMiddle LineBreakMode = 5
const LineBreakByTruncatingTail LineBreakMode = 4
const LineBreakByWordWrapping LineBreakMode = 0

type LineBreakStrategy

type LineBreakStrategy uint
const LineBreakStrategyHangulWordPriority LineBreakStrategy = 2
const LineBreakStrategyNone LineBreakStrategy = 0
const LineBreakStrategyPushOut LineBreakStrategy = 1
const LineBreakStrategyStandard LineBreakStrategy = 65535

type LineCapStyle

type LineCapStyle uint
const LineCapStyleButt LineCapStyle = 0
const LineCapStyleRound LineCapStyle = 1
const LineCapStyleSquare LineCapStyle = 2

type LineJoinStyle

type LineJoinStyle uint
const LineJoinStyleBevel LineJoinStyle = 2
const LineJoinStyleMiter LineJoinStyle = 0
const LineJoinStyleRound LineJoinStyle = 1

type LineMovementDirection added in v0.14.5

type LineMovementDirection uint
const LineDoesntMove LineMovementDirection = 0
const LineMovesDown LineMovementDirection = 3
const LineMovesLeft LineMovementDirection = 1
const LineMovesRight LineMovementDirection = 2
const LineMovesUp LineMovementDirection = 4

type LineSweepDirection added in v0.14.5

type LineSweepDirection uint
const LineSweepDown LineSweepDirection = 2
const LineSweepLeft LineSweepDirection = 0
const LineSweepRight LineSweepDirection = 1
const LineSweepUp LineSweepDirection = 3

type Matrix

type Matrix struct {
	Control
}

func MakeMatrix

func MakeMatrix(ptr unsafe.Pointer) Matrix

func NewMatrix

func NewMatrix() Matrix

func (Matrix) AddColumn

func (m_ Matrix) AddColumn()

func (Matrix) AddColumnWithCells

func (m_ Matrix) AddColumnWithCells(newCells []ICell)

func (Matrix) AddRow

func (m_ Matrix) AddRow()

func (Matrix) AddRowWithCells

func (m_ Matrix) AddRowWithCells(newCells []ICell)

func (Matrix) AllowsEmptySelection

func (m_ Matrix) AllowsEmptySelection() bool

func (Matrix) AutorecalculatesCellSize

func (m_ Matrix) AutorecalculatesCellSize() bool

func (Matrix) AutosizesCells

func (m_ Matrix) AutosizesCells() bool

func (Matrix) BackgroundColor

func (m_ Matrix) BackgroundColor() Color

func (Matrix) CellAtRow_Column

func (m_ Matrix) CellAtRow_Column(row int, col int) Cell

func (Matrix) CellBackgroundColor

func (m_ Matrix) CellBackgroundColor() Color

func (Matrix) CellFrameAtRow_Column

func (m_ Matrix) CellFrameAtRow_Column(row int, col int) foundation.Rect

func (Matrix) CellSize

func (m_ Matrix) CellSize() foundation.Size

func (Matrix) CellWithTag

func (m_ Matrix) CellWithTag(tag int) Cell

func (Matrix) Cells

func (m_ Matrix) Cells() []Cell

func (Matrix) Delegate

func (m_ Matrix) Delegate() objc.Object

weak property

func (Matrix) DeselectAllCells

func (m_ Matrix) DeselectAllCells()

func (Matrix) DeselectSelectedCell

func (m_ Matrix) DeselectSelectedCell()

func (Matrix) DoubleAction

func (m_ Matrix) DoubleAction() objc.Selector

func (Matrix) DrawCellAtRow_Column

func (m_ Matrix) DrawCellAtRow_Column(row int, col int)

func (Matrix) DrawsBackground

func (m_ Matrix) DrawsBackground() bool

func (Matrix) DrawsCellBackground

func (m_ Matrix) DrawsCellBackground() bool

func (Matrix) GetNumberOfRows_Columns added in v0.13.4

func (m_ Matrix) GetNumberOfRows_Columns(rowCount *int, colCount *int)

func (Matrix) GetRow_Column_ForPoint added in v0.13.4

func (m_ Matrix) GetRow_Column_ForPoint(row *int, col *int, point foundation.Point) bool

func (Matrix) GetRow_Column_OfCell added in v0.13.4

func (m_ Matrix) GetRow_Column_OfCell(row *int, col *int, cell ICell) bool

func (Matrix) HighlightCell_AtRow_Column

func (m_ Matrix) HighlightCell_AtRow_Column(flag bool, row int, col int)

func (Matrix) Init added in v0.11.0

func (m_ Matrix) Init() Matrix

func (Matrix) InitWithFrame added in v0.11.0

func (m_ Matrix) InitWithFrame(frameRect foundation.Rect) Matrix

func (Matrix) InitWithFrame_Mode_CellClass_NumberOfRows_NumberOfColumns added in v0.16.0

func (m_ Matrix) InitWithFrame_Mode_CellClass_NumberOfRows_NumberOfColumns(frameRect foundation.Rect, mode MatrixMode, factoryId objc.IClass, rowsHigh int, colsWide int) Matrix

func (Matrix) InitWithFrame_Mode_Prototype_NumberOfRows_NumberOfColumns added in v0.11.0

func (m_ Matrix) InitWithFrame_Mode_Prototype_NumberOfRows_NumberOfColumns(frameRect foundation.Rect, mode MatrixMode, cell ICell, rowsHigh int, colsWide int) Matrix

func (Matrix) InsertColumn

func (m_ Matrix) InsertColumn(column int)

func (Matrix) InsertColumn_WithCells

func (m_ Matrix) InsertColumn_WithCells(column int, newCells []ICell)

func (Matrix) InsertRow

func (m_ Matrix) InsertRow(row int)

func (Matrix) InsertRow_WithCells

func (m_ Matrix) InsertRow_WithCells(row int, newCells []ICell)

func (Matrix) IntercellSpacing

func (m_ Matrix) IntercellSpacing() foundation.Size

func (Matrix) IsAutoscroll

func (m_ Matrix) IsAutoscroll() bool

func (Matrix) IsSelectionByRect

func (m_ Matrix) IsSelectionByRect() bool

func (Matrix) KeyCell

func (m_ Matrix) KeyCell() Cell

func (Matrix) MakeCellAtRow_Column

func (m_ Matrix) MakeCellAtRow_Column(row int, col int) Cell

func (Matrix) Mode

func (m_ Matrix) Mode() MatrixMode

func (Matrix) MouseDownFlags

func (m_ Matrix) MouseDownFlags() int

func (Matrix) NumberOfColumns

func (m_ Matrix) NumberOfColumns() int

func (Matrix) NumberOfRows

func (m_ Matrix) NumberOfRows() int

func (Matrix) Prototype

func (m_ Matrix) Prototype() Cell

func (Matrix) PutCell_AtRow_Column

func (m_ Matrix) PutCell_AtRow_Column(newCell ICell, row int, col int)

func (Matrix) RemoveColumn

func (m_ Matrix) RemoveColumn(col int)

func (Matrix) RemoveRow

func (m_ Matrix) RemoveRow(row int)

func (Matrix) RenewRows_Columns

func (m_ Matrix) RenewRows_Columns(newRows int, newCols int)

func (Matrix) ScrollCellToVisibleAtRow_Column

func (m_ Matrix) ScrollCellToVisibleAtRow_Column(row int, col int)

func (Matrix) SelectAll

func (m_ Matrix) SelectAll(sender objc.IObject)

func (Matrix) SelectCellAtRow_Column

func (m_ Matrix) SelectCellAtRow_Column(row int, col int)

func (Matrix) SelectCellWithTag

func (m_ Matrix) SelectCellWithTag(tag int) bool

func (Matrix) SelectText

func (m_ Matrix) SelectText(sender objc.IObject)

func (Matrix) SelectTextAtRow_Column

func (m_ Matrix) SelectTextAtRow_Column(row int, col int) Cell

func (Matrix) SelectedCells

func (m_ Matrix) SelectedCells() []Cell

func (Matrix) SelectedColumn

func (m_ Matrix) SelectedColumn() int

func (Matrix) SelectedRow

func (m_ Matrix) SelectedRow() int

func (Matrix) SendAction

func (m_ Matrix) SendAction() bool

func (Matrix) SendAction_To_ForAllCells

func (m_ Matrix) SendAction_To_ForAllCells(selector objc.Selector, object objc.IObject, flag bool)

func (Matrix) SendDoubleAction

func (m_ Matrix) SendDoubleAction()

func (Matrix) SetAllowsEmptySelection

func (m_ Matrix) SetAllowsEmptySelection(value bool)

func (Matrix) SetAutorecalculatesCellSize

func (m_ Matrix) SetAutorecalculatesCellSize(value bool)

func (Matrix) SetAutoscroll

func (m_ Matrix) SetAutoscroll(value bool)

func (Matrix) SetAutosizesCells

func (m_ Matrix) SetAutosizesCells(value bool)

func (Matrix) SetBackgroundColor

func (m_ Matrix) SetBackgroundColor(value IColor)

func (Matrix) SetCellBackgroundColor

func (m_ Matrix) SetCellBackgroundColor(value IColor)

func (Matrix) SetCellSize

func (m_ Matrix) SetCellSize(value foundation.Size)

func (Matrix) SetDelegate

func (m_ Matrix) SetDelegate(value objc.IObject)

weak property

func (Matrix) SetDoubleAction

func (m_ Matrix) SetDoubleAction(value objc.Selector)

func (Matrix) SetDrawsBackground

func (m_ Matrix) SetDrawsBackground(value bool)

func (Matrix) SetDrawsCellBackground

func (m_ Matrix) SetDrawsCellBackground(value bool)

func (Matrix) SetIntercellSpacing

func (m_ Matrix) SetIntercellSpacing(value foundation.Size)

func (Matrix) SetKeyCell

func (m_ Matrix) SetKeyCell(value ICell)

func (Matrix) SetMode

func (m_ Matrix) SetMode(value MatrixMode)

func (Matrix) SetPrototype

func (m_ Matrix) SetPrototype(value ICell)

func (Matrix) SetScrollable

func (m_ Matrix) SetScrollable(flag bool)

func (Matrix) SetSelectionByRect

func (m_ Matrix) SetSelectionByRect(value bool)

func (Matrix) SetSelectionFrom_To_Anchor_Highlight

func (m_ Matrix) SetSelectionFrom_To_Anchor_Highlight(startPos int, endPos int, anchorPos int, lit bool)

func (Matrix) SetState_AtRow_Column

func (m_ Matrix) SetState_AtRow_Column(value int, row int, col int)

func (Matrix) SetTabKeyTraversesCells

func (m_ Matrix) SetTabKeyTraversesCells(value bool)

func (Matrix) SetToolTip_ForCell

func (m_ Matrix) SetToolTip_ForCell(toolTipString string, cell ICell)

func (Matrix) SetValidateSize

func (m_ Matrix) SetValidateSize(flag bool)

func (Matrix) SizeToCells

func (m_ Matrix) SizeToCells()

func (Matrix) SortUsingSelector

func (m_ Matrix) SortUsingSelector(comparator objc.Selector)

func (Matrix) TabKeyTraversesCells

func (m_ Matrix) TabKeyTraversesCells() bool

func (Matrix) TextDidBeginEditing

func (m_ Matrix) TextDidBeginEditing(notification foundation.INotification)

func (Matrix) TextDidChange

func (m_ Matrix) TextDidChange(notification foundation.INotification)

func (Matrix) TextDidEndEditing

func (m_ Matrix) TextDidEndEditing(notification foundation.INotification)

func (Matrix) TextShouldBeginEditing

func (m_ Matrix) TextShouldBeginEditing(textObject IText) bool

func (Matrix) TextShouldEndEditing

func (m_ Matrix) TextShouldEndEditing(textObject IText) bool

func (Matrix) ToolTipForCell

func (m_ Matrix) ToolTipForCell(cell ICell) string

type MatrixDelegate added in v0.13.0

type MatrixDelegate interface {
	ControlTextEditingDelegate
}

type MatrixDelegateBase added in v0.18.0

type MatrixDelegateBase struct {
	ControlTextEditingDelegateBase
}

type MatrixDelegateCreator added in v0.19.0

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

func NewMatrixDelegateCreator added in v0.19.0

func NewMatrixDelegateCreator(name string) *MatrixDelegateCreator

func (*MatrixDelegateCreator) Create added in v0.19.0

type MatrixMode

type MatrixMode uint
const HighlightModeMatrix MatrixMode = 1
const ListModeMatrix MatrixMode = 2
const RadioModeMatrix MatrixMode = 0
const TrackModeMatrix MatrixMode = 3
type Menu struct {
	objc.Object
}

func MakeMenu

func MakeMenu(ptr unsafe.Pointer) Menu

func NewMenu

func NewMenu() Menu
func (m_ Menu) AddItem(newItem IMenuItem)
func (m_ Menu) AddItemWithTitle_Action_KeyEquivalent(string_ string, selector objc.Selector, charCode string) MenuItem
func (m_ Menu) AllowsContextMenuPlugIns() bool
func (m_ Menu) AttachedMenu() Menu

deprecated

func (m_ Menu) AutoenablesItems() bool
func (m_ Menu) CancelTracking()
func (m_ Menu) CancelTrackingWithoutAnimation()
func (m_ Menu) ContextMenuRepresentation() objc.Object

deprecated

func (m_ Menu) Delegate() objc.Object

weak property

func (m_ Menu) Font() Font
func (m_ Menu) HelpRequested(eventPtr IEvent)

deprecated

func (m_ Menu) HighlightedItem() MenuItem
func (m_ Menu) IndexOfItem(item IMenuItem) int
func (m_ Menu) IndexOfItemWithRepresentedObject(object objc.IObject) int
func (m_ Menu) IndexOfItemWithSubmenu(submenu IMenu) int
func (m_ Menu) IndexOfItemWithTag(tag int) int
func (m_ Menu) IndexOfItemWithTarget_AndAction(target objc.IObject, actionSelector objc.Selector) int
func (m_ Menu) IndexOfItemWithTitle(title string) int
func (m_ Menu) Init() Menu
func (m_ Menu) InitWithTitle(title string) Menu
func (m_ Menu) InsertItemWithTitle_Action_KeyEquivalent_AtIndex(string_ string, selector objc.Selector, charCode string, index int) MenuItem
func (m_ Menu) InsertItem_AtIndex(newItem IMenuItem, index int)
func (m_ Menu) IsAttached() bool

deprecated

func (m_ Menu) IsTornOff() bool

deprecated

func (m_ Menu) ItemArray() []MenuItem
func (m_ Menu) ItemAtIndex(index int) MenuItem
func (m_ Menu) ItemChanged(item IMenuItem)
func (m_ Menu) ItemWithTag(tag int) MenuItem
func (m_ Menu) ItemWithTitle(title string) MenuItem
func (m_ Menu) LocationForSubmenu(submenu IMenu) foundation.Point

deprecated

func (m_ Menu) MenuBarHeight() float64
func (m_ Menu) MenuChangedMessagesEnabled() bool

deprecated

func (m_ Menu) MenuRepresentation() objc.Object

deprecated

func (m_ Menu) MinimumWidth() float64
func (m_ Menu) NumberOfItems() int
func (m_ Menu) PerformActionForItemAtIndex(index int)
func (m_ Menu) PerformKeyEquivalent(event IEvent) bool
func (m_ Menu) PopUpMenuPositioningItem_AtLocation_InView(item IMenuItem, location foundation.Point, view IView) bool
func (m_ Menu) PropertiesToUpdate() MenuProperties
func (m_ Menu) RemoveAllItems()
func (m_ Menu) RemoveItem(item IMenuItem)
func (m_ Menu) RemoveItemAtIndex(index int)
func (m_ Menu) SetAllowsContextMenuPlugIns(value bool)
func (m_ Menu) SetAutoenablesItems(value bool)
func (m_ Menu) SetContextMenuRepresentation(menuRep objc.IObject)

deprecated

func (m_ Menu) SetDelegate(value objc.IObject)

weak property

func (m_ Menu) SetFont(value IFont)
func (m_ Menu) SetItemArray(value []IMenuItem)
func (m_ Menu) SetMenuChangedMessagesEnabled(value bool)

deprecated

func (m_ Menu) SetMenuRepresentation(menuRep objc.IObject)

deprecated

func (m_ Menu) SetMinimumWidth(value float64)
func (m_ Menu) SetShowsStateColumn(value bool)
func (m_ Menu) SetSubmenu_ForItem(menu IMenu, item IMenuItem)
func (m_ Menu) SetSupermenu(value IMenu)

weak property

func (m_ Menu) SetTearOffMenuRepresentation(menuRep objc.IObject)

deprecated

func (m_ Menu) SetTitle(value string)
func (m_ Menu) SetUserInterfaceLayoutDirection(value UserInterfaceLayoutDirection)
func (m_ Menu) ShowsStateColumn() bool
func (m_ Menu) Size() foundation.Size
func (m_ Menu) SizeToFit()

deprecated

func (m_ Menu) SubmenuAction(sender objc.IObject)
func (m_ Menu) Supermenu() Menu

weak property

func (m_ Menu) TearOffMenuRepresentation() objc.Object

deprecated

func (m_ Menu) Title() string
func (m_ Menu) Update()
func (m_ Menu) UserInterfaceLayoutDirection() UserInterfaceLayoutDirection
type MenuDelegate interface {
	ImplementsMenu_UpdateItem_AtIndex_ShouldCancel() bool
	// optional
	Menu_UpdateItem_AtIndex_ShouldCancel(menu Menu, item MenuItem, index int, shouldCancel bool) bool
	ImplementsConfinementRectForMenu_OnScreen() bool
	// optional
	ConfinementRectForMenu_OnScreen(menu Menu, screen Screen) foundation.Rect
	ImplementsMenu_WillHighlightItem() bool
	// optional
	Menu_WillHighlightItem(menu Menu, item MenuItem)
	ImplementsMenuWillOpen() bool
	// optional
	MenuWillOpen(menu Menu)
	ImplementsMenuDidClose() bool
	// optional
	MenuDidClose(menu Menu)
	ImplementsNumberOfItemsInMenu() bool
	// optional
	NumberOfItemsInMenu(menu Menu) int
	ImplementsMenuNeedsUpdate() bool
	// optional
	MenuNeedsUpdate(menu Menu)
}
type MenuDelegateBase struct {
}
func (p *MenuDelegateBase) ConfinementRectForMenu_OnScreen(menu Menu, screen Screen) foundation.Rect
func (p *MenuDelegateBase) ImplementsConfinementRectForMenu_OnScreen() bool
func (p *MenuDelegateBase) ImplementsMenuDidClose() bool
func (p *MenuDelegateBase) ImplementsMenuNeedsUpdate() bool
func (p *MenuDelegateBase) ImplementsMenuWillOpen() bool
func (p *MenuDelegateBase) ImplementsMenu_UpdateItem_AtIndex_ShouldCancel() bool
func (p *MenuDelegateBase) ImplementsMenu_WillHighlightItem() bool
func (p *MenuDelegateBase) ImplementsNumberOfItemsInMenu() bool
func (p *MenuDelegateBase) MenuDidClose(menu Menu)
func (p *MenuDelegateBase) MenuNeedsUpdate(menu Menu)
func (p *MenuDelegateBase) MenuWillOpen(menu Menu)
func (p *MenuDelegateBase) Menu_UpdateItem_AtIndex_ShouldCancel(menu Menu, item MenuItem, index int, shouldCancel bool) bool
func (p *MenuDelegateBase) Menu_WillHighlightItem(menu Menu, item MenuItem)
func (p *MenuDelegateBase) NumberOfItemsInMenu(menu Menu) int
type MenuDelegateCreator struct {
	// contains filtered or unexported fields
}

func NewMenuDelegateCreator added in v0.19.0

func NewMenuDelegateCreator(name string) *MenuDelegateCreator
func (c *MenuDelegateCreator) SetConfinementRectForMenu_OnScreen(handle func(o objc.ProtocolBase, menu Menu, screen Screen) foundation.Rect)
func (c *MenuDelegateCreator) SetMenuDidClose(handle func(o objc.ProtocolBase, menu Menu))
func (c *MenuDelegateCreator) SetMenuNeedsUpdate(handle func(o objc.ProtocolBase, menu Menu))
func (c *MenuDelegateCreator) SetMenuWillOpen(handle func(o objc.ProtocolBase, menu Menu))
func (c *MenuDelegateCreator) SetMenu_UpdateItem_AtIndex_ShouldCancel(handle func(o objc.ProtocolBase, menu Menu, item MenuItem, index int, shouldCancel bool) bool)
func (c *MenuDelegateCreator) SetMenu_WillHighlightItem(handle func(o objc.ProtocolBase, menu Menu, item MenuItem))
func (c *MenuDelegateCreator) SetNumberOfItemsInMenu(handle func(o objc.ProtocolBase, menu Menu) int)
type MenuItem struct {
	objc.Object
}

func MakeMenuItem

func MakeMenuItem(ptr unsafe.Pointer) MenuItem

func NewMenuItem

func NewMenuItem() MenuItem

func NewMenuItemWithAction added in v0.15.3

func NewMenuItemWithAction(title string, charCode string, handler action.Handler) MenuItem

NewMenuItemWithAction create a new menu item with action

func NewMenuItemWithSelector added in v0.15.3

func NewMenuItemWithSelector(title string, charCode string, selector objc.Selector) MenuItem

NewMenuItem create a new menu item, with selector

func NewSubMenuItem added in v0.15.3

func NewSubMenuItem(menu IMenu) MenuItem

NewSubMenuItem create a menu item that hold a sub menu

func (m_ MenuItem) Action() objc.Selector
func (m_ MenuItem) AllowsAutomaticKeyEquivalentLocalization() bool
func (m_ MenuItem) AllowsAutomaticKeyEquivalentMirroring() bool
func (m_ MenuItem) AllowsKeyEquivalentWhenHidden() bool
func (m_ MenuItem) AttributedTitle() foundation.AttributedString
func (m_ MenuItem) HasSubmenu() bool
func (m_ MenuItem) Image() Image
func (m_ MenuItem) IndentationLevel() int
func (m_ MenuItem) Init() MenuItem
func (m_ MenuItem) InitWithTitle_Action_KeyEquivalent(string_ string, selector objc.Selector, charCode string) MenuItem
func (m_ MenuItem) IsAlternate() bool
func (m_ MenuItem) IsEnabled() bool
func (m_ MenuItem) IsHidden() bool
func (m_ MenuItem) IsHiddenOrHasHiddenAncestor() bool
func (m_ MenuItem) IsHighlighted() bool
func (m_ MenuItem) IsSeparatorItem() bool
func (m_ MenuItem) KeyEquivalent() string
func (m_ MenuItem) KeyEquivalentModifierMask() EventModifierFlags
func (m_ MenuItem) Menu() Menu

weak property

func (m_ MenuItem) MixedStateImage() Image
func (m_ MenuItem) Mnemonic() string

deprecated

func (m_ MenuItem) MnemonicLocation() uint

deprecated

func (m_ MenuItem) OffStateImage() Image
func (m_ MenuItem) OnStateImage() Image
func (m_ MenuItem) ParentItem() MenuItem

weak property

func (m_ MenuItem) RepresentedObject() objc.Object
func (m_ MenuItem) SetAction(value objc.Selector)
func (m_ MenuItem) SetAllowsAutomaticKeyEquivalentLocalization(value bool)
func (m_ MenuItem) SetAllowsAutomaticKeyEquivalentMirroring(value bool)
func (m_ MenuItem) SetAllowsKeyEquivalentWhenHidden(value bool)
func (m_ MenuItem) SetAlternate(value bool)
func (m_ MenuItem) SetAttributedTitle(value foundation.IAttributedString)
func (m_ MenuItem) SetEnabled(value bool)
func (m_ MenuItem) SetHidden(value bool)
func (m_ MenuItem) SetImage(value IImage)
func (m_ MenuItem) SetIndentationLevel(value int)
func (m_ MenuItem) SetKeyEquivalent(value string)
func (m_ MenuItem) SetKeyEquivalentModifierMask(value EventModifierFlags)
func (m_ MenuItem) SetMenu(value IMenu)

weak property

func (m_ MenuItem) SetMixedStateImage(value IImage)
func (m_ MenuItem) SetMnemonicLocation(location uint)

deprecated

func (m_ MenuItem) SetOffStateImage(value IImage)
func (m_ MenuItem) SetOnStateImage(value IImage)
func (m_ MenuItem) SetRepresentedObject(value objc.IObject)
func (m_ MenuItem) SetState(value ControlStateValue)
func (m_ MenuItem) SetSubmenu(value IMenu)
func (m_ MenuItem) SetTag(value int)
func (m_ MenuItem) SetTarget(value objc.IObject)

weak property

func (m_ MenuItem) SetTitle(value string)
func (m_ MenuItem) SetTitleWithMnemonic(stringWithAmpersand string)

deprecated

func (m_ MenuItem) SetToolTip(value string)
func (m_ MenuItem) SetView(value IView)
func (m_ MenuItem) State() ControlStateValue
func (m_ MenuItem) Submenu() Menu
func (m_ MenuItem) Tag() int
func (m_ MenuItem) Target() objc.Object

weak property

func (m_ MenuItem) Title() string
func (m_ MenuItem) ToolTip() string
func (m_ MenuItem) UserKeyEquivalent() string
func (m_ MenuItem) View() View
type MenuProperties uint
const MenuPropertyItemAccessibilityDescription MenuProperties = 32
const MenuPropertyItemAttributedTitle MenuProperties = 2
const MenuPropertyItemEnabled MenuProperties = 16
const MenuPropertyItemImage MenuProperties = 8
const MenuPropertyItemKeyEquivalent MenuProperties = 4
const MenuPropertyItemTitle MenuProperties = 1
type MenuToolbarItem struct {
	ToolbarItem
}

func MakeMenuToolbarItem added in v0.13.6

func MakeMenuToolbarItem(ptr unsafe.Pointer) MenuToolbarItem

func NewMenuToolbarItem added in v0.13.6

func NewMenuToolbarItem() MenuToolbarItem
func (m_ MenuToolbarItem) Init() MenuToolbarItem
func (m_ MenuToolbarItem) InitWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) MenuToolbarItem
func (m_ MenuToolbarItem) Menu() Menu
func (m_ MenuToolbarItem) SetMenu(value IMenu)
func (m_ MenuToolbarItem) SetShowsIndicator(value bool)
func (m_ MenuToolbarItem) ShowsIndicator() bool

type ModalResponse

type ModalResponse int
const AlertFirstButtonReturn ModalResponse = 1000
const AlertSecondButtonReturn ModalResponse = 1001
const AlertThirdButtonReturn ModalResponse = 1002
const ModalResponseAbort ModalResponse = -1001
const ModalResponseCancel ModalResponse = 0
const ModalResponseContinue ModalResponse = -1002
const ModalResponseOK ModalResponse = 1
const ModalResponseStop ModalResponse = -1000

type ModalSession

type ModalSession unsafe.Pointer

type MutableParagraphStyle

type MutableParagraphStyle struct {
	ParagraphStyle
}

func MakeMutableParagraphStyle

func MakeMutableParagraphStyle(ptr unsafe.Pointer) MutableParagraphStyle

func NewMutableParagraphStyle

func NewMutableParagraphStyle() MutableParagraphStyle

func (MutableParagraphStyle) AddTabStop

func (m_ MutableParagraphStyle) AddTabStop(anObject ITextTab)

func (MutableParagraphStyle) Init added in v0.11.0

func (MutableParagraphStyle) RemoveTabStop

func (m_ MutableParagraphStyle) RemoveTabStop(anObject ITextTab)

func (MutableParagraphStyle) SetAlignment

func (m_ MutableParagraphStyle) SetAlignment(value TextAlignment)

func (MutableParagraphStyle) SetAllowsDefaultTighteningForTruncation

func (m_ MutableParagraphStyle) SetAllowsDefaultTighteningForTruncation(value bool)

func (MutableParagraphStyle) SetBaseWritingDirection

func (m_ MutableParagraphStyle) SetBaseWritingDirection(value WritingDirection)

func (MutableParagraphStyle) SetDefaultTabInterval

func (m_ MutableParagraphStyle) SetDefaultTabInterval(value float64)

func (MutableParagraphStyle) SetFirstLineHeadIndent

func (m_ MutableParagraphStyle) SetFirstLineHeadIndent(value float64)

func (MutableParagraphStyle) SetHeadIndent

func (m_ MutableParagraphStyle) SetHeadIndent(value float64)

func (MutableParagraphStyle) SetHeaderLevel

func (m_ MutableParagraphStyle) SetHeaderLevel(value int)

func (MutableParagraphStyle) SetHyphenationFactor

func (m_ MutableParagraphStyle) SetHyphenationFactor(value float32)

func (MutableParagraphStyle) SetLineBreakMode

func (m_ MutableParagraphStyle) SetLineBreakMode(value LineBreakMode)

func (MutableParagraphStyle) SetLineBreakStrategy

func (m_ MutableParagraphStyle) SetLineBreakStrategy(value LineBreakStrategy)

func (MutableParagraphStyle) SetLineHeightMultiple

func (m_ MutableParagraphStyle) SetLineHeightMultiple(value float64)

func (MutableParagraphStyle) SetLineSpacing

func (m_ MutableParagraphStyle) SetLineSpacing(value float64)

func (MutableParagraphStyle) SetMaximumLineHeight

func (m_ MutableParagraphStyle) SetMaximumLineHeight(value float64)

func (MutableParagraphStyle) SetMinimumLineHeight

func (m_ MutableParagraphStyle) SetMinimumLineHeight(value float64)

func (MutableParagraphStyle) SetParagraphSpacing

func (m_ MutableParagraphStyle) SetParagraphSpacing(value float64)

func (MutableParagraphStyle) SetParagraphSpacingBefore

func (m_ MutableParagraphStyle) SetParagraphSpacingBefore(value float64)

func (MutableParagraphStyle) SetParagraphStyle

func (m_ MutableParagraphStyle) SetParagraphStyle(obj IParagraphStyle)

func (MutableParagraphStyle) SetTabStops

func (m_ MutableParagraphStyle) SetTabStops(value []ITextTab)

func (MutableParagraphStyle) SetTailIndent

func (m_ MutableParagraphStyle) SetTailIndent(value float64)

func (MutableParagraphStyle) SetTextBlocks

func (m_ MutableParagraphStyle) SetTextBlocks(value []ITextBlock)

func (MutableParagraphStyle) SetTextLists

func (m_ MutableParagraphStyle) SetTextLists(value []ITextList)

func (MutableParagraphStyle) SetTighteningFactorForTruncation

func (m_ MutableParagraphStyle) SetTighteningFactorForTruncation(value float32)

func (MutableParagraphStyle) SetUsesDefaultHyphenation added in v0.12.0

func (m_ MutableParagraphStyle) SetUsesDefaultHyphenation(value bool)

type Nib

type Nib struct {
	objc.Object
}

func MakeNib

func MakeNib(ptr unsafe.Pointer) Nib

func NewNib

func NewNib() Nib

func (Nib) Init added in v0.11.0

func (n_ Nib) Init() Nib

func (Nib) InitWithContentsOfURL added in v0.14.5

func (n_ Nib) InitWithContentsOfURL(nibFileURL foundation.IURL) objc.Object

deprecated

func (Nib) InitWithNibData_Bundle added in v0.11.0

func (n_ Nib) InitWithNibData_Bundle(nibData []byte, bundle foundation.IBundle) Nib

func (Nib) InitWithNibNamed_Bundle added in v0.11.0

func (n_ Nib) InitWithNibNamed_Bundle(nibName NibName, bundle foundation.IBundle) Nib

func (Nib) InstantiateWithOwner_TopLevelObjects added in v0.13.3

func (n_ Nib) InstantiateWithOwner_TopLevelObjects(owner objc.IObject, topLevelObjects *foundation.Array) bool

type NibName

type NibName string

type ObjectController

type ObjectController struct {
	Controller
}

func MakeObjectController

func MakeObjectController(ptr unsafe.Pointer) ObjectController

func NewObjectController

func NewObjectController() ObjectController

func (ObjectController) Add

func (o_ ObjectController) Add(sender objc.IObject)

func (ObjectController) AddObject

func (o_ ObjectController) AddObject(object objc.IObject)

func (ObjectController) AutomaticallyPreparesContent

func (o_ ObjectController) AutomaticallyPreparesContent() bool

func (ObjectController) CanAdd

func (o_ ObjectController) CanAdd() bool

func (ObjectController) CanRemove

func (o_ ObjectController) CanRemove() bool

func (ObjectController) Content

func (o_ ObjectController) Content() objc.Object

func (ObjectController) EntityName

func (o_ ObjectController) EntityName() string

func (ObjectController) Fetch

func (o_ ObjectController) Fetch(sender objc.IObject)

func (ObjectController) FetchPredicate

func (o_ ObjectController) FetchPredicate() foundation.Predicate

func (ObjectController) Init added in v0.11.0

func (ObjectController) InitWithContent added in v0.11.0

func (o_ ObjectController) InitWithContent(content objc.IObject) ObjectController

func (ObjectController) IsEditable

func (o_ ObjectController) IsEditable() bool

func (ObjectController) NewObject

func (o_ ObjectController) NewObject() objc.Object

func (ObjectController) ObjectClass added in v0.19.0

func (o_ ObjectController) ObjectClass() objc.Class

weak property

func (ObjectController) PrepareContent

func (o_ ObjectController) PrepareContent()

func (ObjectController) Remove

func (o_ ObjectController) Remove(sender objc.IObject)

func (ObjectController) RemoveObject

func (o_ ObjectController) RemoveObject(object objc.IObject)

func (ObjectController) SelectedObjects

func (o_ ObjectController) SelectedObjects() []objc.Object

func (ObjectController) Selection

func (o_ ObjectController) Selection() objc.Object

func (ObjectController) SetAutomaticallyPreparesContent

func (o_ ObjectController) SetAutomaticallyPreparesContent(value bool)

func (ObjectController) SetContent

func (o_ ObjectController) SetContent(value objc.IObject)

func (ObjectController) SetEditable

func (o_ ObjectController) SetEditable(value bool)

func (ObjectController) SetEntityName

func (o_ ObjectController) SetEntityName(value string)

func (ObjectController) SetFetchPredicate

func (o_ ObjectController) SetFetchPredicate(value foundation.IPredicate)

func (ObjectController) SetObjectClass added in v0.19.0

func (o_ ObjectController) SetObjectClass(value objc.IClass)

weak property

func (ObjectController) SetUsesLazyFetching

func (o_ ObjectController) SetUsesLazyFetching(value bool)

func (ObjectController) UsesLazyFetching

func (o_ ObjectController) UsesLazyFetching() bool

func (ObjectController) ValidateUserInterfaceItem

func (o_ ObjectController) ValidateUserInterfaceItem(item objc.IObject) bool

type OpenPanel

type OpenPanel struct {
	SavePanel
}

func MakeOpenPanel

func MakeOpenPanel(ptr unsafe.Pointer) OpenPanel

func NewOpenPanel

func NewOpenPanel() OpenPanel

func (OpenPanel) AllowsMultipleSelection

func (o_ OpenPanel) AllowsMultipleSelection() bool

func (OpenPanel) BeginForDirectory_File_Types_ModelessDelegate_DidEndSelector_ContextInfo added in v0.14.5

func (o_ OpenPanel) BeginForDirectory_File_Types_ModelessDelegate_DidEndSelector_ContextInfo(path string, name string, fileTypes []objc.IObject, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)

deprecated

func (OpenPanel) BeginSheetForDirectory_File_Types_ModalForWindow_ModalDelegate_DidEndSelector_ContextInfo added in v0.14.5

func (o_ OpenPanel) BeginSheetForDirectory_File_Types_ModalForWindow_ModalDelegate_DidEndSelector_ContextInfo(path string, name string, fileTypes []objc.IObject, docWindow IWindow, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)

deprecated

func (OpenPanel) CanChooseDirectories

func (o_ OpenPanel) CanChooseDirectories() bool

func (OpenPanel) CanChooseFiles

func (o_ OpenPanel) CanChooseFiles() bool

func (OpenPanel) CanDownloadUbiquitousContents

func (o_ OpenPanel) CanDownloadUbiquitousContents() bool

func (OpenPanel) CanResolveUbiquitousConflicts

func (o_ OpenPanel) CanResolveUbiquitousConflicts() bool

func (OpenPanel) Filenames added in v0.14.5

func (o_ OpenPanel) Filenames() []objc.Object

deprecated

func (OpenPanel) Init added in v0.11.0

func (o_ OpenPanel) Init() OpenPanel

func (OpenPanel) InitWithContentRect_StyleMask_Backing_Defer added in v0.11.0

func (o_ OpenPanel) InitWithContentRect_StyleMask_Backing_Defer(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool) OpenPanel

func (OpenPanel) InitWithContentRect_StyleMask_Backing_Defer_Screen added in v0.11.0

func (o_ OpenPanel) InitWithContentRect_StyleMask_Backing_Defer_Screen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) OpenPanel

func (OpenPanel) IsAccessoryViewDisclosed

func (o_ OpenPanel) IsAccessoryViewDisclosed() bool

func (OpenPanel) ResolvesAliases

func (o_ OpenPanel) ResolvesAliases() bool

func (OpenPanel) RunModalForDirectory_File_Types added in v0.14.5

func (o_ OpenPanel) RunModalForDirectory_File_Types(path string, name string, fileTypes []objc.IObject) int

deprecated

func (OpenPanel) RunModalForTypes added in v0.14.5

func (o_ OpenPanel) RunModalForTypes(fileTypes []objc.IObject) int

deprecated

func (OpenPanel) SetAccessoryViewDisclosed

func (o_ OpenPanel) SetAccessoryViewDisclosed(value bool)

func (OpenPanel) SetAllowsMultipleSelection

func (o_ OpenPanel) SetAllowsMultipleSelection(value bool)

func (OpenPanel) SetCanChooseDirectories

func (o_ OpenPanel) SetCanChooseDirectories(value bool)

func (OpenPanel) SetCanChooseFiles

func (o_ OpenPanel) SetCanChooseFiles(value bool)

func (OpenPanel) SetCanDownloadUbiquitousContents

func (o_ OpenPanel) SetCanDownloadUbiquitousContents(value bool)

func (OpenPanel) SetCanResolveUbiquitousConflicts

func (o_ OpenPanel) SetCanResolveUbiquitousConflicts(value bool)

func (OpenPanel) SetResolvesAliases

func (o_ OpenPanel) SetResolvesAliases(value bool)

func (OpenPanel) URLs

func (o_ OpenPanel) URLs() []foundation.URL

type OpenSavePanelDelegate added in v0.16.0

type OpenSavePanelDelegate interface {
	ImplementsPanel_UserEnteredFilename_Confirmed() bool
	// optional
	Panel_UserEnteredFilename_Confirmed(sender objc.Object, filename string, okFlag bool) string
	ImplementsPanelSelectionDidChange() bool
	// optional
	PanelSelectionDidChange(sender objc.Object)
	ImplementsPanel_DidChangeToDirectoryURL() bool
	// optional
	Panel_DidChangeToDirectoryURL(sender objc.Object, url foundation.URL)
	ImplementsPanel_WillExpand() bool
	// optional
	Panel_WillExpand(sender objc.Object, expanding bool)
	ImplementsPanel_ShouldEnableURL() bool
	// optional
	Panel_ShouldEnableURL(sender objc.Object, url foundation.URL) bool
	ImplementsPanel_ValidateURL_Error() bool
	// optional
	Panel_ValidateURL_Error(sender objc.Object, url foundation.URL, outError *foundation.Error) bool
}

type OpenSavePanelDelegateBase added in v0.18.0

type OpenSavePanelDelegateBase struct {
}

func (*OpenSavePanelDelegateBase) ImplementsPanelSelectionDidChange added in v0.18.0

func (p *OpenSavePanelDelegateBase) ImplementsPanelSelectionDidChange() bool

func (*OpenSavePanelDelegateBase) ImplementsPanel_DidChangeToDirectoryURL added in v0.18.0

func (p *OpenSavePanelDelegateBase) ImplementsPanel_DidChangeToDirectoryURL() bool

func (*OpenSavePanelDelegateBase) ImplementsPanel_ShouldEnableURL added in v0.18.0

func (p *OpenSavePanelDelegateBase) ImplementsPanel_ShouldEnableURL() bool

func (*OpenSavePanelDelegateBase) ImplementsPanel_UserEnteredFilename_Confirmed added in v0.18.0

func (p *OpenSavePanelDelegateBase) ImplementsPanel_UserEnteredFilename_Confirmed() bool

func (*OpenSavePanelDelegateBase) ImplementsPanel_ValidateURL_Error added in v0.18.0

func (p *OpenSavePanelDelegateBase) ImplementsPanel_ValidateURL_Error() bool

func (*OpenSavePanelDelegateBase) ImplementsPanel_WillExpand added in v0.18.0

func (p *OpenSavePanelDelegateBase) ImplementsPanel_WillExpand() bool

func (*OpenSavePanelDelegateBase) PanelSelectionDidChange added in v0.18.0

func (p *OpenSavePanelDelegateBase) PanelSelectionDidChange(sender objc.Object)

func (*OpenSavePanelDelegateBase) Panel_DidChangeToDirectoryURL added in v0.18.0

func (p *OpenSavePanelDelegateBase) Panel_DidChangeToDirectoryURL(sender objc.Object, url foundation.URL)

func (*OpenSavePanelDelegateBase) Panel_ShouldEnableURL added in v0.18.0

func (p *OpenSavePanelDelegateBase) Panel_ShouldEnableURL(sender objc.Object, url foundation.URL) bool

func (*OpenSavePanelDelegateBase) Panel_UserEnteredFilename_Confirmed added in v0.18.0

func (p *OpenSavePanelDelegateBase) Panel_UserEnteredFilename_Confirmed(sender objc.Object, filename string, okFlag bool) string

func (*OpenSavePanelDelegateBase) Panel_ValidateURL_Error added in v0.18.0

func (p *OpenSavePanelDelegateBase) Panel_ValidateURL_Error(sender objc.Object, url foundation.URL, outError *foundation.Error) bool

func (*OpenSavePanelDelegateBase) Panel_WillExpand added in v0.18.0

func (p *OpenSavePanelDelegateBase) Panel_WillExpand(sender objc.Object, expanding bool)

type OpenSavePanelDelegateCreator added in v0.19.0

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

func NewOpenSavePanelDelegateCreator added in v0.19.0

func NewOpenSavePanelDelegateCreator(name string) *OpenSavePanelDelegateCreator

func (*OpenSavePanelDelegateCreator) Create added in v0.19.0

func (*OpenSavePanelDelegateCreator) SetPanelSelectionDidChange added in v0.19.0

func (c *OpenSavePanelDelegateCreator) SetPanelSelectionDidChange(handle func(o objc.ProtocolBase, sender objc.Object))

func (*OpenSavePanelDelegateCreator) SetPanel_DidChangeToDirectoryURL added in v0.19.0

func (c *OpenSavePanelDelegateCreator) SetPanel_DidChangeToDirectoryURL(handle func(o objc.ProtocolBase, sender objc.Object, url foundation.URL))

func (*OpenSavePanelDelegateCreator) SetPanel_ShouldEnableURL added in v0.19.0

func (c *OpenSavePanelDelegateCreator) SetPanel_ShouldEnableURL(handle func(o objc.ProtocolBase, sender objc.Object, url foundation.URL) bool)

func (*OpenSavePanelDelegateCreator) SetPanel_UserEnteredFilename_Confirmed added in v0.19.0

func (c *OpenSavePanelDelegateCreator) SetPanel_UserEnteredFilename_Confirmed(handle func(o objc.ProtocolBase, sender objc.Object, filename string, okFlag bool) string)

func (*OpenSavePanelDelegateCreator) SetPanel_ValidateURL_Error added in v0.19.0

func (c *OpenSavePanelDelegateCreator) SetPanel_ValidateURL_Error(handle func(o objc.ProtocolBase, sender objc.Object, url foundation.URL, outError *foundation.Error) bool)

func (*OpenSavePanelDelegateCreator) SetPanel_WillExpand added in v0.19.0

func (c *OpenSavePanelDelegateCreator) SetPanel_WillExpand(handle func(o objc.ProtocolBase, sender objc.Object, expanding bool))

type OutlineView

type OutlineView struct {
	TableView
}

func MakeOutlineView

func MakeOutlineView(ptr unsafe.Pointer) OutlineView

func NewOutlineView

func NewOutlineView() OutlineView

func (OutlineView) AutoresizesOutlineColumn

func (o_ OutlineView) AutoresizesOutlineColumn() bool

func (OutlineView) AutosaveExpandedItems

func (o_ OutlineView) AutosaveExpandedItems() bool

func (OutlineView) ChildIndexForItem

func (o_ OutlineView) ChildIndexForItem(item objc.IObject) int

func (OutlineView) Child_OfItem

func (o_ OutlineView) Child_OfItem(index int, item objc.IObject) objc.Object

func (OutlineView) CollapseItem

func (o_ OutlineView) CollapseItem(item objc.IObject)

func (OutlineView) CollapseItem_CollapseChildren

func (o_ OutlineView) CollapseItem_CollapseChildren(item objc.IObject, collapseChildren bool)

func (OutlineView) ExpandItem

func (o_ OutlineView) ExpandItem(item objc.IObject)

func (OutlineView) ExpandItem_ExpandChildren

func (o_ OutlineView) ExpandItem_ExpandChildren(item objc.IObject, expandChildren bool)

func (OutlineView) FrameOfOutlineCellAtRow

func (o_ OutlineView) FrameOfOutlineCellAtRow(row int) foundation.Rect

func (OutlineView) IndentationMarkerFollowsCell

func (o_ OutlineView) IndentationMarkerFollowsCell() bool

func (OutlineView) IndentationPerLevel

func (o_ OutlineView) IndentationPerLevel() float64

func (OutlineView) Init added in v0.11.0

func (o_ OutlineView) Init() OutlineView

func (OutlineView) InitWithFrame added in v0.11.0

func (o_ OutlineView) InitWithFrame(frameRect foundation.Rect) OutlineView

func (OutlineView) InsertItemsAtIndexes_InParent_WithAnimation

func (o_ OutlineView) InsertItemsAtIndexes_InParent_WithAnimation(indexes foundation.IIndexSet, parent objc.IObject, animationOptions TableViewAnimationOptions)

func (OutlineView) IsExpandable

func (o_ OutlineView) IsExpandable(item objc.IObject) bool

func (OutlineView) IsItemExpanded

func (o_ OutlineView) IsItemExpanded(item objc.IObject) bool

func (OutlineView) ItemAtRow

func (o_ OutlineView) ItemAtRow(row int) objc.Object

func (OutlineView) LevelForItem

func (o_ OutlineView) LevelForItem(item objc.IObject) int

func (OutlineView) LevelForRow

func (o_ OutlineView) LevelForRow(row int) int

func (OutlineView) MoveItemAtIndex_InParent_ToIndex_InParent

func (o_ OutlineView) MoveItemAtIndex_InParent_ToIndex_InParent(fromIndex int, oldParent objc.IObject, toIndex int, newParent objc.IObject)

func (OutlineView) NumberOfChildrenOfItem

func (o_ OutlineView) NumberOfChildrenOfItem(item objc.IObject) int

func (OutlineView) OutlineTableColumn

func (o_ OutlineView) OutlineTableColumn() TableColumn

weak property

func (OutlineView) ParentForItem

func (o_ OutlineView) ParentForItem(item objc.IObject) objc.Object

func (OutlineView) ReloadItem

func (o_ OutlineView) ReloadItem(item objc.IObject)

func (OutlineView) ReloadItem_ReloadChildren

func (o_ OutlineView) ReloadItem_ReloadChildren(item objc.IObject, reloadChildren bool)

func (OutlineView) RemoveItemsAtIndexes_InParent_WithAnimation

func (o_ OutlineView) RemoveItemsAtIndexes_InParent_WithAnimation(indexes foundation.IIndexSet, parent objc.IObject, animationOptions TableViewAnimationOptions)

func (OutlineView) RowForItem

func (o_ OutlineView) RowForItem(item objc.IObject) int

func (OutlineView) SetAutoresizesOutlineColumn

func (o_ OutlineView) SetAutoresizesOutlineColumn(value bool)

func (OutlineView) SetAutosaveExpandedItems

func (o_ OutlineView) SetAutosaveExpandedItems(value bool)

func (OutlineView) SetDropItem_DropChildIndex

func (o_ OutlineView) SetDropItem_DropChildIndex(item objc.IObject, index int)

func (OutlineView) SetIndentationMarkerFollowsCell

func (o_ OutlineView) SetIndentationMarkerFollowsCell(value bool)

func (OutlineView) SetIndentationPerLevel

func (o_ OutlineView) SetIndentationPerLevel(value float64)

func (OutlineView) SetOutlineTableColumn

func (o_ OutlineView) SetOutlineTableColumn(value ITableColumn)

weak property

func (OutlineView) SetStronglyReferencesItems

func (o_ OutlineView) SetStronglyReferencesItems(value bool)

func (OutlineView) ShouldCollapseAutoExpandedItemsForDeposited

func (o_ OutlineView) ShouldCollapseAutoExpandedItemsForDeposited(deposited bool) bool

func (OutlineView) StronglyReferencesItems

func (o_ OutlineView) StronglyReferencesItems() bool

type OutlineViewDataSource

type OutlineViewDataSource interface {
	ImplementsOutlineView_AcceptDrop_Item_ChildIndex() bool
	// optional
	OutlineView_AcceptDrop_Item_ChildIndex(outlineView OutlineView, info objc.Object, item objc.Object, index int) bool
	ImplementsOutlineView_Child_OfItem() bool
	// optional
	OutlineView_Child_OfItem(outlineView OutlineView, index int, item objc.Object) objc.IObject
	ImplementsOutlineView_DraggingSession_EndedAtPoint_Operation() bool
	// optional
	OutlineView_DraggingSession_EndedAtPoint_Operation(outlineView OutlineView, session DraggingSession, screenPoint foundation.Point, operation DragOperation)
	ImplementsOutlineView_DraggingSession_WillBeginAtPoint_ForItems() bool
	// optional
	OutlineView_DraggingSession_WillBeginAtPoint_ForItems(outlineView OutlineView, session DraggingSession, screenPoint foundation.Point, draggedItems []objc.Object)
	ImplementsOutlineView_IsItemExpandable() bool
	// optional
	OutlineView_IsItemExpandable(outlineView OutlineView, item objc.Object) bool
	ImplementsOutlineView_ItemForPersistentObject() bool
	// optional
	OutlineView_ItemForPersistentObject(outlineView OutlineView, object objc.Object) objc.IObject
	ImplementsOutlineView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItems() bool
	// optional
	// deprecated
	OutlineView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItems(outlineView OutlineView, dropDestination foundation.URL, items []objc.Object) []string
	ImplementsOutlineView_NumberOfChildrenOfItem() bool
	// optional
	OutlineView_NumberOfChildrenOfItem(outlineView OutlineView, item objc.Object) int
	ImplementsOutlineView_ObjectValueForTableColumn_ByItem() bool
	// optional
	OutlineView_ObjectValueForTableColumn_ByItem(outlineView OutlineView, tableColumn TableColumn, item objc.Object) objc.IObject
	ImplementsOutlineView_PasteboardWriterForItem() bool
	// optional
	OutlineView_PasteboardWriterForItem(outlineView OutlineView, item objc.Object) objc.IObject
	ImplementsOutlineView_PersistentObjectForItem() bool
	// optional
	OutlineView_PersistentObjectForItem(outlineView OutlineView, item objc.Object) objc.IObject
	ImplementsOutlineView_SetObjectValue_ForTableColumn_ByItem() bool
	// optional
	OutlineView_SetObjectValue_ForTableColumn_ByItem(outlineView OutlineView, object objc.Object, tableColumn TableColumn, item objc.Object)
	ImplementsOutlineView_SortDescriptorsDidChange() bool
	// optional
	OutlineView_SortDescriptorsDidChange(outlineView OutlineView, oldDescriptors []foundation.SortDescriptor)
	ImplementsOutlineView_UpdateDraggingItemsForDrag() bool
	// optional
	OutlineView_UpdateDraggingItemsForDrag(outlineView OutlineView, draggingInfo objc.Object)
	ImplementsOutlineView_ValidateDrop_ProposedItem_ProposedChildIndex() bool
	// optional
	OutlineView_ValidateDrop_ProposedItem_ProposedChildIndex(outlineView OutlineView, info objc.Object, item objc.Object, index int) DragOperation
	ImplementsOutlineView_WriteItems_ToPasteboard() bool
	// optional
	// deprecated
	OutlineView_WriteItems_ToPasteboard(outlineView OutlineView, items []objc.Object, pasteboard Pasteboard) bool
}

type OutlineViewDataSourceBase added in v0.13.0

type OutlineViewDataSourceBase struct {
}

func (*OutlineViewDataSourceBase) ImplementsOutlineView_AcceptDrop_Item_ChildIndex added in v0.14.1

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_AcceptDrop_Item_ChildIndex() bool

func (*OutlineViewDataSourceBase) ImplementsOutlineView_Child_OfItem added in v0.13.0

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_Child_OfItem() bool

func (*OutlineViewDataSourceBase) ImplementsOutlineView_DraggingSession_EndedAtPoint_Operation added in v0.13.0

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_DraggingSession_EndedAtPoint_Operation() bool

func (*OutlineViewDataSourceBase) ImplementsOutlineView_DraggingSession_WillBeginAtPoint_ForItems added in v0.13.0

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_DraggingSession_WillBeginAtPoint_ForItems() bool

func (*OutlineViewDataSourceBase) ImplementsOutlineView_IsItemExpandable added in v0.13.0

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_IsItemExpandable() bool

func (*OutlineViewDataSourceBase) ImplementsOutlineView_ItemForPersistentObject added in v0.13.0

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_ItemForPersistentObject() bool

func (*OutlineViewDataSourceBase) ImplementsOutlineView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItems added in v0.14.5

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItems() bool

func (*OutlineViewDataSourceBase) ImplementsOutlineView_NumberOfChildrenOfItem added in v0.13.0

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_NumberOfChildrenOfItem() bool

func (*OutlineViewDataSourceBase) ImplementsOutlineView_ObjectValueForTableColumn_ByItem added in v0.13.0

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_ObjectValueForTableColumn_ByItem() bool

func (*OutlineViewDataSourceBase) ImplementsOutlineView_PasteboardWriterForItem added in v0.13.0

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_PasteboardWriterForItem() bool

func (*OutlineViewDataSourceBase) ImplementsOutlineView_PersistentObjectForItem added in v0.13.0

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_PersistentObjectForItem() bool

func (*OutlineViewDataSourceBase) ImplementsOutlineView_SetObjectValue_ForTableColumn_ByItem added in v0.13.0

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_SetObjectValue_ForTableColumn_ByItem() bool

func (*OutlineViewDataSourceBase) ImplementsOutlineView_SortDescriptorsDidChange added in v0.13.0

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_SortDescriptorsDidChange() bool

func (*OutlineViewDataSourceBase) ImplementsOutlineView_UpdateDraggingItemsForDrag added in v0.14.1

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_UpdateDraggingItemsForDrag() bool

func (*OutlineViewDataSourceBase) ImplementsOutlineView_ValidateDrop_ProposedItem_ProposedChildIndex added in v0.14.1

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_ValidateDrop_ProposedItem_ProposedChildIndex() bool

func (*OutlineViewDataSourceBase) ImplementsOutlineView_WriteItems_ToPasteboard added in v0.14.5

func (p *OutlineViewDataSourceBase) ImplementsOutlineView_WriteItems_ToPasteboard() bool

func (*OutlineViewDataSourceBase) OutlineView_AcceptDrop_Item_ChildIndex added in v0.14.1

func (p *OutlineViewDataSourceBase) OutlineView_AcceptDrop_Item_ChildIndex(outlineView OutlineView, info objc.Object, item objc.Object, index int) bool

func (*OutlineViewDataSourceBase) OutlineView_Child_OfItem added in v0.13.0

func (p *OutlineViewDataSourceBase) OutlineView_Child_OfItem(outlineView OutlineView, index int, item objc.Object) objc.IObject

func (*OutlineViewDataSourceBase) OutlineView_DraggingSession_EndedAtPoint_Operation added in v0.13.0

func (p *OutlineViewDataSourceBase) OutlineView_DraggingSession_EndedAtPoint_Operation(outlineView OutlineView, session DraggingSession, screenPoint foundation.Point, operation DragOperation)

func (*OutlineViewDataSourceBase) OutlineView_DraggingSession_WillBeginAtPoint_ForItems added in v0.13.0

func (p *OutlineViewDataSourceBase) OutlineView_DraggingSession_WillBeginAtPoint_ForItems(outlineView OutlineView, session DraggingSession, screenPoint foundation.Point, draggedItems []objc.Object)

func (*OutlineViewDataSourceBase) OutlineView_IsItemExpandable added in v0.13.0

func (p *OutlineViewDataSourceBase) OutlineView_IsItemExpandable(outlineView OutlineView, item objc.Object) bool

func (*OutlineViewDataSourceBase) OutlineView_ItemForPersistentObject added in v0.13.0

func (p *OutlineViewDataSourceBase) OutlineView_ItemForPersistentObject(outlineView OutlineView, object objc.Object) objc.IObject

func (*OutlineViewDataSourceBase) OutlineView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItems added in v0.14.5

func (p *OutlineViewDataSourceBase) OutlineView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedItems(outlineView OutlineView, dropDestination foundation.URL, items []objc.Object) []string

deprecated

func (*OutlineViewDataSourceBase) OutlineView_NumberOfChildrenOfItem added in v0.13.0

func (p *OutlineViewDataSourceBase) OutlineView_NumberOfChildrenOfItem(outlineView OutlineView, item objc.Object) int

func (*OutlineViewDataSourceBase) OutlineView_ObjectValueForTableColumn_ByItem added in v0.13.0

func (p *OutlineViewDataSourceBase) OutlineView_ObjectValueForTableColumn_ByItem(outlineView OutlineView, tableColumn TableColumn, item objc.Object) objc.IObject

func (*OutlineViewDataSourceBase) OutlineView_PasteboardWriterForItem added in v0.13.0

func (p *OutlineViewDataSourceBase) OutlineView_PasteboardWriterForItem(outlineView OutlineView, item objc.Object) objc.IObject

func (*OutlineViewDataSourceBase) OutlineView_PersistentObjectForItem added in v0.13.0

func (p *OutlineViewDataSourceBase) OutlineView_PersistentObjectForItem(outlineView OutlineView, item objc.Object) objc.IObject

func (*OutlineViewDataSourceBase) OutlineView_SetObjectValue_ForTableColumn_ByItem added in v0.13.0

func (p *OutlineViewDataSourceBase) OutlineView_SetObjectValue_ForTableColumn_ByItem(outlineView OutlineView, object objc.Object, tableColumn TableColumn, item objc.Object)

func (*OutlineViewDataSourceBase) OutlineView_SortDescriptorsDidChange added in v0.13.0

func (p *OutlineViewDataSourceBase) OutlineView_SortDescriptorsDidChange(outlineView OutlineView, oldDescriptors []foundation.SortDescriptor)

func (*OutlineViewDataSourceBase) OutlineView_UpdateDraggingItemsForDrag added in v0.14.1

func (p *OutlineViewDataSourceBase) OutlineView_UpdateDraggingItemsForDrag(outlineView OutlineView, draggingInfo objc.Object)

func (*OutlineViewDataSourceBase) OutlineView_ValidateDrop_ProposedItem_ProposedChildIndex added in v0.14.1

func (p *OutlineViewDataSourceBase) OutlineView_ValidateDrop_ProposedItem_ProposedChildIndex(outlineView OutlineView, info objc.Object, item objc.Object, index int) DragOperation

func (*OutlineViewDataSourceBase) OutlineView_WriteItems_ToPasteboard added in v0.14.5

func (p *OutlineViewDataSourceBase) OutlineView_WriteItems_ToPasteboard(outlineView OutlineView, items []objc.Object, pasteboard Pasteboard) bool

deprecated

type OutlineViewDelegate

type OutlineViewDelegate interface {
	ControlTextEditingDelegate
	ImplementsOutlineView_ShouldExpandItem() bool
	// optional
	OutlineView_ShouldExpandItem(outlineView OutlineView, item objc.Object) bool
	ImplementsOutlineView_ShouldCollapseItem() bool
	// optional
	OutlineView_ShouldCollapseItem(outlineView OutlineView, item objc.Object) bool
	ImplementsOutlineView_TypeSelectStringForTableColumn_Item() bool
	// optional
	OutlineView_TypeSelectStringForTableColumn_Item(outlineView OutlineView, tableColumn TableColumn, item objc.Object) string
	ImplementsOutlineView_NextTypeSelectMatchFromItem_ToItem_ForString() bool
	// optional
	OutlineView_NextTypeSelectMatchFromItem_ToItem_ForString(outlineView OutlineView, startItem objc.Object, endItem objc.Object, searchString string) objc.IObject
	ImplementsOutlineView_ShouldTypeSelectForEvent_WithCurrentSearchString() bool
	// optional
	OutlineView_ShouldTypeSelectForEvent_WithCurrentSearchString(outlineView OutlineView, event Event, searchString string) bool
	ImplementsOutlineView_ToolTipForCell_Rect_TableColumn_Item_MouseLocation() bool
	// optional
	OutlineView_ToolTipForCell_Rect_TableColumn_Item_MouseLocation(outlineView OutlineView, cell Cell, rect *foundation.Rect, tableColumn TableColumn, item objc.Object, mouseLocation foundation.Point) string
	ImplementsOutlineView_ShouldSelectTableColumn() bool
	// optional
	OutlineView_ShouldSelectTableColumn(outlineView OutlineView, tableColumn TableColumn) bool
	ImplementsOutlineView_ShouldSelectItem() bool
	// optional
	OutlineView_ShouldSelectItem(outlineView OutlineView, item objc.Object) bool
	ImplementsOutlineView_SelectionIndexesForProposedSelection() bool
	// optional
	OutlineView_SelectionIndexesForProposedSelection(outlineView OutlineView, proposedSelectionIndexes foundation.IndexSet) foundation.IIndexSet
	ImplementsSelectionShouldChangeInOutlineView() bool
	// optional
	SelectionShouldChangeInOutlineView(outlineView OutlineView) bool
	ImplementsOutlineViewSelectionIsChanging() bool
	// optional
	OutlineViewSelectionIsChanging(notification foundation.Notification)
	ImplementsOutlineViewSelectionDidChange() bool
	// optional
	OutlineViewSelectionDidChange(notification foundation.Notification)
	ImplementsOutlineView_WillDisplayCell_ForTableColumn_Item() bool
	// optional
	OutlineView_WillDisplayCell_ForTableColumn_Item(outlineView OutlineView, cell objc.Object, tableColumn TableColumn, item objc.Object)
	ImplementsOutlineView_WillDisplayOutlineCell_ForTableColumn_Item() bool
	// optional
	OutlineView_WillDisplayOutlineCell_ForTableColumn_Item(outlineView OutlineView, cell objc.Object, tableColumn TableColumn, item objc.Object)
	ImplementsOutlineView_DataCellForTableColumn_Item() bool
	// optional
	OutlineView_DataCellForTableColumn_Item(outlineView OutlineView, tableColumn TableColumn, item objc.Object) ICell
	ImplementsOutlineView_ShouldShowOutlineCellForItem() bool
	// optional
	OutlineView_ShouldShowOutlineCellForItem(outlineView OutlineView, item objc.Object) bool
	ImplementsOutlineView_ShouldShowCellExpansionForTableColumn_Item() bool
	// optional
	OutlineView_ShouldShowCellExpansionForTableColumn_Item(outlineView OutlineView, tableColumn TableColumn, item objc.Object) bool
	ImplementsOutlineView_ShouldReorderColumn_ToColumn() bool
	// optional
	OutlineView_ShouldReorderColumn_ToColumn(outlineView OutlineView, columnIndex int, newColumnIndex int) bool
	ImplementsOutlineViewColumnDidMove() bool
	// optional
	OutlineViewColumnDidMove(notification foundation.Notification)
	ImplementsOutlineViewColumnDidResize() bool
	// optional
	OutlineViewColumnDidResize(notification foundation.Notification)
	ImplementsOutlineViewItemWillExpand() bool
	// optional
	OutlineViewItemWillExpand(notification foundation.Notification)
	ImplementsOutlineViewItemDidExpand() bool
	// optional
	OutlineViewItemDidExpand(notification foundation.Notification)
	ImplementsOutlineViewItemWillCollapse() bool
	// optional
	OutlineViewItemWillCollapse(notification foundation.Notification)
	ImplementsOutlineViewItemDidCollapse() bool
	// optional
	OutlineViewItemDidCollapse(notification foundation.Notification)
	ImplementsOutlineView_ShouldEditTableColumn_Item() bool
	// optional
	OutlineView_ShouldEditTableColumn_Item(outlineView OutlineView, tableColumn TableColumn, item objc.Object) bool
	ImplementsOutlineView_MouseDownInHeaderOfTableColumn() bool
	// optional
	OutlineView_MouseDownInHeaderOfTableColumn(outlineView OutlineView, tableColumn TableColumn)
	ImplementsOutlineView_DidClickTableColumn() bool
	// optional
	OutlineView_DidClickTableColumn(outlineView OutlineView, tableColumn TableColumn)
	ImplementsOutlineView_DidDragTableColumn() bool
	// optional
	OutlineView_DidDragTableColumn(outlineView OutlineView, tableColumn TableColumn)
	ImplementsOutlineView_HeightOfRowByItem() bool
	// optional
	OutlineView_HeightOfRowByItem(outlineView OutlineView, item objc.Object) float64
	ImplementsOutlineView_SizeToFitWidthOfColumn() bool
	// optional
	OutlineView_SizeToFitWidthOfColumn(outlineView OutlineView, column int) float64
	ImplementsOutlineView_TintConfigurationForItem() bool
	// optional
	OutlineView_TintConfigurationForItem(outlineView OutlineView, item objc.Object) ITintConfiguration
	ImplementsOutlineView_ShouldTrackCell_ForTableColumn_Item() bool
	// optional
	OutlineView_ShouldTrackCell_ForTableColumn_Item(outlineView OutlineView, cell Cell, tableColumn TableColumn, item objc.Object) bool
	ImplementsOutlineView_IsGroupItem() bool
	// optional
	OutlineView_IsGroupItem(outlineView OutlineView, item objc.Object) bool
	ImplementsOutlineView_DidAddRowView_ForRow() bool
	// optional
	OutlineView_DidAddRowView_ForRow(outlineView OutlineView, rowView TableRowView, row int)
	ImplementsOutlineView_DidRemoveRowView_ForRow() bool
	// optional
	OutlineView_DidRemoveRowView_ForRow(outlineView OutlineView, rowView TableRowView, row int)
	ImplementsOutlineView_RowViewForItem() bool
	// optional
	OutlineView_RowViewForItem(outlineView OutlineView, item objc.Object) ITableRowView
	ImplementsOutlineView_ViewForTableColumn_Item() bool
	// optional
	OutlineView_ViewForTableColumn_Item(outlineView OutlineView, tableColumn TableColumn, item objc.Object) IView
}

type OutlineViewDelegateBase added in v0.18.0

type OutlineViewDelegateBase struct {
	ControlTextEditingDelegateBase
}

func (*OutlineViewDelegateBase) ImplementsOutlineViewColumnDidMove added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineViewColumnDidMove() bool

func (*OutlineViewDelegateBase) ImplementsOutlineViewColumnDidResize added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineViewColumnDidResize() bool

func (*OutlineViewDelegateBase) ImplementsOutlineViewItemDidCollapse added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineViewItemDidCollapse() bool

func (*OutlineViewDelegateBase) ImplementsOutlineViewItemDidExpand added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineViewItemDidExpand() bool

func (*OutlineViewDelegateBase) ImplementsOutlineViewItemWillCollapse added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineViewItemWillCollapse() bool

func (*OutlineViewDelegateBase) ImplementsOutlineViewItemWillExpand added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineViewItemWillExpand() bool

func (*OutlineViewDelegateBase) ImplementsOutlineViewSelectionDidChange added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineViewSelectionDidChange() bool

func (*OutlineViewDelegateBase) ImplementsOutlineViewSelectionIsChanging added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineViewSelectionIsChanging() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_DataCellForTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_DataCellForTableColumn_Item() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_DidAddRowView_ForRow added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_DidAddRowView_ForRow() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_DidClickTableColumn added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_DidClickTableColumn() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_DidDragTableColumn added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_DidDragTableColumn() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_DidRemoveRowView_ForRow added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_DidRemoveRowView_ForRow() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_HeightOfRowByItem added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_HeightOfRowByItem() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_IsGroupItem added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_IsGroupItem() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_MouseDownInHeaderOfTableColumn added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_MouseDownInHeaderOfTableColumn() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_NextTypeSelectMatchFromItem_ToItem_ForString added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_NextTypeSelectMatchFromItem_ToItem_ForString() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_RowViewForItem added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_RowViewForItem() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_SelectionIndexesForProposedSelection added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_SelectionIndexesForProposedSelection() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_ShouldCollapseItem added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_ShouldCollapseItem() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_ShouldEditTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_ShouldEditTableColumn_Item() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_ShouldExpandItem added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_ShouldExpandItem() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_ShouldReorderColumn_ToColumn added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_ShouldReorderColumn_ToColumn() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_ShouldSelectItem added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_ShouldSelectItem() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_ShouldSelectTableColumn added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_ShouldSelectTableColumn() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_ShouldShowCellExpansionForTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_ShouldShowCellExpansionForTableColumn_Item() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_ShouldShowOutlineCellForItem added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_ShouldShowOutlineCellForItem() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_ShouldTrackCell_ForTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_ShouldTrackCell_ForTableColumn_Item() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_ShouldTypeSelectForEvent_WithCurrentSearchString added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_ShouldTypeSelectForEvent_WithCurrentSearchString() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_SizeToFitWidthOfColumn added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_SizeToFitWidthOfColumn() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_TintConfigurationForItem added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_TintConfigurationForItem() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_ToolTipForCell_Rect_TableColumn_Item_MouseLocation added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_ToolTipForCell_Rect_TableColumn_Item_MouseLocation() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_TypeSelectStringForTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_TypeSelectStringForTableColumn_Item() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_ViewForTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_ViewForTableColumn_Item() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_WillDisplayCell_ForTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_WillDisplayCell_ForTableColumn_Item() bool

func (*OutlineViewDelegateBase) ImplementsOutlineView_WillDisplayOutlineCell_ForTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsOutlineView_WillDisplayOutlineCell_ForTableColumn_Item() bool

func (*OutlineViewDelegateBase) ImplementsSelectionShouldChangeInOutlineView added in v0.18.0

func (p *OutlineViewDelegateBase) ImplementsSelectionShouldChangeInOutlineView() bool

func (*OutlineViewDelegateBase) OutlineViewColumnDidMove added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineViewColumnDidMove(notification foundation.Notification)

func (*OutlineViewDelegateBase) OutlineViewColumnDidResize added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineViewColumnDidResize(notification foundation.Notification)

func (*OutlineViewDelegateBase) OutlineViewItemDidCollapse added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineViewItemDidCollapse(notification foundation.Notification)

func (*OutlineViewDelegateBase) OutlineViewItemDidExpand added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineViewItemDidExpand(notification foundation.Notification)

func (*OutlineViewDelegateBase) OutlineViewItemWillCollapse added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineViewItemWillCollapse(notification foundation.Notification)

func (*OutlineViewDelegateBase) OutlineViewItemWillExpand added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineViewItemWillExpand(notification foundation.Notification)

func (*OutlineViewDelegateBase) OutlineViewSelectionDidChange added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineViewSelectionDidChange(notification foundation.Notification)

func (*OutlineViewDelegateBase) OutlineViewSelectionIsChanging added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineViewSelectionIsChanging(notification foundation.Notification)

func (*OutlineViewDelegateBase) OutlineView_DataCellForTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_DataCellForTableColumn_Item(outlineView OutlineView, tableColumn TableColumn, item objc.Object) ICell

func (*OutlineViewDelegateBase) OutlineView_DidAddRowView_ForRow added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_DidAddRowView_ForRow(outlineView OutlineView, rowView TableRowView, row int)

func (*OutlineViewDelegateBase) OutlineView_DidClickTableColumn added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_DidClickTableColumn(outlineView OutlineView, tableColumn TableColumn)

func (*OutlineViewDelegateBase) OutlineView_DidDragTableColumn added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_DidDragTableColumn(outlineView OutlineView, tableColumn TableColumn)

func (*OutlineViewDelegateBase) OutlineView_DidRemoveRowView_ForRow added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_DidRemoveRowView_ForRow(outlineView OutlineView, rowView TableRowView, row int)

func (*OutlineViewDelegateBase) OutlineView_HeightOfRowByItem added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_HeightOfRowByItem(outlineView OutlineView, item objc.Object) float64

func (*OutlineViewDelegateBase) OutlineView_IsGroupItem added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_IsGroupItem(outlineView OutlineView, item objc.Object) bool

func (*OutlineViewDelegateBase) OutlineView_MouseDownInHeaderOfTableColumn added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_MouseDownInHeaderOfTableColumn(outlineView OutlineView, tableColumn TableColumn)

func (*OutlineViewDelegateBase) OutlineView_NextTypeSelectMatchFromItem_ToItem_ForString added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_NextTypeSelectMatchFromItem_ToItem_ForString(outlineView OutlineView, startItem objc.Object, endItem objc.Object, searchString string) objc.IObject

func (*OutlineViewDelegateBase) OutlineView_RowViewForItem added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_RowViewForItem(outlineView OutlineView, item objc.Object) ITableRowView

func (*OutlineViewDelegateBase) OutlineView_SelectionIndexesForProposedSelection added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_SelectionIndexesForProposedSelection(outlineView OutlineView, proposedSelectionIndexes foundation.IndexSet) foundation.IIndexSet

func (*OutlineViewDelegateBase) OutlineView_ShouldCollapseItem added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_ShouldCollapseItem(outlineView OutlineView, item objc.Object) bool

func (*OutlineViewDelegateBase) OutlineView_ShouldEditTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_ShouldEditTableColumn_Item(outlineView OutlineView, tableColumn TableColumn, item objc.Object) bool

func (*OutlineViewDelegateBase) OutlineView_ShouldExpandItem added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_ShouldExpandItem(outlineView OutlineView, item objc.Object) bool

func (*OutlineViewDelegateBase) OutlineView_ShouldReorderColumn_ToColumn added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_ShouldReorderColumn_ToColumn(outlineView OutlineView, columnIndex int, newColumnIndex int) bool

func (*OutlineViewDelegateBase) OutlineView_ShouldSelectItem added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_ShouldSelectItem(outlineView OutlineView, item objc.Object) bool

func (*OutlineViewDelegateBase) OutlineView_ShouldSelectTableColumn added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_ShouldSelectTableColumn(outlineView OutlineView, tableColumn TableColumn) bool

func (*OutlineViewDelegateBase) OutlineView_ShouldShowCellExpansionForTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_ShouldShowCellExpansionForTableColumn_Item(outlineView OutlineView, tableColumn TableColumn, item objc.Object) bool

func (*OutlineViewDelegateBase) OutlineView_ShouldShowOutlineCellForItem added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_ShouldShowOutlineCellForItem(outlineView OutlineView, item objc.Object) bool

func (*OutlineViewDelegateBase) OutlineView_ShouldTrackCell_ForTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_ShouldTrackCell_ForTableColumn_Item(outlineView OutlineView, cell Cell, tableColumn TableColumn, item objc.Object) bool

func (*OutlineViewDelegateBase) OutlineView_ShouldTypeSelectForEvent_WithCurrentSearchString added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_ShouldTypeSelectForEvent_WithCurrentSearchString(outlineView OutlineView, event Event, searchString string) bool

func (*OutlineViewDelegateBase) OutlineView_SizeToFitWidthOfColumn added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_SizeToFitWidthOfColumn(outlineView OutlineView, column int) float64

func (*OutlineViewDelegateBase) OutlineView_TintConfigurationForItem added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_TintConfigurationForItem(outlineView OutlineView, item objc.Object) ITintConfiguration

func (*OutlineViewDelegateBase) OutlineView_ToolTipForCell_Rect_TableColumn_Item_MouseLocation added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_ToolTipForCell_Rect_TableColumn_Item_MouseLocation(outlineView OutlineView, cell Cell, rect *foundation.Rect, tableColumn TableColumn, item objc.Object, mouseLocation foundation.Point) string

func (*OutlineViewDelegateBase) OutlineView_TypeSelectStringForTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_TypeSelectStringForTableColumn_Item(outlineView OutlineView, tableColumn TableColumn, item objc.Object) string

func (*OutlineViewDelegateBase) OutlineView_ViewForTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_ViewForTableColumn_Item(outlineView OutlineView, tableColumn TableColumn, item objc.Object) IView

func (*OutlineViewDelegateBase) OutlineView_WillDisplayCell_ForTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_WillDisplayCell_ForTableColumn_Item(outlineView OutlineView, cell objc.Object, tableColumn TableColumn, item objc.Object)

func (*OutlineViewDelegateBase) OutlineView_WillDisplayOutlineCell_ForTableColumn_Item added in v0.18.0

func (p *OutlineViewDelegateBase) OutlineView_WillDisplayOutlineCell_ForTableColumn_Item(outlineView OutlineView, cell objc.Object, tableColumn TableColumn, item objc.Object)

func (*OutlineViewDelegateBase) SelectionShouldChangeInOutlineView added in v0.18.0

func (p *OutlineViewDelegateBase) SelectionShouldChangeInOutlineView(outlineView OutlineView) bool

type OutlineViewDelegateCreator added in v0.19.0

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

func NewOutlineViewDelegateCreator added in v0.19.0

func NewOutlineViewDelegateCreator(name string) *OutlineViewDelegateCreator

func (*OutlineViewDelegateCreator) Create added in v0.19.0

func (*OutlineViewDelegateCreator) SetOutlineViewColumnDidMove added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineViewColumnDidMove(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*OutlineViewDelegateCreator) SetOutlineViewColumnDidResize added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineViewColumnDidResize(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*OutlineViewDelegateCreator) SetOutlineViewItemDidCollapse added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineViewItemDidCollapse(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*OutlineViewDelegateCreator) SetOutlineViewItemDidExpand added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineViewItemDidExpand(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*OutlineViewDelegateCreator) SetOutlineViewItemWillCollapse added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineViewItemWillCollapse(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*OutlineViewDelegateCreator) SetOutlineViewItemWillExpand added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineViewItemWillExpand(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*OutlineViewDelegateCreator) SetOutlineViewSelectionDidChange added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineViewSelectionDidChange(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*OutlineViewDelegateCreator) SetOutlineViewSelectionIsChanging added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineViewSelectionIsChanging(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*OutlineViewDelegateCreator) SetOutlineView_DataCellForTableColumn_Item added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_DataCellForTableColumn_Item(handle func(o objc.ProtocolBase, outlineView OutlineView, tableColumn TableColumn, item objc.Object) ICell)

func (*OutlineViewDelegateCreator) SetOutlineView_DidAddRowView_ForRow added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_DidAddRowView_ForRow(handle func(o objc.ProtocolBase, outlineView OutlineView, rowView TableRowView, row int))

func (*OutlineViewDelegateCreator) SetOutlineView_DidClickTableColumn added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_DidClickTableColumn(handle func(o objc.ProtocolBase, outlineView OutlineView, tableColumn TableColumn))

func (*OutlineViewDelegateCreator) SetOutlineView_DidDragTableColumn added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_DidDragTableColumn(handle func(o objc.ProtocolBase, outlineView OutlineView, tableColumn TableColumn))

func (*OutlineViewDelegateCreator) SetOutlineView_DidRemoveRowView_ForRow added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_DidRemoveRowView_ForRow(handle func(o objc.ProtocolBase, outlineView OutlineView, rowView TableRowView, row int))

func (*OutlineViewDelegateCreator) SetOutlineView_HeightOfRowByItem added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_HeightOfRowByItem(handle func(o objc.ProtocolBase, outlineView OutlineView, item objc.Object) float64)

func (*OutlineViewDelegateCreator) SetOutlineView_IsGroupItem added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_IsGroupItem(handle func(o objc.ProtocolBase, outlineView OutlineView, item objc.Object) bool)

func (*OutlineViewDelegateCreator) SetOutlineView_MouseDownInHeaderOfTableColumn added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_MouseDownInHeaderOfTableColumn(handle func(o objc.ProtocolBase, outlineView OutlineView, tableColumn TableColumn))

func (*OutlineViewDelegateCreator) SetOutlineView_NextTypeSelectMatchFromItem_ToItem_ForString added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_NextTypeSelectMatchFromItem_ToItem_ForString(handle func(o objc.ProtocolBase, outlineView OutlineView, startItem objc.Object, endItem objc.Object, searchString string) objc.IObject)

func (*OutlineViewDelegateCreator) SetOutlineView_RowViewForItem added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_RowViewForItem(handle func(o objc.ProtocolBase, outlineView OutlineView, item objc.Object) ITableRowView)

func (*OutlineViewDelegateCreator) SetOutlineView_SelectionIndexesForProposedSelection added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_SelectionIndexesForProposedSelection(handle func(o objc.ProtocolBase, outlineView OutlineView, proposedSelectionIndexes foundation.IndexSet) foundation.IIndexSet)

func (*OutlineViewDelegateCreator) SetOutlineView_ShouldCollapseItem added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_ShouldCollapseItem(handle func(o objc.ProtocolBase, outlineView OutlineView, item objc.Object) bool)

func (*OutlineViewDelegateCreator) SetOutlineView_ShouldEditTableColumn_Item added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_ShouldEditTableColumn_Item(handle func(o objc.ProtocolBase, outlineView OutlineView, tableColumn TableColumn, item objc.Object) bool)

func (*OutlineViewDelegateCreator) SetOutlineView_ShouldExpandItem added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_ShouldExpandItem(handle func(o objc.ProtocolBase, outlineView OutlineView, item objc.Object) bool)

func (*OutlineViewDelegateCreator) SetOutlineView_ShouldReorderColumn_ToColumn added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_ShouldReorderColumn_ToColumn(handle func(o objc.ProtocolBase, outlineView OutlineView, columnIndex int, newColumnIndex int) bool)

func (*OutlineViewDelegateCreator) SetOutlineView_ShouldSelectItem added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_ShouldSelectItem(handle func(o objc.ProtocolBase, outlineView OutlineView, item objc.Object) bool)

func (*OutlineViewDelegateCreator) SetOutlineView_ShouldSelectTableColumn added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_ShouldSelectTableColumn(handle func(o objc.ProtocolBase, outlineView OutlineView, tableColumn TableColumn) bool)

func (*OutlineViewDelegateCreator) SetOutlineView_ShouldShowCellExpansionForTableColumn_Item added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_ShouldShowCellExpansionForTableColumn_Item(handle func(o objc.ProtocolBase, outlineView OutlineView, tableColumn TableColumn, item objc.Object) bool)

func (*OutlineViewDelegateCreator) SetOutlineView_ShouldShowOutlineCellForItem added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_ShouldShowOutlineCellForItem(handle func(o objc.ProtocolBase, outlineView OutlineView, item objc.Object) bool)

func (*OutlineViewDelegateCreator) SetOutlineView_ShouldTrackCell_ForTableColumn_Item added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_ShouldTrackCell_ForTableColumn_Item(handle func(o objc.ProtocolBase, outlineView OutlineView, cell Cell, tableColumn TableColumn, item objc.Object) bool)

func (*OutlineViewDelegateCreator) SetOutlineView_ShouldTypeSelectForEvent_WithCurrentSearchString added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_ShouldTypeSelectForEvent_WithCurrentSearchString(handle func(o objc.ProtocolBase, outlineView OutlineView, event Event, searchString string) bool)

func (*OutlineViewDelegateCreator) SetOutlineView_SizeToFitWidthOfColumn added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_SizeToFitWidthOfColumn(handle func(o objc.ProtocolBase, outlineView OutlineView, column int) float64)

func (*OutlineViewDelegateCreator) SetOutlineView_TintConfigurationForItem added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_TintConfigurationForItem(handle func(o objc.ProtocolBase, outlineView OutlineView, item objc.Object) ITintConfiguration)

func (*OutlineViewDelegateCreator) SetOutlineView_ToolTipForCell_Rect_TableColumn_Item_MouseLocation added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_ToolTipForCell_Rect_TableColumn_Item_MouseLocation(handle func(o objc.ProtocolBase, outlineView OutlineView, cell Cell, rect *foundation.Rect, tableColumn TableColumn, item objc.Object, mouseLocation foundation.Point) string)

func (*OutlineViewDelegateCreator) SetOutlineView_TypeSelectStringForTableColumn_Item added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_TypeSelectStringForTableColumn_Item(handle func(o objc.ProtocolBase, outlineView OutlineView, tableColumn TableColumn, item objc.Object) string)

func (*OutlineViewDelegateCreator) SetOutlineView_ViewForTableColumn_Item added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_ViewForTableColumn_Item(handle func(o objc.ProtocolBase, outlineView OutlineView, tableColumn TableColumn, item objc.Object) IView)

func (*OutlineViewDelegateCreator) SetOutlineView_WillDisplayCell_ForTableColumn_Item added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_WillDisplayCell_ForTableColumn_Item(handle func(o objc.ProtocolBase, outlineView OutlineView, cell objc.Object, tableColumn TableColumn, item objc.Object))

func (*OutlineViewDelegateCreator) SetOutlineView_WillDisplayOutlineCell_ForTableColumn_Item added in v0.19.0

func (c *OutlineViewDelegateCreator) SetOutlineView_WillDisplayOutlineCell_ForTableColumn_Item(handle func(o objc.ProtocolBase, outlineView OutlineView, cell objc.Object, tableColumn TableColumn, item objc.Object))

func (*OutlineViewDelegateCreator) SetSelectionShouldChangeInOutlineView added in v0.19.0

func (c *OutlineViewDelegateCreator) SetSelectionShouldChangeInOutlineView(handle func(o objc.ProtocolBase, outlineView OutlineView) bool)

type PDFInfo

type PDFInfo struct {
	objc.Object
}

func MakePDFInfo

func MakePDFInfo(ptr unsafe.Pointer) PDFInfo

func NewPDFInfo

func NewPDFInfo() PDFInfo

func (PDFInfo) Attributes

func (p_ PDFInfo) Attributes() foundation.MutableDictionary

func (PDFInfo) Init added in v0.11.0

func (p_ PDFInfo) Init() PDFInfo

func (PDFInfo) IsFileExtensionHidden

func (p_ PDFInfo) IsFileExtensionHidden() bool

func (PDFInfo) Orientation

func (p_ PDFInfo) Orientation() PaperOrientation

func (PDFInfo) PaperSize

func (p_ PDFInfo) PaperSize() foundation.Size

func (PDFInfo) SetFileExtensionHidden

func (p_ PDFInfo) SetFileExtensionHidden(value bool)

func (PDFInfo) SetOrientation

func (p_ PDFInfo) SetOrientation(value PaperOrientation)

func (PDFInfo) SetPaperSize

func (p_ PDFInfo) SetPaperSize(value foundation.Size)

func (PDFInfo) SetTagNames

func (p_ PDFInfo) SetTagNames(value []string)

func (PDFInfo) SetURL

func (p_ PDFInfo) SetURL(value foundation.IURL)

func (PDFInfo) TagNames

func (p_ PDFInfo) TagNames() []string

func (PDFInfo) URL

func (p_ PDFInfo) URL() foundation.URL

type PDFPanel

type PDFPanel struct {
	objc.Object
}

func MakePDFPanel

func MakePDFPanel(ptr unsafe.Pointer) PDFPanel

func NewPDFPanel

func NewPDFPanel() PDFPanel

func (PDFPanel) AccessoryController

func (p_ PDFPanel) AccessoryController() ViewController

func (PDFPanel) BeginSheetWithPDFInfo_ModalForWindow_CompletionHandler added in v0.13.3

func (p_ PDFPanel) BeginSheetWithPDFInfo_ModalForWindow_CompletionHandler(pdfInfo IPDFInfo, docWindow IWindow, completionHandler func(param1 int))

func (PDFPanel) DefaultFileName

func (p_ PDFPanel) DefaultFileName() string

func (PDFPanel) Init added in v0.11.0

func (p_ PDFPanel) Init() PDFPanel

func (PDFPanel) Options

func (p_ PDFPanel) Options() PDFPanelOptions

func (PDFPanel) SetAccessoryController

func (p_ PDFPanel) SetAccessoryController(value IViewController)

func (PDFPanel) SetDefaultFileName

func (p_ PDFPanel) SetDefaultFileName(value string)

func (PDFPanel) SetOptions

func (p_ PDFPanel) SetOptions(value PDFPanelOptions)

type PDFPanelOptions

type PDFPanelOptions int
const PDFPanelRequestsParentDirectory PDFPanelOptions = 16777216
const PDFPanelShowsOrientation PDFPanelOptions = 8
const PDFPanelShowsPaperSize PDFPanelOptions = 4

type PageLayout

type PageLayout struct {
	objc.Object
}

func MakePageLayout

func MakePageLayout(ptr unsafe.Pointer) PageLayout

func NewPageLayout

func NewPageLayout() PageLayout

func (PageLayout) AccessoryControllers

func (p_ PageLayout) AccessoryControllers() []ViewController

func (PageLayout) AccessoryView added in v0.14.5

func (p_ PageLayout) AccessoryView() View

deprecated

func (PageLayout) AddAccessoryController

func (p_ PageLayout) AddAccessoryController(accessoryController IViewController)

func (PageLayout) BeginSheetWithPrintInfo_ModalForWindow_Delegate_DidEndSelector_ContextInfo added in v0.8.1

func (p_ PageLayout) BeginSheetWithPrintInfo_ModalForWindow_Delegate_DidEndSelector_ContextInfo(printInfo IPrintInfo, docWindow IWindow, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)

func (PageLayout) Init added in v0.11.0

func (p_ PageLayout) Init() PageLayout

func (PageLayout) PrintInfo

func (p_ PageLayout) PrintInfo() PrintInfo

func (PageLayout) ReadPrintInfo added in v0.14.5

func (p_ PageLayout) ReadPrintInfo()

deprecated

func (PageLayout) RemoveAccessoryController

func (p_ PageLayout) RemoveAccessoryController(accessoryController IViewController)

func (PageLayout) RunModal

func (p_ PageLayout) RunModal() int

func (PageLayout) RunModalWithPrintInfo

func (p_ PageLayout) RunModalWithPrintInfo(printInfo IPrintInfo) int

func (PageLayout) SetAccessoryView added in v0.14.5

func (p_ PageLayout) SetAccessoryView(accessoryView IView)

deprecated

func (PageLayout) WritePrintInfo added in v0.14.5

func (p_ PageLayout) WritePrintInfo()

deprecated

type Panel

type Panel struct {
	Window
}

func MakePanel

func MakePanel(ptr unsafe.Pointer) Panel

func NewPanel

func NewPanel() Panel

func (Panel) BecomesKeyOnlyIfNeeded

func (p_ Panel) BecomesKeyOnlyIfNeeded() bool

func (Panel) Init added in v0.11.0

func (p_ Panel) Init() Panel

func (Panel) InitWithContentRect_StyleMask_Backing_Defer added in v0.11.0

func (p_ Panel) InitWithContentRect_StyleMask_Backing_Defer(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool) Panel

func (Panel) InitWithContentRect_StyleMask_Backing_Defer_Screen added in v0.11.0

func (p_ Panel) InitWithContentRect_StyleMask_Backing_Defer_Screen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) Panel

func (Panel) SetBecomesKeyOnlyIfNeeded

func (p_ Panel) SetBecomesKeyOnlyIfNeeded(value bool)

func (Panel) SetFloatingPanel

func (p_ Panel) SetFloatingPanel(value bool)

func (Panel) SetWorksWhenModal

func (p_ Panel) SetWorksWhenModal(value bool)

type PaperOrientation

type PaperOrientation int
const PaperOrientationLandscape PaperOrientation = 1
const PaperOrientationPortrait PaperOrientation = 0

type ParagraphStyle

type ParagraphStyle struct {
	objc.Object
}

func MakeParagraphStyle

func MakeParagraphStyle(ptr unsafe.Pointer) ParagraphStyle

func NewParagraphStyle

func NewParagraphStyle() ParagraphStyle

func (ParagraphStyle) Alignment

func (p_ ParagraphStyle) Alignment() TextAlignment

func (ParagraphStyle) AllowsDefaultTighteningForTruncation

func (p_ ParagraphStyle) AllowsDefaultTighteningForTruncation() bool

func (ParagraphStyle) BaseWritingDirection

func (p_ ParagraphStyle) BaseWritingDirection() WritingDirection

func (ParagraphStyle) DefaultTabInterval

func (p_ ParagraphStyle) DefaultTabInterval() float64

func (ParagraphStyle) FirstLineHeadIndent

func (p_ ParagraphStyle) FirstLineHeadIndent() float64

func (ParagraphStyle) HeadIndent

func (p_ ParagraphStyle) HeadIndent() float64

func (ParagraphStyle) HeaderLevel

func (p_ ParagraphStyle) HeaderLevel() int

func (ParagraphStyle) HyphenationFactor

func (p_ ParagraphStyle) HyphenationFactor() float32

func (ParagraphStyle) Init added in v0.11.0

func (p_ ParagraphStyle) Init() ParagraphStyle

func (ParagraphStyle) LineBreakMode

func (p_ ParagraphStyle) LineBreakMode() LineBreakMode

func (ParagraphStyle) LineBreakStrategy

func (p_ ParagraphStyle) LineBreakStrategy() LineBreakStrategy

func (ParagraphStyle) LineHeightMultiple

func (p_ ParagraphStyle) LineHeightMultiple() float64

func (ParagraphStyle) LineSpacing

func (p_ ParagraphStyle) LineSpacing() float64

func (ParagraphStyle) MaximumLineHeight

func (p_ ParagraphStyle) MaximumLineHeight() float64

func (ParagraphStyle) MinimumLineHeight

func (p_ ParagraphStyle) MinimumLineHeight() float64

func (ParagraphStyle) ParagraphSpacing

func (p_ ParagraphStyle) ParagraphSpacing() float64

func (ParagraphStyle) ParagraphSpacingBefore

func (p_ ParagraphStyle) ParagraphSpacingBefore() float64

func (ParagraphStyle) TabStops

func (p_ ParagraphStyle) TabStops() []TextTab

func (ParagraphStyle) TailIndent

func (p_ ParagraphStyle) TailIndent() float64

func (ParagraphStyle) TextBlocks

func (p_ ParagraphStyle) TextBlocks() []TextBlock

func (ParagraphStyle) TextLists

func (p_ ParagraphStyle) TextLists() []TextList

func (ParagraphStyle) TighteningFactorForTruncation

func (p_ ParagraphStyle) TighteningFactorForTruncation() float32

func (ParagraphStyle) UsesDefaultHyphenation added in v0.12.0

func (p_ ParagraphStyle) UsesDefaultHyphenation() bool

type Pasteboard

type Pasteboard struct {
	objc.Object
}

func MakePasteboard

func MakePasteboard(ptr unsafe.Pointer) Pasteboard

func NewPasteboard

func NewPasteboard() Pasteboard

func (Pasteboard) AddTypes_Owner

func (p_ Pasteboard) AddTypes_Owner(newTypes []PasteboardType, newOwner objc.IObject) int

func (Pasteboard) AvailableTypeFromArray

func (p_ Pasteboard) AvailableTypeFromArray(types []PasteboardType) PasteboardType

func (Pasteboard) CanReadItemWithDataConformingToTypes

func (p_ Pasteboard) CanReadItemWithDataConformingToTypes(types []string) bool

func (Pasteboard) CanReadObjectForClasses_Options added in v0.13.6

func (p_ Pasteboard) CanReadObjectForClasses_Options(classArray []objc.IClass, options map[PasteboardReadingOptionKey]objc.IObject) bool

func (Pasteboard) ChangeCount

func (p_ Pasteboard) ChangeCount() int

func (Pasteboard) ClearContents

func (p_ Pasteboard) ClearContents() int

func (Pasteboard) DataForType

func (p_ Pasteboard) DataForType(dataType PasteboardType) []byte

func (Pasteboard) DeclareTypes_Owner

func (p_ Pasteboard) DeclareTypes_Owner(newTypes []PasteboardType, newOwner objc.IObject) int

func (Pasteboard) IndexOfPasteboardItem

func (p_ Pasteboard) IndexOfPasteboardItem(pasteboardItem IPasteboardItem) uint

func (Pasteboard) Init added in v0.11.0

func (p_ Pasteboard) Init() Pasteboard

func (Pasteboard) Name

func (p_ Pasteboard) Name() PasteboardName

func (Pasteboard) PasteboardItems

func (p_ Pasteboard) PasteboardItems() []PasteboardItem

func (Pasteboard) PrepareForNewContentsWithOptions

func (p_ Pasteboard) PrepareForNewContentsWithOptions(options PasteboardContentsOptions) int

func (Pasteboard) PropertyListForType

func (p_ Pasteboard) PropertyListForType(dataType PasteboardType) objc.Object

func (Pasteboard) ReadFileContentsType_ToFile

func (p_ Pasteboard) ReadFileContentsType_ToFile(type_ PasteboardType, filename string) string

func (Pasteboard) ReadFileWrapper

func (p_ Pasteboard) ReadFileWrapper() foundation.FileWrapper

func (Pasteboard) ReadObjectsForClasses_Options added in v0.13.6

func (p_ Pasteboard) ReadObjectsForClasses_Options(classArray []objc.IClass, options map[PasteboardReadingOptionKey]objc.IObject) []objc.Object

func (Pasteboard) SetData_ForType

func (p_ Pasteboard) SetData_ForType(data []byte, dataType PasteboardType) bool

func (Pasteboard) SetPropertyList_ForType

func (p_ Pasteboard) SetPropertyList_ForType(plist objc.IObject, dataType PasteboardType) bool

func (Pasteboard) SetString_ForType

func (p_ Pasteboard) SetString_ForType(string_ string, dataType PasteboardType) bool

func (Pasteboard) StringForType

func (p_ Pasteboard) StringForType(dataType PasteboardType) string

func (Pasteboard) Types

func (p_ Pasteboard) Types() []PasteboardType

func (Pasteboard) WriteFileContents

func (p_ Pasteboard) WriteFileContents(filename string) bool

func (Pasteboard) WriteFileWrapper

func (p_ Pasteboard) WriteFileWrapper(wrapper foundation.IFileWrapper) bool

type PasteboardContentsOptions

type PasteboardContentsOptions uint
const PasteboardContentsCurrentHostOnly PasteboardContentsOptions = 1

type PasteboardItem

type PasteboardItem struct {
	objc.Object
}

func MakePasteboardItem

func MakePasteboardItem(ptr unsafe.Pointer) PasteboardItem

func NewPasteboardItem

func NewPasteboardItem() PasteboardItem

func (PasteboardItem) AvailableTypeFromArray

func (p_ PasteboardItem) AvailableTypeFromArray(types []PasteboardType) PasteboardType

func (PasteboardItem) DataForType

func (p_ PasteboardItem) DataForType(type_ PasteboardType) []byte

func (PasteboardItem) Init added in v0.11.0

func (p_ PasteboardItem) Init() PasteboardItem

func (PasteboardItem) PropertyListForType

func (p_ PasteboardItem) PropertyListForType(type_ PasteboardType) objc.Object

func (PasteboardItem) SetDataProvider_ForTypes

func (p_ PasteboardItem) SetDataProvider_ForTypes(dataProvider objc.IObject, types []PasteboardType) bool

func (PasteboardItem) SetData_ForType

func (p_ PasteboardItem) SetData_ForType(data []byte, type_ PasteboardType) bool

func (PasteboardItem) SetPropertyList_ForType

func (p_ PasteboardItem) SetPropertyList_ForType(propertyList objc.IObject, type_ PasteboardType) bool

func (PasteboardItem) SetString_ForType

func (p_ PasteboardItem) SetString_ForType(string_ string, type_ PasteboardType) bool

func (PasteboardItem) StringForType

func (p_ PasteboardItem) StringForType(type_ PasteboardType) string

func (PasteboardItem) Types

func (p_ PasteboardItem) Types() []PasteboardType

type PasteboardItemDataProvider added in v0.13.0

type PasteboardItemDataProvider interface {
	// required
	Pasteboard_Item_ProvideDataForType(pasteboard Pasteboard, item PasteboardItem, type_ PasteboardType)
	ImplementsPasteboardFinishedWithDataProvider() bool
	// optional
	PasteboardFinishedWithDataProvider(pasteboard Pasteboard)
}

type PasteboardItemDataProviderBase added in v0.13.0

type PasteboardItemDataProviderBase struct {
}

func (*PasteboardItemDataProviderBase) ImplementsPasteboardFinishedWithDataProvider added in v0.13.0

func (p *PasteboardItemDataProviderBase) ImplementsPasteboardFinishedWithDataProvider() bool

func (*PasteboardItemDataProviderBase) PasteboardFinishedWithDataProvider added in v0.13.0

func (p *PasteboardItemDataProviderBase) PasteboardFinishedWithDataProvider(pasteboard Pasteboard)

type PasteboardName

type PasteboardName string
const PasteboardNameDrag PasteboardName = "Apple CFPasteboard drag"
const PasteboardNameFind PasteboardName = "Apple CFPasteboard find"
const PasteboardNameFont PasteboardName = "Apple CFPasteboard font"
const PasteboardNameGeneral PasteboardName = "Apple CFPasteboard general"
const PasteboardNameRuler PasteboardName = "Apple CFPasteboard ruler"

type PasteboardReadingOptionKey added in v0.13.6

type PasteboardReadingOptionKey string
const PasteboardURLReadingContentsConformToTypesKey PasteboardReadingOptionKey = "NSPasteboardURLReadingContentsConformToTypesKey"
const PasteboardURLReadingFileURLsOnlyKey PasteboardReadingOptionKey = "NSPasteboardURLReadingFileURLsOnlyKey"

type PasteboardType

type PasteboardType string
const FileContentsPboardType PasteboardType = "NXFileContentsPboardType"
const FindPanelSearchOptionsPboardType PasteboardType = "NSFindPanel search options pasteboard type"
const PasteboardTypeColor PasteboardType = "com.apple.cocoa.pasteboard.color"
const PasteboardTypeFileURL PasteboardType = "public.file-url"
const PasteboardTypeFont PasteboardType = "com.apple.cocoa.pasteboard.character-formatting"
const PasteboardTypeHTML PasteboardType = "public.html"
const PasteboardTypeMultipleTextSelection PasteboardType = "com.apple.cocoa.pasteboard.multiple-text-selection"
const PasteboardTypePDF PasteboardType = "com.adobe.pdf"
const PasteboardTypePNG PasteboardType = "public.png"
const PasteboardTypeRTF PasteboardType = "public.rtf"
const PasteboardTypeRTFD PasteboardType = "com.apple.flat-rtfd"
const PasteboardTypeRuler PasteboardType = "com.apple.cocoa.pasteboard.paragraph-formatting"
const PasteboardTypeSound PasteboardType = "com.apple.cocoa.pasteboard.sound"
const PasteboardTypeString PasteboardType = "public.utf8-plain-text"
const PasteboardTypeTIFF PasteboardType = "public.tiff"
const PasteboardTypeTabularText PasteboardType = "public.utf8-tab-separated-values-text"
const PasteboardTypeTextFinderOptions PasteboardType = "com.apple.cocoa.pasteboard.find-panel-search-options"
const PasteboardTypeURL PasteboardType = "public.url"

type PasteboardWriting added in v0.13.0

type PasteboardWriting interface {
	// required
	WritableTypesForPasteboard(pasteboard Pasteboard) []PasteboardType
	ImplementsWritingOptionsForType_Pasteboard() bool
	// optional
	WritingOptionsForType_Pasteboard(type_ PasteboardType, pasteboard Pasteboard) PasteboardWritingOptions
	// required
	PasteboardPropertyListForType(type_ PasteboardType) objc.IObject
}

type PasteboardWritingBase added in v0.13.0

type PasteboardWritingBase struct {
}

func (*PasteboardWritingBase) ImplementsWritingOptionsForType_Pasteboard added in v0.13.0

func (p *PasteboardWritingBase) ImplementsWritingOptionsForType_Pasteboard() bool

func (*PasteboardWritingBase) WritingOptionsForType_Pasteboard added in v0.13.0

func (p *PasteboardWritingBase) WritingOptionsForType_Pasteboard(type_ PasteboardType, pasteboard Pasteboard) PasteboardWritingOptions

type PasteboardWritingOptions added in v0.13.0

type PasteboardWritingOptions uint
const PasteboardWritingPromised PasteboardWritingOptions = 512

type PathCell

type PathCell struct {
	ActionCell
}

func MakePathCell

func MakePathCell(ptr unsafe.Pointer) PathCell

func NewPathCell

func NewPathCell() PathCell

func (PathCell) AllowedTypes

func (p_ PathCell) AllowedTypes() []string

func (PathCell) BackgroundColor

func (p_ PathCell) BackgroundColor() Color

func (PathCell) ClickedPathComponentCell

func (p_ PathCell) ClickedPathComponentCell() PathComponentCell

func (PathCell) Delegate

func (p_ PathCell) Delegate() objc.Object

weak property

func (PathCell) DoubleAction

func (p_ PathCell) DoubleAction() objc.Selector

func (PathCell) Init added in v0.11.0

func (p_ PathCell) Init() PathCell

func (PathCell) InitImageCell added in v0.11.0

func (p_ PathCell) InitImageCell(image IImage) PathCell

func (PathCell) InitTextCell added in v0.11.0

func (p_ PathCell) InitTextCell(string_ string) PathCell

func (PathCell) MouseEntered_WithFrame_InView

func (p_ PathCell) MouseEntered_WithFrame_InView(event IEvent, frame foundation.Rect, view IView)

func (PathCell) MouseExited_WithFrame_InView

func (p_ PathCell) MouseExited_WithFrame_InView(event IEvent, frame foundation.Rect, view IView)

func (PathCell) PathComponentCellAtPoint_WithFrame_InView

func (p_ PathCell) PathComponentCellAtPoint_WithFrame_InView(point foundation.Point, frame foundation.Rect, view IView) PathComponentCell

func (PathCell) PathComponentCells

func (p_ PathCell) PathComponentCells() []PathComponentCell

func (PathCell) PathStyle

func (p_ PathCell) PathStyle() PathStyle

func (PathCell) PlaceholderAttributedString

func (p_ PathCell) PlaceholderAttributedString() foundation.AttributedString

func (PathCell) PlaceholderString

func (p_ PathCell) PlaceholderString() string

func (PathCell) RectOfPathComponentCell_WithFrame_InView

func (p_ PathCell) RectOfPathComponentCell_WithFrame_InView(cell IPathComponentCell, frame foundation.Rect, view IView) foundation.Rect

func (PathCell) SetAllowedTypes

func (p_ PathCell) SetAllowedTypes(value []string)

func (PathCell) SetBackgroundColor

func (p_ PathCell) SetBackgroundColor(value IColor)

func (PathCell) SetDelegate

func (p_ PathCell) SetDelegate(value objc.IObject)

weak property

func (PathCell) SetDoubleAction

func (p_ PathCell) SetDoubleAction(value objc.Selector)

func (PathCell) SetPathComponentCells

func (p_ PathCell) SetPathComponentCells(value []IPathComponentCell)

func (PathCell) SetPathStyle

func (p_ PathCell) SetPathStyle(value PathStyle)

func (PathCell) SetPlaceholderAttributedString

func (p_ PathCell) SetPlaceholderAttributedString(value foundation.IAttributedString)

func (PathCell) SetPlaceholderString

func (p_ PathCell) SetPlaceholderString(value string)

func (PathCell) SetURL

func (p_ PathCell) SetURL(value foundation.IURL)

func (PathCell) URL

func (p_ PathCell) URL() foundation.URL

type PathCellDelegate

type PathCellDelegate interface {
	ImplementsPathCell_WillDisplayOpenPanel() bool
	// optional
	PathCell_WillDisplayOpenPanel(pathCell PathCell, openPanel OpenPanel)
	ImplementsPathCell_WillPopUpMenu() bool
	// optional
	PathCell_WillPopUpMenu(pathCell PathCell, menu Menu)
}

type PathCellDelegateBase added in v0.18.0

type PathCellDelegateBase struct {
}

func (*PathCellDelegateBase) ImplementsPathCell_WillDisplayOpenPanel added in v0.18.0

func (p *PathCellDelegateBase) ImplementsPathCell_WillDisplayOpenPanel() bool

func (*PathCellDelegateBase) ImplementsPathCell_WillPopUpMenu added in v0.18.0

func (p *PathCellDelegateBase) ImplementsPathCell_WillPopUpMenu() bool

func (*PathCellDelegateBase) PathCell_WillDisplayOpenPanel added in v0.18.0

func (p *PathCellDelegateBase) PathCell_WillDisplayOpenPanel(pathCell PathCell, openPanel OpenPanel)

func (*PathCellDelegateBase) PathCell_WillPopUpMenu added in v0.18.0

func (p *PathCellDelegateBase) PathCell_WillPopUpMenu(pathCell PathCell, menu Menu)

type PathCellDelegateCreator added in v0.19.0

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

func NewPathCellDelegateCreator added in v0.19.0

func NewPathCellDelegateCreator(name string) *PathCellDelegateCreator

func (*PathCellDelegateCreator) Create added in v0.19.0

func (*PathCellDelegateCreator) SetPathCell_WillDisplayOpenPanel added in v0.19.0

func (c *PathCellDelegateCreator) SetPathCell_WillDisplayOpenPanel(handle func(o objc.ProtocolBase, pathCell PathCell, openPanel OpenPanel))

func (*PathCellDelegateCreator) SetPathCell_WillPopUpMenu added in v0.19.0

func (c *PathCellDelegateCreator) SetPathCell_WillPopUpMenu(handle func(o objc.ProtocolBase, pathCell PathCell, menu Menu))

type PathComponentCell

type PathComponentCell struct {
	TextFieldCell
}

func MakePathComponentCell

func MakePathComponentCell(ptr unsafe.Pointer) PathComponentCell

func NewPathComponentCell

func NewPathComponentCell() PathComponentCell

func (PathComponentCell) Init added in v0.11.0

func (PathComponentCell) InitImageCell added in v0.13.0

func (p_ PathComponentCell) InitImageCell(image IImage) PathComponentCell

func (PathComponentCell) InitTextCell added in v0.11.0

func (p_ PathComponentCell) InitTextCell(string_ string) PathComponentCell

func (PathComponentCell) SetURL

func (p_ PathComponentCell) SetURL(value foundation.IURL)

func (PathComponentCell) URL

func (p_ PathComponentCell) URL() foundation.URL

type PathControl

type PathControl struct {
	Control
}

func MakePathControl

func MakePathControl(ptr unsafe.Pointer) PathControl

func NewPathControl

func NewPathControl() PathControl

func (PathControl) AllowedTypes

func (p_ PathControl) AllowedTypes() []string

func (PathControl) BackgroundColor

func (p_ PathControl) BackgroundColor() Color

func (PathControl) ClickedPathComponentCell added in v0.14.5

func (p_ PathControl) ClickedPathComponentCell() PathComponentCell

deprecated

func (PathControl) ClickedPathItem

func (p_ PathControl) ClickedPathItem() PathControlItem

func (PathControl) Delegate

func (p_ PathControl) Delegate() objc.Object

weak property

func (PathControl) DoubleAction

func (p_ PathControl) DoubleAction() objc.Selector

func (PathControl) Init added in v0.11.0

func (p_ PathControl) Init() PathControl

func (PathControl) InitWithFrame added in v0.11.0

func (p_ PathControl) InitWithFrame(frameRect foundation.Rect) PathControl

func (PathControl) IsEditable

func (p_ PathControl) IsEditable() bool

func (PathControl) PathComponentCells added in v0.14.5

func (p_ PathControl) PathComponentCells() []PathComponentCell

deprecated

func (PathControl) PathItems

func (p_ PathControl) PathItems() []PathControlItem

func (PathControl) PathStyle

func (p_ PathControl) PathStyle() PathStyle

func (PathControl) PlaceholderAttributedString

func (p_ PathControl) PlaceholderAttributedString() foundation.AttributedString

func (PathControl) PlaceholderString

func (p_ PathControl) PlaceholderString() string

func (PathControl) SetAllowedTypes

func (p_ PathControl) SetAllowedTypes(value []string)

func (PathControl) SetBackgroundColor

func (p_ PathControl) SetBackgroundColor(value IColor)

func (PathControl) SetDelegate

func (p_ PathControl) SetDelegate(value objc.IObject)

weak property

func (PathControl) SetDoubleAction

func (p_ PathControl) SetDoubleAction(value objc.Selector)

func (PathControl) SetDraggingSourceOperationMask_ForLocal

func (p_ PathControl) SetDraggingSourceOperationMask_ForLocal(mask DragOperation, isLocal bool)

func (PathControl) SetEditable

func (p_ PathControl) SetEditable(value bool)

func (PathControl) SetPathComponentCells added in v0.14.5

func (p_ PathControl) SetPathComponentCells(cells []IPathComponentCell)

deprecated

func (PathControl) SetPathItems

func (p_ PathControl) SetPathItems(value []IPathControlItem)

func (PathControl) SetPathStyle

func (p_ PathControl) SetPathStyle(value PathStyle)

func (PathControl) SetPlaceholderAttributedString

func (p_ PathControl) SetPlaceholderAttributedString(value foundation.IAttributedString)

func (PathControl) SetPlaceholderString

func (p_ PathControl) SetPlaceholderString(value string)

func (PathControl) SetURL

func (p_ PathControl) SetURL(value foundation.IURL)

func (PathControl) URL

func (p_ PathControl) URL() foundation.URL

type PathControlDelegate

type PathControlDelegate interface {
	ImplementsPathControl_ShouldDragPathComponentCell_WithPasteboard() bool
	// optional
	PathControl_ShouldDragPathComponentCell_WithPasteboard(pathControl PathControl, pathComponentCell PathComponentCell, pasteboard Pasteboard) bool
	ImplementsPathControl_ValidateDrop() bool
	// optional
	PathControl_ValidateDrop(pathControl PathControl, info objc.Object) DragOperation
	ImplementsPathControl_AcceptDrop() bool
	// optional
	PathControl_AcceptDrop(pathControl PathControl, info objc.Object) bool
	ImplementsPathControl_WillDisplayOpenPanel() bool
	// optional
	PathControl_WillDisplayOpenPanel(pathControl PathControl, openPanel OpenPanel)
	ImplementsPathControl_WillPopUpMenu() bool
	// optional
	PathControl_WillPopUpMenu(pathControl PathControl, menu Menu)
	ImplementsPathControl_ShouldDragItem_WithPasteboard() bool
	// optional
	PathControl_ShouldDragItem_WithPasteboard(pathControl PathControl, pathItem PathControlItem, pasteboard Pasteboard) bool
}

type PathControlDelegateBase added in v0.18.0

type PathControlDelegateBase struct {
}

func (*PathControlDelegateBase) ImplementsPathControl_AcceptDrop added in v0.18.0

func (p *PathControlDelegateBase) ImplementsPathControl_AcceptDrop() bool

func (*PathControlDelegateBase) ImplementsPathControl_ShouldDragItem_WithPasteboard added in v0.18.0

func (p *PathControlDelegateBase) ImplementsPathControl_ShouldDragItem_WithPasteboard() bool

func (*PathControlDelegateBase) ImplementsPathControl_ShouldDragPathComponentCell_WithPasteboard added in v0.18.0

func (p *PathControlDelegateBase) ImplementsPathControl_ShouldDragPathComponentCell_WithPasteboard() bool

func (*PathControlDelegateBase) ImplementsPathControl_ValidateDrop added in v0.18.0

func (p *PathControlDelegateBase) ImplementsPathControl_ValidateDrop() bool

func (*PathControlDelegateBase) ImplementsPathControl_WillDisplayOpenPanel added in v0.18.0

func (p *PathControlDelegateBase) ImplementsPathControl_WillDisplayOpenPanel() bool

func (*PathControlDelegateBase) ImplementsPathControl_WillPopUpMenu added in v0.18.0

func (p *PathControlDelegateBase) ImplementsPathControl_WillPopUpMenu() bool

func (*PathControlDelegateBase) PathControl_AcceptDrop added in v0.18.0

func (p *PathControlDelegateBase) PathControl_AcceptDrop(pathControl PathControl, info objc.Object) bool

func (*PathControlDelegateBase) PathControl_ShouldDragItem_WithPasteboard added in v0.18.0

func (p *PathControlDelegateBase) PathControl_ShouldDragItem_WithPasteboard(pathControl PathControl, pathItem PathControlItem, pasteboard Pasteboard) bool

func (*PathControlDelegateBase) PathControl_ShouldDragPathComponentCell_WithPasteboard added in v0.18.0

func (p *PathControlDelegateBase) PathControl_ShouldDragPathComponentCell_WithPasteboard(pathControl PathControl, pathComponentCell PathComponentCell, pasteboard Pasteboard) bool

func (*PathControlDelegateBase) PathControl_ValidateDrop added in v0.18.0

func (p *PathControlDelegateBase) PathControl_ValidateDrop(pathControl PathControl, info objc.Object) DragOperation

func (*PathControlDelegateBase) PathControl_WillDisplayOpenPanel added in v0.18.0

func (p *PathControlDelegateBase) PathControl_WillDisplayOpenPanel(pathControl PathControl, openPanel OpenPanel)

func (*PathControlDelegateBase) PathControl_WillPopUpMenu added in v0.18.0

func (p *PathControlDelegateBase) PathControl_WillPopUpMenu(pathControl PathControl, menu Menu)

type PathControlDelegateCreator added in v0.19.0

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

func NewPathControlDelegateCreator added in v0.19.0

func NewPathControlDelegateCreator(name string) *PathControlDelegateCreator

func (*PathControlDelegateCreator) Create added in v0.19.0

func (*PathControlDelegateCreator) SetPathControl_AcceptDrop added in v0.19.0

func (c *PathControlDelegateCreator) SetPathControl_AcceptDrop(handle func(o objc.ProtocolBase, pathControl PathControl, info objc.Object) bool)

func (*PathControlDelegateCreator) SetPathControl_ShouldDragItem_WithPasteboard added in v0.19.0

func (c *PathControlDelegateCreator) SetPathControl_ShouldDragItem_WithPasteboard(handle func(o objc.ProtocolBase, pathControl PathControl, pathItem PathControlItem, pasteboard Pasteboard) bool)

func (*PathControlDelegateCreator) SetPathControl_ShouldDragPathComponentCell_WithPasteboard added in v0.19.0

func (c *PathControlDelegateCreator) SetPathControl_ShouldDragPathComponentCell_WithPasteboard(handle func(o objc.ProtocolBase, pathControl PathControl, pathComponentCell PathComponentCell, pasteboard Pasteboard) bool)

func (*PathControlDelegateCreator) SetPathControl_ValidateDrop added in v0.19.0

func (c *PathControlDelegateCreator) SetPathControl_ValidateDrop(handle func(o objc.ProtocolBase, pathControl PathControl, info objc.Object) DragOperation)

func (*PathControlDelegateCreator) SetPathControl_WillDisplayOpenPanel added in v0.19.0

func (c *PathControlDelegateCreator) SetPathControl_WillDisplayOpenPanel(handle func(o objc.ProtocolBase, pathControl PathControl, openPanel OpenPanel))

func (*PathControlDelegateCreator) SetPathControl_WillPopUpMenu added in v0.19.0

func (c *PathControlDelegateCreator) SetPathControl_WillPopUpMenu(handle func(o objc.ProtocolBase, pathControl PathControl, menu Menu))

type PathControlItem

type PathControlItem struct {
	objc.Object
}

func MakePathControlItem

func MakePathControlItem(ptr unsafe.Pointer) PathControlItem

func NewPathControlItem

func NewPathControlItem() PathControlItem

func (PathControlItem) AttributedTitle

func (p_ PathControlItem) AttributedTitle() foundation.AttributedString

func (PathControlItem) Image

func (p_ PathControlItem) Image() Image

func (PathControlItem) Init added in v0.11.0

func (p_ PathControlItem) Init() PathControlItem

func (PathControlItem) SetAttributedTitle

func (p_ PathControlItem) SetAttributedTitle(value foundation.IAttributedString)

func (PathControlItem) SetImage

func (p_ PathControlItem) SetImage(value IImage)

func (PathControlItem) SetTitle

func (p_ PathControlItem) SetTitle(value string)

func (PathControlItem) Title

func (p_ PathControlItem) Title() string

func (PathControlItem) URL

func (p_ PathControlItem) URL() foundation.URL

type PathStyle

type PathStyle int
const PathStylePopUp PathStyle = 2
const PathStyleStandard PathStyle = 0

type PointingDeviceType

type PointingDeviceType uint
const PointingDeviceTypeCursor PointingDeviceType = 2
const PointingDeviceTypeEraser PointingDeviceType = 3
const PointingDeviceTypePen PointingDeviceType = 1
const PointingDeviceTypeUnknown PointingDeviceType = 0

type PopUpButton

type PopUpButton struct {
	Button
}

func MakePopUpButton

func MakePopUpButton(ptr unsafe.Pointer) PopUpButton

func NewPopUpButton

func NewPopUpButton() PopUpButton

func (PopUpButton) AddItemWithTitle

func (p_ PopUpButton) AddItemWithTitle(title string)

func (PopUpButton) AddItemsWithTitles

func (p_ PopUpButton) AddItemsWithTitles(itemTitles []string)

func (PopUpButton) AutoenablesItems

func (p_ PopUpButton) AutoenablesItems() bool

func (PopUpButton) IndexOfItem

func (p_ PopUpButton) IndexOfItem(item IMenuItem) int

func (PopUpButton) IndexOfItemWithRepresentedObject

func (p_ PopUpButton) IndexOfItemWithRepresentedObject(obj objc.IObject) int

func (PopUpButton) IndexOfItemWithTag

func (p_ PopUpButton) IndexOfItemWithTag(tag int) int

func (PopUpButton) IndexOfItemWithTarget_AndAction

func (p_ PopUpButton) IndexOfItemWithTarget_AndAction(target objc.IObject, actionSelector objc.Selector) int

func (PopUpButton) IndexOfItemWithTitle

func (p_ PopUpButton) IndexOfItemWithTitle(title string) int

func (PopUpButton) IndexOfSelectedItem

func (p_ PopUpButton) IndexOfSelectedItem() int

func (PopUpButton) Init added in v0.11.0

func (p_ PopUpButton) Init() PopUpButton

func (PopUpButton) InitWithFrame added in v0.11.0

func (p_ PopUpButton) InitWithFrame(frameRect foundation.Rect) PopUpButton

func (PopUpButton) InitWithFrame_PullsDown added in v0.11.0

func (p_ PopUpButton) InitWithFrame_PullsDown(buttonFrame foundation.Rect, flag bool) PopUpButton

func (PopUpButton) InsertItemWithTitle_AtIndex

func (p_ PopUpButton) InsertItemWithTitle_AtIndex(title string, index int)

func (PopUpButton) ItemArray

func (p_ PopUpButton) ItemArray() []MenuItem

func (PopUpButton) ItemAtIndex

func (p_ PopUpButton) ItemAtIndex(index int) MenuItem

func (PopUpButton) ItemTitleAtIndex

func (p_ PopUpButton) ItemTitleAtIndex(index int) string

func (PopUpButton) ItemTitles

func (p_ PopUpButton) ItemTitles() []string

func (PopUpButton) ItemWithTitle

func (p_ PopUpButton) ItemWithTitle(title string) MenuItem

func (PopUpButton) LastItem

func (p_ PopUpButton) LastItem() MenuItem

func (PopUpButton) NumberOfItems

func (p_ PopUpButton) NumberOfItems() int

func (PopUpButton) PreferredEdge

func (p_ PopUpButton) PreferredEdge() foundation.RectEdge

func (PopUpButton) PullsDown

func (p_ PopUpButton) PullsDown() bool

func (PopUpButton) RemoveAllItems

func (p_ PopUpButton) RemoveAllItems()

func (PopUpButton) RemoveItemAtIndex

func (p_ PopUpButton) RemoveItemAtIndex(index int)

func (PopUpButton) RemoveItemWithTitle

func (p_ PopUpButton) RemoveItemWithTitle(title string)

func (PopUpButton) SelectItem

func (p_ PopUpButton) SelectItem(item IMenuItem)

func (PopUpButton) SelectItemAtIndex

func (p_ PopUpButton) SelectItemAtIndex(index int)

func (PopUpButton) SelectItemWithTag

func (p_ PopUpButton) SelectItemWithTag(tag int) bool

func (PopUpButton) SelectItemWithTitle

func (p_ PopUpButton) SelectItemWithTitle(title string)

func (PopUpButton) SelectedItem

func (p_ PopUpButton) SelectedItem() MenuItem

func (PopUpButton) SetAutoenablesItems

func (p_ PopUpButton) SetAutoenablesItems(value bool)

func (PopUpButton) SetPreferredEdge

func (p_ PopUpButton) SetPreferredEdge(value foundation.RectEdge)

func (PopUpButton) SetPullsDown

func (p_ PopUpButton) SetPullsDown(value bool)

func (PopUpButton) SynchronizeTitleAndSelectedItem

func (p_ PopUpButton) SynchronizeTitleAndSelectedItem()

func (PopUpButton) TitleOfSelectedItem

func (p_ PopUpButton) TitleOfSelectedItem() string

type Popover

type Popover struct {
	Responder
}

func MakePopover

func MakePopover(ptr unsafe.Pointer) Popover

func NewPopover

func NewPopover() Popover

func (Popover) Animates

func (p_ Popover) Animates() bool

func (Popover) Appearance

func (p_ Popover) Appearance() Appearance

func (Popover) Behavior

func (p_ Popover) Behavior() PopoverBehavior

func (Popover) Close

func (p_ Popover) Close()

func (Popover) ContentSize

func (p_ Popover) ContentSize() foundation.Size

func (Popover) ContentViewController

func (p_ Popover) ContentViewController() ViewController

func (Popover) Delegate

func (p_ Popover) Delegate() objc.Object

weak property

func (Popover) EffectiveAppearance

func (p_ Popover) EffectiveAppearance() Appearance

func (Popover) Init added in v0.11.0

func (p_ Popover) Init() Popover

func (Popover) IsDetached

func (p_ Popover) IsDetached() bool

func (Popover) IsShown

func (p_ Popover) IsShown() bool

func (Popover) PerformClose

func (p_ Popover) PerformClose(sender objc.IObject)

func (Popover) PositioningRect

func (p_ Popover) PositioningRect() foundation.Rect

func (Popover) SetAnimates

func (p_ Popover) SetAnimates(value bool)

func (Popover) SetAppearance

func (p_ Popover) SetAppearance(value IAppearance)

func (Popover) SetBehavior

func (p_ Popover) SetBehavior(value PopoverBehavior)

func (Popover) SetContentSize

func (p_ Popover) SetContentSize(value foundation.Size)

func (Popover) SetContentViewController

func (p_ Popover) SetContentViewController(value IViewController)

func (Popover) SetDelegate

func (p_ Popover) SetDelegate(value objc.IObject)

weak property

func (Popover) SetPositioningRect

func (p_ Popover) SetPositioningRect(value foundation.Rect)

func (Popover) ShowRelativeToRect_OfView_PreferredEdge

func (p_ Popover) ShowRelativeToRect_OfView_PreferredEdge(positioningRect foundation.Rect, positioningView IView, preferredEdge foundation.RectEdge)

type PopoverBehavior

type PopoverBehavior int
const PopoverBehaviorApplicationDefined PopoverBehavior = 0
const PopoverBehaviorSemitransient PopoverBehavior = 2
const PopoverBehaviorTransient PopoverBehavior = 1

type PopoverDelegate added in v0.13.0

type PopoverDelegate interface {
	ImplementsDetachableWindowForPopover() bool
	// optional
	DetachableWindowForPopover(popover Popover) IWindow
	ImplementsPopoverShouldClose() bool
	// optional
	PopoverShouldClose(popover Popover) bool
	ImplementsPopoverWillShow() bool
	// optional
	PopoverWillShow(notification foundation.Notification)
	ImplementsPopoverDidShow() bool
	// optional
	PopoverDidShow(notification foundation.Notification)
	ImplementsPopoverWillClose() bool
	// optional
	PopoverWillClose(notification foundation.Notification)
	ImplementsPopoverDidClose() bool
	// optional
	PopoverDidClose(notification foundation.Notification)
	ImplementsPopoverDidDetach() bool
	// optional
	PopoverDidDetach(popover Popover)
	ImplementsPopoverShouldDetach() bool
	// optional
	PopoverShouldDetach(popover Popover) bool
}

type PopoverDelegateBase added in v0.18.0

type PopoverDelegateBase struct {
}

func (*PopoverDelegateBase) DetachableWindowForPopover added in v0.18.0

func (p *PopoverDelegateBase) DetachableWindowForPopover(popover Popover) IWindow

func (*PopoverDelegateBase) ImplementsDetachableWindowForPopover added in v0.18.0

func (p *PopoverDelegateBase) ImplementsDetachableWindowForPopover() bool

func (*PopoverDelegateBase) ImplementsPopoverDidClose added in v0.18.0

func (p *PopoverDelegateBase) ImplementsPopoverDidClose() bool

func (*PopoverDelegateBase) ImplementsPopoverDidDetach added in v0.18.0

func (p *PopoverDelegateBase) ImplementsPopoverDidDetach() bool

func (*PopoverDelegateBase) ImplementsPopoverDidShow added in v0.18.0

func (p *PopoverDelegateBase) ImplementsPopoverDidShow() bool

func (*PopoverDelegateBase) ImplementsPopoverShouldClose added in v0.18.0

func (p *PopoverDelegateBase) ImplementsPopoverShouldClose() bool

func (*PopoverDelegateBase) ImplementsPopoverShouldDetach added in v0.18.0

func (p *PopoverDelegateBase) ImplementsPopoverShouldDetach() bool

func (*PopoverDelegateBase) ImplementsPopoverWillClose added in v0.18.0

func (p *PopoverDelegateBase) ImplementsPopoverWillClose() bool

func (*PopoverDelegateBase) ImplementsPopoverWillShow added in v0.18.0

func (p *PopoverDelegateBase) ImplementsPopoverWillShow() bool

func (*PopoverDelegateBase) PopoverDidClose added in v0.18.0

func (p *PopoverDelegateBase) PopoverDidClose(notification foundation.Notification)

func (*PopoverDelegateBase) PopoverDidDetach added in v0.18.0

func (p *PopoverDelegateBase) PopoverDidDetach(popover Popover)

func (*PopoverDelegateBase) PopoverDidShow added in v0.18.0

func (p *PopoverDelegateBase) PopoverDidShow(notification foundation.Notification)

func (*PopoverDelegateBase) PopoverShouldClose added in v0.18.0

func (p *PopoverDelegateBase) PopoverShouldClose(popover Popover) bool

func (*PopoverDelegateBase) PopoverShouldDetach added in v0.18.0

func (p *PopoverDelegateBase) PopoverShouldDetach(popover Popover) bool

func (*PopoverDelegateBase) PopoverWillClose added in v0.18.0

func (p *PopoverDelegateBase) PopoverWillClose(notification foundation.Notification)

func (*PopoverDelegateBase) PopoverWillShow added in v0.18.0

func (p *PopoverDelegateBase) PopoverWillShow(notification foundation.Notification)

type PopoverDelegateCreator added in v0.19.0

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

func NewPopoverDelegateCreator added in v0.19.0

func NewPopoverDelegateCreator(name string) *PopoverDelegateCreator

func (*PopoverDelegateCreator) Create added in v0.19.0

func (*PopoverDelegateCreator) SetDetachableWindowForPopover added in v0.19.0

func (c *PopoverDelegateCreator) SetDetachableWindowForPopover(handle func(o objc.ProtocolBase, popover Popover) IWindow)

func (*PopoverDelegateCreator) SetPopoverDidClose added in v0.19.0

func (c *PopoverDelegateCreator) SetPopoverDidClose(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*PopoverDelegateCreator) SetPopoverDidDetach added in v0.19.0

func (c *PopoverDelegateCreator) SetPopoverDidDetach(handle func(o objc.ProtocolBase, popover Popover))

func (*PopoverDelegateCreator) SetPopoverDidShow added in v0.19.0

func (c *PopoverDelegateCreator) SetPopoverDidShow(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*PopoverDelegateCreator) SetPopoverShouldClose added in v0.19.0

func (c *PopoverDelegateCreator) SetPopoverShouldClose(handle func(o objc.ProtocolBase, popover Popover) bool)

func (*PopoverDelegateCreator) SetPopoverShouldDetach added in v0.19.0

func (c *PopoverDelegateCreator) SetPopoverShouldDetach(handle func(o objc.ProtocolBase, popover Popover) bool)

func (*PopoverDelegateCreator) SetPopoverWillClose added in v0.19.0

func (c *PopoverDelegateCreator) SetPopoverWillClose(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*PopoverDelegateCreator) SetPopoverWillShow added in v0.19.0

func (c *PopoverDelegateCreator) SetPopoverWillShow(handle func(o objc.ProtocolBase, notification foundation.Notification))

type PredicateEditor added in v0.13.6

type PredicateEditor struct {
	RuleEditor
}

func MakePredicateEditor added in v0.13.6

func MakePredicateEditor(ptr unsafe.Pointer) PredicateEditor

func NewPredicateEditor added in v0.13.6

func NewPredicateEditor() PredicateEditor

func (PredicateEditor) Init added in v0.13.6

func (p_ PredicateEditor) Init() PredicateEditor

func (PredicateEditor) InitWithFrame added in v0.13.6

func (p_ PredicateEditor) InitWithFrame(frameRect foundation.Rect) PredicateEditor

func (PredicateEditor) RowTemplates added in v0.13.6

func (p_ PredicateEditor) RowTemplates() []PredicateEditorRowTemplate

func (PredicateEditor) SetRowTemplates added in v0.13.6

func (p_ PredicateEditor) SetRowTemplates(value []IPredicateEditorRowTemplate)

type PredicateEditorRowTemplate added in v0.13.6

type PredicateEditorRowTemplate struct {
	objc.Object
}

func MakePredicateEditorRowTemplate added in v0.13.6

func MakePredicateEditorRowTemplate(ptr unsafe.Pointer) PredicateEditorRowTemplate

func NewPredicateEditorRowTemplate added in v0.13.6

func NewPredicateEditorRowTemplate() PredicateEditorRowTemplate

func (PredicateEditorRowTemplate) CompoundTypes added in v0.13.6

func (p_ PredicateEditorRowTemplate) CompoundTypes() []foundation.Number

func (PredicateEditorRowTemplate) DisplayableSubpredicatesOfPredicate added in v0.13.6

func (p_ PredicateEditorRowTemplate) DisplayableSubpredicatesOfPredicate(predicate foundation.IPredicate) []foundation.Predicate

func (PredicateEditorRowTemplate) Init added in v0.13.6

func (PredicateEditorRowTemplate) InitWithCompoundTypes added in v0.13.6

func (p_ PredicateEditorRowTemplate) InitWithCompoundTypes(compoundTypes []foundation.INumber) PredicateEditorRowTemplate

func (PredicateEditorRowTemplate) InitWithLeftExpressions_RightExpressions_Modifier_Operators_Options added in v0.13.6

func (p_ PredicateEditorRowTemplate) InitWithLeftExpressions_RightExpressions_Modifier_Operators_Options(leftExpressions []foundation.IExpression, rightExpressions []foundation.IExpression, modifier foundation.ComparisonPredicateModifier, operators []foundation.INumber, options uint) PredicateEditorRowTemplate

func (PredicateEditorRowTemplate) LeftExpressions added in v0.13.6

func (p_ PredicateEditorRowTemplate) LeftExpressions() []foundation.Expression

func (PredicateEditorRowTemplate) MatchForPredicate added in v0.13.6

func (p_ PredicateEditorRowTemplate) MatchForPredicate(predicate foundation.IPredicate) float64

func (PredicateEditorRowTemplate) Modifier added in v0.13.6

func (PredicateEditorRowTemplate) Operators added in v0.13.6

func (p_ PredicateEditorRowTemplate) Operators() []foundation.Number

func (PredicateEditorRowTemplate) Options added in v0.13.6

func (p_ PredicateEditorRowTemplate) Options() uint

func (PredicateEditorRowTemplate) PredicateWithSubpredicates added in v0.13.6

func (p_ PredicateEditorRowTemplate) PredicateWithSubpredicates(subpredicates []foundation.IPredicate) foundation.Predicate

func (PredicateEditorRowTemplate) RightExpressions added in v0.13.6

func (p_ PredicateEditorRowTemplate) RightExpressions() []foundation.Expression

func (PredicateEditorRowTemplate) SetPredicate added in v0.13.6

func (p_ PredicateEditorRowTemplate) SetPredicate(predicate foundation.IPredicate)

func (PredicateEditorRowTemplate) TemplateViews added in v0.13.6

func (p_ PredicateEditorRowTemplate) TemplateViews() []View

type PressureBehavior

type PressureBehavior int
const PressureBehaviorPrimaryAccelerator PressureBehavior = 3
const PressureBehaviorPrimaryClick PressureBehavior = 1
const PressureBehaviorPrimaryDeepClick PressureBehavior = 5
const PressureBehaviorPrimaryDeepDrag PressureBehavior = 6
const PressureBehaviorPrimaryDefault PressureBehavior = 0
const PressureBehaviorPrimaryGeneric PressureBehavior = 2
const PressureBehaviorUnknown PressureBehavior = -1

type PressureConfiguration

type PressureConfiguration struct {
	objc.Object
}

func MakePressureConfiguration

func MakePressureConfiguration(ptr unsafe.Pointer) PressureConfiguration

func NewPressureConfiguration

func NewPressureConfiguration() PressureConfiguration

func (PressureConfiguration) Init added in v0.11.0

func (PressureConfiguration) InitWithPressureBehavior added in v0.11.0

func (p_ PressureConfiguration) InitWithPressureBehavior(pressureBehavior PressureBehavior) PressureConfiguration

func (PressureConfiguration) PressureBehavior

func (p_ PressureConfiguration) PressureBehavior() PressureBehavior

func (PressureConfiguration) Set

func (p_ PressureConfiguration) Set()

type PrintInfo

type PrintInfo struct {
	objc.Object
}

func MakePrintInfo

func MakePrintInfo(ptr unsafe.Pointer) PrintInfo

func NewPrintInfo

func NewPrintInfo() PrintInfo

func (PrintInfo) BottomMargin

func (p_ PrintInfo) BottomMargin() float64

func (PrintInfo) Dictionary

func (p_ PrintInfo) Dictionary() foundation.MutableDictionary

func (PrintInfo) HorizontalPagination

func (p_ PrintInfo) HorizontalPagination() PrintingPaginationMode

func (PrintInfo) ImageablePageBounds

func (p_ PrintInfo) ImageablePageBounds() foundation.Rect

func (PrintInfo) Init added in v0.11.0

func (p_ PrintInfo) Init() PrintInfo

func (PrintInfo) InitWithDictionary added in v0.11.0

func (p_ PrintInfo) InitWithDictionary(attributes map[PrintInfoAttributeKey]objc.IObject) PrintInfo

func (PrintInfo) IsHorizontallyCentered

func (p_ PrintInfo) IsHorizontallyCentered() bool

func (PrintInfo) IsSelectionOnly

func (p_ PrintInfo) IsSelectionOnly() bool

func (PrintInfo) IsVerticallyCentered

func (p_ PrintInfo) IsVerticallyCentered() bool

func (PrintInfo) JobDisposition

func (p_ PrintInfo) JobDisposition() PrintJobDispositionValue

func (PrintInfo) LeftMargin

func (p_ PrintInfo) LeftMargin() float64

func (PrintInfo) LocalizedPaperName

func (p_ PrintInfo) LocalizedPaperName() string

func (PrintInfo) Orientation

func (p_ PrintInfo) Orientation() PaperOrientation

func (PrintInfo) PMPageFormat added in v0.8.1

func (p_ PrintInfo) PMPageFormat() unsafe.Pointer

func (PrintInfo) PMPrintSession added in v0.8.1

func (p_ PrintInfo) PMPrintSession() unsafe.Pointer

func (PrintInfo) PMPrintSettings added in v0.8.1

func (p_ PrintInfo) PMPrintSettings() unsafe.Pointer

func (PrintInfo) PaperName

func (p_ PrintInfo) PaperName() PrinterPaperName

func (PrintInfo) PaperSize

func (p_ PrintInfo) PaperSize() foundation.Size

func (PrintInfo) PrintSettings

func (p_ PrintInfo) PrintSettings() foundation.MutableDictionary

func (PrintInfo) Printer

func (p_ PrintInfo) Printer() Printer

func (PrintInfo) RightMargin

func (p_ PrintInfo) RightMargin() float64

func (PrintInfo) ScalingFactor

func (p_ PrintInfo) ScalingFactor() float64

func (PrintInfo) SetBottomMargin

func (p_ PrintInfo) SetBottomMargin(value float64)

func (PrintInfo) SetHorizontalPagination

func (p_ PrintInfo) SetHorizontalPagination(value PrintingPaginationMode)

func (PrintInfo) SetHorizontallyCentered

func (p_ PrintInfo) SetHorizontallyCentered(value bool)

func (PrintInfo) SetJobDisposition

func (p_ PrintInfo) SetJobDisposition(value PrintJobDispositionValue)

func (PrintInfo) SetLeftMargin

func (p_ PrintInfo) SetLeftMargin(value float64)

func (PrintInfo) SetOrientation

func (p_ PrintInfo) SetOrientation(value PaperOrientation)

func (PrintInfo) SetPaperName

func (p_ PrintInfo) SetPaperName(value PrinterPaperName)

func (PrintInfo) SetPaperSize

func (p_ PrintInfo) SetPaperSize(value foundation.Size)

func (PrintInfo) SetPrinter

func (p_ PrintInfo) SetPrinter(value IPrinter)

func (PrintInfo) SetRightMargin

func (p_ PrintInfo) SetRightMargin(value float64)

func (PrintInfo) SetScalingFactor

func (p_ PrintInfo) SetScalingFactor(value float64)

func (PrintInfo) SetSelectionOnly

func (p_ PrintInfo) SetSelectionOnly(value bool)

func (PrintInfo) SetTopMargin

func (p_ PrintInfo) SetTopMargin(value float64)

func (PrintInfo) SetUpPrintOperationDefaultValues

func (p_ PrintInfo) SetUpPrintOperationDefaultValues()

func (PrintInfo) SetVerticalPagination

func (p_ PrintInfo) SetVerticalPagination(value PrintingPaginationMode)

func (PrintInfo) SetVerticallyCentered

func (p_ PrintInfo) SetVerticallyCentered(value bool)

func (PrintInfo) TakeSettingsFromPDFInfo

func (p_ PrintInfo) TakeSettingsFromPDFInfo(inPDFInfo IPDFInfo)

func (PrintInfo) TopMargin

func (p_ PrintInfo) TopMargin() float64

func (PrintInfo) UpdateFromPMPageFormat

func (p_ PrintInfo) UpdateFromPMPageFormat()

func (PrintInfo) UpdateFromPMPrintSettings

func (p_ PrintInfo) UpdateFromPMPrintSettings()

func (PrintInfo) VerticalPagination

func (p_ PrintInfo) VerticalPagination() PrintingPaginationMode

type PrintInfoAttributeKey

type PrintInfoAttributeKey string
const PrintAllPages PrintInfoAttributeKey = "NSPrintAllPages"
const PrintBottomMargin PrintInfoAttributeKey = "NSBottomMargin"
const PrintCopies PrintInfoAttributeKey = "NSCopies"
const PrintDetailedErrorReporting PrintInfoAttributeKey = "NSDetailedErrorReporting"
const PrintFaxNumber PrintInfoAttributeKey = "NSFaxNumber"
const PrintFirstPage PrintInfoAttributeKey = "NSFirstPage"
const PrintHeaderAndFooter PrintInfoAttributeKey = "NSPrintHeaderAndFooter"
const PrintHorizontalPagination PrintInfoAttributeKey = "NSHorizonalPagination"
const PrintHorizontallyCentered PrintInfoAttributeKey = "NSHorizontallyCentered"
const PrintJobDisposition PrintInfoAttributeKey = "NSJobDisposition"
const PrintJobSavingFileNameExtensionHidden PrintInfoAttributeKey = "NSJobSavingFileNameExtensionHidden"
const PrintJobSavingURL PrintInfoAttributeKey = "NSJobSavingURL"
const PrintLastPage PrintInfoAttributeKey = "NSLastPage"
const PrintLeftMargin PrintInfoAttributeKey = "NSLeftMargin"
const PrintMustCollate PrintInfoAttributeKey = "NSMustCollate"
const PrintOrientation PrintInfoAttributeKey = "NSOrientation"
const PrintPagesAcross PrintInfoAttributeKey = "NSPagesAcross"
const PrintPagesDown PrintInfoAttributeKey = "NSPagesDown"
const PrintPaperName PrintInfoAttributeKey = "NSPaperName"
const PrintPaperSize PrintInfoAttributeKey = "NSPaperSize"
const PrintPrinter PrintInfoAttributeKey = "NSPrinter"
const PrintPrinterName PrintInfoAttributeKey = "NSPrinterName"
const PrintReversePageOrder PrintInfoAttributeKey = "NSReversePageOrder"
const PrintRightMargin PrintInfoAttributeKey = "NSRightMargin"
const PrintScalingFactor PrintInfoAttributeKey = "NSScalingFactor"
const PrintSelectionOnly PrintInfoAttributeKey = "NSPrintSelectionOnly"
const PrintTime PrintInfoAttributeKey = "NSPrintTime"
const PrintTopMargin PrintInfoAttributeKey = "NSTopMargin"
const PrintVerticalPagination PrintInfoAttributeKey = "NSVerticalPagination"
const PrintVerticallyCentered PrintInfoAttributeKey = "NSVerticallyCentered"

type PrintJobDispositionValue

type PrintJobDispositionValue string
const PrintCancelJob PrintJobDispositionValue = "NSPrintCancelJob"
const PrintPreviewJob PrintJobDispositionValue = "NSPrintPreviewJob"
const PrintSaveJob PrintJobDispositionValue = "NSPrintSaveJob"
const PrintSpoolJob PrintJobDispositionValue = "NSPrintSpoolJob"

type PrintOperation

type PrintOperation struct {
	objc.Object
}

func MakePrintOperation

func MakePrintOperation(ptr unsafe.Pointer) PrintOperation

func NewPrintOperation

func NewPrintOperation() PrintOperation

func (PrintOperation) AccessoryView added in v0.14.5

func (p_ PrintOperation) AccessoryView() View

deprecated

func (PrintOperation) CanSpawnSeparateThread

func (p_ PrintOperation) CanSpawnSeparateThread() bool

func (PrintOperation) CleanUpOperation

func (p_ PrintOperation) CleanUpOperation()

func (PrintOperation) Context

func (p_ PrintOperation) Context() GraphicsContext

func (PrintOperation) CreateContext

func (p_ PrintOperation) CreateContext() GraphicsContext

func (PrintOperation) CurrentPage

func (p_ PrintOperation) CurrentPage() int

func (PrintOperation) DeliverResult

func (p_ PrintOperation) DeliverResult() bool

func (PrintOperation) DestroyContext

func (p_ PrintOperation) DestroyContext()

func (PrintOperation) Init added in v0.11.0

func (p_ PrintOperation) Init() PrintOperation

func (PrintOperation) IsCopyingOperation

func (p_ PrintOperation) IsCopyingOperation() bool

func (PrintOperation) JobStyleHint added in v0.14.5

func (p_ PrintOperation) JobStyleHint() string

deprecated

func (PrintOperation) JobTitle

func (p_ PrintOperation) JobTitle() string

func (PrintOperation) PDFPanel

func (p_ PrintOperation) PDFPanel() PDFPanel

func (PrintOperation) PageOrder

func (p_ PrintOperation) PageOrder() PrintingPageOrder

func (PrintOperation) PageRange

func (p_ PrintOperation) PageRange() foundation.Range

func (PrintOperation) PreferredRenderingQuality

func (p_ PrintOperation) PreferredRenderingQuality() PrintRenderingQuality

func (PrintOperation) PrintInfo

func (p_ PrintOperation) PrintInfo() PrintInfo

func (PrintOperation) PrintPanel

func (p_ PrintOperation) PrintPanel() PrintPanel

func (PrintOperation) RunOperation

func (p_ PrintOperation) RunOperation() bool

func (PrintOperation) RunOperationModalForWindow_Delegate_DidRunSelector_ContextInfo added in v0.8.1

func (p_ PrintOperation) RunOperationModalForWindow_Delegate_DidRunSelector_ContextInfo(docWindow IWindow, delegate objc.IObject, didRunSelector objc.Selector, contextInfo unsafe.Pointer)

func (PrintOperation) SetAccessoryView added in v0.14.5

func (p_ PrintOperation) SetAccessoryView(view IView)

deprecated

func (PrintOperation) SetCanSpawnSeparateThread

func (p_ PrintOperation) SetCanSpawnSeparateThread(value bool)

func (PrintOperation) SetJobStyleHint added in v0.14.5

func (p_ PrintOperation) SetJobStyleHint(hint string)

deprecated

func (PrintOperation) SetJobTitle

func (p_ PrintOperation) SetJobTitle(value string)

func (PrintOperation) SetPDFPanel

func (p_ PrintOperation) SetPDFPanel(value IPDFPanel)

func (PrintOperation) SetPageOrder

func (p_ PrintOperation) SetPageOrder(value PrintingPageOrder)

func (PrintOperation) SetPrintInfo

func (p_ PrintOperation) SetPrintInfo(value IPrintInfo)

func (PrintOperation) SetPrintPanel

func (p_ PrintOperation) SetPrintPanel(value IPrintPanel)

func (PrintOperation) SetShowPanels added in v0.14.5

func (p_ PrintOperation) SetShowPanels(flag bool)

deprecated

func (PrintOperation) SetShowsPrintPanel

func (p_ PrintOperation) SetShowsPrintPanel(value bool)

func (PrintOperation) SetShowsProgressPanel

func (p_ PrintOperation) SetShowsProgressPanel(value bool)

func (PrintOperation) ShowPanels added in v0.14.5

func (p_ PrintOperation) ShowPanels() bool

deprecated

func (PrintOperation) ShowsPrintPanel

func (p_ PrintOperation) ShowsPrintPanel() bool

func (PrintOperation) ShowsProgressPanel

func (p_ PrintOperation) ShowsProgressPanel() bool

func (PrintOperation) View

func (p_ PrintOperation) View() View

type PrintPanel

type PrintPanel struct {
	objc.Object
}

func MakePrintPanel

func MakePrintPanel(ptr unsafe.Pointer) PrintPanel

func NewPrintPanel

func NewPrintPanel() PrintPanel

func (PrintPanel) AccessoryControllers

func (p_ PrintPanel) AccessoryControllers() []ViewController

func (PrintPanel) AccessoryView added in v0.14.5

func (p_ PrintPanel) AccessoryView() View

deprecated

func (PrintPanel) AddAccessoryController

func (p_ PrintPanel) AddAccessoryController(accessoryController IViewController)

func (PrintPanel) BeginSheetWithPrintInfo_ModalForWindow_Delegate_DidEndSelector_ContextInfo added in v0.8.1

func (p_ PrintPanel) BeginSheetWithPrintInfo_ModalForWindow_Delegate_DidEndSelector_ContextInfo(printInfo IPrintInfo, docWindow IWindow, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)

func (PrintPanel) DefaultButtonTitle

func (p_ PrintPanel) DefaultButtonTitle() string

func (PrintPanel) FinalWritePrintInfo added in v0.14.5

func (p_ PrintPanel) FinalWritePrintInfo()

deprecated

func (PrintPanel) HelpAnchor

func (p_ PrintPanel) HelpAnchor() HelpAnchorName

func (PrintPanel) Init added in v0.11.0

func (p_ PrintPanel) Init() PrintPanel

func (PrintPanel) JobStyleHint

func (p_ PrintPanel) JobStyleHint() PrintPanelJobStyleHint

func (PrintPanel) Options

func (p_ PrintPanel) Options() PrintPanelOptions

func (PrintPanel) PrintInfo

func (p_ PrintPanel) PrintInfo() PrintInfo

func (PrintPanel) RemoveAccessoryController

func (p_ PrintPanel) RemoveAccessoryController(accessoryController IViewController)

func (PrintPanel) RunModal

func (p_ PrintPanel) RunModal() int

func (PrintPanel) RunModalWithPrintInfo

func (p_ PrintPanel) RunModalWithPrintInfo(printInfo IPrintInfo) int

func (PrintPanel) SetAccessoryView added in v0.14.5

func (p_ PrintPanel) SetAccessoryView(accessoryView IView)

deprecated

func (PrintPanel) SetDefaultButtonTitle

func (p_ PrintPanel) SetDefaultButtonTitle(defaultButtonTitle string)

func (PrintPanel) SetHelpAnchor

func (p_ PrintPanel) SetHelpAnchor(value HelpAnchorName)

func (PrintPanel) SetJobStyleHint

func (p_ PrintPanel) SetJobStyleHint(value PrintPanelJobStyleHint)

func (PrintPanel) SetOptions

func (p_ PrintPanel) SetOptions(value PrintPanelOptions)

func (PrintPanel) UpdateFromPrintInfo added in v0.14.5

func (p_ PrintPanel) UpdateFromPrintInfo()

deprecated

type PrintPanelJobStyleHint

type PrintPanelJobStyleHint string
const PrintAllPresetsJobStyleHint PrintPanelJobStyleHint = "All"
const PrintNoPresetsJobStyleHint PrintPanelJobStyleHint = "None"
const PrintPhotoJobStyleHint PrintPanelJobStyleHint = "Photo"

type PrintPanelOptions

type PrintPanelOptions uint
const PrintPanelShowsCopies PrintPanelOptions = 1
const PrintPanelShowsOrientation PrintPanelOptions = 8
const PrintPanelShowsPageRange PrintPanelOptions = 2
const PrintPanelShowsPageSetupAccessory PrintPanelOptions = 256
const PrintPanelShowsPaperSize PrintPanelOptions = 4
const PrintPanelShowsPreview PrintPanelOptions = 131072
const PrintPanelShowsPrintSelection PrintPanelOptions = 32
const PrintPanelShowsScaling PrintPanelOptions = 16

type PrintRenderingQuality

type PrintRenderingQuality int
const PrintRenderingQualityBest PrintRenderingQuality = 0
const PrintRenderingQualityResponsive PrintRenderingQuality = 1

type Printer

type Printer struct {
	objc.Object
}

func MakePrinter

func MakePrinter(ptr unsafe.Pointer) Printer

func NewPrinter

func NewPrinter() Printer

func (Printer) AcceptsBinary added in v0.14.5

func (p_ Printer) AcceptsBinary() bool

deprecated

func (Printer) BooleanForKey_InTable added in v0.14.5

func (p_ Printer) BooleanForKey_InTable(key string, table string) bool

deprecated

func (Printer) DeviceDescription

func (p_ Printer) DeviceDescription() map[DeviceDescriptionKey]objc.Object

func (Printer) Domain added in v0.14.5

func (p_ Printer) Domain() string

deprecated

func (Printer) FloatForKey_InTable added in v0.14.5

func (p_ Printer) FloatForKey_InTable(key string, table string) float32

deprecated

func (Printer) Host added in v0.14.5

func (p_ Printer) Host() string

deprecated

func (Printer) ImageRectForPaper added in v0.14.5

func (p_ Printer) ImageRectForPaper(paperName string) foundation.Rect

deprecated

func (Printer) Init added in v0.11.0

func (p_ Printer) Init() Printer

func (Printer) IntForKey_InTable added in v0.14.5

func (p_ Printer) IntForKey_InTable(key string, table string) int32

deprecated

func (Printer) IsColor added in v0.14.5

func (p_ Printer) IsColor() bool

deprecated

func (Printer) IsFontAvailable added in v0.14.5

func (p_ Printer) IsFontAvailable(faceName string) bool

deprecated

func (Printer) IsKey_InTable added in v0.14.5

func (p_ Printer) IsKey_InTable(key string, table string) bool

deprecated

func (Printer) IsOutputStackInReverseOrder added in v0.14.5

func (p_ Printer) IsOutputStackInReverseOrder() bool

deprecated

func (Printer) LanguageLevel

func (p_ Printer) LanguageLevel() int

func (Printer) Name

func (p_ Printer) Name() string

func (Printer) Note added in v0.14.5

func (p_ Printer) Note() string

deprecated

func (Printer) PageSizeForPaper

func (p_ Printer) PageSizeForPaper(paperName PrinterPaperName) foundation.Size

func (Printer) RectForKey_InTable added in v0.14.5

func (p_ Printer) RectForKey_InTable(key string, table string) foundation.Rect

deprecated

func (Printer) SizeForKey_InTable added in v0.14.5

func (p_ Printer) SizeForKey_InTable(key string, table string) foundation.Size

deprecated

func (Printer) StatusForTable added in v0.14.5

func (p_ Printer) StatusForTable(tableName string) PrinterTableStatus

deprecated

func (Printer) StringForKey_InTable added in v0.14.5

func (p_ Printer) StringForKey_InTable(key string, table string) string

deprecated

func (Printer) StringListForKey_InTable added in v0.14.5

func (p_ Printer) StringListForKey_InTable(key string, table string) []objc.Object

deprecated

func (Printer) Type

func (p_ Printer) Type() PrinterTypeName

type PrinterPaperName

type PrinterPaperName string

type PrinterTableStatus added in v0.14.5

type PrinterTableStatus uint
const PrinterTableError PrinterTableStatus = 2
const PrinterTableNotFound PrinterTableStatus = 1
const PrinterTableOK PrinterTableStatus = 0

type PrinterTypeName

type PrinterTypeName string

type PrintingPageOrder

type PrintingPageOrder int
const AscendingPageOrder PrintingPageOrder = 1
const DescendingPageOrder PrintingPageOrder = -1
const SpecialPageOrder PrintingPageOrder = 0
const UnknownPageOrder PrintingPageOrder = 2

type PrintingPaginationMode

type PrintingPaginationMode uint
const PrintingPaginationModeAutomatic PrintingPaginationMode = 0
const PrintingPaginationModeClip PrintingPaginationMode = 2
const PrintingPaginationModeFit PrintingPaginationMode = 1

type ProgressIndicator

type ProgressIndicator struct {
	View
}

func MakeProgressIndicator

func MakeProgressIndicator(ptr unsafe.Pointer) ProgressIndicator

func NewProgressIndicator

func NewProgressIndicator() ProgressIndicator

func (ProgressIndicator) Animate added in v0.14.5

func (p_ ProgressIndicator) Animate(sender objc.IObject)

deprecated

func (ProgressIndicator) AnimationDelay added in v0.14.5

func (p_ ProgressIndicator) AnimationDelay() foundation.TimeInterval

deprecated

func (ProgressIndicator) ControlSize

func (p_ ProgressIndicator) ControlSize() ControlSize

func (ProgressIndicator) ControlTint

func (p_ ProgressIndicator) ControlTint() ControlTint

func (ProgressIndicator) DoubleValue

func (p_ ProgressIndicator) DoubleValue() float64

func (ProgressIndicator) IncrementBy

func (p_ ProgressIndicator) IncrementBy(delta float64)

func (ProgressIndicator) Init added in v0.11.0

func (ProgressIndicator) InitWithFrame added in v0.11.0

func (p_ ProgressIndicator) InitWithFrame(frameRect foundation.Rect) ProgressIndicator

func (ProgressIndicator) IsBezeled

func (p_ ProgressIndicator) IsBezeled() bool

func (ProgressIndicator) IsDisplayedWhenStopped

func (p_ ProgressIndicator) IsDisplayedWhenStopped() bool

func (ProgressIndicator) IsIndeterminate

func (p_ ProgressIndicator) IsIndeterminate() bool

func (ProgressIndicator) MaxValue

func (p_ ProgressIndicator) MaxValue() float64

func (ProgressIndicator) MinValue

func (p_ ProgressIndicator) MinValue() float64

func (ProgressIndicator) SetAnimationDelay added in v0.14.5

func (p_ ProgressIndicator) SetAnimationDelay(delay foundation.TimeInterval)

deprecated

func (ProgressIndicator) SetBezeled

func (p_ ProgressIndicator) SetBezeled(value bool)

func (ProgressIndicator) SetControlSize

func (p_ ProgressIndicator) SetControlSize(value ControlSize)

func (ProgressIndicator) SetControlTint

func (p_ ProgressIndicator) SetControlTint(value ControlTint)

func (ProgressIndicator) SetDisplayedWhenStopped

func (p_ ProgressIndicator) SetDisplayedWhenStopped(value bool)

func (ProgressIndicator) SetDoubleValue

func (p_ ProgressIndicator) SetDoubleValue(value float64)

func (ProgressIndicator) SetIndeterminate

func (p_ ProgressIndicator) SetIndeterminate(value bool)

func (ProgressIndicator) SetMaxValue

func (p_ ProgressIndicator) SetMaxValue(value float64)

func (ProgressIndicator) SetMinValue

func (p_ ProgressIndicator) SetMinValue(value float64)

func (ProgressIndicator) SetStyle

func (p_ ProgressIndicator) SetStyle(value ProgressIndicatorStyle)

func (ProgressIndicator) SetUsesThreadedAnimation

func (p_ ProgressIndicator) SetUsesThreadedAnimation(value bool)

func (ProgressIndicator) SizeToFit

func (p_ ProgressIndicator) SizeToFit()

func (ProgressIndicator) StartAnimation

func (p_ ProgressIndicator) StartAnimation(sender objc.IObject)

func (ProgressIndicator) StopAnimation

func (p_ ProgressIndicator) StopAnimation(sender objc.IObject)

func (ProgressIndicator) Style

func (ProgressIndicator) UsesThreadedAnimation

func (p_ ProgressIndicator) UsesThreadedAnimation() bool

type ProgressIndicatorStyle

type ProgressIndicatorStyle uint

type RectAlignment

type RectAlignment int
const RectAlignmentBottom RectAlignment = 5
const RectAlignmentBottomLeading RectAlignment = 4
const RectAlignmentBottomTrailing RectAlignment = 6
const RectAlignmentLeading RectAlignment = 3
const RectAlignmentNone RectAlignment = 0
const RectAlignmentTop RectAlignment = 1
const RectAlignmentTopLeading RectAlignment = 2
const RectAlignmentTopTrailing RectAlignment = 8
const RectAlignmentTrailing RectAlignment = 7

type RemoteNotificationType

type RemoteNotificationType uint
const RemoteNotificationTypeAlert RemoteNotificationType = 4
const RemoteNotificationTypeBadge RemoteNotificationType = 1
const RemoteNotificationTypeNone RemoteNotificationType = 0
const RemoteNotificationTypeSound RemoteNotificationType = 2

type RequestUserAttentionType

type RequestUserAttentionType uint
const CriticalRequest RequestUserAttentionType = 0
const InformationalRequest RequestUserAttentionType = 10

type Responder

type Responder struct {
	objc.Object
}

func MakeResponder

func MakeResponder(ptr unsafe.Pointer) Responder

func NewResponder

func NewResponder() Responder

func (Responder) AcceptsFirstResponder

func (r_ Responder) AcceptsFirstResponder() bool

func (Responder) BecomeFirstResponder

func (r_ Responder) BecomeFirstResponder() bool

func (Responder) BeginGestureWithEvent

func (r_ Responder) BeginGestureWithEvent(event IEvent)

func (Responder) ChangeModeWithEvent

func (r_ Responder) ChangeModeWithEvent(event IEvent)

func (Responder) CursorUpdate

func (r_ Responder) CursorUpdate(event IEvent)

func (Responder) EncodeRestorableStateWithCoder

func (r_ Responder) EncodeRestorableStateWithCoder(coder foundation.ICoder)

func (Responder) EncodeRestorableStateWithCoder_BackgroundQueue

func (r_ Responder) EncodeRestorableStateWithCoder_BackgroundQueue(coder foundation.ICoder, queue foundation.IOperationQueue)

func (Responder) EndGestureWithEvent

func (r_ Responder) EndGestureWithEvent(event IEvent)

func (Responder) FlagsChanged

func (r_ Responder) FlagsChanged(event IEvent)

func (Responder) FlushBufferedKeyEvents

func (r_ Responder) FlushBufferedKeyEvents()

func (Responder) HelpRequested

func (r_ Responder) HelpRequested(eventPtr IEvent)

func (Responder) Init added in v0.11.0

func (r_ Responder) Init() Responder

func (Responder) InterfaceStyle added in v0.14.5

func (r_ Responder) InterfaceStyle() InterfaceStyle

deprecated

func (Responder) InterpretKeyEvents

func (r_ Responder) InterpretKeyEvents(eventArray []IEvent)

func (Responder) InvalidateRestorableState

func (r_ Responder) InvalidateRestorableState()

func (Responder) KeyDown

func (r_ Responder) KeyDown(event IEvent)

func (Responder) KeyUp

func (r_ Responder) KeyUp(event IEvent)

func (Responder) MagnifyWithEvent

func (r_ Responder) MagnifyWithEvent(event IEvent)

func (Responder) MakeTouchBar

func (r_ Responder) MakeTouchBar() TouchBar

func (Responder) Menu

func (r_ Responder) Menu() Menu

func (Responder) MouseDown

func (r_ Responder) MouseDown(event IEvent)

func (Responder) MouseDragged

func (r_ Responder) MouseDragged(event IEvent)

func (Responder) MouseEntered

func (r_ Responder) MouseEntered(event IEvent)

func (Responder) MouseExited

func (r_ Responder) MouseExited(event IEvent)

func (Responder) MouseMoved

func (r_ Responder) MouseMoved(event IEvent)

func (Responder) MouseUp

func (r_ Responder) MouseUp(event IEvent)

func (Responder) NewWindowForTab

func (r_ Responder) NewWindowForTab(sender objc.IObject)

func (Responder) NextResponder

func (r_ Responder) NextResponder() Responder

weak property

func (Responder) NoResponderFor

func (r_ Responder) NoResponderFor(eventSelector objc.Selector)

func (Responder) OtherMouseDown

func (r_ Responder) OtherMouseDown(event IEvent)

func (Responder) OtherMouseDragged

func (r_ Responder) OtherMouseDragged(event IEvent)

func (Responder) OtherMouseUp

func (r_ Responder) OtherMouseUp(event IEvent)

func (Responder) PerformKeyEquivalent

func (r_ Responder) PerformKeyEquivalent(event IEvent) bool

func (Responder) PerformMnemonic added in v0.14.5

func (r_ Responder) PerformMnemonic(string_ string) bool

deprecated

func (Responder) PerformTextFinderAction

func (r_ Responder) PerformTextFinderAction(sender objc.IObject)

func (Responder) PresentError

func (r_ Responder) PresentError(error foundation.IError) bool

func (Responder) PresentError_ModalForWindow_Delegate_DidPresentSelector_ContextInfo added in v0.8.1

func (r_ Responder) PresentError_ModalForWindow_Delegate_DidPresentSelector_ContextInfo(error foundation.IError, window IWindow, delegate objc.IObject, didPresentSelector objc.Selector, contextInfo unsafe.Pointer)

func (Responder) PressureChangeWithEvent

func (r_ Responder) PressureChangeWithEvent(event IEvent)

func (Responder) QuickLookWithEvent

func (r_ Responder) QuickLookWithEvent(event IEvent)

func (Responder) ResignFirstResponder

func (r_ Responder) ResignFirstResponder() bool

func (Responder) RestoreStateWithCoder

func (r_ Responder) RestoreStateWithCoder(coder foundation.ICoder)

func (Responder) RightMouseDown

func (r_ Responder) RightMouseDown(event IEvent)

func (Responder) RightMouseDragged

func (r_ Responder) RightMouseDragged(event IEvent)

func (Responder) RightMouseUp

func (r_ Responder) RightMouseUp(event IEvent)

func (Responder) RotateWithEvent

func (r_ Responder) RotateWithEvent(event IEvent)

func (Responder) ScrollWheel

func (r_ Responder) ScrollWheel(event IEvent)

func (Responder) SetInterfaceStyle added in v0.14.5

func (r_ Responder) SetInterfaceStyle(interfaceStyle InterfaceStyle)

deprecated

func (Responder) SetMenu

func (r_ Responder) SetMenu(value IMenu)

func (Responder) SetNextResponder

func (r_ Responder) SetNextResponder(value IResponder)

weak property

func (Responder) SetTouchBar

func (r_ Responder) SetTouchBar(value ITouchBar)

func (Responder) SetUserActivity

func (r_ Responder) SetUserActivity(value foundation.IUserActivity)

func (Responder) ShouldBeTreatedAsInkEvent

func (r_ Responder) ShouldBeTreatedAsInkEvent(event IEvent) bool

func (Responder) ShowContextHelp

func (r_ Responder) ShowContextHelp(sender objc.IObject)

func (Responder) SmartMagnifyWithEvent

func (r_ Responder) SmartMagnifyWithEvent(event IEvent)

func (Responder) SupplementalTargetForAction_Sender

func (r_ Responder) SupplementalTargetForAction_Sender(action objc.Selector, sender objc.IObject) objc.Object

func (Responder) SwipeWithEvent

func (r_ Responder) SwipeWithEvent(event IEvent)

func (Responder) TabletPoint

func (r_ Responder) TabletPoint(event IEvent)

func (Responder) TabletProximity

func (r_ Responder) TabletProximity(event IEvent)

func (Responder) TouchBar

func (r_ Responder) TouchBar() TouchBar

func (Responder) TouchesBeganWithEvent

func (r_ Responder) TouchesBeganWithEvent(event IEvent)

func (Responder) TouchesCancelledWithEvent

func (r_ Responder) TouchesCancelledWithEvent(event IEvent)

func (Responder) TouchesEndedWithEvent

func (r_ Responder) TouchesEndedWithEvent(event IEvent)

func (Responder) TouchesMovedWithEvent

func (r_ Responder) TouchesMovedWithEvent(event IEvent)

func (Responder) TryToPerform_With

func (r_ Responder) TryToPerform_With(action objc.Selector, object objc.IObject) bool

func (Responder) UndoManager

func (r_ Responder) UndoManager() foundation.UndoManager

func (Responder) UpdateUserActivityState

func (r_ Responder) UpdateUserActivityState(userActivity foundation.IUserActivity)

func (Responder) UserActivity

func (r_ Responder) UserActivity() foundation.UserActivity

func (Responder) ValidRequestorForSendType_ReturnType

func (r_ Responder) ValidRequestorForSendType_ReturnType(sendType PasteboardType, returnType PasteboardType) objc.Object

func (Responder) ValidateProposedFirstResponder_ForEvent

func (r_ Responder) ValidateProposedFirstResponder_ForEvent(responder IResponder, event IEvent) bool

func (Responder) WantsForwardedScrollEventsForAxis

func (r_ Responder) WantsForwardedScrollEventsForAxis(axis EventGestureAxis) bool

func (Responder) WantsScrollEventsForSwipeTrackingOnAxis

func (r_ Responder) WantsScrollEventsForSwipeTrackingOnAxis(axis EventGestureAxis) bool

func (Responder) WillPresentError

func (r_ Responder) WillPresentError(error foundation.IError) foundation.Error

type RuleEditor added in v0.13.6

type RuleEditor struct {
	Control
}

func MakeRuleEditor added in v0.13.6

func MakeRuleEditor(ptr unsafe.Pointer) RuleEditor

func NewRuleEditor added in v0.13.6

func NewRuleEditor() RuleEditor

func (RuleEditor) AddRow added in v0.13.6

func (r_ RuleEditor) AddRow(sender objc.IObject)

func (RuleEditor) CanRemoveAllRows added in v0.13.6

func (r_ RuleEditor) CanRemoveAllRows() bool

func (RuleEditor) CriteriaForRow added in v0.13.6

func (r_ RuleEditor) CriteriaForRow(row int) []objc.Object

func (RuleEditor) CriteriaKeyPath added in v0.13.6

func (r_ RuleEditor) CriteriaKeyPath() string

func (RuleEditor) Delegate added in v0.14.6

func (r_ RuleEditor) Delegate() objc.Object

weak property

func (RuleEditor) DisplayValuesForRow added in v0.13.6

func (r_ RuleEditor) DisplayValuesForRow(row int) []objc.Object

func (RuleEditor) DisplayValuesKeyPath added in v0.13.6

func (r_ RuleEditor) DisplayValuesKeyPath() string

func (RuleEditor) FormattingDictionary added in v0.13.6

func (r_ RuleEditor) FormattingDictionary() map[string]string

func (RuleEditor) FormattingStringsFilename added in v0.13.6

func (r_ RuleEditor) FormattingStringsFilename() string

func (RuleEditor) Init added in v0.13.6

func (r_ RuleEditor) Init() RuleEditor

func (RuleEditor) InitWithFrame added in v0.13.6

func (r_ RuleEditor) InitWithFrame(frameRect foundation.Rect) RuleEditor

func (RuleEditor) InsertRowAtIndex_WithType_AsSubrowOfRow_Animate added in v0.13.6

func (r_ RuleEditor) InsertRowAtIndex_WithType_AsSubrowOfRow_Animate(rowIndex int, rowType RuleEditorRowType, parentRow int, shouldAnimate bool)

func (RuleEditor) IsEditable added in v0.13.6

func (r_ RuleEditor) IsEditable() bool

func (RuleEditor) NestingMode added in v0.13.6

func (r_ RuleEditor) NestingMode() RuleEditorNestingMode

func (RuleEditor) NumberOfRows added in v0.13.6

func (r_ RuleEditor) NumberOfRows() int

func (RuleEditor) ParentRowForRow added in v0.13.6

func (r_ RuleEditor) ParentRowForRow(rowIndex int) int

func (RuleEditor) Predicate added in v0.13.6

func (r_ RuleEditor) Predicate() foundation.Predicate

func (RuleEditor) PredicateForRow added in v0.13.6

func (r_ RuleEditor) PredicateForRow(row int) foundation.Predicate

func (RuleEditor) ReloadCriteria added in v0.13.6

func (r_ RuleEditor) ReloadCriteria()

func (RuleEditor) ReloadPredicate added in v0.13.6

func (r_ RuleEditor) ReloadPredicate()

func (RuleEditor) RemoveRowAtIndex added in v0.13.6

func (r_ RuleEditor) RemoveRowAtIndex(rowIndex int)

func (RuleEditor) RemoveRowsAtIndexes_IncludeSubrows added in v0.13.6

func (r_ RuleEditor) RemoveRowsAtIndexes_IncludeSubrows(rowIndexes foundation.IIndexSet, includeSubrows bool)

func (RuleEditor) RowClass added in v0.16.0

func (r_ RuleEditor) RowClass() objc.Class

weak property

func (RuleEditor) RowForDisplayValue added in v0.13.6

func (r_ RuleEditor) RowForDisplayValue(displayValue objc.IObject) int

func (RuleEditor) RowHeight added in v0.13.6

func (r_ RuleEditor) RowHeight() float64

func (RuleEditor) RowTypeForRow added in v0.13.6

func (r_ RuleEditor) RowTypeForRow(rowIndex int) RuleEditorRowType

func (RuleEditor) RowTypeKeyPath added in v0.13.6

func (r_ RuleEditor) RowTypeKeyPath() string

func (RuleEditor) SelectRowIndexes_ByExtendingSelection added in v0.13.6

func (r_ RuleEditor) SelectRowIndexes_ByExtendingSelection(indexes foundation.IIndexSet, extend bool)

func (RuleEditor) SelectedRowIndexes added in v0.13.6

func (r_ RuleEditor) SelectedRowIndexes() foundation.IndexSet

func (RuleEditor) SetCanRemoveAllRows added in v0.13.6

func (r_ RuleEditor) SetCanRemoveAllRows(value bool)

func (RuleEditor) SetCriteriaKeyPath added in v0.13.6

func (r_ RuleEditor) SetCriteriaKeyPath(value string)

func (RuleEditor) SetCriteria_AndDisplayValues_ForRowAtIndex added in v0.13.6

func (r_ RuleEditor) SetCriteria_AndDisplayValues_ForRowAtIndex(criteria []objc.IObject, values []objc.IObject, rowIndex int)

func (RuleEditor) SetDelegate added in v0.13.6

func (r_ RuleEditor) SetDelegate(value objc.IObject)

weak property

func (RuleEditor) SetDisplayValuesKeyPath added in v0.13.6

func (r_ RuleEditor) SetDisplayValuesKeyPath(value string)

func (RuleEditor) SetEditable added in v0.13.6

func (r_ RuleEditor) SetEditable(value bool)

func (RuleEditor) SetFormattingDictionary added in v0.13.6

func (r_ RuleEditor) SetFormattingDictionary(value map[string]string)

func (RuleEditor) SetFormattingStringsFilename added in v0.13.6

func (r_ RuleEditor) SetFormattingStringsFilename(value string)

func (RuleEditor) SetNestingMode added in v0.13.6

func (r_ RuleEditor) SetNestingMode(value RuleEditorNestingMode)

func (RuleEditor) SetRowClass added in v0.16.0

func (r_ RuleEditor) SetRowClass(value objc.IClass)

weak property

func (RuleEditor) SetRowHeight added in v0.13.6

func (r_ RuleEditor) SetRowHeight(value float64)

func (RuleEditor) SetRowTypeKeyPath added in v0.13.6

func (r_ RuleEditor) SetRowTypeKeyPath(value string)

func (RuleEditor) SetSubrowsKeyPath added in v0.13.6

func (r_ RuleEditor) SetSubrowsKeyPath(value string)

func (RuleEditor) SubrowIndexesForRow added in v0.13.6

func (r_ RuleEditor) SubrowIndexesForRow(rowIndex int) foundation.IndexSet

func (RuleEditor) SubrowsKeyPath added in v0.13.6

func (r_ RuleEditor) SubrowsKeyPath() string

type RuleEditorDelegate added in v0.13.6

type RuleEditorDelegate interface {
	// required
	RuleEditor_Child_ForCriterion_WithRowType(editor RuleEditor, index int, criterion objc.Object, rowType RuleEditorRowType) objc.IObject
	// required
	RuleEditor_DisplayValueForCriterion_InRow(editor RuleEditor, criterion objc.Object, row int) objc.IObject
	// required
	RuleEditor_NumberOfChildrenForCriterion_WithRowType(editor RuleEditor, criterion objc.Object, rowType RuleEditorRowType) int
	ImplementsRuleEditor_PredicatePartsForCriterion_WithDisplayValue_InRow() bool
	// optional
	RuleEditor_PredicatePartsForCriterion_WithDisplayValue_InRow(editor RuleEditor, criterion objc.Object, value objc.Object, row int) map[RuleEditorPredicatePartKey]objc.IObject
	ImplementsRuleEditorRowsDidChange() bool
	// optional
	RuleEditorRowsDidChange(notification foundation.Notification)
}

type RuleEditorDelegateBase added in v0.18.0

type RuleEditorDelegateBase struct {
}

func (*RuleEditorDelegateBase) ImplementsRuleEditorRowsDidChange added in v0.18.0

func (p *RuleEditorDelegateBase) ImplementsRuleEditorRowsDidChange() bool

func (*RuleEditorDelegateBase) ImplementsRuleEditor_PredicatePartsForCriterion_WithDisplayValue_InRow added in v0.18.0

func (p *RuleEditorDelegateBase) ImplementsRuleEditor_PredicatePartsForCriterion_WithDisplayValue_InRow() bool

func (*RuleEditorDelegateBase) RuleEditorRowsDidChange added in v0.18.0

func (p *RuleEditorDelegateBase) RuleEditorRowsDidChange(notification foundation.Notification)

func (*RuleEditorDelegateBase) RuleEditor_PredicatePartsForCriterion_WithDisplayValue_InRow added in v0.18.0

func (p *RuleEditorDelegateBase) RuleEditor_PredicatePartsForCriterion_WithDisplayValue_InRow(editor RuleEditor, criterion objc.Object, value objc.Object, row int) map[RuleEditorPredicatePartKey]objc.IObject

type RuleEditorDelegateCreator added in v0.19.0

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

func NewRuleEditorDelegateCreator added in v0.19.0

func NewRuleEditorDelegateCreator(name string) *RuleEditorDelegateCreator

func (*RuleEditorDelegateCreator) Create added in v0.19.0

func (*RuleEditorDelegateCreator) SetRuleEditorRowsDidChange added in v0.19.0

func (c *RuleEditorDelegateCreator) SetRuleEditorRowsDidChange(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*RuleEditorDelegateCreator) SetRuleEditor_PredicatePartsForCriterion_WithDisplayValue_InRow added in v0.19.0

func (c *RuleEditorDelegateCreator) SetRuleEditor_PredicatePartsForCriterion_WithDisplayValue_InRow(handle func(o objc.ProtocolBase, editor RuleEditor, criterion objc.Object, value objc.Object, row int) map[RuleEditorPredicatePartKey]objc.IObject)

type RuleEditorNestingMode added in v0.13.6

type RuleEditorNestingMode uint
const RuleEditorNestingModeCompound RuleEditorNestingMode = 2
const RuleEditorNestingModeList RuleEditorNestingMode = 1
const RuleEditorNestingModeSimple RuleEditorNestingMode = 3
const RuleEditorNestingModeSingle RuleEditorNestingMode = 0

type RuleEditorPredicatePartKey added in v0.13.6

type RuleEditorPredicatePartKey string
const RuleEditorPredicateComparisonModifier RuleEditorPredicatePartKey = "NSRuleEditorPredicateComparisonModifier"
const RuleEditorPredicateCompoundType RuleEditorPredicatePartKey = "NSRuleEditorPredicateCompoundType"
const RuleEditorPredicateCustomSelector RuleEditorPredicatePartKey = "NSRuleEditorPredicateCustomSelector"
const RuleEditorPredicateLeftExpression RuleEditorPredicatePartKey = "NSRuleEditorPredicateLeftExpression"
const RuleEditorPredicateOperatorType RuleEditorPredicatePartKey = "NSRuleEditorPredicateOperatorType"
const RuleEditorPredicateOptions RuleEditorPredicatePartKey = "NSRuleEditorPredicateOptions"
const RuleEditorPredicateRightExpression RuleEditorPredicatePartKey = "NSRuleEditorPredicateRightExpression"

type RuleEditorRowType added in v0.13.6

type RuleEditorRowType uint
const RuleEditorRowTypeCompound RuleEditorRowType = 1
const RuleEditorRowTypeSimple RuleEditorRowType = 0

type RulerMarker

type RulerMarker struct {
	objc.Object
}

func MakeRulerMarker

func MakeRulerMarker(ptr unsafe.Pointer) RulerMarker

func NewRulerMarker added in v0.13.0

func NewRulerMarker() RulerMarker

func (RulerMarker) DrawRect

func (r_ RulerMarker) DrawRect(rect foundation.Rect)

func (RulerMarker) Image

func (r_ RulerMarker) Image() Image

func (RulerMarker) ImageOrigin

func (r_ RulerMarker) ImageOrigin() foundation.Point

func (RulerMarker) ImageRectInRuler

func (r_ RulerMarker) ImageRectInRuler() foundation.Rect

func (RulerMarker) Init added in v0.13.0

func (r_ RulerMarker) Init() RulerMarker

func (RulerMarker) InitWithRulerView_MarkerLocation_Image_ImageOrigin added in v0.11.0

func (r_ RulerMarker) InitWithRulerView_MarkerLocation_Image_ImageOrigin(ruler IRulerView, location float64, image IImage, imageOrigin foundation.Point) RulerMarker

func (RulerMarker) IsDragging

func (r_ RulerMarker) IsDragging() bool

func (RulerMarker) IsMovable

func (r_ RulerMarker) IsMovable() bool

func (RulerMarker) IsRemovable

func (r_ RulerMarker) IsRemovable() bool

func (RulerMarker) MarkerLocation

func (r_ RulerMarker) MarkerLocation() float64

func (RulerMarker) RepresentedObject

func (r_ RulerMarker) RepresentedObject() objc.Object

func (RulerMarker) Ruler

func (r_ RulerMarker) Ruler() RulerView

weak property

func (RulerMarker) SetImage

func (r_ RulerMarker) SetImage(value IImage)

func (RulerMarker) SetImageOrigin

func (r_ RulerMarker) SetImageOrigin(value foundation.Point)

func (RulerMarker) SetMarkerLocation

func (r_ RulerMarker) SetMarkerLocation(value float64)

func (RulerMarker) SetMovable

func (r_ RulerMarker) SetMovable(value bool)

func (RulerMarker) SetRemovable

func (r_ RulerMarker) SetRemovable(value bool)

func (RulerMarker) SetRepresentedObject

func (r_ RulerMarker) SetRepresentedObject(value objc.IObject)

func (RulerMarker) ThicknessRequiredInRuler

func (r_ RulerMarker) ThicknessRequiredInRuler() float64

func (RulerMarker) TrackMouse_Adding

func (r_ RulerMarker) TrackMouse_Adding(mouseDownEvent IEvent, isAdding bool) bool

type RulerOrientation

type RulerOrientation uint
const HorizontalRuler RulerOrientation = 0
const VerticalRuler RulerOrientation = 1

type RulerView

type RulerView struct {
	View
}

func MakeRulerView

func MakeRulerView(ptr unsafe.Pointer) RulerView

func NewRulerView

func NewRulerView() RulerView

func (RulerView) AccessoryView

func (r_ RulerView) AccessoryView() View

func (RulerView) AddMarker

func (r_ RulerView) AddMarker(marker IRulerMarker)

func (RulerView) BaselineLocation

func (r_ RulerView) BaselineLocation() float64

func (RulerView) ClientView

func (r_ RulerView) ClientView() View

weak property

func (RulerView) DrawHashMarksAndLabelsInRect

func (r_ RulerView) DrawHashMarksAndLabelsInRect(rect foundation.Rect)

func (RulerView) DrawMarkersInRect

func (r_ RulerView) DrawMarkersInRect(rect foundation.Rect)

func (RulerView) Init added in v0.11.0

func (r_ RulerView) Init() RulerView

func (RulerView) InitWithFrame added in v0.11.0

func (r_ RulerView) InitWithFrame(frameRect foundation.Rect) RulerView

func (RulerView) InitWithScrollView_Orientation added in v0.11.0

func (r_ RulerView) InitWithScrollView_Orientation(scrollView IScrollView, orientation RulerOrientation) RulerView

func (RulerView) InvalidateHashMarks

func (r_ RulerView) InvalidateHashMarks()

func (RulerView) Markers

func (r_ RulerView) Markers() []RulerMarker

func (RulerView) MeasurementUnits

func (r_ RulerView) MeasurementUnits() RulerViewUnitName

func (RulerView) MoveRulerlineFromLocation_ToLocation

func (r_ RulerView) MoveRulerlineFromLocation_ToLocation(oldLocation float64, newLocation float64)

func (RulerView) Orientation

func (r_ RulerView) Orientation() RulerOrientation

func (RulerView) OriginOffset

func (r_ RulerView) OriginOffset() float64

func (RulerView) RemoveMarker

func (r_ RulerView) RemoveMarker(marker IRulerMarker)

func (RulerView) RequiredThickness

func (r_ RulerView) RequiredThickness() float64

func (RulerView) ReservedThicknessForAccessoryView

func (r_ RulerView) ReservedThicknessForAccessoryView() float64

func (RulerView) ReservedThicknessForMarkers

func (r_ RulerView) ReservedThicknessForMarkers() float64

func (RulerView) RuleThickness

func (r_ RulerView) RuleThickness() float64

func (RulerView) ScrollView

func (r_ RulerView) ScrollView() ScrollView

weak property

func (RulerView) SetAccessoryView

func (r_ RulerView) SetAccessoryView(value IView)

func (RulerView) SetClientView

func (r_ RulerView) SetClientView(value IView)

weak property

func (RulerView) SetMarkers

func (r_ RulerView) SetMarkers(value []IRulerMarker)

func (RulerView) SetMeasurementUnits

func (r_ RulerView) SetMeasurementUnits(value RulerViewUnitName)

func (RulerView) SetOrientation

func (r_ RulerView) SetOrientation(value RulerOrientation)

func (RulerView) SetOriginOffset

func (r_ RulerView) SetOriginOffset(value float64)

func (RulerView) SetReservedThicknessForAccessoryView

func (r_ RulerView) SetReservedThicknessForAccessoryView(value float64)

func (RulerView) SetReservedThicknessForMarkers

func (r_ RulerView) SetReservedThicknessForMarkers(value float64)

func (RulerView) SetRuleThickness

func (r_ RulerView) SetRuleThickness(value float64)

func (RulerView) SetScrollView

func (r_ RulerView) SetScrollView(value IScrollView)

weak property

func (RulerView) TrackMarker_WithMouseEvent

func (r_ RulerView) TrackMarker_WithMouseEvent(marker IRulerMarker, event IEvent) bool

type RulerViewUnitName

type RulerViewUnitName string
const RulerViewUnitCentimeters RulerViewUnitName = "Centimeters"
const RulerViewUnitInches RulerViewUnitName = "Inches"
const RulerViewUnitPicas RulerViewUnitName = "Picas"
const RulerViewUnitPoints RulerViewUnitName = "Points"

type RunningApplication added in v0.9.4

type RunningApplication struct {
	objc.Object
}

func MakeRunningApplication added in v0.9.4

func MakeRunningApplication(ptr unsafe.Pointer) RunningApplication

func NewRunningApplication added in v0.9.4

func NewRunningApplication() RunningApplication

func (RunningApplication) ActivateWithOptions added in v0.9.4

func (r_ RunningApplication) ActivateWithOptions(options ApplicationActivationOptions) bool

func (RunningApplication) ActivationPolicy added in v0.9.4

func (r_ RunningApplication) ActivationPolicy() ApplicationActivationPolicy

func (RunningApplication) BundleIdentifier added in v0.9.4

func (r_ RunningApplication) BundleIdentifier() string

func (RunningApplication) BundleURL added in v0.9.4

func (r_ RunningApplication) BundleURL() foundation.URL

func (RunningApplication) ExecutableArchitecture added in v0.9.4

func (r_ RunningApplication) ExecutableArchitecture() int

func (RunningApplication) ExecutableURL added in v0.9.4

func (r_ RunningApplication) ExecutableURL() foundation.URL

func (RunningApplication) ForceTerminate added in v0.9.4

func (r_ RunningApplication) ForceTerminate() bool

func (RunningApplication) Hide added in v0.9.4

func (r_ RunningApplication) Hide() bool

func (RunningApplication) Icon added in v0.9.4

func (r_ RunningApplication) Icon() Image

func (RunningApplication) Init added in v0.11.0

func (RunningApplication) IsActive added in v0.9.4

func (r_ RunningApplication) IsActive() bool

func (RunningApplication) IsFinishedLaunching added in v0.9.4

func (r_ RunningApplication) IsFinishedLaunching() bool

func (RunningApplication) IsHidden added in v0.9.4

func (r_ RunningApplication) IsHidden() bool

func (RunningApplication) IsTerminated added in v0.9.4

func (r_ RunningApplication) IsTerminated() bool

func (RunningApplication) LaunchDate added in v0.9.4

func (r_ RunningApplication) LaunchDate() foundation.Date

func (RunningApplication) LocalizedName added in v0.9.4

func (r_ RunningApplication) LocalizedName() string

func (RunningApplication) OwnsMenuBar added in v0.9.4

func (r_ RunningApplication) OwnsMenuBar() bool

func (RunningApplication) Terminate added in v0.9.4

func (r_ RunningApplication) Terminate() bool

func (RunningApplication) Unhide added in v0.9.4

func (r_ RunningApplication) Unhide() bool

type SaveOperationType

type SaveOperationType uint
const AutosaveAsOperation SaveOperationType = 5
const AutosaveElsewhereOperation SaveOperationType = 3
const AutosaveInPlaceOperation SaveOperationType = 4
const SaveAsOperation SaveOperationType = 1
const SaveOperation SaveOperationType = 0
const SaveToOperation SaveOperationType = 2

type SavePanel

type SavePanel struct {
	Panel
}

func MakeSavePanel

func MakeSavePanel(ptr unsafe.Pointer) SavePanel

func NewSavePanel

func NewSavePanel() SavePanel

func (SavePanel) AccessoryView

func (s_ SavePanel) AccessoryView() View

func (SavePanel) AllowedContentTypes

func (s_ SavePanel) AllowedContentTypes() []uniformtypeidentifiers.Type

func (SavePanel) AllowedFileTypes added in v0.14.5

func (s_ SavePanel) AllowedFileTypes() []string

deprecated

func (SavePanel) AllowsOtherFileTypes

func (s_ SavePanel) AllowsOtherFileTypes() bool

func (SavePanel) BeginSheetForDirectory_File_ModalForWindow_ModalDelegate_DidEndSelector_ContextInfo added in v0.14.5

func (s_ SavePanel) BeginSheetForDirectory_File_ModalForWindow_ModalDelegate_DidEndSelector_ContextInfo(path string, name string, docWindow IWindow, delegate objc.IObject, didEndSelector objc.Selector, contextInfo unsafe.Pointer)

deprecated

func (SavePanel) BeginSheetModalForWindow_CompletionHandler added in v0.13.3

func (s_ SavePanel) BeginSheetModalForWindow_CompletionHandler(window IWindow, handler func(result ModalResponse))

func (SavePanel) BeginWithCompletionHandler added in v0.11.0

func (s_ SavePanel) BeginWithCompletionHandler(handler func(result ModalResponse))

func (SavePanel) CanCreateDirectories

func (s_ SavePanel) CanCreateDirectories() bool

func (SavePanel) CanSelectHiddenExtension

func (s_ SavePanel) CanSelectHiddenExtension() bool

func (SavePanel) Cancel

func (s_ SavePanel) Cancel(sender objc.IObject)

func (SavePanel) Directory added in v0.14.5

func (s_ SavePanel) Directory() string

deprecated

func (SavePanel) DirectoryURL

func (s_ SavePanel) DirectoryURL() foundation.URL

func (SavePanel) Filename added in v0.14.5

func (s_ SavePanel) Filename() string

deprecated

func (SavePanel) Init added in v0.11.0

func (s_ SavePanel) Init() SavePanel

func (SavePanel) InitWithContentRect_StyleMask_Backing_Defer added in v0.11.0

func (s_ SavePanel) InitWithContentRect_StyleMask_Backing_Defer(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool) SavePanel

func (SavePanel) InitWithContentRect_StyleMask_Backing_Defer_Screen added in v0.11.0

func (s_ SavePanel) InitWithContentRect_StyleMask_Backing_Defer_Screen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) SavePanel

func (SavePanel) IsExpanded

func (s_ SavePanel) IsExpanded() bool

func (SavePanel) IsExtensionHidden

func (s_ SavePanel) IsExtensionHidden() bool

func (SavePanel) Message

func (s_ SavePanel) Message() string

func (SavePanel) NameFieldLabel

func (s_ SavePanel) NameFieldLabel() string

func (SavePanel) NameFieldStringValue

func (s_ SavePanel) NameFieldStringValue() string

func (SavePanel) Ok

func (s_ SavePanel) Ok(sender objc.IObject)

func (SavePanel) Panel_CompareFilename_With_CaseSensitive added in v0.14.5

func (s_ SavePanel) Panel_CompareFilename_With_CaseSensitive(sender objc.IObject, name1 string, name2 string, caseSensitive bool) foundation.ComparisonResult

deprecated

func (SavePanel) Panel_DirectoryDidChange added in v0.14.5

func (s_ SavePanel) Panel_DirectoryDidChange(sender objc.IObject, path string)

deprecated

func (SavePanel) Panel_IsValidFilename added in v0.14.5

func (s_ SavePanel) Panel_IsValidFilename(sender objc.IObject, filename string) bool

deprecated

func (SavePanel) Panel_ShouldShowFilename added in v0.14.5

func (s_ SavePanel) Panel_ShouldShowFilename(sender objc.IObject, filename string) bool

deprecated

func (SavePanel) Prompt

func (s_ SavePanel) Prompt() string

func (SavePanel) RequiredFileType added in v0.14.5

func (s_ SavePanel) RequiredFileType() string

deprecated

func (SavePanel) RunModal

func (s_ SavePanel) RunModal() ModalResponse

func (SavePanel) RunModalForDirectory_File added in v0.14.5

func (s_ SavePanel) RunModalForDirectory_File(path string, name string) int

deprecated

func (SavePanel) SelectText added in v0.14.5

func (s_ SavePanel) SelectText(sender objc.IObject)

deprecated

func (SavePanel) SetAccessoryView

func (s_ SavePanel) SetAccessoryView(value IView)

func (SavePanel) SetAllowedContentTypes

func (s_ SavePanel) SetAllowedContentTypes(value []uniformtypeidentifiers.IType)

func (SavePanel) SetAllowedFileTypes added in v0.14.5

func (s_ SavePanel) SetAllowedFileTypes(value []string)

deprecated

func (SavePanel) SetAllowsOtherFileTypes

func (s_ SavePanel) SetAllowsOtherFileTypes(value bool)

func (SavePanel) SetCanCreateDirectories

func (s_ SavePanel) SetCanCreateDirectories(value bool)

func (SavePanel) SetCanSelectHiddenExtension

func (s_ SavePanel) SetCanSelectHiddenExtension(value bool)

func (SavePanel) SetDirectory added in v0.14.5

func (s_ SavePanel) SetDirectory(path string)

deprecated

func (SavePanel) SetDirectoryURL

func (s_ SavePanel) SetDirectoryURL(value foundation.IURL)

func (SavePanel) SetExtensionHidden

func (s_ SavePanel) SetExtensionHidden(value bool)

func (SavePanel) SetMessage

func (s_ SavePanel) SetMessage(value string)

func (SavePanel) SetNameFieldLabel

func (s_ SavePanel) SetNameFieldLabel(value string)

func (SavePanel) SetNameFieldStringValue

func (s_ SavePanel) SetNameFieldStringValue(value string)

func (SavePanel) SetPrompt

func (s_ SavePanel) SetPrompt(value string)

func (SavePanel) SetRequiredFileType added in v0.14.5

func (s_ SavePanel) SetRequiredFileType(type_ string)

deprecated

func (SavePanel) SetShowsHiddenFiles

func (s_ SavePanel) SetShowsHiddenFiles(value bool)

func (SavePanel) SetShowsTagField

func (s_ SavePanel) SetShowsTagField(value bool)

func (SavePanel) SetTagNames

func (s_ SavePanel) SetTagNames(value []string)

func (SavePanel) SetTreatsFilePackagesAsDirectories

func (s_ SavePanel) SetTreatsFilePackagesAsDirectories(value bool)

func (SavePanel) ShowsHiddenFiles

func (s_ SavePanel) ShowsHiddenFiles() bool

func (SavePanel) ShowsTagField

func (s_ SavePanel) ShowsTagField() bool

func (SavePanel) TagNames

func (s_ SavePanel) TagNames() []string

func (SavePanel) TreatsFilePackagesAsDirectories

func (s_ SavePanel) TreatsFilePackagesAsDirectories() bool

func (SavePanel) URL

func (s_ SavePanel) URL() foundation.URL

func (SavePanel) ValidateVisibleColumns

func (s_ SavePanel) ValidateVisibleColumns()

type Screen

type Screen struct {
	objc.Object
}

func MakeScreen

func MakeScreen(ptr unsafe.Pointer) Screen

func NewScreen

func NewScreen() Screen

func (Screen) AuxiliaryTopLeftArea added in v0.12.0

func (s_ Screen) AuxiliaryTopLeftArea() foundation.Rect

func (Screen) AuxiliaryTopRightArea added in v0.12.0

func (s_ Screen) AuxiliaryTopRightArea() foundation.Rect

func (Screen) BackingAlignedRect_Options added in v0.13.6

func (s_ Screen) BackingAlignedRect_Options(rect foundation.Rect, options foundation.AlignmentOptions) foundation.Rect

func (Screen) BackingScaleFactor

func (s_ Screen) BackingScaleFactor() float64

func (Screen) CanRepresentDisplayGamut

func (s_ Screen) CanRepresentDisplayGamut(displayGamut DisplayGamut) bool

func (Screen) ColorSpace

func (s_ Screen) ColorSpace() ColorSpace

func (Screen) ConvertRectFromBacking

func (s_ Screen) ConvertRectFromBacking(rect foundation.Rect) foundation.Rect

func (Screen) ConvertRectToBacking

func (s_ Screen) ConvertRectToBacking(rect foundation.Rect) foundation.Rect

func (Screen) Depth

func (s_ Screen) Depth() WindowDepth

func (Screen) DeviceDescription

func (s_ Screen) DeviceDescription() map[DeviceDescriptionKey]objc.Object

func (Screen) DisplayUpdateGranularity added in v0.12.0

func (s_ Screen) DisplayUpdateGranularity() foundation.TimeInterval

func (Screen) Frame

func (s_ Screen) Frame() foundation.Rect

func (Screen) Init added in v0.11.0

func (s_ Screen) Init() Screen

func (Screen) LastDisplayUpdateTimestamp added in v0.12.0

func (s_ Screen) LastDisplayUpdateTimestamp() foundation.TimeInterval

func (Screen) LocalizedName

func (s_ Screen) LocalizedName() string

func (Screen) MaximumExtendedDynamicRangeColorComponentValue

func (s_ Screen) MaximumExtendedDynamicRangeColorComponentValue() float64

func (Screen) MaximumFramesPerSecond added in v0.12.0

func (s_ Screen) MaximumFramesPerSecond() int

func (Screen) MaximumPotentialExtendedDynamicRangeColorComponentValue

func (s_ Screen) MaximumPotentialExtendedDynamicRangeColorComponentValue() float64

func (Screen) MaximumReferenceExtendedDynamicRangeColorComponentValue

func (s_ Screen) MaximumReferenceExtendedDynamicRangeColorComponentValue() float64

func (Screen) MaximumRefreshInterval added in v0.12.0

func (s_ Screen) MaximumRefreshInterval() foundation.TimeInterval

func (Screen) MinimumRefreshInterval added in v0.12.0

func (s_ Screen) MinimumRefreshInterval() foundation.TimeInterval

func (Screen) SafeAreaInsets added in v0.12.0

func (s_ Screen) SafeAreaInsets() foundation.EdgeInsets

func (Screen) SupportedWindowDepths added in v0.13.3

func (s_ Screen) SupportedWindowDepths() *WindowDepth

func (Screen) UserSpaceScaleFactor added in v0.14.5

func (s_ Screen) UserSpaceScaleFactor() float64

deprecated

func (Screen) VisibleFrame

func (s_ Screen) VisibleFrame() foundation.Rect

type ScrollArrowPosition added in v0.14.5

type ScrollArrowPosition uint

type ScrollElasticity

type ScrollElasticity int
const ScrollElasticityAllowed ScrollElasticity = 2
const ScrollElasticityAutomatic ScrollElasticity = 0
const ScrollElasticityNone ScrollElasticity = 1

type ScrollView

type ScrollView struct {
	View
}

func MakeScrollView

func MakeScrollView(ptr unsafe.Pointer) ScrollView

func NewScrollView

func NewScrollView() ScrollView

func (ScrollView) AddFloatingSubview_ForAxis

func (s_ ScrollView) AddFloatingSubview_ForAxis(view IView, axis EventGestureAxis)

func (ScrollView) AllowsMagnification

func (s_ ScrollView) AllowsMagnification() bool

func (ScrollView) AutohidesScrollers

func (s_ ScrollView) AutohidesScrollers() bool

func (ScrollView) AutomaticallyAdjustsContentInsets

func (s_ ScrollView) AutomaticallyAdjustsContentInsets() bool

func (ScrollView) BackgroundColor

func (s_ ScrollView) BackgroundColor() Color

func (ScrollView) BorderType

func (s_ ScrollView) BorderType() BorderType

func (ScrollView) ContentInsets

func (s_ ScrollView) ContentInsets() foundation.EdgeInsets

func (ScrollView) ContentSize

func (s_ ScrollView) ContentSize() foundation.Size

func (ScrollView) ContentView

func (s_ ScrollView) ContentView() ClipView

func (ScrollView) DocumentCursor

func (s_ ScrollView) DocumentCursor() Cursor

func (ScrollView) DocumentView

func (s_ ScrollView) DocumentView() View

func (ScrollView) DocumentVisibleRect

func (s_ ScrollView) DocumentVisibleRect() foundation.Rect

func (ScrollView) DrawsBackground

func (s_ ScrollView) DrawsBackground() bool

func (ScrollView) FindBarPosition

func (s_ ScrollView) FindBarPosition() ScrollViewFindBarPosition

func (ScrollView) FlashScrollers

func (s_ ScrollView) FlashScrollers()

func (ScrollView) HasHorizontalRuler

func (s_ ScrollView) HasHorizontalRuler() bool

func (ScrollView) HasHorizontalScroller

func (s_ ScrollView) HasHorizontalScroller() bool

func (ScrollView) HasVerticalRuler

func (s_ ScrollView) HasVerticalRuler() bool

func (ScrollView) HasVerticalScroller

func (s_ ScrollView) HasVerticalScroller() bool

func (ScrollView) HorizontalLineScroll

func (s_ ScrollView) HorizontalLineScroll() float64

func (ScrollView) HorizontalPageScroll

func (s_ ScrollView) HorizontalPageScroll() float64

func (ScrollView) HorizontalRulerView

func (s_ ScrollView) HorizontalRulerView() RulerView

func (ScrollView) HorizontalScrollElasticity

func (s_ ScrollView) HorizontalScrollElasticity() ScrollElasticity

func (ScrollView) HorizontalScroller

func (s_ ScrollView) HorizontalScroller() Scroller

func (ScrollView) Init added in v0.11.0

func (s_ ScrollView) Init() ScrollView

func (ScrollView) InitWithFrame added in v0.11.0

func (s_ ScrollView) InitWithFrame(frameRect foundation.Rect) ScrollView

func (ScrollView) LineScroll

func (s_ ScrollView) LineScroll() float64

func (ScrollView) Magnification

func (s_ ScrollView) Magnification() float64

func (ScrollView) MagnifyToFitRect

func (s_ ScrollView) MagnifyToFitRect(rect foundation.Rect)

func (ScrollView) MaxMagnification

func (s_ ScrollView) MaxMagnification() float64

func (ScrollView) MinMagnification

func (s_ ScrollView) MinMagnification() float64

func (ScrollView) PageScroll

func (s_ ScrollView) PageScroll() float64

func (ScrollView) RulersVisible

func (s_ ScrollView) RulersVisible() bool

func (ScrollView) ScrollerInsets

func (s_ ScrollView) ScrollerInsets() foundation.EdgeInsets

func (ScrollView) ScrollerKnobStyle

func (s_ ScrollView) ScrollerKnobStyle() ScrollerKnobStyle

func (ScrollView) ScrollerStyle

func (s_ ScrollView) ScrollerStyle() ScrollerStyle

func (ScrollView) ScrollsDynamically

func (s_ ScrollView) ScrollsDynamically() bool

func (ScrollView) SetAllowsMagnification

func (s_ ScrollView) SetAllowsMagnification(value bool)

func (ScrollView) SetAutohidesScrollers

func (s_ ScrollView) SetAutohidesScrollers(value bool)

func (ScrollView) SetAutomaticallyAdjustsContentInsets

func (s_ ScrollView) SetAutomaticallyAdjustsContentInsets(value bool)

func (ScrollView) SetBackgroundColor

func (s_ ScrollView) SetBackgroundColor(value IColor)

func (ScrollView) SetBorderType

func (s_ ScrollView) SetBorderType(value BorderType)

func (ScrollView) SetContentInsets

func (s_ ScrollView) SetContentInsets(value foundation.EdgeInsets)

func (ScrollView) SetContentView

func (s_ ScrollView) SetContentView(value IClipView)

func (ScrollView) SetDocumentCursor

func (s_ ScrollView) SetDocumentCursor(value ICursor)

func (ScrollView) SetDocumentView

func (s_ ScrollView) SetDocumentView(value IView)

func (ScrollView) SetDrawsBackground

func (s_ ScrollView) SetDrawsBackground(value bool)

func (ScrollView) SetFindBarPosition

func (s_ ScrollView) SetFindBarPosition(value ScrollViewFindBarPosition)

func (ScrollView) SetHasHorizontalRuler

func (s_ ScrollView) SetHasHorizontalRuler(value bool)

func (ScrollView) SetHasHorizontalScroller

func (s_ ScrollView) SetHasHorizontalScroller(value bool)

func (ScrollView) SetHasVerticalRuler

func (s_ ScrollView) SetHasVerticalRuler(value bool)

func (ScrollView) SetHasVerticalScroller

func (s_ ScrollView) SetHasVerticalScroller(value bool)

func (ScrollView) SetHorizontalLineScroll

func (s_ ScrollView) SetHorizontalLineScroll(value float64)

func (ScrollView) SetHorizontalPageScroll

func (s_ ScrollView) SetHorizontalPageScroll(value float64)

func (ScrollView) SetHorizontalRulerView

func (s_ ScrollView) SetHorizontalRulerView(value IRulerView)

func (ScrollView) SetHorizontalScrollElasticity

func (s_ ScrollView) SetHorizontalScrollElasticity(value ScrollElasticity)

func (ScrollView) SetHorizontalScroller

func (s_ ScrollView) SetHorizontalScroller(value IScroller)

func (ScrollView) SetLineScroll

func (s_ ScrollView) SetLineScroll(value float64)

func (ScrollView) SetMagnification

func (s_ ScrollView) SetMagnification(value float64)

func (ScrollView) SetMagnification_CenteredAtPoint

func (s_ ScrollView) SetMagnification_CenteredAtPoint(magnification float64, point foundation.Point)

func (ScrollView) SetMaxMagnification

func (s_ ScrollView) SetMaxMagnification(value float64)

func (ScrollView) SetMinMagnification

func (s_ ScrollView) SetMinMagnification(value float64)

func (ScrollView) SetPageScroll

func (s_ ScrollView) SetPageScroll(value float64)

func (ScrollView) SetRulersVisible

func (s_ ScrollView) SetRulersVisible(value bool)

func (ScrollView) SetScrollerInsets

func (s_ ScrollView) SetScrollerInsets(value foundation.EdgeInsets)

func (ScrollView) SetScrollerKnobStyle

func (s_ ScrollView) SetScrollerKnobStyle(value ScrollerKnobStyle)

func (ScrollView) SetScrollerStyle

func (s_ ScrollView) SetScrollerStyle(value ScrollerStyle)

func (ScrollView) SetScrollsDynamically

func (s_ ScrollView) SetScrollsDynamically(value bool)

func (ScrollView) SetUsesPredominantAxisScrolling

func (s_ ScrollView) SetUsesPredominantAxisScrolling(value bool)

func (ScrollView) SetVerticalLineScroll

func (s_ ScrollView) SetVerticalLineScroll(value float64)

func (ScrollView) SetVerticalPageScroll

func (s_ ScrollView) SetVerticalPageScroll(value float64)

func (ScrollView) SetVerticalRulerView

func (s_ ScrollView) SetVerticalRulerView(value IRulerView)

func (ScrollView) SetVerticalScrollElasticity

func (s_ ScrollView) SetVerticalScrollElasticity(value ScrollElasticity)

func (ScrollView) SetVerticalScroller

func (s_ ScrollView) SetVerticalScroller(value IScroller)

func (ScrollView) Tile

func (s_ ScrollView) Tile()

func (ScrollView) UsesPredominantAxisScrolling

func (s_ ScrollView) UsesPredominantAxisScrolling() bool

func (ScrollView) VerticalLineScroll

func (s_ ScrollView) VerticalLineScroll() float64

func (ScrollView) VerticalPageScroll

func (s_ ScrollView) VerticalPageScroll() float64

func (ScrollView) VerticalRulerView

func (s_ ScrollView) VerticalRulerView() RulerView

func (ScrollView) VerticalScrollElasticity

func (s_ ScrollView) VerticalScrollElasticity() ScrollElasticity

func (ScrollView) VerticalScroller

func (s_ ScrollView) VerticalScroller() Scroller

type ScrollViewFindBarPosition

type ScrollViewFindBarPosition int
const ScrollViewFindBarPositionAboveContent ScrollViewFindBarPosition = 1
const ScrollViewFindBarPositionAboveHorizontalRuler ScrollViewFindBarPosition = 0
const ScrollViewFindBarPositionBelowContent ScrollViewFindBarPosition = 2

type ScrollableTextView

type ScrollableTextView struct {
	ScrollView
}

ScrollableTextView is ScrollView that contains a TextView

func NewScrollableTextView added in v0.15.3

func NewScrollableTextView() ScrollableTextView

NewScrollableTextView create and return new scrollable text view.

func (*ScrollableTextView) ContentTextView added in v0.15.3

func (t *ScrollableTextView) ContentTextView() TextView

ContentTextView return the inner TextView

type Scroller

type Scroller struct {
	Control
}

func MakeScroller

func MakeScroller(ptr unsafe.Pointer) Scroller

func NewScroller

func NewScroller() Scroller

func (Scroller) ArrowsPosition added in v0.14.5

func (s_ Scroller) ArrowsPosition() ScrollArrowPosition

deprecated

func (Scroller) CheckSpaceForParts

func (s_ Scroller) CheckSpaceForParts()

func (Scroller) ControlTint added in v0.14.5

func (s_ Scroller) ControlTint() ControlTint

deprecated

func (Scroller) DrawArrow_Highlight added in v0.14.5

func (s_ Scroller) DrawArrow_Highlight(whichArrow ScrollerArrow, flag bool)

deprecated

func (Scroller) DrawKnob

func (s_ Scroller) DrawKnob()

func (Scroller) DrawKnobSlotInRect_Highlight

func (s_ Scroller) DrawKnobSlotInRect_Highlight(slotRect foundation.Rect, flag bool)

func (Scroller) DrawParts added in v0.14.5

func (s_ Scroller) DrawParts()

deprecated

func (Scroller) Highlight added in v0.14.5

func (s_ Scroller) Highlight(flag bool)

deprecated

func (Scroller) HitPart

func (s_ Scroller) HitPart() ScrollerPart

func (Scroller) Init added in v0.11.0

func (s_ Scroller) Init() Scroller

func (Scroller) InitWithFrame added in v0.11.0

func (s_ Scroller) InitWithFrame(frameRect foundation.Rect) Scroller

func (Scroller) KnobProportion

func (s_ Scroller) KnobProportion() float64

func (Scroller) KnobStyle

func (s_ Scroller) KnobStyle() ScrollerKnobStyle

func (Scroller) RectForPart

func (s_ Scroller) RectForPart(partCode ScrollerPart) foundation.Rect

func (Scroller) ScrollerStyle

func (s_ Scroller) ScrollerStyle() ScrollerStyle

func (Scroller) SetArrowsPosition added in v0.14.5

func (s_ Scroller) SetArrowsPosition(value ScrollArrowPosition)

deprecated

func (Scroller) SetControlTint added in v0.14.5

func (s_ Scroller) SetControlTint(value ControlTint)

deprecated

func (Scroller) SetFloatValue_KnobProportion added in v0.14.5

func (s_ Scroller) SetFloatValue_KnobProportion(value float32, proportion float64)

deprecated

func (Scroller) SetKnobProportion added in v0.13.0

func (s_ Scroller) SetKnobProportion(proportion float64)

func (Scroller) SetKnobStyle

func (s_ Scroller) SetKnobStyle(value ScrollerKnobStyle)

func (Scroller) SetScrollerStyle

func (s_ Scroller) SetScrollerStyle(value ScrollerStyle)

func (Scroller) TestPart

func (s_ Scroller) TestPart(point foundation.Point) ScrollerPart

func (Scroller) TrackKnob

func (s_ Scroller) TrackKnob(event IEvent)

func (Scroller) TrackScrollButtons added in v0.14.5

func (s_ Scroller) TrackScrollButtons(event IEvent)

deprecated

func (Scroller) UsableParts

func (s_ Scroller) UsableParts() UsableScrollerParts

type ScrollerArrow added in v0.14.5

type ScrollerArrow uint

type ScrollerKnobStyle

type ScrollerKnobStyle int
const ScrollerKnobStyleDark ScrollerKnobStyle = 1
const ScrollerKnobStyleDefault ScrollerKnobStyle = 0
const ScrollerKnobStyleLight ScrollerKnobStyle = 2

type ScrollerPart

type ScrollerPart uint
const ScrollerDecrementPage ScrollerPart = 1
const ScrollerIncrementPage ScrollerPart = 3
const ScrollerKnob ScrollerPart = 2
const ScrollerKnobSlot ScrollerPart = 6
const ScrollerNoPart ScrollerPart = 0

type ScrollerStyle

type ScrollerStyle int
const ScrollerStyleLegacy ScrollerStyle = 0
const ScrollerStyleOverlay ScrollerStyle = 1

type SearchField

type SearchField struct {
	TextField
}

func MakeSearchField

func MakeSearchField(ptr unsafe.Pointer) SearchField

func NewSearchField

func NewSearchField() SearchField

func (SearchField) CancelButtonBounds

func (s_ SearchField) CancelButtonBounds() foundation.Rect

func (SearchField) CentersPlaceholder added in v0.14.5

func (s_ SearchField) CentersPlaceholder() bool

deprecated

func (SearchField) Init added in v0.11.0

func (s_ SearchField) Init() SearchField

func (SearchField) InitWithFrame added in v0.11.0

func (s_ SearchField) InitWithFrame(frameRect foundation.Rect) SearchField

func (SearchField) MaximumRecents

func (s_ SearchField) MaximumRecents() int

func (SearchField) RecentSearches

func (s_ SearchField) RecentSearches() []string

func (SearchField) RecentsAutosaveName

func (s_ SearchField) RecentsAutosaveName() SearchFieldRecentsAutosaveName

func (SearchField) RectForCancelButtonWhenCentered added in v0.14.5

func (s_ SearchField) RectForCancelButtonWhenCentered(isCentered bool) foundation.Rect

deprecated

func (SearchField) RectForSearchButtonWhenCentered added in v0.14.5

func (s_ SearchField) RectForSearchButtonWhenCentered(isCentered bool) foundation.Rect

deprecated

func (SearchField) RectForSearchTextWhenCentered added in v0.14.5

func (s_ SearchField) RectForSearchTextWhenCentered(isCentered bool) foundation.Rect

deprecated

func (SearchField) SearchButtonBounds

func (s_ SearchField) SearchButtonBounds() foundation.Rect

func (SearchField) SearchMenuTemplate

func (s_ SearchField) SearchMenuTemplate() Menu

func (SearchField) SearchTextBounds

func (s_ SearchField) SearchTextBounds() foundation.Rect

func (SearchField) SendsSearchStringImmediately

func (s_ SearchField) SendsSearchStringImmediately() bool

func (SearchField) SendsWholeSearchString

func (s_ SearchField) SendsWholeSearchString() bool

func (SearchField) SetCentersPlaceholder added in v0.14.5

func (s_ SearchField) SetCentersPlaceholder(value bool)

deprecated

func (SearchField) SetMaximumRecents

func (s_ SearchField) SetMaximumRecents(value int)

func (SearchField) SetRecentSearches

func (s_ SearchField) SetRecentSearches(value []string)

func (SearchField) SetRecentsAutosaveName

func (s_ SearchField) SetRecentsAutosaveName(value SearchFieldRecentsAutosaveName)

func (SearchField) SetSearchMenuTemplate

func (s_ SearchField) SetSearchMenuTemplate(value IMenu)

func (SearchField) SetSendsSearchStringImmediately

func (s_ SearchField) SetSendsSearchStringImmediately(value bool)

func (SearchField) SetSendsWholeSearchString

func (s_ SearchField) SetSendsWholeSearchString(value bool)

type SearchFieldCell

type SearchFieldCell struct {
	TextFieldCell
}

func MakeSearchFieldCell

func MakeSearchFieldCell(ptr unsafe.Pointer) SearchFieldCell

func NewSearchFieldCell

func NewSearchFieldCell() SearchFieldCell

func (SearchFieldCell) CancelButtonCell

func (s_ SearchFieldCell) CancelButtonCell() ButtonCell

func (SearchFieldCell) CancelButtonRectForBounds

func (s_ SearchFieldCell) CancelButtonRectForBounds(rect foundation.Rect) foundation.Rect

func (SearchFieldCell) Init added in v0.11.0

func (s_ SearchFieldCell) Init() SearchFieldCell

func (SearchFieldCell) InitImageCell added in v0.13.0

func (s_ SearchFieldCell) InitImageCell(image IImage) SearchFieldCell

func (SearchFieldCell) InitTextCell added in v0.11.0

func (s_ SearchFieldCell) InitTextCell(string_ string) SearchFieldCell

func (SearchFieldCell) MaximumRecents

func (s_ SearchFieldCell) MaximumRecents() int

func (SearchFieldCell) RecentSearches

func (s_ SearchFieldCell) RecentSearches() []string

func (SearchFieldCell) RecentsAutosaveName

func (s_ SearchFieldCell) RecentsAutosaveName() SearchFieldRecentsAutosaveName

func (SearchFieldCell) ResetCancelButtonCell

func (s_ SearchFieldCell) ResetCancelButtonCell()

func (SearchFieldCell) ResetSearchButtonCell

func (s_ SearchFieldCell) ResetSearchButtonCell()

func (SearchFieldCell) SearchButtonCell

func (s_ SearchFieldCell) SearchButtonCell() ButtonCell

func (SearchFieldCell) SearchButtonRectForBounds

func (s_ SearchFieldCell) SearchButtonRectForBounds(rect foundation.Rect) foundation.Rect

func (SearchFieldCell) SearchMenuTemplate

func (s_ SearchFieldCell) SearchMenuTemplate() Menu

func (SearchFieldCell) SearchTextRectForBounds

func (s_ SearchFieldCell) SearchTextRectForBounds(rect foundation.Rect) foundation.Rect

func (SearchFieldCell) SendsSearchStringImmediately

func (s_ SearchFieldCell) SendsSearchStringImmediately() bool

func (SearchFieldCell) SendsWholeSearchString

func (s_ SearchFieldCell) SendsWholeSearchString() bool

func (SearchFieldCell) SetCancelButtonCell

func (s_ SearchFieldCell) SetCancelButtonCell(value IButtonCell)

func (SearchFieldCell) SetMaximumRecents

func (s_ SearchFieldCell) SetMaximumRecents(value int)

func (SearchFieldCell) SetRecentSearches

func (s_ SearchFieldCell) SetRecentSearches(value []string)

func (SearchFieldCell) SetRecentsAutosaveName

func (s_ SearchFieldCell) SetRecentsAutosaveName(value SearchFieldRecentsAutosaveName)

func (SearchFieldCell) SetSearchButtonCell

func (s_ SearchFieldCell) SetSearchButtonCell(value IButtonCell)

func (SearchFieldCell) SetSearchMenuTemplate

func (s_ SearchFieldCell) SetSearchMenuTemplate(value IMenu)

func (SearchFieldCell) SetSendsSearchStringImmediately

func (s_ SearchFieldCell) SetSendsSearchStringImmediately(value bool)

func (SearchFieldCell) SetSendsWholeSearchString

func (s_ SearchFieldCell) SetSendsWholeSearchString(value bool)

type SearchFieldDelegate added in v0.13.6

type SearchFieldDelegate interface {
	TextFieldDelegate
	ImplementsSearchFieldDidStartSearching() bool
	// optional
	SearchFieldDidStartSearching(sender SearchField)
	ImplementsSearchFieldDidEndSearching() bool
	// optional
	SearchFieldDidEndSearching(sender SearchField)
}

type SearchFieldDelegateBase added in v0.18.0

type SearchFieldDelegateBase struct {
	TextFieldDelegateBase
}

func (*SearchFieldDelegateBase) ImplementsSearchFieldDidEndSearching added in v0.18.0

func (p *SearchFieldDelegateBase) ImplementsSearchFieldDidEndSearching() bool

func (*SearchFieldDelegateBase) ImplementsSearchFieldDidStartSearching added in v0.18.0

func (p *SearchFieldDelegateBase) ImplementsSearchFieldDidStartSearching() bool

func (*SearchFieldDelegateBase) SearchFieldDidEndSearching added in v0.18.0

func (p *SearchFieldDelegateBase) SearchFieldDidEndSearching(sender SearchField)

func (*SearchFieldDelegateBase) SearchFieldDidStartSearching added in v0.18.0

func (p *SearchFieldDelegateBase) SearchFieldDidStartSearching(sender SearchField)

type SearchFieldDelegateCreator added in v0.19.0

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

func NewSearchFieldDelegateCreator added in v0.19.0

func NewSearchFieldDelegateCreator(name string) *SearchFieldDelegateCreator

func (*SearchFieldDelegateCreator) Create added in v0.19.0

func (*SearchFieldDelegateCreator) SetSearchFieldDidEndSearching added in v0.19.0

func (c *SearchFieldDelegateCreator) SetSearchFieldDidEndSearching(handle func(o objc.ProtocolBase, sender SearchField))

func (*SearchFieldDelegateCreator) SetSearchFieldDidStartSearching added in v0.19.0

func (c *SearchFieldDelegateCreator) SetSearchFieldDidStartSearching(handle func(o objc.ProtocolBase, sender SearchField))

type SearchFieldRecentsAutosaveName

type SearchFieldRecentsAutosaveName string

type SearchToolbarItem added in v0.13.6

type SearchToolbarItem struct {
	ToolbarItem
}

func MakeSearchToolbarItem added in v0.13.6

func MakeSearchToolbarItem(ptr unsafe.Pointer) SearchToolbarItem

func NewSearchToolbarItem added in v0.13.6

func NewSearchToolbarItem() SearchToolbarItem

func (SearchToolbarItem) BeginSearchInteraction added in v0.13.6

func (s_ SearchToolbarItem) BeginSearchInteraction()

func (SearchToolbarItem) EndSearchInteraction added in v0.13.6

func (s_ SearchToolbarItem) EndSearchInteraction()

func (SearchToolbarItem) Init added in v0.13.6

func (SearchToolbarItem) InitWithItemIdentifier added in v0.13.6

func (s_ SearchToolbarItem) InitWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) SearchToolbarItem

func (SearchToolbarItem) PreferredWidthForSearchField added in v0.13.6

func (s_ SearchToolbarItem) PreferredWidthForSearchField() float64

func (SearchToolbarItem) ResignsFirstResponderWithCancel added in v0.13.6

func (s_ SearchToolbarItem) ResignsFirstResponderWithCancel() bool

func (SearchToolbarItem) SearchField added in v0.13.6

func (s_ SearchToolbarItem) SearchField() SearchField

func (SearchToolbarItem) SetPreferredWidthForSearchField added in v0.13.6

func (s_ SearchToolbarItem) SetPreferredWidthForSearchField(value float64)

func (SearchToolbarItem) SetResignsFirstResponderWithCancel added in v0.13.6

func (s_ SearchToolbarItem) SetResignsFirstResponderWithCancel(value bool)

func (SearchToolbarItem) SetSearchField added in v0.13.6

func (s_ SearchToolbarItem) SetSearchField(value ISearchField)

type SecureTextField

type SecureTextField struct {
	TextField
}

func MakeSecureTextField

func MakeSecureTextField(ptr unsafe.Pointer) SecureTextField

func NewSecureTextField

func NewSecureTextField() SecureTextField

func (SecureTextField) Init added in v0.11.0

func (s_ SecureTextField) Init() SecureTextField

func (SecureTextField) InitWithFrame added in v0.11.0

func (s_ SecureTextField) InitWithFrame(frameRect foundation.Rect) SecureTextField

type SegmentDistribution added in v0.13.6

type SegmentDistribution int
const SegmentDistributionFill SegmentDistribution = 1
const SegmentDistributionFillEqually SegmentDistribution = 2
const SegmentDistributionFillProportionally SegmentDistribution = 3
const SegmentDistributionFit SegmentDistribution = 0

type SegmentStyle added in v0.13.6

type SegmentStyle int
const SegmentStyleAutomatic SegmentStyle = 0
const SegmentStyleCapsule SegmentStyle = 5
const SegmentStyleRoundRect SegmentStyle = 3
const SegmentStyleRounded SegmentStyle = 1
const SegmentStyleSeparated SegmentStyle = 8
const SegmentStyleSmallSquare SegmentStyle = 6
const SegmentStyleTexturedRounded SegmentStyle = 2
const SegmentStyleTexturedSquare SegmentStyle = 4

type SegmentSwitchTracking added in v0.13.6

type SegmentSwitchTracking uint
const SegmentSwitchTrackingMomentary SegmentSwitchTracking = 2
const SegmentSwitchTrackingMomentaryAccelerator SegmentSwitchTracking = 3
const SegmentSwitchTrackingSelectAny SegmentSwitchTracking = 1
const SegmentSwitchTrackingSelectOne SegmentSwitchTracking = 0

type SegmentedCell added in v0.13.6

type SegmentedCell struct {
	ActionCell
}

func MakeSegmentedCell added in v0.13.6

func MakeSegmentedCell(ptr unsafe.Pointer) SegmentedCell

func NewSegmentedCell added in v0.13.6

func NewSegmentedCell() SegmentedCell

func (SegmentedCell) DrawSegment_InFrame_WithView added in v0.13.6

func (s_ SegmentedCell) DrawSegment_InFrame_WithView(segment int, frame foundation.Rect, controlView IView)

func (SegmentedCell) ImageForSegment added in v0.13.6

func (s_ SegmentedCell) ImageForSegment(segment int) Image

func (SegmentedCell) ImageScalingForSegment added in v0.13.6

func (s_ SegmentedCell) ImageScalingForSegment(segment int) ImageScaling

func (SegmentedCell) Init added in v0.13.6

func (s_ SegmentedCell) Init() SegmentedCell

func (SegmentedCell) InitImageCell added in v0.13.6

func (s_ SegmentedCell) InitImageCell(image IImage) SegmentedCell

func (SegmentedCell) InitTextCell added in v0.13.6

func (s_ SegmentedCell) InitTextCell(string_ string) SegmentedCell

func (SegmentedCell) InteriorBackgroundStyleForSegment added in v0.13.6

func (s_ SegmentedCell) InteriorBackgroundStyleForSegment(segment int) BackgroundStyle

func (SegmentedCell) IsEnabledForSegment added in v0.13.6

func (s_ SegmentedCell) IsEnabledForSegment(segment int) bool

func (SegmentedCell) IsSelectedForSegment added in v0.13.6

func (s_ SegmentedCell) IsSelectedForSegment(segment int) bool

func (SegmentedCell) LabelForSegment added in v0.13.6

func (s_ SegmentedCell) LabelForSegment(segment int) string

func (SegmentedCell) MakeNextSegmentKey added in v0.13.6

func (s_ SegmentedCell) MakeNextSegmentKey()

func (SegmentedCell) MakePreviousSegmentKey added in v0.13.6

func (s_ SegmentedCell) MakePreviousSegmentKey()

func (SegmentedCell) MenuForSegment added in v0.13.6

func (s_ SegmentedCell) MenuForSegment(segment int) Menu

func (SegmentedCell) SegmentCount added in v0.13.6

func (s_ SegmentedCell) SegmentCount() int

func (SegmentedCell) SegmentStyle added in v0.13.6

func (s_ SegmentedCell) SegmentStyle() SegmentStyle

func (SegmentedCell) SelectSegmentWithTag added in v0.13.6

func (s_ SegmentedCell) SelectSegmentWithTag(tag int) bool

func (SegmentedCell) SelectedSegment added in v0.13.6

func (s_ SegmentedCell) SelectedSegment() int

func (SegmentedCell) SetEnabled_ForSegment added in v0.13.6

func (s_ SegmentedCell) SetEnabled_ForSegment(enabled bool, segment int)

func (SegmentedCell) SetImageScaling_ForSegment added in v0.13.6

func (s_ SegmentedCell) SetImageScaling_ForSegment(scaling ImageScaling, segment int)

func (SegmentedCell) SetImage_ForSegment added in v0.13.6

func (s_ SegmentedCell) SetImage_ForSegment(image IImage, segment int)

func (SegmentedCell) SetLabel_ForSegment added in v0.13.6

func (s_ SegmentedCell) SetLabel_ForSegment(label string, segment int)

func (SegmentedCell) SetMenu_ForSegment added in v0.13.6

func (s_ SegmentedCell) SetMenu_ForSegment(menu IMenu, segment int)

func (SegmentedCell) SetSegmentCount added in v0.13.6

func (s_ SegmentedCell) SetSegmentCount(value int)

func (SegmentedCell) SetSegmentStyle added in v0.13.6

func (s_ SegmentedCell) SetSegmentStyle(value SegmentStyle)

func (SegmentedCell) SetSelectedSegment added in v0.13.6

func (s_ SegmentedCell) SetSelectedSegment(value int)

func (SegmentedCell) SetSelected_ForSegment added in v0.13.6

func (s_ SegmentedCell) SetSelected_ForSegment(selected bool, segment int)

func (SegmentedCell) SetTag_ForSegment added in v0.13.6

func (s_ SegmentedCell) SetTag_ForSegment(tag int, segment int)

func (SegmentedCell) SetToolTip_ForSegment added in v0.13.6

func (s_ SegmentedCell) SetToolTip_ForSegment(toolTip string, segment int)

func (SegmentedCell) SetTrackingMode added in v0.13.6

func (s_ SegmentedCell) SetTrackingMode(value SegmentSwitchTracking)

func (SegmentedCell) SetWidth_ForSegment added in v0.13.6

func (s_ SegmentedCell) SetWidth_ForSegment(width float64, segment int)

func (SegmentedCell) TagForSegment added in v0.13.6

func (s_ SegmentedCell) TagForSegment(segment int) int

func (SegmentedCell) ToolTipForSegment added in v0.13.6

func (s_ SegmentedCell) ToolTipForSegment(segment int) string

func (SegmentedCell) TrackingMode added in v0.13.6

func (s_ SegmentedCell) TrackingMode() SegmentSwitchTracking

func (SegmentedCell) WidthForSegment added in v0.13.6

func (s_ SegmentedCell) WidthForSegment(segment int) float64

type SegmentedControl added in v0.13.6

type SegmentedControl struct {
	Control
}

func MakeSegmentedControl added in v0.13.6

func MakeSegmentedControl(ptr unsafe.Pointer) SegmentedControl

func NewSegmentedControl added in v0.13.6

func NewSegmentedControl() SegmentedControl

func (SegmentedControl) ActiveCompressionOptions added in v0.13.6

func (s_ SegmentedControl) ActiveCompressionOptions() UserInterfaceCompressionOptions

func (SegmentedControl) AlignmentForSegment added in v0.13.6

func (s_ SegmentedControl) AlignmentForSegment(segment int) TextAlignment

func (SegmentedControl) CompressWithPrioritizedCompressionOptions added in v0.13.6

func (s_ SegmentedControl) CompressWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions)

func (SegmentedControl) DoubleValueForSelectedSegment added in v0.13.6

func (s_ SegmentedControl) DoubleValueForSelectedSegment() float64

func (SegmentedControl) ImageForSegment added in v0.13.6

func (s_ SegmentedControl) ImageForSegment(segment int) Image

func (SegmentedControl) ImageScalingForSegment added in v0.13.6

func (s_ SegmentedControl) ImageScalingForSegment(segment int) ImageScaling

func (SegmentedControl) IndexOfSelectedItem added in v0.13.6

func (s_ SegmentedControl) IndexOfSelectedItem() int

func (SegmentedControl) Init added in v0.13.6

func (SegmentedControl) InitWithFrame added in v0.13.6

func (s_ SegmentedControl) InitWithFrame(frameRect foundation.Rect) SegmentedControl

func (SegmentedControl) IsEnabledForSegment added in v0.13.6

func (s_ SegmentedControl) IsEnabledForSegment(segment int) bool

func (SegmentedControl) IsSelectedForSegment added in v0.13.6

func (s_ SegmentedControl) IsSelectedForSegment(segment int) bool

func (SegmentedControl) IsSpringLoaded added in v0.13.6

func (s_ SegmentedControl) IsSpringLoaded() bool

func (SegmentedControl) LabelForSegment added in v0.13.6

func (s_ SegmentedControl) LabelForSegment(segment int) string

func (SegmentedControl) MenuForSegment added in v0.13.6

func (s_ SegmentedControl) MenuForSegment(segment int) Menu

func (SegmentedControl) MinimumSizeWithPrioritizedCompressionOptions added in v0.13.6

func (s_ SegmentedControl) MinimumSizeWithPrioritizedCompressionOptions(prioritizedOptions []IUserInterfaceCompressionOptions) foundation.Size

func (SegmentedControl) SegmentCount added in v0.13.6

func (s_ SegmentedControl) SegmentCount() int

func (SegmentedControl) SegmentDistribution added in v0.13.6

func (s_ SegmentedControl) SegmentDistribution() SegmentDistribution

func (SegmentedControl) SegmentStyle added in v0.13.6

func (s_ SegmentedControl) SegmentStyle() SegmentStyle

func (SegmentedControl) SelectSegmentWithTag added in v0.13.6

func (s_ SegmentedControl) SelectSegmentWithTag(tag int) bool

func (SegmentedControl) SelectedSegment added in v0.13.6

func (s_ SegmentedControl) SelectedSegment() int

func (SegmentedControl) SelectedSegmentBezelColor added in v0.13.6

func (s_ SegmentedControl) SelectedSegmentBezelColor() Color

func (SegmentedControl) SetAlignment_ForSegment added in v0.13.6

func (s_ SegmentedControl) SetAlignment_ForSegment(alignment TextAlignment, segment int)

func (SegmentedControl) SetEnabled_ForSegment added in v0.13.6

func (s_ SegmentedControl) SetEnabled_ForSegment(enabled bool, segment int)

func (SegmentedControl) SetImageScaling_ForSegment added in v0.13.6

func (s_ SegmentedControl) SetImageScaling_ForSegment(scaling ImageScaling, segment int)

func (SegmentedControl) SetImage_ForSegment added in v0.13.6

func (s_ SegmentedControl) SetImage_ForSegment(image IImage, segment int)

func (SegmentedControl) SetLabel_ForSegment added in v0.13.6

func (s_ SegmentedControl) SetLabel_ForSegment(label string, segment int)

func (SegmentedControl) SetMenu_ForSegment added in v0.13.6

func (s_ SegmentedControl) SetMenu_ForSegment(menu IMenu, segment int)

func (SegmentedControl) SetSegmentCount added in v0.13.6

func (s_ SegmentedControl) SetSegmentCount(value int)

func (SegmentedControl) SetSegmentDistribution added in v0.13.6

func (s_ SegmentedControl) SetSegmentDistribution(value SegmentDistribution)

func (SegmentedControl) SetSegmentStyle added in v0.13.6

func (s_ SegmentedControl) SetSegmentStyle(value SegmentStyle)

func (SegmentedControl) SetSelectedSegment added in v0.13.6

func (s_ SegmentedControl) SetSelectedSegment(value int)

func (SegmentedControl) SetSelectedSegmentBezelColor added in v0.13.6

func (s_ SegmentedControl) SetSelectedSegmentBezelColor(value IColor)

func (SegmentedControl) SetSelected_ForSegment added in v0.13.6

func (s_ SegmentedControl) SetSelected_ForSegment(selected bool, segment int)

func (SegmentedControl) SetShowsMenuIndicator_ForSegment added in v0.13.6

func (s_ SegmentedControl) SetShowsMenuIndicator_ForSegment(showsMenuIndicator bool, segment int)

func (SegmentedControl) SetSpringLoaded added in v0.13.6

func (s_ SegmentedControl) SetSpringLoaded(value bool)

func (SegmentedControl) SetTag_ForSegment added in v0.13.6

func (s_ SegmentedControl) SetTag_ForSegment(tag int, segment int)

func (SegmentedControl) SetToolTip_ForSegment added in v0.13.6

func (s_ SegmentedControl) SetToolTip_ForSegment(toolTip string, segment int)

func (SegmentedControl) SetTrackingMode added in v0.13.6

func (s_ SegmentedControl) SetTrackingMode(value SegmentSwitchTracking)

func (SegmentedControl) SetWidth_ForSegment added in v0.13.6

func (s_ SegmentedControl) SetWidth_ForSegment(width float64, segment int)

func (SegmentedControl) ShowsMenuIndicatorForSegment added in v0.13.6

func (s_ SegmentedControl) ShowsMenuIndicatorForSegment(segment int) bool

func (SegmentedControl) TagForSegment added in v0.13.6

func (s_ SegmentedControl) TagForSegment(segment int) int

func (SegmentedControl) ToolTipForSegment added in v0.13.6

func (s_ SegmentedControl) ToolTipForSegment(segment int) string

func (SegmentedControl) TrackingMode added in v0.13.6

func (s_ SegmentedControl) TrackingMode() SegmentSwitchTracking

func (SegmentedControl) WidthForSegment added in v0.13.6

func (s_ SegmentedControl) WidthForSegment(segment int) float64

type SelectionAffinity

type SelectionAffinity uint
const SelectionAffinityDownstream SelectionAffinity = 1
const SelectionAffinityUpstream SelectionAffinity = 0

type SelectionDirection

type SelectionDirection uint
const DirectSelection SelectionDirection = 0
const SelectingNext SelectionDirection = 1
const SelectingPrevious SelectionDirection = 2

type SelectionGranularity

type SelectionGranularity uint
const SelectByCharacter SelectionGranularity = 0
const SelectByParagraph SelectionGranularity = 2
const SelectByWord SelectionGranularity = 1

type Shadow

type Shadow struct {
	objc.Object
}

func MakeShadow

func MakeShadow(ptr unsafe.Pointer) Shadow

func NewShadow

func NewShadow() Shadow

func (Shadow) Init added in v0.11.0

func (s_ Shadow) Init() Shadow

func (Shadow) Set

func (s_ Shadow) Set()

func (Shadow) SetShadowBlurRadius

func (s_ Shadow) SetShadowBlurRadius(value float64)

func (Shadow) SetShadowColor

func (s_ Shadow) SetShadowColor(value IColor)

func (Shadow) SetShadowOffset

func (s_ Shadow) SetShadowOffset(value foundation.Size)

func (Shadow) ShadowBlurRadius

func (s_ Shadow) ShadowBlurRadius() float64

func (Shadow) ShadowColor

func (s_ Shadow) ShadowColor() Color

func (Shadow) ShadowOffset

func (s_ Shadow) ShadowOffset() foundation.Size

type SharingContentScope added in v0.13.0

type SharingContentScope int
const SharingContentScopeFull SharingContentScope = 2
const SharingContentScopeItem SharingContentScope = 0
const SharingContentScopePartial SharingContentScope = 1

type SharingService added in v0.13.0

type SharingService struct {
	objc.Object
}

func MakeSharingService added in v0.13.0

func MakeSharingService(ptr unsafe.Pointer) SharingService

func NewSharingService added in v0.13.0

func NewSharingService() SharingService

func (SharingService) AccountName added in v0.13.0

func (s_ SharingService) AccountName() string

func (SharingService) AlternateImage added in v0.13.0

func (s_ SharingService) AlternateImage() Image

func (SharingService) AttachmentFileURLs added in v0.13.0

func (s_ SharingService) AttachmentFileURLs() []foundation.URL

func (SharingService) CanPerformWithItems added in v0.13.0

func (s_ SharingService) CanPerformWithItems(items []objc.IObject) bool

func (SharingService) Delegate added in v0.13.0

func (s_ SharingService) Delegate() objc.Object

weak property

func (SharingService) Image added in v0.13.0

func (s_ SharingService) Image() Image

func (SharingService) Init added in v0.13.0

func (s_ SharingService) Init() SharingService

func (SharingService) InitWithTitle_Image_AlternateImage_Handler added in v0.13.3

func (s_ SharingService) InitWithTitle_Image_AlternateImage_Handler(title string, image IImage, alternateImage IImage, block func()) SharingService

func (SharingService) MenuItemTitle added in v0.13.0

func (s_ SharingService) MenuItemTitle() string

func (SharingService) MessageBody added in v0.13.0

func (s_ SharingService) MessageBody() string

func (SharingService) PerformWithItems added in v0.13.0

func (s_ SharingService) PerformWithItems(items []objc.IObject)
func (s_ SharingService) PermanentLink() foundation.URL

func (SharingService) Recipients added in v0.13.0

func (s_ SharingService) Recipients() []string

func (SharingService) SetDelegate added in v0.13.0

func (s_ SharingService) SetDelegate(value objc.IObject)

weak property

func (SharingService) SetMenuItemTitle added in v0.13.0

func (s_ SharingService) SetMenuItemTitle(value string)

func (SharingService) SetRecipients added in v0.13.0

func (s_ SharingService) SetRecipients(value []string)

func (SharingService) SetSubject added in v0.13.0

func (s_ SharingService) SetSubject(value string)

func (SharingService) Subject added in v0.13.0

func (s_ SharingService) Subject() string

func (SharingService) Title added in v0.13.0

func (s_ SharingService) Title() string

type SharingServiceDelegate added in v0.13.0

type SharingServiceDelegate interface {
	ImplementsSharingService_WillShareItems() bool
	// optional
	SharingService_WillShareItems(sharingService SharingService, items []objc.Object)
	ImplementsSharingService_DidShareItems() bool
	// optional
	SharingService_DidShareItems(sharingService SharingService, items []objc.Object)
	ImplementsSharingService_DidFailToShareItems_Error() bool
	// optional
	SharingService_DidFailToShareItems_Error(sharingService SharingService, items []objc.Object, error foundation.Error)
	ImplementsSharingService_SourceFrameOnScreenForShareItem() bool
	// optional
	SharingService_SourceFrameOnScreenForShareItem(sharingService SharingService, item objc.Object) foundation.Rect
	ImplementsSharingService_TransitionImageForShareItem_ContentRect() bool
	// optional
	SharingService_TransitionImageForShareItem_ContentRect(sharingService SharingService, item objc.Object, contentRect *foundation.Rect) IImage
	ImplementsSharingService_SourceWindowForShareItems_SharingContentScope() bool
	// optional
	SharingService_SourceWindowForShareItems_SharingContentScope(sharingService SharingService, items []objc.Object, sharingContentScope *SharingContentScope) IWindow
	ImplementsAnchoringViewForSharingService_ShowRelativeToRect_PreferredEdge() bool
	// optional
	AnchoringViewForSharingService_ShowRelativeToRect_PreferredEdge(sharingService SharingService, positioningRect *foundation.Rect, preferredEdge *foundation.RectEdge) IView
}

type SharingServiceDelegateBase added in v0.18.0

type SharingServiceDelegateBase struct {
}

func (*SharingServiceDelegateBase) AnchoringViewForSharingService_ShowRelativeToRect_PreferredEdge added in v0.18.0

func (p *SharingServiceDelegateBase) AnchoringViewForSharingService_ShowRelativeToRect_PreferredEdge(sharingService SharingService, positioningRect *foundation.Rect, preferredEdge *foundation.RectEdge) IView

func (*SharingServiceDelegateBase) ImplementsAnchoringViewForSharingService_ShowRelativeToRect_PreferredEdge added in v0.18.0

func (p *SharingServiceDelegateBase) ImplementsAnchoringViewForSharingService_ShowRelativeToRect_PreferredEdge() bool

func (*SharingServiceDelegateBase) ImplementsSharingService_DidFailToShareItems_Error added in v0.18.0

func (p *SharingServiceDelegateBase) ImplementsSharingService_DidFailToShareItems_Error() bool

func (*SharingServiceDelegateBase) ImplementsSharingService_DidShareItems added in v0.18.0

func (p *SharingServiceDelegateBase) ImplementsSharingService_DidShareItems() bool

func (*SharingServiceDelegateBase) ImplementsSharingService_SourceFrameOnScreenForShareItem added in v0.18.0

func (p *SharingServiceDelegateBase) ImplementsSharingService_SourceFrameOnScreenForShareItem() bool

func (*SharingServiceDelegateBase) ImplementsSharingService_SourceWindowForShareItems_SharingContentScope added in v0.18.0

func (p *SharingServiceDelegateBase) ImplementsSharingService_SourceWindowForShareItems_SharingContentScope() bool

func (*SharingServiceDelegateBase) ImplementsSharingService_TransitionImageForShareItem_ContentRect added in v0.18.0

func (p *SharingServiceDelegateBase) ImplementsSharingService_TransitionImageForShareItem_ContentRect() bool

func (*SharingServiceDelegateBase) ImplementsSharingService_WillShareItems added in v0.18.0

func (p *SharingServiceDelegateBase) ImplementsSharingService_WillShareItems() bool

func (*SharingServiceDelegateBase) SharingService_DidFailToShareItems_Error added in v0.18.0

func (p *SharingServiceDelegateBase) SharingService_DidFailToShareItems_Error(sharingService SharingService, items []objc.Object, error foundation.Error)

func (*SharingServiceDelegateBase) SharingService_DidShareItems added in v0.18.0

func (p *SharingServiceDelegateBase) SharingService_DidShareItems(sharingService SharingService, items []objc.Object)

func (*SharingServiceDelegateBase) SharingService_SourceFrameOnScreenForShareItem added in v0.18.0

func (p *SharingServiceDelegateBase) SharingService_SourceFrameOnScreenForShareItem(sharingService SharingService, item objc.Object) foundation.Rect

func (*SharingServiceDelegateBase) SharingService_SourceWindowForShareItems_SharingContentScope added in v0.18.0

func (p *SharingServiceDelegateBase) SharingService_SourceWindowForShareItems_SharingContentScope(sharingService SharingService, items []objc.Object, sharingContentScope *SharingContentScope) IWindow

func (*SharingServiceDelegateBase) SharingService_TransitionImageForShareItem_ContentRect added in v0.18.0

func (p *SharingServiceDelegateBase) SharingService_TransitionImageForShareItem_ContentRect(sharingService SharingService, item objc.Object, contentRect *foundation.Rect) IImage

func (*SharingServiceDelegateBase) SharingService_WillShareItems added in v0.18.0

func (p *SharingServiceDelegateBase) SharingService_WillShareItems(sharingService SharingService, items []objc.Object)

type SharingServiceDelegateCreator added in v0.19.0

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

func NewSharingServiceDelegateCreator added in v0.19.0

func NewSharingServiceDelegateCreator(name string) *SharingServiceDelegateCreator

func (*SharingServiceDelegateCreator) Create added in v0.19.0

func (*SharingServiceDelegateCreator) SetAnchoringViewForSharingService_ShowRelativeToRect_PreferredEdge added in v0.19.0

func (c *SharingServiceDelegateCreator) SetAnchoringViewForSharingService_ShowRelativeToRect_PreferredEdge(handle func(o objc.ProtocolBase, sharingService SharingService, positioningRect *foundation.Rect, preferredEdge *foundation.RectEdge) IView)

func (*SharingServiceDelegateCreator) SetSharingService_DidFailToShareItems_Error added in v0.19.0

func (c *SharingServiceDelegateCreator) SetSharingService_DidFailToShareItems_Error(handle func(o objc.ProtocolBase, sharingService SharingService, items []objc.Object, error foundation.Error))

func (*SharingServiceDelegateCreator) SetSharingService_DidShareItems added in v0.19.0

func (c *SharingServiceDelegateCreator) SetSharingService_DidShareItems(handle func(o objc.ProtocolBase, sharingService SharingService, items []objc.Object))

func (*SharingServiceDelegateCreator) SetSharingService_SourceFrameOnScreenForShareItem added in v0.19.0

func (c *SharingServiceDelegateCreator) SetSharingService_SourceFrameOnScreenForShareItem(handle func(o objc.ProtocolBase, sharingService SharingService, item objc.Object) foundation.Rect)

func (*SharingServiceDelegateCreator) SetSharingService_SourceWindowForShareItems_SharingContentScope added in v0.19.0

func (c *SharingServiceDelegateCreator) SetSharingService_SourceWindowForShareItems_SharingContentScope(handle func(o objc.ProtocolBase, sharingService SharingService, items []objc.Object, sharingContentScope *SharingContentScope) IWindow)

func (*SharingServiceDelegateCreator) SetSharingService_TransitionImageForShareItem_ContentRect added in v0.19.0

func (c *SharingServiceDelegateCreator) SetSharingService_TransitionImageForShareItem_ContentRect(handle func(o objc.ProtocolBase, sharingService SharingService, item objc.Object, contentRect *foundation.Rect) IImage)

func (*SharingServiceDelegateCreator) SetSharingService_WillShareItems added in v0.19.0

func (c *SharingServiceDelegateCreator) SetSharingService_WillShareItems(handle func(o objc.ProtocolBase, sharingService SharingService, items []objc.Object))

type SharingServiceName added in v0.13.0

type SharingServiceName string
const SharingServiceNameAddToAperture SharingServiceName = "com.apple.share.System.add-to-aperture"
const SharingServiceNameAddToIPhoto SharingServiceName = "com.apple.share.System.add-to-iphoto"
const SharingServiceNameAddToSafariReadingList SharingServiceName = "com.apple.share.System.add-to-safari-reading-list"
const SharingServiceNameCloudSharing SharingServiceName = "com.apple.share.CloudSharing"
const SharingServiceNameComposeEmail SharingServiceName = "com.apple.share.Mail.compose"
const SharingServiceNameComposeMessage SharingServiceName = "com.apple.messages.ShareExtension"
const SharingServiceNameSendViaAirDrop SharingServiceName = "com.apple.share.AirDrop.send"
const SharingServiceNameUseAsDesktopPicture SharingServiceName = "com.apple.share.System.set-desktop-image"

type SharingServicePicker

type SharingServicePicker struct {
	objc.Object
}

func MakeSharingServicePicker

func MakeSharingServicePicker(ptr unsafe.Pointer) SharingServicePicker

func NewSharingServicePicker added in v0.13.0

func NewSharingServicePicker() SharingServicePicker

func (SharingServicePicker) Delegate

func (s_ SharingServicePicker) Delegate() objc.Object

weak property

func (SharingServicePicker) Init added in v0.13.0

func (SharingServicePicker) InitWithItems added in v0.11.0

func (s_ SharingServicePicker) InitWithItems(items []objc.IObject) SharingServicePicker

func (SharingServicePicker) SetDelegate

func (s_ SharingServicePicker) SetDelegate(value objc.IObject)

weak property

func (SharingServicePicker) ShowRelativeToRect_OfView_PreferredEdge

func (s_ SharingServicePicker) ShowRelativeToRect_OfView_PreferredEdge(rect foundation.Rect, view IView, preferredEdge foundation.RectEdge)

func (SharingServicePicker) StandardShareMenuItem added in v0.13.5

func (s_ SharingServicePicker) StandardShareMenuItem() MenuItem

type SharingServicePickerDelegate added in v0.13.0

type SharingServicePickerDelegate interface {
	ImplementsSharingServicePicker_SharingServicesForItems_ProposedSharingServices() bool
	// optional
	SharingServicePicker_SharingServicesForItems_ProposedSharingServices(sharingServicePicker SharingServicePicker, items []objc.Object, proposedServices []SharingService) []ISharingService
	ImplementsSharingServicePicker_DidChooseSharingService() bool
	// optional
	SharingServicePicker_DidChooseSharingService(sharingServicePicker SharingServicePicker, service SharingService)
	ImplementsSharingServicePicker_DelegateForSharingService() bool
	// optional
	SharingServicePicker_DelegateForSharingService(sharingServicePicker SharingServicePicker, sharingService SharingService) objc.IObject
}

type SharingServicePickerDelegateBase added in v0.18.0

type SharingServicePickerDelegateBase struct {
}

func (*SharingServicePickerDelegateBase) ImplementsSharingServicePicker_DelegateForSharingService added in v0.18.0

func (p *SharingServicePickerDelegateBase) ImplementsSharingServicePicker_DelegateForSharingService() bool

func (*SharingServicePickerDelegateBase) ImplementsSharingServicePicker_DidChooseSharingService added in v0.18.0

func (p *SharingServicePickerDelegateBase) ImplementsSharingServicePicker_DidChooseSharingService() bool

func (*SharingServicePickerDelegateBase) ImplementsSharingServicePicker_SharingServicesForItems_ProposedSharingServices added in v0.18.0

func (p *SharingServicePickerDelegateBase) ImplementsSharingServicePicker_SharingServicesForItems_ProposedSharingServices() bool

func (*SharingServicePickerDelegateBase) SharingServicePicker_DelegateForSharingService added in v0.18.0

func (p *SharingServicePickerDelegateBase) SharingServicePicker_DelegateForSharingService(sharingServicePicker SharingServicePicker, sharingService SharingService) objc.IObject

func (*SharingServicePickerDelegateBase) SharingServicePicker_DidChooseSharingService added in v0.18.0

func (p *SharingServicePickerDelegateBase) SharingServicePicker_DidChooseSharingService(sharingServicePicker SharingServicePicker, service SharingService)

func (*SharingServicePickerDelegateBase) SharingServicePicker_SharingServicesForItems_ProposedSharingServices added in v0.18.0

func (p *SharingServicePickerDelegateBase) SharingServicePicker_SharingServicesForItems_ProposedSharingServices(sharingServicePicker SharingServicePicker, items []objc.Object, proposedServices []SharingService) []ISharingService

type SharingServicePickerDelegateCreator added in v0.19.0

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

func NewSharingServicePickerDelegateCreator added in v0.19.0

func NewSharingServicePickerDelegateCreator(name string) *SharingServicePickerDelegateCreator

func (*SharingServicePickerDelegateCreator) Create added in v0.19.0

func (*SharingServicePickerDelegateCreator) SetSharingServicePicker_DelegateForSharingService added in v0.19.0

func (c *SharingServicePickerDelegateCreator) SetSharingServicePicker_DelegateForSharingService(handle func(o objc.ProtocolBase, sharingServicePicker SharingServicePicker, sharingService SharingService) objc.IObject)

func (*SharingServicePickerDelegateCreator) SetSharingServicePicker_DidChooseSharingService added in v0.19.0

func (c *SharingServicePickerDelegateCreator) SetSharingServicePicker_DidChooseSharingService(handle func(o objc.ProtocolBase, sharingServicePicker SharingServicePicker, service SharingService))

func (*SharingServicePickerDelegateCreator) SetSharingServicePicker_SharingServicesForItems_ProposedSharingServices added in v0.19.0

func (c *SharingServicePickerDelegateCreator) SetSharingServicePicker_SharingServicesForItems_ProposedSharingServices(handle func(o objc.ProtocolBase, sharingServicePicker SharingServicePicker, items []objc.Object, proposedServices []SharingService) []ISharingService)

type Slider

type Slider struct {
	Control
}

func MakeSlider

func MakeSlider(ptr unsafe.Pointer) Slider

func NewSlider

func NewSlider() Slider

func (Slider) AllowsTickMarkValuesOnly

func (s_ Slider) AllowsTickMarkValuesOnly() bool

func (Slider) AltIncrementValue

func (s_ Slider) AltIncrementValue() float64

func (Slider) ClosestTickMarkValueToValue

func (s_ Slider) ClosestTickMarkValueToValue(value float64) float64

func (Slider) Image added in v0.14.5

func (s_ Slider) Image() Image

deprecated

func (Slider) IndexOfTickMarkAtPoint

func (s_ Slider) IndexOfTickMarkAtPoint(point foundation.Point) int

func (Slider) Init added in v0.11.0

func (s_ Slider) Init() Slider

func (Slider) InitWithFrame added in v0.11.0

func (s_ Slider) InitWithFrame(frameRect foundation.Rect) Slider

func (Slider) IsVertical

func (s_ Slider) IsVertical() bool

func (Slider) KnobThickness

func (s_ Slider) KnobThickness() float64

func (Slider) MaxValue

func (s_ Slider) MaxValue() float64

func (Slider) MinValue

func (s_ Slider) MinValue() float64

func (Slider) NumberOfTickMarks

func (s_ Slider) NumberOfTickMarks() int

func (Slider) RectOfTickMarkAtIndex

func (s_ Slider) RectOfTickMarkAtIndex(index int) foundation.Rect

func (Slider) SetAllowsTickMarkValuesOnly

func (s_ Slider) SetAllowsTickMarkValuesOnly(value bool)

func (Slider) SetAltIncrementValue

func (s_ Slider) SetAltIncrementValue(value float64)

func (Slider) SetImage added in v0.14.5

func (s_ Slider) SetImage(backgroundImage IImage)

deprecated

func (Slider) SetKnobThickness added in v0.14.5

func (s_ Slider) SetKnobThickness(thickness float64)

deprecated

func (Slider) SetMaxValue

func (s_ Slider) SetMaxValue(value float64)

func (Slider) SetMinValue

func (s_ Slider) SetMinValue(value float64)

func (Slider) SetNumberOfTickMarks

func (s_ Slider) SetNumberOfTickMarks(value int)

func (Slider) SetSliderType

func (s_ Slider) SetSliderType(value SliderType)

func (Slider) SetTickMarkPosition

func (s_ Slider) SetTickMarkPosition(value TickMarkPosition)

func (Slider) SetTitle added in v0.14.5

func (s_ Slider) SetTitle(string_ string)

deprecated

func (Slider) SetTitleCell added in v0.14.5

func (s_ Slider) SetTitleCell(cell ICell)

deprecated

func (Slider) SetTitleColor added in v0.14.5

func (s_ Slider) SetTitleColor(newColor IColor)

deprecated

func (Slider) SetTitleFont added in v0.14.5

func (s_ Slider) SetTitleFont(fontObj IFont)

deprecated

func (Slider) SetTrackFillColor

func (s_ Slider) SetTrackFillColor(value IColor)

func (Slider) SetVertical

func (s_ Slider) SetVertical(value bool)

func (Slider) SliderType

func (s_ Slider) SliderType() SliderType

func (Slider) TickMarkPosition

func (s_ Slider) TickMarkPosition() TickMarkPosition

func (Slider) TickMarkValueAtIndex

func (s_ Slider) TickMarkValueAtIndex(index int) float64

func (Slider) Title added in v0.14.5

func (s_ Slider) Title() string

deprecated

func (Slider) TitleCell added in v0.14.5

func (s_ Slider) TitleCell() objc.Object

deprecated

func (Slider) TitleColor added in v0.14.5

func (s_ Slider) TitleColor() Color

deprecated

func (Slider) TitleFont added in v0.14.5

func (s_ Slider) TitleFont() Font

deprecated

func (Slider) TrackFillColor

func (s_ Slider) TrackFillColor() Color

type SliderType

type SliderType uint
const SliderTypeCircular SliderType = 1
const SliderTypeLinear SliderType = 0

type Sound

type Sound struct {
	objc.Object
}

func MakeSound

func MakeSound(ptr unsafe.Pointer) Sound

func NewSound

func NewSound() Sound

func (Sound) ChannelMapping added in v0.14.5

func (s_ Sound) ChannelMapping() []objc.Object

deprecated

func (Sound) CurrentTime

func (s_ Sound) CurrentTime() foundation.TimeInterval

func (Sound) Delegate

func (s_ Sound) Delegate() objc.Object

weak property

func (Sound) Duration

func (s_ Sound) Duration() foundation.TimeInterval

func (Sound) Init added in v0.11.0

func (s_ Sound) Init() Sound

func (Sound) InitWithContentsOfFile_ByReference added in v0.11.0

func (s_ Sound) InitWithContentsOfFile_ByReference(path string, byRef bool) Sound

func (Sound) InitWithContentsOfURL_ByReference added in v0.11.0

func (s_ Sound) InitWithContentsOfURL_ByReference(url foundation.IURL, byRef bool) Sound

func (Sound) InitWithData added in v0.11.0

func (s_ Sound) InitWithData(data []byte) Sound

func (Sound) InitWithPasteboard added in v0.11.0

func (s_ Sound) InitWithPasteboard(pasteboard IPasteboard) Sound

func (Sound) IsPlaying

func (s_ Sound) IsPlaying() bool

func (Sound) Loops

func (s_ Sound) Loops() bool

func (Sound) Name

func (s_ Sound) Name() SoundName

func (Sound) Pause

func (s_ Sound) Pause() bool

func (Sound) Play

func (s_ Sound) Play() bool

func (Sound) PlaybackDeviceIdentifier

func (s_ Sound) PlaybackDeviceIdentifier() SoundPlaybackDeviceIdentifier

func (Sound) Resume

func (s_ Sound) Resume() bool

func (Sound) SetChannelMapping added in v0.14.5

func (s_ Sound) SetChannelMapping(channelMapping []objc.IObject)

deprecated

func (Sound) SetCurrentTime

func (s_ Sound) SetCurrentTime(value foundation.TimeInterval)

func (Sound) SetDelegate

func (s_ Sound) SetDelegate(value objc.IObject)

weak property

func (Sound) SetLoops

func (s_ Sound) SetLoops(value bool)

func (Sound) SetName

func (s_ Sound) SetName(string_ SoundName) bool

func (Sound) SetPlaybackDeviceIdentifier

func (s_ Sound) SetPlaybackDeviceIdentifier(value SoundPlaybackDeviceIdentifier)

func (Sound) SetVolume

func (s_ Sound) SetVolume(value float32)

func (Sound) Stop

func (s_ Sound) Stop() bool

func (Sound) Volume

func (s_ Sound) Volume() float32

func (Sound) WriteToPasteboard

func (s_ Sound) WriteToPasteboard(pasteboard IPasteboard)

type SoundDelegate added in v0.13.0

type SoundDelegate interface {
	ImplementsSound_DidFinishPlaying() bool
	// optional
	Sound_DidFinishPlaying(sound Sound, flag bool)
}

type SoundDelegateBase added in v0.18.0

type SoundDelegateBase struct {
}

func (*SoundDelegateBase) ImplementsSound_DidFinishPlaying added in v0.18.0

func (p *SoundDelegateBase) ImplementsSound_DidFinishPlaying() bool

func (*SoundDelegateBase) Sound_DidFinishPlaying added in v0.18.0

func (p *SoundDelegateBase) Sound_DidFinishPlaying(sound Sound, flag bool)

type SoundDelegateCreator added in v0.19.0

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

func NewSoundDelegateCreator added in v0.19.0

func NewSoundDelegateCreator(name string) *SoundDelegateCreator

func (*SoundDelegateCreator) Create added in v0.19.0

func (*SoundDelegateCreator) SetSound_DidFinishPlaying added in v0.19.0

func (c *SoundDelegateCreator) SetSound_DidFinishPlaying(handle func(o objc.ProtocolBase, sound Sound, flag bool))

type SoundName

type SoundName string

type SoundPlaybackDeviceIdentifier

type SoundPlaybackDeviceIdentifier string

type SplitView

type SplitView struct {
	View
}

func MakeSplitView

func MakeSplitView(ptr unsafe.Pointer) SplitView

func NewSplitView

func NewSplitView() SplitView

func (SplitView) AddArrangedSubview

func (s_ SplitView) AddArrangedSubview(view IView)

func (SplitView) AdjustSubviews

func (s_ SplitView) AdjustSubviews()

func (SplitView) ArrangedSubviews

func (s_ SplitView) ArrangedSubviews() []View

func (SplitView) ArrangesAllSubviews

func (s_ SplitView) ArrangesAllSubviews() bool

func (SplitView) AutosaveName

func (s_ SplitView) AutosaveName() SplitViewAutosaveName

func (SplitView) Delegate

func (s_ SplitView) Delegate() objc.Object

weak property

func (SplitView) DividerColor

func (s_ SplitView) DividerColor() Color

func (SplitView) DividerStyle

func (s_ SplitView) DividerStyle() SplitViewDividerStyle

func (SplitView) DividerThickness

func (s_ SplitView) DividerThickness() float64

func (SplitView) DrawDividerInRect

func (s_ SplitView) DrawDividerInRect(rect foundation.Rect)

func (SplitView) HoldingPriorityForSubviewAtIndex

func (s_ SplitView) HoldingPriorityForSubviewAtIndex(subviewIndex int) LayoutPriority

func (SplitView) Init added in v0.11.0

func (s_ SplitView) Init() SplitView

func (SplitView) InitWithFrame added in v0.11.0

func (s_ SplitView) InitWithFrame(frameRect foundation.Rect) SplitView

func (SplitView) InsertArrangedSubview_AtIndex

func (s_ SplitView) InsertArrangedSubview_AtIndex(view IView, index int)

func (SplitView) IsPaneSplitter added in v0.14.5

func (s_ SplitView) IsPaneSplitter() bool

deprecated

func (SplitView) IsSubviewCollapsed

func (s_ SplitView) IsSubviewCollapsed(subview IView) bool

func (SplitView) IsVertical

func (s_ SplitView) IsVertical() bool

func (SplitView) MaxPossiblePositionOfDividerAtIndex

func (s_ SplitView) MaxPossiblePositionOfDividerAtIndex(dividerIndex int) float64

func (SplitView) MinPossiblePositionOfDividerAtIndex

func (s_ SplitView) MinPossiblePositionOfDividerAtIndex(dividerIndex int) float64

func (SplitView) RemoveArrangedSubview

func (s_ SplitView) RemoveArrangedSubview(view IView)

func (SplitView) SetArrangesAllSubviews

func (s_ SplitView) SetArrangesAllSubviews(value bool)

func (SplitView) SetAutosaveName

func (s_ SplitView) SetAutosaveName(value SplitViewAutosaveName)

func (SplitView) SetDelegate

func (s_ SplitView) SetDelegate(value objc.IObject)

weak property

func (SplitView) SetDividerStyle

func (s_ SplitView) SetDividerStyle(value SplitViewDividerStyle)

func (SplitView) SetHoldingPriority_ForSubviewAtIndex

func (s_ SplitView) SetHoldingPriority_ForSubviewAtIndex(priority LayoutPriority, subviewIndex int)

func (SplitView) SetIsPaneSplitter added in v0.14.5

func (s_ SplitView) SetIsPaneSplitter(flag bool)

deprecated

func (SplitView) SetPosition_OfDividerAtIndex

func (s_ SplitView) SetPosition_OfDividerAtIndex(position float64, dividerIndex int)

func (SplitView) SetVertical

func (s_ SplitView) SetVertical(value bool)

type SplitViewAutosaveName

type SplitViewAutosaveName string

type SplitViewDelegate added in v0.13.0

type SplitViewDelegate interface {
	ImplementsSplitViewWillResizeSubviews() bool
	// optional
	SplitViewWillResizeSubviews(notification foundation.Notification)
	ImplementsSplitViewDidResizeSubviews() bool
	// optional
	SplitViewDidResizeSubviews(notification foundation.Notification)
	ImplementsSplitView_CanCollapseSubview() bool
	// optional
	SplitView_CanCollapseSubview(splitView SplitView, subview View) bool
	ImplementsSplitView_ShouldCollapseSubview_ForDoubleClickOnDividerAtIndex() bool
	// optional
	// deprecated
	SplitView_ShouldCollapseSubview_ForDoubleClickOnDividerAtIndex(splitView SplitView, subview View, dividerIndex int) bool
	ImplementsSplitView_EffectiveRect_ForDrawnRect_OfDividerAtIndex() bool
	// optional
	SplitView_EffectiveRect_ForDrawnRect_OfDividerAtIndex(splitView SplitView, proposedEffectiveRect foundation.Rect, drawnRect foundation.Rect, dividerIndex int) foundation.Rect
	ImplementsSplitView_ShouldHideDividerAtIndex() bool
	// optional
	SplitView_ShouldHideDividerAtIndex(splitView SplitView, dividerIndex int) bool
	ImplementsSplitView_AdditionalEffectiveRectOfDividerAtIndex() bool
	// optional
	SplitView_AdditionalEffectiveRectOfDividerAtIndex(splitView SplitView, dividerIndex int) foundation.Rect
	ImplementsSplitView_ConstrainSplitPosition_OfSubviewAt() bool
	// optional
	SplitView_ConstrainSplitPosition_OfSubviewAt(splitView SplitView, proposedPosition float64, dividerIndex int) float64
	ImplementsSplitView_ConstrainMinCoordinate_OfSubviewAt() bool
	// optional
	SplitView_ConstrainMinCoordinate_OfSubviewAt(splitView SplitView, proposedMinimumPosition float64, dividerIndex int) float64
	ImplementsSplitView_ConstrainMaxCoordinate_OfSubviewAt() bool
	// optional
	SplitView_ConstrainMaxCoordinate_OfSubviewAt(splitView SplitView, proposedMaximumPosition float64, dividerIndex int) float64
	ImplementsSplitView_ResizeSubviewsWithOldSize() bool
	// optional
	SplitView_ResizeSubviewsWithOldSize(splitView SplitView, oldSize foundation.Size)
	ImplementsSplitView_ShouldAdjustSizeOfSubview() bool
	// optional
	SplitView_ShouldAdjustSizeOfSubview(splitView SplitView, view View) bool
}

type SplitViewDelegateBase added in v0.18.0

type SplitViewDelegateBase struct {
}

func (*SplitViewDelegateBase) ImplementsSplitViewDidResizeSubviews added in v0.18.0

func (p *SplitViewDelegateBase) ImplementsSplitViewDidResizeSubviews() bool

func (*SplitViewDelegateBase) ImplementsSplitViewWillResizeSubviews added in v0.18.0

func (p *SplitViewDelegateBase) ImplementsSplitViewWillResizeSubviews() bool

func (*SplitViewDelegateBase) ImplementsSplitView_AdditionalEffectiveRectOfDividerAtIndex added in v0.18.0

func (p *SplitViewDelegateBase) ImplementsSplitView_AdditionalEffectiveRectOfDividerAtIndex() bool

func (*SplitViewDelegateBase) ImplementsSplitView_CanCollapseSubview added in v0.18.0

func (p *SplitViewDelegateBase) ImplementsSplitView_CanCollapseSubview() bool

func (*SplitViewDelegateBase) ImplementsSplitView_ConstrainMaxCoordinate_OfSubviewAt added in v0.18.0

func (p *SplitViewDelegateBase) ImplementsSplitView_ConstrainMaxCoordinate_OfSubviewAt() bool

func (*SplitViewDelegateBase) ImplementsSplitView_ConstrainMinCoordinate_OfSubviewAt added in v0.18.0

func (p *SplitViewDelegateBase) ImplementsSplitView_ConstrainMinCoordinate_OfSubviewAt() bool

func (*SplitViewDelegateBase) ImplementsSplitView_ConstrainSplitPosition_OfSubviewAt added in v0.18.0

func (p *SplitViewDelegateBase) ImplementsSplitView_ConstrainSplitPosition_OfSubviewAt() bool

func (*SplitViewDelegateBase) ImplementsSplitView_EffectiveRect_ForDrawnRect_OfDividerAtIndex added in v0.18.0

func (p *SplitViewDelegateBase) ImplementsSplitView_EffectiveRect_ForDrawnRect_OfDividerAtIndex() bool

func (*SplitViewDelegateBase) ImplementsSplitView_ResizeSubviewsWithOldSize added in v0.18.0

func (p *SplitViewDelegateBase) ImplementsSplitView_ResizeSubviewsWithOldSize() bool

func (*SplitViewDelegateBase) ImplementsSplitView_ShouldAdjustSizeOfSubview added in v0.18.0

func (p *SplitViewDelegateBase) ImplementsSplitView_ShouldAdjustSizeOfSubview() bool

func (*SplitViewDelegateBase) ImplementsSplitView_ShouldCollapseSubview_ForDoubleClickOnDividerAtIndex added in v0.18.0

func (p *SplitViewDelegateBase) ImplementsSplitView_ShouldCollapseSubview_ForDoubleClickOnDividerAtIndex() bool

func (*SplitViewDelegateBase) ImplementsSplitView_ShouldHideDividerAtIndex added in v0.18.0

func (p *SplitViewDelegateBase) ImplementsSplitView_ShouldHideDividerAtIndex() bool

func (*SplitViewDelegateBase) SplitViewDidResizeSubviews added in v0.18.0

func (p *SplitViewDelegateBase) SplitViewDidResizeSubviews(notification foundation.Notification)

func (*SplitViewDelegateBase) SplitViewWillResizeSubviews added in v0.18.0

func (p *SplitViewDelegateBase) SplitViewWillResizeSubviews(notification foundation.Notification)

func (*SplitViewDelegateBase) SplitView_AdditionalEffectiveRectOfDividerAtIndex added in v0.18.0

func (p *SplitViewDelegateBase) SplitView_AdditionalEffectiveRectOfDividerAtIndex(splitView SplitView, dividerIndex int) foundation.Rect

func (*SplitViewDelegateBase) SplitView_CanCollapseSubview added in v0.18.0

func (p *SplitViewDelegateBase) SplitView_CanCollapseSubview(splitView SplitView, subview View) bool

func (*SplitViewDelegateBase) SplitView_ConstrainMaxCoordinate_OfSubviewAt added in v0.18.0

func (p *SplitViewDelegateBase) SplitView_ConstrainMaxCoordinate_OfSubviewAt(splitView SplitView, proposedMaximumPosition float64, dividerIndex int) float64

func (*SplitViewDelegateBase) SplitView_ConstrainMinCoordinate_OfSubviewAt added in v0.18.0

func (p *SplitViewDelegateBase) SplitView_ConstrainMinCoordinate_OfSubviewAt(splitView SplitView, proposedMinimumPosition float64, dividerIndex int) float64

func (*SplitViewDelegateBase) SplitView_ConstrainSplitPosition_OfSubviewAt added in v0.18.0

func (p *SplitViewDelegateBase) SplitView_ConstrainSplitPosition_OfSubviewAt(splitView SplitView, proposedPosition float64, dividerIndex int) float64

func (*SplitViewDelegateBase) SplitView_EffectiveRect_ForDrawnRect_OfDividerAtIndex added in v0.18.0

func (p *SplitViewDelegateBase) SplitView_EffectiveRect_ForDrawnRect_OfDividerAtIndex(splitView SplitView, proposedEffectiveRect foundation.Rect, drawnRect foundation.Rect, dividerIndex int) foundation.Rect

func (*SplitViewDelegateBase) SplitView_ResizeSubviewsWithOldSize added in v0.18.0

func (p *SplitViewDelegateBase) SplitView_ResizeSubviewsWithOldSize(splitView SplitView, oldSize foundation.Size)

func (*SplitViewDelegateBase) SplitView_ShouldAdjustSizeOfSubview added in v0.18.0

func (p *SplitViewDelegateBase) SplitView_ShouldAdjustSizeOfSubview(splitView SplitView, view View) bool

func (*SplitViewDelegateBase) SplitView_ShouldCollapseSubview_ForDoubleClickOnDividerAtIndex added in v0.18.0

func (p *SplitViewDelegateBase) SplitView_ShouldCollapseSubview_ForDoubleClickOnDividerAtIndex(splitView SplitView, subview View, dividerIndex int) bool

deprecated

func (*SplitViewDelegateBase) SplitView_ShouldHideDividerAtIndex added in v0.18.0

func (p *SplitViewDelegateBase) SplitView_ShouldHideDividerAtIndex(splitView SplitView, dividerIndex int) bool

type SplitViewDelegateCreator added in v0.19.0

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

func NewSplitViewDelegateCreator added in v0.19.0

func NewSplitViewDelegateCreator(name string) *SplitViewDelegateCreator

func (*SplitViewDelegateCreator) Create added in v0.19.0

func (*SplitViewDelegateCreator) SetSplitViewDidResizeSubviews added in v0.19.0

func (c *SplitViewDelegateCreator) SetSplitViewDidResizeSubviews(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*SplitViewDelegateCreator) SetSplitViewWillResizeSubviews added in v0.19.0

func (c *SplitViewDelegateCreator) SetSplitViewWillResizeSubviews(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*SplitViewDelegateCreator) SetSplitView_AdditionalEffectiveRectOfDividerAtIndex added in v0.19.0

func (c *SplitViewDelegateCreator) SetSplitView_AdditionalEffectiveRectOfDividerAtIndex(handle func(o objc.ProtocolBase, splitView SplitView, dividerIndex int) foundation.Rect)

func (*SplitViewDelegateCreator) SetSplitView_CanCollapseSubview added in v0.19.0

func (c *SplitViewDelegateCreator) SetSplitView_CanCollapseSubview(handle func(o objc.ProtocolBase, splitView SplitView, subview View) bool)

func (*SplitViewDelegateCreator) SetSplitView_ConstrainMaxCoordinate_OfSubviewAt added in v0.19.0

func (c *SplitViewDelegateCreator) SetSplitView_ConstrainMaxCoordinate_OfSubviewAt(handle func(o objc.ProtocolBase, splitView SplitView, proposedMaximumPosition float64, dividerIndex int) float64)

func (*SplitViewDelegateCreator) SetSplitView_ConstrainMinCoordinate_OfSubviewAt added in v0.19.0

func (c *SplitViewDelegateCreator) SetSplitView_ConstrainMinCoordinate_OfSubviewAt(handle func(o objc.ProtocolBase, splitView SplitView, proposedMinimumPosition float64, dividerIndex int) float64)

func (*SplitViewDelegateCreator) SetSplitView_ConstrainSplitPosition_OfSubviewAt added in v0.19.0

func (c *SplitViewDelegateCreator) SetSplitView_ConstrainSplitPosition_OfSubviewAt(handle func(o objc.ProtocolBase, splitView SplitView, proposedPosition float64, dividerIndex int) float64)

func (*SplitViewDelegateCreator) SetSplitView_EffectiveRect_ForDrawnRect_OfDividerAtIndex added in v0.19.0

func (c *SplitViewDelegateCreator) SetSplitView_EffectiveRect_ForDrawnRect_OfDividerAtIndex(handle func(o objc.ProtocolBase, splitView SplitView, proposedEffectiveRect foundation.Rect, drawnRect foundation.Rect, dividerIndex int) foundation.Rect)

func (*SplitViewDelegateCreator) SetSplitView_ResizeSubviewsWithOldSize added in v0.19.0

func (c *SplitViewDelegateCreator) SetSplitView_ResizeSubviewsWithOldSize(handle func(o objc.ProtocolBase, splitView SplitView, oldSize foundation.Size))

func (*SplitViewDelegateCreator) SetSplitView_ShouldAdjustSizeOfSubview added in v0.19.0

func (c *SplitViewDelegateCreator) SetSplitView_ShouldAdjustSizeOfSubview(handle func(o objc.ProtocolBase, splitView SplitView, view View) bool)

func (*SplitViewDelegateCreator) SetSplitView_ShouldCollapseSubview_ForDoubleClickOnDividerAtIndex added in v0.19.0

func (c *SplitViewDelegateCreator) SetSplitView_ShouldCollapseSubview_ForDoubleClickOnDividerAtIndex(handle func(o objc.ProtocolBase, splitView SplitView, subview View, dividerIndex int) bool)

deprecated

func (*SplitViewDelegateCreator) SetSplitView_ShouldHideDividerAtIndex added in v0.19.0

func (c *SplitViewDelegateCreator) SetSplitView_ShouldHideDividerAtIndex(handle func(o objc.ProtocolBase, splitView SplitView, dividerIndex int) bool)

type SplitViewDividerStyle

type SplitViewDividerStyle int
const SplitViewDividerStylePaneSplitter SplitViewDividerStyle = 3
const SplitViewDividerStyleThick SplitViewDividerStyle = 1
const SplitViewDividerStyleThin SplitViewDividerStyle = 2

type SpringLoadingHighlight

type SpringLoadingHighlight int
const SpringLoadingHighlightEmphasized SpringLoadingHighlight = 2
const SpringLoadingHighlightNone SpringLoadingHighlight = 0
const SpringLoadingHighlightStandard SpringLoadingHighlight = 1

type StackView

type StackView struct {
	View
}

func MakeStackView

func MakeStackView(ptr unsafe.Pointer) StackView

func NewHorizontalStackView added in v0.15.3

func NewHorizontalStackView() StackView

NewHorizontalStackView return a new horizontal StackView

func NewStackView

func NewStackView() StackView

func NewVerticalStackView added in v0.15.3

func NewVerticalStackView() StackView

NewVerticalStackView return a new vertical StackView

func (StackView) AddArrangedSubview

func (s_ StackView) AddArrangedSubview(view IView)

func (StackView) AddView_InGravity

func (s_ StackView) AddView_InGravity(view IView, gravity StackViewGravity)

func (StackView) Alignment

func (s_ StackView) Alignment() LayoutAttribute

func (StackView) ArrangedSubviews

func (s_ StackView) ArrangedSubviews() []View

func (StackView) ClippingResistancePriorityForOrientation

func (s_ StackView) ClippingResistancePriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority

func (StackView) CustomSpacingAfterView

func (s_ StackView) CustomSpacingAfterView(view IView) float64

func (StackView) Delegate

func (s_ StackView) Delegate() objc.Object

weak property

func (StackView) DetachedViews

func (s_ StackView) DetachedViews() []View

func (StackView) DetachesHiddenViews

func (s_ StackView) DetachesHiddenViews() bool

func (StackView) Distribution

func (s_ StackView) Distribution() StackViewDistribution

func (StackView) EdgeInsets

func (s_ StackView) EdgeInsets() foundation.EdgeInsets

func (StackView) HasEqualSpacing added in v0.14.5

func (s_ StackView) HasEqualSpacing() bool

deprecated

func (StackView) HuggingPriorityForOrientation

func (s_ StackView) HuggingPriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority

func (StackView) Init added in v0.11.0

func (s_ StackView) Init() StackView

func (StackView) InitWithFrame added in v0.11.0

func (s_ StackView) InitWithFrame(frameRect foundation.Rect) StackView

func (StackView) InsertArrangedSubview_AtIndex

func (s_ StackView) InsertArrangedSubview_AtIndex(view IView, index int)

func (StackView) InsertView_AtIndex_InGravity

func (s_ StackView) InsertView_AtIndex_InGravity(view IView, index uint, gravity StackViewGravity)

func (StackView) Orientation

func (s_ StackView) Orientation() UserInterfaceLayoutOrientation

func (StackView) RemoveArrangedSubview

func (s_ StackView) RemoveArrangedSubview(view IView)

func (StackView) RemoveView

func (s_ StackView) RemoveView(view IView)

func (StackView) SetAlignment

func (s_ StackView) SetAlignment(value LayoutAttribute)

func (StackView) SetClippingResistancePriority_ForOrientation

func (s_ StackView) SetClippingResistancePriority_ForOrientation(clippingResistancePriority LayoutPriority, orientation LayoutConstraintOrientation)

func (StackView) SetCustomSpacing_AfterView

func (s_ StackView) SetCustomSpacing_AfterView(spacing float64, view IView)

func (StackView) SetDelegate

func (s_ StackView) SetDelegate(value objc.IObject)

weak property

func (StackView) SetDetachesHiddenViews

func (s_ StackView) SetDetachesHiddenViews(value bool)

func (StackView) SetDistribution

func (s_ StackView) SetDistribution(value StackViewDistribution)

func (StackView) SetEdgeInsets

func (s_ StackView) SetEdgeInsets(value foundation.EdgeInsets)

func (StackView) SetHasEqualSpacing added in v0.14.5

func (s_ StackView) SetHasEqualSpacing(value bool)

deprecated

func (StackView) SetHuggingPriority_ForOrientation

func (s_ StackView) SetHuggingPriority_ForOrientation(huggingPriority LayoutPriority, orientation LayoutConstraintOrientation)

func (StackView) SetOrientation

func (s_ StackView) SetOrientation(value UserInterfaceLayoutOrientation)

func (StackView) SetSpacing

func (s_ StackView) SetSpacing(value float64)

func (StackView) SetViews_InGravity

func (s_ StackView) SetViews_InGravity(views []IView, gravity StackViewGravity)

func (StackView) SetVisibilityPriority_ForView

func (s_ StackView) SetVisibilityPriority_ForView(priority StackViewVisibilityPriority, view IView)

func (StackView) Spacing

func (s_ StackView) Spacing() float64

func (StackView) Views

func (s_ StackView) Views() []View

func (StackView) ViewsInGravity

func (s_ StackView) ViewsInGravity(gravity StackViewGravity) []View

func (StackView) VisibilityPriorityForView

func (s_ StackView) VisibilityPriorityForView(view IView) StackViewVisibilityPriority

type StackViewDelegate added in v0.16.0

type StackViewDelegate interface {
	ImplementsStackView_DidReattachViews() bool
	// optional
	StackView_DidReattachViews(stackView StackView, views []View)
	ImplementsStackView_WillDetachViews() bool
	// optional
	StackView_WillDetachViews(stackView StackView, views []View)
}

type StackViewDelegateBase added in v0.18.0

type StackViewDelegateBase struct {
}

func (*StackViewDelegateBase) ImplementsStackView_DidReattachViews added in v0.18.0

func (p *StackViewDelegateBase) ImplementsStackView_DidReattachViews() bool

func (*StackViewDelegateBase) ImplementsStackView_WillDetachViews added in v0.18.0

func (p *StackViewDelegateBase) ImplementsStackView_WillDetachViews() bool

func (*StackViewDelegateBase) StackView_DidReattachViews added in v0.18.0

func (p *StackViewDelegateBase) StackView_DidReattachViews(stackView StackView, views []View)

func (*StackViewDelegateBase) StackView_WillDetachViews added in v0.18.0

func (p *StackViewDelegateBase) StackView_WillDetachViews(stackView StackView, views []View)

type StackViewDelegateCreator added in v0.19.0

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

func NewStackViewDelegateCreator added in v0.19.0

func NewStackViewDelegateCreator(name string) *StackViewDelegateCreator

func (*StackViewDelegateCreator) Create added in v0.19.0

func (*StackViewDelegateCreator) SetStackView_DidReattachViews added in v0.19.0

func (c *StackViewDelegateCreator) SetStackView_DidReattachViews(handle func(o objc.ProtocolBase, stackView StackView, views []View))

func (*StackViewDelegateCreator) SetStackView_WillDetachViews added in v0.19.0

func (c *StackViewDelegateCreator) SetStackView_WillDetachViews(handle func(o objc.ProtocolBase, stackView StackView, views []View))

type StackViewDistribution

type StackViewDistribution int
const StackViewDistributionEqualCentering StackViewDistribution = 4
const StackViewDistributionEqualSpacing StackViewDistribution = 3
const StackViewDistributionFill StackViewDistribution = 0
const StackViewDistributionFillEqually StackViewDistribution = 1
const StackViewDistributionFillProportionally StackViewDistribution = 2
const StackViewDistributionGravityAreas StackViewDistribution = -1

type StackViewGravity

type StackViewGravity int
const StackViewGravityBottom StackViewGravity = 3
const StackViewGravityCenter StackViewGravity = 2
const StackViewGravityLeading StackViewGravity = 1
const StackViewGravityTop StackViewGravity = 1
const StackViewGravityTrailing StackViewGravity = 3

type StackViewVisibilityPriority

type StackViewVisibilityPriority float32
const StackViewVisibilityPriorityDetachOnlyIfNecessary StackViewVisibilityPriority = 900
const StackViewVisibilityPriorityMustHold StackViewVisibilityPriority = 1000
const StackViewVisibilityPriorityNotVisible StackViewVisibilityPriority = 0

type StatusBar

type StatusBar struct {
	objc.Object
}

func MakeStatusBar

func MakeStatusBar(ptr unsafe.Pointer) StatusBar

func NewStatusBar

func NewStatusBar() StatusBar

func (StatusBar) Init added in v0.11.0

func (s_ StatusBar) Init() StatusBar

func (StatusBar) IsVertical

func (s_ StatusBar) IsVertical() bool

func (StatusBar) RemoveStatusItem

func (s_ StatusBar) RemoveStatusItem(item IStatusItem)

func (StatusBar) StatusItemWithLength

func (s_ StatusBar) StatusItemWithLength(length float64) StatusItem

func (StatusBar) Thickness

func (s_ StatusBar) Thickness() float64

type StatusBarButton

type StatusBarButton struct {
	Button
}

func MakeStatusBarButton

func MakeStatusBarButton(ptr unsafe.Pointer) StatusBarButton

func NewStatusBarButton

func NewStatusBarButton() StatusBarButton

func (StatusBarButton) AppearsDisabled

func (s_ StatusBarButton) AppearsDisabled() bool

func (StatusBarButton) Init added in v0.11.0

func (s_ StatusBarButton) Init() StatusBarButton

func (StatusBarButton) InitWithFrame added in v0.11.0

func (s_ StatusBarButton) InitWithFrame(frameRect foundation.Rect) StatusBarButton

func (StatusBarButton) SetAppearsDisabled

func (s_ StatusBarButton) SetAppearsDisabled(value bool)

type StatusItem

type StatusItem struct {
	objc.Object
}

func MakeStatusItem

func MakeStatusItem(ptr unsafe.Pointer) StatusItem

func NewStatusItem

func NewStatusItem() StatusItem

func (StatusItem) Action added in v0.14.5

func (s_ StatusItem) Action() objc.Selector

deprecated

func (StatusItem) AlternateImage added in v0.14.5

func (s_ StatusItem) AlternateImage() Image

deprecated

func (StatusItem) AttributedTitle added in v0.14.5

func (s_ StatusItem) AttributedTitle() foundation.AttributedString

deprecated

func (StatusItem) AutosaveName

func (s_ StatusItem) AutosaveName() StatusItemAutosaveName

func (StatusItem) Behavior

func (s_ StatusItem) Behavior() StatusItemBehavior

weak property

func (StatusItem) Button

func (s_ StatusItem) Button() StatusBarButton

func (StatusItem) DoubleAction added in v0.14.5

func (s_ StatusItem) DoubleAction() objc.Selector

deprecated

func (StatusItem) DrawStatusBarBackgroundInRect_WithHighlight added in v0.14.5

func (s_ StatusItem) DrawStatusBarBackgroundInRect_WithHighlight(rect foundation.Rect, highlight bool)

deprecated

func (StatusItem) HighlightMode added in v0.14.5

func (s_ StatusItem) HighlightMode() bool

deprecated

func (StatusItem) Image added in v0.14.5

func (s_ StatusItem) Image() Image

deprecated

func (StatusItem) Init added in v0.11.0

func (s_ StatusItem) Init() StatusItem

func (StatusItem) IsEnabled added in v0.14.5

func (s_ StatusItem) IsEnabled() bool

deprecated

func (StatusItem) IsVisible

func (s_ StatusItem) IsVisible() bool

weak property

func (StatusItem) Length

func (s_ StatusItem) Length() float64

func (StatusItem) Menu

func (s_ StatusItem) Menu() Menu

func (StatusItem) PopUpStatusItemMenu added in v0.14.5

func (s_ StatusItem) PopUpStatusItemMenu(menu IMenu)

deprecated

func (StatusItem) SendActionOn added in v0.14.5

func (s_ StatusItem) SendActionOn(mask EventMask) int

deprecated

func (StatusItem) SetAction added in v0.14.5

func (s_ StatusItem) SetAction(value objc.Selector)

deprecated

func (StatusItem) SetAlternateImage added in v0.14.5

func (s_ StatusItem) SetAlternateImage(value IImage)

deprecated

func (StatusItem) SetAttributedTitle added in v0.14.5

func (s_ StatusItem) SetAttributedTitle(value foundation.IAttributedString)

deprecated

func (StatusItem) SetAutosaveName

func (s_ StatusItem) SetAutosaveName(value StatusItemAutosaveName)

func (StatusItem) SetBehavior

func (s_ StatusItem) SetBehavior(value StatusItemBehavior)

weak property

func (StatusItem) SetDoubleAction added in v0.14.5

func (s_ StatusItem) SetDoubleAction(value objc.Selector)

deprecated

func (StatusItem) SetEnabled added in v0.14.5

func (s_ StatusItem) SetEnabled(value bool)

deprecated

func (StatusItem) SetHighlightMode added in v0.14.5

func (s_ StatusItem) SetHighlightMode(value bool)

deprecated

func (StatusItem) SetImage added in v0.14.5

func (s_ StatusItem) SetImage(value IImage)

deprecated

func (StatusItem) SetLength

func (s_ StatusItem) SetLength(value float64)

func (StatusItem) SetMenu

func (s_ StatusItem) SetMenu(value IMenu)

func (StatusItem) SetTarget added in v0.14.5

func (s_ StatusItem) SetTarget(value objc.IObject)

weak property deprecated

func (StatusItem) SetTitle added in v0.14.5

func (s_ StatusItem) SetTitle(value string)

deprecated

func (StatusItem) SetToolTip added in v0.14.5

func (s_ StatusItem) SetToolTip(value string)

deprecated

func (StatusItem) SetView added in v0.14.5

func (s_ StatusItem) SetView(value IView)

deprecated

func (StatusItem) SetVisible

func (s_ StatusItem) SetVisible(value bool)

weak property

func (StatusItem) StatusBar

func (s_ StatusItem) StatusBar() StatusBar

weak property

func (StatusItem) Target added in v0.14.5

func (s_ StatusItem) Target() objc.Object

weak property deprecated

func (StatusItem) Title added in v0.14.5

func (s_ StatusItem) Title() string

deprecated

func (StatusItem) ToolTip added in v0.14.5

func (s_ StatusItem) ToolTip() string

deprecated

func (StatusItem) View added in v0.14.5

func (s_ StatusItem) View() View

deprecated

type StatusItemAutosaveName

type StatusItemAutosaveName string

type StatusItemBehavior

type StatusItemBehavior uint
const StatusItemBehaviorRemovalAllowed StatusItemBehavior = 2
const StatusItemBehaviorTerminationOnRemoval StatusItemBehavior = 4

type Stepper

type Stepper struct {
	Control
}

func MakeStepper

func MakeStepper(ptr unsafe.Pointer) Stepper

func NewStepper

func NewStepper() Stepper

func (Stepper) Autorepeat

func (s_ Stepper) Autorepeat() bool

func (Stepper) Increment

func (s_ Stepper) Increment() float64

func (Stepper) Init added in v0.11.0

func (s_ Stepper) Init() Stepper

func (Stepper) InitWithFrame added in v0.11.0

func (s_ Stepper) InitWithFrame(frameRect foundation.Rect) Stepper

func (Stepper) MaxValue

func (s_ Stepper) MaxValue() float64

func (Stepper) MinValue

func (s_ Stepper) MinValue() float64

func (Stepper) SetAutorepeat

func (s_ Stepper) SetAutorepeat(value bool)

func (Stepper) SetIncrement

func (s_ Stepper) SetIncrement(value float64)

func (Stepper) SetMaxValue

func (s_ Stepper) SetMaxValue(value float64)

func (Stepper) SetMinValue

func (s_ Stepper) SetMinValue(value float64)

func (Stepper) SetValueWraps

func (s_ Stepper) SetValueWraps(value bool)

func (Stepper) ValueWraps

func (s_ Stepper) ValueWraps() bool

type Storyboard

type Storyboard struct {
	objc.Object
}

func MakeStoryboard

func MakeStoryboard(ptr unsafe.Pointer) Storyboard

func NewStoryboard

func NewStoryboard() Storyboard

func (Storyboard) Init added in v0.11.0

func (s_ Storyboard) Init() Storyboard

func (Storyboard) InstantiateControllerWithIdentifier added in v0.13.0

func (s_ Storyboard) InstantiateControllerWithIdentifier(identifier StoryboardSceneIdentifier) objc.Object

func (Storyboard) InstantiateControllerWithIdentifier_Creator added in v0.13.6

func (s_ Storyboard) InstantiateControllerWithIdentifier_Creator(identifier StoryboardSceneIdentifier, block func(coder foundation.Coder) objc.IObject) objc.Object

func (Storyboard) InstantiateInitialController

func (s_ Storyboard) InstantiateInitialController() objc.Object

func (Storyboard) InstantiateInitialControllerWithCreator added in v0.13.6

func (s_ Storyboard) InstantiateInitialControllerWithCreator(block func(coder foundation.Coder) objc.IObject) objc.Object

type StoryboardName

type StoryboardName string

type StoryboardSceneIdentifier

type StoryboardSceneIdentifier string

type Switch

type Switch struct {
	Control
}

func MakeSwitch

func MakeSwitch(ptr unsafe.Pointer) Switch

func NewSwitch

func NewSwitch() Switch

func (Switch) Init added in v0.11.0

func (s_ Switch) Init() Switch

func (Switch) InitWithFrame added in v0.11.0

func (s_ Switch) InitWithFrame(frameRect foundation.Rect) Switch

func (Switch) SetState

func (s_ Switch) SetState(value ControlStateValue)

func (Switch) State

func (s_ Switch) State() ControlStateValue

type TIFFCompression

type TIFFCompression uint
const TIFFCompressionCCITTFAX3 TIFFCompression = 3
const TIFFCompressionCCITTFAX4 TIFFCompression = 4
const TIFFCompressionJPEG TIFFCompression = 6
const TIFFCompressionLZW TIFFCompression = 5
const TIFFCompressionNEXT TIFFCompression = 32766
const TIFFCompressionNone TIFFCompression = 1
const TIFFCompressionOldJPEG TIFFCompression = 32865
const TIFFCompressionPackBits TIFFCompression = 32773

type TabPosition

type TabPosition uint
const TabPositionBottom TabPosition = 3
const TabPositionLeft TabPosition = 2
const TabPositionNone TabPosition = 0
const TabPositionRight TabPosition = 4
const TabPositionTop TabPosition = 1

type TabState

type TabState uint
const BackgroundTab TabState = 1
const PressedTab TabState = 2
const SelectedTab TabState = 0

type TabView

type TabView struct {
	View
}

func MakeTabView

func MakeTabView(ptr unsafe.Pointer) TabView

func NewTabView

func NewTabView() TabView

func (TabView) AddTabViewItem

func (t_ TabView) AddTabViewItem(tabViewItem ITabViewItem)

func (TabView) AllowsTruncatedLabels

func (t_ TabView) AllowsTruncatedLabels() bool

func (TabView) ContentRect

func (t_ TabView) ContentRect() foundation.Rect

func (TabView) ControlSize

func (t_ TabView) ControlSize() ControlSize

func (TabView) ControlTint added in v0.14.5

func (t_ TabView) ControlTint() ControlTint

deprecated

func (TabView) Delegate

func (t_ TabView) Delegate() objc.Object

weak property

func (TabView) DrawsBackground

func (t_ TabView) DrawsBackground() bool

func (TabView) Font

func (t_ TabView) Font() Font

func (TabView) IndexOfTabViewItem

func (t_ TabView) IndexOfTabViewItem(tabViewItem ITabViewItem) int

func (TabView) IndexOfTabViewItemWithIdentifier

func (t_ TabView) IndexOfTabViewItemWithIdentifier(identifier objc.IObject) int

func (TabView) Init added in v0.11.0

func (t_ TabView) Init() TabView

func (TabView) InitWithFrame added in v0.11.0

func (t_ TabView) InitWithFrame(frameRect foundation.Rect) TabView

func (TabView) InsertTabViewItem_AtIndex

func (t_ TabView) InsertTabViewItem_AtIndex(tabViewItem ITabViewItem, index int)

func (TabView) MinimumSize

func (t_ TabView) MinimumSize() foundation.Size

func (TabView) NumberOfTabViewItems

func (t_ TabView) NumberOfTabViewItems() int

func (TabView) RemoveTabViewItem

func (t_ TabView) RemoveTabViewItem(tabViewItem ITabViewItem)

func (TabView) SelectFirstTabViewItem

func (t_ TabView) SelectFirstTabViewItem(sender objc.IObject)

func (TabView) SelectLastTabViewItem

func (t_ TabView) SelectLastTabViewItem(sender objc.IObject)

func (TabView) SelectNextTabViewItem

func (t_ TabView) SelectNextTabViewItem(sender objc.IObject)

func (TabView) SelectPreviousTabViewItem

func (t_ TabView) SelectPreviousTabViewItem(sender objc.IObject)

func (TabView) SelectTabViewItem

func (t_ TabView) SelectTabViewItem(tabViewItem ITabViewItem)

func (TabView) SelectTabViewItemAtIndex

func (t_ TabView) SelectTabViewItemAtIndex(index int)

func (TabView) SelectTabViewItemWithIdentifier

func (t_ TabView) SelectTabViewItemWithIdentifier(identifier objc.IObject)

func (TabView) SelectedTabViewItem

func (t_ TabView) SelectedTabViewItem() TabViewItem

func (TabView) SetAllowsTruncatedLabels

func (t_ TabView) SetAllowsTruncatedLabels(value bool)

func (TabView) SetControlSize

func (t_ TabView) SetControlSize(value ControlSize)

func (TabView) SetControlTint added in v0.14.5

func (t_ TabView) SetControlTint(value ControlTint)

deprecated

func (TabView) SetDelegate

func (t_ TabView) SetDelegate(value objc.IObject)

weak property

func (TabView) SetDrawsBackground

func (t_ TabView) SetDrawsBackground(value bool)

func (TabView) SetFont

func (t_ TabView) SetFont(value IFont)

func (TabView) SetTabPosition

func (t_ TabView) SetTabPosition(value TabPosition)

func (TabView) SetTabViewBorderType

func (t_ TabView) SetTabViewBorderType(value TabViewBorderType)

func (TabView) SetTabViewItems

func (t_ TabView) SetTabViewItems(value []ITabViewItem)

func (TabView) SetTabViewType

func (t_ TabView) SetTabViewType(value TabViewType)

func (TabView) TabPosition

func (t_ TabView) TabPosition() TabPosition

func (TabView) TabViewBorderType

func (t_ TabView) TabViewBorderType() TabViewBorderType

func (TabView) TabViewItemAtIndex

func (t_ TabView) TabViewItemAtIndex(index int) TabViewItem

func (TabView) TabViewItemAtPoint

func (t_ TabView) TabViewItemAtPoint(point foundation.Point) TabViewItem

func (TabView) TabViewItems

func (t_ TabView) TabViewItems() []TabViewItem

func (TabView) TabViewType

func (t_ TabView) TabViewType() TabViewType

func (TabView) TakeSelectedTabViewItemFromSender

func (t_ TabView) TakeSelectedTabViewItemFromSender(sender objc.IObject)

type TabViewBorderType

type TabViewBorderType uint
const TabViewBorderTypeBezel TabViewBorderType = 2
const TabViewBorderTypeLine TabViewBorderType = 1
const TabViewBorderTypeNone TabViewBorderType = 0

type TabViewDelegate

type TabViewDelegate interface {
	ImplementsTabViewDidChangeNumberOfTabViewItems() bool
	// optional
	TabViewDidChangeNumberOfTabViewItems(tabView TabView)
	ImplementsTabView_ShouldSelectTabViewItem() bool
	// optional
	TabView_ShouldSelectTabViewItem(tabView TabView, tabViewItem TabViewItem) bool
	ImplementsTabView_WillSelectTabViewItem() bool
	// optional
	TabView_WillSelectTabViewItem(tabView TabView, tabViewItem TabViewItem)
	ImplementsTabView_DidSelectTabViewItem() bool
	// optional
	TabView_DidSelectTabViewItem(tabView TabView, tabViewItem TabViewItem)
}

type TabViewDelegateBase added in v0.18.0

type TabViewDelegateBase struct {
}

func (*TabViewDelegateBase) ImplementsTabViewDidChangeNumberOfTabViewItems added in v0.18.0

func (p *TabViewDelegateBase) ImplementsTabViewDidChangeNumberOfTabViewItems() bool

func (*TabViewDelegateBase) ImplementsTabView_DidSelectTabViewItem added in v0.18.0

func (p *TabViewDelegateBase) ImplementsTabView_DidSelectTabViewItem() bool

func (*TabViewDelegateBase) ImplementsTabView_ShouldSelectTabViewItem added in v0.18.0

func (p *TabViewDelegateBase) ImplementsTabView_ShouldSelectTabViewItem() bool

func (*TabViewDelegateBase) ImplementsTabView_WillSelectTabViewItem added in v0.18.0

func (p *TabViewDelegateBase) ImplementsTabView_WillSelectTabViewItem() bool

func (*TabViewDelegateBase) TabViewDidChangeNumberOfTabViewItems added in v0.18.0

func (p *TabViewDelegateBase) TabViewDidChangeNumberOfTabViewItems(tabView TabView)

func (*TabViewDelegateBase) TabView_DidSelectTabViewItem added in v0.18.0

func (p *TabViewDelegateBase) TabView_DidSelectTabViewItem(tabView TabView, tabViewItem TabViewItem)

func (*TabViewDelegateBase) TabView_ShouldSelectTabViewItem added in v0.18.0

func (p *TabViewDelegateBase) TabView_ShouldSelectTabViewItem(tabView TabView, tabViewItem TabViewItem) bool

func (*TabViewDelegateBase) TabView_WillSelectTabViewItem added in v0.18.0

func (p *TabViewDelegateBase) TabView_WillSelectTabViewItem(tabView TabView, tabViewItem TabViewItem)

type TabViewDelegateCreator added in v0.19.0

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

func NewTabViewDelegateCreator added in v0.19.0

func NewTabViewDelegateCreator(name string) *TabViewDelegateCreator

func (*TabViewDelegateCreator) Create added in v0.19.0

func (*TabViewDelegateCreator) SetTabViewDidChangeNumberOfTabViewItems added in v0.19.0

func (c *TabViewDelegateCreator) SetTabViewDidChangeNumberOfTabViewItems(handle func(o objc.ProtocolBase, tabView TabView))

func (*TabViewDelegateCreator) SetTabView_DidSelectTabViewItem added in v0.19.0

func (c *TabViewDelegateCreator) SetTabView_DidSelectTabViewItem(handle func(o objc.ProtocolBase, tabView TabView, tabViewItem TabViewItem))

func (*TabViewDelegateCreator) SetTabView_ShouldSelectTabViewItem added in v0.19.0

func (c *TabViewDelegateCreator) SetTabView_ShouldSelectTabViewItem(handle func(o objc.ProtocolBase, tabView TabView, tabViewItem TabViewItem) bool)

func (*TabViewDelegateCreator) SetTabView_WillSelectTabViewItem added in v0.19.0

func (c *TabViewDelegateCreator) SetTabView_WillSelectTabViewItem(handle func(o objc.ProtocolBase, tabView TabView, tabViewItem TabViewItem))

type TabViewItem

type TabViewItem struct {
	objc.Object
}

func MakeTabViewItem

func MakeTabViewItem(ptr unsafe.Pointer) TabViewItem

func NewTabViewItem

func NewTabViewItem() TabViewItem

func (TabViewItem) Color

func (t_ TabViewItem) Color() Color

func (TabViewItem) DrawLabel_InRect

func (t_ TabViewItem) DrawLabel_InRect(shouldTruncateLabel bool, labelRect foundation.Rect)

func (TabViewItem) Identifier

func (t_ TabViewItem) Identifier() objc.Object

func (TabViewItem) Image

func (t_ TabViewItem) Image() Image

func (TabViewItem) Init added in v0.11.0

func (t_ TabViewItem) Init() TabViewItem

func (TabViewItem) InitWithIdentifier added in v0.11.0

func (t_ TabViewItem) InitWithIdentifier(identifier objc.IObject) TabViewItem

func (TabViewItem) InitialFirstResponder

func (t_ TabViewItem) InitialFirstResponder() View

weak property

func (TabViewItem) Label

func (t_ TabViewItem) Label() string

func (TabViewItem) SetColor

func (t_ TabViewItem) SetColor(value IColor)

func (TabViewItem) SetIdentifier

func (t_ TabViewItem) SetIdentifier(value objc.IObject)

func (TabViewItem) SetImage

func (t_ TabViewItem) SetImage(value IImage)

func (TabViewItem) SetInitialFirstResponder

func (t_ TabViewItem) SetInitialFirstResponder(value IView)

weak property

func (TabViewItem) SetLabel

func (t_ TabViewItem) SetLabel(value string)

func (TabViewItem) SetToolTip

func (t_ TabViewItem) SetToolTip(value string)

func (TabViewItem) SetView

func (t_ TabViewItem) SetView(value IView)

func (TabViewItem) SetViewController

func (t_ TabViewItem) SetViewController(value IViewController)

func (TabViewItem) SizeOfLabel

func (t_ TabViewItem) SizeOfLabel(computeMin bool) foundation.Size

func (TabViewItem) TabState

func (t_ TabViewItem) TabState() TabState

func (TabViewItem) TabView

func (t_ TabViewItem) TabView() TabView

func (TabViewItem) ToolTip

func (t_ TabViewItem) ToolTip() string

func (TabViewItem) View

func (t_ TabViewItem) View() View

func (TabViewItem) ViewController

func (t_ TabViewItem) ViewController() ViewController

type TabViewType

type TabViewType uint
const BottomTabsBezelBorder TabViewType = 2
const LeftTabsBezelBorder TabViewType = 1
const NoTabsBezelBorder TabViewType = 4
const NoTabsLineBorder TabViewType = 5
const NoTabsNoBorder TabViewType = 6
const RightTabsBezelBorder TabViewType = 3
const TopTabsBezelBorder TabViewType = 0

type TableCellView

type TableCellView struct {
	View
}

func MakeTableCellView

func MakeTableCellView(ptr unsafe.Pointer) TableCellView

func NewTableCellView

func NewTableCellView() TableCellView

func (TableCellView) BackgroundStyle

func (t_ TableCellView) BackgroundStyle() BackgroundStyle

func (TableCellView) DraggingImageComponents

func (t_ TableCellView) DraggingImageComponents() []DraggingImageComponent

func (TableCellView) ImageView

func (t_ TableCellView) ImageView() ImageView

weak property

func (TableCellView) Init added in v0.11.0

func (t_ TableCellView) Init() TableCellView

func (TableCellView) InitWithFrame added in v0.11.0

func (t_ TableCellView) InitWithFrame(frameRect foundation.Rect) TableCellView

func (TableCellView) ObjectValue

func (t_ TableCellView) ObjectValue() objc.Object

func (TableCellView) RowSizeStyle

func (t_ TableCellView) RowSizeStyle() TableViewRowSizeStyle

func (TableCellView) SetBackgroundStyle

func (t_ TableCellView) SetBackgroundStyle(value BackgroundStyle)

func (TableCellView) SetImageView

func (t_ TableCellView) SetImageView(value IImageView)

weak property

func (TableCellView) SetObjectValue

func (t_ TableCellView) SetObjectValue(value objc.IObject)

func (TableCellView) SetRowSizeStyle

func (t_ TableCellView) SetRowSizeStyle(value TableViewRowSizeStyle)

func (TableCellView) SetTextField

func (t_ TableCellView) SetTextField(value ITextField)

weak property

func (TableCellView) TextField

func (t_ TableCellView) TextField() TextField

weak property

type TableColumn

type TableColumn struct {
	objc.Object
}

func MakeTableColumn

func MakeTableColumn(ptr unsafe.Pointer) TableColumn

func NewTableColumn

func NewTableColumn() TableColumn

func (TableColumn) DataCell added in v0.14.5

func (t_ TableColumn) DataCell() objc.Object

deprecated

func (TableColumn) DataCellForRow added in v0.14.5

func (t_ TableColumn) DataCellForRow(row int) objc.Object

deprecated

func (TableColumn) HeaderCell

func (t_ TableColumn) HeaderCell() TableHeaderCell

func (TableColumn) HeaderToolTip

func (t_ TableColumn) HeaderToolTip() string

func (TableColumn) Identifier

func (t_ TableColumn) Identifier() UserInterfaceItemIdentifier

func (TableColumn) Init added in v0.11.0

func (t_ TableColumn) Init() TableColumn

func (TableColumn) InitWithIdentifier added in v0.11.0

func (t_ TableColumn) InitWithIdentifier(identifier UserInterfaceItemIdentifier) TableColumn

func (TableColumn) IsEditable

func (t_ TableColumn) IsEditable() bool

func (TableColumn) IsHidden

func (t_ TableColumn) IsHidden() bool

func (TableColumn) IsResizable added in v0.14.5

func (t_ TableColumn) IsResizable() bool

deprecated

func (TableColumn) MaxWidth

func (t_ TableColumn) MaxWidth() float64

func (TableColumn) MinWidth

func (t_ TableColumn) MinWidth() float64

func (TableColumn) ResizingMask

func (t_ TableColumn) ResizingMask() TableColumnResizingOptions

func (TableColumn) SetDataCell added in v0.14.5

func (t_ TableColumn) SetDataCell(value objc.IObject)

deprecated

func (TableColumn) SetEditable

func (t_ TableColumn) SetEditable(value bool)

func (TableColumn) SetHeaderCell

func (t_ TableColumn) SetHeaderCell(value ITableHeaderCell)

func (TableColumn) SetHeaderToolTip

func (t_ TableColumn) SetHeaderToolTip(value string)

func (TableColumn) SetHidden

func (t_ TableColumn) SetHidden(value bool)

func (TableColumn) SetIdentifier

func (t_ TableColumn) SetIdentifier(value UserInterfaceItemIdentifier)

func (TableColumn) SetMaxWidth

func (t_ TableColumn) SetMaxWidth(value float64)

func (TableColumn) SetMinWidth

func (t_ TableColumn) SetMinWidth(value float64)

func (TableColumn) SetResizable added in v0.14.5

func (t_ TableColumn) SetResizable(flag bool)

deprecated

func (TableColumn) SetResizingMask

func (t_ TableColumn) SetResizingMask(value TableColumnResizingOptions)

func (TableColumn) SetSortDescriptorPrototype

func (t_ TableColumn) SetSortDescriptorPrototype(value foundation.ISortDescriptor)

func (TableColumn) SetTableView

func (t_ TableColumn) SetTableView(value ITableView)

weak property

func (TableColumn) SetTitle

func (t_ TableColumn) SetTitle(value string)

func (TableColumn) SetWidth

func (t_ TableColumn) SetWidth(value float64)

func (TableColumn) SizeToFit

func (t_ TableColumn) SizeToFit()

func (TableColumn) SortDescriptorPrototype

func (t_ TableColumn) SortDescriptorPrototype() foundation.SortDescriptor

func (TableColumn) TableView

func (t_ TableColumn) TableView() TableView

weak property

func (TableColumn) Title

func (t_ TableColumn) Title() string

func (TableColumn) Width

func (t_ TableColumn) Width() float64

type TableColumnResizingOptions

type TableColumnResizingOptions uint
const TableColumnAutoresizingMask TableColumnResizingOptions = 1
const TableColumnNoResizing TableColumnResizingOptions = 0
const TableColumnUserResizingMask TableColumnResizingOptions = 2

type TableHeaderCell

type TableHeaderCell struct {
	TextFieldCell
}

func MakeTableHeaderCell

func MakeTableHeaderCell(ptr unsafe.Pointer) TableHeaderCell

func NewTableHeaderCell

func NewTableHeaderCell() TableHeaderCell

func (TableHeaderCell) DrawSortIndicatorWithFrame_InView_Ascending_Priority

func (t_ TableHeaderCell) DrawSortIndicatorWithFrame_InView_Ascending_Priority(cellFrame foundation.Rect, controlView IView, ascending bool, priority int)

func (TableHeaderCell) Init added in v0.11.0

func (t_ TableHeaderCell) Init() TableHeaderCell

func (TableHeaderCell) InitImageCell added in v0.13.0

func (t_ TableHeaderCell) InitImageCell(image IImage) TableHeaderCell

func (TableHeaderCell) InitTextCell added in v0.11.0

func (t_ TableHeaderCell) InitTextCell(string_ string) TableHeaderCell

func (TableHeaderCell) SortIndicatorRectForBounds

func (t_ TableHeaderCell) SortIndicatorRectForBounds(rect foundation.Rect) foundation.Rect

type TableHeaderView

type TableHeaderView struct {
	View
}

func MakeTableHeaderView

func MakeTableHeaderView(ptr unsafe.Pointer) TableHeaderView

func NewTableHeaderView

func NewTableHeaderView() TableHeaderView

func (TableHeaderView) ColumnAtPoint

func (t_ TableHeaderView) ColumnAtPoint(point foundation.Point) int

func (TableHeaderView) DraggedColumn

func (t_ TableHeaderView) DraggedColumn() int

func (TableHeaderView) DraggedDistance

func (t_ TableHeaderView) DraggedDistance() float64

func (TableHeaderView) HeaderRectOfColumn

func (t_ TableHeaderView) HeaderRectOfColumn(column int) foundation.Rect

func (TableHeaderView) Init added in v0.11.0

func (t_ TableHeaderView) Init() TableHeaderView

func (TableHeaderView) InitWithFrame added in v0.11.0

func (t_ TableHeaderView) InitWithFrame(frameRect foundation.Rect) TableHeaderView

func (TableHeaderView) ResizedColumn

func (t_ TableHeaderView) ResizedColumn() int

func (TableHeaderView) SetTableView

func (t_ TableHeaderView) SetTableView(value ITableView)

weak property

func (TableHeaderView) TableView

func (t_ TableHeaderView) TableView() TableView

weak property

type TableRowActionEdge

type TableRowActionEdge int
const TableRowActionEdgeLeading TableRowActionEdge = 0
const TableRowActionEdgeTrailing TableRowActionEdge = 1

type TableRowView

type TableRowView struct {
	View
}

func MakeTableRowView

func MakeTableRowView(ptr unsafe.Pointer) TableRowView

func NewTableRowView

func NewTableRowView() TableRowView

func (TableRowView) BackgroundColor

func (t_ TableRowView) BackgroundColor() Color

func (TableRowView) DraggingDestinationFeedbackStyle

func (t_ TableRowView) DraggingDestinationFeedbackStyle() TableViewDraggingDestinationFeedbackStyle

func (TableRowView) DrawBackgroundInRect

func (t_ TableRowView) DrawBackgroundInRect(dirtyRect foundation.Rect)

func (TableRowView) DrawDraggingDestinationFeedbackInRect

func (t_ TableRowView) DrawDraggingDestinationFeedbackInRect(dirtyRect foundation.Rect)

func (TableRowView) DrawSelectionInRect

func (t_ TableRowView) DrawSelectionInRect(dirtyRect foundation.Rect)

func (TableRowView) DrawSeparatorInRect

func (t_ TableRowView) DrawSeparatorInRect(dirtyRect foundation.Rect)

func (TableRowView) IndentationForDropOperation

func (t_ TableRowView) IndentationForDropOperation() float64

func (TableRowView) Init added in v0.11.0

func (t_ TableRowView) Init() TableRowView

func (TableRowView) InitWithFrame added in v0.11.0

func (t_ TableRowView) InitWithFrame(frameRect foundation.Rect) TableRowView

func (TableRowView) InteriorBackgroundStyle

func (t_ TableRowView) InteriorBackgroundStyle() BackgroundStyle

func (TableRowView) IsEmphasized

func (t_ TableRowView) IsEmphasized() bool

func (TableRowView) IsFloating

func (t_ TableRowView) IsFloating() bool

func (TableRowView) IsGroupRowStyle

func (t_ TableRowView) IsGroupRowStyle() bool

func (TableRowView) IsNextRowSelected

func (t_ TableRowView) IsNextRowSelected() bool

func (TableRowView) IsPreviousRowSelected

func (t_ TableRowView) IsPreviousRowSelected() bool

func (TableRowView) IsSelected

func (t_ TableRowView) IsSelected() bool

func (TableRowView) IsTargetForDropOperation

func (t_ TableRowView) IsTargetForDropOperation() bool

func (TableRowView) NumberOfColumns

func (t_ TableRowView) NumberOfColumns() int

func (TableRowView) SelectionHighlightStyle

func (t_ TableRowView) SelectionHighlightStyle() TableViewSelectionHighlightStyle

func (TableRowView) SetBackgroundColor

func (t_ TableRowView) SetBackgroundColor(value IColor)

func (TableRowView) SetDraggingDestinationFeedbackStyle

func (t_ TableRowView) SetDraggingDestinationFeedbackStyle(value TableViewDraggingDestinationFeedbackStyle)

func (TableRowView) SetEmphasized

func (t_ TableRowView) SetEmphasized(value bool)

func (TableRowView) SetFloating

func (t_ TableRowView) SetFloating(value bool)

func (TableRowView) SetGroupRowStyle

func (t_ TableRowView) SetGroupRowStyle(value bool)

func (TableRowView) SetIndentationForDropOperation

func (t_ TableRowView) SetIndentationForDropOperation(value float64)

func (TableRowView) SetNextRowSelected

func (t_ TableRowView) SetNextRowSelected(value bool)

func (TableRowView) SetPreviousRowSelected

func (t_ TableRowView) SetPreviousRowSelected(value bool)

func (TableRowView) SetSelected

func (t_ TableRowView) SetSelected(value bool)

func (TableRowView) SetSelectionHighlightStyle

func (t_ TableRowView) SetSelectionHighlightStyle(value TableViewSelectionHighlightStyle)

func (TableRowView) SetTargetForDropOperation

func (t_ TableRowView) SetTargetForDropOperation(value bool)

func (TableRowView) ViewAtColumn

func (t_ TableRowView) ViewAtColumn(column int) objc.Object

type TableView

type TableView struct {
	Control
}

func MakeTableView

func MakeTableView(ptr unsafe.Pointer) TableView

func NewTableView

func NewTableView() TableView

func (TableView) AddTableColumn

func (t_ TableView) AddTableColumn(tableColumn ITableColumn)

func (TableView) AllowsColumnReordering

func (t_ TableView) AllowsColumnReordering() bool

func (TableView) AllowsColumnResizing

func (t_ TableView) AllowsColumnResizing() bool

func (TableView) AllowsColumnSelection

func (t_ TableView) AllowsColumnSelection() bool

func (TableView) AllowsEmptySelection

func (t_ TableView) AllowsEmptySelection() bool

func (TableView) AllowsMultipleSelection

func (t_ TableView) AllowsMultipleSelection() bool

func (TableView) AllowsTypeSelect

func (t_ TableView) AllowsTypeSelect() bool

func (TableView) AutoresizesAllColumnsToFit added in v0.14.5

func (t_ TableView) AutoresizesAllColumnsToFit() bool

deprecated

func (TableView) AutosaveName

func (t_ TableView) AutosaveName() TableViewAutosaveName

func (TableView) AutosaveTableColumns

func (t_ TableView) AutosaveTableColumns() bool

func (TableView) BackgroundColor

func (t_ TableView) BackgroundColor() Color

func (TableView) BeginUpdates

func (t_ TableView) BeginUpdates()

func (TableView) CanDragRowsWithIndexes_AtPoint

func (t_ TableView) CanDragRowsWithIndexes_AtPoint(rowIndexes foundation.IIndexSet, mouseDownPoint foundation.Point) bool

func (TableView) ClickedColumn

func (t_ TableView) ClickedColumn() int

func (TableView) ClickedRow

func (t_ TableView) ClickedRow() int

func (TableView) ColumnAtPoint

func (t_ TableView) ColumnAtPoint(point foundation.Point) int

func (TableView) ColumnAutoresizingStyle

func (t_ TableView) ColumnAutoresizingStyle() TableViewColumnAutoresizingStyle

func (TableView) ColumnForView

func (t_ TableView) ColumnForView(view IView) int

func (TableView) ColumnIndexesInRect

func (t_ TableView) ColumnIndexesInRect(rect foundation.Rect) foundation.IndexSet

func (TableView) ColumnWithIdentifier

func (t_ TableView) ColumnWithIdentifier(identifier UserInterfaceItemIdentifier) int

func (TableView) ColumnsInRect added in v0.14.5

func (t_ TableView) ColumnsInRect(rect foundation.Rect) foundation.Range

deprecated

func (TableView) CornerView

func (t_ TableView) CornerView() View

func (TableView) DataSource

func (t_ TableView) DataSource() objc.Object

weak property

func (TableView) Delegate

func (t_ TableView) Delegate() objc.Object

weak property

func (TableView) DeselectAll

func (t_ TableView) DeselectAll(sender objc.IObject)

func (TableView) DeselectColumn

func (t_ TableView) DeselectColumn(column int)

func (TableView) DeselectRow

func (t_ TableView) DeselectRow(row int)

func (TableView) DidAddRowView_ForRow

func (t_ TableView) DidAddRowView_ForRow(rowView ITableRowView, row int)

func (TableView) DidRemoveRowView_ForRow

func (t_ TableView) DidRemoveRowView_ForRow(rowView ITableRowView, row int)

func (TableView) DoubleAction

func (t_ TableView) DoubleAction() objc.Selector

func (TableView) DragImageForRowsWithIndexes_TableColumns_Event_Offset added in v0.13.4

func (t_ TableView) DragImageForRowsWithIndexes_TableColumns_Event_Offset(dragRows foundation.IIndexSet, tableColumns []ITableColumn, dragEvent IEvent, dragImageOffset *foundation.Point) Image

func (TableView) DragImageForRows_Event_DragImageOffset added in v0.14.5

func (t_ TableView) DragImageForRows_Event_DragImageOffset(dragRows []objc.IObject, dragEvent IEvent, dragImageOffset *foundation.Point) Image

deprecated

func (TableView) DraggingDestinationFeedbackStyle

func (t_ TableView) DraggingDestinationFeedbackStyle() TableViewDraggingDestinationFeedbackStyle

func (TableView) DrawBackgroundInClipRect

func (t_ TableView) DrawBackgroundInClipRect(clipRect foundation.Rect)

func (TableView) DrawGridInClipRect

func (t_ TableView) DrawGridInClipRect(clipRect foundation.Rect)

func (TableView) DrawRow_ClipRect

func (t_ TableView) DrawRow_ClipRect(row int, clipRect foundation.Rect)

func (TableView) DrawsGrid added in v0.14.5

func (t_ TableView) DrawsGrid() bool

deprecated

func (TableView) EditColumn_Row_WithEvent_Select

func (t_ TableView) EditColumn_Row_WithEvent_Select(column int, row int, event IEvent, select_ bool)

func (TableView) EditedColumn

func (t_ TableView) EditedColumn() int

func (TableView) EditedRow

func (t_ TableView) EditedRow() int

func (TableView) EffectiveRowSizeStyle

func (t_ TableView) EffectiveRowSizeStyle() TableViewRowSizeStyle

func (TableView) EffectiveStyle

func (t_ TableView) EffectiveStyle() TableViewStyle

func (TableView) EndUpdates

func (t_ TableView) EndUpdates()

func (TableView) EnumerateAvailableRowViewsUsingBlock added in v0.13.3

func (t_ TableView) EnumerateAvailableRowViewsUsingBlock(handler func(rowView TableRowView, row int))

func (TableView) FloatsGroupRows

func (t_ TableView) FloatsGroupRows() bool

func (TableView) FocusedColumn added in v0.14.5

func (t_ TableView) FocusedColumn() int

deprecated

func (TableView) FrameOfCellAtColumn_Row

func (t_ TableView) FrameOfCellAtColumn_Row(column int, row int) foundation.Rect

func (TableView) GridColor

func (t_ TableView) GridColor() Color

func (TableView) GridStyleMask

func (t_ TableView) GridStyleMask() TableViewGridLineStyle

func (TableView) HeaderView

func (t_ TableView) HeaderView() TableHeaderView

func (TableView) HiddenRowIndexes

func (t_ TableView) HiddenRowIndexes() foundation.IndexSet

func (TableView) HideRowsAtIndexes_WithAnimation

func (t_ TableView) HideRowsAtIndexes_WithAnimation(indexes foundation.IIndexSet, rowAnimation TableViewAnimationOptions)

func (TableView) HighlightSelectionInClipRect

func (t_ TableView) HighlightSelectionInClipRect(clipRect foundation.Rect)

func (TableView) HighlightedTableColumn

func (t_ TableView) HighlightedTableColumn() TableColumn

weak property

func (TableView) IndicatorImageInTableColumn

func (t_ TableView) IndicatorImageInTableColumn(tableColumn ITableColumn) Image

func (TableView) Init added in v0.11.0

func (t_ TableView) Init() TableView

func (TableView) InitWithFrame added in v0.11.0

func (t_ TableView) InitWithFrame(frameRect foundation.Rect) TableView

func (TableView) InsertRowsAtIndexes_WithAnimation

func (t_ TableView) InsertRowsAtIndexes_WithAnimation(indexes foundation.IIndexSet, animationOptions TableViewAnimationOptions)

func (TableView) IntercellSpacing

func (t_ TableView) IntercellSpacing() foundation.Size

func (TableView) IsColumnSelected

func (t_ TableView) IsColumnSelected(column int) bool

func (TableView) IsRowSelected

func (t_ TableView) IsRowSelected(row int) bool

func (TableView) MakeViewWithIdentifier_Owner

func (t_ TableView) MakeViewWithIdentifier_Owner(identifier UserInterfaceItemIdentifier, owner objc.IObject) View

func (TableView) MoveColumn_ToColumn

func (t_ TableView) MoveColumn_ToColumn(oldIndex int, newIndex int)

func (TableView) MoveRowAtIndex_ToIndex

func (t_ TableView) MoveRowAtIndex_ToIndex(oldIndex int, newIndex int)

func (TableView) NoteHeightOfRowsWithIndexesChanged

func (t_ TableView) NoteHeightOfRowsWithIndexesChanged(indexSet foundation.IIndexSet)

func (TableView) NoteNumberOfRowsChanged

func (t_ TableView) NoteNumberOfRowsChanged()

func (TableView) NumberOfColumns

func (t_ TableView) NumberOfColumns() int

func (TableView) NumberOfRows

func (t_ TableView) NumberOfRows() int

func (TableView) NumberOfSelectedColumns

func (t_ TableView) NumberOfSelectedColumns() int

func (TableView) NumberOfSelectedRows

func (t_ TableView) NumberOfSelectedRows() int

func (TableView) PerformClickOnCellAtColumn_Row added in v0.14.5

func (t_ TableView) PerformClickOnCellAtColumn_Row(column int, row int)

deprecated

func (TableView) PreparedCellAtColumn_Row added in v0.14.5

func (t_ TableView) PreparedCellAtColumn_Row(column int, row int) Cell

deprecated

func (TableView) RectOfColumn

func (t_ TableView) RectOfColumn(column int) foundation.Rect

func (TableView) RectOfRow

func (t_ TableView) RectOfRow(row int) foundation.Rect

func (TableView) RegisterNib_ForIdentifier

func (t_ TableView) RegisterNib_ForIdentifier(nib INib, identifier UserInterfaceItemIdentifier)

func (TableView) RegisteredNibsByIdentifier

func (t_ TableView) RegisteredNibsByIdentifier() map[UserInterfaceItemIdentifier]Nib

func (TableView) ReloadData

func (t_ TableView) ReloadData()

func (TableView) ReloadDataForRowIndexes_ColumnIndexes

func (t_ TableView) ReloadDataForRowIndexes_ColumnIndexes(rowIndexes foundation.IIndexSet, columnIndexes foundation.IIndexSet)

func (TableView) RemoveRowsAtIndexes_WithAnimation

func (t_ TableView) RemoveRowsAtIndexes_WithAnimation(indexes foundation.IIndexSet, animationOptions TableViewAnimationOptions)

func (TableView) RemoveTableColumn

func (t_ TableView) RemoveTableColumn(tableColumn ITableColumn)

func (TableView) RowActionsVisible

func (t_ TableView) RowActionsVisible() bool

func (TableView) RowAtPoint

func (t_ TableView) RowAtPoint(point foundation.Point) int

func (TableView) RowForView

func (t_ TableView) RowForView(view IView) int

func (TableView) RowHeight

func (t_ TableView) RowHeight() float64

func (TableView) RowSizeStyle

func (t_ TableView) RowSizeStyle() TableViewRowSizeStyle

func (TableView) RowViewAtRow_MakeIfNecessary

func (t_ TableView) RowViewAtRow_MakeIfNecessary(row int, makeIfNecessary bool) TableRowView

func (TableView) RowsInRect

func (t_ TableView) RowsInRect(rect foundation.Rect) foundation.Range

func (TableView) ScrollColumnToVisible

func (t_ TableView) ScrollColumnToVisible(column int)

func (TableView) ScrollRowToVisible

func (t_ TableView) ScrollRowToVisible(row int)

func (TableView) SelectAll

func (t_ TableView) SelectAll(sender objc.IObject)

func (TableView) SelectColumnIndexes_ByExtendingSelection

func (t_ TableView) SelectColumnIndexes_ByExtendingSelection(indexes foundation.IIndexSet, extend bool)

func (TableView) SelectColumn_ByExtendingSelection added in v0.14.5

func (t_ TableView) SelectColumn_ByExtendingSelection(column int, extend bool)

deprecated

func (TableView) SelectRowIndexes_ByExtendingSelection

func (t_ TableView) SelectRowIndexes_ByExtendingSelection(indexes foundation.IIndexSet, extend bool)

func (TableView) SelectRow_ByExtendingSelection added in v0.14.5

func (t_ TableView) SelectRow_ByExtendingSelection(row int, extend bool)

deprecated

func (TableView) SelectedColumn

func (t_ TableView) SelectedColumn() int

func (TableView) SelectedColumnEnumerator added in v0.14.5

func (t_ TableView) SelectedColumnEnumerator() foundation.Enumerator

deprecated

func (TableView) SelectedColumnIndexes

func (t_ TableView) SelectedColumnIndexes() foundation.IndexSet

func (TableView) SelectedRow

func (t_ TableView) SelectedRow() int

func (TableView) SelectedRowEnumerator added in v0.14.5

func (t_ TableView) SelectedRowEnumerator() foundation.Enumerator

deprecated

func (TableView) SelectedRowIndexes

func (t_ TableView) SelectedRowIndexes() foundation.IndexSet

func (TableView) SelectionHighlightStyle

func (t_ TableView) SelectionHighlightStyle() TableViewSelectionHighlightStyle

func (TableView) SetAllowsColumnReordering

func (t_ TableView) SetAllowsColumnReordering(value bool)

func (TableView) SetAllowsColumnResizing

func (t_ TableView) SetAllowsColumnResizing(value bool)

func (TableView) SetAllowsColumnSelection

func (t_ TableView) SetAllowsColumnSelection(value bool)

func (TableView) SetAllowsEmptySelection

func (t_ TableView) SetAllowsEmptySelection(value bool)

func (TableView) SetAllowsMultipleSelection

func (t_ TableView) SetAllowsMultipleSelection(value bool)

func (TableView) SetAllowsTypeSelect

func (t_ TableView) SetAllowsTypeSelect(value bool)

func (TableView) SetAutoresizesAllColumnsToFit added in v0.14.5

func (t_ TableView) SetAutoresizesAllColumnsToFit(flag bool)

deprecated

func (TableView) SetAutosaveName

func (t_ TableView) SetAutosaveName(value TableViewAutosaveName)

func (TableView) SetAutosaveTableColumns

func (t_ TableView) SetAutosaveTableColumns(value bool)

func (TableView) SetBackgroundColor

func (t_ TableView) SetBackgroundColor(value IColor)

func (TableView) SetColumnAutoresizingStyle

func (t_ TableView) SetColumnAutoresizingStyle(value TableViewColumnAutoresizingStyle)

func (TableView) SetCornerView

func (t_ TableView) SetCornerView(value IView)

func (TableView) SetDataSource

func (t_ TableView) SetDataSource(value objc.IObject)

weak property

func (TableView) SetDelegate

func (t_ TableView) SetDelegate(value objc.IObject)

weak property

func (TableView) SetDoubleAction

func (t_ TableView) SetDoubleAction(value objc.Selector)

func (TableView) SetDraggingDestinationFeedbackStyle

func (t_ TableView) SetDraggingDestinationFeedbackStyle(value TableViewDraggingDestinationFeedbackStyle)

func (TableView) SetDraggingSourceOperationMask_ForLocal

func (t_ TableView) SetDraggingSourceOperationMask_ForLocal(mask DragOperation, isLocal bool)

func (TableView) SetDrawsGrid added in v0.14.5

func (t_ TableView) SetDrawsGrid(flag bool)

deprecated

func (TableView) SetDropRow_DropOperation

func (t_ TableView) SetDropRow_DropOperation(row int, dropOperation TableViewDropOperation)

func (TableView) SetFloatsGroupRows

func (t_ TableView) SetFloatsGroupRows(value bool)

func (TableView) SetFocusedColumn added in v0.14.5

func (t_ TableView) SetFocusedColumn(focusedColumn int)

deprecated

func (TableView) SetGridColor

func (t_ TableView) SetGridColor(value IColor)

func (TableView) SetGridStyleMask

func (t_ TableView) SetGridStyleMask(value TableViewGridLineStyle)

func (TableView) SetHeaderView

func (t_ TableView) SetHeaderView(value ITableHeaderView)

func (TableView) SetHighlightedTableColumn

func (t_ TableView) SetHighlightedTableColumn(value ITableColumn)

weak property

func (TableView) SetIndicatorImage_InTableColumn

func (t_ TableView) SetIndicatorImage_InTableColumn(image IImage, tableColumn ITableColumn)

func (TableView) SetIntercellSpacing

func (t_ TableView) SetIntercellSpacing(value foundation.Size)

func (TableView) SetRowActionsVisible

func (t_ TableView) SetRowActionsVisible(value bool)

func (TableView) SetRowHeight

func (t_ TableView) SetRowHeight(value float64)

func (TableView) SetRowSizeStyle

func (t_ TableView) SetRowSizeStyle(value TableViewRowSizeStyle)

func (TableView) SetSelectionHighlightStyle

func (t_ TableView) SetSelectionHighlightStyle(value TableViewSelectionHighlightStyle)

func (TableView) SetSortDescriptors

func (t_ TableView) SetSortDescriptors(value []foundation.ISortDescriptor)

func (TableView) SetStyle

func (t_ TableView) SetStyle(value TableViewStyle)

func (TableView) SetUsesAlternatingRowBackgroundColors

func (t_ TableView) SetUsesAlternatingRowBackgroundColors(value bool)

func (TableView) SetUsesAutomaticRowHeights

func (t_ TableView) SetUsesAutomaticRowHeights(value bool)

func (TableView) SetUsesStaticContents

func (t_ TableView) SetUsesStaticContents(value bool)

func (TableView) SetVerticalMotionCanBeginDrag

func (t_ TableView) SetVerticalMotionCanBeginDrag(value bool)

func (TableView) ShouldFocusCell_AtColumn_Row added in v0.14.5

func (t_ TableView) ShouldFocusCell_AtColumn_Row(cell ICell, column int, row int) bool

deprecated

func (TableView) SizeLastColumnToFit

func (t_ TableView) SizeLastColumnToFit()

func (TableView) SortDescriptors

func (t_ TableView) SortDescriptors() []foundation.SortDescriptor

func (TableView) Style

func (t_ TableView) Style() TableViewStyle

func (TableView) TableColumnWithIdentifier

func (t_ TableView) TableColumnWithIdentifier(identifier UserInterfaceItemIdentifier) TableColumn

func (TableView) TableColumns

func (t_ TableView) TableColumns() []TableColumn

func (TableView) TableView_WriteRows_ToPasteboard added in v0.14.5

func (t_ TableView) TableView_WriteRows_ToPasteboard(tableView ITableView, rows []objc.IObject, pboard IPasteboard) bool

deprecated

func (TableView) TextDidBeginEditing added in v0.14.5

func (t_ TableView) TextDidBeginEditing(notification foundation.INotification)

deprecated

func (TableView) TextDidChange added in v0.14.5

func (t_ TableView) TextDidChange(notification foundation.INotification)

deprecated

func (TableView) TextDidEndEditing added in v0.14.5

func (t_ TableView) TextDidEndEditing(notification foundation.INotification)

deprecated

func (TableView) TextShouldBeginEditing added in v0.14.5

func (t_ TableView) TextShouldBeginEditing(textObject IText) bool

deprecated

func (TableView) TextShouldEndEditing added in v0.14.5

func (t_ TableView) TextShouldEndEditing(textObject IText) bool

deprecated

func (TableView) Tile

func (t_ TableView) Tile()

func (TableView) UnhideRowsAtIndexes_WithAnimation

func (t_ TableView) UnhideRowsAtIndexes_WithAnimation(indexes foundation.IIndexSet, rowAnimation TableViewAnimationOptions)

func (TableView) UsesAlternatingRowBackgroundColors

func (t_ TableView) UsesAlternatingRowBackgroundColors() bool

func (TableView) UsesAutomaticRowHeights

func (t_ TableView) UsesAutomaticRowHeights() bool

func (TableView) UsesStaticContents

func (t_ TableView) UsesStaticContents() bool

func (TableView) VerticalMotionCanBeginDrag

func (t_ TableView) VerticalMotionCanBeginDrag() bool

func (TableView) ViewAtColumn_Row_MakeIfNecessary

func (t_ TableView) ViewAtColumn_Row_MakeIfNecessary(column int, row int, makeIfNecessary bool) View

type TableViewAnimationOptions

type TableViewAnimationOptions uint
const TableViewAnimationEffectFade TableViewAnimationOptions = 1
const TableViewAnimationEffectGap TableViewAnimationOptions = 2
const TableViewAnimationEffectNone TableViewAnimationOptions = 0
const TableViewAnimationSlideDown TableViewAnimationOptions = 32
const TableViewAnimationSlideLeft TableViewAnimationOptions = 48
const TableViewAnimationSlideRight TableViewAnimationOptions = 64
const TableViewAnimationSlideUp TableViewAnimationOptions = 16

type TableViewAutosaveName

type TableViewAutosaveName string

type TableViewColumnAutoresizingStyle

type TableViewColumnAutoresizingStyle uint
const TableViewFirstColumnOnlyAutoresizingStyle TableViewColumnAutoresizingStyle = 5
const TableViewLastColumnOnlyAutoresizingStyle TableViewColumnAutoresizingStyle = 4
const TableViewNoColumnAutoresizing TableViewColumnAutoresizingStyle = 0
const TableViewReverseSequentialColumnAutoresizingStyle TableViewColumnAutoresizingStyle = 3
const TableViewSequentialColumnAutoresizingStyle TableViewColumnAutoresizingStyle = 2
const TableViewUniformColumnAutoresizingStyle TableViewColumnAutoresizingStyle = 1

type TableViewDataSource

type TableViewDataSource interface {
	ImplementsNumberOfRowsInTableView() bool
	// optional
	NumberOfRowsInTableView(tableView TableView) int
	ImplementsTableView_ObjectValueForTableColumn_Row() bool
	// optional
	TableView_ObjectValueForTableColumn_Row(tableView TableView, tableColumn TableColumn, row int) objc.IObject
	ImplementsTableView_SetObjectValue_ForTableColumn_Row() bool
	// optional
	TableView_SetObjectValue_ForTableColumn_Row(tableView TableView, object objc.Object, tableColumn TableColumn, row int)
	ImplementsTableView_PasteboardWriterForRow() bool
	// optional
	TableView_PasteboardWriterForRow(tableView TableView, row int) objc.IObject
	ImplementsTableView_AcceptDrop_Row_DropOperation() bool
	// optional
	TableView_AcceptDrop_Row_DropOperation(tableView TableView, info objc.Object, row int, dropOperation TableViewDropOperation) bool
	ImplementsTableView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedRowsWithIndexes() bool
	// optional
	// deprecated
	TableView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedRowsWithIndexes(tableView TableView, dropDestination foundation.URL, indexSet foundation.IndexSet) []string
	ImplementsTableView_ValidateDrop_ProposedRow_ProposedDropOperation() bool
	// optional
	TableView_ValidateDrop_ProposedRow_ProposedDropOperation(tableView TableView, info objc.Object, row int, dropOperation TableViewDropOperation) DragOperation
	ImplementsTableView_WriteRowsWithIndexes_ToPasteboard() bool
	// optional
	// deprecated
	TableView_WriteRowsWithIndexes_ToPasteboard(tableView TableView, rowIndexes foundation.IndexSet, pboard Pasteboard) bool
	ImplementsTableView_DraggingSession_WillBeginAtPoint_ForRowIndexes() bool
	// optional
	TableView_DraggingSession_WillBeginAtPoint_ForRowIndexes(tableView TableView, session DraggingSession, screenPoint foundation.Point, rowIndexes foundation.IndexSet)
	ImplementsTableView_UpdateDraggingItemsForDrag() bool
	// optional
	TableView_UpdateDraggingItemsForDrag(tableView TableView, draggingInfo objc.Object)
	ImplementsTableView_DraggingSession_EndedAtPoint_Operation() bool
	// optional
	TableView_DraggingSession_EndedAtPoint_Operation(tableView TableView, session DraggingSession, screenPoint foundation.Point, operation DragOperation)
	ImplementsTableView_SortDescriptorsDidChange() bool
	// optional
	TableView_SortDescriptorsDidChange(tableView TableView, oldDescriptors []foundation.SortDescriptor)
}

type TableViewDataSourceBase added in v0.13.0

type TableViewDataSourceBase struct {
}

func (*TableViewDataSourceBase) ImplementsNumberOfRowsInTableView added in v0.13.0

func (p *TableViewDataSourceBase) ImplementsNumberOfRowsInTableView() bool

func (*TableViewDataSourceBase) ImplementsTableView_AcceptDrop_Row_DropOperation added in v0.14.1

func (p *TableViewDataSourceBase) ImplementsTableView_AcceptDrop_Row_DropOperation() bool

func (*TableViewDataSourceBase) ImplementsTableView_DraggingSession_EndedAtPoint_Operation added in v0.13.0

func (p *TableViewDataSourceBase) ImplementsTableView_DraggingSession_EndedAtPoint_Operation() bool

func (*TableViewDataSourceBase) ImplementsTableView_DraggingSession_WillBeginAtPoint_ForRowIndexes added in v0.13.0

func (p *TableViewDataSourceBase) ImplementsTableView_DraggingSession_WillBeginAtPoint_ForRowIndexes() bool

func (*TableViewDataSourceBase) ImplementsTableView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedRowsWithIndexes added in v0.14.5

func (p *TableViewDataSourceBase) ImplementsTableView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedRowsWithIndexes() bool

func (*TableViewDataSourceBase) ImplementsTableView_ObjectValueForTableColumn_Row added in v0.13.0

func (p *TableViewDataSourceBase) ImplementsTableView_ObjectValueForTableColumn_Row() bool

func (*TableViewDataSourceBase) ImplementsTableView_PasteboardWriterForRow added in v0.13.0

func (p *TableViewDataSourceBase) ImplementsTableView_PasteboardWriterForRow() bool

func (*TableViewDataSourceBase) ImplementsTableView_SetObjectValue_ForTableColumn_Row added in v0.13.0

func (p *TableViewDataSourceBase) ImplementsTableView_SetObjectValue_ForTableColumn_Row() bool

func (*TableViewDataSourceBase) ImplementsTableView_SortDescriptorsDidChange added in v0.13.0

func (p *TableViewDataSourceBase) ImplementsTableView_SortDescriptorsDidChange() bool

func (*TableViewDataSourceBase) ImplementsTableView_UpdateDraggingItemsForDrag added in v0.14.1

func (p *TableViewDataSourceBase) ImplementsTableView_UpdateDraggingItemsForDrag() bool

func (*TableViewDataSourceBase) ImplementsTableView_ValidateDrop_ProposedRow_ProposedDropOperation added in v0.14.1

func (p *TableViewDataSourceBase) ImplementsTableView_ValidateDrop_ProposedRow_ProposedDropOperation() bool

func (*TableViewDataSourceBase) ImplementsTableView_WriteRowsWithIndexes_ToPasteboard added in v0.14.5

func (p *TableViewDataSourceBase) ImplementsTableView_WriteRowsWithIndexes_ToPasteboard() bool

func (*TableViewDataSourceBase) NumberOfRowsInTableView added in v0.13.0

func (p *TableViewDataSourceBase) NumberOfRowsInTableView(tableView TableView) int

func (*TableViewDataSourceBase) TableView_AcceptDrop_Row_DropOperation added in v0.14.1

func (p *TableViewDataSourceBase) TableView_AcceptDrop_Row_DropOperation(tableView TableView, info objc.Object, row int, dropOperation TableViewDropOperation) bool

func (*TableViewDataSourceBase) TableView_DraggingSession_EndedAtPoint_Operation added in v0.13.0

func (p *TableViewDataSourceBase) TableView_DraggingSession_EndedAtPoint_Operation(tableView TableView, session DraggingSession, screenPoint foundation.Point, operation DragOperation)

func (*TableViewDataSourceBase) TableView_DraggingSession_WillBeginAtPoint_ForRowIndexes added in v0.13.0

func (p *TableViewDataSourceBase) TableView_DraggingSession_WillBeginAtPoint_ForRowIndexes(tableView TableView, session DraggingSession, screenPoint foundation.Point, rowIndexes foundation.IndexSet)

func (*TableViewDataSourceBase) TableView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedRowsWithIndexes added in v0.14.5

func (p *TableViewDataSourceBase) TableView_NamesOfPromisedFilesDroppedAtDestination_ForDraggedRowsWithIndexes(tableView TableView, dropDestination foundation.URL, indexSet foundation.IndexSet) []string

deprecated

func (*TableViewDataSourceBase) TableView_ObjectValueForTableColumn_Row added in v0.13.0

func (p *TableViewDataSourceBase) TableView_ObjectValueForTableColumn_Row(tableView TableView, tableColumn TableColumn, row int) objc.IObject

func (*TableViewDataSourceBase) TableView_PasteboardWriterForRow added in v0.13.0

func (p *TableViewDataSourceBase) TableView_PasteboardWriterForRow(tableView TableView, row int) objc.IObject

func (*TableViewDataSourceBase) TableView_SetObjectValue_ForTableColumn_Row added in v0.13.0

func (p *TableViewDataSourceBase) TableView_SetObjectValue_ForTableColumn_Row(tableView TableView, object objc.Object, tableColumn TableColumn, row int)

func (*TableViewDataSourceBase) TableView_SortDescriptorsDidChange added in v0.13.0

func (p *TableViewDataSourceBase) TableView_SortDescriptorsDidChange(tableView TableView, oldDescriptors []foundation.SortDescriptor)

func (*TableViewDataSourceBase) TableView_UpdateDraggingItemsForDrag added in v0.14.1

func (p *TableViewDataSourceBase) TableView_UpdateDraggingItemsForDrag(tableView TableView, draggingInfo objc.Object)

func (*TableViewDataSourceBase) TableView_ValidateDrop_ProposedRow_ProposedDropOperation added in v0.14.1

func (p *TableViewDataSourceBase) TableView_ValidateDrop_ProposedRow_ProposedDropOperation(tableView TableView, info objc.Object, row int, dropOperation TableViewDropOperation) DragOperation

func (*TableViewDataSourceBase) TableView_WriteRowsWithIndexes_ToPasteboard added in v0.14.5

func (p *TableViewDataSourceBase) TableView_WriteRowsWithIndexes_ToPasteboard(tableView TableView, rowIndexes foundation.IndexSet, pboard Pasteboard) bool

deprecated

type TableViewDelegate

type TableViewDelegate interface {
	ControlTextEditingDelegate
	ImplementsTableView_ViewForTableColumn_Row() bool
	// optional
	TableView_ViewForTableColumn_Row(tableView TableView, tableColumn TableColumn, row int) IView
	ImplementsTableView_RowViewForRow() bool
	// optional
	TableView_RowViewForRow(tableView TableView, row int) ITableRowView
	ImplementsTableView_DidAddRowView_ForRow() bool
	// optional
	TableView_DidAddRowView_ForRow(tableView TableView, rowView TableRowView, row int)
	ImplementsTableView_DidRemoveRowView_ForRow() bool
	// optional
	TableView_DidRemoveRowView_ForRow(tableView TableView, rowView TableRowView, row int)
	ImplementsTableView_IsGroupRow() bool
	// optional
	TableView_IsGroupRow(tableView TableView, row int) bool
	ImplementsTableView_WillDisplayCell_ForTableColumn_Row() bool
	// optional
	TableView_WillDisplayCell_ForTableColumn_Row(tableView TableView, cell objc.Object, tableColumn TableColumn, row int)
	ImplementsTableView_DataCellForTableColumn_Row() bool
	// optional
	TableView_DataCellForTableColumn_Row(tableView TableView, tableColumn TableColumn, row int) ICell
	ImplementsTableView_ShouldShowCellExpansionForTableColumn_Row() bool
	// optional
	TableView_ShouldShowCellExpansionForTableColumn_Row(tableView TableView, tableColumn TableColumn, row int) bool
	ImplementsTableView_ToolTipForCell_Rect_TableColumn_Row_MouseLocation() bool
	// optional
	TableView_ToolTipForCell_Rect_TableColumn_Row_MouseLocation(tableView TableView, cell Cell, rect *foundation.Rect, tableColumn TableColumn, row int, mouseLocation foundation.Point) string
	ImplementsTableView_ShouldEditTableColumn_Row() bool
	// optional
	TableView_ShouldEditTableColumn_Row(tableView TableView, tableColumn TableColumn, row int) bool
	ImplementsTableView_HeightOfRow() bool
	// optional
	TableView_HeightOfRow(tableView TableView, row int) float64
	ImplementsTableView_SizeToFitWidthOfColumn() bool
	// optional
	TableView_SizeToFitWidthOfColumn(tableView TableView, column int) float64
	ImplementsSelectionShouldChangeInTableView() bool
	// optional
	SelectionShouldChangeInTableView(tableView TableView) bool
	ImplementsTableView_ShouldSelectRow() bool
	// optional
	TableView_ShouldSelectRow(tableView TableView, row int) bool
	ImplementsTableView_SelectionIndexesForProposedSelection() bool
	// optional
	TableView_SelectionIndexesForProposedSelection(tableView TableView, proposedSelectionIndexes foundation.IndexSet) foundation.IIndexSet
	ImplementsTableView_ShouldSelectTableColumn() bool
	// optional
	TableView_ShouldSelectTableColumn(tableView TableView, tableColumn TableColumn) bool
	ImplementsTableViewSelectionIsChanging() bool
	// optional
	TableViewSelectionIsChanging(notification foundation.Notification)
	ImplementsTableViewSelectionDidChange() bool
	// optional
	TableViewSelectionDidChange(notification foundation.Notification)
	ImplementsTableView_ShouldTypeSelectForEvent_WithCurrentSearchString() bool
	// optional
	TableView_ShouldTypeSelectForEvent_WithCurrentSearchString(tableView TableView, event Event, searchString string) bool
	ImplementsTableView_TypeSelectStringForTableColumn_Row() bool
	// optional
	TableView_TypeSelectStringForTableColumn_Row(tableView TableView, tableColumn TableColumn, row int) string
	ImplementsTableView_NextTypeSelectMatchFromRow_ToRow_ForString() bool
	// optional
	TableView_NextTypeSelectMatchFromRow_ToRow_ForString(tableView TableView, startRow int, endRow int, searchString string) int
	ImplementsTableView_ShouldReorderColumn_ToColumn() bool
	// optional
	TableView_ShouldReorderColumn_ToColumn(tableView TableView, columnIndex int, newColumnIndex int) bool
	ImplementsTableView_DidDragTableColumn() bool
	// optional
	TableView_DidDragTableColumn(tableView TableView, tableColumn TableColumn)
	ImplementsTableViewColumnDidMove() bool
	// optional
	TableViewColumnDidMove(notification foundation.Notification)
	ImplementsTableViewColumnDidResize() bool
	// optional
	TableViewColumnDidResize(notification foundation.Notification)
	ImplementsTableView_DidClickTableColumn() bool
	// optional
	TableView_DidClickTableColumn(tableView TableView, tableColumn TableColumn)
	ImplementsTableView_MouseDownInHeaderOfTableColumn() bool
	// optional
	TableView_MouseDownInHeaderOfTableColumn(tableView TableView, tableColumn TableColumn)
	ImplementsTableView_ShouldTrackCell_ForTableColumn_Row() bool
	// optional
	TableView_ShouldTrackCell_ForTableColumn_Row(tableView TableView, cell Cell, tableColumn TableColumn, row int) bool
	ImplementsTableView_RowActionsForRow_Edge() bool
	// optional
	TableView_RowActionsForRow_Edge(tableView TableView, row int, edge TableRowActionEdge) []ITableViewRowAction
}

type TableViewDelegateBase added in v0.18.0

type TableViewDelegateBase struct {
	ControlTextEditingDelegateBase
}

func (*TableViewDelegateBase) ImplementsSelectionShouldChangeInTableView added in v0.18.0

func (p *TableViewDelegateBase) ImplementsSelectionShouldChangeInTableView() bool

func (*TableViewDelegateBase) ImplementsTableViewColumnDidMove added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableViewColumnDidMove() bool

func (*TableViewDelegateBase) ImplementsTableViewColumnDidResize added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableViewColumnDidResize() bool

func (*TableViewDelegateBase) ImplementsTableViewSelectionDidChange added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableViewSelectionDidChange() bool

func (*TableViewDelegateBase) ImplementsTableViewSelectionIsChanging added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableViewSelectionIsChanging() bool

func (*TableViewDelegateBase) ImplementsTableView_DataCellForTableColumn_Row added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_DataCellForTableColumn_Row() bool

func (*TableViewDelegateBase) ImplementsTableView_DidAddRowView_ForRow added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_DidAddRowView_ForRow() bool

func (*TableViewDelegateBase) ImplementsTableView_DidClickTableColumn added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_DidClickTableColumn() bool

func (*TableViewDelegateBase) ImplementsTableView_DidDragTableColumn added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_DidDragTableColumn() bool

func (*TableViewDelegateBase) ImplementsTableView_DidRemoveRowView_ForRow added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_DidRemoveRowView_ForRow() bool

func (*TableViewDelegateBase) ImplementsTableView_HeightOfRow added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_HeightOfRow() bool

func (*TableViewDelegateBase) ImplementsTableView_IsGroupRow added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_IsGroupRow() bool

func (*TableViewDelegateBase) ImplementsTableView_MouseDownInHeaderOfTableColumn added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_MouseDownInHeaderOfTableColumn() bool

func (*TableViewDelegateBase) ImplementsTableView_NextTypeSelectMatchFromRow_ToRow_ForString added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_NextTypeSelectMatchFromRow_ToRow_ForString() bool

func (*TableViewDelegateBase) ImplementsTableView_RowActionsForRow_Edge added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_RowActionsForRow_Edge() bool

func (*TableViewDelegateBase) ImplementsTableView_RowViewForRow added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_RowViewForRow() bool

func (*TableViewDelegateBase) ImplementsTableView_SelectionIndexesForProposedSelection added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_SelectionIndexesForProposedSelection() bool

func (*TableViewDelegateBase) ImplementsTableView_ShouldEditTableColumn_Row added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_ShouldEditTableColumn_Row() bool

func (*TableViewDelegateBase) ImplementsTableView_ShouldReorderColumn_ToColumn added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_ShouldReorderColumn_ToColumn() bool

func (*TableViewDelegateBase) ImplementsTableView_ShouldSelectRow added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_ShouldSelectRow() bool

func (*TableViewDelegateBase) ImplementsTableView_ShouldSelectTableColumn added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_ShouldSelectTableColumn() bool

func (*TableViewDelegateBase) ImplementsTableView_ShouldShowCellExpansionForTableColumn_Row added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_ShouldShowCellExpansionForTableColumn_Row() bool

func (*TableViewDelegateBase) ImplementsTableView_ShouldTrackCell_ForTableColumn_Row added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_ShouldTrackCell_ForTableColumn_Row() bool

func (*TableViewDelegateBase) ImplementsTableView_ShouldTypeSelectForEvent_WithCurrentSearchString added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_ShouldTypeSelectForEvent_WithCurrentSearchString() bool

func (*TableViewDelegateBase) ImplementsTableView_SizeToFitWidthOfColumn added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_SizeToFitWidthOfColumn() bool

func (*TableViewDelegateBase) ImplementsTableView_ToolTipForCell_Rect_TableColumn_Row_MouseLocation added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_ToolTipForCell_Rect_TableColumn_Row_MouseLocation() bool

func (*TableViewDelegateBase) ImplementsTableView_TypeSelectStringForTableColumn_Row added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_TypeSelectStringForTableColumn_Row() bool

func (*TableViewDelegateBase) ImplementsTableView_ViewForTableColumn_Row added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_ViewForTableColumn_Row() bool

func (*TableViewDelegateBase) ImplementsTableView_WillDisplayCell_ForTableColumn_Row added in v0.18.0

func (p *TableViewDelegateBase) ImplementsTableView_WillDisplayCell_ForTableColumn_Row() bool

func (*TableViewDelegateBase) SelectionShouldChangeInTableView added in v0.18.0

func (p *TableViewDelegateBase) SelectionShouldChangeInTableView(tableView TableView) bool

func (*TableViewDelegateBase) TableViewColumnDidMove added in v0.18.0

func (p *TableViewDelegateBase) TableViewColumnDidMove(notification foundation.Notification)

func (*TableViewDelegateBase) TableViewColumnDidResize added in v0.18.0

func (p *TableViewDelegateBase) TableViewColumnDidResize(notification foundation.Notification)

func (*TableViewDelegateBase) TableViewSelectionDidChange added in v0.18.0

func (p *TableViewDelegateBase) TableViewSelectionDidChange(notification foundation.Notification)

func (*TableViewDelegateBase) TableViewSelectionIsChanging added in v0.18.0

func (p *TableViewDelegateBase) TableViewSelectionIsChanging(notification foundation.Notification)

func (*TableViewDelegateBase) TableView_DataCellForTableColumn_Row added in v0.18.0

func (p *TableViewDelegateBase) TableView_DataCellForTableColumn_Row(tableView TableView, tableColumn TableColumn, row int) ICell

func (*TableViewDelegateBase) TableView_DidAddRowView_ForRow added in v0.18.0

func (p *TableViewDelegateBase) TableView_DidAddRowView_ForRow(tableView TableView, rowView TableRowView, row int)

func (*TableViewDelegateBase) TableView_DidClickTableColumn added in v0.18.0

func (p *TableViewDelegateBase) TableView_DidClickTableColumn(tableView TableView, tableColumn TableColumn)

func (*TableViewDelegateBase) TableView_DidDragTableColumn added in v0.18.0

func (p *TableViewDelegateBase) TableView_DidDragTableColumn(tableView TableView, tableColumn TableColumn)

func (*TableViewDelegateBase) TableView_DidRemoveRowView_ForRow added in v0.18.0

func (p *TableViewDelegateBase) TableView_DidRemoveRowView_ForRow(tableView TableView, rowView TableRowView, row int)

func (*TableViewDelegateBase) TableView_HeightOfRow added in v0.18.0

func (p *TableViewDelegateBase) TableView_HeightOfRow(tableView TableView, row int) float64

func (*TableViewDelegateBase) TableView_IsGroupRow added in v0.18.0

func (p *TableViewDelegateBase) TableView_IsGroupRow(tableView TableView, row int) bool

func (*TableViewDelegateBase) TableView_MouseDownInHeaderOfTableColumn added in v0.18.0

func (p *TableViewDelegateBase) TableView_MouseDownInHeaderOfTableColumn(tableView TableView, tableColumn TableColumn)

func (*TableViewDelegateBase) TableView_NextTypeSelectMatchFromRow_ToRow_ForString added in v0.18.0

func (p *TableViewDelegateBase) TableView_NextTypeSelectMatchFromRow_ToRow_ForString(tableView TableView, startRow int, endRow int, searchString string) int

func (*TableViewDelegateBase) TableView_RowActionsForRow_Edge added in v0.18.0

func (p *TableViewDelegateBase) TableView_RowActionsForRow_Edge(tableView TableView, row int, edge TableRowActionEdge) []ITableViewRowAction

func (*TableViewDelegateBase) TableView_RowViewForRow added in v0.18.0

func (p *TableViewDelegateBase) TableView_RowViewForRow(tableView TableView, row int) ITableRowView

func (*TableViewDelegateBase) TableView_SelectionIndexesForProposedSelection added in v0.18.0

func (p *TableViewDelegateBase) TableView_SelectionIndexesForProposedSelection(tableView TableView, proposedSelectionIndexes foundation.IndexSet) foundation.IIndexSet

func (*TableViewDelegateBase) TableView_ShouldEditTableColumn_Row added in v0.18.0

func (p *TableViewDelegateBase) TableView_ShouldEditTableColumn_Row(tableView TableView, tableColumn TableColumn, row int) bool

func (*TableViewDelegateBase) TableView_ShouldReorderColumn_ToColumn added in v0.18.0

func (p *TableViewDelegateBase) TableView_ShouldReorderColumn_ToColumn(tableView TableView, columnIndex int, newColumnIndex int) bool

func (*TableViewDelegateBase) TableView_ShouldSelectRow added in v0.18.0

func (p *TableViewDelegateBase) TableView_ShouldSelectRow(tableView TableView, row int) bool

func (*TableViewDelegateBase) TableView_ShouldSelectTableColumn added in v0.18.0

func (p *TableViewDelegateBase) TableView_ShouldSelectTableColumn(tableView TableView, tableColumn TableColumn) bool

func (*TableViewDelegateBase) TableView_ShouldShowCellExpansionForTableColumn_Row added in v0.18.0

func (p *TableViewDelegateBase) TableView_ShouldShowCellExpansionForTableColumn_Row(tableView TableView, tableColumn TableColumn, row int) bool

func (*TableViewDelegateBase) TableView_ShouldTrackCell_ForTableColumn_Row added in v0.18.0

func (p *TableViewDelegateBase) TableView_ShouldTrackCell_ForTableColumn_Row(tableView TableView, cell Cell, tableColumn TableColumn, row int) bool

func (*TableViewDelegateBase) TableView_ShouldTypeSelectForEvent_WithCurrentSearchString added in v0.18.0

func (p *TableViewDelegateBase) TableView_ShouldTypeSelectForEvent_WithCurrentSearchString(tableView TableView, event Event, searchString string) bool

func (*TableViewDelegateBase) TableView_SizeToFitWidthOfColumn added in v0.18.0

func (p *TableViewDelegateBase) TableView_SizeToFitWidthOfColumn(tableView TableView, column int) float64

func (*TableViewDelegateBase) TableView_ToolTipForCell_Rect_TableColumn_Row_MouseLocation added in v0.18.0

func (p *TableViewDelegateBase) TableView_ToolTipForCell_Rect_TableColumn_Row_MouseLocation(tableView TableView, cell Cell, rect *foundation.Rect, tableColumn TableColumn, row int, mouseLocation foundation.Point) string

func (*TableViewDelegateBase) TableView_TypeSelectStringForTableColumn_Row added in v0.18.0

func (p *TableViewDelegateBase) TableView_TypeSelectStringForTableColumn_Row(tableView TableView, tableColumn TableColumn, row int) string

func (*TableViewDelegateBase) TableView_ViewForTableColumn_Row added in v0.18.0

func (p *TableViewDelegateBase) TableView_ViewForTableColumn_Row(tableView TableView, tableColumn TableColumn, row int) IView

func (*TableViewDelegateBase) TableView_WillDisplayCell_ForTableColumn_Row added in v0.18.0

func (p *TableViewDelegateBase) TableView_WillDisplayCell_ForTableColumn_Row(tableView TableView, cell objc.Object, tableColumn TableColumn, row int)

type TableViewDelegateCreator added in v0.19.0

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

func NewTableViewDelegateCreator added in v0.19.0

func NewTableViewDelegateCreator(name string) *TableViewDelegateCreator

func (*TableViewDelegateCreator) Create added in v0.19.0

func (*TableViewDelegateCreator) SetSelectionShouldChangeInTableView added in v0.19.0

func (c *TableViewDelegateCreator) SetSelectionShouldChangeInTableView(handle func(o objc.ProtocolBase, tableView TableView) bool)

func (*TableViewDelegateCreator) SetTableViewColumnDidMove added in v0.19.0

func (c *TableViewDelegateCreator) SetTableViewColumnDidMove(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*TableViewDelegateCreator) SetTableViewColumnDidResize added in v0.19.0

func (c *TableViewDelegateCreator) SetTableViewColumnDidResize(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*TableViewDelegateCreator) SetTableViewSelectionDidChange added in v0.19.0

func (c *TableViewDelegateCreator) SetTableViewSelectionDidChange(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*TableViewDelegateCreator) SetTableViewSelectionIsChanging added in v0.19.0

func (c *TableViewDelegateCreator) SetTableViewSelectionIsChanging(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*TableViewDelegateCreator) SetTableView_DataCellForTableColumn_Row added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_DataCellForTableColumn_Row(handle func(o objc.ProtocolBase, tableView TableView, tableColumn TableColumn, row int) ICell)

func (*TableViewDelegateCreator) SetTableView_DidAddRowView_ForRow added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_DidAddRowView_ForRow(handle func(o objc.ProtocolBase, tableView TableView, rowView TableRowView, row int))

func (*TableViewDelegateCreator) SetTableView_DidClickTableColumn added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_DidClickTableColumn(handle func(o objc.ProtocolBase, tableView TableView, tableColumn TableColumn))

func (*TableViewDelegateCreator) SetTableView_DidDragTableColumn added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_DidDragTableColumn(handle func(o objc.ProtocolBase, tableView TableView, tableColumn TableColumn))

func (*TableViewDelegateCreator) SetTableView_DidRemoveRowView_ForRow added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_DidRemoveRowView_ForRow(handle func(o objc.ProtocolBase, tableView TableView, rowView TableRowView, row int))

func (*TableViewDelegateCreator) SetTableView_HeightOfRow added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_HeightOfRow(handle func(o objc.ProtocolBase, tableView TableView, row int) float64)

func (*TableViewDelegateCreator) SetTableView_IsGroupRow added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_IsGroupRow(handle func(o objc.ProtocolBase, tableView TableView, row int) bool)

func (*TableViewDelegateCreator) SetTableView_MouseDownInHeaderOfTableColumn added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_MouseDownInHeaderOfTableColumn(handle func(o objc.ProtocolBase, tableView TableView, tableColumn TableColumn))

func (*TableViewDelegateCreator) SetTableView_NextTypeSelectMatchFromRow_ToRow_ForString added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_NextTypeSelectMatchFromRow_ToRow_ForString(handle func(o objc.ProtocolBase, tableView TableView, startRow int, endRow int, searchString string) int)

func (*TableViewDelegateCreator) SetTableView_RowActionsForRow_Edge added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_RowActionsForRow_Edge(handle func(o objc.ProtocolBase, tableView TableView, row int, edge TableRowActionEdge) []ITableViewRowAction)

func (*TableViewDelegateCreator) SetTableView_RowViewForRow added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_RowViewForRow(handle func(o objc.ProtocolBase, tableView TableView, row int) ITableRowView)

func (*TableViewDelegateCreator) SetTableView_SelectionIndexesForProposedSelection added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_SelectionIndexesForProposedSelection(handle func(o objc.ProtocolBase, tableView TableView, proposedSelectionIndexes foundation.IndexSet) foundation.IIndexSet)

func (*TableViewDelegateCreator) SetTableView_ShouldEditTableColumn_Row added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_ShouldEditTableColumn_Row(handle func(o objc.ProtocolBase, tableView TableView, tableColumn TableColumn, row int) bool)

func (*TableViewDelegateCreator) SetTableView_ShouldReorderColumn_ToColumn added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_ShouldReorderColumn_ToColumn(handle func(o objc.ProtocolBase, tableView TableView, columnIndex int, newColumnIndex int) bool)

func (*TableViewDelegateCreator) SetTableView_ShouldSelectRow added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_ShouldSelectRow(handle func(o objc.ProtocolBase, tableView TableView, row int) bool)

func (*TableViewDelegateCreator) SetTableView_ShouldSelectTableColumn added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_ShouldSelectTableColumn(handle func(o objc.ProtocolBase, tableView TableView, tableColumn TableColumn) bool)

func (*TableViewDelegateCreator) SetTableView_ShouldShowCellExpansionForTableColumn_Row added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_ShouldShowCellExpansionForTableColumn_Row(handle func(o objc.ProtocolBase, tableView TableView, tableColumn TableColumn, row int) bool)

func (*TableViewDelegateCreator) SetTableView_ShouldTrackCell_ForTableColumn_Row added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_ShouldTrackCell_ForTableColumn_Row(handle func(o objc.ProtocolBase, tableView TableView, cell Cell, tableColumn TableColumn, row int) bool)

func (*TableViewDelegateCreator) SetTableView_ShouldTypeSelectForEvent_WithCurrentSearchString added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_ShouldTypeSelectForEvent_WithCurrentSearchString(handle func(o objc.ProtocolBase, tableView TableView, event Event, searchString string) bool)

func (*TableViewDelegateCreator) SetTableView_SizeToFitWidthOfColumn added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_SizeToFitWidthOfColumn(handle func(o objc.ProtocolBase, tableView TableView, column int) float64)

func (*TableViewDelegateCreator) SetTableView_ToolTipForCell_Rect_TableColumn_Row_MouseLocation added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_ToolTipForCell_Rect_TableColumn_Row_MouseLocation(handle func(o objc.ProtocolBase, tableView TableView, cell Cell, rect *foundation.Rect, tableColumn TableColumn, row int, mouseLocation foundation.Point) string)

func (*TableViewDelegateCreator) SetTableView_TypeSelectStringForTableColumn_Row added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_TypeSelectStringForTableColumn_Row(handle func(o objc.ProtocolBase, tableView TableView, tableColumn TableColumn, row int) string)

func (*TableViewDelegateCreator) SetTableView_ViewForTableColumn_Row added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_ViewForTableColumn_Row(handle func(o objc.ProtocolBase, tableView TableView, tableColumn TableColumn, row int) IView)

func (*TableViewDelegateCreator) SetTableView_WillDisplayCell_ForTableColumn_Row added in v0.19.0

func (c *TableViewDelegateCreator) SetTableView_WillDisplayCell_ForTableColumn_Row(handle func(o objc.ProtocolBase, tableView TableView, cell objc.Object, tableColumn TableColumn, row int))

type TableViewDraggingDestinationFeedbackStyle

type TableViewDraggingDestinationFeedbackStyle int
const TableViewDraggingDestinationFeedbackStyleGap TableViewDraggingDestinationFeedbackStyle = 2
const TableViewDraggingDestinationFeedbackStyleNone TableViewDraggingDestinationFeedbackStyle = -1
const TableViewDraggingDestinationFeedbackStyleRegular TableViewDraggingDestinationFeedbackStyle = 0
const TableViewDraggingDestinationFeedbackStyleSourceList TableViewDraggingDestinationFeedbackStyle = 1

type TableViewDropOperation

type TableViewDropOperation uint
const TableViewDropAbove TableViewDropOperation = 1
const TableViewDropOn TableViewDropOperation = 0

type TableViewGridLineStyle

type TableViewGridLineStyle uint
const TableViewDashedHorizontalGridLineMask TableViewGridLineStyle = 8
const TableViewGridNone TableViewGridLineStyle = 0
const TableViewSolidHorizontalGridLineMask TableViewGridLineStyle = 2
const TableViewSolidVerticalGridLineMask TableViewGridLineStyle = 1

type TableViewRowAction

type TableViewRowAction struct {
	objc.Object
}

func MakeTableViewRowAction

func MakeTableViewRowAction(ptr unsafe.Pointer) TableViewRowAction

func NewTableViewRowAction

func NewTableViewRowAction() TableViewRowAction

func (TableViewRowAction) BackgroundColor

func (t_ TableViewRowAction) BackgroundColor() Color

func (TableViewRowAction) Image

func (t_ TableViewRowAction) Image() Image

func (TableViewRowAction) Init added in v0.11.0

func (TableViewRowAction) SetBackgroundColor

func (t_ TableViewRowAction) SetBackgroundColor(value IColor)

func (TableViewRowAction) SetImage

func (t_ TableViewRowAction) SetImage(value IImage)

func (TableViewRowAction) SetTitle

func (t_ TableViewRowAction) SetTitle(value string)

func (TableViewRowAction) Style

func (TableViewRowAction) Title

func (t_ TableViewRowAction) Title() string

type TableViewRowActionStyle

type TableViewRowActionStyle int
const TableViewRowActionStyleDestructive TableViewRowActionStyle = 1
const TableViewRowActionStyleRegular TableViewRowActionStyle = 0

type TableViewRowSizeStyle

type TableViewRowSizeStyle int
const TableViewRowSizeStyleCustom TableViewRowSizeStyle = 0
const TableViewRowSizeStyleDefault TableViewRowSizeStyle = -1
const TableViewRowSizeStyleLarge TableViewRowSizeStyle = 3
const TableViewRowSizeStyleMedium TableViewRowSizeStyle = 2
const TableViewRowSizeStyleSmall TableViewRowSizeStyle = 1

type TableViewSelectionHighlightStyle

type TableViewSelectionHighlightStyle int
const TableViewSelectionHighlightStyleNone TableViewSelectionHighlightStyle = -1
const TableViewSelectionHighlightStyleRegular TableViewSelectionHighlightStyle = 0

type TableViewStyle

type TableViewStyle int
const TableViewStyleAutomatic TableViewStyle = 0
const TableViewStyleFullWidth TableViewStyle = 1
const TableViewStyleInset TableViewStyle = 2
const TableViewStylePlain TableViewStyle = 4
const TableViewStyleSourceList TableViewStyle = 3

type Text

type Text struct {
	View
}

func MakeText

func MakeText(ptr unsafe.Pointer) Text

func NewText

func NewText() Text

func (Text) AlignCenter

func (t_ Text) AlignCenter(sender objc.IObject)

func (Text) AlignLeft

func (t_ Text) AlignLeft(sender objc.IObject)

func (Text) AlignRight

func (t_ Text) AlignRight(sender objc.IObject)

func (Text) Alignment

func (t_ Text) Alignment() TextAlignment

func (Text) BackgroundColor

func (t_ Text) BackgroundColor() Color

func (Text) BaseWritingDirection

func (t_ Text) BaseWritingDirection() WritingDirection

func (Text) ChangeFont

func (t_ Text) ChangeFont(sender objc.IObject)

func (Text) CheckSpelling

func (t_ Text) CheckSpelling(sender objc.IObject)

func (Text) Copy added in v0.13.0

func (t_ Text) Copy(sender objc.IObject)

func (Text) CopyFont

func (t_ Text) CopyFont(sender objc.IObject)

func (Text) CopyRuler

func (t_ Text) CopyRuler(sender objc.IObject)

func (Text) Cut

func (t_ Text) Cut(sender objc.IObject)

func (Text) Delegate

func (t_ Text) Delegate() objc.Object

weak property

func (Text) Delete

func (t_ Text) Delete(sender objc.IObject)

func (Text) DrawsBackground

func (t_ Text) DrawsBackground() bool

func (Text) Font

func (t_ Text) Font() Font

func (Text) ImportsGraphics

func (t_ Text) ImportsGraphics() bool

func (Text) Init added in v0.11.0

func (t_ Text) Init() Text

func (Text) InitWithFrame added in v0.11.0

func (t_ Text) InitWithFrame(frameRect foundation.Rect) Text

func (Text) IsEditable

func (t_ Text) IsEditable() bool

func (Text) IsFieldEditor

func (t_ Text) IsFieldEditor() bool

func (Text) IsHorizontallyResizable

func (t_ Text) IsHorizontallyResizable() bool

func (Text) IsRichText

func (t_ Text) IsRichText() bool

func (Text) IsRulerVisible

func (t_ Text) IsRulerVisible() bool

func (Text) IsSelectable

func (t_ Text) IsSelectable() bool

func (Text) IsVerticallyResizable

func (t_ Text) IsVerticallyResizable() bool

func (Text) MaxSize

func (t_ Text) MaxSize() foundation.Size

func (Text) MinSize

func (t_ Text) MinSize() foundation.Size

func (Text) Paste

func (t_ Text) Paste(sender objc.IObject)

func (Text) PasteFont

func (t_ Text) PasteFont(sender objc.IObject)

func (Text) PasteRuler

func (t_ Text) PasteRuler(sender objc.IObject)

func (Text) RTFDFromRange

func (t_ Text) RTFDFromRange(range_ foundation.Range) []byte

func (Text) RTFFromRange

func (t_ Text) RTFFromRange(range_ foundation.Range) []byte

func (Text) ReadRTFDFromFile

func (t_ Text) ReadRTFDFromFile(path string) bool

func (Text) ReplaceCharactersInRange_WithRTF

func (t_ Text) ReplaceCharactersInRange_WithRTF(range_ foundation.Range, rtfData []byte)

func (Text) ReplaceCharactersInRange_WithRTFD

func (t_ Text) ReplaceCharactersInRange_WithRTFD(range_ foundation.Range, rtfdData []byte)

func (Text) ReplaceCharactersInRange_WithString

func (t_ Text) ReplaceCharactersInRange_WithString(range_ foundation.Range, string_ string)

func (Text) ScrollRangeToVisible

func (t_ Text) ScrollRangeToVisible(range_ foundation.Range)

func (Text) SelectAll

func (t_ Text) SelectAll(sender objc.IObject)

func (Text) SelectedRange

func (t_ Text) SelectedRange() foundation.Range

func (Text) SetAlignment

func (t_ Text) SetAlignment(value TextAlignment)

func (Text) SetBackgroundColor

func (t_ Text) SetBackgroundColor(value IColor)

func (Text) SetBaseWritingDirection

func (t_ Text) SetBaseWritingDirection(value WritingDirection)

func (Text) SetDelegate

func (t_ Text) SetDelegate(value objc.IObject)

weak property

func (Text) SetDrawsBackground

func (t_ Text) SetDrawsBackground(value bool)

func (Text) SetEditable

func (t_ Text) SetEditable(value bool)

func (Text) SetFieldEditor

func (t_ Text) SetFieldEditor(value bool)

func (Text) SetFont

func (t_ Text) SetFont(value IFont)

func (Text) SetFont_Range

func (t_ Text) SetFont_Range(font IFont, range_ foundation.Range)

func (Text) SetHorizontallyResizable

func (t_ Text) SetHorizontallyResizable(value bool)

func (Text) SetImportsGraphics

func (t_ Text) SetImportsGraphics(value bool)

func (Text) SetMaxSize

func (t_ Text) SetMaxSize(value foundation.Size)

func (Text) SetMinSize

func (t_ Text) SetMinSize(value foundation.Size)

func (Text) SetRichText

func (t_ Text) SetRichText(value bool)

func (Text) SetSelectable

func (t_ Text) SetSelectable(value bool)

func (Text) SetSelectedRange

func (t_ Text) SetSelectedRange(value foundation.Range)

func (Text) SetString

func (t_ Text) SetString(value string)

func (Text) SetTextColor

func (t_ Text) SetTextColor(value IColor)

func (Text) SetTextColor_Range

func (t_ Text) SetTextColor_Range(color IColor, range_ foundation.Range)

func (Text) SetUsesFontPanel

func (t_ Text) SetUsesFontPanel(value bool)

func (Text) SetVerticallyResizable

func (t_ Text) SetVerticallyResizable(value bool)

func (Text) ShowGuessPanel

func (t_ Text) ShowGuessPanel(sender objc.IObject)

func (Text) SizeToFit

func (t_ Text) SizeToFit()

func (Text) String

func (t_ Text) String() string

func (Text) Subscript

func (t_ Text) Subscript(sender objc.IObject)

func (Text) Superscript

func (t_ Text) Superscript(sender objc.IObject)

func (Text) TextColor

func (t_ Text) TextColor() Color

func (Text) ToggleRuler

func (t_ Text) ToggleRuler(sender objc.IObject)

func (Text) Underline

func (t_ Text) Underline(sender objc.IObject)

func (Text) Unscript

func (t_ Text) Unscript(sender objc.IObject)

func (Text) UsesFontPanel

func (t_ Text) UsesFontPanel() bool

func (Text) WriteRTFDToFile_Atomically

func (t_ Text) WriteRTFDToFile_Atomically(path string, flag bool) bool

type TextAlignment

type TextAlignment int
const TextAlignmentCenter TextAlignment = 2
const TextAlignmentJustified TextAlignment = 3
const TextAlignmentLeft TextAlignment = 0
const TextAlignmentNatural TextAlignment = 4
const TextAlignmentRight TextAlignment = 1

type TextAttachment

type TextAttachment struct {
	objc.Object
}

func MakeTextAttachment

func MakeTextAttachment(ptr unsafe.Pointer) TextAttachment

func NewTextAttachment

func NewTextAttachment() TextAttachment

func (TextAttachment) AllowsTextAttachmentView added in v0.12.0

func (t_ TextAttachment) AllowsTextAttachmentView() bool

func (TextAttachment) Bounds

func (t_ TextAttachment) Bounds() coregraphics.Rect

func (TextAttachment) Contents

func (t_ TextAttachment) Contents() []byte

func (TextAttachment) FileType

func (t_ TextAttachment) FileType() string

func (TextAttachment) FileWrapper

func (t_ TextAttachment) FileWrapper() foundation.FileWrapper

func (TextAttachment) Image

func (t_ TextAttachment) Image() Image

func (TextAttachment) Init added in v0.11.0

func (t_ TextAttachment) Init() TextAttachment

func (TextAttachment) InitWithData_OfType added in v0.11.0

func (t_ TextAttachment) InitWithData_OfType(contentData []byte, uti string) TextAttachment

func (TextAttachment) InitWithFileWrapper added in v0.11.0

func (t_ TextAttachment) InitWithFileWrapper(fileWrapper foundation.IFileWrapper) TextAttachment

func (TextAttachment) LineLayoutPadding added in v0.12.0

func (t_ TextAttachment) LineLayoutPadding() float64

func (TextAttachment) SetAllowsTextAttachmentView added in v0.12.0

func (t_ TextAttachment) SetAllowsTextAttachmentView(value bool)

func (TextAttachment) SetBounds

func (t_ TextAttachment) SetBounds(value coregraphics.Rect)

func (TextAttachment) SetContents

func (t_ TextAttachment) SetContents(value []byte)

func (TextAttachment) SetFileType

func (t_ TextAttachment) SetFileType(value string)

func (TextAttachment) SetFileWrapper

func (t_ TextAttachment) SetFileWrapper(value foundation.IFileWrapper)

func (TextAttachment) SetImage

func (t_ TextAttachment) SetImage(value IImage)

func (TextAttachment) SetLineLayoutPadding added in v0.12.0

func (t_ TextAttachment) SetLineLayoutPadding(value float64)

func (TextAttachment) UsesTextAttachmentView added in v0.12.0

func (t_ TextAttachment) UsesTextAttachmentView() bool

type TextAttachmentCell added in v0.13.0

type TextAttachmentCell struct {
	Cell
}

func MakeTextAttachmentCell added in v0.13.0

func MakeTextAttachmentCell(ptr unsafe.Pointer) TextAttachmentCell

func NewTextAttachmentCell added in v0.13.0

func NewTextAttachmentCell() TextAttachmentCell

func (TextAttachmentCell) Init added in v0.13.0

func (TextAttachmentCell) InitImageCell added in v0.13.0

func (t_ TextAttachmentCell) InitImageCell(image IImage) TextAttachmentCell

func (TextAttachmentCell) InitTextCell added in v0.13.0

func (t_ TextAttachmentCell) InitTextCell(string_ string) TextAttachmentCell

type TextAttachmentViewProvider added in v0.12.0

type TextAttachmentViewProvider struct {
	objc.Object
}

func MakeTextAttachmentViewProvider added in v0.12.0

func MakeTextAttachmentViewProvider(ptr unsafe.Pointer) TextAttachmentViewProvider

func NewTextAttachmentViewProvider added in v0.12.4

func NewTextAttachmentViewProvider() TextAttachmentViewProvider

func (TextAttachmentViewProvider) Init added in v0.12.4

func (TextAttachmentViewProvider) LoadView added in v0.12.0

func (t_ TextAttachmentViewProvider) LoadView()

func (TextAttachmentViewProvider) SetTracksTextAttachmentViewBounds added in v0.12.0

func (t_ TextAttachmentViewProvider) SetTracksTextAttachmentViewBounds(value bool)

func (TextAttachmentViewProvider) SetView added in v0.12.0

func (t_ TextAttachmentViewProvider) SetView(value IView)

func (TextAttachmentViewProvider) TextAttachment added in v0.12.0

func (t_ TextAttachmentViewProvider) TextAttachment() TextAttachment

weak property

func (TextAttachmentViewProvider) TextLayoutManager added in v0.12.0

func (t_ TextAttachmentViewProvider) TextLayoutManager() TextLayoutManager

weak property

func (TextAttachmentViewProvider) TracksTextAttachmentViewBounds added in v0.12.0

func (t_ TextAttachmentViewProvider) TracksTextAttachmentViewBounds() bool

func (TextAttachmentViewProvider) View added in v0.12.0

func (t_ TextAttachmentViewProvider) View() View

type TextBlock

type TextBlock struct {
	objc.Object
}

func MakeTextBlock

func MakeTextBlock(ptr unsafe.Pointer) TextBlock

func NewTextBlock

func NewTextBlock() TextBlock

func (TextBlock) BackgroundColor

func (t_ TextBlock) BackgroundColor() Color

func (TextBlock) BorderColorForEdge

func (t_ TextBlock) BorderColorForEdge(edge foundation.RectEdge) Color

func (TextBlock) BoundsRectForContentRect_InRect_TextContainer_CharacterRange

func (t_ TextBlock) BoundsRectForContentRect_InRect_TextContainer_CharacterRange(contentRect foundation.Rect, rect foundation.Rect, textContainer ITextContainer, charRange foundation.Range) foundation.Rect

func (TextBlock) ContentWidth

func (t_ TextBlock) ContentWidth() float64

func (TextBlock) ContentWidthValueType

func (t_ TextBlock) ContentWidthValueType() TextBlockValueType

func (TextBlock) DrawBackgroundWithFrame_InView_CharacterRange_LayoutManager

func (t_ TextBlock) DrawBackgroundWithFrame_InView_CharacterRange_LayoutManager(frameRect foundation.Rect, controlView IView, charRange foundation.Range, layoutManager ILayoutManager)

func (TextBlock) Init added in v0.11.0

func (t_ TextBlock) Init() TextBlock

func (TextBlock) RectForLayoutAtPoint_InRect_TextContainer_CharacterRange

func (t_ TextBlock) RectForLayoutAtPoint_InRect_TextContainer_CharacterRange(startingPoint foundation.Point, rect foundation.Rect, textContainer ITextContainer, charRange foundation.Range) foundation.Rect

func (TextBlock) SetBackgroundColor

func (t_ TextBlock) SetBackgroundColor(value IColor)

func (TextBlock) SetBorderColor

func (t_ TextBlock) SetBorderColor(color IColor)

func (TextBlock) SetBorderColor_ForEdge

func (t_ TextBlock) SetBorderColor_ForEdge(color IColor, edge foundation.RectEdge)

func (TextBlock) SetContentWidth_Type

func (t_ TextBlock) SetContentWidth_Type(val float64, type_ TextBlockValueType)

func (TextBlock) SetValue_Type_ForDimension

func (t_ TextBlock) SetValue_Type_ForDimension(val float64, type_ TextBlockValueType, dimension TextBlockDimension)

func (TextBlock) SetVerticalAlignment

func (t_ TextBlock) SetVerticalAlignment(value TextBlockVerticalAlignment)

func (TextBlock) SetWidth_Type_ForLayer

func (t_ TextBlock) SetWidth_Type_ForLayer(val float64, type_ TextBlockValueType, layer TextBlockLayer)

func (TextBlock) SetWidth_Type_ForLayer_Edge

func (t_ TextBlock) SetWidth_Type_ForLayer_Edge(val float64, type_ TextBlockValueType, layer TextBlockLayer, edge foundation.RectEdge)

func (TextBlock) ValueForDimension

func (t_ TextBlock) ValueForDimension(dimension TextBlockDimension) float64

func (TextBlock) ValueTypeForDimension

func (t_ TextBlock) ValueTypeForDimension(dimension TextBlockDimension) TextBlockValueType

func (TextBlock) VerticalAlignment

func (t_ TextBlock) VerticalAlignment() TextBlockVerticalAlignment

func (TextBlock) WidthForLayer_Edge

func (t_ TextBlock) WidthForLayer_Edge(layer TextBlockLayer, edge foundation.RectEdge) float64

func (TextBlock) WidthValueTypeForLayer_Edge

func (t_ TextBlock) WidthValueTypeForLayer_Edge(layer TextBlockLayer, edge foundation.RectEdge) TextBlockValueType

type TextBlockDimension

type TextBlockDimension uint
const TextBlockHeight TextBlockDimension = 4
const TextBlockMaximumHeight TextBlockDimension = 6
const TextBlockMaximumWidth TextBlockDimension = 2
const TextBlockMinimumHeight TextBlockDimension = 5
const TextBlockMinimumWidth TextBlockDimension = 1
const TextBlockWidth TextBlockDimension = 0

type TextBlockLayer

type TextBlockLayer int
const TextBlockBorder TextBlockLayer = 0
const TextBlockMargin TextBlockLayer = 1
const TextBlockPadding TextBlockLayer = -1

type TextBlockValueType

type TextBlockValueType uint
const TextBlockAbsoluteValueType TextBlockValueType = 0
const TextBlockPercentageValueType TextBlockValueType = 1

type TextBlockVerticalAlignment

type TextBlockVerticalAlignment uint
const TextBlockBaselineAlignment TextBlockVerticalAlignment = 3
const TextBlockBottomAlignment TextBlockVerticalAlignment = 2
const TextBlockMiddleAlignment TextBlockVerticalAlignment = 1
const TextBlockTopAlignment TextBlockVerticalAlignment = 0

type TextCheckingOptionKey added in v0.12.5

type TextCheckingOptionKey string
const TextCheckingDocumentAuthorKey TextCheckingOptionKey = "DocumentAuthor"
const TextCheckingDocumentTitleKey TextCheckingOptionKey = "DocumentTitle"
const TextCheckingDocumentURLKey TextCheckingOptionKey = "DocumentURL"
const TextCheckingOrthographyKey TextCheckingOptionKey = "Orthography"
const TextCheckingQuotesKey TextCheckingOptionKey = "Quotes"
const TextCheckingReferenceDateKey TextCheckingOptionKey = "ReferenceDate"
const TextCheckingReferenceTimeZoneKey TextCheckingOptionKey = "ReferenceTimeZone"
const TextCheckingRegularExpressionsKey TextCheckingOptionKey = "RegularExpressions"
const TextCheckingReplacementsKey TextCheckingOptionKey = "Replacements"
const TextCheckingSelectedRangeKey TextCheckingOptionKey = "SelectedRange"

type TextContainer

type TextContainer struct {
	objc.Object
}

func MakeTextContainer

func MakeTextContainer(ptr unsafe.Pointer) TextContainer

func NewTextContainer

func NewTextContainer() TextContainer

func (TextContainer) ContainerSize added in v0.14.5

func (t_ TextContainer) ContainerSize() foundation.Size

deprecated

func (TextContainer) ContainsPoint added in v0.14.5

func (t_ TextContainer) ContainsPoint(point foundation.Point) bool

deprecated

func (TextContainer) ExclusionPaths

func (t_ TextContainer) ExclusionPaths() []BezierPath

func (TextContainer) HeightTracksTextView

func (t_ TextContainer) HeightTracksTextView() bool

func (TextContainer) Init added in v0.11.0

func (t_ TextContainer) Init() TextContainer

func (TextContainer) InitWithContainerSize added in v0.14.5

func (t_ TextContainer) InitWithContainerSize(aContainerSize foundation.Size) TextContainer

func (TextContainer) InitWithSize added in v0.11.0

func (t_ TextContainer) InitWithSize(size foundation.Size) TextContainer

func (TextContainer) IsSimpleRectangularTextContainer

func (t_ TextContainer) IsSimpleRectangularTextContainer() bool

func (TextContainer) LayoutManager

func (t_ TextContainer) LayoutManager() LayoutManager

weak property

func (TextContainer) LineBreakMode

func (t_ TextContainer) LineBreakMode() LineBreakMode

func (TextContainer) LineFragmentPadding

func (t_ TextContainer) LineFragmentPadding() float64

func (TextContainer) LineFragmentRectForProposedRect_AtIndex_WritingDirection_RemainingRect added in v0.13.3

func (t_ TextContainer) LineFragmentRectForProposedRect_AtIndex_WritingDirection_RemainingRect(proposedRect foundation.Rect, characterIndex uint, baseWritingDirection WritingDirection, remainingRect *foundation.Rect) foundation.Rect

func (TextContainer) LineFragmentRectForProposedRect_SweepDirection_MovementDirection_RemainingRect added in v0.14.5

func (t_ TextContainer) LineFragmentRectForProposedRect_SweepDirection_MovementDirection_RemainingRect(proposedRect foundation.Rect, sweepDirection LineSweepDirection, movementDirection LineMovementDirection, remainingRect *foundation.Rect) foundation.Rect

deprecated

func (TextContainer) MaximumNumberOfLines

func (t_ TextContainer) MaximumNumberOfLines() uint

func (TextContainer) ReplaceLayoutManager

func (t_ TextContainer) ReplaceLayoutManager(newLayoutManager ILayoutManager)

func (TextContainer) SetContainerSize added in v0.14.5

func (t_ TextContainer) SetContainerSize(value foundation.Size)

deprecated

func (TextContainer) SetExclusionPaths

func (t_ TextContainer) SetExclusionPaths(value []IBezierPath)

func (TextContainer) SetHeightTracksTextView

func (t_ TextContainer) SetHeightTracksTextView(value bool)

func (TextContainer) SetLayoutManager

func (t_ TextContainer) SetLayoutManager(value ILayoutManager)

weak property

func (TextContainer) SetLineBreakMode

func (t_ TextContainer) SetLineBreakMode(value LineBreakMode)

func (TextContainer) SetLineFragmentPadding

func (t_ TextContainer) SetLineFragmentPadding(value float64)

func (TextContainer) SetMaximumNumberOfLines

func (t_ TextContainer) SetMaximumNumberOfLines(value uint)

func (TextContainer) SetSize

func (t_ TextContainer) SetSize(value foundation.Size)

func (TextContainer) SetTextView

func (t_ TextContainer) SetTextView(value ITextView)

weak property

func (TextContainer) SetWidthTracksTextView

func (t_ TextContainer) SetWidthTracksTextView(value bool)

func (TextContainer) Size

func (t_ TextContainer) Size() foundation.Size

func (TextContainer) TextLayoutManager added in v0.12.0

func (t_ TextContainer) TextLayoutManager() TextLayoutManager

weak property

func (TextContainer) TextView

func (t_ TextContainer) TextView() TextView

weak property

func (TextContainer) WidthTracksTextView

func (t_ TextContainer) WidthTracksTextView() bool

type TextContentManager added in v0.12.0

type TextContentManager struct {
	objc.Object
}

func MakeTextContentManager added in v0.12.0

func MakeTextContentManager(ptr unsafe.Pointer) TextContentManager

func NewTextContentManager added in v0.12.4

func NewTextContentManager() TextContentManager

func (TextContentManager) AddTextLayoutManager added in v0.12.0

func (t_ TextContentManager) AddTextLayoutManager(textLayoutManager ITextLayoutManager)

func (TextContentManager) AutomaticallySynchronizesTextLayoutManagers added in v0.12.0

func (t_ TextContentManager) AutomaticallySynchronizesTextLayoutManagers() bool

func (TextContentManager) AutomaticallySynchronizesToBackingStore added in v0.12.0

func (t_ TextContentManager) AutomaticallySynchronizesToBackingStore() bool

func (TextContentManager) HasEditingTransaction added in v0.12.0

func (t_ TextContentManager) HasEditingTransaction() bool

func (TextContentManager) Init added in v0.12.4

func (TextContentManager) PerformEditingTransactionUsingBlock added in v0.13.3

func (t_ TextContentManager) PerformEditingTransactionUsingBlock(transaction func())

func (TextContentManager) PrimaryTextLayoutManager added in v0.12.0

func (t_ TextContentManager) PrimaryTextLayoutManager() TextLayoutManager

func (TextContentManager) RecordEditActionInRange_NewTextRange added in v0.12.0

func (t_ TextContentManager) RecordEditActionInRange_NewTextRange(originalTextRange ITextRange, newTextRange ITextRange)

func (TextContentManager) RemoveTextLayoutManager added in v0.12.0

func (t_ TextContentManager) RemoveTextLayoutManager(textLayoutManager ITextLayoutManager)

func (TextContentManager) SetAutomaticallySynchronizesTextLayoutManagers added in v0.12.0

func (t_ TextContentManager) SetAutomaticallySynchronizesTextLayoutManagers(value bool)

func (TextContentManager) SetAutomaticallySynchronizesToBackingStore added in v0.12.0

func (t_ TextContentManager) SetAutomaticallySynchronizesToBackingStore(value bool)

func (TextContentManager) SetPrimaryTextLayoutManager added in v0.12.0

func (t_ TextContentManager) SetPrimaryTextLayoutManager(value ITextLayoutManager)

func (TextContentManager) SynchronizeTextLayoutManagers added in v0.13.3

func (t_ TextContentManager) SynchronizeTextLayoutManagers(completionHandler func(error foundation.Error))

func (TextContentManager) TextElementsForRange added in v0.12.0

func (t_ TextContentManager) TextElementsForRange(range_ ITextRange) []TextElement

func (TextContentManager) TextLayoutManagers added in v0.12.0

func (t_ TextContentManager) TextLayoutManagers() []TextLayoutManager

type TextContentStorage added in v0.12.0

type TextContentStorage struct {
	TextContentManager
}

func MakeTextContentStorage added in v0.12.0

func MakeTextContentStorage(ptr unsafe.Pointer) TextContentStorage

func NewTextContentStorage added in v0.12.4

func NewTextContentStorage() TextContentStorage

func (TextContentStorage) AdjustedRangeFromRange_ForEditingTextSelection added in v0.12.0

func (t_ TextContentStorage) AdjustedRangeFromRange_ForEditingTextSelection(textRange ITextRange, forEditingTextSelection bool) TextRange

func (TextContentStorage) AttributedString added in v0.12.0

func (t_ TextContentStorage) AttributedString() foundation.AttributedString

func (TextContentStorage) AttributedStringForTextElement added in v0.12.0

func (t_ TextContentStorage) AttributedStringForTextElement(textElement ITextElement) foundation.AttributedString

func (TextContentStorage) Init added in v0.12.4

func (TextContentStorage) SetAttributedString added in v0.12.0

func (t_ TextContentStorage) SetAttributedString(value foundation.IAttributedString)

func (TextContentStorage) TextElementForAttributedString added in v0.12.0

func (t_ TextContentStorage) TextElementForAttributedString(attributedString foundation.IAttributedString) TextElement

type TextDelegate

type TextDelegate interface {
	ImplementsTextDidChange() bool
	// optional
	TextDidChange(notification foundation.Notification)
	ImplementsTextShouldBeginEditing() bool
	// optional
	TextShouldBeginEditing(textObject Text) bool
	ImplementsTextDidBeginEditing() bool
	// optional
	TextDidBeginEditing(notification foundation.Notification)
	ImplementsTextShouldEndEditing() bool
	// optional
	TextShouldEndEditing(textObject Text) bool
	ImplementsTextDidEndEditing() bool
	// optional
	TextDidEndEditing(notification foundation.Notification)
}

type TextDelegateBase added in v0.18.0

type TextDelegateBase struct {
}

func (*TextDelegateBase) ImplementsTextDidBeginEditing added in v0.18.0

func (p *TextDelegateBase) ImplementsTextDidBeginEditing() bool

func (*TextDelegateBase) ImplementsTextDidChange added in v0.18.0

func (p *TextDelegateBase) ImplementsTextDidChange() bool

func (*TextDelegateBase) ImplementsTextDidEndEditing added in v0.18.0

func (p *TextDelegateBase) ImplementsTextDidEndEditing() bool

func (*TextDelegateBase) ImplementsTextShouldBeginEditing added in v0.18.0

func (p *TextDelegateBase) ImplementsTextShouldBeginEditing() bool

func (*TextDelegateBase) ImplementsTextShouldEndEditing added in v0.18.0

func (p *TextDelegateBase) ImplementsTextShouldEndEditing() bool

func (*TextDelegateBase) TextDidBeginEditing added in v0.18.0

func (p *TextDelegateBase) TextDidBeginEditing(notification foundation.Notification)

func (*TextDelegateBase) TextDidChange added in v0.18.0

func (p *TextDelegateBase) TextDidChange(notification foundation.Notification)

func (*TextDelegateBase) TextDidEndEditing added in v0.18.0

func (p *TextDelegateBase) TextDidEndEditing(notification foundation.Notification)

func (*TextDelegateBase) TextShouldBeginEditing added in v0.18.0

func (p *TextDelegateBase) TextShouldBeginEditing(textObject Text) bool

func (*TextDelegateBase) TextShouldEndEditing added in v0.18.0

func (p *TextDelegateBase) TextShouldEndEditing(textObject Text) bool

type TextDelegateCreator added in v0.19.0

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

func NewTextDelegateCreator added in v0.19.0

func NewTextDelegateCreator(name string) *TextDelegateCreator

func (*TextDelegateCreator) Create added in v0.19.0

func (*TextDelegateCreator) SetTextDidBeginEditing added in v0.19.0

func (c *TextDelegateCreator) SetTextDidBeginEditing(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*TextDelegateCreator) SetTextDidChange added in v0.19.0

func (c *TextDelegateCreator) SetTextDidChange(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*TextDelegateCreator) SetTextDidEndEditing added in v0.19.0

func (c *TextDelegateCreator) SetTextDidEndEditing(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*TextDelegateCreator) SetTextShouldBeginEditing added in v0.19.0

func (c *TextDelegateCreator) SetTextShouldBeginEditing(handle func(o objc.ProtocolBase, textObject Text) bool)

func (*TextDelegateCreator) SetTextShouldEndEditing added in v0.19.0

func (c *TextDelegateCreator) SetTextShouldEndEditing(handle func(o objc.ProtocolBase, textObject Text) bool)

type TextElement added in v0.12.0

type TextElement struct {
	objc.Object
}

func MakeTextElement added in v0.12.0

func MakeTextElement(ptr unsafe.Pointer) TextElement

func NewTextElement added in v0.12.4

func NewTextElement() TextElement

func (TextElement) ChildElements added in v0.13.5

func (t_ TextElement) ChildElements() []TextElement

func (TextElement) ElementRange added in v0.12.0

func (t_ TextElement) ElementRange() TextRange

func (TextElement) Init added in v0.12.4

func (t_ TextElement) Init() TextElement

func (TextElement) InitWithTextContentManager added in v0.12.0

func (t_ TextElement) InitWithTextContentManager(textContentManager ITextContentManager) TextElement

func (TextElement) IsRepresentedElement added in v0.13.5

func (t_ TextElement) IsRepresentedElement() bool

func (TextElement) ParentElement added in v0.13.5

func (t_ TextElement) ParentElement() TextElement

weak property

func (TextElement) SetElementRange added in v0.12.0

func (t_ TextElement) SetElementRange(value ITextRange)

func (TextElement) SetTextContentManager added in v0.12.0

func (t_ TextElement) SetTextContentManager(value ITextContentManager)

weak property

func (TextElement) TextContentManager added in v0.12.0

func (t_ TextElement) TextContentManager() TextContentManager

weak property

type TextField

type TextField struct {
	Control
}

func MakeTextField

func MakeTextField(ptr unsafe.Pointer) TextField

func NewLabel added in v0.15.3

func NewLabel(title string) TextField

NewLabel create a text field, which looks like a Label

func NewTextField

func NewTextField() TextField

func (TextField) AllowsCharacterPickerTouchBarItem

func (t_ TextField) AllowsCharacterPickerTouchBarItem() bool

func (TextField) AllowsDefaultTighteningForTruncation

func (t_ TextField) AllowsDefaultTighteningForTruncation() bool

func (TextField) AllowsEditingTextAttributes

func (t_ TextField) AllowsEditingTextAttributes() bool

func (TextField) BackgroundColor

func (t_ TextField) BackgroundColor() Color

func (TextField) BezelStyle

func (t_ TextField) BezelStyle() TextFieldBezelStyle

func (TextField) Delegate

func (t_ TextField) Delegate() objc.Object

weak property

func (TextField) DrawsBackground

func (t_ TextField) DrawsBackground() bool

func (TextField) ImportsGraphics

func (t_ TextField) ImportsGraphics() bool

func (TextField) Init added in v0.11.0

func (t_ TextField) Init() TextField

func (TextField) InitWithFrame added in v0.11.0

func (t_ TextField) InitWithFrame(frameRect foundation.Rect) TextField

func (TextField) IsAutomaticTextCompletionEnabled

func (t_ TextField) IsAutomaticTextCompletionEnabled() bool

func (TextField) IsBezeled

func (t_ TextField) IsBezeled() bool

func (TextField) IsBordered

func (t_ TextField) IsBordered() bool

func (TextField) IsEditable

func (t_ TextField) IsEditable() bool

func (TextField) IsSelectable

func (t_ TextField) IsSelectable() bool

func (TextField) LineBreakStrategy

func (t_ TextField) LineBreakStrategy() LineBreakStrategy

func (TextField) MaximumNumberOfLines

func (t_ TextField) MaximumNumberOfLines() int

func (TextField) PlaceholderAttributedString

func (t_ TextField) PlaceholderAttributedString() foundation.AttributedString

func (TextField) PlaceholderString

func (t_ TextField) PlaceholderString() string

func (TextField) PreferredMaxLayoutWidth

func (t_ TextField) PreferredMaxLayoutWidth() float64

func (TextField) SelectText

func (t_ TextField) SelectText(sender objc.IObject)

func (TextField) SetAllowsCharacterPickerTouchBarItem

func (t_ TextField) SetAllowsCharacterPickerTouchBarItem(value bool)

func (TextField) SetAllowsDefaultTighteningForTruncation

func (t_ TextField) SetAllowsDefaultTighteningForTruncation(value bool)

func (TextField) SetAllowsEditingTextAttributes

func (t_ TextField) SetAllowsEditingTextAttributes(value bool)

func (TextField) SetAutomaticTextCompletionEnabled

func (t_ TextField) SetAutomaticTextCompletionEnabled(value bool)

func (TextField) SetBackgroundColor

func (t_ TextField) SetBackgroundColor(value IColor)

func (TextField) SetBezelStyle

func (t_ TextField) SetBezelStyle(value TextFieldBezelStyle)

func (TextField) SetBezeled

func (t_ TextField) SetBezeled(value bool)

func (TextField) SetBordered

func (t_ TextField) SetBordered(value bool)

func (TextField) SetDelegate

func (t_ TextField) SetDelegate(value objc.IObject)

weak property

func (TextField) SetDrawsBackground

func (t_ TextField) SetDrawsBackground(value bool)

func (TextField) SetEditable

func (t_ TextField) SetEditable(value bool)

func (TextField) SetImportsGraphics

func (t_ TextField) SetImportsGraphics(value bool)

func (TextField) SetLineBreakStrategy

func (t_ TextField) SetLineBreakStrategy(value LineBreakStrategy)

func (TextField) SetMaximumNumberOfLines

func (t_ TextField) SetMaximumNumberOfLines(value int)

func (TextField) SetPlaceholderAttributedString

func (t_ TextField) SetPlaceholderAttributedString(value foundation.IAttributedString)

func (TextField) SetPlaceholderString

func (t_ TextField) SetPlaceholderString(value string)

func (TextField) SetPreferredMaxLayoutWidth

func (t_ TextField) SetPreferredMaxLayoutWidth(value float64)

func (TextField) SetSelectable

func (t_ TextField) SetSelectable(value bool)

func (TextField) SetTextColor

func (t_ TextField) SetTextColor(value IColor)

func (TextField) SetTitleWithMnemonic added in v0.14.5

func (t_ TextField) SetTitleWithMnemonic(stringWithAmpersand string)

deprecated

func (TextField) TextColor

func (t_ TextField) TextColor() Color

func (TextField) TextDidBeginEditing

func (t_ TextField) TextDidBeginEditing(notification foundation.INotification)

func (TextField) TextDidChange

func (t_ TextField) TextDidChange(notification foundation.INotification)

func (TextField) TextDidEndEditing

func (t_ TextField) TextDidEndEditing(notification foundation.INotification)

func (TextField) TextShouldBeginEditing

func (t_ TextField) TextShouldBeginEditing(textObject IText) bool

func (TextField) TextShouldEndEditing

func (t_ TextField) TextShouldEndEditing(textObject IText) bool

type TextFieldBezelStyle

type TextFieldBezelStyle uint
const TextFieldRoundedBezel TextFieldBezelStyle = 1
const TextFieldSquareBezel TextFieldBezelStyle = 0

type TextFieldCell

type TextFieldCell struct {
	ActionCell
}

func MakeTextFieldCell

func MakeTextFieldCell(ptr unsafe.Pointer) TextFieldCell

func NewTextFieldCell

func NewTextFieldCell() TextFieldCell

func (TextFieldCell) AllowedInputSourceLocales

func (t_ TextFieldCell) AllowedInputSourceLocales() []string

func (TextFieldCell) BackgroundColor

func (t_ TextFieldCell) BackgroundColor() Color

func (TextFieldCell) BezelStyle

func (t_ TextFieldCell) BezelStyle() TextFieldBezelStyle

func (TextFieldCell) DrawsBackground

func (t_ TextFieldCell) DrawsBackground() bool

func (TextFieldCell) Init added in v0.11.0

func (t_ TextFieldCell) Init() TextFieldCell

func (TextFieldCell) InitImageCell added in v0.13.0

func (t_ TextFieldCell) InitImageCell(image IImage) TextFieldCell

func (TextFieldCell) InitTextCell added in v0.11.0

func (t_ TextFieldCell) InitTextCell(string_ string) TextFieldCell

func (TextFieldCell) PlaceholderAttributedString

func (t_ TextFieldCell) PlaceholderAttributedString() foundation.AttributedString

func (TextFieldCell) PlaceholderString

func (t_ TextFieldCell) PlaceholderString() string

func (TextFieldCell) SetAllowedInputSourceLocales

func (t_ TextFieldCell) SetAllowedInputSourceLocales(value []string)

func (TextFieldCell) SetBackgroundColor

func (t_ TextFieldCell) SetBackgroundColor(value IColor)

func (TextFieldCell) SetBezelStyle

func (t_ TextFieldCell) SetBezelStyle(value TextFieldBezelStyle)

func (TextFieldCell) SetDrawsBackground

func (t_ TextFieldCell) SetDrawsBackground(value bool)

func (TextFieldCell) SetPlaceholderAttributedString

func (t_ TextFieldCell) SetPlaceholderAttributedString(value foundation.IAttributedString)

func (TextFieldCell) SetPlaceholderString

func (t_ TextFieldCell) SetPlaceholderString(value string)

func (TextFieldCell) SetTextColor

func (t_ TextFieldCell) SetTextColor(value IColor)

func (TextFieldCell) SetWantsNotificationForMarkedText

func (t_ TextFieldCell) SetWantsNotificationForMarkedText(flag bool)

func (TextFieldCell) TextColor

func (t_ TextFieldCell) TextColor() Color

type TextFieldDelegate

type TextFieldDelegate interface {
	ControlTextEditingDelegate
	ImplementsTextField_TextView_Candidates_ForSelectedRange() bool
	// optional
	TextField_TextView_Candidates_ForSelectedRange(textField TextField, textView TextView, candidates []foundation.TextCheckingResult, selectedRange foundation.Range) []foundation.ITextCheckingResult
	ImplementsTextField_TextView_CandidatesForSelectedRange() bool
	// optional
	TextField_TextView_CandidatesForSelectedRange(textField TextField, textView TextView, selectedRange foundation.Range) []objc.IObject
	ImplementsTextField_TextView_ShouldSelectCandidateAtIndex() bool
	// optional
	TextField_TextView_ShouldSelectCandidateAtIndex(textField TextField, textView TextView, index uint) bool
}

type TextFieldDelegateBase added in v0.18.0

type TextFieldDelegateBase struct {
	ControlTextEditingDelegateBase
}

func (*TextFieldDelegateBase) ImplementsTextField_TextView_CandidatesForSelectedRange added in v0.18.0

func (p *TextFieldDelegateBase) ImplementsTextField_TextView_CandidatesForSelectedRange() bool

func (*TextFieldDelegateBase) ImplementsTextField_TextView_Candidates_ForSelectedRange added in v0.18.0

func (p *TextFieldDelegateBase) ImplementsTextField_TextView_Candidates_ForSelectedRange() bool

func (*TextFieldDelegateBase) ImplementsTextField_TextView_ShouldSelectCandidateAtIndex added in v0.18.0

func (p *TextFieldDelegateBase) ImplementsTextField_TextView_ShouldSelectCandidateAtIndex() bool

func (*TextFieldDelegateBase) TextField_TextView_CandidatesForSelectedRange added in v0.18.0

func (p *TextFieldDelegateBase) TextField_TextView_CandidatesForSelectedRange(textField TextField, textView TextView, selectedRange foundation.Range) []objc.IObject

func (*TextFieldDelegateBase) TextField_TextView_Candidates_ForSelectedRange added in v0.18.0

func (p *TextFieldDelegateBase) TextField_TextView_Candidates_ForSelectedRange(textField TextField, textView TextView, candidates []foundation.TextCheckingResult, selectedRange foundation.Range) []foundation.ITextCheckingResult

func (*TextFieldDelegateBase) TextField_TextView_ShouldSelectCandidateAtIndex added in v0.18.0

func (p *TextFieldDelegateBase) TextField_TextView_ShouldSelectCandidateAtIndex(textField TextField, textView TextView, index uint) bool

type TextFieldDelegateCreator added in v0.19.0

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

func NewTextFieldDelegateCreator added in v0.19.0

func NewTextFieldDelegateCreator(name string) *TextFieldDelegateCreator

func (*TextFieldDelegateCreator) Create added in v0.19.0

func (*TextFieldDelegateCreator) SetTextField_TextView_CandidatesForSelectedRange added in v0.19.0

func (c *TextFieldDelegateCreator) SetTextField_TextView_CandidatesForSelectedRange(handle func(o objc.ProtocolBase, textField TextField, textView TextView, selectedRange foundation.Range) []objc.IObject)

func (*TextFieldDelegateCreator) SetTextField_TextView_Candidates_ForSelectedRange added in v0.19.0

func (c *TextFieldDelegateCreator) SetTextField_TextView_Candidates_ForSelectedRange(handle func(o objc.ProtocolBase, textField TextField, textView TextView, candidates []foundation.TextCheckingResult, selectedRange foundation.Range) []foundation.ITextCheckingResult)

func (*TextFieldDelegateCreator) SetTextField_TextView_ShouldSelectCandidateAtIndex added in v0.19.0

func (c *TextFieldDelegateCreator) SetTextField_TextView_ShouldSelectCandidateAtIndex(handle func(o objc.ProtocolBase, textField TextField, textView TextView, index uint) bool)

type TextInputContext

type TextInputContext struct {
	objc.Object
}

func MakeTextInputContext

func MakeTextInputContext(ptr unsafe.Pointer) TextInputContext

func NewTextInputContext added in v0.13.0

func NewTextInputContext() TextInputContext

func (TextInputContext) AcceptsGlyphInfo

func (t_ TextInputContext) AcceptsGlyphInfo() bool

func (TextInputContext) Activate

func (t_ TextInputContext) Activate()

func (TextInputContext) AllowedInputSourceLocales

func (t_ TextInputContext) AllowedInputSourceLocales() []string

func (TextInputContext) Deactivate

func (t_ TextInputContext) Deactivate()

func (TextInputContext) DiscardMarkedText

func (t_ TextInputContext) DiscardMarkedText()

func (TextInputContext) HandleEvent

func (t_ TextInputContext) HandleEvent(event IEvent) bool

func (TextInputContext) Init added in v0.13.0

func (TextInputContext) InvalidateCharacterCoordinates

func (t_ TextInputContext) InvalidateCharacterCoordinates()

func (TextInputContext) KeyboardInputSources

func (t_ TextInputContext) KeyboardInputSources() []TextInputSourceIdentifier

func (TextInputContext) SelectedKeyboardInputSource

func (t_ TextInputContext) SelectedKeyboardInputSource() TextInputSourceIdentifier

func (TextInputContext) SetAcceptsGlyphInfo

func (t_ TextInputContext) SetAcceptsGlyphInfo(value bool)

func (TextInputContext) SetAllowedInputSourceLocales

func (t_ TextInputContext) SetAllowedInputSourceLocales(value []string)

func (TextInputContext) SetSelectedKeyboardInputSource

func (t_ TextInputContext) SetSelectedKeyboardInputSource(value TextInputSourceIdentifier)

type TextInputSourceIdentifier

type TextInputSourceIdentifier string

type TextLayoutFragment added in v0.12.0

type TextLayoutFragment struct {
	objc.Object
}

func MakeTextLayoutFragment added in v0.12.0

func MakeTextLayoutFragment(ptr unsafe.Pointer) TextLayoutFragment

func NewTextLayoutFragment added in v0.12.4

func NewTextLayoutFragment() TextLayoutFragment

func (TextLayoutFragment) BottomMargin added in v0.12.0

func (t_ TextLayoutFragment) BottomMargin() float64

func (TextLayoutFragment) DrawAtPoint_InContext added in v0.12.0

func (t_ TextLayoutFragment) DrawAtPoint_InContext(point coregraphics.Point, context coregraphics.ContextRef)

func (TextLayoutFragment) Init added in v0.12.4

func (TextLayoutFragment) InitWithTextElement_Range added in v0.12.0

func (t_ TextLayoutFragment) InitWithTextElement_Range(textElement ITextElement, rangeInElement ITextRange) TextLayoutFragment

func (TextLayoutFragment) InvalidateLayout added in v0.12.0

func (t_ TextLayoutFragment) InvalidateLayout()

func (TextLayoutFragment) LayoutFragmentFrame added in v0.12.0

func (t_ TextLayoutFragment) LayoutFragmentFrame() coregraphics.Rect

func (TextLayoutFragment) LayoutQueue added in v0.12.0

func (t_ TextLayoutFragment) LayoutQueue() foundation.OperationQueue

func (TextLayoutFragment) LeadingPadding added in v0.12.0

func (t_ TextLayoutFragment) LeadingPadding() float64

func (TextLayoutFragment) RangeInElement added in v0.12.0

func (t_ TextLayoutFragment) RangeInElement() TextRange

func (TextLayoutFragment) RenderingSurfaceBounds added in v0.12.0

func (t_ TextLayoutFragment) RenderingSurfaceBounds() coregraphics.Rect

func (TextLayoutFragment) SetLayoutQueue added in v0.12.0

func (t_ TextLayoutFragment) SetLayoutQueue(value foundation.IOperationQueue)

func (TextLayoutFragment) State added in v0.12.0

func (TextLayoutFragment) TextAttachmentViewProviders added in v0.12.0

func (t_ TextLayoutFragment) TextAttachmentViewProviders() []TextAttachmentViewProvider

func (TextLayoutFragment) TextElement added in v0.12.0

func (t_ TextLayoutFragment) TextElement() TextElement

weak property

func (TextLayoutFragment) TextLayoutManager added in v0.12.0

func (t_ TextLayoutFragment) TextLayoutManager() TextLayoutManager

weak property

func (TextLayoutFragment) TextLineFragments added in v0.12.0

func (t_ TextLayoutFragment) TextLineFragments() []TextLineFragment

func (TextLayoutFragment) TopMargin added in v0.12.0

func (t_ TextLayoutFragment) TopMargin() float64

func (TextLayoutFragment) TrailingPadding added in v0.12.0

func (t_ TextLayoutFragment) TrailingPadding() float64

type TextLayoutFragmentEnumerationOptions added in v0.12.5

type TextLayoutFragmentEnumerationOptions uint
const TextLayoutFragmentEnumerationOptionsEnsuresExtraLineFragment TextLayoutFragmentEnumerationOptions = 8
const TextLayoutFragmentEnumerationOptionsEnsuresLayout TextLayoutFragmentEnumerationOptions = 4
const TextLayoutFragmentEnumerationOptionsEstimatesSize TextLayoutFragmentEnumerationOptions = 2
const TextLayoutFragmentEnumerationOptionsNone TextLayoutFragmentEnumerationOptions = 0
const TextLayoutFragmentEnumerationOptionsReverse TextLayoutFragmentEnumerationOptions = 1

type TextLayoutFragmentState added in v0.12.0

type TextLayoutFragmentState uint
const TextLayoutFragmentStateCalculatedUsageBounds TextLayoutFragmentState = 2
const TextLayoutFragmentStateEstimatedUsageBounds TextLayoutFragmentState = 1
const TextLayoutFragmentStateLayoutAvailable TextLayoutFragmentState = 3
const TextLayoutFragmentStateNone TextLayoutFragmentState = 0

type TextLayoutManager added in v0.12.0

type TextLayoutManager struct {
	objc.Object
}

func MakeTextLayoutManager added in v0.12.0

func MakeTextLayoutManager(ptr unsafe.Pointer) TextLayoutManager

func NewTextLayoutManager added in v0.12.4

func NewTextLayoutManager() TextLayoutManager

func (TextLayoutManager) AddRenderingAttribute_Value_ForTextRange added in v0.12.0

func (t_ TextLayoutManager) AddRenderingAttribute_Value_ForTextRange(renderingAttribute foundation.AttributedStringKey, value objc.IObject, textRange ITextRange)

func (TextLayoutManager) EnsureLayoutForBounds added in v0.12.0

func (t_ TextLayoutManager) EnsureLayoutForBounds(bounds coregraphics.Rect)

func (TextLayoutManager) EnsureLayoutForRange added in v0.12.0

func (t_ TextLayoutManager) EnsureLayoutForRange(range_ ITextRange)

func (TextLayoutManager) EnumerateTextSegmentsInRange_Type_Options_UsingBlock added in v0.13.3

func (t_ TextLayoutManager) EnumerateTextSegmentsInRange_Type_Options_UsingBlock(textRange ITextRange, type_ TextLayoutManagerSegmentType, options TextLayoutManagerSegmentOptions, block func(textSegmentRange TextRange, textSegmentFrame coregraphics.Rect, baselinePosition float64, textContainer TextContainer) bool)

func (TextLayoutManager) Init added in v0.12.4

func (TextLayoutManager) InvalidateLayoutForRange added in v0.12.0

func (t_ TextLayoutManager) InvalidateLayoutForRange(range_ ITextRange)

func (TextLayoutManager) InvalidateRenderingAttributesForTextRange added in v0.12.0

func (t_ TextLayoutManager) InvalidateRenderingAttributesForTextRange(textRange ITextRange)

func (TextLayoutManager) LayoutQueue added in v0.12.0

func (t_ TextLayoutManager) LayoutQueue() foundation.OperationQueue

func (TextLayoutManager) LimitsLayoutForSuspiciousContents added in v0.12.0

func (t_ TextLayoutManager) LimitsLayoutForSuspiciousContents() bool

func (TextLayoutManager) RemoveRenderingAttribute_ForTextRange added in v0.12.0

func (t_ TextLayoutManager) RemoveRenderingAttribute_ForTextRange(renderingAttribute foundation.AttributedStringKey, textRange ITextRange)

func (TextLayoutManager) RenderingAttributesValidator added in v0.13.3

func (t_ TextLayoutManager) RenderingAttributesValidator() func(textLayoutManager ITextLayoutManager, textLayoutFragment ITextLayoutFragment)

func (TextLayoutManager) ReplaceContentsInRange_WithAttributedString added in v0.12.0

func (t_ TextLayoutManager) ReplaceContentsInRange_WithAttributedString(range_ ITextRange, attributedString foundation.IAttributedString)

func (TextLayoutManager) ReplaceContentsInRange_WithTextElements added in v0.12.0

func (t_ TextLayoutManager) ReplaceContentsInRange_WithTextElements(range_ ITextRange, textElements []ITextElement)

func (TextLayoutManager) ReplaceTextContentManager added in v0.12.0

func (t_ TextLayoutManager) ReplaceTextContentManager(textContentManager ITextContentManager)

func (TextLayoutManager) SetLayoutQueue added in v0.12.0

func (t_ TextLayoutManager) SetLayoutQueue(value foundation.IOperationQueue)

func (TextLayoutManager) SetLimitsLayoutForSuspiciousContents added in v0.12.0

func (t_ TextLayoutManager) SetLimitsLayoutForSuspiciousContents(value bool)

func (TextLayoutManager) SetRenderingAttributesValidator added in v0.13.3

func (t_ TextLayoutManager) SetRenderingAttributesValidator(value func(textLayoutManager TextLayoutManager, textLayoutFragment TextLayoutFragment))

func (TextLayoutManager) SetRenderingAttributes_ForTextRange added in v0.12.0

func (t_ TextLayoutManager) SetRenderingAttributes_ForTextRange(renderingAttributes map[foundation.AttributedStringKey]objc.IObject, textRange ITextRange)

func (TextLayoutManager) SetTextContainer added in v0.12.0

func (t_ TextLayoutManager) SetTextContainer(value ITextContainer)

func (TextLayoutManager) SetTextSelectionNavigation added in v0.12.0

func (t_ TextLayoutManager) SetTextSelectionNavigation(value ITextSelectionNavigation)

func (TextLayoutManager) SetTextSelections added in v0.12.0

func (t_ TextLayoutManager) SetTextSelections(value []ITextSelection)

func (TextLayoutManager) SetUsesFontLeading added in v0.12.0

func (t_ TextLayoutManager) SetUsesFontLeading(value bool)

func (TextLayoutManager) SetUsesHyphenation added in v0.12.0

func (t_ TextLayoutManager) SetUsesHyphenation(value bool)

func (TextLayoutManager) TextContainer added in v0.12.0

func (t_ TextLayoutManager) TextContainer() TextContainer

func (TextLayoutManager) TextContentManager added in v0.12.0

func (t_ TextLayoutManager) TextContentManager() TextContentManager

weak property

func (TextLayoutManager) TextLayoutFragmentForPosition added in v0.12.0

func (t_ TextLayoutManager) TextLayoutFragmentForPosition(position coregraphics.Point) TextLayoutFragment

func (TextLayoutManager) TextSelectionNavigation added in v0.12.0

func (t_ TextLayoutManager) TextSelectionNavigation() TextSelectionNavigation

func (TextLayoutManager) TextSelections added in v0.12.0

func (t_ TextLayoutManager) TextSelections() []TextSelection

func (TextLayoutManager) TextViewportLayoutController added in v0.12.0

func (t_ TextLayoutManager) TextViewportLayoutController() TextViewportLayoutController

func (TextLayoutManager) UsageBoundsForTextContainer added in v0.12.0

func (t_ TextLayoutManager) UsageBoundsForTextContainer() coregraphics.Rect

func (TextLayoutManager) UsesFontLeading added in v0.12.0

func (t_ TextLayoutManager) UsesFontLeading() bool

func (TextLayoutManager) UsesHyphenation added in v0.12.0

func (t_ TextLayoutManager) UsesHyphenation() bool

type TextLayoutManagerSegmentOptions added in v0.12.5

type TextLayoutManagerSegmentOptions uint
const TextLayoutManagerSegmentOptionsHeadSegmentExtended TextLayoutManagerSegmentOptions = 4
const TextLayoutManagerSegmentOptionsMiddleFragmentsExcluded TextLayoutManagerSegmentOptions = 2
const TextLayoutManagerSegmentOptionsNone TextLayoutManagerSegmentOptions = 0
const TextLayoutManagerSegmentOptionsRangeNotRequired TextLayoutManagerSegmentOptions = 1
const TextLayoutManagerSegmentOptionsTailSegmentExtended TextLayoutManagerSegmentOptions = 8
const TextLayoutManagerSegmentOptionsUpstreamAffinity TextLayoutManagerSegmentOptions = 16

type TextLayoutManagerSegmentType added in v0.12.5

type TextLayoutManagerSegmentType int
const TextLayoutManagerSegmentTypeHighlight TextLayoutManagerSegmentType = 2
const TextLayoutManagerSegmentTypeSelection TextLayoutManagerSegmentType = 1
const TextLayoutManagerSegmentTypeStandard TextLayoutManagerSegmentType = 0

type TextLayoutOrientation

type TextLayoutOrientation int
const TextLayoutOrientationHorizontal TextLayoutOrientation = 0
const TextLayoutOrientationVertical TextLayoutOrientation = 1

type TextLineFragment added in v0.12.0

type TextLineFragment struct {
	objc.Object
}

func MakeTextLineFragment added in v0.12.0

func MakeTextLineFragment(ptr unsafe.Pointer) TextLineFragment

func NewTextLineFragment added in v0.12.4

func NewTextLineFragment() TextLineFragment

func (TextLineFragment) AttributedString added in v0.12.0

func (t_ TextLineFragment) AttributedString() foundation.AttributedString

func (TextLineFragment) CharacterIndexForPoint added in v0.12.0

func (t_ TextLineFragment) CharacterIndexForPoint(point coregraphics.Point) int

func (TextLineFragment) CharacterRange added in v0.12.0

func (t_ TextLineFragment) CharacterRange() foundation.Range

func (TextLineFragment) DrawAtPoint_InContext added in v0.12.0

func (t_ TextLineFragment) DrawAtPoint_InContext(point coregraphics.Point, context coregraphics.ContextRef)

func (TextLineFragment) FractionOfDistanceThroughGlyphForPoint added in v0.12.0

func (t_ TextLineFragment) FractionOfDistanceThroughGlyphForPoint(point coregraphics.Point) float64

func (TextLineFragment) GlyphOrigin added in v0.12.0

func (t_ TextLineFragment) GlyphOrigin() coregraphics.Point

func (TextLineFragment) Init added in v0.12.4

func (TextLineFragment) InitWithAttributedString_Range added in v0.12.0

func (t_ TextLineFragment) InitWithAttributedString_Range(attributedString foundation.IAttributedString, range_ foundation.Range) TextLineFragment

func (TextLineFragment) InitWithString_Attributes_Range added in v0.12.0

func (t_ TextLineFragment) InitWithString_Attributes_Range(string_ string, attributes map[foundation.AttributedStringKey]objc.IObject, range_ foundation.Range) TextLineFragment

func (TextLineFragment) LocationForCharacterAtIndex added in v0.12.0

func (t_ TextLineFragment) LocationForCharacterAtIndex(index int) coregraphics.Point

func (TextLineFragment) TypographicBounds added in v0.12.0

func (t_ TextLineFragment) TypographicBounds() coregraphics.Rect

type TextList

type TextList struct {
	objc.Object
}

func MakeTextList

func MakeTextList(ptr unsafe.Pointer) TextList

func NewTextList

func NewTextList() TextList

func (TextList) Init added in v0.11.0

func (t_ TextList) Init() TextList

func (TextList) InitWithMarkerFormat_Options added in v0.11.0

func (t_ TextList) InitWithMarkerFormat_Options(markerFormat TextListMarkerFormat, options uint) TextList

func (TextList) InitWithMarkerFormat_Options_StartingItemNumber added in v0.13.5

func (t_ TextList) InitWithMarkerFormat_Options_StartingItemNumber(markerFormat TextListMarkerFormat, options TextListOptions, startingItemNumber int) TextList

func (TextList) IsOrdered added in v0.13.5

func (t_ TextList) IsOrdered() bool

func (TextList) ListOptions

func (t_ TextList) ListOptions() TextListOptions

func (TextList) MarkerForItemNumber

func (t_ TextList) MarkerForItemNumber(itemNumber int) string

func (TextList) MarkerFormat

func (t_ TextList) MarkerFormat() TextListMarkerFormat

func (TextList) SetStartingItemNumber

func (t_ TextList) SetStartingItemNumber(value int)

func (TextList) StartingItemNumber

func (t_ TextList) StartingItemNumber() int

type TextListMarkerFormat

type TextListMarkerFormat string
const TextListMarkerBox TextListMarkerFormat = "{box}"
const TextListMarkerCheck TextListMarkerFormat = "{check}"
const TextListMarkerCircle TextListMarkerFormat = "{circle}"
const TextListMarkerDecimal TextListMarkerFormat = "{decimal}"
const TextListMarkerDiamond TextListMarkerFormat = "{diamond}"
const TextListMarkerDisc TextListMarkerFormat = "{disc}"
const TextListMarkerHyphen TextListMarkerFormat = "{hyphen}"
const TextListMarkerLowercaseAlpha TextListMarkerFormat = "{lower-alpha}"
const TextListMarkerLowercaseHexadecimal TextListMarkerFormat = "{lower-hexadecimal}"
const TextListMarkerLowercaseLatin TextListMarkerFormat = "{lower-latin}"
const TextListMarkerLowercaseRoman TextListMarkerFormat = "{lower-roman}"
const TextListMarkerOctal TextListMarkerFormat = "{octal}"
const TextListMarkerSquare TextListMarkerFormat = "{square}"
const TextListMarkerUppercaseAlpha TextListMarkerFormat = "{upper-alpha}"
const TextListMarkerUppercaseHexadecimal TextListMarkerFormat = "{upper-hexadecimal}"
const TextListMarkerUppercaseLatin TextListMarkerFormat = "{upper-latin}"
const TextListMarkerUppercaseRoman TextListMarkerFormat = "{upper-roman}"

type TextListOptions

type TextListOptions uint
const TextListPrependEnclosingMarker TextListOptions = 1

type TextRange added in v0.12.0

type TextRange struct {
	objc.Object
}

func MakeTextRange added in v0.12.0

func MakeTextRange(ptr unsafe.Pointer) TextRange

func NewTextRange added in v0.12.4

func NewTextRange() TextRange

func (TextRange) ContainsRange added in v0.12.0

func (t_ TextRange) ContainsRange(textRange ITextRange) bool

func (TextRange) Init added in v0.12.4

func (t_ TextRange) Init() TextRange

func (TextRange) IntersectsWithTextRange added in v0.12.0

func (t_ TextRange) IntersectsWithTextRange(textRange ITextRange) bool

func (TextRange) IsEmpty added in v0.12.0

func (t_ TextRange) IsEmpty() bool

func (TextRange) IsEqualToTextRange added in v0.12.0

func (t_ TextRange) IsEqualToTextRange(textRange ITextRange) bool

func (TextRange) TextRangeByFormingUnionWithTextRange added in v0.12.0

func (t_ TextRange) TextRangeByFormingUnionWithTextRange(textRange ITextRange) TextRange

func (TextRange) TextRangeByIntersectingWithTextRange added in v0.12.0

func (t_ TextRange) TextRangeByIntersectingWithTextRange(textRange ITextRange) TextRange

type TextSelection added in v0.12.0

type TextSelection struct {
	objc.Object
}

func MakeTextSelection added in v0.12.0

func MakeTextSelection(ptr unsafe.Pointer) TextSelection

func NewTextSelection added in v0.12.4

func NewTextSelection() TextSelection

func (TextSelection) Affinity added in v0.12.0

func (t_ TextSelection) Affinity() TextSelectionAffinity

func (TextSelection) AnchorPositionOffset added in v0.12.0

func (t_ TextSelection) AnchorPositionOffset() float64

func (TextSelection) Granularity added in v0.12.0

func (t_ TextSelection) Granularity() TextSelectionGranularity

func (TextSelection) Init added in v0.12.4

func (t_ TextSelection) Init() TextSelection

func (TextSelection) InitWithRange_Affinity_Granularity added in v0.12.0

func (t_ TextSelection) InitWithRange_Affinity_Granularity(range_ ITextRange, affinity TextSelectionAffinity, granularity TextSelectionGranularity) TextSelection

func (TextSelection) InitWithRanges_Affinity_Granularity added in v0.12.0

func (t_ TextSelection) InitWithRanges_Affinity_Granularity(textRanges []ITextRange, affinity TextSelectionAffinity, granularity TextSelectionGranularity) TextSelection

func (TextSelection) IsLogical added in v0.12.0

func (t_ TextSelection) IsLogical() bool

func (TextSelection) IsTransient added in v0.12.0

func (t_ TextSelection) IsTransient() bool

func (TextSelection) SetAnchorPositionOffset added in v0.12.0

func (t_ TextSelection) SetAnchorPositionOffset(value float64)

func (TextSelection) SetLogical added in v0.12.0

func (t_ TextSelection) SetLogical(value bool)

func (TextSelection) SetTypingAttributes added in v0.12.0

func (t_ TextSelection) SetTypingAttributes(value map[foundation.AttributedStringKey]objc.IObject)

func (TextSelection) TextRanges added in v0.12.0

func (t_ TextSelection) TextRanges() []TextRange

func (TextSelection) TextSelectionWithTextRanges added in v0.12.0

func (t_ TextSelection) TextSelectionWithTextRanges(textRanges []ITextRange) TextSelection

func (TextSelection) TypingAttributes added in v0.12.0

func (t_ TextSelection) TypingAttributes() map[foundation.AttributedStringKey]objc.Object

type TextSelectionAffinity added in v0.12.0

type TextSelectionAffinity int
const TextSelectionAffinityDownstream TextSelectionAffinity = 1
const TextSelectionAffinityUpstream TextSelectionAffinity = 0

type TextSelectionGranularity added in v0.12.0

type TextSelectionGranularity int
const TextSelectionGranularityCharacter TextSelectionGranularity = 0
const TextSelectionGranularityLine TextSelectionGranularity = 3
const TextSelectionGranularityParagraph TextSelectionGranularity = 2
const TextSelectionGranularitySentence TextSelectionGranularity = 4
const TextSelectionGranularityWord TextSelectionGranularity = 1

type TextSelectionNavigation added in v0.12.0

type TextSelectionNavigation struct {
	objc.Object
}

func MakeTextSelectionNavigation added in v0.12.0

func MakeTextSelectionNavigation(ptr unsafe.Pointer) TextSelectionNavigation

func NewTextSelectionNavigation added in v0.12.4

func NewTextSelectionNavigation() TextSelectionNavigation

func (TextSelectionNavigation) AllowsNonContiguousRanges added in v0.12.0

func (t_ TextSelectionNavigation) AllowsNonContiguousRanges() bool

func (TextSelectionNavigation) DeletionRangesForTextSelection_Direction_Destination_AllowsDecomposition added in v0.12.0

func (t_ TextSelectionNavigation) DeletionRangesForTextSelection_Direction_Destination_AllowsDecomposition(textSelection ITextSelection, direction TextSelectionNavigationDirection, destination TextSelectionNavigationDestination, allowsDecomposition bool) []TextRange

func (TextSelectionNavigation) DestinationSelectionForTextSelection_Direction_Destination_Extending_Confined added in v0.12.0

func (t_ TextSelectionNavigation) DestinationSelectionForTextSelection_Direction_Destination_Extending_Confined(textSelection ITextSelection, direction TextSelectionNavigationDirection, destination TextSelectionNavigationDestination, extending bool, confined bool) TextSelection

func (TextSelectionNavigation) FlushLayoutCache added in v0.12.0

func (t_ TextSelectionNavigation) FlushLayoutCache()

func (TextSelectionNavigation) Init added in v0.12.4

func (TextSelectionNavigation) RotatesCoordinateSystemForLayoutOrientation added in v0.12.0

func (t_ TextSelectionNavigation) RotatesCoordinateSystemForLayoutOrientation() bool

func (TextSelectionNavigation) SetAllowsNonContiguousRanges added in v0.12.0

func (t_ TextSelectionNavigation) SetAllowsNonContiguousRanges(value bool)

func (TextSelectionNavigation) SetRotatesCoordinateSystemForLayoutOrientation added in v0.12.0

func (t_ TextSelectionNavigation) SetRotatesCoordinateSystemForLayoutOrientation(value bool)

func (TextSelectionNavigation) TextSelectionForSelectionGranularity_EnclosingTextSelection added in v0.12.0

func (t_ TextSelectionNavigation) TextSelectionForSelectionGranularity_EnclosingTextSelection(selectionGranularity TextSelectionGranularity, textSelection ITextSelection) TextSelection

type TextSelectionNavigationDestination added in v0.12.0

type TextSelectionNavigationDestination int
const TextSelectionNavigationDestinationCharacter TextSelectionNavigationDestination = 0
const TextSelectionNavigationDestinationContainer TextSelectionNavigationDestination = 5
const TextSelectionNavigationDestinationDocument TextSelectionNavigationDestination = 6
const TextSelectionNavigationDestinationLine TextSelectionNavigationDestination = 2
const TextSelectionNavigationDestinationParagraph TextSelectionNavigationDestination = 4
const TextSelectionNavigationDestinationSentence TextSelectionNavigationDestination = 3
const TextSelectionNavigationDestinationWord TextSelectionNavigationDestination = 1

type TextSelectionNavigationDirection added in v0.12.0

type TextSelectionNavigationDirection int
const TextSelectionNavigationDirectionBackward TextSelectionNavigationDirection = 1
const TextSelectionNavigationDirectionDown TextSelectionNavigationDirection = 5
const TextSelectionNavigationDirectionForward TextSelectionNavigationDirection = 0
const TextSelectionNavigationDirectionLeft TextSelectionNavigationDirection = 3
const TextSelectionNavigationDirectionRight TextSelectionNavigationDirection = 2
const TextSelectionNavigationDirectionUp TextSelectionNavigationDirection = 4

type TextSelectionNavigationModifier added in v0.12.0

type TextSelectionNavigationModifier uint
const TextSelectionNavigationModifierExtend TextSelectionNavigationModifier = 1
const TextSelectionNavigationModifierMultiple TextSelectionNavigationModifier = 4
const TextSelectionNavigationModifierVisual TextSelectionNavigationModifier = 2

type TextSelectionNavigationWritingDirection added in v0.12.0

type TextSelectionNavigationWritingDirection int
const TextSelectionNavigationWritingDirectionLeftToRight TextSelectionNavigationWritingDirection = 0
const TextSelectionNavigationWritingDirectionRightToLeft TextSelectionNavigationWritingDirection = 1

type TextStorage

type TextStorage struct {
	foundation.MutableAttributedString
}

func MakeTextStorage

func MakeTextStorage(ptr unsafe.Pointer) TextStorage

func NewTextStorage

func NewTextStorage() TextStorage

func (TextStorage) AddLayoutManager

func (t_ TextStorage) AddLayoutManager(aLayoutManager ILayoutManager)

func (TextStorage) AttributeRuns

func (t_ TextStorage) AttributeRuns() []TextStorage

func (TextStorage) ChangeInLength

func (t_ TextStorage) ChangeInLength() int

func (TextStorage) Characters

func (t_ TextStorage) Characters() []TextStorage

func (TextStorage) Delegate

func (t_ TextStorage) Delegate() objc.Object

weak property

func (TextStorage) EditedMask

func (t_ TextStorage) EditedMask() TextStorageEditActions

func (TextStorage) EditedRange

func (t_ TextStorage) EditedRange() foundation.Range

func (TextStorage) Edited_Range_ChangeInLength

func (t_ TextStorage) Edited_Range_ChangeInLength(editedMask TextStorageEditActions, editedRange foundation.Range, delta int)

func (TextStorage) EnsureAttributesAreFixedInRange

func (t_ TextStorage) EnsureAttributesAreFixedInRange(range_ foundation.Range)

func (TextStorage) FixesAttributesLazily

func (t_ TextStorage) FixesAttributesLazily() bool

func (TextStorage) Font

func (t_ TextStorage) Font() Font

func (TextStorage) ForegroundColor

func (t_ TextStorage) ForegroundColor() Color

func (TextStorage) Init added in v0.11.0

func (t_ TextStorage) Init() TextStorage

func (TextStorage) InitWithAttributedString added in v0.13.0

func (t_ TextStorage) InitWithAttributedString(attrStr foundation.IAttributedString) TextStorage

func (TextStorage) InitWithString added in v0.13.0

func (t_ TextStorage) InitWithString(str string) TextStorage

func (TextStorage) InitWithString_Attributes added in v0.13.0

func (t_ TextStorage) InitWithString_Attributes(str string, attrs map[foundation.AttributedStringKey]objc.IObject) TextStorage

func (TextStorage) InvalidateAttributesInRange

func (t_ TextStorage) InvalidateAttributesInRange(range_ foundation.Range)

func (TextStorage) LayoutManagers

func (t_ TextStorage) LayoutManagers() []LayoutManager

func (TextStorage) Paragraphs

func (t_ TextStorage) Paragraphs() []TextStorage

func (TextStorage) ProcessEditing

func (t_ TextStorage) ProcessEditing()

func (TextStorage) RemoveLayoutManager

func (t_ TextStorage) RemoveLayoutManager(aLayoutManager ILayoutManager)

func (TextStorage) SetAttributeRuns

func (t_ TextStorage) SetAttributeRuns(value []ITextStorage)

func (TextStorage) SetCharacters

func (t_ TextStorage) SetCharacters(value []ITextStorage)

func (TextStorage) SetDelegate

func (t_ TextStorage) SetDelegate(value objc.IObject)

weak property

func (TextStorage) SetFont

func (t_ TextStorage) SetFont(value IFont)

func (TextStorage) SetForegroundColor

func (t_ TextStorage) SetForegroundColor(value IColor)

func (TextStorage) SetParagraphs

func (t_ TextStorage) SetParagraphs(value []ITextStorage)

func (TextStorage) SetWords

func (t_ TextStorage) SetWords(value []ITextStorage)

func (TextStorage) Words

func (t_ TextStorage) Words() []TextStorage

type TextStorageDelegate added in v0.13.0

type TextStorageDelegate interface {
	ImplementsTextStorage_WillProcessEditing_Range_ChangeInLength() bool
	// optional
	TextStorage_WillProcessEditing_Range_ChangeInLength(textStorage TextStorage, editedMask TextStorageEditActions, editedRange foundation.Range, delta int)
	ImplementsTextStorage_DidProcessEditing_Range_ChangeInLength() bool
	// optional
	TextStorage_DidProcessEditing_Range_ChangeInLength(textStorage TextStorage, editedMask TextStorageEditActions, editedRange foundation.Range, delta int)
}

type TextStorageDelegateBase added in v0.18.0

type TextStorageDelegateBase struct {
}

func (*TextStorageDelegateBase) ImplementsTextStorage_DidProcessEditing_Range_ChangeInLength added in v0.18.0

func (p *TextStorageDelegateBase) ImplementsTextStorage_DidProcessEditing_Range_ChangeInLength() bool

func (*TextStorageDelegateBase) ImplementsTextStorage_WillProcessEditing_Range_ChangeInLength added in v0.18.0

func (p *TextStorageDelegateBase) ImplementsTextStorage_WillProcessEditing_Range_ChangeInLength() bool

func (*TextStorageDelegateBase) TextStorage_DidProcessEditing_Range_ChangeInLength added in v0.18.0

func (p *TextStorageDelegateBase) TextStorage_DidProcessEditing_Range_ChangeInLength(textStorage TextStorage, editedMask TextStorageEditActions, editedRange foundation.Range, delta int)

func (*TextStorageDelegateBase) TextStorage_WillProcessEditing_Range_ChangeInLength added in v0.18.0

func (p *TextStorageDelegateBase) TextStorage_WillProcessEditing_Range_ChangeInLength(textStorage TextStorage, editedMask TextStorageEditActions, editedRange foundation.Range, delta int)

type TextStorageDelegateCreator added in v0.19.0

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

func NewTextStorageDelegateCreator added in v0.19.0

func NewTextStorageDelegateCreator(name string) *TextStorageDelegateCreator

func (*TextStorageDelegateCreator) Create added in v0.19.0

func (*TextStorageDelegateCreator) SetTextStorage_DidProcessEditing_Range_ChangeInLength added in v0.19.0

func (c *TextStorageDelegateCreator) SetTextStorage_DidProcessEditing_Range_ChangeInLength(handle func(o objc.ProtocolBase, textStorage TextStorage, editedMask TextStorageEditActions, editedRange foundation.Range, delta int))

func (*TextStorageDelegateCreator) SetTextStorage_WillProcessEditing_Range_ChangeInLength added in v0.19.0

func (c *TextStorageDelegateCreator) SetTextStorage_WillProcessEditing_Range_ChangeInLength(handle func(o objc.ProtocolBase, textStorage TextStorage, editedMask TextStorageEditActions, editedRange foundation.Range, delta int))

type TextStorageEditActions

type TextStorageEditActions uint
const TextStorageEditedAttributes TextStorageEditActions = 1
const TextStorageEditedCharacters TextStorageEditActions = 2

type TextStorageEditedOptions added in v0.14.5

type TextStorageEditedOptions uint

type TextTab

type TextTab struct {
	objc.Object
}

func MakeTextTab

func MakeTextTab(ptr unsafe.Pointer) TextTab

func NewTextTab

func NewTextTab() TextTab

func (TextTab) Alignment

func (t_ TextTab) Alignment() TextAlignment

func (TextTab) Init added in v0.11.0

func (t_ TextTab) Init() TextTab

func (TextTab) InitWithTextAlignment_Location_Options added in v0.11.0

func (t_ TextTab) InitWithTextAlignment_Location_Options(alignment TextAlignment, loc float64, options map[TextTabOptionKey]objc.IObject) TextTab

func (TextTab) InitWithType_Location added in v0.14.5

func (t_ TextTab) InitWithType_Location(type_ TextTabType, loc float64) TextTab

func (TextTab) Location

func (t_ TextTab) Location() float64

func (TextTab) Options

func (t_ TextTab) Options() map[TextTabOptionKey]objc.Object

func (TextTab) TabStopType added in v0.14.5

func (t_ TextTab) TabStopType() TextTabType

deprecated

type TextTabOptionKey

type TextTabOptionKey string
const TabColumnTerminatorsAttributeName TextTabOptionKey = "NSTabColumnTerminatorsAttributeName"

type TextTabType added in v0.14.5

type TextTabType uint
const CenterTabStopType TextTabType = 2
const DecimalTabStopType TextTabType = 3
const LeftTabStopType TextTabType = 0
const RightTabStopType TextTabType = 1

type TextTable added in v0.13.0

type TextTable struct {
	TextBlock
}

func MakeTextTable added in v0.13.0

func MakeTextTable(ptr unsafe.Pointer) TextTable

func NewTextTable added in v0.13.0

func NewTextTable() TextTable

func (TextTable) CollapsesBorders added in v0.13.0

func (t_ TextTable) CollapsesBorders() bool

func (TextTable) HidesEmptyCells added in v0.13.0

func (t_ TextTable) HidesEmptyCells() bool

func (TextTable) Init added in v0.13.0

func (t_ TextTable) Init() TextTable

func (TextTable) LayoutAlgorithm added in v0.13.0

func (t_ TextTable) LayoutAlgorithm() TextTableLayoutAlgorithm

func (TextTable) NumberOfColumns added in v0.13.0

func (t_ TextTable) NumberOfColumns() uint

func (TextTable) SetCollapsesBorders added in v0.13.0

func (t_ TextTable) SetCollapsesBorders(value bool)

func (TextTable) SetHidesEmptyCells added in v0.13.0

func (t_ TextTable) SetHidesEmptyCells(value bool)

func (TextTable) SetLayoutAlgorithm added in v0.13.0

func (t_ TextTable) SetLayoutAlgorithm(value TextTableLayoutAlgorithm)

func (TextTable) SetNumberOfColumns added in v0.13.0

func (t_ TextTable) SetNumberOfColumns(value uint)

type TextTableLayoutAlgorithm added in v0.13.0

type TextTableLayoutAlgorithm uint
const TextTableAutomaticLayoutAlgorithm TextTableLayoutAlgorithm = 0
const TextTableFixedLayoutAlgorithm TextTableLayoutAlgorithm = 1

type TextView

type TextView struct {
	Text
}

func MakeTextView

func MakeTextView(ptr unsafe.Pointer) TextView

func NewTextView

func NewTextView() TextView

func (TextView) AcceptableDragTypes

func (t_ TextView) AcceptableDragTypes() []PasteboardType

func (TextView) AcceptsGlyphInfo

func (t_ TextView) AcceptsGlyphInfo() bool

func (TextView) AlignJustified

func (t_ TextView) AlignJustified(sender objc.IObject)

func (TextView) AllowedInputSourceLocales

func (t_ TextView) AllowedInputSourceLocales() []string

func (TextView) AllowsCharacterPickerTouchBarItem

func (t_ TextView) AllowsCharacterPickerTouchBarItem() bool

func (TextView) AllowsDocumentBackgroundColorChange

func (t_ TextView) AllowsDocumentBackgroundColorChange() bool

func (TextView) AllowsImageEditing

func (t_ TextView) AllowsImageEditing() bool

func (TextView) AllowsUndo

func (t_ TextView) AllowsUndo() bool

func (TextView) BreakUndoCoalescing

func (t_ TextView) BreakUndoCoalescing()

func (TextView) ChangeAttributes

func (t_ TextView) ChangeAttributes(sender objc.IObject)

func (TextView) ChangeColor

func (t_ TextView) ChangeColor(sender objc.IObject)

func (TextView) ChangeDocumentBackgroundColor

func (t_ TextView) ChangeDocumentBackgroundColor(sender objc.IObject)

func (TextView) ChangeLayoutOrientation

func (t_ TextView) ChangeLayoutOrientation(sender objc.IObject)

func (TextView) CharacterIndexForInsertionAtPoint

func (t_ TextView) CharacterIndexForInsertionAtPoint(point foundation.Point) uint

func (TextView) CheckTextInDocument

func (t_ TextView) CheckTextInDocument(sender objc.IObject)

func (TextView) CheckTextInRange_Types_Options added in v0.13.6

func (t_ TextView) CheckTextInRange_Types_Options(range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject)

func (TextView) CheckTextInSelection

func (t_ TextView) CheckTextInSelection(sender objc.IObject)

func (TextView) CleanUpAfterDragOperation

func (t_ TextView) CleanUpAfterDragOperation()
func (t_ TextView) ClickedOnLink_AtIndex(link objc.IObject, charIndex uint)

func (TextView) Complete

func (t_ TextView) Complete(sender objc.IObject)

func (TextView) CompletionsForPartialWordRange_IndexOfSelectedItem added in v0.13.4

func (t_ TextView) CompletionsForPartialWordRange_IndexOfSelectedItem(charRange foundation.Range, index *int) []string

func (TextView) DefaultParagraphStyle

func (t_ TextView) DefaultParagraphStyle() ParagraphStyle

func (TextView) DidChangeText

func (t_ TextView) DidChangeText()

func (TextView) DisplaysLinkToolTips

func (t_ TextView) DisplaysLinkToolTips() bool

func (TextView) DragImageForSelectionWithEvent_Origin added in v0.13.4

func (t_ TextView) DragImageForSelectionWithEvent_Origin(event IEvent, origin *foundation.Point) Image

func (TextView) DragOperationForDraggingInfo_Type

func (t_ TextView) DragOperationForDraggingInfo_Type(dragInfo objc.IObject, type_ PasteboardType) DragOperation

func (TextView) DragSelectionWithEvent_Offset_SlideBack

func (t_ TextView) DragSelectionWithEvent_Offset_SlideBack(event IEvent, mouseOffset foundation.Size, slideBack bool) bool

func (TextView) DrawInsertionPointInRect_Color_TurnedOn

func (t_ TextView) DrawInsertionPointInRect_Color_TurnedOn(rect foundation.Rect, color IColor, flag bool)

func (TextView) DrawViewBackgroundInRect

func (t_ TextView) DrawViewBackgroundInRect(rect foundation.Rect)

func (TextView) EnabledTextCheckingTypes added in v0.13.6

func (t_ TextView) EnabledTextCheckingTypes() foundation.TextCheckingTypes

func (TextView) HandleTextCheckingResults_ForRange_Types_Options_Orthography_WordCount added in v0.13.6

func (t_ TextView) HandleTextCheckingResults_ForRange_Types_Options_Orthography_WordCount(results []foundation.ITextCheckingResult, range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.IObject, orthography foundation.IOrthography, wordCount int)

func (TextView) Init added in v0.11.0

func (t_ TextView) Init() TextView

func (TextView) InitWithFrame added in v0.11.0

func (t_ TextView) InitWithFrame(frameRect foundation.Rect) TextView

func (TextView) InitWithFrame_TextContainer added in v0.11.0

func (t_ TextView) InitWithFrame_TextContainer(frameRect foundation.Rect, container ITextContainer) TextView

func (TextView) InsertCompletion_ForPartialWordRange_Movement_IsFinal

func (t_ TextView) InsertCompletion_ForPartialWordRange_Movement_IsFinal(word string, charRange foundation.Range, movement int, flag bool)

func (TextView) InsertText added in v0.14.5

func (t_ TextView) InsertText(insertString objc.IObject)

deprecated

func (TextView) InsertionPointColor

func (t_ TextView) InsertionPointColor() Color

func (TextView) InvalidateTextContainerOrigin

func (t_ TextView) InvalidateTextContainerOrigin()

func (TextView) IsAutomaticDashSubstitutionEnabled

func (t_ TextView) IsAutomaticDashSubstitutionEnabled() bool

func (TextView) IsAutomaticDataDetectionEnabled

func (t_ TextView) IsAutomaticDataDetectionEnabled() bool

func (TextView) IsAutomaticLinkDetectionEnabled

func (t_ TextView) IsAutomaticLinkDetectionEnabled() bool

func (TextView) IsAutomaticQuoteSubstitutionEnabled

func (t_ TextView) IsAutomaticQuoteSubstitutionEnabled() bool

func (TextView) IsAutomaticSpellingCorrectionEnabled

func (t_ TextView) IsAutomaticSpellingCorrectionEnabled() bool

func (TextView) IsAutomaticTextCompletionEnabled

func (t_ TextView) IsAutomaticTextCompletionEnabled() bool

func (TextView) IsAutomaticTextReplacementEnabled

func (t_ TextView) IsAutomaticTextReplacementEnabled() bool

func (TextView) IsCoalescingUndo

func (t_ TextView) IsCoalescingUndo() bool

func (TextView) IsContinuousSpellCheckingEnabled

func (t_ TextView) IsContinuousSpellCheckingEnabled() bool

func (TextView) IsGrammarCheckingEnabled

func (t_ TextView) IsGrammarCheckingEnabled() bool

func (TextView) IsIncrementalSearchingEnabled

func (t_ TextView) IsIncrementalSearchingEnabled() bool

func (TextView) LayoutManager

func (t_ TextView) LayoutManager() LayoutManager

weak property

func (TextView) LinkTextAttributes

func (t_ TextView) LinkTextAttributes() map[foundation.AttributedStringKey]objc.Object

func (TextView) LoosenKerning

func (t_ TextView) LoosenKerning(sender objc.IObject)

func (TextView) LowerBaseline

func (t_ TextView) LowerBaseline(sender objc.IObject)

func (TextView) MarkedTextAttributes

func (t_ TextView) MarkedTextAttributes() map[foundation.AttributedStringKey]objc.Object

func (TextView) OrderFrontLinkPanel

func (t_ TextView) OrderFrontLinkPanel(sender objc.IObject)

func (TextView) OrderFrontListPanel

func (t_ TextView) OrderFrontListPanel(sender objc.IObject)

func (TextView) OrderFrontSharingServicePicker

func (t_ TextView) OrderFrontSharingServicePicker(sender objc.IObject)

func (TextView) OrderFrontSpacingPanel

func (t_ TextView) OrderFrontSpacingPanel(sender objc.IObject)

func (TextView) OrderFrontSubstitutionsPanel

func (t_ TextView) OrderFrontSubstitutionsPanel(sender objc.IObject)

func (TextView) OrderFrontTablePanel

func (t_ TextView) OrderFrontTablePanel(sender objc.IObject)

func (TextView) Outline

func (t_ TextView) Outline(sender objc.IObject)

func (TextView) PasteAsPlainText

func (t_ TextView) PasteAsPlainText(sender objc.IObject)

func (TextView) PasteAsRichText

func (t_ TextView) PasteAsRichText(sender objc.IObject)

func (TextView) PerformFindPanelAction

func (t_ TextView) PerformFindPanelAction(sender objc.IObject)

func (TextView) PerformValidatedReplacementInRange_WithAttributedString

func (t_ TextView) PerformValidatedReplacementInRange_WithAttributedString(range_ foundation.Range, attributedString foundation.IAttributedString) bool

func (TextView) PreferredPasteboardTypeFromArray_RestrictedToTypesFromArray

func (t_ TextView) PreferredPasteboardTypeFromArray_RestrictedToTypesFromArray(availableTypes []PasteboardType, allowedTypes []PasteboardType) PasteboardType

func (TextView) RaiseBaseline

func (t_ TextView) RaiseBaseline(sender objc.IObject)

func (TextView) RangeForUserCharacterAttributeChange

func (t_ TextView) RangeForUserCharacterAttributeChange() foundation.Range

func (TextView) RangeForUserCompletion

func (t_ TextView) RangeForUserCompletion() foundation.Range

func (TextView) RangeForUserParagraphAttributeChange

func (t_ TextView) RangeForUserParagraphAttributeChange() foundation.Range

func (TextView) RangeForUserTextChange

func (t_ TextView) RangeForUserTextChange() foundation.Range

func (TextView) RangesForUserCharacterAttributeChange

func (t_ TextView) RangesForUserCharacterAttributeChange() []foundation.Value

func (TextView) RangesForUserParagraphAttributeChange

func (t_ TextView) RangesForUserParagraphAttributeChange() []foundation.Value

func (TextView) RangesForUserTextChange

func (t_ TextView) RangesForUserTextChange() []foundation.Value

func (TextView) ReadSelectionFromPasteboard

func (t_ TextView) ReadSelectionFromPasteboard(pboard IPasteboard) bool

func (TextView) ReadSelectionFromPasteboard_Type

func (t_ TextView) ReadSelectionFromPasteboard_Type(pboard IPasteboard, type_ PasteboardType) bool

func (TextView) ReadablePasteboardTypes

func (t_ TextView) ReadablePasteboardTypes() []PasteboardType

func (TextView) ReplaceTextContainer

func (t_ TextView) ReplaceTextContainer(newContainer ITextContainer)

func (TextView) SelectedRanges

func (t_ TextView) SelectedRanges() []foundation.Value

func (TextView) SelectedTextAttributes

func (t_ TextView) SelectedTextAttributes() map[foundation.AttributedStringKey]objc.Object

func (TextView) SelectionAffinity

func (t_ TextView) SelectionAffinity() SelectionAffinity

func (TextView) SelectionGranularity

func (t_ TextView) SelectionGranularity() SelectionGranularity

func (TextView) SelectionRangeForProposedRange_Granularity

func (t_ TextView) SelectionRangeForProposedRange_Granularity(proposedCharRange foundation.Range, granularity SelectionGranularity) foundation.Range

func (TextView) SetAcceptsGlyphInfo

func (t_ TextView) SetAcceptsGlyphInfo(value bool)

func (TextView) SetAlignment_Range

func (t_ TextView) SetAlignment_Range(alignment TextAlignment, range_ foundation.Range)

func (TextView) SetAllowedInputSourceLocales

func (t_ TextView) SetAllowedInputSourceLocales(value []string)

func (TextView) SetAllowsCharacterPickerTouchBarItem

func (t_ TextView) SetAllowsCharacterPickerTouchBarItem(value bool)

func (TextView) SetAllowsDocumentBackgroundColorChange

func (t_ TextView) SetAllowsDocumentBackgroundColorChange(value bool)

func (TextView) SetAllowsImageEditing

func (t_ TextView) SetAllowsImageEditing(value bool)

func (TextView) SetAllowsUndo

func (t_ TextView) SetAllowsUndo(value bool)

func (TextView) SetAutomaticDashSubstitutionEnabled

func (t_ TextView) SetAutomaticDashSubstitutionEnabled(value bool)

func (TextView) SetAutomaticDataDetectionEnabled

func (t_ TextView) SetAutomaticDataDetectionEnabled(value bool)

func (TextView) SetAutomaticLinkDetectionEnabled

func (t_ TextView) SetAutomaticLinkDetectionEnabled(value bool)

func (TextView) SetAutomaticQuoteSubstitutionEnabled

func (t_ TextView) SetAutomaticQuoteSubstitutionEnabled(value bool)

func (TextView) SetAutomaticSpellingCorrectionEnabled

func (t_ TextView) SetAutomaticSpellingCorrectionEnabled(value bool)

func (TextView) SetAutomaticTextCompletionEnabled

func (t_ TextView) SetAutomaticTextCompletionEnabled(value bool)

func (TextView) SetAutomaticTextReplacementEnabled

func (t_ TextView) SetAutomaticTextReplacementEnabled(value bool)

func (TextView) SetBaseWritingDirection_Range

func (t_ TextView) SetBaseWritingDirection_Range(writingDirection WritingDirection, range_ foundation.Range)

func (TextView) SetConstrainedFrameSize

func (t_ TextView) SetConstrainedFrameSize(desiredSize foundation.Size)

func (TextView) SetContinuousSpellCheckingEnabled

func (t_ TextView) SetContinuousSpellCheckingEnabled(value bool)

func (TextView) SetDefaultParagraphStyle

func (t_ TextView) SetDefaultParagraphStyle(value IParagraphStyle)

func (TextView) SetDisplaysLinkToolTips

func (t_ TextView) SetDisplaysLinkToolTips(value bool)

func (TextView) SetEnabledTextCheckingTypes added in v0.13.6

func (t_ TextView) SetEnabledTextCheckingTypes(value foundation.TextCheckingTypes)

func (TextView) SetGrammarCheckingEnabled

func (t_ TextView) SetGrammarCheckingEnabled(value bool)

func (TextView) SetIncrementalSearchingEnabled

func (t_ TextView) SetIncrementalSearchingEnabled(value bool)

func (TextView) SetInsertionPointColor

func (t_ TextView) SetInsertionPointColor(value IColor)

func (TextView) SetLayoutOrientation

func (t_ TextView) SetLayoutOrientation(orientation TextLayoutOrientation)

func (TextView) SetLinkTextAttributes

func (t_ TextView) SetLinkTextAttributes(value map[foundation.AttributedStringKey]objc.IObject)

func (TextView) SetMarkedTextAttributes

func (t_ TextView) SetMarkedTextAttributes(value map[foundation.AttributedStringKey]objc.IObject)

func (TextView) SetNeedsDisplayInRect_AvoidAdditionalLayout

func (t_ TextView) SetNeedsDisplayInRect_AvoidAdditionalLayout(rect foundation.Rect, flag bool)

func (TextView) SetRulerVisible

func (t_ TextView) SetRulerVisible(value bool)

func (TextView) SetSelectedRange_Affinity_StillSelecting added in v0.13.0

func (t_ TextView) SetSelectedRange_Affinity_StillSelecting(charRange foundation.Range, affinity SelectionAffinity, stillSelectingFlag bool)

func (TextView) SetSelectedRanges

func (t_ TextView) SetSelectedRanges(value []foundation.IValue)

func (TextView) SetSelectedRanges_Affinity_StillSelecting

func (t_ TextView) SetSelectedRanges_Affinity_StillSelecting(ranges []foundation.IValue, affinity SelectionAffinity, stillSelectingFlag bool)

func (TextView) SetSelectedTextAttributes

func (t_ TextView) SetSelectedTextAttributes(value map[foundation.AttributedStringKey]objc.IObject)

func (TextView) SetSelectionGranularity

func (t_ TextView) SetSelectionGranularity(value SelectionGranularity)

func (TextView) SetSmartInsertDeleteEnabled

func (t_ TextView) SetSmartInsertDeleteEnabled(value bool)

func (TextView) SetSpellingState_Range

func (t_ TextView) SetSpellingState_Range(value int, charRange foundation.Range)

func (TextView) SetTextContainer

func (t_ TextView) SetTextContainer(value ITextContainer)

weak property

func (TextView) SetTextContainerInset

func (t_ TextView) SetTextContainerInset(value foundation.Size)

func (TextView) SetTypingAttributes

func (t_ TextView) SetTypingAttributes(value map[foundation.AttributedStringKey]objc.IObject)

func (TextView) SetUsesAdaptiveColorMappingForDarkAppearance

func (t_ TextView) SetUsesAdaptiveColorMappingForDarkAppearance(value bool)

func (TextView) SetUsesFindBar

func (t_ TextView) SetUsesFindBar(value bool)

func (TextView) SetUsesFindPanel

func (t_ TextView) SetUsesFindPanel(value bool)

func (TextView) SetUsesInspectorBar

func (t_ TextView) SetUsesInspectorBar(value bool)

func (TextView) SetUsesRolloverButtonForSelection

func (t_ TextView) SetUsesRolloverButtonForSelection(value bool)

func (TextView) SetUsesRuler

func (t_ TextView) SetUsesRuler(value bool)

func (TextView) ShouldChangeTextInRange_ReplacementString

func (t_ TextView) ShouldChangeTextInRange_ReplacementString(affectedCharRange foundation.Range, replacementString string) bool

func (TextView) ShouldChangeTextInRanges_ReplacementStrings

func (t_ TextView) ShouldChangeTextInRanges_ReplacementStrings(affectedRanges []foundation.IValue, replacementStrings []string) bool

func (TextView) ShouldDrawInsertionPoint

func (t_ TextView) ShouldDrawInsertionPoint() bool

func (TextView) ShowFindIndicatorForRange

func (t_ TextView) ShowFindIndicatorForRange(charRange foundation.Range)

func (TextView) SmartDeleteRangeForProposedRange

func (t_ TextView) SmartDeleteRangeForProposedRange(proposedCharRange foundation.Range) foundation.Range

func (TextView) SmartInsertAfterStringForString_ReplacingRange

func (t_ TextView) SmartInsertAfterStringForString_ReplacingRange(pasteString string, charRangeToReplace foundation.Range) string

func (TextView) SmartInsertBeforeStringForString_ReplacingRange

func (t_ TextView) SmartInsertBeforeStringForString_ReplacingRange(pasteString string, charRangeToReplace foundation.Range) string

func (TextView) SmartInsertDeleteEnabled

func (t_ TextView) SmartInsertDeleteEnabled() bool

func (TextView) SmartInsertForString_ReplacingRange_BeforeString_AfterString added in v0.13.3

func (t_ TextView) SmartInsertForString_ReplacingRange_BeforeString_AfterString(pasteString string, charRangeToReplace foundation.Range, beforeString *foundation.String, afterString *foundation.String)

func (TextView) SpellCheckerDocumentTag

func (t_ TextView) SpellCheckerDocumentTag() int

func (TextView) StartSpeaking

func (t_ TextView) StartSpeaking(sender objc.IObject)

func (TextView) StopSpeaking

func (t_ TextView) StopSpeaking(sender objc.IObject)

func (TextView) TextContainer

func (t_ TextView) TextContainer() TextContainer

weak property

func (TextView) TextContainerInset

func (t_ TextView) TextContainerInset() foundation.Size

func (TextView) TextContainerOrigin

func (t_ TextView) TextContainerOrigin() foundation.Point

func (TextView) TextContentStorage added in v0.12.0

func (t_ TextView) TextContentStorage() TextContentStorage

weak property

func (TextView) TextLayoutManager added in v0.12.0

func (t_ TextView) TextLayoutManager() TextLayoutManager

weak property

func (TextView) TextStorage

func (t_ TextView) TextStorage() TextStorage

weak property

func (TextView) TightenKerning

func (t_ TextView) TightenKerning(sender objc.IObject)

func (TextView) ToggleAutomaticDashSubstitution

func (t_ TextView) ToggleAutomaticDashSubstitution(sender objc.IObject)

func (TextView) ToggleAutomaticDataDetection

func (t_ TextView) ToggleAutomaticDataDetection(sender objc.IObject)

func (TextView) ToggleAutomaticLinkDetection

func (t_ TextView) ToggleAutomaticLinkDetection(sender objc.IObject)

func (TextView) ToggleAutomaticQuoteSubstitution

func (t_ TextView) ToggleAutomaticQuoteSubstitution(sender objc.IObject)

func (TextView) ToggleAutomaticSpellingCorrection

func (t_ TextView) ToggleAutomaticSpellingCorrection(sender objc.IObject)

func (TextView) ToggleAutomaticTextCompletion

func (t_ TextView) ToggleAutomaticTextCompletion(sender objc.IObject)

func (TextView) ToggleAutomaticTextReplacement

func (t_ TextView) ToggleAutomaticTextReplacement(sender objc.IObject)

func (TextView) ToggleBaseWritingDirection added in v0.14.5

func (t_ TextView) ToggleBaseWritingDirection(sender objc.IObject)

deprecated

func (TextView) ToggleContinuousSpellChecking

func (t_ TextView) ToggleContinuousSpellChecking(sender objc.IObject)

func (TextView) ToggleGrammarChecking

func (t_ TextView) ToggleGrammarChecking(sender objc.IObject)

func (TextView) ToggleQuickLookPreviewPanel

func (t_ TextView) ToggleQuickLookPreviewPanel(sender objc.IObject)

func (TextView) ToggleSmartInsertDelete

func (t_ TextView) ToggleSmartInsertDelete(sender objc.IObject)

func (TextView) ToggleTraditionalCharacterShape added in v0.14.5

func (t_ TextView) ToggleTraditionalCharacterShape(sender objc.IObject)

deprecated

func (TextView) TurnOffKerning

func (t_ TextView) TurnOffKerning(sender objc.IObject)

func (TextView) TurnOffLigatures

func (t_ TextView) TurnOffLigatures(sender objc.IObject)

func (TextView) TypingAttributes

func (t_ TextView) TypingAttributes() map[foundation.AttributedStringKey]objc.Object

func (TextView) UpdateCandidates

func (t_ TextView) UpdateCandidates()

func (TextView) UpdateDragTypeRegistration

func (t_ TextView) UpdateDragTypeRegistration()

func (TextView) UpdateFontPanel

func (t_ TextView) UpdateFontPanel()

func (TextView) UpdateInsertionPointStateAndRestartTimer

func (t_ TextView) UpdateInsertionPointStateAndRestartTimer(restartFlag bool)

func (TextView) UpdateQuickLookPreviewPanel

func (t_ TextView) UpdateQuickLookPreviewPanel()

func (TextView) UpdateRuler

func (t_ TextView) UpdateRuler()

func (TextView) UpdateTextTouchBarItems

func (t_ TextView) UpdateTextTouchBarItems()

func (TextView) UpdateTouchBarItemIdentifiers

func (t_ TextView) UpdateTouchBarItemIdentifiers()

func (TextView) UseAllLigatures

func (t_ TextView) UseAllLigatures(sender objc.IObject)

func (TextView) UseStandardKerning

func (t_ TextView) UseStandardKerning(sender objc.IObject)

func (TextView) UseStandardLigatures

func (t_ TextView) UseStandardLigatures(sender objc.IObject)

func (TextView) UsesAdaptiveColorMappingForDarkAppearance

func (t_ TextView) UsesAdaptiveColorMappingForDarkAppearance() bool

func (TextView) UsesFindBar

func (t_ TextView) UsesFindBar() bool

func (TextView) UsesFindPanel

func (t_ TextView) UsesFindPanel() bool

func (TextView) UsesInspectorBar

func (t_ TextView) UsesInspectorBar() bool

func (TextView) UsesRolloverButtonForSelection

func (t_ TextView) UsesRolloverButtonForSelection() bool

func (TextView) UsesRuler

func (t_ TextView) UsesRuler() bool

func (TextView) WritablePasteboardTypes

func (t_ TextView) WritablePasteboardTypes() []PasteboardType

func (TextView) WriteSelectionToPasteboard_Type

func (t_ TextView) WriteSelectionToPasteboard_Type(pboard IPasteboard, type_ PasteboardType) bool

func (TextView) WriteSelectionToPasteboard_Types

func (t_ TextView) WriteSelectionToPasteboard_Types(pboard IPasteboard, types []PasteboardType) bool

type TextViewDelegate

type TextViewDelegate interface {
	TextDelegate
	ImplementsUndoManagerForTextView() bool
	// optional
	UndoManagerForTextView(view TextView) foundation.IUndoManager
	ImplementsTextView_WillDisplayToolTip_ForCharacterAtIndex() bool
	// optional
	TextView_WillDisplayToolTip_ForCharacterAtIndex(textView TextView, tooltip string, characterIndex uint) string
	ImplementsTextView_URLForContentsOfTextAttachment_AtIndex() bool
	// optional
	TextView_URLForContentsOfTextAttachment_AtIndex(textView TextView, textAttachment TextAttachment, charIndex uint) foundation.IURL
	ImplementsTextView_WillChangeSelectionFromCharacterRange_ToCharacterRange() bool
	// optional
	TextView_WillChangeSelectionFromCharacterRange_ToCharacterRange(textView TextView, oldSelectedCharRange foundation.Range, newSelectedCharRange foundation.Range) foundation.Range
	ImplementsTextView_WillChangeSelectionFromCharacterRanges_ToCharacterRanges() bool
	// optional
	TextView_WillChangeSelectionFromCharacterRanges_ToCharacterRanges(textView TextView, oldSelectedCharRanges []foundation.Value, newSelectedCharRanges []foundation.Value) []foundation.IValue
	ImplementsTextViewDidChangeSelection() bool
	// optional
	TextViewDidChangeSelection(notification foundation.Notification)
	ImplementsTextView_Candidates_ForSelectedRange() bool
	// optional
	TextView_Candidates_ForSelectedRange(textView TextView, candidates []foundation.TextCheckingResult, selectedRange foundation.Range) []foundation.ITextCheckingResult
	ImplementsTextView_CandidatesForSelectedRange() bool
	// optional
	TextView_CandidatesForSelectedRange(textView TextView, selectedRange foundation.Range) []objc.IObject
	ImplementsTextView_ShouldSelectCandidateAtIndex() bool
	// optional
	TextView_ShouldSelectCandidateAtIndex(textView TextView, index uint) bool
	ImplementsTextView_ShouldUpdateTouchBarItemIdentifiers() bool
	// optional
	TextView_ShouldUpdateTouchBarItemIdentifiers(textView TextView, identifiers []TouchBarItemIdentifier) []TouchBarItemIdentifier
	ImplementsTextView_ShouldChangeTextInRange_ReplacementString() bool
	// optional
	TextView_ShouldChangeTextInRange_ReplacementString(textView TextView, affectedCharRange foundation.Range, replacementString string) bool
	ImplementsTextView_ShouldChangeTextInRanges_ReplacementStrings() bool
	// optional
	TextView_ShouldChangeTextInRanges_ReplacementStrings(textView TextView, affectedRanges []foundation.Value, replacementStrings []string) bool
	ImplementsTextView_ShouldChangeTypingAttributes_ToAttributes() bool
	// optional
	TextView_ShouldChangeTypingAttributes_ToAttributes(textView TextView, oldTypingAttributes map[string]objc.Object, newTypingAttributes map[foundation.AttributedStringKey]objc.Object) map[foundation.AttributedStringKey]objc.IObject
	ImplementsTextViewDidChangeTypingAttributes() bool
	// optional
	TextViewDidChangeTypingAttributes(notification foundation.Notification)
	ImplementsTextView_ClickedOnLink_AtIndex() bool
	// optional
	TextView_ClickedOnLink_AtIndex(textView TextView, link objc.Object, charIndex uint) bool
	ImplementsTextView_ShouldSetSpellingState_Range() bool
	// optional
	TextView_ShouldSetSpellingState_Range(textView TextView, value int, affectedCharRange foundation.Range) int
	ImplementsTextView_WillCheckTextInRange_Options_Types() bool
	// optional
	TextView_WillCheckTextInRange_Options_Types(view TextView, range_ foundation.Range, options map[TextCheckingOptionKey]objc.Object, checkingTypes *foundation.TextCheckingTypes) map[TextCheckingOptionKey]objc.IObject
	ImplementsTextView_DidCheckTextInRange_Types_Options_Results_Orthography_WordCount() bool
	// optional
	TextView_DidCheckTextInRange_Types_Options_Results_Orthography_WordCount(view TextView, range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.Object, results []foundation.TextCheckingResult, orthography foundation.Orthography, wordCount int) []foundation.ITextCheckingResult
	ImplementsTextView_Completions_ForPartialWordRange_IndexOfSelectedItem() bool
	// optional
	TextView_Completions_ForPartialWordRange_IndexOfSelectedItem(textView TextView, words []string, charRange foundation.Range, index *int) []string
	ImplementsTextView_WillShowSharingServicePicker_ForItems() bool
	// optional
	TextView_WillShowSharingServicePicker_ForItems(textView TextView, servicePicker SharingServicePicker, items []objc.Object) ISharingServicePicker
	ImplementsTextView_DoCommandBySelector() bool
	// optional
	TextView_DoCommandBySelector(textView TextView, commandSelector objc.Selector) bool
	ImplementsTextView_Menu_ForEvent_AtIndex() bool
	// optional
	TextView_Menu_ForEvent_AtIndex(view TextView, menu Menu, event Event, charIndex uint) IMenu
	ImplementsTextView_ClickedOnLink() bool
	// optional
	// deprecated
	TextView_ClickedOnLink(textView TextView, link objc.Object) bool
}

type TextViewDelegateBase added in v0.18.0

type TextViewDelegateBase struct {
	TextDelegateBase
}

func (*TextViewDelegateBase) ImplementsTextViewDidChangeSelection added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextViewDidChangeSelection() bool

func (*TextViewDelegateBase) ImplementsTextViewDidChangeTypingAttributes added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextViewDidChangeTypingAttributes() bool

func (*TextViewDelegateBase) ImplementsTextView_CandidatesForSelectedRange added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_CandidatesForSelectedRange() bool

func (*TextViewDelegateBase) ImplementsTextView_Candidates_ForSelectedRange added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_Candidates_ForSelectedRange() bool
func (p *TextViewDelegateBase) ImplementsTextView_ClickedOnLink() bool
func (p *TextViewDelegateBase) ImplementsTextView_ClickedOnLink_AtIndex() bool

func (*TextViewDelegateBase) ImplementsTextView_Completions_ForPartialWordRange_IndexOfSelectedItem added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_Completions_ForPartialWordRange_IndexOfSelectedItem() bool

func (*TextViewDelegateBase) ImplementsTextView_DidCheckTextInRange_Types_Options_Results_Orthography_WordCount added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_DidCheckTextInRange_Types_Options_Results_Orthography_WordCount() bool

func (*TextViewDelegateBase) ImplementsTextView_DoCommandBySelector added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_DoCommandBySelector() bool

func (*TextViewDelegateBase) ImplementsTextView_Menu_ForEvent_AtIndex added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_Menu_ForEvent_AtIndex() bool

func (*TextViewDelegateBase) ImplementsTextView_ShouldChangeTextInRange_ReplacementString added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_ShouldChangeTextInRange_ReplacementString() bool

func (*TextViewDelegateBase) ImplementsTextView_ShouldChangeTextInRanges_ReplacementStrings added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_ShouldChangeTextInRanges_ReplacementStrings() bool

func (*TextViewDelegateBase) ImplementsTextView_ShouldChangeTypingAttributes_ToAttributes added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_ShouldChangeTypingAttributes_ToAttributes() bool

func (*TextViewDelegateBase) ImplementsTextView_ShouldSelectCandidateAtIndex added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_ShouldSelectCandidateAtIndex() bool

func (*TextViewDelegateBase) ImplementsTextView_ShouldSetSpellingState_Range added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_ShouldSetSpellingState_Range() bool

func (*TextViewDelegateBase) ImplementsTextView_ShouldUpdateTouchBarItemIdentifiers added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_ShouldUpdateTouchBarItemIdentifiers() bool

func (*TextViewDelegateBase) ImplementsTextView_URLForContentsOfTextAttachment_AtIndex added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_URLForContentsOfTextAttachment_AtIndex() bool

func (*TextViewDelegateBase) ImplementsTextView_WillChangeSelectionFromCharacterRange_ToCharacterRange added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_WillChangeSelectionFromCharacterRange_ToCharacterRange() bool

func (*TextViewDelegateBase) ImplementsTextView_WillChangeSelectionFromCharacterRanges_ToCharacterRanges added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_WillChangeSelectionFromCharacterRanges_ToCharacterRanges() bool

func (*TextViewDelegateBase) ImplementsTextView_WillCheckTextInRange_Options_Types added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_WillCheckTextInRange_Options_Types() bool

func (*TextViewDelegateBase) ImplementsTextView_WillDisplayToolTip_ForCharacterAtIndex added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_WillDisplayToolTip_ForCharacterAtIndex() bool

func (*TextViewDelegateBase) ImplementsTextView_WillShowSharingServicePicker_ForItems added in v0.18.0

func (p *TextViewDelegateBase) ImplementsTextView_WillShowSharingServicePicker_ForItems() bool

func (*TextViewDelegateBase) ImplementsUndoManagerForTextView added in v0.18.0

func (p *TextViewDelegateBase) ImplementsUndoManagerForTextView() bool

func (*TextViewDelegateBase) TextViewDidChangeSelection added in v0.18.0

func (p *TextViewDelegateBase) TextViewDidChangeSelection(notification foundation.Notification)

func (*TextViewDelegateBase) TextViewDidChangeTypingAttributes added in v0.18.0

func (p *TextViewDelegateBase) TextViewDidChangeTypingAttributes(notification foundation.Notification)

func (*TextViewDelegateBase) TextView_CandidatesForSelectedRange added in v0.18.0

func (p *TextViewDelegateBase) TextView_CandidatesForSelectedRange(textView TextView, selectedRange foundation.Range) []objc.IObject

func (*TextViewDelegateBase) TextView_Candidates_ForSelectedRange added in v0.18.0

func (p *TextViewDelegateBase) TextView_Candidates_ForSelectedRange(textView TextView, candidates []foundation.TextCheckingResult, selectedRange foundation.Range) []foundation.ITextCheckingResult
func (p *TextViewDelegateBase) TextView_ClickedOnLink(textView TextView, link objc.Object) bool

deprecated

func (p *TextViewDelegateBase) TextView_ClickedOnLink_AtIndex(textView TextView, link objc.Object, charIndex uint) bool

func (*TextViewDelegateBase) TextView_Completions_ForPartialWordRange_IndexOfSelectedItem added in v0.18.0

func (p *TextViewDelegateBase) TextView_Completions_ForPartialWordRange_IndexOfSelectedItem(textView TextView, words []string, charRange foundation.Range, index *int) []string

func (*TextViewDelegateBase) TextView_DidCheckTextInRange_Types_Options_Results_Orthography_WordCount added in v0.18.0

func (p *TextViewDelegateBase) TextView_DidCheckTextInRange_Types_Options_Results_Orthography_WordCount(view TextView, range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.Object, results []foundation.TextCheckingResult, orthography foundation.Orthography, wordCount int) []foundation.ITextCheckingResult

func (*TextViewDelegateBase) TextView_DoCommandBySelector added in v0.18.0

func (p *TextViewDelegateBase) TextView_DoCommandBySelector(textView TextView, commandSelector objc.Selector) bool

func (*TextViewDelegateBase) TextView_Menu_ForEvent_AtIndex added in v0.18.0

func (p *TextViewDelegateBase) TextView_Menu_ForEvent_AtIndex(view TextView, menu Menu, event Event, charIndex uint) IMenu

func (*TextViewDelegateBase) TextView_ShouldChangeTextInRange_ReplacementString added in v0.18.0

func (p *TextViewDelegateBase) TextView_ShouldChangeTextInRange_ReplacementString(textView TextView, affectedCharRange foundation.Range, replacementString string) bool

func (*TextViewDelegateBase) TextView_ShouldChangeTextInRanges_ReplacementStrings added in v0.18.0

func (p *TextViewDelegateBase) TextView_ShouldChangeTextInRanges_ReplacementStrings(textView TextView, affectedRanges []foundation.Value, replacementStrings []string) bool

func (*TextViewDelegateBase) TextView_ShouldChangeTypingAttributes_ToAttributes added in v0.18.0

func (p *TextViewDelegateBase) TextView_ShouldChangeTypingAttributes_ToAttributes(textView TextView, oldTypingAttributes map[string]objc.Object, newTypingAttributes map[foundation.AttributedStringKey]objc.Object) map[foundation.AttributedStringKey]objc.IObject

func (*TextViewDelegateBase) TextView_ShouldSelectCandidateAtIndex added in v0.18.0

func (p *TextViewDelegateBase) TextView_ShouldSelectCandidateAtIndex(textView TextView, index uint) bool

func (*TextViewDelegateBase) TextView_ShouldSetSpellingState_Range added in v0.18.0

func (p *TextViewDelegateBase) TextView_ShouldSetSpellingState_Range(textView TextView, value int, affectedCharRange foundation.Range) int

func (*TextViewDelegateBase) TextView_ShouldUpdateTouchBarItemIdentifiers added in v0.18.0

func (p *TextViewDelegateBase) TextView_ShouldUpdateTouchBarItemIdentifiers(textView TextView, identifiers []TouchBarItemIdentifier) []TouchBarItemIdentifier

func (*TextViewDelegateBase) TextView_URLForContentsOfTextAttachment_AtIndex added in v0.18.0

func (p *TextViewDelegateBase) TextView_URLForContentsOfTextAttachment_AtIndex(textView TextView, textAttachment TextAttachment, charIndex uint) foundation.IURL

func (*TextViewDelegateBase) TextView_WillChangeSelectionFromCharacterRange_ToCharacterRange added in v0.18.0

func (p *TextViewDelegateBase) TextView_WillChangeSelectionFromCharacterRange_ToCharacterRange(textView TextView, oldSelectedCharRange foundation.Range, newSelectedCharRange foundation.Range) foundation.Range

func (*TextViewDelegateBase) TextView_WillChangeSelectionFromCharacterRanges_ToCharacterRanges added in v0.18.0

func (p *TextViewDelegateBase) TextView_WillChangeSelectionFromCharacterRanges_ToCharacterRanges(textView TextView, oldSelectedCharRanges []foundation.Value, newSelectedCharRanges []foundation.Value) []foundation.IValue

func (*TextViewDelegateBase) TextView_WillCheckTextInRange_Options_Types added in v0.18.0

func (p *TextViewDelegateBase) TextView_WillCheckTextInRange_Options_Types(view TextView, range_ foundation.Range, options map[TextCheckingOptionKey]objc.Object, checkingTypes *foundation.TextCheckingTypes) map[TextCheckingOptionKey]objc.IObject

func (*TextViewDelegateBase) TextView_WillDisplayToolTip_ForCharacterAtIndex added in v0.18.0

func (p *TextViewDelegateBase) TextView_WillDisplayToolTip_ForCharacterAtIndex(textView TextView, tooltip string, characterIndex uint) string

func (*TextViewDelegateBase) TextView_WillShowSharingServicePicker_ForItems added in v0.18.0

func (p *TextViewDelegateBase) TextView_WillShowSharingServicePicker_ForItems(textView TextView, servicePicker SharingServicePicker, items []objc.Object) ISharingServicePicker

func (*TextViewDelegateBase) UndoManagerForTextView added in v0.18.0

func (p *TextViewDelegateBase) UndoManagerForTextView(view TextView) foundation.IUndoManager

type TextViewDelegateCreator added in v0.19.0

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

func NewTextViewDelegateCreator added in v0.19.0

func NewTextViewDelegateCreator(name string) *TextViewDelegateCreator

func (*TextViewDelegateCreator) Create added in v0.19.0

func (*TextViewDelegateCreator) SetTextViewDidChangeSelection added in v0.19.0

func (c *TextViewDelegateCreator) SetTextViewDidChangeSelection(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*TextViewDelegateCreator) SetTextViewDidChangeTypingAttributes added in v0.19.0

func (c *TextViewDelegateCreator) SetTextViewDidChangeTypingAttributes(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*TextViewDelegateCreator) SetTextView_CandidatesForSelectedRange added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_CandidatesForSelectedRange(handle func(o objc.ProtocolBase, textView TextView, selectedRange foundation.Range) []objc.IObject)

func (*TextViewDelegateCreator) SetTextView_Candidates_ForSelectedRange added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_Candidates_ForSelectedRange(handle func(o objc.ProtocolBase, textView TextView, candidates []foundation.TextCheckingResult, selectedRange foundation.Range) []foundation.ITextCheckingResult)
func (c *TextViewDelegateCreator) SetTextView_ClickedOnLink(handle func(o objc.ProtocolBase, textView TextView, link objc.Object) bool)

deprecated

func (c *TextViewDelegateCreator) SetTextView_ClickedOnLink_AtIndex(handle func(o objc.ProtocolBase, textView TextView, link objc.Object, charIndex uint) bool)

func (*TextViewDelegateCreator) SetTextView_Completions_ForPartialWordRange_IndexOfSelectedItem added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_Completions_ForPartialWordRange_IndexOfSelectedItem(handle func(o objc.ProtocolBase, textView TextView, words []string, charRange foundation.Range, index *int) []string)

func (*TextViewDelegateCreator) SetTextView_DidCheckTextInRange_Types_Options_Results_Orthography_WordCount added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_DidCheckTextInRange_Types_Options_Results_Orthography_WordCount(handle func(o objc.ProtocolBase, view TextView, range_ foundation.Range, checkingTypes foundation.TextCheckingTypes, options map[TextCheckingOptionKey]objc.Object, results []foundation.TextCheckingResult, orthography foundation.Orthography, wordCount int) []foundation.ITextCheckingResult)

func (*TextViewDelegateCreator) SetTextView_DoCommandBySelector added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_DoCommandBySelector(handle func(o objc.ProtocolBase, textView TextView, commandSelector objc.Selector) bool)

func (*TextViewDelegateCreator) SetTextView_Menu_ForEvent_AtIndex added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_Menu_ForEvent_AtIndex(handle func(o objc.ProtocolBase, view TextView, menu Menu, event Event, charIndex uint) IMenu)

func (*TextViewDelegateCreator) SetTextView_ShouldChangeTextInRange_ReplacementString added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_ShouldChangeTextInRange_ReplacementString(handle func(o objc.ProtocolBase, textView TextView, affectedCharRange foundation.Range, replacementString string) bool)

func (*TextViewDelegateCreator) SetTextView_ShouldChangeTextInRanges_ReplacementStrings added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_ShouldChangeTextInRanges_ReplacementStrings(handle func(o objc.ProtocolBase, textView TextView, affectedRanges []foundation.Value, replacementStrings []string) bool)

func (*TextViewDelegateCreator) SetTextView_ShouldChangeTypingAttributes_ToAttributes added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_ShouldChangeTypingAttributes_ToAttributes(handle func(o objc.ProtocolBase, textView TextView, oldTypingAttributes map[string]objc.Object, newTypingAttributes map[foundation.AttributedStringKey]objc.Object) map[foundation.AttributedStringKey]objc.IObject)

func (*TextViewDelegateCreator) SetTextView_ShouldSelectCandidateAtIndex added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_ShouldSelectCandidateAtIndex(handle func(o objc.ProtocolBase, textView TextView, index uint) bool)

func (*TextViewDelegateCreator) SetTextView_ShouldSetSpellingState_Range added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_ShouldSetSpellingState_Range(handle func(o objc.ProtocolBase, textView TextView, value int, affectedCharRange foundation.Range) int)

func (*TextViewDelegateCreator) SetTextView_ShouldUpdateTouchBarItemIdentifiers added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_ShouldUpdateTouchBarItemIdentifiers(handle func(o objc.ProtocolBase, textView TextView, identifiers []TouchBarItemIdentifier) []TouchBarItemIdentifier)

func (*TextViewDelegateCreator) SetTextView_URLForContentsOfTextAttachment_AtIndex added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_URLForContentsOfTextAttachment_AtIndex(handle func(o objc.ProtocolBase, textView TextView, textAttachment TextAttachment, charIndex uint) foundation.IURL)

func (*TextViewDelegateCreator) SetTextView_WillChangeSelectionFromCharacterRange_ToCharacterRange added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_WillChangeSelectionFromCharacterRange_ToCharacterRange(handle func(o objc.ProtocolBase, textView TextView, oldSelectedCharRange foundation.Range, newSelectedCharRange foundation.Range) foundation.Range)

func (*TextViewDelegateCreator) SetTextView_WillChangeSelectionFromCharacterRanges_ToCharacterRanges added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_WillChangeSelectionFromCharacterRanges_ToCharacterRanges(handle func(o objc.ProtocolBase, textView TextView, oldSelectedCharRanges []foundation.Value, newSelectedCharRanges []foundation.Value) []foundation.IValue)

func (*TextViewDelegateCreator) SetTextView_WillCheckTextInRange_Options_Types added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_WillCheckTextInRange_Options_Types(handle func(o objc.ProtocolBase, view TextView, range_ foundation.Range, options map[TextCheckingOptionKey]objc.Object, checkingTypes *foundation.TextCheckingTypes) map[TextCheckingOptionKey]objc.IObject)

func (*TextViewDelegateCreator) SetTextView_WillDisplayToolTip_ForCharacterAtIndex added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_WillDisplayToolTip_ForCharacterAtIndex(handle func(o objc.ProtocolBase, textView TextView, tooltip string, characterIndex uint) string)

func (*TextViewDelegateCreator) SetTextView_WillShowSharingServicePicker_ForItems added in v0.19.0

func (c *TextViewDelegateCreator) SetTextView_WillShowSharingServicePicker_ForItems(handle func(o objc.ProtocolBase, textView TextView, servicePicker SharingServicePicker, items []objc.Object) ISharingServicePicker)

func (*TextViewDelegateCreator) SetUndoManagerForTextView added in v0.19.0

func (c *TextViewDelegateCreator) SetUndoManagerForTextView(handle func(o objc.ProtocolBase, view TextView) foundation.IUndoManager)

type TextViewportLayoutController added in v0.12.0

type TextViewportLayoutController struct {
	objc.Object
}

func MakeTextViewportLayoutController added in v0.12.0

func MakeTextViewportLayoutController(ptr unsafe.Pointer) TextViewportLayoutController

func NewTextViewportLayoutController added in v0.12.4

func NewTextViewportLayoutController() TextViewportLayoutController

func (TextViewportLayoutController) AdjustViewportByVerticalOffset added in v0.12.0

func (t_ TextViewportLayoutController) AdjustViewportByVerticalOffset(verticalOffset float64)

func (TextViewportLayoutController) Init added in v0.12.4

func (TextViewportLayoutController) InitWithTextLayoutManager added in v0.12.0

func (t_ TextViewportLayoutController) InitWithTextLayoutManager(textLayoutManager ITextLayoutManager) TextViewportLayoutController

func (TextViewportLayoutController) LayoutViewport added in v0.12.0

func (t_ TextViewportLayoutController) LayoutViewport()

func (TextViewportLayoutController) TextLayoutManager added in v0.12.0

func (t_ TextViewportLayoutController) TextLayoutManager() TextLayoutManager

weak property

func (TextViewportLayoutController) ViewportBounds added in v0.12.0

func (t_ TextViewportLayoutController) ViewportBounds() coregraphics.Rect

func (TextViewportLayoutController) ViewportRange added in v0.12.0

func (t_ TextViewportLayoutController) ViewportRange() TextRange

type TickMarkPosition

type TickMarkPosition uint
const TickMarkPositionAbove TickMarkPosition = 1
const TickMarkPositionBelow TickMarkPosition = 0
const TickMarkPositionLeading TickMarkPosition = 1
const TickMarkPositionTrailing TickMarkPosition = 0

type TintConfiguration

type TintConfiguration struct {
	objc.Object
}

func MakeTintConfiguration

func MakeTintConfiguration(ptr unsafe.Pointer) TintConfiguration

func NewTintConfiguration

func NewTintConfiguration() TintConfiguration

func (TintConfiguration) AdaptsToUserAccentColor

func (t_ TintConfiguration) AdaptsToUserAccentColor() bool

func (TintConfiguration) BaseTintColor

func (t_ TintConfiguration) BaseTintColor() Color

func (TintConfiguration) EquivalentContentTintColor

func (t_ TintConfiguration) EquivalentContentTintColor() Color

func (TintConfiguration) Init added in v0.11.0

type TitlePosition

type TitlePosition uint
const AboveBottom TitlePosition = 4
const AboveTop TitlePosition = 1
const AtBottom TitlePosition = 5
const AtTop TitlePosition = 2
const BelowBottom TitlePosition = 6
const BelowTop TitlePosition = 3
const NoTitle TitlePosition = 0

type TitlebarAccessoryViewController

type TitlebarAccessoryViewController struct {
	ViewController
}

func MakeTitlebarAccessoryViewController

func MakeTitlebarAccessoryViewController(ptr unsafe.Pointer) TitlebarAccessoryViewController

func NewTitlebarAccessoryViewController

func NewTitlebarAccessoryViewController() TitlebarAccessoryViewController

func (TitlebarAccessoryViewController) AutomaticallyAdjustsSize

func (t_ TitlebarAccessoryViewController) AutomaticallyAdjustsSize() bool

func (TitlebarAccessoryViewController) FullScreenMinHeight

func (t_ TitlebarAccessoryViewController) FullScreenMinHeight() float64

func (TitlebarAccessoryViewController) Init added in v0.11.0

func (TitlebarAccessoryViewController) InitWithNibName_Bundle added in v0.11.0

func (t_ TitlebarAccessoryViewController) InitWithNibName_Bundle(nibNameOrNil NibName, nibBundleOrNil foundation.IBundle) TitlebarAccessoryViewController

func (TitlebarAccessoryViewController) IsHidden

func (t_ TitlebarAccessoryViewController) IsHidden() bool

func (TitlebarAccessoryViewController) LayoutAttribute

func (t_ TitlebarAccessoryViewController) LayoutAttribute() LayoutAttribute

func (TitlebarAccessoryViewController) SetAutomaticallyAdjustsSize

func (t_ TitlebarAccessoryViewController) SetAutomaticallyAdjustsSize(value bool)

func (TitlebarAccessoryViewController) SetFullScreenMinHeight

func (t_ TitlebarAccessoryViewController) SetFullScreenMinHeight(value float64)

func (TitlebarAccessoryViewController) SetHidden

func (t_ TitlebarAccessoryViewController) SetHidden(value bool)

func (TitlebarAccessoryViewController) SetLayoutAttribute

func (t_ TitlebarAccessoryViewController) SetLayoutAttribute(value LayoutAttribute)

type TitlebarSeparatorStyle

type TitlebarSeparatorStyle int
const TitlebarSeparatorStyleAutomatic TitlebarSeparatorStyle = 0
const TitlebarSeparatorStyleLine TitlebarSeparatorStyle = 2
const TitlebarSeparatorStyleNone TitlebarSeparatorStyle = 1
const TitlebarSeparatorStyleShadow TitlebarSeparatorStyle = 3

type TokenField added in v0.13.6

type TokenField struct {
	TextField
}

func MakeTokenField added in v0.13.6

func MakeTokenField(ptr unsafe.Pointer) TokenField

func NewTokenField added in v0.13.6

func NewTokenField() TokenField

func (TokenField) CompletionDelay added in v0.13.6

func (t_ TokenField) CompletionDelay() foundation.TimeInterval

func (TokenField) Init added in v0.13.6

func (t_ TokenField) Init() TokenField

func (TokenField) InitWithFrame added in v0.13.6

func (t_ TokenField) InitWithFrame(frameRect foundation.Rect) TokenField

func (TokenField) SetCompletionDelay added in v0.13.6

func (t_ TokenField) SetCompletionDelay(value foundation.TimeInterval)

func (TokenField) SetTokenStyle added in v0.13.6

func (t_ TokenField) SetTokenStyle(value TokenStyle)

func (TokenField) SetTokenizingCharacterSet added in v0.13.6

func (t_ TokenField) SetTokenizingCharacterSet(value foundation.ICharacterSet)

func (TokenField) TokenStyle added in v0.13.6

func (t_ TokenField) TokenStyle() TokenStyle

func (TokenField) TokenizingCharacterSet added in v0.13.6

func (t_ TokenField) TokenizingCharacterSet() foundation.CharacterSet

type TokenFieldCell added in v0.13.6

type TokenFieldCell struct {
	TextFieldCell
}

func MakeTokenFieldCell added in v0.13.6

func MakeTokenFieldCell(ptr unsafe.Pointer) TokenFieldCell

func NewTokenFieldCell added in v0.13.6

func NewTokenFieldCell() TokenFieldCell

func (TokenFieldCell) CompletionDelay added in v0.13.6

func (t_ TokenFieldCell) CompletionDelay() foundation.TimeInterval

func (TokenFieldCell) Delegate added in v0.14.6

func (t_ TokenFieldCell) Delegate() objc.Object

weak property

func (TokenFieldCell) Init added in v0.13.6

func (t_ TokenFieldCell) Init() TokenFieldCell

func (TokenFieldCell) InitImageCell added in v0.13.6

func (t_ TokenFieldCell) InitImageCell(image IImage) TokenFieldCell

func (TokenFieldCell) InitTextCell added in v0.13.6

func (t_ TokenFieldCell) InitTextCell(string_ string) TokenFieldCell

func (TokenFieldCell) SetCompletionDelay added in v0.13.6

func (t_ TokenFieldCell) SetCompletionDelay(value foundation.TimeInterval)

func (TokenFieldCell) SetDelegate added in v0.13.6

func (t_ TokenFieldCell) SetDelegate(value objc.IObject)

weak property

func (TokenFieldCell) SetTokenStyle added in v0.13.6

func (t_ TokenFieldCell) SetTokenStyle(value TokenStyle)

func (TokenFieldCell) SetTokenizingCharacterSet added in v0.13.6

func (t_ TokenFieldCell) SetTokenizingCharacterSet(value foundation.ICharacterSet)

func (TokenFieldCell) TokenStyle added in v0.13.6

func (t_ TokenFieldCell) TokenStyle() TokenStyle

func (TokenFieldCell) TokenizingCharacterSet added in v0.13.6

func (t_ TokenFieldCell) TokenizingCharacterSet() foundation.CharacterSet

type TokenFieldCellDelegate added in v0.13.6

type TokenFieldCellDelegate interface {
	ImplementsTokenFieldCell_DisplayStringForRepresentedObject() bool
	// optional
	TokenFieldCell_DisplayStringForRepresentedObject(tokenFieldCell TokenFieldCell, representedObject objc.Object) string
	ImplementsTokenFieldCell_StyleForRepresentedObject() bool
	// optional
	TokenFieldCell_StyleForRepresentedObject(tokenFieldCell TokenFieldCell, representedObject objc.Object) TokenStyle
	ImplementsTokenFieldCell_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem() bool
	// optional
	TokenFieldCell_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem(tokenFieldCell TokenFieldCell, substring string, tokenIndex int, selectedIndex *int) []objc.IObject
	ImplementsTokenFieldCell_EditingStringForRepresentedObject() bool
	// optional
	TokenFieldCell_EditingStringForRepresentedObject(tokenFieldCell TokenFieldCell, representedObject objc.Object) string
	ImplementsTokenFieldCell_RepresentedObjectForEditingString() bool
	// optional
	TokenFieldCell_RepresentedObjectForEditingString(tokenFieldCell TokenFieldCell, editingString string) objc.IObject
	ImplementsTokenFieldCell_ShouldAddObjects_AtIndex() bool
	// optional
	TokenFieldCell_ShouldAddObjects_AtIndex(tokenFieldCell TokenFieldCell, tokens []objc.Object, index uint) []objc.IObject
	ImplementsTokenFieldCell_ReadFromPasteboard() bool
	// optional
	TokenFieldCell_ReadFromPasteboard(tokenFieldCell TokenFieldCell, pboard Pasteboard) []objc.IObject
	ImplementsTokenFieldCell_WriteRepresentedObjects_ToPasteboard() bool
	// optional
	TokenFieldCell_WriteRepresentedObjects_ToPasteboard(tokenFieldCell TokenFieldCell, objects []objc.Object, pboard Pasteboard) bool
	ImplementsTokenFieldCell_HasMenuForRepresentedObject() bool
	// optional
	TokenFieldCell_HasMenuForRepresentedObject(tokenFieldCell TokenFieldCell, representedObject objc.Object) bool
	ImplementsTokenFieldCell_MenuForRepresentedObject() bool
	// optional
	TokenFieldCell_MenuForRepresentedObject(tokenFieldCell TokenFieldCell, representedObject objc.Object) IMenu
}

type TokenFieldCellDelegateBase added in v0.18.0

type TokenFieldCellDelegateBase struct {
}

func (*TokenFieldCellDelegateBase) ImplementsTokenFieldCell_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem added in v0.18.0

func (p *TokenFieldCellDelegateBase) ImplementsTokenFieldCell_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem() bool

func (*TokenFieldCellDelegateBase) ImplementsTokenFieldCell_DisplayStringForRepresentedObject added in v0.18.0

func (p *TokenFieldCellDelegateBase) ImplementsTokenFieldCell_DisplayStringForRepresentedObject() bool

func (*TokenFieldCellDelegateBase) ImplementsTokenFieldCell_EditingStringForRepresentedObject added in v0.18.0

func (p *TokenFieldCellDelegateBase) ImplementsTokenFieldCell_EditingStringForRepresentedObject() bool

func (*TokenFieldCellDelegateBase) ImplementsTokenFieldCell_HasMenuForRepresentedObject added in v0.18.0

func (p *TokenFieldCellDelegateBase) ImplementsTokenFieldCell_HasMenuForRepresentedObject() bool

func (*TokenFieldCellDelegateBase) ImplementsTokenFieldCell_MenuForRepresentedObject added in v0.18.0

func (p *TokenFieldCellDelegateBase) ImplementsTokenFieldCell_MenuForRepresentedObject() bool

func (*TokenFieldCellDelegateBase) ImplementsTokenFieldCell_ReadFromPasteboard added in v0.18.0

func (p *TokenFieldCellDelegateBase) ImplementsTokenFieldCell_ReadFromPasteboard() bool

func (*TokenFieldCellDelegateBase) ImplementsTokenFieldCell_RepresentedObjectForEditingString added in v0.18.0

func (p *TokenFieldCellDelegateBase) ImplementsTokenFieldCell_RepresentedObjectForEditingString() bool

func (*TokenFieldCellDelegateBase) ImplementsTokenFieldCell_ShouldAddObjects_AtIndex added in v0.18.0

func (p *TokenFieldCellDelegateBase) ImplementsTokenFieldCell_ShouldAddObjects_AtIndex() bool

func (*TokenFieldCellDelegateBase) ImplementsTokenFieldCell_StyleForRepresentedObject added in v0.18.0

func (p *TokenFieldCellDelegateBase) ImplementsTokenFieldCell_StyleForRepresentedObject() bool

func (*TokenFieldCellDelegateBase) ImplementsTokenFieldCell_WriteRepresentedObjects_ToPasteboard added in v0.18.0

func (p *TokenFieldCellDelegateBase) ImplementsTokenFieldCell_WriteRepresentedObjects_ToPasteboard() bool

func (*TokenFieldCellDelegateBase) TokenFieldCell_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem added in v0.18.0

func (p *TokenFieldCellDelegateBase) TokenFieldCell_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem(tokenFieldCell TokenFieldCell, substring string, tokenIndex int, selectedIndex *int) []objc.IObject

func (*TokenFieldCellDelegateBase) TokenFieldCell_DisplayStringForRepresentedObject added in v0.18.0

func (p *TokenFieldCellDelegateBase) TokenFieldCell_DisplayStringForRepresentedObject(tokenFieldCell TokenFieldCell, representedObject objc.Object) string

func (*TokenFieldCellDelegateBase) TokenFieldCell_EditingStringForRepresentedObject added in v0.18.0

func (p *TokenFieldCellDelegateBase) TokenFieldCell_EditingStringForRepresentedObject(tokenFieldCell TokenFieldCell, representedObject objc.Object) string

func (*TokenFieldCellDelegateBase) TokenFieldCell_HasMenuForRepresentedObject added in v0.18.0

func (p *TokenFieldCellDelegateBase) TokenFieldCell_HasMenuForRepresentedObject(tokenFieldCell TokenFieldCell, representedObject objc.Object) bool

func (*TokenFieldCellDelegateBase) TokenFieldCell_MenuForRepresentedObject added in v0.18.0

func (p *TokenFieldCellDelegateBase) TokenFieldCell_MenuForRepresentedObject(tokenFieldCell TokenFieldCell, representedObject objc.Object) IMenu

func (*TokenFieldCellDelegateBase) TokenFieldCell_ReadFromPasteboard added in v0.18.0

func (p *TokenFieldCellDelegateBase) TokenFieldCell_ReadFromPasteboard(tokenFieldCell TokenFieldCell, pboard Pasteboard) []objc.IObject

func (*TokenFieldCellDelegateBase) TokenFieldCell_RepresentedObjectForEditingString added in v0.18.0

func (p *TokenFieldCellDelegateBase) TokenFieldCell_RepresentedObjectForEditingString(tokenFieldCell TokenFieldCell, editingString string) objc.IObject

func (*TokenFieldCellDelegateBase) TokenFieldCell_ShouldAddObjects_AtIndex added in v0.18.0

func (p *TokenFieldCellDelegateBase) TokenFieldCell_ShouldAddObjects_AtIndex(tokenFieldCell TokenFieldCell, tokens []objc.Object, index uint) []objc.IObject

func (*TokenFieldCellDelegateBase) TokenFieldCell_StyleForRepresentedObject added in v0.18.0

func (p *TokenFieldCellDelegateBase) TokenFieldCell_StyleForRepresentedObject(tokenFieldCell TokenFieldCell, representedObject objc.Object) TokenStyle

func (*TokenFieldCellDelegateBase) TokenFieldCell_WriteRepresentedObjects_ToPasteboard added in v0.18.0

func (p *TokenFieldCellDelegateBase) TokenFieldCell_WriteRepresentedObjects_ToPasteboard(tokenFieldCell TokenFieldCell, objects []objc.Object, pboard Pasteboard) bool

type TokenFieldCellDelegateCreator added in v0.19.0

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

func NewTokenFieldCellDelegateCreator added in v0.19.0

func NewTokenFieldCellDelegateCreator(name string) *TokenFieldCellDelegateCreator

func (*TokenFieldCellDelegateCreator) Create added in v0.19.0

func (*TokenFieldCellDelegateCreator) SetTokenFieldCell_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem added in v0.19.0

func (c *TokenFieldCellDelegateCreator) SetTokenFieldCell_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem(handle func(o objc.ProtocolBase, tokenFieldCell TokenFieldCell, substring string, tokenIndex int, selectedIndex *int) []objc.IObject)

func (*TokenFieldCellDelegateCreator) SetTokenFieldCell_DisplayStringForRepresentedObject added in v0.19.0

func (c *TokenFieldCellDelegateCreator) SetTokenFieldCell_DisplayStringForRepresentedObject(handle func(o objc.ProtocolBase, tokenFieldCell TokenFieldCell, representedObject objc.Object) string)

func (*TokenFieldCellDelegateCreator) SetTokenFieldCell_EditingStringForRepresentedObject added in v0.19.0

func (c *TokenFieldCellDelegateCreator) SetTokenFieldCell_EditingStringForRepresentedObject(handle func(o objc.ProtocolBase, tokenFieldCell TokenFieldCell, representedObject objc.Object) string)

func (*TokenFieldCellDelegateCreator) SetTokenFieldCell_HasMenuForRepresentedObject added in v0.19.0

func (c *TokenFieldCellDelegateCreator) SetTokenFieldCell_HasMenuForRepresentedObject(handle func(o objc.ProtocolBase, tokenFieldCell TokenFieldCell, representedObject objc.Object) bool)

func (*TokenFieldCellDelegateCreator) SetTokenFieldCell_MenuForRepresentedObject added in v0.19.0

func (c *TokenFieldCellDelegateCreator) SetTokenFieldCell_MenuForRepresentedObject(handle func(o objc.ProtocolBase, tokenFieldCell TokenFieldCell, representedObject objc.Object) IMenu)

func (*TokenFieldCellDelegateCreator) SetTokenFieldCell_ReadFromPasteboard added in v0.19.0

func (c *TokenFieldCellDelegateCreator) SetTokenFieldCell_ReadFromPasteboard(handle func(o objc.ProtocolBase, tokenFieldCell TokenFieldCell, pboard Pasteboard) []objc.IObject)

func (*TokenFieldCellDelegateCreator) SetTokenFieldCell_RepresentedObjectForEditingString added in v0.19.0

func (c *TokenFieldCellDelegateCreator) SetTokenFieldCell_RepresentedObjectForEditingString(handle func(o objc.ProtocolBase, tokenFieldCell TokenFieldCell, editingString string) objc.IObject)

func (*TokenFieldCellDelegateCreator) SetTokenFieldCell_ShouldAddObjects_AtIndex added in v0.19.0

func (c *TokenFieldCellDelegateCreator) SetTokenFieldCell_ShouldAddObjects_AtIndex(handle func(o objc.ProtocolBase, tokenFieldCell TokenFieldCell, tokens []objc.Object, index uint) []objc.IObject)

func (*TokenFieldCellDelegateCreator) SetTokenFieldCell_StyleForRepresentedObject added in v0.19.0

func (c *TokenFieldCellDelegateCreator) SetTokenFieldCell_StyleForRepresentedObject(handle func(o objc.ProtocolBase, tokenFieldCell TokenFieldCell, representedObject objc.Object) TokenStyle)

func (*TokenFieldCellDelegateCreator) SetTokenFieldCell_WriteRepresentedObjects_ToPasteboard added in v0.19.0

func (c *TokenFieldCellDelegateCreator) SetTokenFieldCell_WriteRepresentedObjects_ToPasteboard(handle func(o objc.ProtocolBase, tokenFieldCell TokenFieldCell, objects []objc.Object, pboard Pasteboard) bool)

type TokenFieldDelegate added in v0.13.6

type TokenFieldDelegate interface {
	TextFieldDelegate
	ImplementsTokenField_DisplayStringForRepresentedObject() bool
	// optional
	TokenField_DisplayStringForRepresentedObject(tokenField TokenField, representedObject objc.Object) string
	ImplementsTokenField_StyleForRepresentedObject() bool
	// optional
	TokenField_StyleForRepresentedObject(tokenField TokenField, representedObject objc.Object) TokenStyle
	ImplementsTokenField_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem() bool
	// optional
	TokenField_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem(tokenField TokenField, substring string, tokenIndex int, selectedIndex *int) []objc.IObject
	ImplementsTokenField_EditingStringForRepresentedObject() bool
	// optional
	TokenField_EditingStringForRepresentedObject(tokenField TokenField, representedObject objc.Object) string
	ImplementsTokenField_RepresentedObjectForEditingString() bool
	// optional
	TokenField_RepresentedObjectForEditingString(tokenField TokenField, editingString string) objc.IObject
	ImplementsTokenField_ShouldAddObjects_AtIndex() bool
	// optional
	TokenField_ShouldAddObjects_AtIndex(tokenField TokenField, tokens []objc.Object, index uint) []objc.IObject
	ImplementsTokenField_ReadFromPasteboard() bool
	// optional
	TokenField_ReadFromPasteboard(tokenField TokenField, pboard Pasteboard) []objc.IObject
	ImplementsTokenField_WriteRepresentedObjects_ToPasteboard() bool
	// optional
	TokenField_WriteRepresentedObjects_ToPasteboard(tokenField TokenField, objects []objc.Object, pboard Pasteboard) bool
	ImplementsTokenField_HasMenuForRepresentedObject() bool
	// optional
	TokenField_HasMenuForRepresentedObject(tokenField TokenField, representedObject objc.Object) bool
	ImplementsTokenField_MenuForRepresentedObject() bool
	// optional
	TokenField_MenuForRepresentedObject(tokenField TokenField, representedObject objc.Object) IMenu
}

type TokenFieldDelegateBase added in v0.18.0

type TokenFieldDelegateBase struct {
	TextFieldDelegateBase
}

func (*TokenFieldDelegateBase) ImplementsTokenField_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem added in v0.18.0

func (p *TokenFieldDelegateBase) ImplementsTokenField_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem() bool

func (*TokenFieldDelegateBase) ImplementsTokenField_DisplayStringForRepresentedObject added in v0.18.0

func (p *TokenFieldDelegateBase) ImplementsTokenField_DisplayStringForRepresentedObject() bool

func (*TokenFieldDelegateBase) ImplementsTokenField_EditingStringForRepresentedObject added in v0.18.0

func (p *TokenFieldDelegateBase) ImplementsTokenField_EditingStringForRepresentedObject() bool

func (*TokenFieldDelegateBase) ImplementsTokenField_HasMenuForRepresentedObject added in v0.18.0

func (p *TokenFieldDelegateBase) ImplementsTokenField_HasMenuForRepresentedObject() bool

func (*TokenFieldDelegateBase) ImplementsTokenField_MenuForRepresentedObject added in v0.18.0

func (p *TokenFieldDelegateBase) ImplementsTokenField_MenuForRepresentedObject() bool

func (*TokenFieldDelegateBase) ImplementsTokenField_ReadFromPasteboard added in v0.18.0

func (p *TokenFieldDelegateBase) ImplementsTokenField_ReadFromPasteboard() bool

func (*TokenFieldDelegateBase) ImplementsTokenField_RepresentedObjectForEditingString added in v0.18.0

func (p *TokenFieldDelegateBase) ImplementsTokenField_RepresentedObjectForEditingString() bool

func (*TokenFieldDelegateBase) ImplementsTokenField_ShouldAddObjects_AtIndex added in v0.18.0

func (p *TokenFieldDelegateBase) ImplementsTokenField_ShouldAddObjects_AtIndex() bool

func (*TokenFieldDelegateBase) ImplementsTokenField_StyleForRepresentedObject added in v0.18.0

func (p *TokenFieldDelegateBase) ImplementsTokenField_StyleForRepresentedObject() bool

func (*TokenFieldDelegateBase) ImplementsTokenField_WriteRepresentedObjects_ToPasteboard added in v0.18.0

func (p *TokenFieldDelegateBase) ImplementsTokenField_WriteRepresentedObjects_ToPasteboard() bool

func (*TokenFieldDelegateBase) TokenField_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem added in v0.18.0

func (p *TokenFieldDelegateBase) TokenField_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem(tokenField TokenField, substring string, tokenIndex int, selectedIndex *int) []objc.IObject

func (*TokenFieldDelegateBase) TokenField_DisplayStringForRepresentedObject added in v0.18.0

func (p *TokenFieldDelegateBase) TokenField_DisplayStringForRepresentedObject(tokenField TokenField, representedObject objc.Object) string

func (*TokenFieldDelegateBase) TokenField_EditingStringForRepresentedObject added in v0.18.0

func (p *TokenFieldDelegateBase) TokenField_EditingStringForRepresentedObject(tokenField TokenField, representedObject objc.Object) string

func (*TokenFieldDelegateBase) TokenField_HasMenuForRepresentedObject added in v0.18.0

func (p *TokenFieldDelegateBase) TokenField_HasMenuForRepresentedObject(tokenField TokenField, representedObject objc.Object) bool

func (*TokenFieldDelegateBase) TokenField_MenuForRepresentedObject added in v0.18.0

func (p *TokenFieldDelegateBase) TokenField_MenuForRepresentedObject(tokenField TokenField, representedObject objc.Object) IMenu

func (*TokenFieldDelegateBase) TokenField_ReadFromPasteboard added in v0.18.0

func (p *TokenFieldDelegateBase) TokenField_ReadFromPasteboard(tokenField TokenField, pboard Pasteboard) []objc.IObject

func (*TokenFieldDelegateBase) TokenField_RepresentedObjectForEditingString added in v0.18.0

func (p *TokenFieldDelegateBase) TokenField_RepresentedObjectForEditingString(tokenField TokenField, editingString string) objc.IObject

func (*TokenFieldDelegateBase) TokenField_ShouldAddObjects_AtIndex added in v0.18.0

func (p *TokenFieldDelegateBase) TokenField_ShouldAddObjects_AtIndex(tokenField TokenField, tokens []objc.Object, index uint) []objc.IObject

func (*TokenFieldDelegateBase) TokenField_StyleForRepresentedObject added in v0.18.0

func (p *TokenFieldDelegateBase) TokenField_StyleForRepresentedObject(tokenField TokenField, representedObject objc.Object) TokenStyle

func (*TokenFieldDelegateBase) TokenField_WriteRepresentedObjects_ToPasteboard added in v0.18.0

func (p *TokenFieldDelegateBase) TokenField_WriteRepresentedObjects_ToPasteboard(tokenField TokenField, objects []objc.Object, pboard Pasteboard) bool

type TokenFieldDelegateCreator added in v0.19.0

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

func NewTokenFieldDelegateCreator added in v0.19.0

func NewTokenFieldDelegateCreator(name string) *TokenFieldDelegateCreator

func (*TokenFieldDelegateCreator) Create added in v0.19.0

func (*TokenFieldDelegateCreator) SetTokenField_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem added in v0.19.0

func (c *TokenFieldDelegateCreator) SetTokenField_CompletionsForSubstring_IndexOfToken_IndexOfSelectedItem(handle func(o objc.ProtocolBase, tokenField TokenField, substring string, tokenIndex int, selectedIndex *int) []objc.IObject)

func (*TokenFieldDelegateCreator) SetTokenField_DisplayStringForRepresentedObject added in v0.19.0

func (c *TokenFieldDelegateCreator) SetTokenField_DisplayStringForRepresentedObject(handle func(o objc.ProtocolBase, tokenField TokenField, representedObject objc.Object) string)

func (*TokenFieldDelegateCreator) SetTokenField_EditingStringForRepresentedObject added in v0.19.0

func (c *TokenFieldDelegateCreator) SetTokenField_EditingStringForRepresentedObject(handle func(o objc.ProtocolBase, tokenField TokenField, representedObject objc.Object) string)

func (*TokenFieldDelegateCreator) SetTokenField_HasMenuForRepresentedObject added in v0.19.0

func (c *TokenFieldDelegateCreator) SetTokenField_HasMenuForRepresentedObject(handle func(o objc.ProtocolBase, tokenField TokenField, representedObject objc.Object) bool)

func (*TokenFieldDelegateCreator) SetTokenField_MenuForRepresentedObject added in v0.19.0

func (c *TokenFieldDelegateCreator) SetTokenField_MenuForRepresentedObject(handle func(o objc.ProtocolBase, tokenField TokenField, representedObject objc.Object) IMenu)

func (*TokenFieldDelegateCreator) SetTokenField_ReadFromPasteboard added in v0.19.0

func (c *TokenFieldDelegateCreator) SetTokenField_ReadFromPasteboard(handle func(o objc.ProtocolBase, tokenField TokenField, pboard Pasteboard) []objc.IObject)

func (*TokenFieldDelegateCreator) SetTokenField_RepresentedObjectForEditingString added in v0.19.0

func (c *TokenFieldDelegateCreator) SetTokenField_RepresentedObjectForEditingString(handle func(o objc.ProtocolBase, tokenField TokenField, editingString string) objc.IObject)

func (*TokenFieldDelegateCreator) SetTokenField_ShouldAddObjects_AtIndex added in v0.19.0

func (c *TokenFieldDelegateCreator) SetTokenField_ShouldAddObjects_AtIndex(handle func(o objc.ProtocolBase, tokenField TokenField, tokens []objc.Object, index uint) []objc.IObject)

func (*TokenFieldDelegateCreator) SetTokenField_StyleForRepresentedObject added in v0.19.0

func (c *TokenFieldDelegateCreator) SetTokenField_StyleForRepresentedObject(handle func(o objc.ProtocolBase, tokenField TokenField, representedObject objc.Object) TokenStyle)

func (*TokenFieldDelegateCreator) SetTokenField_WriteRepresentedObjects_ToPasteboard added in v0.19.0

func (c *TokenFieldDelegateCreator) SetTokenField_WriteRepresentedObjects_ToPasteboard(handle func(o objc.ProtocolBase, tokenField TokenField, objects []objc.Object, pboard Pasteboard) bool)

type TokenStyle added in v0.13.6

type TokenStyle uint
const TokenStyleDefault TokenStyle = 0
const TokenStyleNone TokenStyle = 1
const TokenStylePlainSquared TokenStyle = 4
const TokenStyleRounded TokenStyle = 2
const TokenStyleSquared TokenStyle = 3

type ToolTipTag

type ToolTipTag int

type Toolbar

type Toolbar struct {
	objc.Object
}

func MakeToolbar

func MakeToolbar(ptr unsafe.Pointer) Toolbar

func NewToolbar

func NewToolbar() Toolbar

func (Toolbar) AllowsExtensionItems

func (t_ Toolbar) AllowsExtensionItems() bool

func (Toolbar) AllowsUserCustomization

func (t_ Toolbar) AllowsUserCustomization() bool

func (Toolbar) AutosavesConfiguration

func (t_ Toolbar) AutosavesConfiguration() bool

func (Toolbar) CenteredItemIdentifier

func (t_ Toolbar) CenteredItemIdentifier() ToolbarItemIdentifier

deprecated

func (Toolbar) CenteredItemIdentifiers added in v0.14.3

func (t_ Toolbar) CenteredItemIdentifiers() foundation.Set

func (Toolbar) ConfigurationDictionary

func (t_ Toolbar) ConfigurationDictionary() map[string]objc.Object

func (Toolbar) CustomizationPaletteIsRunning

func (t_ Toolbar) CustomizationPaletteIsRunning() bool

func (Toolbar) Delegate

func (t_ Toolbar) Delegate() objc.Object

weak property

func (Toolbar) DisplayMode

func (t_ Toolbar) DisplayMode() ToolbarDisplayMode

func (Toolbar) FullScreenAccessoryView added in v0.14.5

func (t_ Toolbar) FullScreenAccessoryView() View

deprecated

func (Toolbar) FullScreenAccessoryViewMaxHeight added in v0.14.5

func (t_ Toolbar) FullScreenAccessoryViewMaxHeight() float64

deprecated

func (Toolbar) FullScreenAccessoryViewMinHeight added in v0.14.5

func (t_ Toolbar) FullScreenAccessoryViewMinHeight() float64

deprecated

func (Toolbar) Identifier

func (t_ Toolbar) Identifier() ToolbarIdentifier

func (Toolbar) Init added in v0.11.0

func (t_ Toolbar) Init() Toolbar

func (Toolbar) InitWithIdentifier added in v0.11.0

func (t_ Toolbar) InitWithIdentifier(identifier ToolbarIdentifier) Toolbar

func (Toolbar) InsertItemWithItemIdentifier_AtIndex

func (t_ Toolbar) InsertItemWithItemIdentifier_AtIndex(itemIdentifier ToolbarItemIdentifier, index int)

func (Toolbar) IsVisible

func (t_ Toolbar) IsVisible() bool

func (Toolbar) Items

func (t_ Toolbar) Items() []ToolbarItem

func (Toolbar) RemoveItemAtIndex

func (t_ Toolbar) RemoveItemAtIndex(index int)

func (Toolbar) RunCustomizationPalette

func (t_ Toolbar) RunCustomizationPalette(sender objc.IObject)

func (Toolbar) SelectedItemIdentifier

func (t_ Toolbar) SelectedItemIdentifier() ToolbarItemIdentifier

func (Toolbar) SetAllowsExtensionItems

func (t_ Toolbar) SetAllowsExtensionItems(value bool)

func (Toolbar) SetAllowsUserCustomization

func (t_ Toolbar) SetAllowsUserCustomization(value bool)

func (Toolbar) SetAutosavesConfiguration

func (t_ Toolbar) SetAutosavesConfiguration(value bool)

func (Toolbar) SetCenteredItemIdentifier

func (t_ Toolbar) SetCenteredItemIdentifier(value ToolbarItemIdentifier)

deprecated

func (Toolbar) SetCenteredItemIdentifiers added in v0.14.3

func (t_ Toolbar) SetCenteredItemIdentifiers(value foundation.ISet)

func (Toolbar) SetConfigurationFromDictionary

func (t_ Toolbar) SetConfigurationFromDictionary(configDict map[string]objc.IObject)

func (Toolbar) SetDelegate

func (t_ Toolbar) SetDelegate(value objc.IObject)

weak property

func (Toolbar) SetDisplayMode

func (t_ Toolbar) SetDisplayMode(value ToolbarDisplayMode)

func (Toolbar) SetFullScreenAccessoryView added in v0.14.5

func (t_ Toolbar) SetFullScreenAccessoryView(value IView)

deprecated

func (Toolbar) SetFullScreenAccessoryViewMaxHeight added in v0.14.5

func (t_ Toolbar) SetFullScreenAccessoryViewMaxHeight(value float64)

deprecated

func (Toolbar) SetFullScreenAccessoryViewMinHeight added in v0.14.5

func (t_ Toolbar) SetFullScreenAccessoryViewMinHeight(value float64)

deprecated

func (Toolbar) SetSelectedItemIdentifier

func (t_ Toolbar) SetSelectedItemIdentifier(value ToolbarItemIdentifier)

func (Toolbar) SetShowsBaselineSeparator

func (t_ Toolbar) SetShowsBaselineSeparator(value bool)

func (Toolbar) SetSizeMode

func (t_ Toolbar) SetSizeMode(value ToolbarSizeMode)

deprecated

func (Toolbar) SetVisible

func (t_ Toolbar) SetVisible(value bool)

func (Toolbar) ShowsBaselineSeparator

func (t_ Toolbar) ShowsBaselineSeparator() bool

func (Toolbar) SizeMode

func (t_ Toolbar) SizeMode() ToolbarSizeMode

deprecated

func (Toolbar) ValidateVisibleItems

func (t_ Toolbar) ValidateVisibleItems()

func (Toolbar) VisibleItems

func (t_ Toolbar) VisibleItems() []ToolbarItem

type ToolbarDelegate added in v0.13.0

type ToolbarDelegate interface {
	ImplementsToolbar_ItemForItemIdentifier_WillBeInsertedIntoToolbar() bool
	// optional
	Toolbar_ItemForItemIdentifier_WillBeInsertedIntoToolbar(toolbar Toolbar, itemIdentifier ToolbarItemIdentifier, flag bool) IToolbarItem
	ImplementsToolbarWillAddItem() bool
	// optional
	ToolbarWillAddItem(notification foundation.Notification)
	ImplementsToolbarDidRemoveItem() bool
	// optional
	ToolbarDidRemoveItem(notification foundation.Notification)
	ImplementsToolbarAllowedItemIdentifiers() bool
	// optional
	ToolbarAllowedItemIdentifiers(toolbar Toolbar) []ToolbarItemIdentifier
	ImplementsToolbarDefaultItemIdentifiers() bool
	// optional
	ToolbarDefaultItemIdentifiers(toolbar Toolbar) []ToolbarItemIdentifier
	ImplementsToolbarImmovableItemIdentifiers() bool
	// optional
	ToolbarImmovableItemIdentifiers(toolbar Toolbar) foundation.ISet
	ImplementsToolbarSelectableItemIdentifiers() bool
	// optional
	ToolbarSelectableItemIdentifiers(toolbar Toolbar) []ToolbarItemIdentifier
	ImplementsToolbar_ItemIdentifier_CanBeInsertedAtIndex() bool
	// optional
	Toolbar_ItemIdentifier_CanBeInsertedAtIndex(toolbar Toolbar, itemIdentifier ToolbarItemIdentifier, index int) bool
}

type ToolbarDelegateBase added in v0.18.0

type ToolbarDelegateBase struct {
}

func (*ToolbarDelegateBase) ImplementsToolbarAllowedItemIdentifiers added in v0.18.0

func (p *ToolbarDelegateBase) ImplementsToolbarAllowedItemIdentifiers() bool

func (*ToolbarDelegateBase) ImplementsToolbarDefaultItemIdentifiers added in v0.18.0

func (p *ToolbarDelegateBase) ImplementsToolbarDefaultItemIdentifiers() bool

func (*ToolbarDelegateBase) ImplementsToolbarDidRemoveItem added in v0.18.0

func (p *ToolbarDelegateBase) ImplementsToolbarDidRemoveItem() bool

func (*ToolbarDelegateBase) ImplementsToolbarImmovableItemIdentifiers added in v0.18.0

func (p *ToolbarDelegateBase) ImplementsToolbarImmovableItemIdentifiers() bool

func (*ToolbarDelegateBase) ImplementsToolbarSelectableItemIdentifiers added in v0.18.0

func (p *ToolbarDelegateBase) ImplementsToolbarSelectableItemIdentifiers() bool

func (*ToolbarDelegateBase) ImplementsToolbarWillAddItem added in v0.18.0

func (p *ToolbarDelegateBase) ImplementsToolbarWillAddItem() bool

func (*ToolbarDelegateBase) ImplementsToolbar_ItemForItemIdentifier_WillBeInsertedIntoToolbar added in v0.18.0

func (p *ToolbarDelegateBase) ImplementsToolbar_ItemForItemIdentifier_WillBeInsertedIntoToolbar() bool

func (*ToolbarDelegateBase) ImplementsToolbar_ItemIdentifier_CanBeInsertedAtIndex added in v0.18.0

func (p *ToolbarDelegateBase) ImplementsToolbar_ItemIdentifier_CanBeInsertedAtIndex() bool

func (*ToolbarDelegateBase) ToolbarAllowedItemIdentifiers added in v0.18.0

func (p *ToolbarDelegateBase) ToolbarAllowedItemIdentifiers(toolbar Toolbar) []ToolbarItemIdentifier

func (*ToolbarDelegateBase) ToolbarDefaultItemIdentifiers added in v0.18.0

func (p *ToolbarDelegateBase) ToolbarDefaultItemIdentifiers(toolbar Toolbar) []ToolbarItemIdentifier

func (*ToolbarDelegateBase) ToolbarDidRemoveItem added in v0.18.0

func (p *ToolbarDelegateBase) ToolbarDidRemoveItem(notification foundation.Notification)

func (*ToolbarDelegateBase) ToolbarImmovableItemIdentifiers added in v0.18.0

func (p *ToolbarDelegateBase) ToolbarImmovableItemIdentifiers(toolbar Toolbar) foundation.ISet

func (*ToolbarDelegateBase) ToolbarSelectableItemIdentifiers added in v0.18.0

func (p *ToolbarDelegateBase) ToolbarSelectableItemIdentifiers(toolbar Toolbar) []ToolbarItemIdentifier

func (*ToolbarDelegateBase) ToolbarWillAddItem added in v0.18.0

func (p *ToolbarDelegateBase) ToolbarWillAddItem(notification foundation.Notification)

func (*ToolbarDelegateBase) Toolbar_ItemForItemIdentifier_WillBeInsertedIntoToolbar added in v0.18.0

func (p *ToolbarDelegateBase) Toolbar_ItemForItemIdentifier_WillBeInsertedIntoToolbar(toolbar Toolbar, itemIdentifier ToolbarItemIdentifier, flag bool) IToolbarItem

func (*ToolbarDelegateBase) Toolbar_ItemIdentifier_CanBeInsertedAtIndex added in v0.18.0

func (p *ToolbarDelegateBase) Toolbar_ItemIdentifier_CanBeInsertedAtIndex(toolbar Toolbar, itemIdentifier ToolbarItemIdentifier, index int) bool

type ToolbarDelegateCreator added in v0.19.0

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

func NewToolbarDelegateCreator added in v0.19.0

func NewToolbarDelegateCreator(name string) *ToolbarDelegateCreator

func (*ToolbarDelegateCreator) Create added in v0.19.0

func (*ToolbarDelegateCreator) SetToolbarAllowedItemIdentifiers added in v0.19.0

func (c *ToolbarDelegateCreator) SetToolbarAllowedItemIdentifiers(handle func(o objc.ProtocolBase, toolbar Toolbar) []ToolbarItemIdentifier)

func (*ToolbarDelegateCreator) SetToolbarDefaultItemIdentifiers added in v0.19.0

func (c *ToolbarDelegateCreator) SetToolbarDefaultItemIdentifiers(handle func(o objc.ProtocolBase, toolbar Toolbar) []ToolbarItemIdentifier)

func (*ToolbarDelegateCreator) SetToolbarDidRemoveItem added in v0.19.0

func (c *ToolbarDelegateCreator) SetToolbarDidRemoveItem(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ToolbarDelegateCreator) SetToolbarImmovableItemIdentifiers added in v0.19.0

func (c *ToolbarDelegateCreator) SetToolbarImmovableItemIdentifiers(handle func(o objc.ProtocolBase, toolbar Toolbar) foundation.ISet)

func (*ToolbarDelegateCreator) SetToolbarSelectableItemIdentifiers added in v0.19.0

func (c *ToolbarDelegateCreator) SetToolbarSelectableItemIdentifiers(handle func(o objc.ProtocolBase, toolbar Toolbar) []ToolbarItemIdentifier)

func (*ToolbarDelegateCreator) SetToolbarWillAddItem added in v0.19.0

func (c *ToolbarDelegateCreator) SetToolbarWillAddItem(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*ToolbarDelegateCreator) SetToolbar_ItemForItemIdentifier_WillBeInsertedIntoToolbar added in v0.19.0

func (c *ToolbarDelegateCreator) SetToolbar_ItemForItemIdentifier_WillBeInsertedIntoToolbar(handle func(o objc.ProtocolBase, toolbar Toolbar, itemIdentifier ToolbarItemIdentifier, flag bool) IToolbarItem)

func (*ToolbarDelegateCreator) SetToolbar_ItemIdentifier_CanBeInsertedAtIndex added in v0.19.0

func (c *ToolbarDelegateCreator) SetToolbar_ItemIdentifier_CanBeInsertedAtIndex(handle func(o objc.ProtocolBase, toolbar Toolbar, itemIdentifier ToolbarItemIdentifier, index int) bool)

type ToolbarDisplayMode

type ToolbarDisplayMode uint
const ToolbarDisplayModeDefault ToolbarDisplayMode = 0
const ToolbarDisplayModeIconAndLabel ToolbarDisplayMode = 1
const ToolbarDisplayModeIconOnly ToolbarDisplayMode = 2
const ToolbarDisplayModeLabelOnly ToolbarDisplayMode = 3

type ToolbarIdentifier

type ToolbarIdentifier string

type ToolbarItem

type ToolbarItem struct {
	objc.Object
}

func MakeToolbarItem

func MakeToolbarItem(ptr unsafe.Pointer) ToolbarItem

func NewToolbarItem added in v0.13.0

func NewToolbarItem() ToolbarItem

func (ToolbarItem) Action

func (t_ ToolbarItem) Action() objc.Selector

func (ToolbarItem) AllowsDuplicatesInToolbar

func (t_ ToolbarItem) AllowsDuplicatesInToolbar() bool

func (ToolbarItem) Autovalidates

func (t_ ToolbarItem) Autovalidates() bool

func (ToolbarItem) Image

func (t_ ToolbarItem) Image() Image

func (ToolbarItem) Init added in v0.13.0

func (t_ ToolbarItem) Init() ToolbarItem

func (ToolbarItem) InitWithItemIdentifier added in v0.11.0

func (t_ ToolbarItem) InitWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) ToolbarItem

func (ToolbarItem) IsBordered

func (t_ ToolbarItem) IsBordered() bool

func (ToolbarItem) IsEnabled

func (t_ ToolbarItem) IsEnabled() bool

func (ToolbarItem) IsNavigational

func (t_ ToolbarItem) IsNavigational() bool

func (ToolbarItem) IsVisible added in v0.13.5

func (t_ ToolbarItem) IsVisible() bool

func (ToolbarItem) ItemIdentifier

func (t_ ToolbarItem) ItemIdentifier() ToolbarItemIdentifier

func (ToolbarItem) Label

func (t_ ToolbarItem) Label() string

func (ToolbarItem) MaxSize added in v0.14.5

func (t_ ToolbarItem) MaxSize() foundation.Size

deprecated

func (ToolbarItem) MenuFormRepresentation

func (t_ ToolbarItem) MenuFormRepresentation() MenuItem

func (ToolbarItem) MinSize added in v0.14.5

func (t_ ToolbarItem) MinSize() foundation.Size

deprecated

func (ToolbarItem) PaletteLabel

func (t_ ToolbarItem) PaletteLabel() string

func (ToolbarItem) PossibleLabels added in v0.14.3

func (t_ ToolbarItem) PossibleLabels() foundation.Set

func (ToolbarItem) SetAction

func (t_ ToolbarItem) SetAction(value objc.Selector)

func (ToolbarItem) SetAutovalidates

func (t_ ToolbarItem) SetAutovalidates(value bool)

func (ToolbarItem) SetBordered

func (t_ ToolbarItem) SetBordered(value bool)

func (ToolbarItem) SetEnabled

func (t_ ToolbarItem) SetEnabled(value bool)

func (ToolbarItem) SetImage

func (t_ ToolbarItem) SetImage(value IImage)

func (ToolbarItem) SetLabel

func (t_ ToolbarItem) SetLabel(value string)

func (ToolbarItem) SetMaxSize added in v0.14.5

func (t_ ToolbarItem) SetMaxSize(value foundation.Size)

deprecated

func (ToolbarItem) SetMenuFormRepresentation

func (t_ ToolbarItem) SetMenuFormRepresentation(value IMenuItem)

func (ToolbarItem) SetMinSize added in v0.14.5

func (t_ ToolbarItem) SetMinSize(value foundation.Size)

deprecated

func (ToolbarItem) SetNavigational

func (t_ ToolbarItem) SetNavigational(value bool)

func (ToolbarItem) SetPaletteLabel

func (t_ ToolbarItem) SetPaletteLabel(value string)

func (ToolbarItem) SetPossibleLabels added in v0.14.3

func (t_ ToolbarItem) SetPossibleLabels(value foundation.ISet)

func (ToolbarItem) SetTag

func (t_ ToolbarItem) SetTag(value int)

func (ToolbarItem) SetTarget

func (t_ ToolbarItem) SetTarget(value objc.IObject)

weak property

func (ToolbarItem) SetTitle

func (t_ ToolbarItem) SetTitle(value string)

func (ToolbarItem) SetToolTip

func (t_ ToolbarItem) SetToolTip(value string)

func (ToolbarItem) SetView

func (t_ ToolbarItem) SetView(value IView)

func (ToolbarItem) SetVisibilityPriority

func (t_ ToolbarItem) SetVisibilityPriority(value ToolbarItemVisibilityPriority)

func (ToolbarItem) Tag

func (t_ ToolbarItem) Tag() int

func (ToolbarItem) Target

func (t_ ToolbarItem) Target() objc.Object

weak property

func (ToolbarItem) Title

func (t_ ToolbarItem) Title() string

func (ToolbarItem) ToolTip

func (t_ ToolbarItem) ToolTip() string

func (ToolbarItem) Toolbar

func (t_ ToolbarItem) Toolbar() Toolbar

weak property

func (ToolbarItem) Validate

func (t_ ToolbarItem) Validate()

func (ToolbarItem) View

func (t_ ToolbarItem) View() View

func (ToolbarItem) VisibilityPriority

func (t_ ToolbarItem) VisibilityPriority() ToolbarItemVisibilityPriority

type ToolbarItemGroup added in v0.13.6

type ToolbarItemGroup struct {
	ToolbarItem
}

func MakeToolbarItemGroup added in v0.13.6

func MakeToolbarItemGroup(ptr unsafe.Pointer) ToolbarItemGroup

func NewToolbarItemGroup added in v0.13.6

func NewToolbarItemGroup() ToolbarItemGroup

func (ToolbarItemGroup) ControlRepresentation added in v0.13.6

func (t_ ToolbarItemGroup) ControlRepresentation() ToolbarItemGroupControlRepresentation

func (ToolbarItemGroup) Init added in v0.13.6

func (ToolbarItemGroup) InitWithItemIdentifier added in v0.13.6

func (t_ ToolbarItemGroup) InitWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) ToolbarItemGroup

func (ToolbarItemGroup) IsSelectedAtIndex added in v0.13.6

func (t_ ToolbarItemGroup) IsSelectedAtIndex(index int) bool

func (ToolbarItemGroup) SelectedIndex added in v0.13.6

func (t_ ToolbarItemGroup) SelectedIndex() int

func (ToolbarItemGroup) SelectionMode added in v0.13.6

func (ToolbarItemGroup) SetControlRepresentation added in v0.13.6

func (t_ ToolbarItemGroup) SetControlRepresentation(value ToolbarItemGroupControlRepresentation)

func (ToolbarItemGroup) SetSelectedIndex added in v0.13.6

func (t_ ToolbarItemGroup) SetSelectedIndex(value int)

func (ToolbarItemGroup) SetSelected_AtIndex added in v0.13.6

func (t_ ToolbarItemGroup) SetSelected_AtIndex(selected bool, index int)

func (ToolbarItemGroup) SetSelectionMode added in v0.13.6

func (t_ ToolbarItemGroup) SetSelectionMode(value ToolbarItemGroupSelectionMode)

func (ToolbarItemGroup) SetSubitems added in v0.13.6

func (t_ ToolbarItemGroup) SetSubitems(value []IToolbarItem)

func (ToolbarItemGroup) Subitems added in v0.13.6

func (t_ ToolbarItemGroup) Subitems() []ToolbarItem

type ToolbarItemGroupControlRepresentation added in v0.13.6

type ToolbarItemGroupControlRepresentation int
const ToolbarItemGroupControlRepresentationAutomatic ToolbarItemGroupControlRepresentation = 0
const ToolbarItemGroupControlRepresentationCollapsed ToolbarItemGroupControlRepresentation = 2
const ToolbarItemGroupControlRepresentationExpanded ToolbarItemGroupControlRepresentation = 1

type ToolbarItemGroupSelectionMode added in v0.13.6

type ToolbarItemGroupSelectionMode int
const ToolbarItemGroupSelectionModeMomentary ToolbarItemGroupSelectionMode = 2
const ToolbarItemGroupSelectionModeSelectAny ToolbarItemGroupSelectionMode = 1
const ToolbarItemGroupSelectionModeSelectOne ToolbarItemGroupSelectionMode = 0

type ToolbarItemIdentifier

type ToolbarItemIdentifier string
const ToolbarCloudSharingItemIdentifier ToolbarItemIdentifier = "NSToolbarCloudSharingItem"
const ToolbarFlexibleSpaceItemIdentifier ToolbarItemIdentifier = "NSToolbarFlexibleSpaceItem"
const ToolbarPrintItemIdentifier ToolbarItemIdentifier = "NSToolbarPrintItem"
const ToolbarShowColorsItemIdentifier ToolbarItemIdentifier = "NSToolbarShowColorsItem"
const ToolbarShowFontsItemIdentifier ToolbarItemIdentifier = "NSToolbarShowFontsItem"
const ToolbarSidebarTrackingSeparatorItemIdentifier ToolbarItemIdentifier = "NSToolbarSidebarTrackingSeparatorItemIdentifier"
const ToolbarSpaceItemIdentifier ToolbarItemIdentifier = "NSToolbarSpaceItem"
const ToolbarToggleSidebarItemIdentifier ToolbarItemIdentifier = "NSToolbarToggleSidebarItem"

type ToolbarItemValidation added in v0.13.6

type ToolbarItemValidation interface {
	// required
	ValidateToolbarItem(item ToolbarItem) bool
}

type ToolbarItemValidationBase added in v0.13.6

type ToolbarItemValidationBase struct {
}

type ToolbarItemVisibilityPriority

type ToolbarItemVisibilityPriority int
const ToolbarItemVisibilityPriorityHigh ToolbarItemVisibilityPriority = 1000
const ToolbarItemVisibilityPriorityLow ToolbarItemVisibilityPriority = -1000
const ToolbarItemVisibilityPriorityStandard ToolbarItemVisibilityPriority = 0
const ToolbarItemVisibilityPriorityUser ToolbarItemVisibilityPriority = 2000

type ToolbarSizeMode

type ToolbarSizeMode uint

type Touch

type Touch struct {
	objc.Object
}

func MakeTouch

func MakeTouch(ptr unsafe.Pointer) Touch

func NewTouch

func NewTouch() Touch

func (Touch) Device

func (t_ Touch) Device() objc.Object

func (Touch) DeviceSize

func (t_ Touch) DeviceSize() foundation.Size

func (Touch) Init added in v0.11.0

func (t_ Touch) Init() Touch

func (Touch) IsResting

func (t_ Touch) IsResting() bool

func (Touch) LocationInView

func (t_ Touch) LocationInView(view IView) foundation.Point

func (Touch) NormalizedPosition

func (t_ Touch) NormalizedPosition() foundation.Point

func (Touch) Phase

func (t_ Touch) Phase() TouchPhase

func (Touch) PreviousLocationInView

func (t_ Touch) PreviousLocationInView(view IView) foundation.Point

func (Touch) Type

func (t_ Touch) Type() TouchType

type TouchBar

type TouchBar struct {
	objc.Object
}

func MakeTouchBar

func MakeTouchBar(ptr unsafe.Pointer) TouchBar

func NewTouchBar

func NewTouchBar() TouchBar

func (TouchBar) CustomizationAllowedItemIdentifiers

func (t_ TouchBar) CustomizationAllowedItemIdentifiers() []TouchBarItemIdentifier

func (TouchBar) CustomizationIdentifier

func (t_ TouchBar) CustomizationIdentifier() TouchBarCustomizationIdentifier

func (TouchBar) CustomizationRequiredItemIdentifiers

func (t_ TouchBar) CustomizationRequiredItemIdentifiers() []TouchBarItemIdentifier

func (TouchBar) DefaultItemIdentifiers

func (t_ TouchBar) DefaultItemIdentifiers() []TouchBarItemIdentifier

func (TouchBar) Delegate

func (t_ TouchBar) Delegate() objc.Object

weak property

func (TouchBar) EscapeKeyReplacementItemIdentifier

func (t_ TouchBar) EscapeKeyReplacementItemIdentifier() TouchBarItemIdentifier

func (TouchBar) Init added in v0.11.0

func (t_ TouchBar) Init() TouchBar

func (TouchBar) IsVisible

func (t_ TouchBar) IsVisible() bool

func (TouchBar) ItemForIdentifier

func (t_ TouchBar) ItemForIdentifier(identifier TouchBarItemIdentifier) TouchBarItem

func (TouchBar) ItemIdentifiers

func (t_ TouchBar) ItemIdentifiers() []TouchBarItemIdentifier

func (TouchBar) PrincipalItemIdentifier

func (t_ TouchBar) PrincipalItemIdentifier() TouchBarItemIdentifier

func (TouchBar) SetCustomizationAllowedItemIdentifiers

func (t_ TouchBar) SetCustomizationAllowedItemIdentifiers(value []TouchBarItemIdentifier)

func (TouchBar) SetCustomizationIdentifier

func (t_ TouchBar) SetCustomizationIdentifier(value TouchBarCustomizationIdentifier)

func (TouchBar) SetCustomizationRequiredItemIdentifiers

func (t_ TouchBar) SetCustomizationRequiredItemIdentifiers(value []TouchBarItemIdentifier)

func (TouchBar) SetDefaultItemIdentifiers

func (t_ TouchBar) SetDefaultItemIdentifiers(value []TouchBarItemIdentifier)

func (TouchBar) SetDelegate

func (t_ TouchBar) SetDelegate(value objc.IObject)

weak property

func (TouchBar) SetEscapeKeyReplacementItemIdentifier

func (t_ TouchBar) SetEscapeKeyReplacementItemIdentifier(value TouchBarItemIdentifier)

func (TouchBar) SetPrincipalItemIdentifier

func (t_ TouchBar) SetPrincipalItemIdentifier(value TouchBarItemIdentifier)

func (TouchBar) SetTemplateItems

func (t_ TouchBar) SetTemplateItems(value foundation.ISet)

func (TouchBar) TemplateItems

func (t_ TouchBar) TemplateItems() foundation.Set

type TouchBarCustomizationIdentifier

type TouchBarCustomizationIdentifier string

type TouchBarDelegate

type TouchBarDelegate interface {
	ImplementsTouchBar_MakeItemForIdentifier() bool
	// optional
	TouchBar_MakeItemForIdentifier(touchBar TouchBar, identifier TouchBarItemIdentifier) ITouchBarItem
}

type TouchBarDelegateBase added in v0.18.0

type TouchBarDelegateBase struct {
}

func (*TouchBarDelegateBase) ImplementsTouchBar_MakeItemForIdentifier added in v0.18.0

func (p *TouchBarDelegateBase) ImplementsTouchBar_MakeItemForIdentifier() bool

func (*TouchBarDelegateBase) TouchBar_MakeItemForIdentifier added in v0.18.0

func (p *TouchBarDelegateBase) TouchBar_MakeItemForIdentifier(touchBar TouchBar, identifier TouchBarItemIdentifier) ITouchBarItem

type TouchBarDelegateCreator added in v0.19.0

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

func NewTouchBarDelegateCreator added in v0.19.0

func NewTouchBarDelegateCreator(name string) *TouchBarDelegateCreator

func (*TouchBarDelegateCreator) Create added in v0.19.0

func (*TouchBarDelegateCreator) SetTouchBar_MakeItemForIdentifier added in v0.19.0

func (c *TouchBarDelegateCreator) SetTouchBar_MakeItemForIdentifier(handle func(o objc.ProtocolBase, touchBar TouchBar, identifier TouchBarItemIdentifier) ITouchBarItem)

type TouchBarItem

type TouchBarItem struct {
	objc.Object
}

func MakeTouchBarItem

func MakeTouchBarItem(ptr unsafe.Pointer) TouchBarItem

func NewTouchBarItem added in v0.13.0

func NewTouchBarItem() TouchBarItem

func (TouchBarItem) CustomizationLabel

func (t_ TouchBarItem) CustomizationLabel() string

func (TouchBarItem) Identifier

func (t_ TouchBarItem) Identifier() TouchBarItemIdentifier

func (TouchBarItem) Init added in v0.13.0

func (t_ TouchBarItem) Init() TouchBarItem

func (TouchBarItem) InitWithIdentifier added in v0.11.0

func (t_ TouchBarItem) InitWithIdentifier(identifier TouchBarItemIdentifier) TouchBarItem

func (TouchBarItem) IsVisible

func (t_ TouchBarItem) IsVisible() bool

func (TouchBarItem) SetVisibilityPriority

func (t_ TouchBarItem) SetVisibilityPriority(value TouchBarItemPriority)

func (TouchBarItem) View

func (t_ TouchBarItem) View() View

func (TouchBarItem) ViewController

func (t_ TouchBarItem) ViewController() ViewController

func (TouchBarItem) VisibilityPriority

func (t_ TouchBarItem) VisibilityPriority() TouchBarItemPriority

type TouchBarItemIdentifier

type TouchBarItemIdentifier string
const TouchBarItemIdentifierCandidateList TouchBarItemIdentifier = "NSTouchBarItemIdentifierCandidateList"
const TouchBarItemIdentifierCharacterPicker TouchBarItemIdentifier = "NSTouchBarItemIdentifierCharacterPicker"
const TouchBarItemIdentifierFixedSpaceLarge TouchBarItemIdentifier = "NSTouchBarItemIdentifierFixedSpaceLarge"
const TouchBarItemIdentifierFixedSpaceSmall TouchBarItemIdentifier = "NSTouchBarItemIdentifierFixedSpaceSmall"
const TouchBarItemIdentifierFlexibleSpace TouchBarItemIdentifier = "NSTouchBarItemIdentifierFlexibleSpace"
const TouchBarItemIdentifierOtherItemsProxy TouchBarItemIdentifier = "NSTouchBarItemIdentifierOtherItemsProxy"
const TouchBarItemIdentifierTextAlignment TouchBarItemIdentifier = "NSTouchBarItemIdentifierTextAlignment"
const TouchBarItemIdentifierTextColorPicker TouchBarItemIdentifier = "NSTouchBarItemIdentifierTextColorPicker"
const TouchBarItemIdentifierTextFormat TouchBarItemIdentifier = "NSTouchBarItemIdentifierTextFormat"
const TouchBarItemIdentifierTextList TouchBarItemIdentifier = "NSTouchBarItemIdentifierTextList"
const TouchBarItemIdentifierTextStyle TouchBarItemIdentifier = "NSTouchBarItemIdentifierTextStyle"

type TouchBarItemPriority

type TouchBarItemPriority float32
const TouchBarItemPriorityHigh TouchBarItemPriority = 1000.0
const TouchBarItemPriorityLow TouchBarItemPriority = -1000.0
const TouchBarItemPriorityNormal TouchBarItemPriority = 0.0

type TouchPhase

type TouchPhase uint
const TouchPhaseAny TouchPhase = 18446744073709551615
const TouchPhaseBegan TouchPhase = 1
const TouchPhaseCancelled TouchPhase = 16
const TouchPhaseEnded TouchPhase = 8
const TouchPhaseMoved TouchPhase = 2
const TouchPhaseStationary TouchPhase = 4
const TouchPhaseTouching TouchPhase = 7

type TouchType

type TouchType int
const TouchTypeDirect TouchType = 0
const TouchTypeIndirect TouchType = 1

type TouchTypeMask

type TouchTypeMask uint
const TouchTypeMaskDirect TouchTypeMask = 1
const TouchTypeMaskIndirect TouchTypeMask = 2

type TrackingArea

type TrackingArea struct {
	objc.Object
}

func MakeTrackingArea

func MakeTrackingArea(ptr unsafe.Pointer) TrackingArea

func NewTrackingArea

func NewTrackingArea() TrackingArea

func (TrackingArea) Init added in v0.11.0

func (t_ TrackingArea) Init() TrackingArea

func (TrackingArea) InitWithRect_Options_Owner_UserInfo added in v0.11.0

func (t_ TrackingArea) InitWithRect_Options_Owner_UserInfo(rect foundation.Rect, options TrackingAreaOptions, owner objc.IObject, userInfo foundation.IDictionary) TrackingArea

func (TrackingArea) Options

func (t_ TrackingArea) Options() TrackingAreaOptions

func (TrackingArea) Owner

func (t_ TrackingArea) Owner() objc.Object

weak property

func (TrackingArea) Rect

func (t_ TrackingArea) Rect() foundation.Rect

func (TrackingArea) UserInfo

func (t_ TrackingArea) UserInfo() foundation.Dictionary

type TrackingAreaOptions

type TrackingAreaOptions uint
const TrackingActiveAlways TrackingAreaOptions = 128
const TrackingActiveInActiveApp TrackingAreaOptions = 64
const TrackingActiveInKeyWindow TrackingAreaOptions = 32
const TrackingActiveWhenFirstResponder TrackingAreaOptions = 16
const TrackingAssumeInside TrackingAreaOptions = 256
const TrackingCursorUpdate TrackingAreaOptions = 4
const TrackingEnabledDuringMouseDrag TrackingAreaOptions = 1024
const TrackingInVisibleRect TrackingAreaOptions = 512
const TrackingMouseEnteredAndExited TrackingAreaOptions = 1
const TrackingMouseMoved TrackingAreaOptions = 2

type TrackingRectTag

type TrackingRectTag int

type TrackingSeparatorToolbarItem added in v0.13.6

type TrackingSeparatorToolbarItem struct {
	ToolbarItem
}

func MakeTrackingSeparatorToolbarItem added in v0.13.6

func MakeTrackingSeparatorToolbarItem(ptr unsafe.Pointer) TrackingSeparatorToolbarItem

func NewTrackingSeparatorToolbarItem added in v0.13.6

func NewTrackingSeparatorToolbarItem() TrackingSeparatorToolbarItem

func (TrackingSeparatorToolbarItem) DividerIndex added in v0.13.6

func (t_ TrackingSeparatorToolbarItem) DividerIndex() int

func (TrackingSeparatorToolbarItem) Init added in v0.13.6

func (TrackingSeparatorToolbarItem) InitWithItemIdentifier added in v0.13.6

func (t_ TrackingSeparatorToolbarItem) InitWithItemIdentifier(itemIdentifier ToolbarItemIdentifier) TrackingSeparatorToolbarItem

func (TrackingSeparatorToolbarItem) SetDividerIndex added in v0.13.6

func (t_ TrackingSeparatorToolbarItem) SetDividerIndex(value int)

func (TrackingSeparatorToolbarItem) SetSplitView added in v0.13.6

func (t_ TrackingSeparatorToolbarItem) SetSplitView(value ISplitView)

func (TrackingSeparatorToolbarItem) SplitView added in v0.13.6

func (t_ TrackingSeparatorToolbarItem) SplitView() SplitView

type TreeController

type TreeController struct {
	ObjectController
}

func MakeTreeController

func MakeTreeController(ptr unsafe.Pointer) TreeController

func NewTreeController

func NewTreeController() TreeController

func (TreeController) AddChild

func (t_ TreeController) AddChild(sender objc.IObject)

func (TreeController) AddSelectionIndexPaths

func (t_ TreeController) AddSelectionIndexPaths(indexPaths []foundation.IIndexPath) bool

func (TreeController) AlwaysUsesMultipleValuesMarker

func (t_ TreeController) AlwaysUsesMultipleValuesMarker() bool

func (TreeController) ArrangedObjects

func (t_ TreeController) ArrangedObjects() TreeNode

func (TreeController) AvoidsEmptySelection

func (t_ TreeController) AvoidsEmptySelection() bool

func (TreeController) CanAddChild

func (t_ TreeController) CanAddChild() bool

func (TreeController) CanInsert

func (t_ TreeController) CanInsert() bool

func (TreeController) CanInsertChild

func (t_ TreeController) CanInsertChild() bool

func (TreeController) ChildrenKeyPath

func (t_ TreeController) ChildrenKeyPath() string

func (TreeController) ChildrenKeyPathForNode

func (t_ TreeController) ChildrenKeyPathForNode(node ITreeNode) string

func (TreeController) CountKeyPath

func (t_ TreeController) CountKeyPath() string

func (TreeController) CountKeyPathForNode

func (t_ TreeController) CountKeyPathForNode(node ITreeNode) string

func (TreeController) Init added in v0.11.0

func (t_ TreeController) Init() TreeController

func (TreeController) InitWithContent added in v0.11.0

func (t_ TreeController) InitWithContent(content objc.IObject) TreeController

func (TreeController) Insert

func (t_ TreeController) Insert(sender objc.IObject)

func (TreeController) InsertChild

func (t_ TreeController) InsertChild(sender objc.IObject)

func (TreeController) InsertObject_AtArrangedObjectIndexPath

func (t_ TreeController) InsertObject_AtArrangedObjectIndexPath(object objc.IObject, indexPath foundation.IIndexPath)

func (TreeController) InsertObjects_AtArrangedObjectIndexPaths

func (t_ TreeController) InsertObjects_AtArrangedObjectIndexPaths(objects []objc.IObject, indexPaths []foundation.IIndexPath)

func (TreeController) LeafKeyPath

func (t_ TreeController) LeafKeyPath() string

func (TreeController) LeafKeyPathForNode

func (t_ TreeController) LeafKeyPathForNode(node ITreeNode) string

func (TreeController) MoveNode_ToIndexPath

func (t_ TreeController) MoveNode_ToIndexPath(node ITreeNode, indexPath foundation.IIndexPath)

func (TreeController) MoveNodes_ToIndexPath

func (t_ TreeController) MoveNodes_ToIndexPath(nodes []ITreeNode, startingIndexPath foundation.IIndexPath)

func (TreeController) PreservesSelection

func (t_ TreeController) PreservesSelection() bool

func (TreeController) RearrangeObjects

func (t_ TreeController) RearrangeObjects()

func (TreeController) RemoveObjectAtArrangedObjectIndexPath

func (t_ TreeController) RemoveObjectAtArrangedObjectIndexPath(indexPath foundation.IIndexPath)

func (TreeController) RemoveObjectsAtArrangedObjectIndexPaths

func (t_ TreeController) RemoveObjectsAtArrangedObjectIndexPaths(indexPaths []foundation.IIndexPath)

func (TreeController) RemoveSelectionIndexPaths

func (t_ TreeController) RemoveSelectionIndexPaths(indexPaths []foundation.IIndexPath) bool

func (TreeController) SelectedNodes

func (t_ TreeController) SelectedNodes() []TreeNode

func (TreeController) SelectionIndexPath

func (t_ TreeController) SelectionIndexPath() foundation.IndexPath

func (TreeController) SelectionIndexPaths

func (t_ TreeController) SelectionIndexPaths() []foundation.IndexPath

func (TreeController) SelectsInsertedObjects

func (t_ TreeController) SelectsInsertedObjects() bool

func (TreeController) SetAlwaysUsesMultipleValuesMarker

func (t_ TreeController) SetAlwaysUsesMultipleValuesMarker(value bool)

func (TreeController) SetAvoidsEmptySelection

func (t_ TreeController) SetAvoidsEmptySelection(value bool)

func (TreeController) SetChildrenKeyPath

func (t_ TreeController) SetChildrenKeyPath(value string)

func (TreeController) SetCountKeyPath

func (t_ TreeController) SetCountKeyPath(value string)

func (TreeController) SetLeafKeyPath

func (t_ TreeController) SetLeafKeyPath(value string)

func (TreeController) SetPreservesSelection

func (t_ TreeController) SetPreservesSelection(value bool)

func (TreeController) SetSelectionIndexPath

func (t_ TreeController) SetSelectionIndexPath(indexPath foundation.IIndexPath) bool

func (TreeController) SetSelectionIndexPaths

func (t_ TreeController) SetSelectionIndexPaths(indexPaths []foundation.IIndexPath) bool

func (TreeController) SetSelectsInsertedObjects

func (t_ TreeController) SetSelectsInsertedObjects(value bool)

func (TreeController) SetSortDescriptors

func (t_ TreeController) SetSortDescriptors(value []foundation.ISortDescriptor)

func (TreeController) SortDescriptors

func (t_ TreeController) SortDescriptors() []foundation.SortDescriptor

type TreeNode

type TreeNode struct {
	objc.Object
}

func MakeTreeNode

func MakeTreeNode(ptr unsafe.Pointer) TreeNode

func NewTreeNode

func NewTreeNode() TreeNode

func (TreeNode) ChildNodes

func (t_ TreeNode) ChildNodes() []TreeNode

func (TreeNode) DescendantNodeAtIndexPath

func (t_ TreeNode) DescendantNodeAtIndexPath(indexPath foundation.IIndexPath) TreeNode

func (TreeNode) IndexPath

func (t_ TreeNode) IndexPath() foundation.IndexPath

func (TreeNode) Init added in v0.11.0

func (t_ TreeNode) Init() TreeNode

func (TreeNode) InitWithRepresentedObject added in v0.11.0

func (t_ TreeNode) InitWithRepresentedObject(modelObject objc.IObject) TreeNode

func (TreeNode) IsLeaf

func (t_ TreeNode) IsLeaf() bool

func (TreeNode) ParentNode

func (t_ TreeNode) ParentNode() TreeNode

weak property

func (TreeNode) RepresentedObject

func (t_ TreeNode) RepresentedObject() objc.Object

func (TreeNode) SortWithSortDescriptors_Recursively

func (t_ TreeNode) SortWithSortDescriptors_Recursively(sortDescriptors []foundation.ISortDescriptor, recursively bool)

type Typesetter

type Typesetter struct {
	objc.Object
}

func MakeTypesetter

func MakeTypesetter(ptr unsafe.Pointer) Typesetter

func NewTypesetter

func NewTypesetter() Typesetter

func (Typesetter) ActionForControlCharacterAtIndex added in v0.14.5

func (t_ Typesetter) ActionForControlCharacterAtIndex(charIndex uint) TypesetterControlCharacterAction

deprecated

func (Typesetter) AttributedString

func (t_ Typesetter) AttributedString() foundation.AttributedString

weak property

func (Typesetter) AttributesForExtraLineFragment

func (t_ Typesetter) AttributesForExtraLineFragment() map[foundation.AttributedStringKey]objc.Object

func (Typesetter) BaselineOffsetInLayoutManager_GlyphIndex

func (t_ Typesetter) BaselineOffsetInLayoutManager_GlyphIndex(layoutMgr ILayoutManager, glyphIndex uint) float64

func (Typesetter) BeginLineWithGlyphAtIndex

func (t_ Typesetter) BeginLineWithGlyphAtIndex(glyphIndex uint)

func (Typesetter) BeginParagraph

func (t_ Typesetter) BeginParagraph()

func (Typesetter) BidiProcessingEnabled

func (t_ Typesetter) BidiProcessingEnabled() bool

func (Typesetter) BoundingBoxForControlGlyphAtIndex_ForTextContainer_ProposedLineFragment_GlyphPosition_CharacterIndex

func (t_ Typesetter) BoundingBoxForControlGlyphAtIndex_ForTextContainer_ProposedLineFragment_GlyphPosition_CharacterIndex(glyphIndex uint, textContainer ITextContainer, proposedRect foundation.Rect, glyphPosition foundation.Point, charIndex uint) foundation.Rect

func (Typesetter) CharacterRangeForGlyphRange_ActualGlyphRange added in v0.13.4

func (t_ Typesetter) CharacterRangeForGlyphRange_ActualGlyphRange(glyphRange foundation.Range, actualGlyphRange *foundation.Range) foundation.Range

func (Typesetter) CurrentParagraphStyle

func (t_ Typesetter) CurrentParagraphStyle() ParagraphStyle

func (Typesetter) CurrentTextContainer

func (t_ Typesetter) CurrentTextContainer() TextContainer

weak property

func (Typesetter) DeleteGlyphsInRange added in v0.14.5

func (t_ Typesetter) DeleteGlyphsInRange(glyphRange foundation.Range)

deprecated

func (Typesetter) EndLineWithGlyphRange

func (t_ Typesetter) EndLineWithGlyphRange(lineGlyphRange foundation.Range)

func (Typesetter) EndParagraph

func (t_ Typesetter) EndParagraph()

func (Typesetter) GetGlyphsInRange_Glyphs_CharacterIndexes_GlyphInscriptions_ElasticBits_BidiLevels added in v0.14.5

func (t_ Typesetter) GetGlyphsInRange_Glyphs_CharacterIndexes_GlyphInscriptions_ElasticBits_BidiLevels(glyphsRange foundation.Range, glyphBuffer *Glyph, charIndexBuffer *uint, inscribeBuffer *GlyphInscription, elasticBuffer *bool, bidiLevelBuffer *byte) uint

deprecated

func (Typesetter) GetLineFragmentRect_UsedRect_ForParagraphSeparatorGlyphRange_AtProposedOrigin added in v0.13.4

func (t_ Typesetter) GetLineFragmentRect_UsedRect_ForParagraphSeparatorGlyphRange_AtProposedOrigin(lineFragmentRect *foundation.Rect, lineFragmentUsedRect *foundation.Rect, paragraphSeparatorGlyphRange foundation.Range, lineOrigin foundation.Point)

func (Typesetter) GetLineFragmentRect_UsedRect_RemainingRect_ForStartingGlyphAtIndex_ProposedRect_LineSpacing_ParagraphSpacingBefore_ParagraphSpacingAfter added in v0.13.4

func (t_ Typesetter) GetLineFragmentRect_UsedRect_RemainingRect_ForStartingGlyphAtIndex_ProposedRect_LineSpacing_ParagraphSpacingBefore_ParagraphSpacingAfter(lineFragmentRect *foundation.Rect, lineFragmentUsedRect *foundation.Rect, remainingRect *foundation.Rect, startingGlyphIndex uint, proposedRect foundation.Rect, lineSpacing float64, paragraphSpacingBefore float64, paragraphSpacingAfter float64)

func (Typesetter) GlyphRangeForCharacterRange_ActualCharacterRange added in v0.13.4

func (t_ Typesetter) GlyphRangeForCharacterRange_ActualCharacterRange(charRange foundation.Range, actualCharRange *foundation.Range) foundation.Range

func (Typesetter) HyphenCharacterForGlyphAtIndex added in v0.14.1

func (t_ Typesetter) HyphenCharacterForGlyphAtIndex(glyphIndex uint) uint32

func (Typesetter) HyphenationFactor

func (t_ Typesetter) HyphenationFactor() float32

func (Typesetter) HyphenationFactorForGlyphAtIndex

func (t_ Typesetter) HyphenationFactorForGlyphAtIndex(glyphIndex uint) float32

func (Typesetter) Init added in v0.11.0

func (t_ Typesetter) Init() Typesetter

func (Typesetter) InsertGlyph_AtGlyphIndex_CharacterIndex added in v0.14.5

func (t_ Typesetter) InsertGlyph_AtGlyphIndex_CharacterIndex(glyph Glyph, glyphIndex uint, characterIndex uint)

deprecated

func (Typesetter) LayoutCharactersInRange_ForLayoutManager_MaximumNumberOfLineFragments

func (t_ Typesetter) LayoutCharactersInRange_ForLayoutManager_MaximumNumberOfLineFragments(characterRange foundation.Range, layoutManager ILayoutManager, maxNumLines uint) foundation.Range

func (Typesetter) LayoutGlyphsInLayoutManager_StartingAtGlyphIndex_MaxNumberOfLineFragments_NextGlyphIndex added in v0.13.4

func (t_ Typesetter) LayoutGlyphsInLayoutManager_StartingAtGlyphIndex_MaxNumberOfLineFragments_NextGlyphIndex(layoutManager ILayoutManager, startGlyphIndex uint, maxNumLines uint, nextGlyph *uint)

func (Typesetter) LayoutManager

func (t_ Typesetter) LayoutManager() LayoutManager

weak property

func (Typesetter) LayoutParagraphAtPoint added in v0.13.4

func (t_ Typesetter) LayoutParagraphAtPoint(lineFragmentOrigin *foundation.Point) uint

func (Typesetter) LineFragmentPadding

func (t_ Typesetter) LineFragmentPadding() float64

func (Typesetter) LineSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect

func (t_ Typesetter) LineSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect(glyphIndex uint, rect foundation.Rect) float64

func (Typesetter) ParagraphCharacterRange

func (t_ Typesetter) ParagraphCharacterRange() foundation.Range

func (Typesetter) ParagraphGlyphRange

func (t_ Typesetter) ParagraphGlyphRange() foundation.Range

func (Typesetter) ParagraphSeparatorCharacterRange

func (t_ Typesetter) ParagraphSeparatorCharacterRange() foundation.Range

func (Typesetter) ParagraphSeparatorGlyphRange

func (t_ Typesetter) ParagraphSeparatorGlyphRange() foundation.Range

func (Typesetter) ParagraphSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect

func (t_ Typesetter) ParagraphSpacingAfterGlyphAtIndex_WithProposedLineFragmentRect(glyphIndex uint, rect foundation.Rect) float64

func (Typesetter) ParagraphSpacingBeforeGlyphAtIndex_WithProposedLineFragmentRect

func (t_ Typesetter) ParagraphSpacingBeforeGlyphAtIndex_WithProposedLineFragmentRect(glyphIndex uint, rect foundation.Rect) float64

func (Typesetter) SetAttachmentSize_ForGlyphRange

func (t_ Typesetter) SetAttachmentSize_ForGlyphRange(attachmentSize foundation.Size, glyphRange foundation.Range)

func (Typesetter) SetAttributedString

func (t_ Typesetter) SetAttributedString(value foundation.IAttributedString)

weak property

func (Typesetter) SetBidiProcessingEnabled

func (t_ Typesetter) SetBidiProcessingEnabled(value bool)

func (Typesetter) SetDrawsOutsideLineFragment_ForGlyphRange

func (t_ Typesetter) SetDrawsOutsideLineFragment_ForGlyphRange(flag bool, glyphRange foundation.Range)

func (Typesetter) SetHardInvalidation_ForGlyphRange

func (t_ Typesetter) SetHardInvalidation_ForGlyphRange(flag bool, glyphRange foundation.Range)

func (Typesetter) SetHyphenationFactor

func (t_ Typesetter) SetHyphenationFactor(value float32)

func (Typesetter) SetLineFragmentPadding

func (t_ Typesetter) SetLineFragmentPadding(value float64)

func (Typesetter) SetLineFragmentRect_ForGlyphRange_UsedRect_BaselineOffset

func (t_ Typesetter) SetLineFragmentRect_ForGlyphRange_UsedRect_BaselineOffset(fragmentRect foundation.Rect, glyphRange foundation.Range, usedRect foundation.Rect, baselineOffset float64)

func (Typesetter) SetLocation_WithAdvancements_ForStartOfGlyphRange added in v0.13.4

func (t_ Typesetter) SetLocation_WithAdvancements_ForStartOfGlyphRange(location foundation.Point, advancements *float64, glyphRange foundation.Range)

func (Typesetter) SetNotShownAttribute_ForGlyphRange

func (t_ Typesetter) SetNotShownAttribute_ForGlyphRange(flag bool, glyphRange foundation.Range)

func (Typesetter) SetParagraphGlyphRange_SeparatorGlyphRange

func (t_ Typesetter) SetParagraphGlyphRange_SeparatorGlyphRange(paragraphRange foundation.Range, paragraphSeparatorRange foundation.Range)

func (Typesetter) SetTypesetterBehavior

func (t_ Typesetter) SetTypesetterBehavior(value TypesetterBehavior)

func (Typesetter) SetUsesFontLeading

func (t_ Typesetter) SetUsesFontLeading(value bool)

func (Typesetter) ShouldBreakLineByHyphenatingBeforeCharacterAtIndex

func (t_ Typesetter) ShouldBreakLineByHyphenatingBeforeCharacterAtIndex(charIndex uint) bool

func (Typesetter) ShouldBreakLineByWordBeforeCharacterAtIndex

func (t_ Typesetter) ShouldBreakLineByWordBeforeCharacterAtIndex(charIndex uint) bool

func (Typesetter) SubstituteFontForFont

func (t_ Typesetter) SubstituteFontForFont(originalFont IFont) Font

func (Typesetter) SubstituteGlyphsInRange_WithGlyphs added in v0.14.5

func (t_ Typesetter) SubstituteGlyphsInRange_WithGlyphs(glyphRange foundation.Range, glyphs *Glyph)

deprecated

func (Typesetter) TextContainers

func (t_ Typesetter) TextContainers() []TextContainer

weak property

func (Typesetter) TextTabForGlyphLocation_WritingDirection_MaxLocation

func (t_ Typesetter) TextTabForGlyphLocation_WritingDirection_MaxLocation(glyphLocation float64, direction WritingDirection, maxLocation float64) TextTab

func (Typesetter) TypesetterBehavior

func (t_ Typesetter) TypesetterBehavior() TypesetterBehavior

func (Typesetter) UsesFontLeading

func (t_ Typesetter) UsesFontLeading() bool

func (Typesetter) WillSetLineFragmentRect_ForGlyphRange_UsedRect_BaselineOffset added in v0.13.4

func (t_ Typesetter) WillSetLineFragmentRect_ForGlyphRange_UsedRect_BaselineOffset(lineRect *foundation.Rect, glyphRange foundation.Range, usedRect *foundation.Rect, baselineOffset *float64)

type TypesetterBehavior

type TypesetterBehavior int
const TypesetterBehavior_10_2 TypesetterBehavior = 2
const TypesetterBehavior_10_2_WithCompatibility TypesetterBehavior = 1
const TypesetterBehavior_10_3 TypesetterBehavior = 3
const TypesetterBehavior_10_4 TypesetterBehavior = 4
const TypesetterLatestBehavior TypesetterBehavior = -1
const TypesetterOriginalBehavior TypesetterBehavior = 0

type TypesetterControlCharacterAction added in v0.14.5

type TypesetterControlCharacterAction uint
const TypesetterContainerBreakAction TypesetterControlCharacterAction = 32
const TypesetterHorizontalTabAction TypesetterControlCharacterAction = 4
const TypesetterLineBreakAction TypesetterControlCharacterAction = 8
const TypesetterParagraphBreakAction TypesetterControlCharacterAction = 16
const TypesetterWhitespaceAction TypesetterControlCharacterAction = 2
const TypesetterZeroAdvancementAction TypesetterControlCharacterAction = 1

type UnderlineStyle

type UnderlineStyle int
const UnderlineStyleByWord UnderlineStyle = 32768
const UnderlineStyleDouble UnderlineStyle = 9
const UnderlineStyleNone UnderlineStyle = 0
const UnderlineStylePatternDash UnderlineStyle = 512
const UnderlineStylePatternDashDot UnderlineStyle = 768
const UnderlineStylePatternDashDotDot UnderlineStyle = 1024
const UnderlineStylePatternDot UnderlineStyle = 256
const UnderlineStylePatternSolid UnderlineStyle = 0
const UnderlineStyleSingle UnderlineStyle = 1
const UnderlineStyleThick UnderlineStyle = 2

type UsableScrollerParts

type UsableScrollerParts uint
const AllScrollerParts UsableScrollerParts = 2
const NoScrollerParts UsableScrollerParts = 0

type UserInterfaceCompression added in v0.13.0

type UserInterfaceCompression interface {
	// required
	CompressWithPrioritizedCompressionOptions(prioritizedOptions []UserInterfaceCompressionOptions)
	// required
	MinimumSizeWithPrioritizedCompressionOptions(prioritizedOptions []UserInterfaceCompressionOptions) foundation.Size
	ImplementsActiveCompressionOptions() bool
	// optional
	ActiveCompressionOptions() IUserInterfaceCompressionOptions
}

type UserInterfaceCompressionBase added in v0.13.0

type UserInterfaceCompressionBase struct {
}

func (*UserInterfaceCompressionBase) ActiveCompressionOptions added in v0.13.0

func (p *UserInterfaceCompressionBase) ActiveCompressionOptions() IUserInterfaceCompressionOptions

func (*UserInterfaceCompressionBase) ImplementsActiveCompressionOptions added in v0.13.0

func (p *UserInterfaceCompressionBase) ImplementsActiveCompressionOptions() bool

type UserInterfaceCompressionOptions

type UserInterfaceCompressionOptions struct {
	objc.Object
}

func MakeUserInterfaceCompressionOptions

func MakeUserInterfaceCompressionOptions(ptr unsafe.Pointer) UserInterfaceCompressionOptions

func NewUserInterfaceCompressionOptions

func NewUserInterfaceCompressionOptions() UserInterfaceCompressionOptions

func (UserInterfaceCompressionOptions) ContainsOptions

func (UserInterfaceCompressionOptions) Init added in v0.11.0

func (UserInterfaceCompressionOptions) InitWithCompressionOptions added in v0.11.0

func (u_ UserInterfaceCompressionOptions) InitWithCompressionOptions(options foundation.ISet) UserInterfaceCompressionOptions

func (UserInterfaceCompressionOptions) InitWithIdentifier added in v0.11.0

func (UserInterfaceCompressionOptions) IntersectsOptions

func (UserInterfaceCompressionOptions) IsEmpty

func (UserInterfaceCompressionOptions) OptionsByAddingOptions

func (UserInterfaceCompressionOptions) OptionsByRemovingOptions

type UserInterfaceItemIdentification added in v0.13.2

type UserInterfaceItemIdentification interface {
	ImplementsSetIdentifier() bool
	// optional
	SetIdentifier(value UserInterfaceItemIdentifier)
	ImplementsIdentifier() bool
	// optional
	Identifier() UserInterfaceItemIdentifier
}

type UserInterfaceItemIdentificationBase added in v0.13.2

type UserInterfaceItemIdentificationBase struct {
}

func (*UserInterfaceItemIdentificationBase) Identifier added in v0.13.2

func (*UserInterfaceItemIdentificationBase) ImplementsIdentifier added in v0.13.2

func (p *UserInterfaceItemIdentificationBase) ImplementsIdentifier() bool

func (*UserInterfaceItemIdentificationBase) ImplementsSetIdentifier added in v0.13.2

func (p *UserInterfaceItemIdentificationBase) ImplementsSetIdentifier() bool

func (*UserInterfaceItemIdentificationBase) SetIdentifier added in v0.13.2

type UserInterfaceItemIdentifier

type UserInterfaceItemIdentifier string

type UserInterfaceItemSearching added in v0.16.0

type UserInterfaceItemSearching interface {
	// required
	LocalizedTitlesForItem(item objc.Object) []string
	ImplementsShowAllHelpTopicsForSearchString() bool
	// optional
	ShowAllHelpTopicsForSearchString(searchString string)
	// required
	SearchForItemsWithSearchString_ResultLimit_MatchedItemHandler(searchString string, resultLimit int, handleMatchedItems func(items []objc.IObject))
	ImplementsPerformActionForItem() bool
	// optional
	PerformActionForItem(item objc.Object)
}

type UserInterfaceItemSearchingBase added in v0.18.0

type UserInterfaceItemSearchingBase struct {
}

func (*UserInterfaceItemSearchingBase) ImplementsPerformActionForItem added in v0.18.0

func (p *UserInterfaceItemSearchingBase) ImplementsPerformActionForItem() bool

func (*UserInterfaceItemSearchingBase) ImplementsShowAllHelpTopicsForSearchString added in v0.18.0

func (p *UserInterfaceItemSearchingBase) ImplementsShowAllHelpTopicsForSearchString() bool

func (*UserInterfaceItemSearchingBase) PerformActionForItem added in v0.18.0

func (p *UserInterfaceItemSearchingBase) PerformActionForItem(item objc.Object)

func (*UserInterfaceItemSearchingBase) ShowAllHelpTopicsForSearchString added in v0.18.0

func (p *UserInterfaceItemSearchingBase) ShowAllHelpTopicsForSearchString(searchString string)

type UserInterfaceLayoutDirection

type UserInterfaceLayoutDirection int
const UserInterfaceLayoutDirectionLeftToRight UserInterfaceLayoutDirection = 0
const UserInterfaceLayoutDirectionRightToLeft UserInterfaceLayoutDirection = 1

type UserInterfaceLayoutOrientation

type UserInterfaceLayoutOrientation int
const UserInterfaceLayoutOrientationHorizontal UserInterfaceLayoutOrientation = 0
const UserInterfaceLayoutOrientationVertical UserInterfaceLayoutOrientation = 1

type ValidatedUserInterfaceItem added in v0.13.0

type ValidatedUserInterfaceItem interface {
	ImplementsAction() bool
	// optional
	Action() objc.Selector
	ImplementsTag() bool
	// optional
	Tag() int
}

type ValidatedUserInterfaceItemBase added in v0.13.0

type ValidatedUserInterfaceItemBase struct {
}

func (*ValidatedUserInterfaceItemBase) Action added in v0.13.0

func (*ValidatedUserInterfaceItemBase) ImplementsAction added in v0.13.0

func (p *ValidatedUserInterfaceItemBase) ImplementsAction() bool

func (*ValidatedUserInterfaceItemBase) ImplementsTag added in v0.13.0

func (p *ValidatedUserInterfaceItemBase) ImplementsTag() bool

func (*ValidatedUserInterfaceItemBase) Tag added in v0.13.0

type View

type View struct {
	Responder
}

func MakeView

func MakeView(ptr unsafe.Pointer) View

func NewView

func NewView() View

func (View) AcceptsFirstMouse

func (v_ View) AcceptsFirstMouse(event IEvent) bool

func (View) AcceptsTouchEvents added in v0.14.5

func (v_ View) AcceptsTouchEvents() bool

deprecated

func (View) AddConstraint

func (v_ View) AddConstraint(constraint ILayoutConstraint)

func (View) AddConstraints

func (v_ View) AddConstraints(constraints []ILayoutConstraint)

func (View) AddCursorRect_Cursor

func (v_ View) AddCursorRect_Cursor(rect foundation.Rect, object ICursor)

func (View) AddGestureRecognizer

func (v_ View) AddGestureRecognizer(gestureRecognizer IGestureRecognizer)

func (View) AddLayoutGuide

func (v_ View) AddLayoutGuide(guide ILayoutGuide)

func (View) AddSubview

func (v_ View) AddSubview(view IView)

func (View) AddSubview_Positioned_RelativeTo

func (v_ View) AddSubview_Positioned_RelativeTo(view IView, place WindowOrderingMode, otherView IView)

func (View) AddToolTipRect_Owner_UserData added in v0.8.1

func (v_ View) AddToolTipRect_Owner_UserData(rect foundation.Rect, owner objc.IObject, data unsafe.Pointer) ToolTipTag

func (View) AddTrackingArea

func (v_ View) AddTrackingArea(trackingArea ITrackingArea)

func (View) AddTrackingRect_Owner_UserData_AssumeInside added in v0.8.1

func (v_ View) AddTrackingRect_Owner_UserData_AssumeInside(rect foundation.Rect, owner objc.IObject, data unsafe.Pointer, flag bool) TrackingRectTag

func (View) AdditionalSafeAreaInsets

func (v_ View) AdditionalSafeAreaInsets() foundation.EdgeInsets

func (View) AdjustPageHeightNew_Top_Bottom_Limit added in v0.13.4

func (v_ View) AdjustPageHeightNew_Top_Bottom_Limit(newBottom *float64, oldTop float64, oldBottom float64, bottomLimit float64)

func (View) AdjustPageWidthNew_Left_Right_Limit added in v0.13.4

func (v_ View) AdjustPageWidthNew_Left_Right_Limit(newRight *float64, oldLeft float64, oldRight float64, rightLimit float64)

func (View) AdjustScroll

func (v_ View) AdjustScroll(newVisible foundation.Rect) foundation.Rect

func (View) AlignmentRectForFrame

func (v_ View) AlignmentRectForFrame(frame foundation.Rect) foundation.Rect

func (View) AlignmentRectInsets

func (v_ View) AlignmentRectInsets() foundation.EdgeInsets

func (View) AllocateGState added in v0.14.5

func (v_ View) AllocateGState()

deprecated

func (View) AllowedTouchTypes

func (v_ View) AllowedTouchTypes() TouchTypeMask

func (View) AllowsVibrancy

func (v_ View) AllowsVibrancy() bool

func (View) AlphaValue

func (v_ View) AlphaValue() float64

func (View) AncestorSharedWithView

func (v_ View) AncestorSharedWithView(view IView) View

func (View) AutoresizesSubviews

func (v_ View) AutoresizesSubviews() bool

func (View) AutoresizingMask

func (v_ View) AutoresizingMask() AutoresizingMaskOptions

func (View) Autoscroll

func (v_ View) Autoscroll(event IEvent) bool

func (View) BackingAlignedRect_Options added in v0.13.6

func (v_ View) BackingAlignedRect_Options(rect foundation.Rect, options foundation.AlignmentOptions) foundation.Rect

func (View) BaselineOffsetFromBottom

func (v_ View) BaselineOffsetFromBottom() float64

func (View) BeginDocument

func (v_ View) BeginDocument()

func (View) BeginDraggingSessionWithItems_Event_Source

func (v_ View) BeginDraggingSessionWithItems_Event_Source(items []IDraggingItem, event IEvent, source objc.IObject) DraggingSession

func (View) BeginPageInRect_AtPlacement

func (v_ View) BeginPageInRect_AtPlacement(rect foundation.Rect, location foundation.Point)

func (View) BitmapImageRepForCachingDisplayInRect

func (v_ View) BitmapImageRepForCachingDisplayInRect(rect foundation.Rect) BitmapImageRep

func (View) BottomAnchor

func (v_ View) BottomAnchor() LayoutYAxisAnchor

func (View) Bounds

func (v_ View) Bounds() foundation.Rect

func (View) BoundsRotation

func (v_ View) BoundsRotation() float64

func (View) CacheDisplayInRect_ToBitmapImageRep

func (v_ View) CacheDisplayInRect_ToBitmapImageRep(rect foundation.Rect, bitmapImageRep IBitmapImageRep)

func (View) CanBecomeKeyView

func (v_ View) CanBecomeKeyView() bool

func (View) CanDraw added in v0.14.5

func (v_ View) CanDraw() bool

deprecated

func (View) CanDrawConcurrently

func (v_ View) CanDrawConcurrently() bool

func (View) CanDrawSubviewsIntoLayer

func (v_ View) CanDrawSubviewsIntoLayer() bool

func (View) CandidateListTouchBarItem

func (v_ View) CandidateListTouchBarItem() CandidateListTouchBarItem

func (View) CenterScanRect

func (v_ View) CenterScanRect(rect foundation.Rect) foundation.Rect

func (View) CenterXAnchor

func (v_ View) CenterXAnchor() LayoutXAxisAnchor

func (View) CenterYAnchor

func (v_ View) CenterYAnchor() LayoutYAxisAnchor

func (View) Constraints

func (v_ View) Constraints() []LayoutConstraint

func (View) ConstraintsAffectingLayoutForOrientation

func (v_ View) ConstraintsAffectingLayoutForOrientation(orientation LayoutConstraintOrientation) []LayoutConstraint

func (View) ContentCompressionResistancePriorityForOrientation

func (v_ View) ContentCompressionResistancePriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority

func (View) ContentHuggingPriorityForOrientation

func (v_ View) ContentHuggingPriorityForOrientation(orientation LayoutConstraintOrientation) LayoutPriority

func (View) ConvertPointFromBacking

func (v_ View) ConvertPointFromBacking(point foundation.Point) foundation.Point

func (View) ConvertPointFromBase added in v0.14.5

func (v_ View) ConvertPointFromBase(point foundation.Point) foundation.Point

deprecated

func (View) ConvertPointFromLayer

func (v_ View) ConvertPointFromLayer(point foundation.Point) foundation.Point

func (View) ConvertPointToBacking

func (v_ View) ConvertPointToBacking(point foundation.Point) foundation.Point

func (View) ConvertPointToBase added in v0.14.5

func (v_ View) ConvertPointToBase(point foundation.Point) foundation.Point

deprecated

func (View) ConvertPointToLayer

func (v_ View) ConvertPointToLayer(point foundation.Point) foundation.Point

func (View) ConvertPoint_FromView

func (v_ View) ConvertPoint_FromView(point foundation.Point, view IView) foundation.Point

func (View) ConvertPoint_ToView

func (v_ View) ConvertPoint_ToView(point foundation.Point, view IView) foundation.Point

func (View) ConvertRectFromBacking

func (v_ View) ConvertRectFromBacking(rect foundation.Rect) foundation.Rect

func (View) ConvertRectFromBase added in v0.14.5

func (v_ View) ConvertRectFromBase(rect foundation.Rect) foundation.Rect

deprecated

func (View) ConvertRectFromLayer

func (v_ View) ConvertRectFromLayer(rect foundation.Rect) foundation.Rect

func (View) ConvertRectToBacking

func (v_ View) ConvertRectToBacking(rect foundation.Rect) foundation.Rect

func (View) ConvertRectToBase added in v0.14.5

func (v_ View) ConvertRectToBase(rect foundation.Rect) foundation.Rect

deprecated

func (View) ConvertRectToLayer

func (v_ View) ConvertRectToLayer(rect foundation.Rect) foundation.Rect

func (View) ConvertRect_FromView

func (v_ View) ConvertRect_FromView(rect foundation.Rect, view IView) foundation.Rect

func (View) ConvertRect_ToView

func (v_ View) ConvertRect_ToView(rect foundation.Rect, view IView) foundation.Rect

func (View) ConvertSizeFromBacking

func (v_ View) ConvertSizeFromBacking(size foundation.Size) foundation.Size

func (View) ConvertSizeFromBase added in v0.14.5

func (v_ View) ConvertSizeFromBase(size foundation.Size) foundation.Size

deprecated

func (View) ConvertSizeFromLayer

func (v_ View) ConvertSizeFromLayer(size foundation.Size) foundation.Size

func (View) ConvertSizeToBacking

func (v_ View) ConvertSizeToBacking(size foundation.Size) foundation.Size

func (View) ConvertSizeToBase added in v0.14.5

func (v_ View) ConvertSizeToBase(size foundation.Size) foundation.Size

deprecated

func (View) ConvertSizeToLayer

func (v_ View) ConvertSizeToLayer(size foundation.Size) foundation.Size

func (View) ConvertSize_FromView

func (v_ View) ConvertSize_FromView(size foundation.Size, view IView) foundation.Size

func (View) ConvertSize_ToView

func (v_ View) ConvertSize_ToView(size foundation.Size, view IView) foundation.Size

func (View) DataWithEPSInsideRect

func (v_ View) DataWithEPSInsideRect(rect foundation.Rect) []byte

func (View) DataWithPDFInsideRect

func (v_ View) DataWithPDFInsideRect(rect foundation.Rect) []byte

func (View) DidAddSubview

func (v_ View) DidAddSubview(subview IView)

func (View) DidCloseMenu_WithEvent

func (v_ View) DidCloseMenu_WithEvent(menu IMenu, event IEvent)

func (View) DiscardCursorRects

func (v_ View) DiscardCursorRects()

func (View) Display

func (v_ View) Display()

func (View) DisplayIfNeeded

func (v_ View) DisplayIfNeeded()

func (View) DisplayIfNeededIgnoringOpacity

func (v_ View) DisplayIfNeededIgnoringOpacity()

func (View) DisplayIfNeededInRect

func (v_ View) DisplayIfNeededInRect(rect foundation.Rect)

func (View) DisplayIfNeededInRectIgnoringOpacity

func (v_ View) DisplayIfNeededInRectIgnoringOpacity(rect foundation.Rect)

func (View) DisplayRect

func (v_ View) DisplayRect(rect foundation.Rect)

func (View) DisplayRectIgnoringOpacity

func (v_ View) DisplayRectIgnoringOpacity(rect foundation.Rect)

func (View) DisplayRectIgnoringOpacity_InContext

func (v_ View) DisplayRectIgnoringOpacity_InContext(rect foundation.Rect, context IGraphicsContext)

func (View) DragFile_FromRect_SlideBack_Event added in v0.14.5

func (v_ View) DragFile_FromRect_SlideBack_Event(filename string, rect foundation.Rect, flag bool, event IEvent) bool

deprecated

func (View) DragImage_At_Offset_Event_Pasteboard_Source_SlideBack added in v0.14.5

func (v_ View) DragImage_At_Offset_Event_Pasteboard_Source_SlideBack(image IImage, viewLocation foundation.Point, initialOffset foundation.Size, event IEvent, pboard IPasteboard, sourceObj objc.IObject, slideFlag bool)

deprecated

func (View) DragPromisedFilesOfTypes_FromRect_Source_SlideBack_Event added in v0.14.5

func (v_ View) DragPromisedFilesOfTypes_FromRect_Source_SlideBack_Event(typeArray []string, rect foundation.Rect, sourceObject objc.IObject, flag bool, event IEvent) bool

deprecated

func (View) DrawFocusRingMask

func (v_ View) DrawFocusRingMask()

func (View) DrawPageBorderWithSize

func (v_ View) DrawPageBorderWithSize(borderSize foundation.Size)

func (View) DrawRect

func (v_ View) DrawRect(dirtyRect foundation.Rect)

func (View) DrawSheetBorderWithSize added in v0.14.5

func (v_ View) DrawSheetBorderWithSize(borderSize foundation.Size)

deprecated

func (View) EnclosingMenuItem

func (v_ View) EnclosingMenuItem() MenuItem

func (View) EnclosingScrollView

func (v_ View) EnclosingScrollView() ScrollView

func (View) EndDocument

func (v_ View) EndDocument()

func (View) EndPage

func (v_ View) EndPage()

func (View) EnterFullScreenMode_WithOptions

func (v_ View) EnterFullScreenMode_WithOptions(screen IScreen, options map[ViewFullScreenModeOptionKey]objc.IObject) bool

func (View) ExerciseAmbiguityInLayout

func (v_ View) ExerciseAmbiguityInLayout()

func (View) ExitFullScreenModeWithOptions

func (v_ View) ExitFullScreenModeWithOptions(options map[ViewFullScreenModeOptionKey]objc.IObject)

func (View) FirstBaselineAnchor

func (v_ View) FirstBaselineAnchor() LayoutYAxisAnchor

func (View) FirstBaselineOffsetFromTop

func (v_ View) FirstBaselineOffsetFromTop() float64

func (View) FittingSize

func (v_ View) FittingSize() foundation.Size

func (View) FocusRingMaskBounds

func (v_ View) FocusRingMaskBounds() foundation.Rect

func (View) FocusRingType

func (v_ View) FocusRingType() FocusRingType

func (View) Frame

func (v_ View) Frame() foundation.Rect

func (View) FrameCenterRotation

func (v_ View) FrameCenterRotation() float64

func (View) FrameForAlignmentRect

func (v_ View) FrameForAlignmentRect(alignmentRect foundation.Rect) foundation.Rect

func (View) FrameRotation

func (v_ View) FrameRotation() float64

func (View) GState added in v0.14.5

func (v_ View) GState() int

deprecated

func (View) GestureRecognizers

func (v_ View) GestureRecognizers() []GestureRecognizer

func (View) GetRectsExposedDuringLiveResize_Count added in v0.13.4

func (v_ View) GetRectsExposedDuringLiveResize_Count(exposedRects *foundation.Rect, count *int)

func (View) HasAmbiguousLayout

func (v_ View) HasAmbiguousLayout() bool

func (View) HeightAdjustLimit

func (v_ View) HeightAdjustLimit() float64

func (View) HeightAnchor

func (v_ View) HeightAnchor() LayoutDimension

func (View) HitTest

func (v_ View) HitTest(point foundation.Point) View

func (View) InLiveResize

func (v_ View) InLiveResize() bool

func (View) Init added in v0.11.0

func (v_ View) Init() View

func (View) InitWithFrame added in v0.11.0

func (v_ View) InitWithFrame(frameRect foundation.Rect) View

func (View) InputContext

func (v_ View) InputContext() TextInputContext

func (View) IntrinsicContentSize

func (v_ View) IntrinsicContentSize() foundation.Size

func (View) InvalidateIntrinsicContentSize

func (v_ View) InvalidateIntrinsicContentSize()

func (View) IsDescendantOf

func (v_ View) IsDescendantOf(view IView) bool

func (View) IsDrawingFindIndicator

func (v_ View) IsDrawingFindIndicator() bool

func (View) IsFlipped

func (v_ View) IsFlipped() bool

func (View) IsHidden

func (v_ View) IsHidden() bool

func (View) IsHiddenOrHasHiddenAncestor

func (v_ View) IsHiddenOrHasHiddenAncestor() bool

func (View) IsHorizontalContentSizeConstraintActive

func (v_ View) IsHorizontalContentSizeConstraintActive() bool

func (View) IsInFullScreenMode

func (v_ View) IsInFullScreenMode() bool

func (View) IsOpaque

func (v_ View) IsOpaque() bool

func (View) IsRotatedFromBase

func (v_ View) IsRotatedFromBase() bool

func (View) IsRotatedOrScaledFromBase

func (v_ View) IsRotatedOrScaledFromBase() bool

func (View) IsVerticalContentSizeConstraintActive

func (v_ View) IsVerticalContentSizeConstraintActive() bool

func (View) KnowsPageRange added in v0.13.4

func (v_ View) KnowsPageRange(range_ *foundation.Range) bool

func (View) LastBaselineAnchor

func (v_ View) LastBaselineAnchor() LayoutYAxisAnchor

func (View) LastBaselineOffsetFromBottom

func (v_ View) LastBaselineOffsetFromBottom() float64

func (View) Layer added in v0.15.6

func (v_ View) Layer() quartzcore.Layer

func (View) LayerContentsPlacement

func (v_ View) LayerContentsPlacement() ViewLayerContentsPlacement

func (View) LayerContentsRedrawPolicy

func (v_ View) LayerContentsRedrawPolicy() ViewLayerContentsRedrawPolicy

func (View) LayerUsesCoreImageFilters

func (v_ View) LayerUsesCoreImageFilters() bool

func (View) Layout

func (v_ View) Layout()

func (View) LayoutGuides

func (v_ View) LayoutGuides() []LayoutGuide

func (View) LayoutMarginsGuide

func (v_ View) LayoutMarginsGuide() LayoutGuide

func (View) LayoutSubtreeIfNeeded

func (v_ View) LayoutSubtreeIfNeeded()

func (View) LeadingAnchor

func (v_ View) LeadingAnchor() LayoutXAxisAnchor

func (View) LeftAnchor

func (v_ View) LeftAnchor() LayoutXAxisAnchor

func (View) LocationOfPrintRect

func (v_ View) LocationOfPrintRect(rect foundation.Rect) foundation.Point

func (View) LockFocus added in v0.14.5

func (v_ View) LockFocus()

deprecated

func (View) LockFocusIfCanDraw added in v0.14.5

func (v_ View) LockFocusIfCanDraw() bool

deprecated

func (View) LockFocusIfCanDrawInContext added in v0.14.5

func (v_ View) LockFocusIfCanDrawInContext(context IGraphicsContext) bool

deprecated

func (View) MakeBackingLayer added in v0.15.6

func (v_ View) MakeBackingLayer() quartzcore.Layer

func (View) MenuForEvent

func (v_ View) MenuForEvent(event IEvent) Menu

func (View) MouseDownCanMoveWindow

func (v_ View) MouseDownCanMoveWindow() bool

func (View) Mouse_InRect

func (v_ View) Mouse_InRect(point foundation.Point, rect foundation.Rect) bool

func (View) NeedsDisplay

func (v_ View) NeedsDisplay() bool

func (View) NeedsLayout

func (v_ View) NeedsLayout() bool

func (View) NeedsPanelToBecomeKey

func (v_ View) NeedsPanelToBecomeKey() bool

func (View) NeedsToDrawRect

func (v_ View) NeedsToDrawRect(rect foundation.Rect) bool

func (View) NeedsUpdateConstraints

func (v_ View) NeedsUpdateConstraints() bool

func (View) NextKeyView

func (v_ View) NextKeyView() View

weak property

func (View) NextValidKeyView

func (v_ View) NextValidKeyView() View

weak property

func (View) NoteFocusRingMaskChanged

func (v_ View) NoteFocusRingMaskChanged()

func (View) OpaqueAncestor

func (v_ View) OpaqueAncestor() View

weak property

func (View) PageFooter

func (v_ View) PageFooter() foundation.AttributedString

func (View) PageHeader

func (v_ View) PageHeader() foundation.AttributedString

func (View) PostsBoundsChangedNotifications

func (v_ View) PostsBoundsChangedNotifications() bool

func (View) PostsFrameChangedNotifications

func (v_ View) PostsFrameChangedNotifications() bool

func (View) PrepareContentInRect

func (v_ View) PrepareContentInRect(rect foundation.Rect)

func (View) PrepareForReuse

func (v_ View) PrepareForReuse()

func (View) PreparedContentRect

func (v_ View) PreparedContentRect() foundation.Rect

func (View) PreservesContentDuringLiveResize

func (v_ View) PreservesContentDuringLiveResize() bool

func (View) PressureConfiguration

func (v_ View) PressureConfiguration() PressureConfiguration

func (View) PreviousKeyView

func (v_ View) PreviousKeyView() View

weak property

func (View) PreviousValidKeyView

func (v_ View) PreviousValidKeyView() View

weak property

func (View) Print

func (v_ View) Print(sender objc.IObject)

func (View) PrintJobTitle

func (v_ View) PrintJobTitle() string

func (View) RectForPage

func (v_ View) RectForPage(page int) foundation.Rect

func (View) RectForSmartMagnificationAtPoint_InRect

func (v_ View) RectForSmartMagnificationAtPoint_InRect(location foundation.Point, visibleRect foundation.Rect) foundation.Rect

func (View) RectPreservedDuringLiveResize

func (v_ View) RectPreservedDuringLiveResize() foundation.Rect

func (View) ReflectScrolledClipView

func (v_ View) ReflectScrolledClipView(clipView IClipView)

func (View) RegisterForDraggedTypes

func (v_ View) RegisterForDraggedTypes(newTypes []PasteboardType)

func (View) RegisteredDraggedTypes

func (v_ View) RegisteredDraggedTypes() []PasteboardType

func (View) RemoveAllToolTips

func (v_ View) RemoveAllToolTips()

func (View) RemoveConstraint

func (v_ View) RemoveConstraint(constraint ILayoutConstraint)

func (View) RemoveConstraints

func (v_ View) RemoveConstraints(constraints []ILayoutConstraint)

func (View) RemoveCursorRect_Cursor

func (v_ View) RemoveCursorRect_Cursor(rect foundation.Rect, object ICursor)

func (View) RemoveFromSuperview

func (v_ View) RemoveFromSuperview()

func (View) RemoveFromSuperviewWithoutNeedingDisplay

func (v_ View) RemoveFromSuperviewWithoutNeedingDisplay()

func (View) RemoveGestureRecognizer

func (v_ View) RemoveGestureRecognizer(gestureRecognizer IGestureRecognizer)

func (View) RemoveLayoutGuide

func (v_ View) RemoveLayoutGuide(guide ILayoutGuide)

func (View) RemoveToolTip

func (v_ View) RemoveToolTip(tag ToolTipTag)

func (View) RemoveTrackingArea

func (v_ View) RemoveTrackingArea(trackingArea ITrackingArea)

func (View) RemoveTrackingRect

func (v_ View) RemoveTrackingRect(tag TrackingRectTag)

func (View) RenewGState added in v0.14.5

func (v_ View) RenewGState()

deprecated

func (View) ReplaceSubview_With

func (v_ View) ReplaceSubview_With(oldView IView, newView IView)

func (View) ResetCursorRects

func (v_ View) ResetCursorRects()

func (View) ResizeSubviewsWithOldSize

func (v_ View) ResizeSubviewsWithOldSize(oldSize foundation.Size)

func (View) ResizeWithOldSuperviewSize

func (v_ View) ResizeWithOldSuperviewSize(oldSize foundation.Size)

func (View) RightAnchor

func (v_ View) RightAnchor() LayoutXAxisAnchor

func (View) RotateByAngle

func (v_ View) RotateByAngle(angle float64)

func (View) RulerView_DidAddMarker

func (v_ View) RulerView_DidAddMarker(ruler IRulerView, marker IRulerMarker)

func (View) RulerView_DidMoveMarker

func (v_ View) RulerView_DidMoveMarker(ruler IRulerView, marker IRulerMarker)

func (View) RulerView_DidRemoveMarker

func (v_ View) RulerView_DidRemoveMarker(ruler IRulerView, marker IRulerMarker)

func (View) RulerView_HandleMouseDown

func (v_ View) RulerView_HandleMouseDown(ruler IRulerView, event IEvent)

func (View) RulerView_LocationForPoint

func (v_ View) RulerView_LocationForPoint(ruler IRulerView, point foundation.Point) float64

func (View) RulerView_PointForLocation

func (v_ View) RulerView_PointForLocation(ruler IRulerView, point float64) foundation.Point

func (View) RulerView_ShouldAddMarker

func (v_ View) RulerView_ShouldAddMarker(ruler IRulerView, marker IRulerMarker) bool

func (View) RulerView_ShouldMoveMarker

func (v_ View) RulerView_ShouldMoveMarker(ruler IRulerView, marker IRulerMarker) bool

func (View) RulerView_ShouldRemoveMarker

func (v_ View) RulerView_ShouldRemoveMarker(ruler IRulerView, marker IRulerMarker) bool

func (View) RulerView_WillAddMarker_AtLocation

func (v_ View) RulerView_WillAddMarker_AtLocation(ruler IRulerView, marker IRulerMarker, location float64) float64

func (View) RulerView_WillMoveMarker_ToLocation

func (v_ View) RulerView_WillMoveMarker_ToLocation(ruler IRulerView, marker IRulerMarker, location float64) float64

func (View) RulerView_WillSetClientView

func (v_ View) RulerView_WillSetClientView(ruler IRulerView, newClient IView)

func (View) SafeAreaInsets

func (v_ View) SafeAreaInsets() foundation.EdgeInsets

func (View) SafeAreaLayoutGuide

func (v_ View) SafeAreaLayoutGuide() LayoutGuide

func (View) SafeAreaRect

func (v_ View) SafeAreaRect() foundation.Rect

func (View) ScaleUnitSquareToSize

func (v_ View) ScaleUnitSquareToSize(newUnitSize foundation.Size)

func (View) ScrollClipView_ToPoint

func (v_ View) ScrollClipView_ToPoint(clipView IClipView, point foundation.Point)

func (View) ScrollPoint

func (v_ View) ScrollPoint(point foundation.Point)

func (View) ScrollRectToVisible

func (v_ View) ScrollRectToVisible(rect foundation.Rect) bool

func (View) ScrollRect_By added in v0.14.5

func (v_ View) ScrollRect_By(rect foundation.Rect, delta foundation.Size)

deprecated

func (View) SetAcceptsTouchEvents added in v0.14.5

func (v_ View) SetAcceptsTouchEvents(value bool)

deprecated

func (View) SetAdditionalSafeAreaInsets

func (v_ View) SetAdditionalSafeAreaInsets(value foundation.EdgeInsets)

func (View) SetAllowedTouchTypes

func (v_ View) SetAllowedTouchTypes(value TouchTypeMask)

func (View) SetAlphaValue

func (v_ View) SetAlphaValue(value float64)

func (View) SetAutoresizesSubviews

func (v_ View) SetAutoresizesSubviews(value bool)

func (View) SetAutoresizingMask

func (v_ View) SetAutoresizingMask(value AutoresizingMaskOptions)

func (View) SetBounds

func (v_ View) SetBounds(value foundation.Rect)

func (View) SetBoundsOrigin

func (v_ View) SetBoundsOrigin(newOrigin foundation.Point)

func (View) SetBoundsRotation

func (v_ View) SetBoundsRotation(value float64)

func (View) SetBoundsSize

func (v_ View) SetBoundsSize(newSize foundation.Size)

func (View) SetCanDrawConcurrently

func (v_ View) SetCanDrawConcurrently(value bool)

func (View) SetCanDrawSubviewsIntoLayer

func (v_ View) SetCanDrawSubviewsIntoLayer(value bool)

func (View) SetContentCompressionResistancePriority_ForOrientation

func (v_ View) SetContentCompressionResistancePriority_ForOrientation(priority LayoutPriority, orientation LayoutConstraintOrientation)

func (View) SetContentHuggingPriority_ForOrientation

func (v_ View) SetContentHuggingPriority_ForOrientation(priority LayoutPriority, orientation LayoutConstraintOrientation)

func (View) SetFocusRingType

func (v_ View) SetFocusRingType(value FocusRingType)

func (View) SetFrame

func (v_ View) SetFrame(value foundation.Rect)

func (View) SetFrameCenterRotation

func (v_ View) SetFrameCenterRotation(value float64)

func (View) SetFrameOrigin

func (v_ View) SetFrameOrigin(newOrigin foundation.Point)

func (View) SetFrameRotation

func (v_ View) SetFrameRotation(value float64)

func (View) SetFrameSize

func (v_ View) SetFrameSize(newSize foundation.Size)

func (View) SetGestureRecognizers

func (v_ View) SetGestureRecognizers(value []IGestureRecognizer)

func (View) SetHidden

func (v_ View) SetHidden(value bool)

func (View) SetHorizontalContentSizeConstraintActive

func (v_ View) SetHorizontalContentSizeConstraintActive(value bool)

func (View) SetKeyboardFocusRingNeedsDisplayInRect

func (v_ View) SetKeyboardFocusRingNeedsDisplayInRect(rect foundation.Rect)

func (View) SetLayer added in v0.15.6

func (v_ View) SetLayer(value quartzcore.ILayer)

func (View) SetLayerContentsPlacement

func (v_ View) SetLayerContentsPlacement(value ViewLayerContentsPlacement)

func (View) SetLayerContentsRedrawPolicy

func (v_ View) SetLayerContentsRedrawPolicy(value ViewLayerContentsRedrawPolicy)

func (View) SetLayerUsesCoreImageFilters

func (v_ View) SetLayerUsesCoreImageFilters(value bool)

func (View) SetNeedsDisplay

func (v_ View) SetNeedsDisplay(value bool)

func (View) SetNeedsDisplayInRect

func (v_ View) SetNeedsDisplayInRect(invalidRect foundation.Rect)

func (View) SetNeedsLayout

func (v_ View) SetNeedsLayout(value bool)

func (View) SetNeedsUpdateConstraints

func (v_ View) SetNeedsUpdateConstraints(value bool)

func (View) SetNextKeyView

func (v_ View) SetNextKeyView(value IView)

weak property

func (View) SetPostsBoundsChangedNotifications

func (v_ View) SetPostsBoundsChangedNotifications(value bool)

func (View) SetPostsFrameChangedNotifications

func (v_ View) SetPostsFrameChangedNotifications(value bool)

func (View) SetPreparedContentRect

func (v_ View) SetPreparedContentRect(value foundation.Rect)

func (View) SetPressureConfiguration

func (v_ View) SetPressureConfiguration(value IPressureConfiguration)

func (View) SetShadow

func (v_ View) SetShadow(value IShadow)

func (View) SetSubviews

func (v_ View) SetSubviews(value []IView)

func (View) SetToolTip

func (v_ View) SetToolTip(value string)

func (View) SetTranslatesAutoresizingMaskIntoConstraints

func (v_ View) SetTranslatesAutoresizingMaskIntoConstraints(value bool)

func (View) SetUpGState added in v0.14.5

func (v_ View) SetUpGState()

deprecated

func (View) SetUserInterfaceLayoutDirection

func (v_ View) SetUserInterfaceLayoutDirection(value UserInterfaceLayoutDirection)

func (View) SetVerticalContentSizeConstraintActive

func (v_ View) SetVerticalContentSizeConstraintActive(value bool)

func (View) SetWantsBestResolutionOpenGLSurface added in v0.14.5

func (v_ View) SetWantsBestResolutionOpenGLSurface(value bool)

deprecated

func (View) SetWantsExtendedDynamicRangeOpenGLSurface added in v0.14.5

func (v_ View) SetWantsExtendedDynamicRangeOpenGLSurface(value bool)

deprecated

func (View) SetWantsLayer

func (v_ View) SetWantsLayer(value bool)

func (View) SetWantsRestingTouches

func (v_ View) SetWantsRestingTouches(value bool)

func (View) Shadow

func (v_ View) Shadow() Shadow

func (View) ShouldDelayWindowOrderingForEvent

func (v_ View) ShouldDelayWindowOrderingForEvent(event IEvent) bool

func (View) ShouldDrawColor added in v0.14.5

func (v_ View) ShouldDrawColor() bool

deprecated

func (View) ShowDefinitionForAttributedString_AtPoint

func (v_ View) ShowDefinitionForAttributedString_AtPoint(attrString foundation.IAttributedString, textBaselineOrigin foundation.Point)

func (View) ShowDefinitionForAttributedString_Range_Options_BaselineOriginProvider added in v0.13.3

func (v_ View) ShowDefinitionForAttributedString_Range_Options_BaselineOriginProvider(attrString foundation.IAttributedString, targetRange foundation.Range, options map[DefinitionOptionKey]objc.IObject, originProvider func(adjustedRange foundation.Range) foundation.Point)

func (View) Subviews

func (v_ View) Subviews() []View

func (View) Superview

func (v_ View) Superview() View

weak property

func (View) Tag

func (v_ View) Tag() int

func (View) ToolTip

func (v_ View) ToolTip() string

func (View) TopAnchor

func (v_ View) TopAnchor() LayoutYAxisAnchor

func (View) TrackingAreas

func (v_ View) TrackingAreas() []TrackingArea

func (View) TrailingAnchor

func (v_ View) TrailingAnchor() LayoutXAxisAnchor

func (View) TranslateOriginToPoint

func (v_ View) TranslateOriginToPoint(translation foundation.Point)

func (View) TranslateRectsNeedingDisplayInRect_By

func (v_ View) TranslateRectsNeedingDisplayInRect_By(clipRect foundation.Rect, delta foundation.Size)

func (View) TranslatesAutoresizingMaskIntoConstraints

func (v_ View) TranslatesAutoresizingMaskIntoConstraints() bool

func (View) UnlockFocus added in v0.14.5

func (v_ View) UnlockFocus()

deprecated

func (View) UnregisterDraggedTypes

func (v_ View) UnregisterDraggedTypes()

func (View) UpdateConstraints

func (v_ View) UpdateConstraints()

func (View) UpdateConstraintsForSubtreeIfNeeded

func (v_ View) UpdateConstraintsForSubtreeIfNeeded()

func (View) UpdateLayer

func (v_ View) UpdateLayer()

func (View) UpdateTrackingAreas

func (v_ View) UpdateTrackingAreas()

func (View) UserInterfaceLayoutDirection

func (v_ View) UserInterfaceLayoutDirection() UserInterfaceLayoutDirection

func (View) ViewDidChangeBackingProperties

func (v_ View) ViewDidChangeBackingProperties()

func (View) ViewDidChangeEffectiveAppearance

func (v_ View) ViewDidChangeEffectiveAppearance()

func (View) ViewDidEndLiveResize

func (v_ View) ViewDidEndLiveResize()

func (View) ViewDidHide

func (v_ View) ViewDidHide()

func (View) ViewDidMoveToSuperview

func (v_ View) ViewDidMoveToSuperview()

func (View) ViewDidMoveToWindow

func (v_ View) ViewDidMoveToWindow()

func (View) ViewDidUnhide

func (v_ View) ViewDidUnhide()

func (View) ViewWillDraw

func (v_ View) ViewWillDraw()

func (View) ViewWillMoveToSuperview

func (v_ View) ViewWillMoveToSuperview(newSuperview IView)

func (View) ViewWillMoveToWindow

func (v_ View) ViewWillMoveToWindow(newWindow IWindow)

func (View) ViewWillStartLiveResize

func (v_ View) ViewWillStartLiveResize()

func (View) ViewWithTag

func (v_ View) ViewWithTag(tag int) View

func (View) VisibleRect

func (v_ View) VisibleRect() foundation.Rect

func (View) WantsBestResolutionOpenGLSurface added in v0.14.5

func (v_ View) WantsBestResolutionOpenGLSurface() bool

deprecated

func (View) WantsDefaultClipping

func (v_ View) WantsDefaultClipping() bool

func (View) WantsExtendedDynamicRangeOpenGLSurface added in v0.14.5

func (v_ View) WantsExtendedDynamicRangeOpenGLSurface() bool

deprecated

func (View) WantsLayer

func (v_ View) WantsLayer() bool

func (View) WantsRestingTouches

func (v_ View) WantsRestingTouches() bool

func (View) WantsUpdateLayer

func (v_ View) WantsUpdateLayer() bool

func (View) WidthAdjustLimit

func (v_ View) WidthAdjustLimit() float64

func (View) WidthAnchor

func (v_ View) WidthAnchor() LayoutDimension

func (View) WillOpenMenu_WithEvent

func (v_ View) WillOpenMenu_WithEvent(menu IMenu, event IEvent)

func (View) WillRemoveSubview

func (v_ View) WillRemoveSubview(subview IView)

func (View) Window

func (v_ View) Window() Window

weak property

func (View) WriteEPSInsideRect_ToPasteboard

func (v_ View) WriteEPSInsideRect_ToPasteboard(rect foundation.Rect, pasteboard IPasteboard)

func (View) WritePDFInsideRect_ToPasteboard

func (v_ View) WritePDFInsideRect_ToPasteboard(rect foundation.Rect, pasteboard IPasteboard)

type ViewAnimation added in v0.7.1

type ViewAnimation struct {
	Animation
}

func MakeViewAnimation added in v0.7.1

func MakeViewAnimation(ptr unsafe.Pointer) ViewAnimation

func NewViewAnimation added in v0.7.1

func NewViewAnimation() ViewAnimation

func (ViewAnimation) Init added in v0.11.0

func (v_ ViewAnimation) Init() ViewAnimation

func (ViewAnimation) InitWithDuration_AnimationCurve added in v0.11.0

func (v_ ViewAnimation) InitWithDuration_AnimationCurve(duration foundation.TimeInterval, animationCurve AnimationCurve) ViewAnimation

func (ViewAnimation) InitWithViewAnimations added in v0.13.3

func (v_ ViewAnimation) InitWithViewAnimations(viewAnimations []map[ViewAnimationKey]objc.IObject) ViewAnimation

func (ViewAnimation) SetViewAnimations added in v0.13.3

func (v_ ViewAnimation) SetViewAnimations(value []map[ViewAnimationKey]objc.IObject)

func (ViewAnimation) ViewAnimations added in v0.13.3

func (v_ ViewAnimation) ViewAnimations() []map[ViewAnimationKey]objc.Object

type ViewAnimationKey added in v0.13.3

type ViewAnimationKey string
const ViewAnimationEffectKey ViewAnimationKey = "NSViewAnimationEffectKey"
const ViewAnimationEndFrameKey ViewAnimationKey = "NSViewAnimationEndFrameKey"
const ViewAnimationStartFrameKey ViewAnimationKey = "NSViewAnimationStartFrameKey"
const ViewAnimationTargetKey ViewAnimationKey = "NSViewAnimationTargetKey"

type ViewController

type ViewController struct {
	Responder
}

func MakeViewController

func MakeViewController(ptr unsafe.Pointer) ViewController

func NewViewController

func NewViewController() ViewController

func (ViewController) AddChildViewController

func (v_ ViewController) AddChildViewController(childViewController IViewController)

func (ViewController) ChildViewControllers

func (v_ ViewController) ChildViewControllers() []ViewController

func (ViewController) CommitEditing

func (v_ ViewController) CommitEditing() bool

func (ViewController) CommitEditingWithDelegate_DidCommitSelector_ContextInfo added in v0.8.1

func (v_ ViewController) CommitEditingWithDelegate_DidCommitSelector_ContextInfo(delegate objc.IObject, didCommitSelector objc.Selector, contextInfo unsafe.Pointer)

func (ViewController) DiscardEditing

func (v_ ViewController) DiscardEditing()

func (ViewController) DismissController

func (v_ ViewController) DismissController(sender objc.IObject)

func (ViewController) DismissViewController

func (v_ ViewController) DismissViewController(viewController IViewController)

func (ViewController) ExtensionContext

func (v_ ViewController) ExtensionContext() foundation.ExtensionContext

func (ViewController) Init added in v0.11.0

func (v_ ViewController) Init() ViewController

func (ViewController) InitWithNibName_Bundle added in v0.11.0

func (v_ ViewController) InitWithNibName_Bundle(nibNameOrNil NibName, nibBundleOrNil foundation.IBundle) ViewController

func (ViewController) InsertChildViewController_AtIndex

func (v_ ViewController) InsertChildViewController_AtIndex(childViewController IViewController, index int)

func (ViewController) IsViewLoaded

func (v_ ViewController) IsViewLoaded() bool

func (ViewController) LoadView

func (v_ ViewController) LoadView()

func (ViewController) NibBundle

func (v_ ViewController) NibBundle() foundation.Bundle

func (ViewController) NibName

func (v_ ViewController) NibName() NibName

func (ViewController) ParentViewController

func (v_ ViewController) ParentViewController() ViewController

func (ViewController) PreferredContentSize

func (v_ ViewController) PreferredContentSize() foundation.Size

func (ViewController) PreferredContentSizeDidChangeForViewController

func (v_ ViewController) PreferredContentSizeDidChangeForViewController(viewController IViewController)

func (ViewController) PreferredMaximumSize

func (v_ ViewController) PreferredMaximumSize() foundation.Size

func (ViewController) PreferredMinimumSize

func (v_ ViewController) PreferredMinimumSize() foundation.Size

func (ViewController) PreferredScreenOrigin

func (v_ ViewController) PreferredScreenOrigin() foundation.Point

func (ViewController) PresentViewControllerAsModalWindow

func (v_ ViewController) PresentViewControllerAsModalWindow(viewController IViewController)

func (ViewController) PresentViewControllerAsSheet

func (v_ ViewController) PresentViewControllerAsSheet(viewController IViewController)

func (ViewController) PresentViewController_Animator

func (v_ ViewController) PresentViewController_Animator(viewController IViewController, animator objc.IObject)

func (ViewController) PresentViewController_AsPopoverRelativeToRect_OfView_PreferredEdge_Behavior

func (v_ ViewController) PresentViewController_AsPopoverRelativeToRect_OfView_PreferredEdge_Behavior(viewController IViewController, positioningRect foundation.Rect, positioningView IView, preferredEdge foundation.RectEdge, behavior PopoverBehavior)

func (ViewController) PresentedViewControllers

func (v_ ViewController) PresentedViewControllers() []ViewController

func (ViewController) PresentingViewController

func (v_ ViewController) PresentingViewController() ViewController

weak property

func (ViewController) RemoveChildViewControllerAtIndex

func (v_ ViewController) RemoveChildViewControllerAtIndex(index int)

func (ViewController) RemoveFromParentViewController

func (v_ ViewController) RemoveFromParentViewController()

func (ViewController) RepresentedObject

func (v_ ViewController) RepresentedObject() objc.Object

func (ViewController) SetChildViewControllers

func (v_ ViewController) SetChildViewControllers(value []IViewController)

func (ViewController) SetPreferredContentSize

func (v_ ViewController) SetPreferredContentSize(value foundation.Size)

func (ViewController) SetPreferredScreenOrigin

func (v_ ViewController) SetPreferredScreenOrigin(value foundation.Point)

func (ViewController) SetRepresentedObject

func (v_ ViewController) SetRepresentedObject(value objc.IObject)

func (ViewController) SetSourceItemView

func (v_ ViewController) SetSourceItemView(value IView)

func (ViewController) SetTitle

func (v_ ViewController) SetTitle(value string)

func (ViewController) SetView

func (v_ ViewController) SetView(value IView)

func (ViewController) SourceItemView

func (v_ ViewController) SourceItemView() View

func (ViewController) Storyboard

func (v_ ViewController) Storyboard() Storyboard

func (ViewController) Title

func (v_ ViewController) Title() string

func (ViewController) TransitionFromViewController_ToViewController_Options_CompletionHandler added in v0.13.3

func (v_ ViewController) TransitionFromViewController_ToViewController_Options_CompletionHandler(fromViewController IViewController, toViewController IViewController, options ViewControllerTransitionOptions, completion func())

func (ViewController) UpdateViewConstraints

func (v_ ViewController) UpdateViewConstraints()

func (ViewController) View

func (v_ ViewController) View() View

func (ViewController) ViewDidAppear

func (v_ ViewController) ViewDidAppear()

func (ViewController) ViewDidDisappear

func (v_ ViewController) ViewDidDisappear()

func (ViewController) ViewDidLayout

func (v_ ViewController) ViewDidLayout()

func (ViewController) ViewDidLoad

func (v_ ViewController) ViewDidLoad()

func (ViewController) ViewWillAppear

func (v_ ViewController) ViewWillAppear()

func (ViewController) ViewWillDisappear

func (v_ ViewController) ViewWillDisappear()

func (ViewController) ViewWillLayout

func (v_ ViewController) ViewWillLayout()

func (ViewController) ViewWillTransitionToSize

func (v_ ViewController) ViewWillTransitionToSize(newSize foundation.Size)

type ViewControllerPresentationAnimator

type ViewControllerPresentationAnimator interface {
	// required
	AnimatePresentationOfViewController_FromViewController(viewController ViewController, fromViewController ViewController)
	// required
	AnimateDismissalOfViewController_FromViewController(viewController ViewController, fromViewController ViewController)
}

type ViewControllerPresentationAnimatorBase added in v0.13.0

type ViewControllerPresentationAnimatorBase struct {
}

type ViewControllerTransitionOptions added in v0.12.5

type ViewControllerTransitionOptions uint
const ViewControllerTransitionAllowUserInteraction ViewControllerTransitionOptions = 4096
const ViewControllerTransitionCrossfade ViewControllerTransitionOptions = 1
const ViewControllerTransitionNone ViewControllerTransitionOptions = 0
const ViewControllerTransitionSlideBackward ViewControllerTransitionOptions = 384
const ViewControllerTransitionSlideDown ViewControllerTransitionOptions = 32
const ViewControllerTransitionSlideForward ViewControllerTransitionOptions = 320
const ViewControllerTransitionSlideLeft ViewControllerTransitionOptions = 64
const ViewControllerTransitionSlideRight ViewControllerTransitionOptions = 128
const ViewControllerTransitionSlideUp ViewControllerTransitionOptions = 16

type ViewFullScreenModeOptionKey

type ViewFullScreenModeOptionKey string
const FullScreenModeAllScreens ViewFullScreenModeOptionKey = "NSFullScreenModeAllScreens"
const FullScreenModeApplicationPresentationOptions ViewFullScreenModeOptionKey = "NSFullScreenModeApplicationPresentationOptions"
const FullScreenModeSetting ViewFullScreenModeOptionKey = "NSFullScreenModeSetting"
const FullScreenModeWindowLevel ViewFullScreenModeOptionKey = "NSFullScreenModeWindowLevel"

type ViewLayerContentsPlacement

type ViewLayerContentsPlacement int
const ViewLayerContentsPlacementBottom ViewLayerContentsPlacement = 8
const ViewLayerContentsPlacementBottomLeft ViewLayerContentsPlacement = 9
const ViewLayerContentsPlacementBottomRight ViewLayerContentsPlacement = 7
const ViewLayerContentsPlacementCenter ViewLayerContentsPlacement = 3
const ViewLayerContentsPlacementLeft ViewLayerContentsPlacement = 10
const ViewLayerContentsPlacementRight ViewLayerContentsPlacement = 6
const ViewLayerContentsPlacementScaleAxesIndependently ViewLayerContentsPlacement = 0
const ViewLayerContentsPlacementScaleProportionallyToFill ViewLayerContentsPlacement = 2
const ViewLayerContentsPlacementScaleProportionallyToFit ViewLayerContentsPlacement = 1
const ViewLayerContentsPlacementTop ViewLayerContentsPlacement = 4
const ViewLayerContentsPlacementTopLeft ViewLayerContentsPlacement = 11
const ViewLayerContentsPlacementTopRight ViewLayerContentsPlacement = 5

type ViewLayerContentsRedrawPolicy

type ViewLayerContentsRedrawPolicy int
const ViewLayerContentsRedrawBeforeViewResize ViewLayerContentsRedrawPolicy = 3
const ViewLayerContentsRedrawCrossfade ViewLayerContentsRedrawPolicy = 4
const ViewLayerContentsRedrawDuringViewResize ViewLayerContentsRedrawPolicy = 2
const ViewLayerContentsRedrawNever ViewLayerContentsRedrawPolicy = 0
const ViewLayerContentsRedrawOnSetNeedsDisplay ViewLayerContentsRedrawPolicy = 1

type ViewToolTipOwner added in v0.13.6

type ViewToolTipOwner interface {
	// required
	View_StringForToolTip_Point_UserData(view View, tag ToolTipTag, point foundation.Point, data unsafe.Pointer) string
}

type ViewToolTipOwnerBase added in v0.13.6

type ViewToolTipOwnerBase struct {
}

type VisualEffectBlendingMode added in v0.13.6

type VisualEffectBlendingMode int
const VisualEffectBlendingModeBehindWindow VisualEffectBlendingMode = 0
const VisualEffectBlendingModeWithinWindow VisualEffectBlendingMode = 1

type VisualEffectMaterial added in v0.13.6

type VisualEffectMaterial int
const VisualEffectMaterialContentBackground VisualEffectMaterial = 18
const VisualEffectMaterialFullScreenUI VisualEffectMaterial = 15
const VisualEffectMaterialHUDWindow VisualEffectMaterial = 13
const VisualEffectMaterialHeaderView VisualEffectMaterial = 10
const VisualEffectMaterialMenu VisualEffectMaterial = 5
const VisualEffectMaterialPopover VisualEffectMaterial = 6
const VisualEffectMaterialSelection VisualEffectMaterial = 4
const VisualEffectMaterialSheet VisualEffectMaterial = 11
const VisualEffectMaterialSidebar VisualEffectMaterial = 7
const VisualEffectMaterialTitlebar VisualEffectMaterial = 3
const VisualEffectMaterialToolTip VisualEffectMaterial = 17
const VisualEffectMaterialUnderPageBackground VisualEffectMaterial = 22
const VisualEffectMaterialUnderWindowBackground VisualEffectMaterial = 21
const VisualEffectMaterialWindowBackground VisualEffectMaterial = 12

type VisualEffectState added in v0.13.6

type VisualEffectState int
const VisualEffectStateActive VisualEffectState = 1
const VisualEffectStateFollowsWindowActiveState VisualEffectState = 0
const VisualEffectStateInactive VisualEffectState = 2

type VisualEffectView added in v0.13.6

type VisualEffectView struct {
	View
}

func MakeVisualEffectView added in v0.13.6

func MakeVisualEffectView(ptr unsafe.Pointer) VisualEffectView

func NewVisualEffectView added in v0.13.6

func NewVisualEffectView() VisualEffectView

func (VisualEffectView) BlendingMode added in v0.13.6

func (v_ VisualEffectView) BlendingMode() VisualEffectBlendingMode

func (VisualEffectView) Init added in v0.13.6

func (VisualEffectView) InitWithFrame added in v0.13.6

func (v_ VisualEffectView) InitWithFrame(frameRect foundation.Rect) VisualEffectView

func (VisualEffectView) InteriorBackgroundStyle added in v0.13.6

func (v_ VisualEffectView) InteriorBackgroundStyle() BackgroundStyle

func (VisualEffectView) IsEmphasized added in v0.13.6

func (v_ VisualEffectView) IsEmphasized() bool

func (VisualEffectView) MaskImage added in v0.13.6

func (v_ VisualEffectView) MaskImage() Image

func (VisualEffectView) Material added in v0.13.6

func (v_ VisualEffectView) Material() VisualEffectMaterial

func (VisualEffectView) SetBlendingMode added in v0.13.6

func (v_ VisualEffectView) SetBlendingMode(value VisualEffectBlendingMode)

func (VisualEffectView) SetEmphasized added in v0.13.6

func (v_ VisualEffectView) SetEmphasized(value bool)

func (VisualEffectView) SetMaskImage added in v0.13.6

func (v_ VisualEffectView) SetMaskImage(value IImage)

func (VisualEffectView) SetMaterial added in v0.13.6

func (v_ VisualEffectView) SetMaterial(value VisualEffectMaterial)

func (VisualEffectView) SetState added in v0.13.6

func (v_ VisualEffectView) SetState(value VisualEffectState)

func (VisualEffectView) State added in v0.13.6

type WindingRule

type WindingRule uint
const WindingRuleEvenOdd WindingRule = 1
const WindingRuleNonZero WindingRule = 0

type Window

type Window struct {
	Responder
}

func MakeWindow

func MakeWindow(ptr unsafe.Pointer) Window

func NewWindow

func NewWindow() Window

func NewWindowWithSize added in v0.15.3

func NewWindowWithSize(width, height float64) Window

NewWindowWithSize create a common window with close/minimize buttons

func NewWindowWithSizeAndStyle added in v0.15.3

func NewWindowWithSizeAndStyle(width, height float64, style WindowStyleMask) Window

NewWindowWithSizeAndStyle create a common window with styles

func (Window) AcceptsMouseMovedEvents

func (w_ Window) AcceptsMouseMovedEvents() bool

func (Window) AddChildWindow_Ordered

func (w_ Window) AddChildWindow_Ordered(childWin IWindow, place WindowOrderingMode)

func (Window) AddTabbedWindow_Ordered

func (w_ Window) AddTabbedWindow_Ordered(window IWindow, ordered WindowOrderingMode)

func (Window) AddTitlebarAccessoryViewController

func (w_ Window) AddTitlebarAccessoryViewController(childViewController ITitlebarAccessoryViewController)

func (Window) AllowsConcurrentViewDrawing

func (w_ Window) AllowsConcurrentViewDrawing() bool

func (Window) AllowsToolTipsWhenApplicationIsInactive

func (w_ Window) AllowsToolTipsWhenApplicationIsInactive() bool

func (Window) AlphaValue

func (w_ Window) AlphaValue() float64

func (Window) AnchorAttributeForOrientation

func (w_ Window) AnchorAttributeForOrientation(orientation LayoutConstraintOrientation) LayoutAttribute

func (Window) AnimationBehavior

func (w_ Window) AnimationBehavior() WindowAnimationBehavior

func (Window) AnimationResizeTime

func (w_ Window) AnimationResizeTime(newFrame foundation.Rect) foundation.TimeInterval

func (Window) AreCursorRectsEnabled

func (w_ Window) AreCursorRectsEnabled() bool

func (Window) AspectRatio

func (w_ Window) AspectRatio() foundation.Size

func (Window) AttachedSheet

func (w_ Window) AttachedSheet() Window

func (Window) AutorecalculatesContentBorderThicknessForEdge

func (w_ Window) AutorecalculatesContentBorderThicknessForEdge(edge foundation.RectEdge) bool

func (Window) AutorecalculatesKeyViewLoop

func (w_ Window) AutorecalculatesKeyViewLoop() bool

func (Window) BackgroundColor

func (w_ Window) BackgroundColor() Color

func (Window) BackingAlignedRect_Options added in v0.13.6

func (w_ Window) BackingAlignedRect_Options(rect foundation.Rect, options foundation.AlignmentOptions) foundation.Rect

func (Window) BackingLocation added in v0.14.5

func (w_ Window) BackingLocation() WindowBackingLocation

deprecated

func (Window) BackingScaleFactor

func (w_ Window) BackingScaleFactor() float64

func (Window) BackingType

func (w_ Window) BackingType() BackingStoreType

func (Window) BecomeKeyWindow

func (w_ Window) BecomeKeyWindow()

func (Window) BecomeMainWindow

func (w_ Window) BecomeMainWindow()

func (Window) BeginCriticalSheet_CompletionHandler added in v0.13.3

func (w_ Window) BeginCriticalSheet_CompletionHandler(sheetWindow IWindow, handler func(returnCode ModalResponse))

func (Window) BeginSheet_CompletionHandler added in v0.13.3

func (w_ Window) BeginSheet_CompletionHandler(sheetWindow IWindow, handler func(returnCode ModalResponse))

func (Window) CacheImageInRect added in v0.14.5

func (w_ Window) CacheImageInRect(rect foundation.Rect)

deprecated

func (Window) CanBecomeKeyWindow

func (w_ Window) CanBecomeKeyWindow() bool

func (Window) CanBecomeMainWindow

func (w_ Window) CanBecomeMainWindow() bool

func (Window) CanBecomeVisibleWithoutLogin

func (w_ Window) CanBecomeVisibleWithoutLogin() bool

func (Window) CanHide

func (w_ Window) CanHide() bool

func (Window) CanRepresentDisplayGamut

func (w_ Window) CanRepresentDisplayGamut(displayGamut DisplayGamut) bool

func (Window) CanStoreColor added in v0.14.5

func (w_ Window) CanStoreColor() bool

deprecated

func (Window) CascadeTopLeftFromPoint

func (w_ Window) CascadeTopLeftFromPoint(topLeftPoint foundation.Point) foundation.Point

func (Window) Center

func (w_ Window) Center()

func (Window) ChildWindows

func (w_ Window) ChildWindows() []Window

func (Window) Close

func (w_ Window) Close()

func (Window) CollectionBehavior

func (w_ Window) CollectionBehavior() WindowCollectionBehavior

func (Window) ColorSpace

func (w_ Window) ColorSpace() ColorSpace

func (Window) ConstrainFrameRect_ToScreen

func (w_ Window) ConstrainFrameRect_ToScreen(frameRect foundation.Rect, screen IScreen) foundation.Rect

func (Window) ContentAspectRatio

func (w_ Window) ContentAspectRatio() foundation.Size

func (Window) ContentBorderThicknessForEdge

func (w_ Window) ContentBorderThicknessForEdge(edge foundation.RectEdge) float64

func (Window) ContentLayoutGuide

func (w_ Window) ContentLayoutGuide() objc.Object

func (Window) ContentLayoutRect

func (w_ Window) ContentLayoutRect() foundation.Rect

func (Window) ContentMaxSize

func (w_ Window) ContentMaxSize() foundation.Size

func (Window) ContentMinSize

func (w_ Window) ContentMinSize() foundation.Size

func (Window) ContentRectForFrameRect

func (w_ Window) ContentRectForFrameRect(frameRect foundation.Rect) foundation.Rect

func (Window) ContentResizeIncrements

func (w_ Window) ContentResizeIncrements() foundation.Size

func (Window) ContentView

func (w_ Window) ContentView() View

func (Window) ContentViewController

func (w_ Window) ContentViewController() ViewController

func (Window) ConvertBaseToScreen added in v0.14.5

func (w_ Window) ConvertBaseToScreen(point foundation.Point) foundation.Point

deprecated

func (Window) ConvertPointFromBacking

func (w_ Window) ConvertPointFromBacking(point foundation.Point) foundation.Point

func (Window) ConvertPointFromScreen

func (w_ Window) ConvertPointFromScreen(point foundation.Point) foundation.Point

func (Window) ConvertPointToBacking

func (w_ Window) ConvertPointToBacking(point foundation.Point) foundation.Point

func (Window) ConvertPointToScreen

func (w_ Window) ConvertPointToScreen(point foundation.Point) foundation.Point

func (Window) ConvertRectFromBacking

func (w_ Window) ConvertRectFromBacking(rect foundation.Rect) foundation.Rect

func (Window) ConvertRectFromScreen

func (w_ Window) ConvertRectFromScreen(rect foundation.Rect) foundation.Rect

func (Window) ConvertRectToBacking

func (w_ Window) ConvertRectToBacking(rect foundation.Rect) foundation.Rect

func (Window) ConvertRectToScreen

func (w_ Window) ConvertRectToScreen(rect foundation.Rect) foundation.Rect

func (Window) ConvertScreenToBase added in v0.14.5

func (w_ Window) ConvertScreenToBase(point foundation.Point) foundation.Point

deprecated

func (Window) CurrentEvent

func (w_ Window) CurrentEvent() Event

func (Window) DataWithEPSInsideRect

func (w_ Window) DataWithEPSInsideRect(rect foundation.Rect) []byte

func (Window) DataWithPDFInsideRect

func (w_ Window) DataWithPDFInsideRect(rect foundation.Rect) []byte

func (Window) DeepestScreen

func (w_ Window) DeepestScreen() Screen

func (Window) DefaultButtonCell

func (w_ Window) DefaultButtonCell() ButtonCell

func (Window) Delegate

func (w_ Window) Delegate() objc.Object

weak property

func (Window) Deminiaturize

func (w_ Window) Deminiaturize(sender objc.IObject)

func (Window) DepthLimit

func (w_ Window) DepthLimit() WindowDepth

func (Window) DeviceDescription

func (w_ Window) DeviceDescription() map[DeviceDescriptionKey]objc.Object

func (Window) DisableCursorRects

func (w_ Window) DisableCursorRects()

func (Window) DisableFlushWindow added in v0.14.5

func (w_ Window) DisableFlushWindow()

deprecated

func (Window) DisableKeyEquivalentForDefaultButtonCell

func (w_ Window) DisableKeyEquivalentForDefaultButtonCell()

func (Window) DisableScreenUpdatesUntilFlush

func (w_ Window) DisableScreenUpdatesUntilFlush()

func (Window) DisableSnapshotRestoration

func (w_ Window) DisableSnapshotRestoration()

func (Window) DiscardCachedImage added in v0.14.5

func (w_ Window) DiscardCachedImage()

deprecated

func (Window) DiscardCursorRects

func (w_ Window) DiscardCursorRects()

func (Window) DiscardEventsMatchingMask_BeforeEvent added in v0.13.6

func (w_ Window) DiscardEventsMatchingMask_BeforeEvent(mask EventMask, lastEvent IEvent)

func (Window) Display

func (w_ Window) Display()

func (Window) DisplayIfNeeded

func (w_ Window) DisplayIfNeeded()

func (Window) DisplaysWhenScreenProfileChanges

func (w_ Window) DisplaysWhenScreenProfileChanges() bool

func (Window) DockTile

func (w_ Window) DockTile() DockTile

func (Window) DragImage_At_Offset_Event_Pasteboard_Source_SlideBack

func (w_ Window) DragImage_At_Offset_Event_Pasteboard_Source_SlideBack(image IImage, baseLocation foundation.Point, initialOffset foundation.Size, event IEvent, pboard IPasteboard, sourceObj objc.IObject, slideFlag bool)

func (Window) Drawers added in v0.16.0

func (w_ Window) Drawers() []Drawer

deprecated

func (Window) EnableCursorRects

func (w_ Window) EnableCursorRects()

func (Window) EnableFlushWindow added in v0.14.5

func (w_ Window) EnableFlushWindow()

deprecated

func (Window) EnableKeyEquivalentForDefaultButtonCell

func (w_ Window) EnableKeyEquivalentForDefaultButtonCell()

func (Window) EnableSnapshotRestoration

func (w_ Window) EnableSnapshotRestoration()

func (Window) EndEditingFor

func (w_ Window) EndEditingFor(object objc.IObject)

func (Window) EndSheet

func (w_ Window) EndSheet(sheetWindow IWindow)

func (Window) EndSheet_ReturnCode

func (w_ Window) EndSheet_ReturnCode(sheetWindow IWindow, returnCode ModalResponse)

func (Window) FieldEditor_ForObject

func (w_ Window) FieldEditor_ForObject(createFlag bool, object objc.IObject) Text

func (Window) FirstResponder

func (w_ Window) FirstResponder() Responder

weak property

func (Window) FlushWindow added in v0.14.5

func (w_ Window) FlushWindow()

deprecated

func (Window) FlushWindowIfNeeded added in v0.14.5

func (w_ Window) FlushWindowIfNeeded()

deprecated

func (Window) Frame

func (w_ Window) Frame() foundation.Rect

func (Window) FrameAutosaveName

func (w_ Window) FrameAutosaveName() WindowFrameAutosaveName

func (Window) FrameRectForContentRect

func (w_ Window) FrameRectForContentRect(contentRect foundation.Rect) foundation.Rect

func (Window) GState added in v0.14.5

func (w_ Window) GState() int

deprecated

func (Window) GraphicsContext added in v0.14.5

func (w_ Window) GraphicsContext() GraphicsContext

deprecated

func (Window) HandleCloseScriptCommand

func (w_ Window) HandleCloseScriptCommand(command foundation.ICloseCommand) objc.Object

func (Window) HandlePrintScriptCommand

func (w_ Window) HandlePrintScriptCommand(command foundation.IScriptCommand) objc.Object

func (Window) HandleSaveScriptCommand

func (w_ Window) HandleSaveScriptCommand(command foundation.IScriptCommand) objc.Object

func (Window) HasCloseBox

func (w_ Window) HasCloseBox() bool

func (Window) HasDynamicDepthLimit

func (w_ Window) HasDynamicDepthLimit() bool

func (Window) HasShadow

func (w_ Window) HasShadow() bool

func (Window) HasTitleBar

func (w_ Window) HasTitleBar() bool

func (Window) HidesOnDeactivate

func (w_ Window) HidesOnDeactivate() bool

func (Window) IgnoresMouseEvents

func (w_ Window) IgnoresMouseEvents() bool

func (Window) InLiveResize

func (w_ Window) InLiveResize() bool

func (Window) Init added in v0.11.0

func (w_ Window) Init() Window

func (Window) InitWithContentRect_StyleMask_Backing_Defer added in v0.11.0

func (w_ Window) InitWithContentRect_StyleMask_Backing_Defer(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool) Window

func (Window) InitWithContentRect_StyleMask_Backing_Defer_Screen added in v0.11.0

func (w_ Window) InitWithContentRect_StyleMask_Backing_Defer_Screen(contentRect foundation.Rect, style WindowStyleMask, backingStoreType BackingStoreType, flag bool, screen IScreen) Window

func (Window) InitWithWindowRef added in v0.8.1

func (w_ Window) InitWithWindowRef(windowRef unsafe.Pointer) Window

func (Window) InitialFirstResponder

func (w_ Window) InitialFirstResponder() View

weak property

func (Window) InsertTitlebarAccessoryViewController_AtIndex

func (w_ Window) InsertTitlebarAccessoryViewController_AtIndex(childViewController ITitlebarAccessoryViewController, index int)

func (Window) InvalidateCursorRectsForView

func (w_ Window) InvalidateCursorRectsForView(view IView)

func (Window) InvalidateShadow

func (w_ Window) InvalidateShadow()

func (Window) IsAutodisplay added in v0.14.5

func (w_ Window) IsAutodisplay() bool

deprecated

func (Window) IsDocumentEdited

func (w_ Window) IsDocumentEdited() bool

func (Window) IsExcludedFromWindowsMenu

func (w_ Window) IsExcludedFromWindowsMenu() bool

func (Window) IsFloatingPanel

func (w_ Window) IsFloatingPanel() bool

func (Window) IsFlushWindowDisabled added in v0.14.5

func (w_ Window) IsFlushWindowDisabled() bool

deprecated

func (Window) IsKeyWindow

func (w_ Window) IsKeyWindow() bool

func (Window) IsMainWindow

func (w_ Window) IsMainWindow() bool

func (Window) IsMiniaturizable

func (w_ Window) IsMiniaturizable() bool

func (Window) IsMiniaturized

func (w_ Window) IsMiniaturized() bool

func (Window) IsModalPanel

func (w_ Window) IsModalPanel() bool

func (Window) IsMovable

func (w_ Window) IsMovable() bool

func (Window) IsMovableByWindowBackground

func (w_ Window) IsMovableByWindowBackground() bool

func (Window) IsOnActiveSpace

func (w_ Window) IsOnActiveSpace() bool

func (Window) IsOneShot added in v0.14.5

func (w_ Window) IsOneShot() bool

deprecated

func (Window) IsOpaque

func (w_ Window) IsOpaque() bool

func (Window) IsReleasedWhenClosed

func (w_ Window) IsReleasedWhenClosed() bool

func (Window) IsResizable

func (w_ Window) IsResizable() bool

func (Window) IsRestorable

func (w_ Window) IsRestorable() bool

func (Window) IsSheet

func (w_ Window) IsSheet() bool

func (Window) IsVisible

func (w_ Window) IsVisible() bool

func (Window) IsZoomable

func (w_ Window) IsZoomable() bool

func (Window) IsZoomed

func (w_ Window) IsZoomed() bool

func (Window) KeyViewSelectionDirection

func (w_ Window) KeyViewSelectionDirection() SelectionDirection

func (Window) LayoutIfNeeded

func (w_ Window) LayoutIfNeeded()

func (Window) Level

func (w_ Window) Level() WindowLevel

func (Window) MakeFirstResponder

func (w_ Window) MakeFirstResponder(responder IResponder) bool

func (Window) MakeKeyAndOrderFront

func (w_ Window) MakeKeyAndOrderFront(sender objc.IObject)

func (Window) MakeKeyWindow

func (w_ Window) MakeKeyWindow()

func (Window) MakeMainWindow

func (w_ Window) MakeMainWindow()

func (Window) MaxFullScreenContentSize

func (w_ Window) MaxFullScreenContentSize() foundation.Size

func (Window) MaxSize

func (w_ Window) MaxSize() foundation.Size

func (Window) MergeAllWindows

func (w_ Window) MergeAllWindows(sender objc.IObject)

func (Window) MinFullScreenContentSize

func (w_ Window) MinFullScreenContentSize() foundation.Size

func (Window) MinSize

func (w_ Window) MinSize() foundation.Size

func (Window) Miniaturize

func (w_ Window) Miniaturize(sender objc.IObject)

func (Window) MiniwindowImage

func (w_ Window) MiniwindowImage() Image

func (Window) MiniwindowTitle

func (w_ Window) MiniwindowTitle() string

func (Window) MouseLocationOutsideOfEventStream

func (w_ Window) MouseLocationOutsideOfEventStream() foundation.Point

func (Window) MoveTabToNewWindow

func (w_ Window) MoveTabToNewWindow(sender objc.IObject)

func (Window) NextEventMatchingMask added in v0.13.6

func (w_ Window) NextEventMatchingMask(mask EventMask) Event

func (Window) NextEventMatchingMask_UntilDate_InMode_Dequeue added in v0.13.6

func (w_ Window) NextEventMatchingMask_UntilDate_InMode_Dequeue(mask EventMask, expiration foundation.IDate, mode foundation.RunLoopMode, deqFlag bool) Event

func (Window) OcclusionState

func (w_ Window) OcclusionState() WindowOcclusionState

func (Window) OrderBack

func (w_ Window) OrderBack(sender objc.IObject)

func (Window) OrderFront

func (w_ Window) OrderFront(sender objc.IObject)

func (Window) OrderFrontRegardless

func (w_ Window) OrderFrontRegardless()

func (Window) OrderOut

func (w_ Window) OrderOut(sender objc.IObject)

func (Window) OrderWindow_RelativeTo

func (w_ Window) OrderWindow_RelativeTo(place WindowOrderingMode, otherWin int)

func (Window) OrderedIndex

func (w_ Window) OrderedIndex() int

func (Window) ParentWindow

func (w_ Window) ParentWindow() Window

weak property

func (Window) PerformClose

func (w_ Window) PerformClose(sender objc.IObject)

func (Window) PerformMiniaturize

func (w_ Window) PerformMiniaturize(sender objc.IObject)

func (Window) PerformWindowDragWithEvent

func (w_ Window) PerformWindowDragWithEvent(event IEvent)

func (Window) PerformZoom

func (w_ Window) PerformZoom(sender objc.IObject)

func (Window) PostEvent_AtStart

func (w_ Window) PostEvent_AtStart(event IEvent, flag bool)

func (Window) PreferredBackingLocation added in v0.14.5

func (w_ Window) PreferredBackingLocation() WindowBackingLocation

deprecated

func (Window) PreservesContentDuringLiveResize

func (w_ Window) PreservesContentDuringLiveResize() bool

func (Window) PreventsApplicationTerminationWhenModal

func (w_ Window) PreventsApplicationTerminationWhenModal() bool

func (Window) Print

func (w_ Window) Print(sender objc.IObject)

func (Window) RecalculateKeyViewLoop

func (w_ Window) RecalculateKeyViewLoop()

func (Window) RegisterForDraggedTypes

func (w_ Window) RegisterForDraggedTypes(newTypes []PasteboardType)

func (Window) RemoveChildWindow

func (w_ Window) RemoveChildWindow(childWin IWindow)

func (Window) RemoveTitlebarAccessoryViewControllerAtIndex

func (w_ Window) RemoveTitlebarAccessoryViewControllerAtIndex(index int)

func (Window) RepresentedFilename

func (w_ Window) RepresentedFilename() string

func (Window) RepresentedURL

func (w_ Window) RepresentedURL() foundation.URL

func (Window) ResetCursorRects

func (w_ Window) ResetCursorRects()

func (Window) ResignKeyWindow

func (w_ Window) ResignKeyWindow()

func (Window) ResignMainWindow

func (w_ Window) ResignMainWindow()

func (Window) ResizeFlags

func (w_ Window) ResizeFlags() EventModifierFlags

func (Window) ResizeIncrements

func (w_ Window) ResizeIncrements() foundation.Size

func (Window) RestoreCachedImage added in v0.14.5

func (w_ Window) RestoreCachedImage()

deprecated

func (Window) RunToolbarCustomizationPalette

func (w_ Window) RunToolbarCustomizationPalette(sender objc.IObject)

func (Window) SaveFrameUsingName

func (w_ Window) SaveFrameUsingName(name WindowFrameAutosaveName)

func (Window) Screen

func (w_ Window) Screen() Screen

func (Window) SelectKeyViewFollowingView

func (w_ Window) SelectKeyViewFollowingView(view IView)

func (Window) SelectKeyViewPrecedingView

func (w_ Window) SelectKeyViewPrecedingView(view IView)

func (Window) SelectNextKeyView

func (w_ Window) SelectNextKeyView(sender objc.IObject)

func (Window) SelectNextTab

func (w_ Window) SelectNextTab(sender objc.IObject)

func (Window) SelectPreviousKeyView

func (w_ Window) SelectPreviousKeyView(sender objc.IObject)

func (Window) SelectPreviousTab

func (w_ Window) SelectPreviousTab(sender objc.IObject)

func (Window) SendEvent

func (w_ Window) SendEvent(event IEvent)

func (Window) SetAcceptsMouseMovedEvents

func (w_ Window) SetAcceptsMouseMovedEvents(value bool)

func (Window) SetAllowsConcurrentViewDrawing

func (w_ Window) SetAllowsConcurrentViewDrawing(value bool)

func (Window) SetAllowsToolTipsWhenApplicationIsInactive

func (w_ Window) SetAllowsToolTipsWhenApplicationIsInactive(value bool)

func (Window) SetAlphaValue

func (w_ Window) SetAlphaValue(value float64)

func (Window) SetAnchorAttribute_ForOrientation

func (w_ Window) SetAnchorAttribute_ForOrientation(attr LayoutAttribute, orientation LayoutConstraintOrientation)

func (Window) SetAnimationBehavior

func (w_ Window) SetAnimationBehavior(value WindowAnimationBehavior)

func (Window) SetAspectRatio

func (w_ Window) SetAspectRatio(value foundation.Size)

func (Window) SetAutodisplay added in v0.14.5

func (w_ Window) SetAutodisplay(value bool)

deprecated

func (Window) SetAutorecalculatesContentBorderThickness_ForEdge

func (w_ Window) SetAutorecalculatesContentBorderThickness_ForEdge(flag bool, edge foundation.RectEdge)

func (Window) SetAutorecalculatesKeyViewLoop

func (w_ Window) SetAutorecalculatesKeyViewLoop(value bool)

func (Window) SetBackgroundColor

func (w_ Window) SetBackgroundColor(value IColor)

func (Window) SetBackingType

func (w_ Window) SetBackingType(value BackingStoreType)

func (Window) SetCanBecomeVisibleWithoutLogin

func (w_ Window) SetCanBecomeVisibleWithoutLogin(value bool)

func (Window) SetCanHide

func (w_ Window) SetCanHide(value bool)

func (Window) SetCollectionBehavior

func (w_ Window) SetCollectionBehavior(value WindowCollectionBehavior)

func (Window) SetColorSpace

func (w_ Window) SetColorSpace(value IColorSpace)

func (Window) SetContentAspectRatio

func (w_ Window) SetContentAspectRatio(value foundation.Size)

func (Window) SetContentBorderThickness_ForEdge

func (w_ Window) SetContentBorderThickness_ForEdge(thickness float64, edge foundation.RectEdge)

func (Window) SetContentMaxSize

func (w_ Window) SetContentMaxSize(value foundation.Size)

func (Window) SetContentMinSize

func (w_ Window) SetContentMinSize(value foundation.Size)

func (Window) SetContentResizeIncrements

func (w_ Window) SetContentResizeIncrements(value foundation.Size)

func (Window) SetContentSize

func (w_ Window) SetContentSize(size foundation.Size)

func (Window) SetContentView

func (w_ Window) SetContentView(value IView)

func (Window) SetContentViewController

func (w_ Window) SetContentViewController(value IViewController)

func (Window) SetDefaultButtonCell

func (w_ Window) SetDefaultButtonCell(value IButtonCell)

func (Window) SetDelegate

func (w_ Window) SetDelegate(value objc.IObject)

weak property

func (Window) SetDepthLimit

func (w_ Window) SetDepthLimit(value WindowDepth)

func (Window) SetDisplaysWhenScreenProfileChanges

func (w_ Window) SetDisplaysWhenScreenProfileChanges(value bool)

func (Window) SetDocumentEdited

func (w_ Window) SetDocumentEdited(value bool)

func (Window) SetDynamicDepthLimit

func (w_ Window) SetDynamicDepthLimit(flag bool)

func (Window) SetExcludedFromWindowsMenu

func (w_ Window) SetExcludedFromWindowsMenu(value bool)

func (Window) SetFrameAutosaveName

func (w_ Window) SetFrameAutosaveName(name WindowFrameAutosaveName) bool

func (Window) SetFrameFromString

func (w_ Window) SetFrameFromString(string_ WindowPersistableFrameDescriptor)

func (Window) SetFrameOrigin

func (w_ Window) SetFrameOrigin(point foundation.Point)

func (Window) SetFrameTopLeftPoint

func (w_ Window) SetFrameTopLeftPoint(point foundation.Point)

func (Window) SetFrameUsingName

func (w_ Window) SetFrameUsingName(name WindowFrameAutosaveName) bool

func (Window) SetFrameUsingName_Force

func (w_ Window) SetFrameUsingName_Force(name WindowFrameAutosaveName, force bool) bool

func (Window) SetFrame_Display

func (w_ Window) SetFrame_Display(frameRect foundation.Rect, flag bool)

func (Window) SetFrame_Display_Animate

func (w_ Window) SetFrame_Display_Animate(frameRect foundation.Rect, displayFlag bool, animateFlag bool)

func (Window) SetHasShadow

func (w_ Window) SetHasShadow(value bool)

func (Window) SetHidesOnDeactivate

func (w_ Window) SetHidesOnDeactivate(value bool)

func (Window) SetIgnoresMouseEvents

func (w_ Window) SetIgnoresMouseEvents(value bool)

func (Window) SetInitialFirstResponder

func (w_ Window) SetInitialFirstResponder(value IView)

weak property

func (Window) SetIsMiniaturized

func (w_ Window) SetIsMiniaturized(flag bool)

func (Window) SetIsVisible

func (w_ Window) SetIsVisible(flag bool)

func (Window) SetIsZoomed

func (w_ Window) SetIsZoomed(flag bool)

func (Window) SetLevel

func (w_ Window) SetLevel(value WindowLevel)

func (Window) SetMaxFullScreenContentSize

func (w_ Window) SetMaxFullScreenContentSize(value foundation.Size)

func (Window) SetMaxSize

func (w_ Window) SetMaxSize(value foundation.Size)

func (Window) SetMinFullScreenContentSize

func (w_ Window) SetMinFullScreenContentSize(value foundation.Size)

func (Window) SetMinSize

func (w_ Window) SetMinSize(value foundation.Size)

func (Window) SetMiniwindowImage

func (w_ Window) SetMiniwindowImage(value IImage)

func (Window) SetMiniwindowTitle

func (w_ Window) SetMiniwindowTitle(value string)

func (Window) SetMovable

func (w_ Window) SetMovable(value bool)

func (Window) SetMovableByWindowBackground

func (w_ Window) SetMovableByWindowBackground(value bool)

func (Window) SetOneShot added in v0.14.5

func (w_ Window) SetOneShot(value bool)

deprecated

func (Window) SetOpaque

func (w_ Window) SetOpaque(value bool)

func (Window) SetOrderedIndex

func (w_ Window) SetOrderedIndex(value int)

func (Window) SetParentWindow

func (w_ Window) SetParentWindow(value IWindow)

weak property

func (Window) SetPreferredBackingLocation added in v0.14.5

func (w_ Window) SetPreferredBackingLocation(value WindowBackingLocation)

deprecated

func (Window) SetPreservesContentDuringLiveResize

func (w_ Window) SetPreservesContentDuringLiveResize(value bool)

func (Window) SetPreventsApplicationTerminationWhenModal

func (w_ Window) SetPreventsApplicationTerminationWhenModal(value bool)

func (Window) SetReleasedWhenClosed

func (w_ Window) SetReleasedWhenClosed(value bool)

func (Window) SetRepresentedFilename

func (w_ Window) SetRepresentedFilename(value string)

func (Window) SetRepresentedURL

func (w_ Window) SetRepresentedURL(value foundation.IURL)

func (Window) SetResizeIncrements

func (w_ Window) SetResizeIncrements(value foundation.Size)

func (Window) SetRestorable

func (w_ Window) SetRestorable(value bool)

func (Window) SetSharingType

func (w_ Window) SetSharingType(value WindowSharingType)

func (Window) SetShowsResizeIndicator added in v0.14.5

func (w_ Window) SetShowsResizeIndicator(value bool)

deprecated

func (Window) SetShowsToolbarButton

func (w_ Window) SetShowsToolbarButton(value bool)

deprecated

func (Window) SetStyleMask

func (w_ Window) SetStyleMask(value WindowStyleMask)

func (Window) SetSubtitle

func (w_ Window) SetSubtitle(value string)

func (Window) SetTabbingIdentifier

func (w_ Window) SetTabbingIdentifier(value WindowTabbingIdentifier)

func (Window) SetTabbingMode

func (w_ Window) SetTabbingMode(value WindowTabbingMode)

func (Window) SetTitle

func (w_ Window) SetTitle(value string)

func (Window) SetTitleVisibility

func (w_ Window) SetTitleVisibility(value WindowTitleVisibility)

func (Window) SetTitleWithRepresentedFilename

func (w_ Window) SetTitleWithRepresentedFilename(filename string)

func (Window) SetTitlebarAccessoryViewControllers

func (w_ Window) SetTitlebarAccessoryViewControllers(value []ITitlebarAccessoryViewController)

func (Window) SetTitlebarAppearsTransparent

func (w_ Window) SetTitlebarAppearsTransparent(value bool)

func (Window) SetTitlebarSeparatorStyle

func (w_ Window) SetTitlebarSeparatorStyle(value TitlebarSeparatorStyle)

func (Window) SetToolbar

func (w_ Window) SetToolbar(value IToolbar)

func (Window) SetToolbarStyle

func (w_ Window) SetToolbarStyle(value WindowToolbarStyle)

func (Window) SetViewsNeedDisplay

func (w_ Window) SetViewsNeedDisplay(value bool)

func (Window) SetWindowController

func (w_ Window) SetWindowController(value IWindowController)

weak property

func (Window) SharingType

func (w_ Window) SharingType() WindowSharingType

func (Window) SheetParent

func (w_ Window) SheetParent() Window

func (Window) Sheets

func (w_ Window) Sheets() []Window

func (Window) ShowsResizeIndicator added in v0.14.5

func (w_ Window) ShowsResizeIndicator() bool

deprecated

func (Window) ShowsToolbarButton

func (w_ Window) ShowsToolbarButton() bool

deprecated

func (Window) StandardWindowButton

func (w_ Window) StandardWindowButton(b WindowButton) Button

func (Window) StringWithSavedFrame

func (w_ Window) StringWithSavedFrame() WindowPersistableFrameDescriptor

func (Window) StyleMask

func (w_ Window) StyleMask() WindowStyleMask

func (Window) Subtitle

func (w_ Window) Subtitle() string

func (Window) Tab

func (w_ Window) Tab() WindowTab

func (Window) TabGroup

func (w_ Window) TabGroup() WindowTabGroup

weak property

func (Window) TabbedWindows

func (w_ Window) TabbedWindows() []Window

func (Window) TabbingIdentifier

func (w_ Window) TabbingIdentifier() WindowTabbingIdentifier

func (Window) TabbingMode

func (w_ Window) TabbingMode() WindowTabbingMode

func (Window) Title

func (w_ Window) Title() string

func (Window) TitleVisibility

func (w_ Window) TitleVisibility() WindowTitleVisibility

func (Window) TitlebarAccessoryViewControllers

func (w_ Window) TitlebarAccessoryViewControllers() []TitlebarAccessoryViewController

func (Window) TitlebarAppearsTransparent

func (w_ Window) TitlebarAppearsTransparent() bool

func (Window) TitlebarSeparatorStyle

func (w_ Window) TitlebarSeparatorStyle() TitlebarSeparatorStyle

func (Window) ToggleFullScreen

func (w_ Window) ToggleFullScreen(sender objc.IObject)

func (Window) ToggleTabBar

func (w_ Window) ToggleTabBar(sender objc.IObject)

func (Window) ToggleTabOverview

func (w_ Window) ToggleTabOverview(sender objc.IObject)

func (Window) ToggleToolbarShown

func (w_ Window) ToggleToolbarShown(sender objc.IObject)

func (Window) Toolbar

func (w_ Window) Toolbar() Toolbar

func (Window) ToolbarStyle

func (w_ Window) ToolbarStyle() WindowToolbarStyle

func (Window) TrackEventsMatchingMask_Timeout_Mode_Handler added in v0.13.6

func (w_ Window) TrackEventsMatchingMask_Timeout_Mode_Handler(mask EventMask, timeout foundation.TimeInterval, mode foundation.RunLoopMode, trackingHandler func(event Event, stop *bool))

func (Window) UnregisterDraggedTypes

func (w_ Window) UnregisterDraggedTypes()

func (Window) Update

func (w_ Window) Update()

func (Window) UpdateConstraintsIfNeeded

func (w_ Window) UpdateConstraintsIfNeeded()

func (Window) UseOptimizedDrawing added in v0.14.5

func (w_ Window) UseOptimizedDrawing(flag bool)

deprecated

func (Window) UserSpaceScaleFactor added in v0.14.5

func (w_ Window) UserSpaceScaleFactor() float64

deprecated

func (Window) ViewsNeedDisplay

func (w_ Window) ViewsNeedDisplay() bool

func (Window) VisualizeConstraints

func (w_ Window) VisualizeConstraints(constraints []ILayoutConstraint)

func (Window) WindowController

func (w_ Window) WindowController() WindowController

weak property

func (Window) WindowNumber

func (w_ Window) WindowNumber() int

func (Window) WindowRef added in v0.8.1

func (w_ Window) WindowRef() unsafe.Pointer

func (Window) WindowTitlebarLayoutDirection

func (w_ Window) WindowTitlebarLayoutDirection() UserInterfaceLayoutDirection

func (Window) WorksWhenModal

func (w_ Window) WorksWhenModal() bool

func (Window) Zoom

func (w_ Window) Zoom(sender objc.IObject)

type WindowAnimationBehavior

type WindowAnimationBehavior int
const WindowAnimationBehaviorAlertPanel WindowAnimationBehavior = 5
const WindowAnimationBehaviorDefault WindowAnimationBehavior = 0
const WindowAnimationBehaviorDocumentWindow WindowAnimationBehavior = 3
const WindowAnimationBehaviorNone WindowAnimationBehavior = 2
const WindowAnimationBehaviorUtilityWindow WindowAnimationBehavior = 4

type WindowBackingLocation added in v0.14.5

type WindowBackingLocation uint

type WindowButton

type WindowButton uint
const WindowCloseButton WindowButton = 0
const WindowDocumentIconButton WindowButton = 4
const WindowDocumentVersionsButton WindowButton = 6
const WindowMiniaturizeButton WindowButton = 1
const WindowToolbarButton WindowButton = 3
const WindowZoomButton WindowButton = 2

type WindowCollectionBehavior

type WindowCollectionBehavior uint
const WindowCollectionBehaviorCanJoinAllSpaces WindowCollectionBehavior = 1
const WindowCollectionBehaviorDefault WindowCollectionBehavior = 0
const WindowCollectionBehaviorFullScreenAllowsTiling WindowCollectionBehavior = 2048
const WindowCollectionBehaviorFullScreenAuxiliary WindowCollectionBehavior = 256
const WindowCollectionBehaviorFullScreenDisallowsTiling WindowCollectionBehavior = 4096
const WindowCollectionBehaviorFullScreenNone WindowCollectionBehavior = 512
const WindowCollectionBehaviorFullScreenPrimary WindowCollectionBehavior = 128
const WindowCollectionBehaviorIgnoresCycle WindowCollectionBehavior = 64
const WindowCollectionBehaviorManaged WindowCollectionBehavior = 4
const WindowCollectionBehaviorMoveToActiveSpace WindowCollectionBehavior = 2
const WindowCollectionBehaviorParticipatesInCycle WindowCollectionBehavior = 32
const WindowCollectionBehaviorStationary WindowCollectionBehavior = 16
const WindowCollectionBehaviorTransient WindowCollectionBehavior = 8

type WindowController

type WindowController struct {
	Responder
}

func MakeWindowController

func MakeWindowController(ptr unsafe.Pointer) WindowController

func NewWindowController

func NewWindowController() WindowController

func (WindowController) Close

func (w_ WindowController) Close()

func (WindowController) ContentViewController

func (w_ WindowController) ContentViewController() ViewController

func (WindowController) DismissController

func (w_ WindowController) DismissController(sender objc.IObject)

func (WindowController) Document

func (w_ WindowController) Document() objc.Object

weak property

func (WindowController) Init added in v0.11.0

func (WindowController) InitWithWindow added in v0.11.0

func (w_ WindowController) InitWithWindow(window IWindow) WindowController

func (WindowController) InitWithWindowNibName added in v0.11.0

func (w_ WindowController) InitWithWindowNibName(windowNibName NibName) WindowController

func (WindowController) InitWithWindowNibName_Owner added in v0.11.0

func (w_ WindowController) InitWithWindowNibName_Owner(windowNibName NibName, owner objc.IObject) WindowController

func (WindowController) InitWithWindowNibPath_Owner added in v0.11.0

func (w_ WindowController) InitWithWindowNibPath_Owner(windowNibPath string, owner objc.IObject) WindowController

func (WindowController) IsWindowLoaded

func (w_ WindowController) IsWindowLoaded() bool

func (WindowController) LoadWindow

func (w_ WindowController) LoadWindow()

func (WindowController) Owner

func (w_ WindowController) Owner() objc.Object

weak property

func (WindowController) SetContentViewController

func (w_ WindowController) SetContentViewController(value IViewController)

func (WindowController) SetDocument

func (w_ WindowController) SetDocument(value objc.IObject)

weak property

func (WindowController) SetDocumentEdited

func (w_ WindowController) SetDocumentEdited(dirtyFlag bool)

func (WindowController) SetShouldCascadeWindows

func (w_ WindowController) SetShouldCascadeWindows(value bool)

func (WindowController) SetShouldCloseDocument

func (w_ WindowController) SetShouldCloseDocument(value bool)

func (WindowController) SetWindow

func (w_ WindowController) SetWindow(value IWindow)

func (WindowController) SetWindowFrameAutosaveName

func (w_ WindowController) SetWindowFrameAutosaveName(value WindowFrameAutosaveName)

func (WindowController) ShouldCascadeWindows

func (w_ WindowController) ShouldCascadeWindows() bool

func (WindowController) ShouldCloseDocument

func (w_ WindowController) ShouldCloseDocument() bool

func (WindowController) ShowWindow

func (w_ WindowController) ShowWindow(sender objc.IObject)

func (WindowController) Storyboard

func (w_ WindowController) Storyboard() Storyboard

func (WindowController) SynchronizeWindowTitleWithDocumentName

func (w_ WindowController) SynchronizeWindowTitleWithDocumentName()

func (WindowController) Window

func (w_ WindowController) Window() Window

func (WindowController) WindowDidLoad

func (w_ WindowController) WindowDidLoad()

func (WindowController) WindowFrameAutosaveName

func (w_ WindowController) WindowFrameAutosaveName() WindowFrameAutosaveName

func (WindowController) WindowNibName

func (w_ WindowController) WindowNibName() NibName

func (WindowController) WindowNibPath

func (w_ WindowController) WindowNibPath() string

func (WindowController) WindowTitleForDocumentDisplayName

func (w_ WindowController) WindowTitleForDocumentDisplayName(displayName string) string

func (WindowController) WindowWillLoad

func (w_ WindowController) WindowWillLoad()

type WindowDelegate

type WindowDelegate interface {
	ImplementsWindow_WillPositionSheet_UsingRect() bool
	// optional
	Window_WillPositionSheet_UsingRect(window Window, sheet Window, rect foundation.Rect) foundation.Rect
	ImplementsWindowWillBeginSheet() bool
	// optional
	WindowWillBeginSheet(notification foundation.Notification)
	ImplementsWindowDidEndSheet() bool
	// optional
	WindowDidEndSheet(notification foundation.Notification)
	ImplementsWindowWillResize_ToSize() bool
	// optional
	WindowWillResize_ToSize(sender Window, frameSize foundation.Size) foundation.Size
	ImplementsWindowDidResize() bool
	// optional
	WindowDidResize(notification foundation.Notification)
	ImplementsWindowWillStartLiveResize() bool
	// optional
	WindowWillStartLiveResize(notification foundation.Notification)
	ImplementsWindowDidEndLiveResize() bool
	// optional
	WindowDidEndLiveResize(notification foundation.Notification)
	ImplementsWindowWillMiniaturize() bool
	// optional
	WindowWillMiniaturize(notification foundation.Notification)
	ImplementsWindowDidMiniaturize() bool
	// optional
	WindowDidMiniaturize(notification foundation.Notification)
	ImplementsWindowDidDeminiaturize() bool
	// optional
	WindowDidDeminiaturize(notification foundation.Notification)
	ImplementsWindowWillUseStandardFrame_DefaultFrame() bool
	// optional
	WindowWillUseStandardFrame_DefaultFrame(window Window, newFrame foundation.Rect) foundation.Rect
	ImplementsWindowShouldZoom_ToFrame() bool
	// optional
	WindowShouldZoom_ToFrame(window Window, newFrame foundation.Rect) bool
	ImplementsWindow_WillUseFullScreenContentSize() bool
	// optional
	Window_WillUseFullScreenContentSize(window Window, proposedSize foundation.Size) foundation.Size
	ImplementsWindow_WillUseFullScreenPresentationOptions() bool
	// optional
	Window_WillUseFullScreenPresentationOptions(window Window, proposedOptions ApplicationPresentationOptions) ApplicationPresentationOptions
	ImplementsWindowWillEnterFullScreen() bool
	// optional
	WindowWillEnterFullScreen(notification foundation.Notification)
	ImplementsWindowDidEnterFullScreen() bool
	// optional
	WindowDidEnterFullScreen(notification foundation.Notification)
	ImplementsWindowWillExitFullScreen() bool
	// optional
	WindowWillExitFullScreen(notification foundation.Notification)
	ImplementsWindowDidExitFullScreen() bool
	// optional
	WindowDidExitFullScreen(notification foundation.Notification)
	ImplementsCustomWindowsToEnterFullScreenForWindow() bool
	// optional
	CustomWindowsToEnterFullScreenForWindow(window Window) []IWindow
	ImplementsCustomWindowsToEnterFullScreenForWindow_OnScreen() bool
	// optional
	CustomWindowsToEnterFullScreenForWindow_OnScreen(window Window, screen Screen) []IWindow
	ImplementsWindow_StartCustomAnimationToEnterFullScreenWithDuration() bool
	// optional
	Window_StartCustomAnimationToEnterFullScreenWithDuration(window Window, duration foundation.TimeInterval)
	ImplementsWindow_StartCustomAnimationToEnterFullScreenOnScreen_WithDuration() bool
	// optional
	Window_StartCustomAnimationToEnterFullScreenOnScreen_WithDuration(window Window, screen Screen, duration foundation.TimeInterval)
	ImplementsWindowDidFailToEnterFullScreen() bool
	// optional
	WindowDidFailToEnterFullScreen(window Window)
	ImplementsCustomWindowsToExitFullScreenForWindow() bool
	// optional
	CustomWindowsToExitFullScreenForWindow(window Window) []IWindow
	ImplementsWindow_StartCustomAnimationToExitFullScreenWithDuration() bool
	// optional
	Window_StartCustomAnimationToExitFullScreenWithDuration(window Window, duration foundation.TimeInterval)
	ImplementsWindowDidFailToExitFullScreen() bool
	// optional
	WindowDidFailToExitFullScreen(window Window)
	ImplementsWindowWillMove() bool
	// optional
	WindowWillMove(notification foundation.Notification)
	ImplementsWindowDidMove() bool
	// optional
	WindowDidMove(notification foundation.Notification)
	ImplementsWindowDidChangeScreen() bool
	// optional
	WindowDidChangeScreen(notification foundation.Notification)
	ImplementsWindowDidChangeScreenProfile() bool
	// optional
	WindowDidChangeScreenProfile(notification foundation.Notification)
	ImplementsWindowDidChangeBackingProperties() bool
	// optional
	WindowDidChangeBackingProperties(notification foundation.Notification)
	ImplementsWindowShouldClose() bool
	// optional
	WindowShouldClose(sender Window) bool
	ImplementsWindowWillClose() bool
	// optional
	WindowWillClose(notification foundation.Notification)
	ImplementsWindowDidBecomeKey() bool
	// optional
	WindowDidBecomeKey(notification foundation.Notification)
	ImplementsWindowDidResignKey() bool
	// optional
	WindowDidResignKey(notification foundation.Notification)
	ImplementsWindowDidBecomeMain() bool
	// optional
	WindowDidBecomeMain(notification foundation.Notification)
	ImplementsWindowDidResignMain() bool
	// optional
	WindowDidResignMain(notification foundation.Notification)
	ImplementsWindowWillReturnFieldEditor_ToObject() bool
	// optional
	WindowWillReturnFieldEditor_ToObject(sender Window, client objc.Object) objc.IObject
	ImplementsWindowDidUpdate() bool
	// optional
	WindowDidUpdate(notification foundation.Notification)
	ImplementsWindowDidExpose() bool
	// optional
	WindowDidExpose(notification foundation.Notification)
	ImplementsWindowDidChangeOcclusionState() bool
	// optional
	WindowDidChangeOcclusionState(notification foundation.Notification)
	ImplementsWindow_ShouldDragDocumentWithEvent_From_WithPasteboard() bool
	// optional
	Window_ShouldDragDocumentWithEvent_From_WithPasteboard(window Window, event Event, dragImageLocation foundation.Point, pasteboard Pasteboard) bool
	ImplementsWindowWillReturnUndoManager() bool
	// optional
	WindowWillReturnUndoManager(window Window) foundation.IUndoManager
	ImplementsWindow_ShouldPopUpDocumentPathMenu() bool
	// optional
	Window_ShouldPopUpDocumentPathMenu(window Window, menu Menu) bool
	ImplementsWindow_WillEncodeRestorableState() bool
	// optional
	Window_WillEncodeRestorableState(window Window, state foundation.Coder)
	ImplementsWindow_DidDecodeRestorableState() bool
	// optional
	Window_DidDecodeRestorableState(window Window, state foundation.Coder)
	ImplementsWindow_WillResizeForVersionBrowserWithMaxPreferredSize_MaxAllowedSize() bool
	// optional
	Window_WillResizeForVersionBrowserWithMaxPreferredSize_MaxAllowedSize(window Window, maxPreferredFrameSize foundation.Size, maxAllowedFrameSize foundation.Size) foundation.Size
	ImplementsWindowWillEnterVersionBrowser() bool
	// optional
	WindowWillEnterVersionBrowser(notification foundation.Notification)
	ImplementsWindowDidEnterVersionBrowser() bool
	// optional
	WindowDidEnterVersionBrowser(notification foundation.Notification)
	ImplementsWindowWillExitVersionBrowser() bool
	// optional
	WindowWillExitVersionBrowser(notification foundation.Notification)
	ImplementsWindowDidExitVersionBrowser() bool
	// optional
	WindowDidExitVersionBrowser(notification foundation.Notification)
}

type WindowDelegateBase added in v0.18.0

type WindowDelegateBase struct {
}

func (*WindowDelegateBase) CustomWindowsToEnterFullScreenForWindow added in v0.18.0

func (p *WindowDelegateBase) CustomWindowsToEnterFullScreenForWindow(window Window) []IWindow

func (*WindowDelegateBase) CustomWindowsToEnterFullScreenForWindow_OnScreen added in v0.18.0

func (p *WindowDelegateBase) CustomWindowsToEnterFullScreenForWindow_OnScreen(window Window, screen Screen) []IWindow

func (*WindowDelegateBase) CustomWindowsToExitFullScreenForWindow added in v0.18.0

func (p *WindowDelegateBase) CustomWindowsToExitFullScreenForWindow(window Window) []IWindow

func (*WindowDelegateBase) ImplementsCustomWindowsToEnterFullScreenForWindow added in v0.18.0

func (p *WindowDelegateBase) ImplementsCustomWindowsToEnterFullScreenForWindow() bool

func (*WindowDelegateBase) ImplementsCustomWindowsToEnterFullScreenForWindow_OnScreen added in v0.18.0

func (p *WindowDelegateBase) ImplementsCustomWindowsToEnterFullScreenForWindow_OnScreen() bool

func (*WindowDelegateBase) ImplementsCustomWindowsToExitFullScreenForWindow added in v0.18.0

func (p *WindowDelegateBase) ImplementsCustomWindowsToExitFullScreenForWindow() bool

func (*WindowDelegateBase) ImplementsWindowDidBecomeKey added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidBecomeKey() bool

func (*WindowDelegateBase) ImplementsWindowDidBecomeMain added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidBecomeMain() bool

func (*WindowDelegateBase) ImplementsWindowDidChangeBackingProperties added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidChangeBackingProperties() bool

func (*WindowDelegateBase) ImplementsWindowDidChangeOcclusionState added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidChangeOcclusionState() bool

func (*WindowDelegateBase) ImplementsWindowDidChangeScreen added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidChangeScreen() bool

func (*WindowDelegateBase) ImplementsWindowDidChangeScreenProfile added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidChangeScreenProfile() bool

func (*WindowDelegateBase) ImplementsWindowDidDeminiaturize added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidDeminiaturize() bool

func (*WindowDelegateBase) ImplementsWindowDidEndLiveResize added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidEndLiveResize() bool

func (*WindowDelegateBase) ImplementsWindowDidEndSheet added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidEndSheet() bool

func (*WindowDelegateBase) ImplementsWindowDidEnterFullScreen added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidEnterFullScreen() bool

func (*WindowDelegateBase) ImplementsWindowDidEnterVersionBrowser added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidEnterVersionBrowser() bool

func (*WindowDelegateBase) ImplementsWindowDidExitFullScreen added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidExitFullScreen() bool

func (*WindowDelegateBase) ImplementsWindowDidExitVersionBrowser added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidExitVersionBrowser() bool

func (*WindowDelegateBase) ImplementsWindowDidExpose added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidExpose() bool

func (*WindowDelegateBase) ImplementsWindowDidFailToEnterFullScreen added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidFailToEnterFullScreen() bool

func (*WindowDelegateBase) ImplementsWindowDidFailToExitFullScreen added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidFailToExitFullScreen() bool

func (*WindowDelegateBase) ImplementsWindowDidMiniaturize added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidMiniaturize() bool

func (*WindowDelegateBase) ImplementsWindowDidMove added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidMove() bool

func (*WindowDelegateBase) ImplementsWindowDidResignKey added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidResignKey() bool

func (*WindowDelegateBase) ImplementsWindowDidResignMain added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidResignMain() bool

func (*WindowDelegateBase) ImplementsWindowDidResize added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidResize() bool

func (*WindowDelegateBase) ImplementsWindowDidUpdate added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowDidUpdate() bool

func (*WindowDelegateBase) ImplementsWindowShouldClose added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowShouldClose() bool

func (*WindowDelegateBase) ImplementsWindowShouldZoom_ToFrame added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowShouldZoom_ToFrame() bool

func (*WindowDelegateBase) ImplementsWindowWillBeginSheet added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowWillBeginSheet() bool

func (*WindowDelegateBase) ImplementsWindowWillClose added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowWillClose() bool

func (*WindowDelegateBase) ImplementsWindowWillEnterFullScreen added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowWillEnterFullScreen() bool

func (*WindowDelegateBase) ImplementsWindowWillEnterVersionBrowser added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowWillEnterVersionBrowser() bool

func (*WindowDelegateBase) ImplementsWindowWillExitFullScreen added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowWillExitFullScreen() bool

func (*WindowDelegateBase) ImplementsWindowWillExitVersionBrowser added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowWillExitVersionBrowser() bool

func (*WindowDelegateBase) ImplementsWindowWillMiniaturize added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowWillMiniaturize() bool

func (*WindowDelegateBase) ImplementsWindowWillMove added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowWillMove() bool

func (*WindowDelegateBase) ImplementsWindowWillResize_ToSize added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowWillResize_ToSize() bool

func (*WindowDelegateBase) ImplementsWindowWillReturnFieldEditor_ToObject added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowWillReturnFieldEditor_ToObject() bool

func (*WindowDelegateBase) ImplementsWindowWillReturnUndoManager added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowWillReturnUndoManager() bool

func (*WindowDelegateBase) ImplementsWindowWillStartLiveResize added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowWillStartLiveResize() bool

func (*WindowDelegateBase) ImplementsWindowWillUseStandardFrame_DefaultFrame added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindowWillUseStandardFrame_DefaultFrame() bool

func (*WindowDelegateBase) ImplementsWindow_DidDecodeRestorableState added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindow_DidDecodeRestorableState() bool

func (*WindowDelegateBase) ImplementsWindow_ShouldDragDocumentWithEvent_From_WithPasteboard added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindow_ShouldDragDocumentWithEvent_From_WithPasteboard() bool

func (*WindowDelegateBase) ImplementsWindow_ShouldPopUpDocumentPathMenu added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindow_ShouldPopUpDocumentPathMenu() bool

func (*WindowDelegateBase) ImplementsWindow_StartCustomAnimationToEnterFullScreenOnScreen_WithDuration added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindow_StartCustomAnimationToEnterFullScreenOnScreen_WithDuration() bool

func (*WindowDelegateBase) ImplementsWindow_StartCustomAnimationToEnterFullScreenWithDuration added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindow_StartCustomAnimationToEnterFullScreenWithDuration() bool

func (*WindowDelegateBase) ImplementsWindow_StartCustomAnimationToExitFullScreenWithDuration added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindow_StartCustomAnimationToExitFullScreenWithDuration() bool

func (*WindowDelegateBase) ImplementsWindow_WillEncodeRestorableState added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindow_WillEncodeRestorableState() bool

func (*WindowDelegateBase) ImplementsWindow_WillPositionSheet_UsingRect added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindow_WillPositionSheet_UsingRect() bool

func (*WindowDelegateBase) ImplementsWindow_WillResizeForVersionBrowserWithMaxPreferredSize_MaxAllowedSize added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindow_WillResizeForVersionBrowserWithMaxPreferredSize_MaxAllowedSize() bool

func (*WindowDelegateBase) ImplementsWindow_WillUseFullScreenContentSize added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindow_WillUseFullScreenContentSize() bool

func (*WindowDelegateBase) ImplementsWindow_WillUseFullScreenPresentationOptions added in v0.18.0

func (p *WindowDelegateBase) ImplementsWindow_WillUseFullScreenPresentationOptions() bool

func (*WindowDelegateBase) WindowDidBecomeKey added in v0.18.0

func (p *WindowDelegateBase) WindowDidBecomeKey(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidBecomeMain added in v0.18.0

func (p *WindowDelegateBase) WindowDidBecomeMain(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidChangeBackingProperties added in v0.18.0

func (p *WindowDelegateBase) WindowDidChangeBackingProperties(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidChangeOcclusionState added in v0.18.0

func (p *WindowDelegateBase) WindowDidChangeOcclusionState(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidChangeScreen added in v0.18.0

func (p *WindowDelegateBase) WindowDidChangeScreen(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidChangeScreenProfile added in v0.18.0

func (p *WindowDelegateBase) WindowDidChangeScreenProfile(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidDeminiaturize added in v0.18.0

func (p *WindowDelegateBase) WindowDidDeminiaturize(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidEndLiveResize added in v0.18.0

func (p *WindowDelegateBase) WindowDidEndLiveResize(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidEndSheet added in v0.18.0

func (p *WindowDelegateBase) WindowDidEndSheet(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidEnterFullScreen added in v0.18.0

func (p *WindowDelegateBase) WindowDidEnterFullScreen(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidEnterVersionBrowser added in v0.18.0

func (p *WindowDelegateBase) WindowDidEnterVersionBrowser(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidExitFullScreen added in v0.18.0

func (p *WindowDelegateBase) WindowDidExitFullScreen(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidExitVersionBrowser added in v0.18.0

func (p *WindowDelegateBase) WindowDidExitVersionBrowser(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidExpose added in v0.18.0

func (p *WindowDelegateBase) WindowDidExpose(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidFailToEnterFullScreen added in v0.18.0

func (p *WindowDelegateBase) WindowDidFailToEnterFullScreen(window Window)

func (*WindowDelegateBase) WindowDidFailToExitFullScreen added in v0.18.0

func (p *WindowDelegateBase) WindowDidFailToExitFullScreen(window Window)

func (*WindowDelegateBase) WindowDidMiniaturize added in v0.18.0

func (p *WindowDelegateBase) WindowDidMiniaturize(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidMove added in v0.18.0

func (p *WindowDelegateBase) WindowDidMove(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidResignKey added in v0.18.0

func (p *WindowDelegateBase) WindowDidResignKey(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidResignMain added in v0.18.0

func (p *WindowDelegateBase) WindowDidResignMain(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidResize added in v0.18.0

func (p *WindowDelegateBase) WindowDidResize(notification foundation.Notification)

func (*WindowDelegateBase) WindowDidUpdate added in v0.18.0

func (p *WindowDelegateBase) WindowDidUpdate(notification foundation.Notification)

func (*WindowDelegateBase) WindowShouldClose added in v0.18.0

func (p *WindowDelegateBase) WindowShouldClose(sender Window) bool

func (*WindowDelegateBase) WindowShouldZoom_ToFrame added in v0.18.0

func (p *WindowDelegateBase) WindowShouldZoom_ToFrame(window Window, newFrame foundation.Rect) bool

func (*WindowDelegateBase) WindowWillBeginSheet added in v0.18.0

func (p *WindowDelegateBase) WindowWillBeginSheet(notification foundation.Notification)

func (*WindowDelegateBase) WindowWillClose added in v0.18.0

func (p *WindowDelegateBase) WindowWillClose(notification foundation.Notification)

func (*WindowDelegateBase) WindowWillEnterFullScreen added in v0.18.0

func (p *WindowDelegateBase) WindowWillEnterFullScreen(notification foundation.Notification)

func (*WindowDelegateBase) WindowWillEnterVersionBrowser added in v0.18.0

func (p *WindowDelegateBase) WindowWillEnterVersionBrowser(notification foundation.Notification)

func (*WindowDelegateBase) WindowWillExitFullScreen added in v0.18.0

func (p *WindowDelegateBase) WindowWillExitFullScreen(notification foundation.Notification)

func (*WindowDelegateBase) WindowWillExitVersionBrowser added in v0.18.0

func (p *WindowDelegateBase) WindowWillExitVersionBrowser(notification foundation.Notification)

func (*WindowDelegateBase) WindowWillMiniaturize added in v0.18.0

func (p *WindowDelegateBase) WindowWillMiniaturize(notification foundation.Notification)

func (*WindowDelegateBase) WindowWillMove added in v0.18.0

func (p *WindowDelegateBase) WindowWillMove(notification foundation.Notification)

func (*WindowDelegateBase) WindowWillResize_ToSize added in v0.18.0

func (p *WindowDelegateBase) WindowWillResize_ToSize(sender Window, frameSize foundation.Size) foundation.Size

func (*WindowDelegateBase) WindowWillReturnFieldEditor_ToObject added in v0.18.0

func (p *WindowDelegateBase) WindowWillReturnFieldEditor_ToObject(sender Window, client objc.Object) objc.IObject

func (*WindowDelegateBase) WindowWillReturnUndoManager added in v0.18.0

func (p *WindowDelegateBase) WindowWillReturnUndoManager(window Window) foundation.IUndoManager

func (*WindowDelegateBase) WindowWillStartLiveResize added in v0.18.0

func (p *WindowDelegateBase) WindowWillStartLiveResize(notification foundation.Notification)

func (*WindowDelegateBase) WindowWillUseStandardFrame_DefaultFrame added in v0.18.0

func (p *WindowDelegateBase) WindowWillUseStandardFrame_DefaultFrame(window Window, newFrame foundation.Rect) foundation.Rect

func (*WindowDelegateBase) Window_DidDecodeRestorableState added in v0.18.0

func (p *WindowDelegateBase) Window_DidDecodeRestorableState(window Window, state foundation.Coder)

func (*WindowDelegateBase) Window_ShouldDragDocumentWithEvent_From_WithPasteboard added in v0.18.0

func (p *WindowDelegateBase) Window_ShouldDragDocumentWithEvent_From_WithPasteboard(window Window, event Event, dragImageLocation foundation.Point, pasteboard Pasteboard) bool

func (*WindowDelegateBase) Window_ShouldPopUpDocumentPathMenu added in v0.18.0

func (p *WindowDelegateBase) Window_ShouldPopUpDocumentPathMenu(window Window, menu Menu) bool

func (*WindowDelegateBase) Window_StartCustomAnimationToEnterFullScreenOnScreen_WithDuration added in v0.18.0

func (p *WindowDelegateBase) Window_StartCustomAnimationToEnterFullScreenOnScreen_WithDuration(window Window, screen Screen, duration foundation.TimeInterval)

func (*WindowDelegateBase) Window_StartCustomAnimationToEnterFullScreenWithDuration added in v0.18.0

func (p *WindowDelegateBase) Window_StartCustomAnimationToEnterFullScreenWithDuration(window Window, duration foundation.TimeInterval)

func (*WindowDelegateBase) Window_StartCustomAnimationToExitFullScreenWithDuration added in v0.18.0

func (p *WindowDelegateBase) Window_StartCustomAnimationToExitFullScreenWithDuration(window Window, duration foundation.TimeInterval)

func (*WindowDelegateBase) Window_WillEncodeRestorableState added in v0.18.0

func (p *WindowDelegateBase) Window_WillEncodeRestorableState(window Window, state foundation.Coder)

func (*WindowDelegateBase) Window_WillPositionSheet_UsingRect added in v0.18.0

func (p *WindowDelegateBase) Window_WillPositionSheet_UsingRect(window Window, sheet Window, rect foundation.Rect) foundation.Rect

func (*WindowDelegateBase) Window_WillResizeForVersionBrowserWithMaxPreferredSize_MaxAllowedSize added in v0.18.0

func (p *WindowDelegateBase) Window_WillResizeForVersionBrowserWithMaxPreferredSize_MaxAllowedSize(window Window, maxPreferredFrameSize foundation.Size, maxAllowedFrameSize foundation.Size) foundation.Size

func (*WindowDelegateBase) Window_WillUseFullScreenContentSize added in v0.18.0

func (p *WindowDelegateBase) Window_WillUseFullScreenContentSize(window Window, proposedSize foundation.Size) foundation.Size

func (*WindowDelegateBase) Window_WillUseFullScreenPresentationOptions added in v0.18.0

func (p *WindowDelegateBase) Window_WillUseFullScreenPresentationOptions(window Window, proposedOptions ApplicationPresentationOptions) ApplicationPresentationOptions

type WindowDelegateCreator added in v0.19.0

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

func NewWindowDelegateCreator added in v0.19.0

func NewWindowDelegateCreator(name string) *WindowDelegateCreator

func (*WindowDelegateCreator) Create added in v0.19.0

func (*WindowDelegateCreator) SetCustomWindowsToEnterFullScreenForWindow added in v0.19.0

func (c *WindowDelegateCreator) SetCustomWindowsToEnterFullScreenForWindow(handle func(o objc.ProtocolBase, window Window) []IWindow)

func (*WindowDelegateCreator) SetCustomWindowsToEnterFullScreenForWindow_OnScreen added in v0.19.0

func (c *WindowDelegateCreator) SetCustomWindowsToEnterFullScreenForWindow_OnScreen(handle func(o objc.ProtocolBase, window Window, screen Screen) []IWindow)

func (*WindowDelegateCreator) SetCustomWindowsToExitFullScreenForWindow added in v0.19.0

func (c *WindowDelegateCreator) SetCustomWindowsToExitFullScreenForWindow(handle func(o objc.ProtocolBase, window Window) []IWindow)

func (*WindowDelegateCreator) SetWindowDidBecomeKey added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidBecomeKey(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidBecomeMain added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidBecomeMain(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidChangeBackingProperties added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidChangeBackingProperties(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidChangeOcclusionState added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidChangeOcclusionState(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidChangeScreen added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidChangeScreen(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidChangeScreenProfile added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidChangeScreenProfile(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidDeminiaturize added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidDeminiaturize(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidEndLiveResize added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidEndLiveResize(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidEndSheet added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidEndSheet(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidEnterFullScreen added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidEnterFullScreen(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidEnterVersionBrowser added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidEnterVersionBrowser(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidExitFullScreen added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidExitFullScreen(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidExitVersionBrowser added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidExitVersionBrowser(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidExpose added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidExpose(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidFailToEnterFullScreen added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidFailToEnterFullScreen(handle func(o objc.ProtocolBase, window Window))

func (*WindowDelegateCreator) SetWindowDidFailToExitFullScreen added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidFailToExitFullScreen(handle func(o objc.ProtocolBase, window Window))

func (*WindowDelegateCreator) SetWindowDidMiniaturize added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidMiniaturize(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidMove added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidMove(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidResignKey added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidResignKey(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidResignMain added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidResignMain(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidResize added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidResize(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowDidUpdate added in v0.19.0

func (c *WindowDelegateCreator) SetWindowDidUpdate(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowShouldClose added in v0.19.0

func (c *WindowDelegateCreator) SetWindowShouldClose(handle func(o objc.ProtocolBase, sender Window) bool)

func (*WindowDelegateCreator) SetWindowShouldZoom_ToFrame added in v0.19.0

func (c *WindowDelegateCreator) SetWindowShouldZoom_ToFrame(handle func(o objc.ProtocolBase, window Window, newFrame foundation.Rect) bool)

func (*WindowDelegateCreator) SetWindowWillBeginSheet added in v0.19.0

func (c *WindowDelegateCreator) SetWindowWillBeginSheet(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowWillClose added in v0.19.0

func (c *WindowDelegateCreator) SetWindowWillClose(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowWillEnterFullScreen added in v0.19.0

func (c *WindowDelegateCreator) SetWindowWillEnterFullScreen(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowWillEnterVersionBrowser added in v0.19.0

func (c *WindowDelegateCreator) SetWindowWillEnterVersionBrowser(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowWillExitFullScreen added in v0.19.0

func (c *WindowDelegateCreator) SetWindowWillExitFullScreen(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowWillExitVersionBrowser added in v0.19.0

func (c *WindowDelegateCreator) SetWindowWillExitVersionBrowser(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowWillMiniaturize added in v0.19.0

func (c *WindowDelegateCreator) SetWindowWillMiniaturize(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowWillMove added in v0.19.0

func (c *WindowDelegateCreator) SetWindowWillMove(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowWillResize_ToSize added in v0.19.0

func (c *WindowDelegateCreator) SetWindowWillResize_ToSize(handle func(o objc.ProtocolBase, sender Window, frameSize foundation.Size) foundation.Size)

func (*WindowDelegateCreator) SetWindowWillReturnFieldEditor_ToObject added in v0.19.0

func (c *WindowDelegateCreator) SetWindowWillReturnFieldEditor_ToObject(handle func(o objc.ProtocolBase, sender Window, client objc.Object) objc.IObject)

func (*WindowDelegateCreator) SetWindowWillReturnUndoManager added in v0.19.0

func (c *WindowDelegateCreator) SetWindowWillReturnUndoManager(handle func(o objc.ProtocolBase, window Window) foundation.IUndoManager)

func (*WindowDelegateCreator) SetWindowWillStartLiveResize added in v0.19.0

func (c *WindowDelegateCreator) SetWindowWillStartLiveResize(handle func(o objc.ProtocolBase, notification foundation.Notification))

func (*WindowDelegateCreator) SetWindowWillUseStandardFrame_DefaultFrame added in v0.19.0

func (c *WindowDelegateCreator) SetWindowWillUseStandardFrame_DefaultFrame(handle func(o objc.ProtocolBase, window Window, newFrame foundation.Rect) foundation.Rect)

func (*WindowDelegateCreator) SetWindow_DidDecodeRestorableState added in v0.19.0

func (c *WindowDelegateCreator) SetWindow_DidDecodeRestorableState(handle func(o objc.ProtocolBase, window Window, state foundation.Coder))

func (*WindowDelegateCreator) SetWindow_ShouldDragDocumentWithEvent_From_WithPasteboard added in v0.19.0

func (c *WindowDelegateCreator) SetWindow_ShouldDragDocumentWithEvent_From_WithPasteboard(handle func(o objc.ProtocolBase, window Window, event Event, dragImageLocation foundation.Point, pasteboard Pasteboard) bool)

func (*WindowDelegateCreator) SetWindow_ShouldPopUpDocumentPathMenu added in v0.19.0

func (c *WindowDelegateCreator) SetWindow_ShouldPopUpDocumentPathMenu(handle func(o objc.ProtocolBase, window Window, menu Menu) bool)

func (*WindowDelegateCreator) SetWindow_StartCustomAnimationToEnterFullScreenOnScreen_WithDuration added in v0.19.0

func (c *WindowDelegateCreator) SetWindow_StartCustomAnimationToEnterFullScreenOnScreen_WithDuration(handle func(o objc.ProtocolBase, window Window, screen Screen, duration foundation.TimeInterval))

func (*WindowDelegateCreator) SetWindow_StartCustomAnimationToEnterFullScreenWithDuration added in v0.19.0

func (c *WindowDelegateCreator) SetWindow_StartCustomAnimationToEnterFullScreenWithDuration(handle func(o objc.ProtocolBase, window Window, duration foundation.TimeInterval))

func (*WindowDelegateCreator) SetWindow_StartCustomAnimationToExitFullScreenWithDuration added in v0.19.0

func (c *WindowDelegateCreator) SetWindow_StartCustomAnimationToExitFullScreenWithDuration(handle func(o objc.ProtocolBase, window Window, duration foundation.TimeInterval))

func (*WindowDelegateCreator) SetWindow_WillEncodeRestorableState added in v0.19.0

func (c *WindowDelegateCreator) SetWindow_WillEncodeRestorableState(handle func(o objc.ProtocolBase, window Window, state foundation.Coder))

func (*WindowDelegateCreator) SetWindow_WillPositionSheet_UsingRect added in v0.19.0

func (c *WindowDelegateCreator) SetWindow_WillPositionSheet_UsingRect(handle func(o objc.ProtocolBase, window Window, sheet Window, rect foundation.Rect) foundation.Rect)

func (*WindowDelegateCreator) SetWindow_WillResizeForVersionBrowserWithMaxPreferredSize_MaxAllowedSize added in v0.19.0

func (c *WindowDelegateCreator) SetWindow_WillResizeForVersionBrowserWithMaxPreferredSize_MaxAllowedSize(handle func(o objc.ProtocolBase, window Window, maxPreferredFrameSize foundation.Size, maxAllowedFrameSize foundation.Size) foundation.Size)

func (*WindowDelegateCreator) SetWindow_WillUseFullScreenContentSize added in v0.19.0

func (c *WindowDelegateCreator) SetWindow_WillUseFullScreenContentSize(handle func(o objc.ProtocolBase, window Window, proposedSize foundation.Size) foundation.Size)

func (*WindowDelegateCreator) SetWindow_WillUseFullScreenPresentationOptions added in v0.19.0

func (c *WindowDelegateCreator) SetWindow_WillUseFullScreenPresentationOptions(handle func(o objc.ProtocolBase, window Window, proposedOptions ApplicationPresentationOptions) ApplicationPresentationOptions)

type WindowDepth

type WindowDepth int32
const WindowDepthOnehundredtwentyeightBitRGB WindowDepth = 544
const WindowDepthSixtyfourBitRGB WindowDepth = 528
const WindowDepthTwentyfourBitRGB WindowDepth = 520

type WindowFrameAutosaveName

type WindowFrameAutosaveName string

type WindowLevel

type WindowLevel int
const FloatingWindowLevel WindowLevel = 3
const MainMenuWindowLevel WindowLevel = 24
const ModalPanelWindowLevel WindowLevel = 8
const NormalWindowLevel WindowLevel = 0
const PopUpMenuWindowLevel WindowLevel = 101
const ScreenSaverWindowLevel WindowLevel = 1000
const StatusWindowLevel WindowLevel = 25
const SubmenuWindowLevel WindowLevel = 3
const TornOffMenuWindowLevel WindowLevel = 3

type WindowListOptions added in v0.12.5

type WindowListOptions int
const WindowListOrderedFrontToBack WindowListOptions = 1

type WindowNumberListOptions

type WindowNumberListOptions uint
const WindowNumberListAllApplications WindowNumberListOptions = 1
const WindowNumberListAllSpaces WindowNumberListOptions = 16

type WindowOcclusionState

type WindowOcclusionState uint
const WindowOcclusionStateVisible WindowOcclusionState = 2

type WindowOrderingMode

type WindowOrderingMode int
const WindowAbove WindowOrderingMode = 1
const WindowBelow WindowOrderingMode = -1
const WindowOut WindowOrderingMode = 0

type WindowPersistableFrameDescriptor

type WindowPersistableFrameDescriptor string

type WindowSharingType

type WindowSharingType uint
const WindowSharingNone WindowSharingType = 0
const WindowSharingReadOnly WindowSharingType = 1
const WindowSharingReadWrite WindowSharingType = 2

type WindowStyleMask

type WindowStyleMask uint
const WindowStyleMaskBorderless WindowStyleMask = 0
const WindowStyleMaskClosable WindowStyleMask = 2
const WindowStyleMaskDocModalWindow WindowStyleMask = 64
const WindowStyleMaskFullScreen WindowStyleMask = 16384
const WindowStyleMaskFullSizeContentView WindowStyleMask = 32768
const WindowStyleMaskHUDWindow WindowStyleMask = 8192
const WindowStyleMaskMiniaturizable WindowStyleMask = 4
const WindowStyleMaskNonactivatingPanel WindowStyleMask = 128
const WindowStyleMaskResizable WindowStyleMask = 8
const WindowStyleMaskTitled WindowStyleMask = 1
const WindowStyleMaskUnifiedTitleAndToolbar WindowStyleMask = 4096
const WindowStyleMaskUtilityWindow WindowStyleMask = 16

type WindowTab

type WindowTab struct {
	objc.Object
}

func MakeWindowTab

func MakeWindowTab(ptr unsafe.Pointer) WindowTab

func NewWindowTab

func NewWindowTab() WindowTab

func (WindowTab) AccessoryView

func (w_ WindowTab) AccessoryView() View

func (WindowTab) AttributedTitle

func (w_ WindowTab) AttributedTitle() foundation.AttributedString

func (WindowTab) Init added in v0.11.0

func (w_ WindowTab) Init() WindowTab

func (WindowTab) SetAccessoryView

func (w_ WindowTab) SetAccessoryView(value IView)

func (WindowTab) SetAttributedTitle

func (w_ WindowTab) SetAttributedTitle(value foundation.IAttributedString)

func (WindowTab) SetTitle

func (w_ WindowTab) SetTitle(value string)

func (WindowTab) SetToolTip

func (w_ WindowTab) SetToolTip(value string)

func (WindowTab) Title

func (w_ WindowTab) Title() string

func (WindowTab) ToolTip

func (w_ WindowTab) ToolTip() string

type WindowTabGroup

type WindowTabGroup struct {
	objc.Object
}

func MakeWindowTabGroup

func MakeWindowTabGroup(ptr unsafe.Pointer) WindowTabGroup

func NewWindowTabGroup

func NewWindowTabGroup() WindowTabGroup

func (WindowTabGroup) AddWindow

func (w_ WindowTabGroup) AddWindow(window IWindow)

func (WindowTabGroup) Identifier

func (w_ WindowTabGroup) Identifier() WindowTabbingIdentifier

func (WindowTabGroup) Init added in v0.11.0

func (w_ WindowTabGroup) Init() WindowTabGroup

func (WindowTabGroup) InsertWindow_AtIndex

func (w_ WindowTabGroup) InsertWindow_AtIndex(window IWindow, index int)

func (WindowTabGroup) IsOverviewVisible

func (w_ WindowTabGroup) IsOverviewVisible() bool

func (WindowTabGroup) IsTabBarVisible

func (w_ WindowTabGroup) IsTabBarVisible() bool

func (WindowTabGroup) RemoveWindow

func (w_ WindowTabGroup) RemoveWindow(window IWindow)

func (WindowTabGroup) SelectedWindow

func (w_ WindowTabGroup) SelectedWindow() Window

weak property

func (WindowTabGroup) SetOverviewVisible

func (w_ WindowTabGroup) SetOverviewVisible(value bool)

func (WindowTabGroup) SetSelectedWindow

func (w_ WindowTabGroup) SetSelectedWindow(value IWindow)

weak property

func (WindowTabGroup) Windows

func (w_ WindowTabGroup) Windows() []Window

type WindowTabbingIdentifier

type WindowTabbingIdentifier string

type WindowTabbingMode

type WindowTabbingMode int
const WindowTabbingModeAutomatic WindowTabbingMode = 0
const WindowTabbingModeDisallowed WindowTabbingMode = 2
const WindowTabbingModePreferred WindowTabbingMode = 1

type WindowTitleVisibility

type WindowTitleVisibility int
const WindowTitleHidden WindowTitleVisibility = 1
const WindowTitleVisible WindowTitleVisibility = 0

type WindowToolbarStyle

type WindowToolbarStyle int
const WindowToolbarStyleAutomatic WindowToolbarStyle = 0
const WindowToolbarStyleExpanded WindowToolbarStyle = 1
const WindowToolbarStylePreference WindowToolbarStyle = 2
const WindowToolbarStyleUnified WindowToolbarStyle = 3
const WindowToolbarStyleUnifiedCompact WindowToolbarStyle = 4

type WindowUserTabbingPreference

type WindowUserTabbingPreference int
const WindowUserTabbingPreferenceAlways WindowUserTabbingPreference = 1
const WindowUserTabbingPreferenceInFullScreen WindowUserTabbingPreference = 2
const WindowUserTabbingPreferenceManual WindowUserTabbingPreference = 0

type Workspace added in v0.9.4

type Workspace struct {
	objc.Object
}

func MakeWorkspace added in v0.9.4

func MakeWorkspace(ptr unsafe.Pointer) Workspace

func NewWorkspace added in v0.9.4

func NewWorkspace() Workspace

func (Workspace) AbsolutePathForAppBundleWithIdentifier added in v0.14.5

func (w_ Workspace) AbsolutePathForAppBundleWithIdentifier(bundleIdentifier string) string

deprecated

func (Workspace) AccessibilityDisplayShouldDifferentiateWithoutColor added in v0.9.4

func (w_ Workspace) AccessibilityDisplayShouldDifferentiateWithoutColor() bool

func (Workspace) AccessibilityDisplayShouldIncreaseContrast added in v0.9.4

func (w_ Workspace) AccessibilityDisplayShouldIncreaseContrast() bool

func (Workspace) AccessibilityDisplayShouldInvertColors added in v0.9.4

func (w_ Workspace) AccessibilityDisplayShouldInvertColors() bool

func (Workspace) AccessibilityDisplayShouldReduceMotion added in v0.9.4

func (w_ Workspace) AccessibilityDisplayShouldReduceMotion() bool

func (Workspace) AccessibilityDisplayShouldReduceTransparency added in v0.9.4

func (w_ Workspace) AccessibilityDisplayShouldReduceTransparency() bool

func (Workspace) ActivateFileViewerSelectingURLs added in v0.9.4

func (w_ Workspace) ActivateFileViewerSelectingURLs(fileURLs []foundation.IURL)

func (Workspace) CheckForRemovableMedia added in v0.14.5

func (w_ Workspace) CheckForRemovableMedia()

deprecated

func (Workspace) DesktopImageOptionsForScreen added in v0.9.4

func (w_ Workspace) DesktopImageOptionsForScreen(screen IScreen) map[WorkspaceDesktopImageOptionKey]objc.Object

func (Workspace) DesktopImageURLForScreen added in v0.9.4

func (w_ Workspace) DesktopImageURLForScreen(screen IScreen) foundation.URL

func (Workspace) ExtendPowerOffBy added in v0.9.4

func (w_ Workspace) ExtendPowerOffBy(requested int) int

func (Workspace) FileLabelColors added in v0.9.4

func (w_ Workspace) FileLabelColors() []Color

func (Workspace) FileLabels added in v0.9.4

func (w_ Workspace) FileLabels() []string

func (Workspace) FileSystemChanged added in v0.14.5

func (w_ Workspace) FileSystemChanged() bool

deprecated

func (Workspace) FilenameExtension_IsValidForType added in v0.14.5

func (w_ Workspace) FilenameExtension_IsValidForType(filenameExtension string, typeName string) bool

deprecated

func (Workspace) FindApplications added in v0.14.5

func (w_ Workspace) FindApplications()

deprecated

func (Workspace) FrontmostApplication added in v0.9.4

func (w_ Workspace) FrontmostApplication() RunningApplication

func (Workspace) FullPathForApplication added in v0.14.5

func (w_ Workspace) FullPathForApplication(appName string) string

deprecated

func (Workspace) GetFileSystemInfoForPath_IsRemovable_IsWritable_IsUnmountable_Description_Type added in v0.13.6

func (w_ Workspace) GetFileSystemInfoForPath_IsRemovable_IsWritable_IsUnmountable_Description_Type(fullPath string, removableFlag *bool, writableFlag *bool, unmountableFlag *bool, description *foundation.String, fileSystemType *foundation.String) bool

func (Workspace) GetInfoForFile_Application_Type added in v0.14.5

func (w_ Workspace) GetInfoForFile_Application_Type(fullPath string, appName *foundation.String, type_ *foundation.String) bool

deprecated

func (Workspace) HideOtherApplications added in v0.9.4

func (w_ Workspace) HideOtherApplications()

func (Workspace) IconForContentType added in v0.9.4

func (w_ Workspace) IconForContentType(contentType uniformtypeidentifiers.IType) Image

func (Workspace) IconForFile added in v0.9.4

func (w_ Workspace) IconForFile(fullPath string) Image

func (Workspace) IconForFileType added in v0.14.5

func (w_ Workspace) IconForFileType(fileType string) Image

deprecated

func (Workspace) IconForFiles added in v0.9.4

func (w_ Workspace) IconForFiles(fullPaths []string) Image

func (Workspace) Init added in v0.11.0

func (w_ Workspace) Init() Workspace

func (Workspace) IsFilePackageAtPath added in v0.9.4

func (w_ Workspace) IsFilePackageAtPath(fullPath string) bool

func (Workspace) IsSwitchControlEnabled added in v0.9.4

func (w_ Workspace) IsSwitchControlEnabled() bool

func (Workspace) IsVoiceOverEnabled added in v0.9.4

func (w_ Workspace) IsVoiceOverEnabled() bool

func (Workspace) LaunchAppWithBundleIdentifier_Options_AdditionalEventParamDescriptor_LaunchIdentifier added in v0.14.5

func (w_ Workspace) LaunchAppWithBundleIdentifier_Options_AdditionalEventParamDescriptor_LaunchIdentifier(bundleIdentifier string, options WorkspaceLaunchOptions, descriptor foundation.IAppleEventDescriptor, identifier *foundation.Number) bool

deprecated

func (Workspace) LaunchApplication added in v0.14.5

func (w_ Workspace) LaunchApplication(appName string) bool

deprecated

func (Workspace) LaunchApplicationAtURL_Options_Configuration_Error added in v0.14.5

func (w_ Workspace) LaunchApplicationAtURL_Options_Configuration_Error(url foundation.IURL, options WorkspaceLaunchOptions, configuration map[WorkspaceLaunchConfigurationKey]objc.IObject, error *foundation.Error) RunningApplication

deprecated

func (Workspace) LaunchApplication_ShowIcon_Autolaunch added in v0.14.5

func (w_ Workspace) LaunchApplication_ShowIcon_Autolaunch(appName string, showIcon bool, autolaunch bool) bool

deprecated

func (Workspace) LaunchedApplications added in v0.14.5

func (w_ Workspace) LaunchedApplications() []objc.Object

deprecated

func (Workspace) LocalizedDescriptionForType added in v0.14.5

func (w_ Workspace) LocalizedDescriptionForType(typeName string) string

deprecated

func (Workspace) MenuBarOwningApplication added in v0.9.4

func (w_ Workspace) MenuBarOwningApplication() RunningApplication

func (Workspace) MountNewRemovableMedia added in v0.14.5

func (w_ Workspace) MountNewRemovableMedia() []objc.Object

deprecated

func (Workspace) MountedLocalVolumePaths added in v0.14.5

func (w_ Workspace) MountedLocalVolumePaths() []objc.Object

deprecated

func (Workspace) MountedRemovableMedia added in v0.14.5

func (w_ Workspace) MountedRemovableMedia() []objc.Object

deprecated

func (Workspace) NoteFileSystemChanged added in v0.9.4

func (w_ Workspace) NoteFileSystemChanged()

deprecated

func (Workspace) NoteFileSystemChanged1 added in v0.16.0

func (w_ Workspace) NoteFileSystemChanged1(path string)

func (Workspace) NoteUserDefaultsChanged added in v0.14.5

func (w_ Workspace) NoteUserDefaultsChanged()

deprecated

func (Workspace) NotificationCenter added in v0.9.4

func (w_ Workspace) NotificationCenter() foundation.NotificationCenter

func (Workspace) OpenFile added in v0.14.5

func (w_ Workspace) OpenFile(fullPath string) bool

deprecated

func (Workspace) OpenFile_FromImage_At_InView added in v0.14.5

func (w_ Workspace) OpenFile_FromImage_At_InView(fullPath string, image IImage, point foundation.Point, view IView) bool

deprecated

func (Workspace) OpenFile_WithApplication added in v0.14.5

func (w_ Workspace) OpenFile_WithApplication(fullPath string, appName string) bool

deprecated

func (Workspace) OpenFile_WithApplication_AndDeactivate added in v0.14.5

func (w_ Workspace) OpenFile_WithApplication_AndDeactivate(fullPath string, appName string, flag bool) bool

deprecated

func (Workspace) OpenTempFile added in v0.14.5

func (w_ Workspace) OpenTempFile(fullPath string) bool

deprecated

func (Workspace) OpenURL added in v0.9.4

func (w_ Workspace) OpenURL(url foundation.IURL) bool

func (Workspace) OpenURL_Options_Configuration_Error added in v0.14.5

func (w_ Workspace) OpenURL_Options_Configuration_Error(url foundation.IURL, options WorkspaceLaunchOptions, configuration map[WorkspaceLaunchConfigurationKey]objc.IObject, error *foundation.Error) RunningApplication

deprecated

func (Workspace) OpenURLs_WithAppBundleIdentifier_Options_AdditionalEventParamDescriptor_LaunchIdentifiers added in v0.14.5

func (w_ Workspace) OpenURLs_WithAppBundleIdentifier_Options_AdditionalEventParamDescriptor_LaunchIdentifiers(urls []foundation.IURL, bundleIdentifier string, options WorkspaceLaunchOptions, descriptor foundation.IAppleEventDescriptor, identifiers *foundation.Array) bool

deprecated

func (Workspace) OpenURLs_WithApplicationAtURL_Options_Configuration_Error added in v0.14.5

func (w_ Workspace) OpenURLs_WithApplicationAtURL_Options_Configuration_Error(urls []foundation.IURL, applicationURL foundation.IURL, options WorkspaceLaunchOptions, configuration map[WorkspaceLaunchConfigurationKey]objc.IObject, error *foundation.Error) RunningApplication

deprecated

func (Workspace) PerformFileOperation_Source_Destination_Files_Tag added in v0.14.5

func (w_ Workspace) PerformFileOperation_Source_Destination_Files_Tag(operation WorkspaceFileOperationName, source string, destination string, files []objc.IObject, tag *int) bool

deprecated

func (Workspace) PreferredFilenameExtensionForType added in v0.14.5

func (w_ Workspace) PreferredFilenameExtensionForType(typeName string) string

deprecated

func (Workspace) RunningApplications added in v0.9.4

func (w_ Workspace) RunningApplications() []RunningApplication

func (Workspace) SelectFile_InFileViewerRootedAtPath added in v0.9.4

func (w_ Workspace) SelectFile_InFileViewerRootedAtPath(fullPath string, rootFullPath string) bool

func (Workspace) SetDefaultApplicationAtURL_ToOpenContentTypeOfFileAtURL_CompletionHandler added in v0.13.3

func (w_ Workspace) SetDefaultApplicationAtURL_ToOpenContentTypeOfFileAtURL_CompletionHandler(applicationURL foundation.IURL, url foundation.IURL, completionHandler func(error foundation.Error))

func (Workspace) SetDefaultApplicationAtURL_ToOpenContentType_CompletionHandler added in v0.13.3

func (w_ Workspace) SetDefaultApplicationAtURL_ToOpenContentType_CompletionHandler(applicationURL foundation.IURL, contentType uniformtypeidentifiers.IType, completionHandler func(error foundation.Error))

func (Workspace) SetDefaultApplicationAtURL_ToOpenFileAtURL_CompletionHandler added in v0.13.3

func (w_ Workspace) SetDefaultApplicationAtURL_ToOpenFileAtURL_CompletionHandler(applicationURL foundation.IURL, url foundation.IURL, completionHandler func(error foundation.Error))

func (Workspace) SetDefaultApplicationAtURL_ToOpenURLsWithScheme_CompletionHandler added in v0.13.3

func (w_ Workspace) SetDefaultApplicationAtURL_ToOpenURLsWithScheme_CompletionHandler(applicationURL foundation.IURL, urlScheme string, completionHandler func(error foundation.Error))

func (Workspace) SetDesktopImageURL_ForScreen_Options_Error added in v0.13.3

func (w_ Workspace) SetDesktopImageURL_ForScreen_Options_Error(url foundation.IURL, screen IScreen, options map[WorkspaceDesktopImageOptionKey]objc.IObject, error *foundation.Error) bool

func (Workspace) SetIcon_ForFile_Options added in v0.9.4

func (w_ Workspace) SetIcon_ForFile_Options(image IImage, fullPath string, options WorkspaceIconCreationOptions) bool

func (Workspace) ShowSearchResultsForQueryString added in v0.9.4

func (w_ Workspace) ShowSearchResultsForQueryString(queryString string) bool

func (Workspace) SlideImage_From_To added in v0.14.5

func (w_ Workspace) SlideImage_From_To(image IImage, fromPoint foundation.Point, toPoint foundation.Point)

deprecated

func (Workspace) TypeOfFile_Error added in v0.14.5

func (w_ Workspace) TypeOfFile_Error(absoluteFilePath string, outError *foundation.Error) string

deprecated

func (Workspace) Type_ConformsToType added in v0.14.5

func (w_ Workspace) Type_ConformsToType(firstTypeName string, secondTypeName string) bool

deprecated

func (Workspace) URLForApplicationToOpenContentType added in v0.9.4

func (w_ Workspace) URLForApplicationToOpenContentType(contentType uniformtypeidentifiers.IType) foundation.URL

func (Workspace) URLForApplicationToOpenURL added in v0.9.4

func (w_ Workspace) URLForApplicationToOpenURL(url foundation.IURL) foundation.URL

func (Workspace) URLForApplicationWithBundleIdentifier added in v0.9.4

func (w_ Workspace) URLForApplicationWithBundleIdentifier(bundleIdentifier string) foundation.URL

func (Workspace) URLsForApplicationsToOpenContentType added in v0.9.4

func (w_ Workspace) URLsForApplicationsToOpenContentType(contentType uniformtypeidentifiers.IType) []foundation.URL

func (Workspace) URLsForApplicationsToOpenURL added in v0.9.4

func (w_ Workspace) URLsForApplicationsToOpenURL(url foundation.IURL) []foundation.URL

func (Workspace) URLsForApplicationsWithBundleIdentifier added in v0.9.4

func (w_ Workspace) URLsForApplicationsWithBundleIdentifier(bundleIdentifier string) []foundation.URL

func (Workspace) UnmountAndEjectDeviceAtPath added in v0.9.4

func (w_ Workspace) UnmountAndEjectDeviceAtPath(path string) bool

func (Workspace) UnmountAndEjectDeviceAtURL_Error added in v0.13.3

func (w_ Workspace) UnmountAndEjectDeviceAtURL_Error(url foundation.IURL, error *foundation.Error) bool

func (Workspace) UserDefaultsChanged added in v0.14.5

func (w_ Workspace) UserDefaultsChanged() bool

deprecated

type WorkspaceAuthorizationType added in v0.12.5

type WorkspaceAuthorizationType int
const WorkspaceAuthorizationTypeCreateSymbolicLink WorkspaceAuthorizationType = 0
const WorkspaceAuthorizationTypeReplaceFile WorkspaceAuthorizationType = 2
const WorkspaceAuthorizationTypeSetAttributes WorkspaceAuthorizationType = 1

type WorkspaceDesktopImageOptionKey added in v0.9.4

type WorkspaceDesktopImageOptionKey string
const WorkspaceDesktopImageAllowClippingKey WorkspaceDesktopImageOptionKey = "NSWorkspaceDesktopImageAllowClippingKey"
const WorkspaceDesktopImageFillColorKey WorkspaceDesktopImageOptionKey = "NSWorkspaceDesktopImageFillColorKey"
const WorkspaceDesktopImageScalingKey WorkspaceDesktopImageOptionKey = "NSWorkspaceDesktopImageScalingKey"

type WorkspaceFileOperationName added in v0.14.5

type WorkspaceFileOperationName string

type WorkspaceIconCreationOptions added in v0.9.4

type WorkspaceIconCreationOptions uint
const Exclude10_4ElementsIconCreationOption WorkspaceIconCreationOptions = 4
const ExcludeQuickDrawElementsIconCreationOption WorkspaceIconCreationOptions = 2

type WorkspaceLaunchConfigurationKey added in v0.14.5

type WorkspaceLaunchConfigurationKey string

type WorkspaceLaunchOptions added in v0.14.5

type WorkspaceLaunchOptions uint

type WritingDirection

type WritingDirection int
const WritingDirectionLeftToRight WritingDirection = 0
const WritingDirectionNatural WritingDirection = -1
const WritingDirectionRightToLeft WritingDirection = 1

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL