imagekit

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package imagekit provides a fluent Go API over the macOS ImageKit framework.

Construction

New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.

Lifecycle

A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.

Main-thread requirements

Methods, setters, and constructors of classes Apple isolates to the main thread run there automatically; callers never need to arrange main-thread dispatch for the generated API.

Delegates

A …Delegate interface is implemented by a plain Go value and installed with the matching With… setter; the package builds the Objective-C delegate object behind the scenes. Optional protocol methods are separate one-method …Handler interfaces — implement the ones you need on the same value and the framework calls them too.

Index

Constants

View Source
const (
	CellsStyleNone       = 0
	CellsStyleOutlined   = 2
	CellsStyleShadowed   = 1
	CellsStyleSubtitled  = 8
	CellsStyleTitled     = 4
	GroupBezelStyle      = 0
	GroupDisclosureStyle = 1
)

Variables

This section is empty.

Functions

func CanExportToApplication added in v0.17.0

func CanExportToApplication(applicationBundleIdentifier string) bool

CanExportToApplication is exporting to a given application possible (application installed?, right version?, ...).

func ExportSlideshowItemToApplication added in v0.17.0

func ExportSlideshowItemToApplication(item obj.Object, applicationBundleIdentifier string)

ExportSlideshowItemToApplication export an item to the given application. The item can be either: NSImage, NSString, NSURL, or a NSArray of NSImage / NSString / NSURL.

func FilterBrowserPanelWithStyleMask added in v0.17.0

func FilterBrowserPanelWithStyleMask(styleMask int) obj.Object

FilterBrowserPanelWithStyleMask create a shared instance of the IKFilterBrowser Use this method to create a shared instance of the IKFilterBrowser with a specific NSWindow style. Right now it only supports selecting of deselecting the NSTexturedBackgroundWindowMask style bit.

func IKFilterBrowserDefaultInputImage

func IKFilterBrowserDefaultInputImage() obj.Object

IKFilterBrowserDefaultInputImage returns the string constant IKFilterBrowserDefaultInputImage, for use as a dictionary key or argument.

func IKFilterBrowserExcludeCategories

func IKFilterBrowserExcludeCategories() obj.Object

IKFilterBrowserExcludeCategories returns the string constant IKFilterBrowserExcludeCategories, for use as a dictionary key or argument.

func IKFilterBrowserExcludeFilters

func IKFilterBrowserExcludeFilters() obj.Object

IKFilterBrowserExcludeFilters returns the string constant IKFilterBrowserExcludeFilters, for use as a dictionary key or argument.

func IKFilterBrowserFilterDoubleClickNotification

func IKFilterBrowserFilterDoubleClickNotification() obj.Object

IKFilterBrowserFilterDoubleClickNotification returns the string constant IKFilterBrowserFilterDoubleClickNotification, for use as a dictionary key or argument.

func IKFilterBrowserFilterSelectedNotification

func IKFilterBrowserFilterSelectedNotification() obj.Object

IKFilterBrowserFilterSelectedNotification returns the string constant IKFilterBrowserFilterSelectedNotification, for use as a dictionary key or argument.

func IKFilterBrowserShowCategories

func IKFilterBrowserShowCategories() obj.Object

IKFilterBrowserShowCategories returns the string constant IKFilterBrowserShowCategories, for use as a dictionary key or argument.

func IKFilterBrowserShowPreview

func IKFilterBrowserShowPreview() obj.Object

IKFilterBrowserShowPreview returns the string constant IKFilterBrowserShowPreview, for use as a dictionary key or argument.

func IKFilterBrowserWillPreviewFilterNotification

func IKFilterBrowserWillPreviewFilterNotification() obj.Object

IKFilterBrowserWillPreviewFilterNotification returns the string constant IKFilterBrowserWillPreviewFilterNotification, for use as a dictionary key or argument.

func IKImageBrowserBackgroundColorKey

func IKImageBrowserBackgroundColorKey() obj.Object

IKImageBrowserBackgroundColorKey returns the string constant IKImageBrowserBackgroundColorKey, for use as a dictionary key or argument.

func IKImageBrowserCGImageRepresentationType

func IKImageBrowserCGImageRepresentationType() obj.Object

IKImageBrowserCGImageRepresentationType returns the string constant IKImageBrowserCGImageRepresentationType, for use as a dictionary key or argument.

func IKImageBrowserCGImageSourceRepresentationType

func IKImageBrowserCGImageSourceRepresentationType() obj.Object

IKImageBrowserCGImageSourceRepresentationType returns the string constant IKImageBrowserCGImageSourceRepresentationType, for use as a dictionary key or argument.

func IKImageBrowserCellBackgroundLayer

func IKImageBrowserCellBackgroundLayer() obj.Object

IKImageBrowserCellBackgroundLayer returns the string constant IKImageBrowserCellBackgroundLayer, for use as a dictionary key or argument.

func IKImageBrowserCellForegroundLayer

func IKImageBrowserCellForegroundLayer() obj.Object

IKImageBrowserCellForegroundLayer returns the string constant IKImageBrowserCellForegroundLayer, for use as a dictionary key or argument.

func IKImageBrowserCellPlaceHolderLayer

func IKImageBrowserCellPlaceHolderLayer() obj.Object

IKImageBrowserCellPlaceHolderLayer returns the string constant IKImageBrowserCellPlaceHolderLayer, for use as a dictionary key or argument.

func IKImageBrowserCellSelectionLayer

func IKImageBrowserCellSelectionLayer() obj.Object

IKImageBrowserCellSelectionLayer returns the string constant IKImageBrowserCellSelectionLayer, for use as a dictionary key or argument.

func IKImageBrowserCellsHighlightedTitleAttributesKey

func IKImageBrowserCellsHighlightedTitleAttributesKey() obj.Object

IKImageBrowserCellsHighlightedTitleAttributesKey returns the string constant IKImageBrowserCellsHighlightedTitleAttributesKey, for use as a dictionary key or argument.

func IKImageBrowserCellsOutlineColorKey

func IKImageBrowserCellsOutlineColorKey() obj.Object

IKImageBrowserCellsOutlineColorKey returns the string constant IKImageBrowserCellsOutlineColorKey, for use as a dictionary key or argument.

func IKImageBrowserCellsSubtitleAttributesKey

func IKImageBrowserCellsSubtitleAttributesKey() obj.Object

IKImageBrowserCellsSubtitleAttributesKey returns the string constant IKImageBrowserCellsSubtitleAttributesKey, for use as a dictionary key or argument.

func IKImageBrowserCellsTitleAttributesKey

func IKImageBrowserCellsTitleAttributesKey() obj.Object

IKImageBrowserCellsTitleAttributesKey returns the string constant IKImageBrowserCellsTitleAttributesKey, for use as a dictionary key or argument.

func IKImageBrowserGroupBackgroundColorKey

func IKImageBrowserGroupBackgroundColorKey() obj.Object

IKImageBrowserGroupBackgroundColorKey returns the string constant IKImageBrowserGroupBackgroundColorKey, for use as a dictionary key or argument.

func IKImageBrowserGroupFooterLayer

func IKImageBrowserGroupFooterLayer() obj.Object

IKImageBrowserGroupFooterLayer returns the string constant IKImageBrowserGroupFooterLayer, for use as a dictionary key or argument.

func IKImageBrowserGroupHeaderLayer

func IKImageBrowserGroupHeaderLayer() obj.Object

IKImageBrowserGroupHeaderLayer returns the string constant IKImageBrowserGroupHeaderLayer, for use as a dictionary key or argument.

func IKImageBrowserGroupRangeKey

func IKImageBrowserGroupRangeKey() obj.Object

IKImageBrowserGroupRangeKey returns the string constant IKImageBrowserGroupRangeKey, for use as a dictionary key or argument.

func IKImageBrowserGroupStyleKey

func IKImageBrowserGroupStyleKey() obj.Object

IKImageBrowserGroupStyleKey returns the string constant IKImageBrowserGroupStyleKey, for use as a dictionary key or argument.

func IKImageBrowserGroupTitleKey

func IKImageBrowserGroupTitleKey() obj.Object

IKImageBrowserGroupTitleKey returns the string constant IKImageBrowserGroupTitleKey, for use as a dictionary key or argument.

func IKImageBrowserIconRefPathRepresentationType

func IKImageBrowserIconRefPathRepresentationType() obj.Object

IKImageBrowserIconRefPathRepresentationType returns the string constant IKImageBrowserIconRefPathRepresentationType, for use as a dictionary key or argument.

func IKImageBrowserIconRefRepresentationType

func IKImageBrowserIconRefRepresentationType() obj.Object

IKImageBrowserIconRefRepresentationType returns the string constant IKImageBrowserIconRefRepresentationType, for use as a dictionary key or argument.

func IKImageBrowserNSBitmapImageRepresentationType

func IKImageBrowserNSBitmapImageRepresentationType() obj.Object

IKImageBrowserNSBitmapImageRepresentationType returns the string constant IKImageBrowserNSBitmapImageRepresentationType, for use as a dictionary key or argument.

func IKImageBrowserNSDataRepresentationType

func IKImageBrowserNSDataRepresentationType() obj.Object

IKImageBrowserNSDataRepresentationType returns the string constant IKImageBrowserNSDataRepresentationType, for use as a dictionary key or argument.

func IKImageBrowserNSImageRepresentationType

func IKImageBrowserNSImageRepresentationType() obj.Object

IKImageBrowserNSImageRepresentationType returns the string constant IKImageBrowserNSImageRepresentationType, for use as a dictionary key or argument.

func IKImageBrowserNSURLRepresentationType

func IKImageBrowserNSURLRepresentationType() obj.Object

IKImageBrowserNSURLRepresentationType returns the string constant IKImageBrowserNSURLRepresentationType, for use as a dictionary key or argument.

func IKImageBrowserPDFPageRepresentationType

func IKImageBrowserPDFPageRepresentationType() obj.Object

IKImageBrowserPDFPageRepresentationType returns the string constant IKImageBrowserPDFPageRepresentationType, for use as a dictionary key or argument.

func IKImageBrowserPathRepresentationType

func IKImageBrowserPathRepresentationType() obj.Object

IKImageBrowserPathRepresentationType returns the string constant IKImageBrowserPathRepresentationType, for use as a dictionary key or argument.

func IKImageBrowserQCCompositionPathRepresentationType

func IKImageBrowserQCCompositionPathRepresentationType() obj.Object

IKImageBrowserQCCompositionPathRepresentationType returns the string constant IKImageBrowserQCCompositionPathRepresentationType, for use as a dictionary key or argument.

func IKImageBrowserQCCompositionRepresentationType

func IKImageBrowserQCCompositionRepresentationType() obj.Object

IKImageBrowserQCCompositionRepresentationType returns the string constant IKImageBrowserQCCompositionRepresentationType, for use as a dictionary key or argument.

func IKImageBrowserQTMoviePathRepresentationType

func IKImageBrowserQTMoviePathRepresentationType() obj.Object

IKImageBrowserQTMoviePathRepresentationType returns the string constant IKImageBrowserQTMoviePathRepresentationType, for use as a dictionary key or argument.

func IKImageBrowserQTMovieRepresentationType

func IKImageBrowserQTMovieRepresentationType() obj.Object

IKImageBrowserQTMovieRepresentationType returns the string constant IKImageBrowserQTMovieRepresentationType, for use as a dictionary key or argument.

func IKImageBrowserQuickLookPathRepresentationType

func IKImageBrowserQuickLookPathRepresentationType() obj.Object

IKImageBrowserQuickLookPathRepresentationType returns the string constant IKImageBrowserQuickLookPathRepresentationType, for use as a dictionary key or argument.

func IKImageBrowserSelectionColorKey

func IKImageBrowserSelectionColorKey() obj.Object

IKImageBrowserSelectionColorKey returns the string constant IKImageBrowserSelectionColorKey, for use as a dictionary key or argument.

func IKOverlayTypeBackground

func IKOverlayTypeBackground() obj.Object

IKOverlayTypeBackground returns the string constant IKOverlayTypeBackground, for use as a dictionary key or argument.

func IKOverlayTypeImage

func IKOverlayTypeImage() obj.Object

IKOverlayTypeImage returns the string constant IKOverlayTypeImage, for use as a dictionary key or argument.

func IKPictureTakerAllowsEditingKey

func IKPictureTakerAllowsEditingKey() obj.Object

IKPictureTakerAllowsEditingKey returns the string constant IKPictureTakerAllowsEditingKey, for use as a dictionary key or argument.

func IKPictureTakerAllowsFileChoosingKey

func IKPictureTakerAllowsFileChoosingKey() obj.Object

IKPictureTakerAllowsFileChoosingKey returns the string constant IKPictureTakerAllowsFileChoosingKey, for use as a dictionary key or argument.

func IKPictureTakerAllowsVideoCaptureKey

func IKPictureTakerAllowsVideoCaptureKey() obj.Object

IKPictureTakerAllowsVideoCaptureKey returns the string constant IKPictureTakerAllowsVideoCaptureKey, for use as a dictionary key or argument.

func IKPictureTakerCropAreaSizeKey

func IKPictureTakerCropAreaSizeKey() obj.Object

IKPictureTakerCropAreaSizeKey returns the string constant IKPictureTakerCropAreaSizeKey, for use as a dictionary key or argument.

func IKPictureTakerImageTransformsKey

func IKPictureTakerImageTransformsKey() obj.Object

IKPictureTakerImageTransformsKey returns the string constant IKPictureTakerImageTransformsKey, for use as a dictionary key or argument.

func IKPictureTakerInformationalTextKey

func IKPictureTakerInformationalTextKey() obj.Object

IKPictureTakerInformationalTextKey returns the string constant IKPictureTakerInformationalTextKey, for use as a dictionary key or argument.

func IKPictureTakerOutputImageMaxSizeKey

func IKPictureTakerOutputImageMaxSizeKey() obj.Object

IKPictureTakerOutputImageMaxSizeKey returns the string constant IKPictureTakerOutputImageMaxSizeKey, for use as a dictionary key or argument.

func IKPictureTakerRemainOpenAfterValidateKey

func IKPictureTakerRemainOpenAfterValidateKey() obj.Object

IKPictureTakerRemainOpenAfterValidateKey returns the string constant IKPictureTakerRemainOpenAfterValidateKey, for use as a dictionary key or argument.

func IKPictureTakerShowAddressBookPicture

func IKPictureTakerShowAddressBookPicture() obj.Object

IKPictureTakerShowAddressBookPicture returns the string constant IKPictureTakerShowAddressBookPicture, for use as a dictionary key or argument.

func IKPictureTakerShowAddressBookPictureKey

func IKPictureTakerShowAddressBookPictureKey() obj.Object

IKPictureTakerShowAddressBookPictureKey returns the string constant IKPictureTakerShowAddressBookPictureKey, for use as a dictionary key or argument.

func IKPictureTakerShowEffectsKey

func IKPictureTakerShowEffectsKey() obj.Object

IKPictureTakerShowEffectsKey returns the string constant IKPictureTakerShowEffectsKey, for use as a dictionary key or argument.

func IKPictureTakerShowEmptyPicture

func IKPictureTakerShowEmptyPicture() obj.Object

IKPictureTakerShowEmptyPicture returns the string constant IKPictureTakerShowEmptyPicture, for use as a dictionary key or argument.

func IKPictureTakerShowEmptyPictureKey

func IKPictureTakerShowEmptyPictureKey() obj.Object

IKPictureTakerShowEmptyPictureKey returns the string constant IKPictureTakerShowEmptyPictureKey, for use as a dictionary key or argument.

func IKPictureTakerShowRecentPictureKey

func IKPictureTakerShowRecentPictureKey() obj.Object

IKPictureTakerShowRecentPictureKey returns the string constant IKPictureTakerShowRecentPictureKey, for use as a dictionary key or argument.

func IKPictureTakerUpdateRecentPictureKey

func IKPictureTakerUpdateRecentPictureKey() obj.Object

IKPictureTakerUpdateRecentPictureKey returns the string constant IKPictureTakerUpdateRecentPictureKey, for use as a dictionary key or argument.

func IKSlideshowAudioFile

func IKSlideshowAudioFile() obj.Object

IKSlideshowAudioFile returns the string constant IKSlideshowAudioFile, for use as a dictionary key or argument.

func IKSlideshowModeImages

func IKSlideshowModeImages() obj.Object

IKSlideshowModeImages returns the string constant IKSlideshowModeImages, for use as a dictionary key or argument.

func IKSlideshowModeOther

func IKSlideshowModeOther() obj.Object

IKSlideshowModeOther returns the string constant IKSlideshowModeOther, for use as a dictionary key or argument.

func IKSlideshowModePDF

func IKSlideshowModePDF() obj.Object

IKSlideshowModePDF returns the string constant IKSlideshowModePDF, for use as a dictionary key or argument.

func IKSlideshowPDFDisplayBox

func IKSlideshowPDFDisplayBox() obj.Object

IKSlideshowPDFDisplayBox returns the string constant IKSlideshowPDFDisplayBox, for use as a dictionary key or argument.

func IKSlideshowPDFDisplayMode

func IKSlideshowPDFDisplayMode() obj.Object

IKSlideshowPDFDisplayMode returns the string constant IKSlideshowPDFDisplayMode, for use as a dictionary key or argument.

func IKSlideshowPDFDisplaysAsBook

func IKSlideshowPDFDisplaysAsBook() obj.Object

IKSlideshowPDFDisplaysAsBook returns the string constant IKSlideshowPDFDisplaysAsBook, for use as a dictionary key or argument.

func IKSlideshowScreen

func IKSlideshowScreen() obj.Object

IKSlideshowScreen returns the string constant IKSlideshowScreen, for use as a dictionary key or argument.

func IKSlideshowStartIndex

func IKSlideshowStartIndex() obj.Object

IKSlideshowStartIndex returns the string constant IKSlideshowStartIndex, for use as a dictionary key or argument.

func IKSlideshowStartPaused

func IKSlideshowStartPaused() obj.Object

IKSlideshowStartPaused returns the string constant IKSlideshowStartPaused, for use as a dictionary key or argument.

func IKSlideshowWrapAround

func IKSlideshowWrapAround() obj.Object

IKSlideshowWrapAround returns the string constant IKSlideshowWrapAround, for use as a dictionary key or argument.

func IKToolModeAnnotate

func IKToolModeAnnotate() obj.Object

IKToolModeAnnotate returns the string constant IKToolModeAnnotate, for use as a dictionary key or argument.

func IKToolModeCrop

func IKToolModeCrop() obj.Object

IKToolModeCrop returns the string constant IKToolModeCrop, for use as a dictionary key or argument.

func IKToolModeMove

func IKToolModeMove() obj.Object

IKToolModeMove returns the string constant IKToolModeMove, for use as a dictionary key or argument.

func IKToolModeNone

func IKToolModeNone() obj.Object

IKToolModeNone returns the string constant IKToolModeNone, for use as a dictionary key or argument.

func IKToolModeRotate

func IKToolModeRotate() obj.Object

IKToolModeRotate returns the string constant IKToolModeRotate, for use as a dictionary key or argument.

func IKToolModeSelect

func IKToolModeSelect() obj.Object

IKToolModeSelect returns the string constant IKToolModeSelect, for use as a dictionary key or argument.

func IKToolModeSelectEllipse

func IKToolModeSelectEllipse() obj.Object

IKToolModeSelectEllipse returns the string constant IKToolModeSelectEllipse, for use as a dictionary key or argument.

func IKToolModeSelectLasso

func IKToolModeSelectLasso() obj.Object

IKToolModeSelectLasso returns the string constant IKToolModeSelectLasso, for use as a dictionary key or argument.

func IKToolModeSelectRect

func IKToolModeSelectRect() obj.Object

IKToolModeSelectRect returns the string constant IKToolModeSelectRect, for use as a dictionary key or argument.

func IKUIFlavorAllowFallback

func IKUIFlavorAllowFallback() obj.Object

IKUIFlavorAllowFallback returns the string constant IKUIFlavorAllowFallback, for use as a dictionary key or argument.

func IKUISizeFlavor

func IKUISizeFlavor() obj.Object

IKUISizeFlavor returns the string constant IKUISizeFlavor, for use as a dictionary key or argument.

func IKUISizeMini

func IKUISizeMini() obj.Object

IKUISizeMini returns the string constant IKUISizeMini, for use as a dictionary key or argument.

func IKUISizeRegular

func IKUISizeRegular() obj.Object

IKUISizeRegular returns the string constant IKUISizeRegular, for use as a dictionary key or argument.

func IKUISizeSmall

func IKUISizeSmall() obj.Object

IKUISizeSmall returns the string constant IKUISizeSmall, for use as a dictionary key or argument.

func IKUImaxSize

func IKUImaxSize() obj.Object

IKUImaxSize returns the string constant IKUImaxSize, for use as a dictionary key or argument.

func IK_ApertureBundleIdentifier

func IK_ApertureBundleIdentifier() obj.Object

IK_ApertureBundleIdentifier returns the string constant IK_ApertureBundleIdentifier, for use as a dictionary key or argument.

func IK_MailBundleIdentifier

func IK_MailBundleIdentifier() obj.Object

IK_MailBundleIdentifier returns the string constant IK_MailBundleIdentifier, for use as a dictionary key or argument.

func IK_PhotosBundleIdentifier

func IK_PhotosBundleIdentifier() obj.Object

IK_PhotosBundleIdentifier returns the string constant IK_PhotosBundleIdentifier, for use as a dictionary key or argument.

func IK_iPhotoBundleIdentifier

func IK_iPhotoBundleIdentifier() obj.Object

IK_iPhotoBundleIdentifier returns the string constant IK_iPhotoBundleIdentifier, for use as a dictionary key or argument.

func ViewWithFrameFilter added in v0.17.0

func ViewWithFrameFilter(frameRect corefoundation.CGRect, inFilter obj.Object) obj.Object

ViewWithFrameFilter the viewWithFrame method creates a view that retains the filter passed into it.

Types

type CGLCPContextPriorityRequest

type CGLCPContextPriorityRequest int32
const (
	KCGLCPContextPriorityRequestHigh   CGLCPContextPriorityRequest = 0
	KCGLCPContextPriorityRequestNormal CGLCPContextPriorityRequest = 1
	KCGLCPContextPriorityRequestLow    CGLCPContextPriorityRequest = 2
)

func (CGLCPContextPriorityRequest) String

String returns the CGLCPContextPriorityRequest constant's name, or its numeric form when the value is not a known constant.

type CameraDeviceView added in v0.17.0

type CameraDeviceView struct {
	objref.Handle
}

CameraDeviceView is an idiomatic wrapper over the Objective-C class IKCameraDeviceView.

func CameraDeviceViewFromID added in v0.17.0

func CameraDeviceViewFromID(id objc.ID) *CameraDeviceView

CameraDeviceViewFromID adopts an existing Objective-C object as a CameraDeviceView (nil for 0), retaining it and registering a release finalizer.

func NewCameraDeviceView added in v0.17.0

func NewCameraDeviceView() *CameraDeviceView

NewCameraDeviceView creates a new CameraDeviceView.

func (*CameraDeviceView) CameraDevice added in v0.17.0

func (cdv *CameraDeviceView) CameraDevice() obj.Object

CameraDevice returns the camera device.

func (*CameraDeviceView) CanDeleteSelectedItems added in v0.17.0

func (cdv *CameraDeviceView) CanDeleteSelectedItems() bool

CanDeleteSelectedItems reports whether indicates if the user selected items can be deleted.

func (*CameraDeviceView) CanDownloadSelectedItems added in v0.17.0

func (cdv *CameraDeviceView) CanDownloadSelectedItems() bool

CanDownloadSelectedItems reports whether indicates if the user selected items can be downloaded.

func (*CameraDeviceView) CanRotateSelectedItemsLeft added in v0.17.0

func (cdv *CameraDeviceView) CanRotateSelectedItemsLeft() bool

CanRotateSelectedItemsLeft reports whether indicates if the user selected items can be rotated left.

func (*CameraDeviceView) CanRotateSelectedItemsRight added in v0.17.0

func (cdv *CameraDeviceView) CanRotateSelectedItemsRight() bool

CanRotateSelectedItemsRight reports whether indicates if the user selected items can be rotated right.

func (*CameraDeviceView) DeleteSelectedItems added in v0.17.0

func (cdv *CameraDeviceView) DeleteSelectedItems(sender obj.Object)

DeleteSelectedItems delete selected items.

func (*CameraDeviceView) Description added in v0.17.0

func (cdv *CameraDeviceView) Description() string

Description returns the object's -description text.

func (*CameraDeviceView) DisplaysDownloadsDirectoryControl added in v0.17.0

func (cdv *CameraDeviceView) DisplaysDownloadsDirectoryControl() bool

DisplaysDownloadsDirectoryControl reports whether show a downloads directory control.

func (*CameraDeviceView) DisplaysPostProcessApplicationControl added in v0.17.0

func (cdv *CameraDeviceView) DisplaysPostProcessApplicationControl() bool

DisplaysPostProcessApplicationControl reports whether show a postprocessing application control.

func (*CameraDeviceView) DownloadAllControlLabel added in v0.17.0

func (cdv *CameraDeviceView) DownloadAllControlLabel() string

DownloadAllControlLabel returns label for the 'Download All' control - allows for example renaming to 'Import All'.

func (*CameraDeviceView) DownloadAllItems added in v0.17.0

func (cdv *CameraDeviceView) DownloadAllItems(sender obj.Object)

DownloadAllItems download all items.

func (*CameraDeviceView) DownloadSelectedControlLabel added in v0.17.0

func (cdv *CameraDeviceView) DownloadSelectedControlLabel() string

DownloadSelectedControlLabel returns label for the 'Download Selected' control.

func (*CameraDeviceView) DownloadSelectedItems added in v0.17.0

func (cdv *CameraDeviceView) DownloadSelectedItems(sender obj.Object)

DownloadSelectedItems download selected items.

func (*CameraDeviceView) DownloadsDirectory added in v0.17.0

func (cdv *CameraDeviceView) DownloadsDirectory() string

DownloadsDirectory returns downloads directory.

func (*CameraDeviceView) HasDisplayModeIcon added in v0.17.0

func (cdv *CameraDeviceView) HasDisplayModeIcon() bool

HasDisplayModeIcon reports whether support icon view display mode.

func (*CameraDeviceView) HasDisplayModeTable added in v0.17.0

func (cdv *CameraDeviceView) HasDisplayModeTable() bool

HasDisplayModeTable reports whether support table view display mode.

func (*CameraDeviceView) IconSize added in v0.17.0

func (cdv *CameraDeviceView) IconSize() int

IconSize returns in icon mode: size of the image thumbnails.

func (*CameraDeviceView) IsEqual added in v0.17.0

func (cdv *CameraDeviceView) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*CameraDeviceView) IsKind added in v0.17.0

func (cdv *CameraDeviceView) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*CameraDeviceView) Mode added in v0.17.0

Mode returns current display mode.

func (*CameraDeviceView) PostProcessApplication added in v0.17.0

func (cdv *CameraDeviceView) PostProcessApplication() string

PostProcessApplication returns postprocessing application.

func (*CameraDeviceView) RotateLeft added in v0.17.0

func (cdv *CameraDeviceView) RotateLeft(sender obj.Object)

RotateLeft rotate selected items left.

func (*CameraDeviceView) RotateRight added in v0.17.0

func (cdv *CameraDeviceView) RotateRight(sender obj.Object)

RotateRight rotate selected items right.

func (*CameraDeviceView) SelectIndexesByExtendingSelection added in v0.17.0

func (cdv *CameraDeviceView) SelectIndexesByExtendingSelection(indexes obj.Object, extend bool)

SelectIndexesByExtendingSelection setting current user selection.

func (*CameraDeviceView) SelectedIndexes added in v0.17.0

func (cdv *CameraDeviceView) SelectedIndexes() *foundation.IndexSet

SelectedIndexes returns current user selection.

func (*CameraDeviceView) SetCustomActionControl added in v0.17.0

func (cdv *CameraDeviceView) SetCustomActionControl(control obj.Object)

SetCustomActionControl provide your own control to toggle between IKCameraDeviceViewDisplayMode table / icon

func (*CameraDeviceView) SetCustomDeleteControl added in v0.17.0

func (cdv *CameraDeviceView) SetCustomDeleteControl(control obj.Object)

SetCustomDeleteControl provide your own control to delete selected items

func (*CameraDeviceView) SetCustomIconSizeSlider added in v0.17.0

func (cdv *CameraDeviceView) SetCustomIconSizeSlider(slider obj.Object)

SetCustomIconSizeSlider provide your own NSSlider to resize item thumbnails

func (*CameraDeviceView) SetCustomModeControl added in v0.17.0

func (cdv *CameraDeviceView) SetCustomModeControl(control obj.Object)

SetCustomModeControl provide your own control to toggle between IKCameraDeviceViewDisplayMode table / icon

func (*CameraDeviceView) SetCustomRotateControl added in v0.17.0

func (cdv *CameraDeviceView) SetCustomRotateControl(control obj.Object)

SetCustomRotateControl provide your own control to rotate items (multiple of 90º)

func (*CameraDeviceView) SetShowStatusInfoAsWindowSubtitle added in v0.17.0

func (cdv *CameraDeviceView) SetShowStatusInfoAsWindowSubtitle(value bool)

SetShowStatusInfoAsWindowSubtitle display status info as window subtitle

func (*CameraDeviceView) String added in v0.17.0

func (cdv *CameraDeviceView) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*CameraDeviceView) TransferMode added in v0.17.0

func (cdv *CameraDeviceView) TransferMode() CameraDeviceViewTransferMode

TransferMode returns transfer mode either file based - or - in memory.

func (*CameraDeviceView) WithCameraDevice added in v0.17.0

func (cdv *CameraDeviceView) WithCameraDevice(cameraDevice obj.Object) *CameraDeviceView

WithCameraDevice sets the camera device.

func (*CameraDeviceView) WithDelegate added in v0.17.0

func (cdv *CameraDeviceView) WithDelegate(delegate CameraDeviceViewDelegate) *CameraDeviceView

WithDelegate sets delegate of the IKCameraDeviceView.

func (*CameraDeviceView) WithDisplaysDownloadsDirectoryControl added in v0.17.0

func (cdv *CameraDeviceView) WithDisplaysDownloadsDirectoryControl(displaysDownloadsDirectoryControl bool) *CameraDeviceView

WithDisplaysDownloadsDirectoryControl sets show a downloads directory control.

func (*CameraDeviceView) WithDisplaysPostProcessApplicationControl added in v0.17.0

func (cdv *CameraDeviceView) WithDisplaysPostProcessApplicationControl(displaysPostProcessApplicationControl bool) *CameraDeviceView

WithDisplaysPostProcessApplicationControl sets show a postprocessing application control.

func (*CameraDeviceView) WithDownloadAllControlLabel added in v0.17.0

func (cdv *CameraDeviceView) WithDownloadAllControlLabel(downloadAllControlLabel string) *CameraDeviceView

WithDownloadAllControlLabel sets label for the 'Download All' control - allows for example renaming to 'Import All'.

func (*CameraDeviceView) WithDownloadSelectedControlLabel added in v0.17.0

func (cdv *CameraDeviceView) WithDownloadSelectedControlLabel(downloadSelectedControlLabel string) *CameraDeviceView

WithDownloadSelectedControlLabel sets label for the 'Download Selected' control.

func (*CameraDeviceView) WithDownloadsDirectory added in v0.17.0

func (cdv *CameraDeviceView) WithDownloadsDirectory(downloadsDirectory string) *CameraDeviceView

WithDownloadsDirectory sets downloads directory.

func (*CameraDeviceView) WithHasDisplayModeIcon added in v0.17.0

func (cdv *CameraDeviceView) WithHasDisplayModeIcon(hasDisplayModeIcon bool) *CameraDeviceView

WithHasDisplayModeIcon sets support icon view display mode.

func (*CameraDeviceView) WithHasDisplayModeTable added in v0.17.0

func (cdv *CameraDeviceView) WithHasDisplayModeTable(hasDisplayModeTable bool) *CameraDeviceView

WithHasDisplayModeTable sets support table view display mode.

func (*CameraDeviceView) WithIconSize added in v0.17.0

func (cdv *CameraDeviceView) WithIconSize(iconSize int) *CameraDeviceView

WithIconSize sets in icon mode: size of the image thumbnails.

func (*CameraDeviceView) WithMode added in v0.17.0

WithMode sets current display mode.

func (*CameraDeviceView) WithPostProcessApplication added in v0.17.0

func (cdv *CameraDeviceView) WithPostProcessApplication(postProcessApplication string) *CameraDeviceView

WithPostProcessApplication sets postprocessing application.

func (*CameraDeviceView) WithTransferMode added in v0.17.0

func (cdv *CameraDeviceView) WithTransferMode(transferMode CameraDeviceViewTransferMode) *CameraDeviceView

WithTransferMode sets transfer mode either file based - or - in memory.

type CameraDeviceViewDelegate added in v0.17.0

type CameraDeviceViewDelegate interface {
}

CameraDeviceViewDelegate receives the callbacks of the Objective-C protocol IKCameraDeviceViewDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (CameraDeviceViewDelegate…Handler): implement the ones you need on the same value and the framework will call them too.

type CameraDeviceViewDelegateCameraDeviceViewDidDownloadFileLocationFileDataErrorHandler added in v0.17.0

type CameraDeviceViewDelegateCameraDeviceViewDidDownloadFileLocationFileDataErrorHandler interface {
	CameraDeviceViewDidDownloadFileLocationFileDataError(cameraDeviceView *CameraDeviceView, file obj.Object, url string, data []byte, err error)
}

CameraDeviceViewDelegateCameraDeviceViewDidDownloadFileLocationFileDataErrorHandler is the optional IKCameraDeviceViewDelegate method cameraDeviceView:didDownloadFile:location:fileData:error:. Implement it on a CameraDeviceViewDelegate value to receive that callback; a value without it is simply never sent one.

type CameraDeviceViewDelegateCameraDeviceViewDidEncounterErrorHandler added in v0.17.0

type CameraDeviceViewDelegateCameraDeviceViewDidEncounterErrorHandler interface {
	CameraDeviceViewDidEncounterError(cameraDeviceView *CameraDeviceView, err error)
}

CameraDeviceViewDelegateCameraDeviceViewDidEncounterErrorHandler is the optional IKCameraDeviceViewDelegate method cameraDeviceView:didEncounterError:. Implement it on a CameraDeviceViewDelegate value to receive that callback; a value without it is simply never sent one.

type CameraDeviceViewDelegateCameraDeviceViewSelectionDidChangeHandler added in v0.17.0

type CameraDeviceViewDelegateCameraDeviceViewSelectionDidChangeHandler interface {
	CameraDeviceViewSelectionDidChange(cameraDeviceView *CameraDeviceView)
}

CameraDeviceViewDelegateCameraDeviceViewSelectionDidChangeHandler is the optional IKCameraDeviceViewDelegate method cameraDeviceViewSelectionDidChange:. Implement it on a CameraDeviceViewDelegate value to receive that callback; a value without it is simply never sent one.

type CameraDeviceViewDisplayMode added in v0.17.0

type CameraDeviceViewDisplayMode int64
const (
	CameraDeviceViewDisplayModeNone  CameraDeviceViewDisplayMode = -1
	CameraDeviceViewDisplayModeTable CameraDeviceViewDisplayMode = 0
	CameraDeviceViewDisplayModeIcon  CameraDeviceViewDisplayMode = 1
)

func (CameraDeviceViewDisplayMode) String added in v0.17.0

String returns the CameraDeviceViewDisplayMode constant's name, or its numeric form when the value is not a known constant.

type CameraDeviceViewTransferMode added in v0.17.0

type CameraDeviceViewTransferMode int64
const (
	CameraDeviceViewTransferModeFileBased   CameraDeviceViewTransferMode = 0
	CameraDeviceViewTransferModeMemoryBased CameraDeviceViewTransferMode = 1
)

func (CameraDeviceViewTransferMode) String added in v0.17.0

String returns the CameraDeviceViewTransferMode constant's name, or its numeric form when the value is not a known constant.

type Clockid added in v0.17.0

type Clockid int32
const (
	ClockidRealtime           Clockid = 0
	ClockidMonotonic          Clockid = 6
	ClockidMonotonicRaw       Clockid = 4
	ClockidMonotonicRawApprox Clockid = 5
	ClockidUptimeRaw          Clockid = 8
	ClockidUptimeRawApprox    Clockid = 9
	ClockidProcessCputimeID   Clockid = 12
	ClockidThreadCputimeID    Clockid = 16
)

func (Clockid) String added in v0.17.0

func (e Clockid) String() string

String returns the Clockid constant's name, or its numeric form when the value is not a known constant.

type DeviceBrowserView added in v0.17.0

type DeviceBrowserView struct {
	objref.Handle
}

DeviceBrowserView is an idiomatic wrapper over the Objective-C class IKDeviceBrowserView.

func DeviceBrowserViewFromID added in v0.17.0

func DeviceBrowserViewFromID(id objc.ID) *DeviceBrowserView

DeviceBrowserViewFromID adopts an existing Objective-C object as a DeviceBrowserView (nil for 0), retaining it and registering a release finalizer.

func NewDeviceBrowserView added in v0.17.0

func NewDeviceBrowserView() *DeviceBrowserView

NewDeviceBrowserView creates a new DeviceBrowserView.

func (*DeviceBrowserView) Description added in v0.17.0

func (dbv *DeviceBrowserView) Description() string

Description returns the object's -description text.

func (*DeviceBrowserView) DisplaysLocalCameras added in v0.17.0

func (dbv *DeviceBrowserView) DisplaysLocalCameras() bool

DisplaysLocalCameras reports whether for device filtering - indicates that the IKDeviceBrowserView should include local cameras.

func (*DeviceBrowserView) DisplaysLocalScanners added in v0.17.0

func (dbv *DeviceBrowserView) DisplaysLocalScanners() bool

DisplaysLocalScanners reports whether for device filtering - indicates that the IKDeviceBrowserView should include local scanners.

func (*DeviceBrowserView) DisplaysNetworkCameras added in v0.17.0

func (dbv *DeviceBrowserView) DisplaysNetworkCameras() bool

DisplaysNetworkCameras reports whether for device filtering - indicates that the IKDeviceBrowserView should include network/shared cameras.

func (*DeviceBrowserView) DisplaysNetworkScanners added in v0.17.0

func (dbv *DeviceBrowserView) DisplaysNetworkScanners() bool

DisplaysNetworkScanners reports whether for device filtering - indicates that the IKDeviceBrowserView should include network/shared scanners.

func (*DeviceBrowserView) IsEqual added in v0.17.0

func (dbv *DeviceBrowserView) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*DeviceBrowserView) IsKind added in v0.17.0

func (dbv *DeviceBrowserView) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*DeviceBrowserView) Mode added in v0.17.0

Mode returns one of the supported display modes (table, outline, or icon mode).

func (*DeviceBrowserView) SelectedDevice added in v0.17.0

func (dbv *DeviceBrowserView) SelectedDevice() obj.Object

SelectedDevice returns user selected device (ICCameraDevice or ICScannerDevice).

func (*DeviceBrowserView) String added in v0.17.0

func (dbv *DeviceBrowserView) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*DeviceBrowserView) WithDelegate added in v0.17.0

func (dbv *DeviceBrowserView) WithDelegate(delegate DeviceBrowserViewDelegate) *DeviceBrowserView

WithDelegate sets delegate of the IKDeviceBrowserView.

func (*DeviceBrowserView) WithDisplaysLocalCameras added in v0.17.0

func (dbv *DeviceBrowserView) WithDisplaysLocalCameras(displaysLocalCameras bool) *DeviceBrowserView

WithDisplaysLocalCameras sets for device filtering - indicates that the IKDeviceBrowserView should include local cameras.

func (*DeviceBrowserView) WithDisplaysLocalScanners added in v0.17.0

func (dbv *DeviceBrowserView) WithDisplaysLocalScanners(displaysLocalScanners bool) *DeviceBrowserView

WithDisplaysLocalScanners sets for device filtering - indicates that the IKDeviceBrowserView should include local scanners.

func (*DeviceBrowserView) WithDisplaysNetworkCameras added in v0.17.0

func (dbv *DeviceBrowserView) WithDisplaysNetworkCameras(displaysNetworkCameras bool) *DeviceBrowserView

WithDisplaysNetworkCameras sets for device filtering - indicates that the IKDeviceBrowserView should include network/shared cameras.

func (*DeviceBrowserView) WithDisplaysNetworkScanners added in v0.17.0

func (dbv *DeviceBrowserView) WithDisplaysNetworkScanners(displaysNetworkScanners bool) *DeviceBrowserView

WithDisplaysNetworkScanners sets for device filtering - indicates that the IKDeviceBrowserView should include network/shared scanners.

func (*DeviceBrowserView) WithMode added in v0.17.0

WithMode sets one of the supported display modes (table, outline, or icon mode).

type DeviceBrowserViewDelegate added in v0.17.0

type DeviceBrowserViewDelegate interface {
	// DeviceBrowserViewSelectionDidChange this message is sent when the user selection did change. The device may be a ICCameraDevice or a ICScannerDevice.
	DeviceBrowserViewSelectionDidChange(deviceBrowserView *DeviceBrowserView, device obj.Object)
}

DeviceBrowserViewDelegate receives the callbacks of the Objective-C protocol IKDeviceBrowserViewDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (DeviceBrowserViewDelegate…Handler): implement the ones you need on the same value and the framework will call them too.

type DeviceBrowserViewDelegateDeviceBrowserViewDidEncounterErrorHandler added in v0.17.0

type DeviceBrowserViewDelegateDeviceBrowserViewDidEncounterErrorHandler interface {
	DeviceBrowserViewDidEncounterError(deviceBrowserView *DeviceBrowserView, err error)
}

DeviceBrowserViewDelegateDeviceBrowserViewDidEncounterErrorHandler is the optional IKDeviceBrowserViewDelegate method deviceBrowserView:didEncounterError:. Implement it on a DeviceBrowserViewDelegate value to receive that callback; a value without it is simply never sent one.

type DeviceBrowserViewDisplayMode added in v0.17.0

type DeviceBrowserViewDisplayMode int64
const (
	DeviceBrowserViewDisplayModeTable   DeviceBrowserViewDisplayMode = 0
	DeviceBrowserViewDisplayModeOutline DeviceBrowserViewDisplayMode = 1
	DeviceBrowserViewDisplayModeIcon    DeviceBrowserViewDisplayMode = 2
)

func (DeviceBrowserViewDisplayMode) String added in v0.17.0

String returns the DeviceBrowserViewDisplayMode constant's name, or its numeric form when the value is not a known constant.

type DispatchAutoreleaseFrequency added in v0.17.0

type DispatchAutoreleaseFrequency uint64
const (
	DispatchAutoreleaseFrequencyInherit  DispatchAutoreleaseFrequency = 0
	DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1
	DispatchAutoreleaseFrequencyNever    DispatchAutoreleaseFrequency = 2
)

func (DispatchAutoreleaseFrequency) String added in v0.17.0

String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.

type DispatchBlockFlags added in v0.17.0

type DispatchBlockFlags uint64

Bitmask — values may be combined with |.

const (
	DispatchBlockFlagsBarrier         DispatchBlockFlags = 1
	DispatchBlockFlagsDetached        DispatchBlockFlags = 2
	DispatchBlockFlagsAssignCurrent   DispatchBlockFlags = 4
	DispatchBlockFlagsNoQosClass      DispatchBlockFlags = 8
	DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16
	DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32
)

func (DispatchBlockFlags) String added in v0.17.0

func (e DispatchBlockFlags) String() string

String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.

type EntryID added in v0.17.0

type EntryID int32
const (
	EntryIDFirstEntry EntryID = 0
	EntryIDNextEntry  EntryID = -1
	EntryIDLastEntry  EntryID = -2
)

func (EntryID) String added in v0.17.0

func (e EntryID) String() string

String returns the EntryID constant's name, or its numeric form when the value is not a known constant.

type EvCmd

type EvCmd int32
const (
	EVNOP   EvCmd = 0
	EVHIDE  EvCmd = 1
	EVSHOW  EvCmd = 2
	EVMOVE  EvCmd = 3
	EVLEVEL EvCmd = 4
)

func (EvCmd) String

func (e EvCmd) String() string

String returns the EvCmd constant's name, or its numeric form when the value is not a known constant.

type FilesecProperty added in v0.17.0

type FilesecProperty int32
const (
	FilesecPropertyOwner        FilesecProperty = 1
	FilesecPropertyGroup        FilesecProperty = 2
	FilesecPropertyUUID         FilesecProperty = 3
	FilesecPropertyMode         FilesecProperty = 4
	FilesecPropertyACL          FilesecProperty = 5
	FilesecPropertyGrpuuid      FilesecProperty = 6
	FilesecPropertyACLRaw       FilesecProperty = 100
	FilesecPropertyACLAllocsize FilesecProperty = 101
)

func (FilesecProperty) String added in v0.17.0

func (e FilesecProperty) String() string

String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.

type FilterBrowserPanel added in v0.17.0

type FilterBrowserPanel struct {
	objref.Handle
}

FilterBrowserPanel is an idiomatic wrapper over the Objective-C class IKFilterBrowserPanel.

The IKFilterBrowserPanel provides the shared IKFilterBrowser with its runtime model. See information in the introduction.

func FilterBrowserPanelFromID added in v0.17.0

func FilterBrowserPanelFromID(id objc.ID) *FilterBrowserPanel

FilterBrowserPanelFromID adopts an existing Objective-C object as a FilterBrowserPanel (nil for 0), retaining it and registering a release finalizer.

func NewFilterBrowserPanel added in v0.17.0

func NewFilterBrowserPanel() *FilterBrowserPanel

NewFilterBrowserPanel creates a new FilterBrowserPanel.

func (*FilterBrowserPanel) Description added in v0.17.0

func (fbp *FilterBrowserPanel) Description() string

Description returns the object's -description text.

func (*FilterBrowserPanel) FilterBrowserViewWithOptions added in v0.17.0

func (fbp *FilterBrowserPanel) FilterBrowserViewWithOptions(inOptions obj.Object) *FilterBrowserView

FilterBrowserViewWithOptions returns a view containing the FilterBrowser. Use this method to run the IKFilterBrowser in your own UI. To dismiss it, invoke the finish action as described below.

func (*FilterBrowserPanel) FilterName added in v0.17.0

func (fbp *FilterBrowserPanel) FilterName() string

FilterName returns the name of the currently selected filter. Use this method in response to a IKFilterBrowserFilterSelectedNotification or IKFilterBrowserFilterDoubleClickNotification or afer returning from a modal session.

func (*FilterBrowserPanel) Finish added in v0.17.0

func (fbp *FilterBrowserPanel) Finish(sender obj.Object)

Finish closes the IKFilterBrowser. Invoke this action for instance from your OK or Cancel button when you are running the IKFilterBrowserView modal in your own UI.

func (*FilterBrowserPanel) IsEqual added in v0.17.0

func (fbp *FilterBrowserPanel) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*FilterBrowserPanel) IsKind added in v0.17.0

func (fbp *FilterBrowserPanel) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*FilterBrowserPanel) RunModalWithOptions added in v0.17.0

func (fbp *FilterBrowserPanel) RunModalWithOptions(inOptions obj.Object) int

RunModalWithOptions displays the FilterBrowser in a modal dialog. Use this method to run the IKFilterBrowser in a modal dialog. The value passed as returnCode will be either NSCancelButton or NSOKButton.

func (*FilterBrowserPanel) String added in v0.17.0

func (fbp *FilterBrowserPanel) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type FilterBrowserView added in v0.17.0

type FilterBrowserView struct {
	objref.Handle
}

FilterBrowserView is an idiomatic wrapper over the Objective-C class IKFilterBrowserView.

func FilterBrowserViewFromID added in v0.17.0

func FilterBrowserViewFromID(id objc.ID) *FilterBrowserView

FilterBrowserViewFromID adopts an existing Objective-C object as a FilterBrowserView (nil for 0), retaining it and registering a release finalizer.

func NewFilterBrowserView added in v0.17.0

func NewFilterBrowserView() *FilterBrowserView

NewFilterBrowserView creates a new FilterBrowserView.

func (*FilterBrowserView) Description added in v0.17.0

func (fbv *FilterBrowserView) Description() string

Description returns the object's -description text.

func (*FilterBrowserView) FilterName added in v0.17.0

func (fbv *FilterBrowserView) FilterName() string

FilterName returns the name of the currently selected filter. Use this method in response to a IKFilterBrowserFilterSelectedNotification or IKFilterBrowserFilterDoubleClickNotification or afer returning from a modal session.

func (*FilterBrowserView) IsEqual added in v0.17.0

func (fbv *FilterBrowserView) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*FilterBrowserView) IsKind added in v0.17.0

func (fbv *FilterBrowserView) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*FilterBrowserView) SetPreviewState added in v0.17.0

func (fbv *FilterBrowserView) SetPreviewState(inState bool)

SetPreviewState use this method to show and hide the Preview Use this method to show and hide the Preview from the program.

func (*FilterBrowserView) String added in v0.17.0

func (fbv *FilterBrowserView) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type FilterCustomUIProvider added in v0.17.0

type FilterCustomUIProvider interface {
	ProvideViewForUIConfigurationExcludedKeys(inUIConfiguration obj.Object, inKeys obj.Object) *FilterUIView
}

FilterCustomUIProvider is the Go form of the Objective-C protocol IKFilterCustomUIProvider.

type FilterUIView added in v0.17.0

type FilterUIView struct {
	objref.Handle
}

FilterUIView is an idiomatic wrapper over the Objective-C class IKFilterUIView.

func FilterUIViewFromID added in v0.17.0

func FilterUIViewFromID(id objc.ID) *FilterUIView

FilterUIViewFromID adopts an existing Objective-C object as a FilterUIView (nil for 0), retaining it and registering a release finalizer.

func NewFilterUIViewWithFrameFilter added in v0.17.0

func NewFilterUIViewWithFrameFilter(frameRect corefoundation.CGRect, inFilter obj.Object) *FilterUIView

NewFilterUIViewWithFrameFilter the initWithFrame method initializes a view that retains the filter passed into it.

func (*FilterUIView) Description added in v0.17.0

func (fuv *FilterUIView) Description() string

Description returns the object's -description text.

func (*FilterUIView) Filter added in v0.17.0

func (fuv *FilterUIView) Filter() obj.Object

Filter returns accessor method to return the filter instance that the view controls.

func (*FilterUIView) IsEqual added in v0.17.0

func (fuv *FilterUIView) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*FilterUIView) IsKind added in v0.17.0

func (fuv *FilterUIView) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*FilterUIView) ObjectController added in v0.17.0

func (fuv *FilterUIView) ObjectController() obj.Object

ObjectController returns accessor method for the object controller for all bindings between the filter and the UI representation.

func (*FilterUIView) String added in v0.17.0

func (fuv *FilterUIView) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type Flag added in v0.17.0

type Flag int32
const (
	FlagFlagDeferInherit      Flag = 1
	FlagFlagNoInherit         Flag = 131072
	FlagEntryInherited        Flag = 16
	FlagEntryFileInherit      Flag = 32
	FlagEntryDirectoryInherit Flag = 64
	FlagEntryLimitInherit     Flag = 128
	FlagEntryOnlyInherit      Flag = 256
)

func (Flag) String added in v0.17.0

func (e Flag) String() string

String returns the Flag constant's name, or its numeric form when the value is not a known constant.

type ICReturnCodeOffset

type ICReturnCodeOffset int64
const (
	ICReturnCodeThumbnailOffset  ICReturnCodeOffset = -21000
	ICReturnCodeMetadataOffset   ICReturnCodeOffset = -21050
	ICReturnCodeDownloadOffset   ICReturnCodeOffset = -21100
	ICReturnCodeDeleteOffset     ICReturnCodeOffset = -21150
	ICReturnCodeExFATOffset      ICReturnCodeOffset = -21200
	ICReturnCodePTPOffset        ICReturnCodeOffset = -21250
	ICReturnCodeSystemOffset     ICReturnCodeOffset = -21300
	ICReturnCodeDeviceOffset     ICReturnCodeOffset = -21350
	ICReturnCodeDeviceConnection ICReturnCodeOffset = -21400
	ICReturnCodeObjectOffset     ICReturnCodeOffset = -21450
)

func (ICReturnCodeOffset) String

func (e ICReturnCodeOffset) String() string

String returns the ICReturnCodeOffset constant's name, or its numeric form when the value is not a known constant.

type Idtype added in v0.17.0

type Idtype int32
const (
	IdtypeAll  Idtype = 0
	IdtypePid  Idtype = 1
	IdtypePgid Idtype = 2
)

func (Idtype) String added in v0.17.0

func (e Idtype) String() string

String returns the Idtype constant's name, or its numeric form when the value is not a known constant.

type ImageBrowserCell added in v0.17.0

type ImageBrowserCell struct {
	objref.Handle
}

ImageBrowserCell is an idiomatic wrapper over the Objective-C class IKImageBrowserCell.

func ImageBrowserCellFromID added in v0.17.0

func ImageBrowserCellFromID(id objc.ID) *ImageBrowserCell

ImageBrowserCellFromID adopts an existing Objective-C object as a ImageBrowserCell (nil for 0), retaining it and registering a release finalizer.

func NewImageBrowserCell added in v0.17.0

func NewImageBrowserCell() *ImageBrowserCell

NewImageBrowserCell creates a new ImageBrowserCell.

func (*ImageBrowserCell) Description added in v0.17.0

func (ibc *ImageBrowserCell) Description() string

Description returns the object's -description text.

func (*ImageBrowserCell) Frame added in v0.17.0

func (ibc *ImageBrowserCell) Frame() corefoundation.CGRect

Frame returns the receiver�s frame rectangle, which defines its position in its IKImageBrowserView. The coordinates of this frame are in view's coordinate space. Subclasses should not override this method.

func (*ImageBrowserCell) ImageBrowserView added in v0.17.0

func (ibc *ImageBrowserCell) ImageBrowserView() *ImageBrowserView

ImageBrowserView returns the view the receiver uses to display its represented object. Subclasses should not override this method.

func (*ImageBrowserCell) ImageContainerFrame added in v0.17.0

func (ibc *ImageBrowserCell) ImageContainerFrame() corefoundation.CGRect

ImageContainerFrame returns the receiver�s image container frame rectangle, which defines the position of the container of the thumbnail in its IKImageBrowserView. The coordinates of this frame are in view's coordinate space. Subclasses can override this method to customize the position of the thumbnail container. The image frame is computed automatically from the image container frame by taking in account the image alignment and the image aspect ratio.

func (*ImageBrowserCell) ImageFrame added in v0.17.0

func (ibc *ImageBrowserCell) ImageFrame() corefoundation.CGRect

ImageFrame returns the receiver�s image frame rectangle, which defines the position of the thumbnail in its IKImageBrowserView. The coordinates of this frame are in view's coordinate space. Subclasses can override this method to customize the position of the thumbnail.

func (*ImageBrowserCell) IndexOfRepresentedItem added in v0.17.0

func (ibc *ImageBrowserCell) IndexOfRepresentedItem() int

IndexOfRepresentedItem returns the index of the receiver�s represented object in the datasource. Subclasses should not override this method.

func (*ImageBrowserCell) IsEqual added in v0.17.0

func (ibc *ImageBrowserCell) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*ImageBrowserCell) IsKind added in v0.17.0

func (ibc *ImageBrowserCell) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*ImageBrowserCell) IsSelected added in v0.17.0

func (ibc *ImageBrowserCell) IsSelected() bool

IsSelected reports whether returns the selection state of the receiver. Returns true if the receiver is selected, otherwise false. Subclasses should not override this method.

func (*ImageBrowserCell) LayerForType added in v0.17.0

func (ibc *ImageBrowserCell) LayerForType(type_ string) obj.Object

LayerForType provides the receiver�s layer for the given type. The default is nil. Subclasses can override this method to add a layer in the background, foreground... of the cell (see possible types above).

func (*ImageBrowserCell) Opacity added in v0.17.0

func (ibc *ImageBrowserCell) Opacity() float64

Opacity determines the opacity of the receiver. Possible values are between 0.0 (transparent) and 1.0 (opaque). Subclasses can override this method to customize the opacity of the cell.

func (*ImageBrowserCell) RepresentedItem added in v0.17.0

func (ibc *ImageBrowserCell) RepresentedItem() obj.Object

RepresentedItem returns the receiver�s represented object. Subclasses should not override this method.

func (*ImageBrowserCell) SelectionFrame added in v0.17.0

func (ibc *ImageBrowserCell) SelectionFrame() corefoundation.CGRect

SelectionFrame returns the receiver�s selection frame rectangle, which defines the position of the selection rectangle in its IKImageBrowserView. The coordinates of this frame are in view's coordinate space. Subclasses can override this method to customize the position of the selection frame.

func (*ImageBrowserCell) String added in v0.17.0

func (ibc *ImageBrowserCell) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*ImageBrowserCell) SubtitleFrame added in v0.17.0

func (ibc *ImageBrowserCell) SubtitleFrame() corefoundation.CGRect

SubtitleFrame returns the receiver�s subtitle frame rectangle, which defines the position of the subtitle in its IKImageBrowserView. The coordinates of this frame are in view's coordinate space. Subclasses can override this method to customize the position of the subtitle.

func (*ImageBrowserCell) TitleFrame added in v0.17.0

func (ibc *ImageBrowserCell) TitleFrame() corefoundation.CGRect

TitleFrame returns the receiver�s title frame rectangle, which defines the position of the title in its IKImageBrowserView. The coordinates of this frame are in view's coordinate space. Subclasses can override this method to customize the position of the title.

type ImageBrowserCellState added in v0.17.0

type ImageBrowserCellState int32
const (
	ImageStateNoImage ImageBrowserCellState = 0
	ImageStateInvalid ImageBrowserCellState = 1
	ImageStateReady   ImageBrowserCellState = 2
)

func (ImageBrowserCellState) String added in v0.17.0

func (e ImageBrowserCellState) String() string

String returns the ImageBrowserCellState constant's name, or its numeric form when the value is not a known constant.

type ImageBrowserDropOperation added in v0.17.0

type ImageBrowserDropOperation int32
const (
	ImageBrowserDropOn     ImageBrowserDropOperation = 0
	ImageBrowserDropBefore ImageBrowserDropOperation = 1
)

func (ImageBrowserDropOperation) String added in v0.17.0

func (e ImageBrowserDropOperation) String() string

String returns the ImageBrowserDropOperation constant's name, or its numeric form when the value is not a known constant.

type ImageBrowserView added in v0.17.0

type ImageBrowserView struct {
	objref.Handle
}

ImageBrowserView is an idiomatic wrapper over the Objective-C class IKImageBrowserView.

func ImageBrowserViewFromID added in v0.17.0

func ImageBrowserViewFromID(id objc.ID) *ImageBrowserView

ImageBrowserViewFromID adopts an existing Objective-C object as a ImageBrowserView (nil for 0), retaining it and registering a release finalizer.

func NewImageBrowserViewWithFrame added in v0.17.0

func NewImageBrowserViewWithFrame(frame corefoundation.CGRect) *ImageBrowserView

NewImageBrowserViewWithFrame initializes and returns a newly allocated IKImageBrowserView object with a specified frame rectangle.

func (*ImageBrowserView) AllowsDroppingOnItems added in v0.17.0

func (ibv *ImageBrowserView) AllowsDroppingOnItems() bool

AllowsDroppingOnItems reports whether the receiver allows the user to drop on items.

func (*ImageBrowserView) AllowsEmptySelection added in v0.17.0

func (ibv *ImageBrowserView) AllowsEmptySelection() bool

AllowsEmptySelection reports whether the receiver allows the user to select zero cell.

func (*ImageBrowserView) AllowsMultipleSelection added in v0.17.0

func (ibv *ImageBrowserView) AllowsMultipleSelection() bool

AllowsMultipleSelection reports whether the receiver allows the user to select more than one cell at a time.

func (*ImageBrowserView) AllowsReordering added in v0.17.0

func (ibv *ImageBrowserView) AllowsReordering() bool

AllowsReordering reports whether the receiver allows the user to reorder items.

func (*ImageBrowserView) Animates added in v0.17.0

func (ibv *ImageBrowserView) Animates() bool

Animates reports whether the receiver animate changes of the data source.

func (*ImageBrowserView) BackgroundLayer added in v0.17.0

func (ibv *ImageBrowserView) BackgroundLayer() obj.Object

BackgroundLayer provides the receiver�s background layer.

func (*ImageBrowserView) CanControlQuickLookPanel added in v0.17.0

func (ibv *ImageBrowserView) CanControlQuickLookPanel() bool

CanControlQuickLookPanel reports whether returns a Boolean value that indicates whether the receiver can automatically take control of the Quick Look panel.

func (*ImageBrowserView) CellForItemAtIndex added in v0.17.0

func (ibv *ImageBrowserView) CellForItemAtIndex(index int) *ImageBrowserCell

CellForItemAtIndex returns the cell at the specified index. Subclasses must not override this method.

func (*ImageBrowserView) CellSize added in v0.17.0

func (ibv *ImageBrowserView) CellSize() corefoundation.CGSize

CellSize returns the size of the cells

func (*ImageBrowserView) CellsStyleMask added in v0.17.0

func (ibv *ImageBrowserView) CellsStyleMask() int

CellsStyleMask returns the cells appearance style mask.

func (*ImageBrowserView) CollapseGroupAtIndex added in v0.17.0

func (ibv *ImageBrowserView) CollapseGroupAtIndex(index int)

CollapseGroupAtIndex collapse group at index 'index' if it is expanded; otherwise, does nothing.

func (*ImageBrowserView) ColumnIndexesInRect added in v0.17.0

func (ibv *ImageBrowserView) ColumnIndexesInRect(rect corefoundation.CGRect) *foundation.IndexSet

ColumnIndexesInRect returns the indexes of the receiver�s columns that intersect the specified rectangle.

func (*ImageBrowserView) ConstrainsToOriginalSize added in v0.17.0

func (ibv *ImageBrowserView) ConstrainsToOriginalSize() bool

ConstrainsToOriginalSize reports whether the receiver constraints the cells's image to their original size.

func (*ImageBrowserView) ContentResizingMask added in v0.17.0

func (ibv *ImageBrowserView) ContentResizingMask() int

ContentResizingMask returns the content resizing mask.

func (*ImageBrowserView) DataSource added in v0.17.0

func (ibv *ImageBrowserView) DataSource() obj.Object

DataSource returns the receiver's data source. the data source is not retained by the receiver.

func (*ImageBrowserView) Delegate added in v0.17.0

func (ibv *ImageBrowserView) Delegate() obj.Object

Delegate returns the receiver's delegate. aDelegate is expected to implement the IKImageBrowserDelegate informal protocol.

func (*ImageBrowserView) Description added in v0.17.0

func (ibv *ImageBrowserView) Description() string

Description returns the object's -description text.

func (*ImageBrowserView) DraggingDestinationDelegate added in v0.17.0

func (ibv *ImageBrowserView) DraggingDestinationDelegate() obj.Object

DraggingDestinationDelegate returns the receiver's dragging destination delegate.

func (*ImageBrowserView) ExpandGroupAtIndex added in v0.17.0

func (ibv *ImageBrowserView) ExpandGroupAtIndex(index int)

ExpandGroupAtIndex expands group at index 'index' if it is not already expanded; otherwise, does nothing.

func (*ImageBrowserView) ForegroundLayer added in v0.17.0

func (ibv *ImageBrowserView) ForegroundLayer() obj.Object

ForegroundLayer provides the receiver�s foreground layer.

func (*ImageBrowserView) IndexAtLocationOfDroppedItem added in v0.17.0

func (ibv *ImageBrowserView) IndexAtLocationOfDroppedItem() int

IndexAtLocationOfDroppedItem returns the index of the cell where the drop operation occured. This index is valid when a drop occurred and until next drop.

func (*ImageBrowserView) IndexOfItemAtPoint added in v0.17.0

func (ibv *ImageBrowserView) IndexOfItemAtPoint(point corefoundation.CGPoint) int

IndexOfItemAtPoint returns the item at the specified location or NSNotFound if no item at this location.

func (*ImageBrowserView) IntercellSpacing added in v0.17.0

func (ibv *ImageBrowserView) IntercellSpacing() corefoundation.CGSize

IntercellSpacing returns the spacing between cells in the image browser.

func (*ImageBrowserView) IsEqual added in v0.17.0

func (ibv *ImageBrowserView) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*ImageBrowserView) IsGroupExpandedAtIndex added in v0.17.0

func (ibv *ImageBrowserView) IsGroupExpandedAtIndex(index int) bool

IsGroupExpandedAtIndex returns YES if the group at index 'index' is expanded.

func (*ImageBrowserView) IsKind added in v0.17.0

func (ibv *ImageBrowserView) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*ImageBrowserView) ItemFrameAtIndex added in v0.17.0

func (ibv *ImageBrowserView) ItemFrameAtIndex(index int) corefoundation.CGRect

ItemFrameAtIndex returns the frame rectangle of the item that would be drawn at the specified location.

func (*ImageBrowserView) NewCellForRepresentedItem added in v0.17.0

func (ibv *ImageBrowserView) NewCellForRepresentedItem(anItem obj.Object) *ImageBrowserCell

NewCellForRepresentedItem returns the cell to use for the specified item. The returned cell should not be autoreleased. Subclasses can override this method to customize the appearance of the cell that will represent "anItem".

func (*ImageBrowserView) NumberOfColumns added in v0.17.0

func (ibv *ImageBrowserView) NumberOfColumns() int

NumberOfColumns returns the number of columns in the receiver.

func (*ImageBrowserView) NumberOfRows added in v0.17.0

func (ibv *ImageBrowserView) NumberOfRows() int

NumberOfRows returns the number of rows in the receiver.

func (*ImageBrowserView) RectOfColumn added in v0.17.0

func (ibv *ImageBrowserView) RectOfColumn(columnIndex int) corefoundation.CGRect

RectOfColumn returns the rectangle containing the column at a given index.

func (*ImageBrowserView) RectOfRow added in v0.17.0

func (ibv *ImageBrowserView) RectOfRow(rowIndex int) corefoundation.CGRect

RectOfRow returns the rectangle containing the row at a given index.

func (*ImageBrowserView) ReloadData added in v0.17.0

func (ibv *ImageBrowserView) ReloadData()

ReloadData marks the receiver as needing redisplay, so it will reload the data and draw the new values.

func (*ImageBrowserView) RowIndexesInRect added in v0.17.0

func (ibv *ImageBrowserView) RowIndexesInRect(rect corefoundation.CGRect) *foundation.IndexSet

RowIndexesInRect returns the indexes of the receiver�s rows that intersect the specified rectangle.

func (*ImageBrowserView) ScrollIndexToVisible added in v0.17.0

func (ibv *ImageBrowserView) ScrollIndexToVisible(index int)

ScrollIndexToVisible scrolls the receiver so the item at the specified index is visible.

func (*ImageBrowserView) SelectionIndexes added in v0.17.0

func (ibv *ImageBrowserView) SelectionIndexes() *foundation.IndexSet

SelectionIndexes returns the indexes of the selected cells

func (*ImageBrowserView) SetAllowsDroppingOnItems added in v0.17.0

func (ibv *ImageBrowserView) SetAllowsDroppingOnItems(flag bool)

SetAllowsDroppingOnItems controls whether the user can drop on items. Default is NO.

func (*ImageBrowserView) SetAllowsEmptySelection added in v0.17.0

func (ibv *ImageBrowserView) SetAllowsEmptySelection(flag bool)

SetAllowsEmptySelection controls whether the receiver allows zero cell to be selected.

func (*ImageBrowserView) SetAllowsMultipleSelection added in v0.17.0

func (ibv *ImageBrowserView) SetAllowsMultipleSelection(flag bool)

SetAllowsMultipleSelection controls whether the user can select more than one cell at a time.

func (*ImageBrowserView) SetAllowsReordering added in v0.17.0

func (ibv *ImageBrowserView) SetAllowsReordering(flag bool)

SetAllowsReordering controls whether the user can reorder items.

func (*ImageBrowserView) SetAnimates added in v0.17.0

func (ibv *ImageBrowserView) SetAnimates(flag bool)

SetAnimates controls whether the receiver animate reordering and changes of the data source.

func (*ImageBrowserView) SetBackgroundLayer added in v0.17.0

func (ibv *ImageBrowserView) SetBackgroundLayer(aLayer obj.Object)

SetBackgroundLayer specifies the receiver�s background layer.

func (*ImageBrowserView) SetCanControlQuickLookPanel added in v0.17.0

func (ibv *ImageBrowserView) SetCanControlQuickLookPanel(flag bool)

SetCanControlQuickLookPanel sets whether the receiver can automatically take control of the Quick Look panel. default value is NO. IKImageBrowserView's datasource items should provide file paths or URLs as their representation (see IKImageBrowserItem protocol).

func (*ImageBrowserView) SetCellSize added in v0.17.0

func (ibv *ImageBrowserView) SetCellSize(size corefoundation.CGSize)

SetCellSize sets the size of the cells to size

func (*ImageBrowserView) SetCellsStyleMask added in v0.17.0

func (ibv *ImageBrowserView) SetCellsStyleMask(mask int)

SetCellsStyleMask defines the cells appearance style. mask can be specified by combining any of the options below using the C bitwise OR operator

func (*ImageBrowserView) SetConstrainsToOriginalSize added in v0.17.0

func (ibv *ImageBrowserView) SetConstrainsToOriginalSize(flag bool)

SetConstrainsToOriginalSize sets whether the receiver constraints the cells's image to their original size. Default is NO.

func (*ImageBrowserView) SetContentResizingMask added in v0.17.0

func (ibv *ImageBrowserView) SetContentResizingMask(mask int)

SetContentResizingMask mask can be specified by combining any of the following options using the C bitwise OR operator:NSViewWidthSizable NSViewHeightSizable, other values are ignored.

func (*ImageBrowserView) SetDraggingDestinationDelegate added in v0.17.0

func (ibv *ImageBrowserView) SetDraggingDestinationDelegate(delegate obj.Object)

SetDraggingDestinationDelegate sets the receiver's dragging destination delegate to <i>delegate</i>.

func (*ImageBrowserView) SetForegroundLayer added in v0.17.0

func (ibv *ImageBrowserView) SetForegroundLayer(aLayer obj.Object)

SetForegroundLayer specifies the receiver�s foreground layer.

func (*ImageBrowserView) SetIntercellSpacing added in v0.17.0

func (ibv *ImageBrowserView) SetIntercellSpacing(aSize corefoundation.CGSize)

SetIntercellSpacing sets the spacing between cells in the matrix.

func (*ImageBrowserView) SetSelectionIndexesByExtendingSelection added in v0.17.0

func (ibv *ImageBrowserView) SetSelectionIndexesByExtendingSelection(indexes obj.Object, extendSelection bool)

SetSelectionIndexesByExtendingSelection selects cells at indexes <i>indexes</i>. If <i>extendSelection</i> is YES it extends the current selection, otherwise it replaces the current selection.

func (*ImageBrowserView) SetZoomValue added in v0.17.0

func (ibv *ImageBrowserView) SetZoomValue(aValue float32)

SetZoomValue sets the zoom value to <i>aValue</i>. This value should be greater or equal to zero and less or equal than one. A zoom value of zero corresponds to the minimum size (40x40 pixels), A zoom value of one means images fit the browser bounds. Other values are interpolated.

func (*ImageBrowserView) String added in v0.17.0

func (ibv *ImageBrowserView) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*ImageBrowserView) VisibleItemIndexes added in v0.17.0

func (ibv *ImageBrowserView) VisibleItemIndexes() *foundation.IndexSet

VisibleItemIndexes returns indexes of the receiver�s currently visible items.

func (*ImageBrowserView) WithDataSource added in v0.17.0

func (ibv *ImageBrowserView) WithDataSource(dataSource obj.Object) *ImageBrowserView

WithDataSource sets the receiver's data source. the data source is not retained by the receiver.

func (*ImageBrowserView) WithDelegate added in v0.17.0

func (ibv *ImageBrowserView) WithDelegate(delegate obj.Object) *ImageBrowserView

WithDelegate sets the receiver's delegate. aDelegate is expected to implement the IKImageBrowserDelegate informal protocol.

func (*ImageBrowserView) ZoomValue added in v0.17.0

func (ibv *ImageBrowserView) ZoomValue() float32

ZoomValue returns the current zoom value.

type ImageEditPanel added in v0.17.0

type ImageEditPanel struct {
	objref.Handle
}

ImageEditPanel is an idiomatic wrapper over the Objective-C class IKImageEditPanel.

func ImageEditPanelFromID added in v0.17.0

func ImageEditPanelFromID(id objc.ID) *ImageEditPanel

ImageEditPanelFromID adopts an existing Objective-C object as a ImageEditPanel (nil for 0), retaining it and registering a release finalizer.

func NewImageEditPanel added in v0.17.0

func NewImageEditPanel() *ImageEditPanel

NewImageEditPanel creates a new ImageEditPanel.

func SharedImageEditPanel added in v0.17.0

func SharedImageEditPanel() *ImageEditPanel

SharedImageEditPanel creates a shared instance of an image editing panel.

func (*ImageEditPanel) Description added in v0.17.0

func (iep *ImageEditPanel) Description() string

Description returns the object's -description text.

func (*ImageEditPanel) FilterArray added in v0.17.0

func (iep *ImageEditPanel) FilterArray() obj.Object

FilterArray returns array of filters reflecting the current user adjustments in the adjust or effects tab.

func (*ImageEditPanel) IsEqual added in v0.17.0

func (iep *ImageEditPanel) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*ImageEditPanel) IsKind added in v0.17.0

func (iep *ImageEditPanel) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*ImageEditPanel) ReloadData added in v0.17.0

func (iep *ImageEditPanel) ReloadData()

ReloadData reloads the data from the data associated with an image editing panel.

func (*ImageEditPanel) String added in v0.17.0

func (iep *ImageEditPanel) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type ImageEditPanelDataSource added in v0.17.0

type ImageEditPanelDataSource interface {
	SetImageImageProperties(image coregraphics.CGImageRef, metaData obj.Object)
	Image() coregraphics.CGImageRef
}

ImageEditPanelDataSource is the Go form of the Objective-C protocol IKImageEditPanelDataSource.

type ImageView added in v0.17.0

type ImageView struct {
	objref.Handle
}

ImageView is an idiomatic wrapper over the Objective-C class IKImageView.

func ImageViewFromID added in v0.17.0

func ImageViewFromID(id objc.ID) *ImageView

ImageViewFromID adopts an existing Objective-C object as a ImageView (nil for 0), retaining it and registering a release finalizer.

func NewImageView added in v0.17.0

func NewImageView() *ImageView

NewImageView creates a new ImageView.

func (*ImageView) AutohidesScrollers added in v0.17.0

func (iv *ImageView) AutohidesScrollers() bool

AutohidesScrollers reports whether specifies the automatic-hiding scroll bar state for the image view.

func (*ImageView) Autoresizes added in v0.17.0

func (iv *ImageView) Autoresizes() bool

Autoresizes reports whether specifies the automatic resizing state for the image view.

func (*ImageView) BackgroundColor added in v0.17.0

func (iv *ImageView) BackgroundColor() obj.Object

BackgroundColor specifies the background color for the image view.

func (*ImageView) ConvertImagePointToViewPoint added in v0.17.0

func (iv *ImageView) ConvertImagePointToViewPoint(imagePoint corefoundation.CGPoint) corefoundation.CGPoint

ConvertImagePointToViewPoint converts an image coordinate to an image view coordinate.

func (*ImageView) ConvertImageRectToViewRect added in v0.17.0

func (iv *ImageView) ConvertImageRectToViewRect(imageRect corefoundation.CGRect) corefoundation.CGRect

ConvertImageRectToViewRect converts an image rectangle to an image view rectangle.

func (*ImageView) ConvertViewPointToImagePoint added in v0.17.0

func (iv *ImageView) ConvertViewPointToImagePoint(viewPoint corefoundation.CGPoint) corefoundation.CGPoint

ConvertViewPointToImagePoint converts an image view coordinate to an image coordinate.

func (*ImageView) ConvertViewRectToImageRect added in v0.17.0

func (iv *ImageView) ConvertViewRectToImageRect(viewRect corefoundation.CGRect) corefoundation.CGRect

ConvertViewRectToImageRect converts an image view rectangle to an image rectangle.

func (*ImageView) Crop added in v0.17.0

func (iv *ImageView) Crop(sender obj.Object)

Crop crops the image using the current selection.

func (*ImageView) CurrentToolMode added in v0.17.0

func (iv *ImageView) CurrentToolMode() string

CurrentToolMode specifies the current tool mode for the image view.

func (*ImageView) Delegate added in v0.17.0

func (iv *ImageView) Delegate() obj.Object

Delegate specifies the delegate object of the receiver.

func (*ImageView) Description added in v0.17.0

func (iv *ImageView) Description() string

Description returns the object's -description text.

func (*ImageView) DoubleClickOpensImageEditPanel added in v0.17.0

func (iv *ImageView) DoubleClickOpensImageEditPanel() bool

DoubleClickOpensImageEditPanel reports whether specifies the image-opening state of the editing pane in the image view.

func (*ImageView) Editable added in v0.17.0

func (iv *ImageView) Editable() bool

Editable reports whether specifies the editable state for the image view.

func (*ImageView) FlipImageHorizontal added in v0.17.0

func (iv *ImageView) FlipImageHorizontal(sender obj.Object)

FlipImageHorizontal flips an image along the horizontal axis.

func (*ImageView) FlipImageVertical added in v0.17.0

func (iv *ImageView) FlipImageVertical(sender obj.Object)

FlipImageVertical flips an image along the vertical axis.

func (*ImageView) HasHorizontalScroller added in v0.17.0

func (iv *ImageView) HasHorizontalScroller() bool

HasHorizontalScroller reports whether specifies the horizontal scroll bar state for the image view.

func (*ImageView) HasVerticalScroller added in v0.17.0

func (iv *ImageView) HasVerticalScroller() bool

HasVerticalScroller reports whether specifies the vertical scroll bar state for the image view.

func (*ImageView) Image added in v0.17.0

func (iv *ImageView) Image() coregraphics.CGImageRef

Image returns the image associated with the view, after any image corrections.

func (*ImageView) ImageCorrection added in v0.17.0

func (iv *ImageView) ImageCorrection() obj.Object

ImageCorrection specifies a Core Image filter for image correction.

func (*ImageView) ImageProperties added in v0.17.0

func (iv *ImageView) ImageProperties() obj.Object

ImageProperties returns the metadata for the image in the view.

func (*ImageView) ImageSize added in v0.17.0

func (iv *ImageView) ImageSize() corefoundation.CGSize

ImageSize returns the size of the image in the image view.

func (*ImageView) IsEqual added in v0.17.0

func (iv *ImageView) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*ImageView) IsKind added in v0.17.0

func (iv *ImageView) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*ImageView) OverlayForType added in v0.17.0

func (iv *ImageView) OverlayForType(layerType string) obj.Object

OverlayForType returns the overlay (Core Animation layer) for the image or the image background.

func (*ImageView) RotateImageLeft added in v0.17.0

func (iv *ImageView) RotateImageLeft(sender obj.Object)

RotateImageLeft rotates the image left.

func (*ImageView) RotateImageRight added in v0.17.0

func (iv *ImageView) RotateImageRight(sender obj.Object)

RotateImageRight rotates the image right.

func (*ImageView) RotationAngle added in v0.17.0

func (iv *ImageView) RotationAngle() float64

RotationAngle specifies the rotation angle for the image view.

func (*ImageView) ScrollToPoint added in v0.17.0

func (iv *ImageView) ScrollToPoint(point corefoundation.CGPoint)

ScrollToPoint scrolls the view to the specified point.

func (*ImageView) ScrollToRect added in v0.17.0

func (iv *ImageView) ScrollToRect(rect corefoundation.CGRect)

ScrollToRect scrolls the view so that it includes the provided rectangular area.

func (*ImageView) SetImageImageProperties added in v0.17.0

func (iv *ImageView) SetImageImageProperties(image coregraphics.CGImageRef, metaData obj.Object)

SetImageImageProperties sets the image & metadata (both retrieved from ImageIO).

func (*ImageView) SetImageWithURL added in v0.17.0

func (iv *ImageView) SetImageWithURL(url string)

SetImageWithURL initializes an image view with the image specified by a URL.

func (*ImageView) SetImageZoomFactorCenterPoint added in v0.17.0

func (iv *ImageView) SetImageZoomFactorCenterPoint(zoomFactor float64, centerPoint corefoundation.CGPoint)

SetImageZoomFactorCenterPoint sets the zoom factor at the provided origin.

func (*ImageView) SetOverlayForType added in v0.17.0

func (iv *ImageView) SetOverlayForType(layer obj.Object, layerType string)

SetOverlayForType sets an overlay (Core Animation layer) for the image or the image background.

func (*ImageView) SetRotationAngleCenterPoint added in v0.17.0

func (iv *ImageView) SetRotationAngleCenterPoint(rotationAngle float64, centerPoint corefoundation.CGPoint)

SetRotationAngleCenterPoint sets the rotation angle at the provided origin.

func (*ImageView) String added in v0.17.0

func (iv *ImageView) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*ImageView) SupportsDragAndDrop added in v0.17.0

func (iv *ImageView) SupportsDragAndDrop() bool

SupportsDragAndDrop reports whether specifies the drag-and-drop support state for the image view.

func (*ImageView) WithAutohidesScrollers added in v0.17.0

func (iv *ImageView) WithAutohidesScrollers(autohidesScrollers bool) *ImageView

WithAutohidesScrollers sets specifies the automatic-hiding scroll bar state for the image view.

func (*ImageView) WithAutoresizes added in v0.17.0

func (iv *ImageView) WithAutoresizes(autoresizes bool) *ImageView

WithAutoresizes sets specifies the automatic resizing state for the image view.

func (*ImageView) WithBackgroundColor added in v0.17.0

func (iv *ImageView) WithBackgroundColor(backgroundColor obj.Object) *ImageView

WithBackgroundColor sets specifies the background color for the image view.

func (*ImageView) WithCurrentToolMode added in v0.17.0

func (iv *ImageView) WithCurrentToolMode(currentToolMode string) *ImageView

WithCurrentToolMode sets specifies the current tool mode for the image view.

func (*ImageView) WithDelegate added in v0.17.0

func (iv *ImageView) WithDelegate(delegate obj.Object) *ImageView

WithDelegate sets specifies the delegate object of the receiver.

func (*ImageView) WithDoubleClickOpensImageEditPanel added in v0.17.0

func (iv *ImageView) WithDoubleClickOpensImageEditPanel(doubleClickOpensImageEditPanel bool) *ImageView

WithDoubleClickOpensImageEditPanel sets specifies the image-opening state of the editing pane in the image view.

func (*ImageView) WithEditable added in v0.17.0

func (iv *ImageView) WithEditable(editable bool) *ImageView

WithEditable sets specifies the editable state for the image view.

func (*ImageView) WithHasHorizontalScroller added in v0.17.0

func (iv *ImageView) WithHasHorizontalScroller(hasHorizontalScroller bool) *ImageView

WithHasHorizontalScroller sets specifies the horizontal scroll bar state for the image view.

func (*ImageView) WithHasVerticalScroller added in v0.17.0

func (iv *ImageView) WithHasVerticalScroller(hasVerticalScroller bool) *ImageView

WithHasVerticalScroller sets specifies the vertical scroll bar state for the image view.

func (*ImageView) WithImageCorrection added in v0.17.0

func (iv *ImageView) WithImageCorrection(imageCorrection obj.Object) *ImageView

WithImageCorrection sets specifies a Core Image filter for image correction.

func (*ImageView) WithRotationAngle added in v0.17.0

func (iv *ImageView) WithRotationAngle(rotationAngle float64) *ImageView

WithRotationAngle sets specifies the rotation angle for the image view.

func (*ImageView) WithSupportsDragAndDrop added in v0.17.0

func (iv *ImageView) WithSupportsDragAndDrop(supportsDragAndDrop bool) *ImageView

WithSupportsDragAndDrop sets specifies the drag-and-drop support state for the image view.

func (*ImageView) WithZoomFactor added in v0.17.0

func (iv *ImageView) WithZoomFactor(zoomFactor float64) *ImageView

WithZoomFactor sets specifies the zoom factor for the image view.

func (*ImageView) ZoomFactor added in v0.17.0

func (iv *ImageView) ZoomFactor() float64

ZoomFactor specifies the zoom factor for the image view.

func (*ImageView) ZoomImageToActualSize added in v0.17.0

func (iv *ImageView) ZoomImageToActualSize(sender obj.Object)

ZoomImageToActualSize zooms the image so that it is displayed using its true size.

func (*ImageView) ZoomImageToFit added in v0.17.0

func (iv *ImageView) ZoomImageToFit(sender obj.Object)

ZoomImageToFit zooms the image so that it fits in the image view.

func (*ImageView) ZoomImageToRect added in v0.17.0

func (iv *ImageView) ZoomImageToRect(rect corefoundation.CGRect)

ZoomImageToRect zooms the image so that it fits in the specified rectangle.

func (*ImageView) ZoomIn added in v0.17.0

func (iv *ImageView) ZoomIn(sender obj.Object)

ZoomIn zooms the image in.

func (*ImageView) ZoomOut added in v0.17.0

func (iv *ImageView) ZoomOut(sender obj.Object)

ZoomOut zooms the image out.

type IpcInfoObjectType added in v0.17.0

type IpcInfoObjectType uint32
const (
	IpcInfoObjectTypeNone               IpcInfoObjectType = 0
	IpcInfoObjectTypeThreadControl      IpcInfoObjectType = 1
	IpcInfoObjectTypeTaskControl        IpcInfoObjectType = 2
	IpcInfoObjectTypeHost               IpcInfoObjectType = 3
	IpcInfoObjectTypeHostPriv           IpcInfoObjectType = 4
	IpcInfoObjectTypeProcessor          IpcInfoObjectType = 5
	IpcInfoObjectTypeProcessorSet       IpcInfoObjectType = 6
	IpcInfoObjectTypeProcessorSetName   IpcInfoObjectType = 7
	IpcInfoObjectTypeTimer              IpcInfoObjectType = 8
	IpcInfoObjectTypePortSubstOnce      IpcInfoObjectType = 9
	IpcInfoObjectTypeMig                IpcInfoObjectType = 10
	IpcInfoObjectTypeMemoryObject       IpcInfoObjectType = 11
	IpcInfoObjectTypeXmmPager           IpcInfoObjectType = 12
	IpcInfoObjectTypeXmmKernel          IpcInfoObjectType = 13
	IpcInfoObjectTypeXmmReply           IpcInfoObjectType = 14
	IpcInfoObjectTypeUndReply           IpcInfoObjectType = 15
	IpcInfoObjectTypeHostNotify         IpcInfoObjectType = 16
	IpcInfoObjectTypeHostSecurity       IpcInfoObjectType = 17
	IpcInfoObjectTypeLedger             IpcInfoObjectType = 18
	IpcInfoObjectTypeMainDevice         IpcInfoObjectType = 19
	IpcInfoObjectTypeTaskName           IpcInfoObjectType = 20
	IpcInfoObjectTypeSubsystem          IpcInfoObjectType = 21
	IpcInfoObjectTypeIODoneQueue        IpcInfoObjectType = 22
	IpcInfoObjectTypeSemaphore          IpcInfoObjectType = 23
	IpcInfoObjectTypeLockSet            IpcInfoObjectType = 24
	IpcInfoObjectTypeClock              IpcInfoObjectType = 25
	IpcInfoObjectTypeClockCtrl          IpcInfoObjectType = 26
	IpcInfoObjectTypeIokitIdent         IpcInfoObjectType = 27
	IpcInfoObjectTypeNamedEntry         IpcInfoObjectType = 28
	IpcInfoObjectTypeIokitConnect       IpcInfoObjectType = 29
	IpcInfoObjectTypeIokitObject        IpcInfoObjectType = 30
	IpcInfoObjectTypeUpl                IpcInfoObjectType = 31
	IpcInfoObjectTypeMemObjControl      IpcInfoObjectType = 32
	IpcInfoObjectTypeAuSessionport      IpcInfoObjectType = 33
	IpcInfoObjectTypeFileport           IpcInfoObjectType = 34
	IpcInfoObjectTypeLabelh             IpcInfoObjectType = 35
	IpcInfoObjectTypeTaskResume         IpcInfoObjectType = 36
	IpcInfoObjectTypeVoucher            IpcInfoObjectType = 37
	IpcInfoObjectTypeVoucherAttrControl IpcInfoObjectType = 38
	IpcInfoObjectTypeWorkInterval       IpcInfoObjectType = 39
	IpcInfoObjectTypeUxHandler          IpcInfoObjectType = 40
	IpcInfoObjectTypeUextObject         IpcInfoObjectType = 41
	IpcInfoObjectTypeArcadeReg          IpcInfoObjectType = 42
	IpcInfoObjectTypeEventlink          IpcInfoObjectType = 43
	IpcInfoObjectTypeTaskInspect        IpcInfoObjectType = 44
	IpcInfoObjectTypeTaskRead           IpcInfoObjectType = 45
	IpcInfoObjectTypeThreadInspect      IpcInfoObjectType = 46
	IpcInfoObjectTypeThreadRead         IpcInfoObjectType = 47
	IpcInfoObjectTypeSuidCred           IpcInfoObjectType = 48
	IpcInfoObjectTypeHypervisor         IpcInfoObjectType = 49
	IpcInfoObjectTypeTaskIDToken        IpcInfoObjectType = 50
	IpcInfoObjectTypeTaskFatal          IpcInfoObjectType = 51
	IpcInfoObjectTypeKcdata             IpcInfoObjectType = 52
	IpcInfoObjectTypeExclavesResource   IpcInfoObjectType = 53
	IpcInfoObjectTypeThreadResume       IpcInfoObjectType = 54
	IpcInfoObjectTypeUnknown            IpcInfoObjectType = 4294967295
)

func (IpcInfoObjectType) String added in v0.17.0

func (e IpcInfoObjectType) String() string

String returns the IpcInfoObjectType constant's name, or its numeric form when the value is not a known constant.

type LaunchDataType added in v0.17.0

type LaunchDataType int32
const (
	LaunchDataTypeDictionary LaunchDataType = 1
	LaunchDataTypeArray      LaunchDataType = 2
	LaunchDataTypeFd         LaunchDataType = 3
	LaunchDataTypeInteger    LaunchDataType = 4
	LaunchDataTypeReal       LaunchDataType = 5
	LaunchDataTypeBool       LaunchDataType = 6
	LaunchDataTypeString     LaunchDataType = 7
	LaunchDataTypeOpaque     LaunchDataType = 8
	LaunchDataTypeErrno      LaunchDataType = 9
	LaunchDataTypeMachport   LaunchDataType = 10
)

func (LaunchDataType) String added in v0.17.0

func (e LaunchDataType) String() string

String returns the LaunchDataType constant's name, or its numeric form when the value is not a known constant.

type MDLabelDomain

type MDLabelDomain int32

These constants are used to specify a domain to MDLabelCreate().

const (
	KMDLabelUserDomain  MDLabelDomain = 0
	KMDLabelLocalDomain MDLabelDomain = 1
)

func (MDLabelDomain) String

func (e MDLabelDomain) String() string

String returns the MDLabelDomain constant's name, or its numeric form when the value is not a known constant.

type MDQueryOptionFlags

type MDQueryOptionFlags int32
const (
	KMDQuerySynchronous        MDQueryOptionFlags = 1
	KMDQueryWantsUpdates       MDQueryOptionFlags = 4
	KMDQueryAllowFSTranslation MDQueryOptionFlags = 8
)

func (MDQueryOptionFlags) String

func (e MDQueryOptionFlags) String() string

String returns the MDQueryOptionFlags constant's name, or its numeric form when the value is not a known constant.

type MDQuerySortOptionFlags

type MDQuerySortOptionFlags int32
const (
	KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)

func (MDQuerySortOptionFlags) String

func (e MDQuerySortOptionFlags) String() string

String returns the MDQuerySortOptionFlags constant's name, or its numeric form when the value is not a known constant.

type MachVMRangeFlags added in v0.17.0

type MachVMRangeFlags uint64

Bitmask — values may be combined with |.

const (
	MachVMRangeFlagsNone MachVMRangeFlags = 0
)

func (MachVMRangeFlags) String added in v0.17.0

func (e MachVMRangeFlags) String() string

String returns the MachVMRangeFlags constant's name, or its numeric form when the value is not a known constant.

type MachVMRangeFlavor added in v0.17.0

type MachVMRangeFlavor uint32
const (
	MachVMRangeFlavorInvalid MachVMRangeFlavor = 0
	MachVMRangeFlavorV1      MachVMRangeFlavor = 1
)

func (MachVMRangeFlavor) String added in v0.17.0

func (e MachVMRangeFlavor) String() string

String returns the MachVMRangeFlavor constant's name, or its numeric form when the value is not a known constant.

type MachVMRangeTag added in v0.17.0

type MachVMRangeTag uint16
const (
	MachVMRangeTagDefault MachVMRangeTag = 0
	MachVMRangeTagData    MachVMRangeTag = 1
	MachVMRangeTagFixed   MachVMRangeTag = 2
)

func (MachVMRangeTag) String added in v0.17.0

func (e MachVMRangeTag) String() string

String returns the MachVMRangeTag constant's name, or its numeric form when the value is not a known constant.

type MpoFlags added in v0.17.0

type MpoFlags uint32

Bitmask — values may be combined with |.

const (
	MpoFlagsPort                        MpoFlags = 0
	MpoFlagsServicePort                 MpoFlags = 1024
	MpoFlagsConnectionPort              MpoFlags = 2048
	MpoFlagsReplyPort                   MpoFlags = 4096
	MpoFlagsWeakReplyPort               MpoFlags = 16384
	MpoFlagsNotificationPort            MpoFlags = 17408
	MpoFlagsExceptionPort               MpoFlags = 32768
	MpoFlagsConnectionPortWithPortArray MpoFlags = 65536
)

func (MpoFlags) String added in v0.17.0

func (e MpoFlags) String() string

String returns the MpoFlags constant's name, or its numeric form when the value is not a known constant.

type NXMouseButton

type NXMouseButton int32
const (
	NX_OneButton   NXMouseButton = 0
	NX_LeftButton  NXMouseButton = 1
	NX_RightButton NXMouseButton = 2
)

func (NXMouseButton) String

func (e NXMouseButton) String() string

String returns the NXMouseButton constant's name, or its numeric form when the value is not a known constant.

type OSClockid added in v0.17.0

type OSClockid uint32
const (
	OSClockidTime OSClockid = 32
)

func (OSClockid) String added in v0.17.0

func (e OSClockid) String() string

String returns the OSClockid constant's name, or its numeric form when the value is not a known constant.

type OSUnfairLockFlags added in v0.17.0

type OSUnfairLockFlags uint32

Bitmask — values may be combined with |.

const (
	OSUnfairLockFlagsNone         OSUnfairLockFlags = 0
	OSUnfairLockFlagsAdaptiveSpin OSUnfairLockFlags = 262144
)

func (OSUnfairLockFlags) String added in v0.17.0

func (e OSUnfairLockFlags) String() string

String returns the OSUnfairLockFlags constant's name, or its numeric form when the value is not a known constant.

type PMPageToPaperMappingType

type PMPageToPaperMappingType int32
const (
	KPMPageToPaperMappingNone       PMPageToPaperMappingType = 1
	KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2
)

func (PMPageToPaperMappingType) String

func (e PMPageToPaperMappingType) String() string

String returns the PMPageToPaperMappingType constant's name, or its numeric form when the value is not a known constant.

type Perm added in v0.17.0

type Perm int32
const (
	PermReadData           Perm = 2
	PermListDirectory      Perm = 2
	PermWriteData          Perm = 4
	PermAddFile            Perm = 4
	PermExecute            Perm = 8
	PermSearch             Perm = 8
	PermDelete             Perm = 16
	PermAppendData         Perm = 32
	PermAddSubdirectory    Perm = 32
	PermDeleteChild        Perm = 64
	PermReadAttributes     Perm = 128
	PermWriteAttributes    Perm = 256
	PermReadExtattributes  Perm = 512
	PermWriteExtattributes Perm = 1024
	PermReadSecurity       Perm = 2048
	PermWriteSecurity      Perm = 4096
	PermChangeOwner        Perm = 8192
	PermSynchronize        Perm = 1048576
)

func (Perm) String added in v0.17.0

func (e Perm) String() string

String returns the Perm constant's name, or its numeric form when the value is not a known constant.

type PictureTaker added in v0.17.0

type PictureTaker struct {
	objref.Handle
}

PictureTaker is an idiomatic wrapper over the Objective-C class IKPictureTaker.

func IKPictureTakerPictureTaker

func IKPictureTakerPictureTaker() *PictureTaker

IKPictureTakerPictureTaker returns the shared IKPictureTaker instance, creating it if necessary.

func NewPictureTaker added in v0.17.0

func NewPictureTaker() *PictureTaker

NewPictureTaker creates a new PictureTaker.

func PictureTakerFromID added in v0.17.0

func PictureTakerFromID(id objc.ID) *PictureTaker

PictureTakerFromID adopts an existing Objective-C object as a PictureTaker (nil for 0), retaining it and registering a release finalizer.

func (*PictureTaker) Description added in v0.17.0

func (pt *PictureTaker) Description() string

Description returns the object's -description text.

func (*PictureTaker) InputImage added in v0.17.0

func (pt *PictureTaker) InputImage() obj.Object

InputImage returns the original PictureTaker's input-image. The input image is never modified by the PictureTaker.

func (*PictureTaker) IsEqual added in v0.17.0

func (pt *PictureTaker) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*PictureTaker) IsKind added in v0.17.0

func (pt *PictureTaker) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*PictureTaker) Mirroring added in v0.17.0

func (pt *PictureTaker) Mirroring() bool

Mirroring reports whether video mirroring is enabled.

func (*PictureTaker) OutputImage added in v0.17.0

func (pt *PictureTaker) OutputImage() obj.Object

OutputImage returns the edited image.

func (*PictureTaker) RunModal added in v0.17.0

func (pt *PictureTaker) RunModal() int

RunModal returns launches a modal PictureTaker session.

func (*PictureTaker) SetInputImage added in v0.17.0

func (pt *PictureTaker) SetInputImage(image obj.Object)

SetInputImage set the image input for the PictureTaker. The input image is never modified by the PictureTaker.

func (*PictureTaker) SetMirroring added in v0.17.0

func (pt *PictureTaker) SetMirroring(b bool)

SetMirroring controls whether the receiver enable/disable video mirroring durring snapshots (default is YES).

func (*PictureTaker) String added in v0.17.0

func (pt *PictureTaker) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type PtrauthKey added in v0.17.0

type PtrauthKey int32
const (
	Ptrauth_key_none                     PtrauthKey = -1
	Ptrauth_key_asia                     PtrauthKey = 0
	Ptrauth_key_asib                     PtrauthKey = 1
	Ptrauth_key_asda                     PtrauthKey = 2
	Ptrauth_key_asdb                     PtrauthKey = 3
	Ptrauth_key_process_independent_code PtrauthKey = 0
	Ptrauth_key_process_dependent_code   PtrauthKey = 1
	Ptrauth_key_process_independent_data PtrauthKey = 2
	Ptrauth_key_process_dependent_data   PtrauthKey = 3
	Ptrauth_key_return_address           PtrauthKey = 1
	Ptrauth_key_frame_pointer            PtrauthKey = 3
	Ptrauth_key_function_pointer         PtrauthKey = 0
	Ptrauth_key_block_function           PtrauthKey = 0
	Ptrauth_key_cxx_vtable_pointer       PtrauthKey = 2
	Ptrauth_key_method_list_pointer      PtrauthKey = 2
	Ptrauth_key_objc_isa_pointer         PtrauthKey = 2
	Ptrauth_key_objc_super_pointer       PtrauthKey = 2
	Ptrauth_key_objc_sel_pointer         PtrauthKey = 3
	Ptrauth_key_objc_class_ro_pointer    PtrauthKey = 2
	Ptrauth_key_block_descriptor_pointer PtrauthKey = 2
	Ptrauth_key_init_fini_pointer        PtrauthKey = 0
)

func (PtrauthKey) String added in v0.17.0

func (e PtrauthKey) String() string

String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.

type QosClass added in v0.17.0

type QosClass uint32
const (
	QosClassUserInteractive QosClass = 33
	QosClassUserInitiated   QosClass = 25
	QosClassDefault         QosClass = 21
	QosClassUtility         QosClass = 17
	QosClassBackground      QosClass = 9
	QosClassUnspecified     QosClass = 0
)

func (QosClass) String added in v0.17.0

func (e QosClass) String() string

String returns the QosClass constant's name, or its numeric form when the value is not a known constant.

type SaveOptions added in v0.17.0

type SaveOptions struct {
	objref.Handle
}

SaveOptions is an idiomatic wrapper over the Objective-C class IKSaveOptions.

func NewSaveOptionsWithImagePropertiesImageUTType added in v0.17.0

func NewSaveOptionsWithImagePropertiesImageUTType(imageProperties obj.Object, imageUTType string) *SaveOptions

NewSaveOptionsWithImagePropertiesImageUTType initializes IKSaveOptions with metadata and UTType.

func SaveOptionsFromID added in v0.17.0

func SaveOptionsFromID(id objc.ID) *SaveOptions

SaveOptionsFromID adopts an existing Objective-C object as a SaveOptions (nil for 0), retaining it and registering a release finalizer.

func (*SaveOptions) AddSaveOptionsAccessoryViewToSavePanel added in v0.17.0

func (so *SaveOptions) AddSaveOptionsAccessoryViewToSavePanel(savePanel obj.Object)

AddSaveOptionsAccessoryViewToSavePanel adds IKSaveOptions UI to a NSSavePanel.

func (*SaveOptions) AddSaveOptionsToView added in v0.17.0

func (so *SaveOptions) AddSaveOptionsToView(view obj.Object)

AddSaveOptionsToView adds IKSaveOptions UI to a NSView.

func (*SaveOptions) Delegate added in v0.17.0

func (so *SaveOptions) Delegate() obj.Object

Delegate returns delegate of the IKSaveOptions.

func (*SaveOptions) Description added in v0.17.0

func (so *SaveOptions) Description() string

Description returns the object's -description text.

func (*SaveOptions) ImageProperties added in v0.17.0

func (so *SaveOptions) ImageProperties() obj.Object

ImageProperties returns current imageProperties (respecting user UI selection).

func (*SaveOptions) ImageUTType added in v0.17.0

func (so *SaveOptions) ImageUTType() string

ImageUTType returns current imageUTType (respecting user UI selection).

func (*SaveOptions) IsEqual added in v0.17.0

func (so *SaveOptions) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*SaveOptions) IsKind added in v0.17.0

func (so *SaveOptions) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*SaveOptions) RememberLastSetting added in v0.17.0

func (so *SaveOptions) RememberLastSetting() bool

RememberLastSetting reports whether if set, the last used UI choices are preserved for the next time IKSaveOptions is used. [default is YES]

func (*SaveOptions) String added in v0.17.0

func (so *SaveOptions) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*SaveOptions) UserSelection added in v0.17.0

func (so *SaveOptions) UserSelection() obj.Object

UserSelection returns information about the UI settings.

func (*SaveOptions) WithDelegate added in v0.17.0

func (so *SaveOptions) WithDelegate(delegate obj.Object) *SaveOptions

WithDelegate sets delegate of the IKSaveOptions.

func (*SaveOptions) WithRememberLastSetting added in v0.17.0

func (so *SaveOptions) WithRememberLastSetting(rememberLastSetting bool) *SaveOptions

WithRememberLastSetting sets if set, the last used UI choices are preserved for the next time IKSaveOptions is used. [default is YES]

type ScannerDeviceView added in v0.17.0

type ScannerDeviceView struct {
	objref.Handle
}

ScannerDeviceView is an idiomatic wrapper over the Objective-C class IKScannerDeviceView.

func NewScannerDeviceView added in v0.17.0

func NewScannerDeviceView() *ScannerDeviceView

NewScannerDeviceView creates a new ScannerDeviceView.

func ScannerDeviceViewFromID added in v0.17.0

func ScannerDeviceViewFromID(id objc.ID) *ScannerDeviceView

ScannerDeviceViewFromID adopts an existing Objective-C object as a ScannerDeviceView (nil for 0), retaining it and registering a release finalizer.

func (*ScannerDeviceView) Description added in v0.17.0

func (sdv *ScannerDeviceView) Description() string

Description returns the object's -description text.

func (*ScannerDeviceView) DisplaysDownloadsDirectoryControl added in v0.17.0

func (sdv *ScannerDeviceView) DisplaysDownloadsDirectoryControl() bool

DisplaysDownloadsDirectoryControl reports whether show a downloads directory control.

func (*ScannerDeviceView) DisplaysPostProcessApplicationControl added in v0.17.0

func (sdv *ScannerDeviceView) DisplaysPostProcessApplicationControl() bool

DisplaysPostProcessApplicationControl reports whether show a postprocessing application control.

func (*ScannerDeviceView) DocumentName added in v0.17.0

func (sdv *ScannerDeviceView) DocumentName() string

DocumentName returns document name.

func (*ScannerDeviceView) DownloadsDirectory added in v0.17.0

func (sdv *ScannerDeviceView) DownloadsDirectory() string

DownloadsDirectory returns downloads directory.

func (*ScannerDeviceView) HasDisplayModeAdvanced added in v0.17.0

func (sdv *ScannerDeviceView) HasDisplayModeAdvanced() bool

HasDisplayModeAdvanced reports whether support advanced scanning UI.

func (*ScannerDeviceView) HasDisplayModeSimple added in v0.17.0

func (sdv *ScannerDeviceView) HasDisplayModeSimple() bool

HasDisplayModeSimple reports whether support a simple scanning UI.

func (*ScannerDeviceView) IsEqual added in v0.17.0

func (sdv *ScannerDeviceView) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*ScannerDeviceView) IsKind added in v0.17.0

func (sdv *ScannerDeviceView) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*ScannerDeviceView) Mode added in v0.17.0

Mode returns current display mode.

func (*ScannerDeviceView) OverviewControlLabel added in v0.17.0

func (sdv *ScannerDeviceView) OverviewControlLabel() string

OverviewControlLabel returns label for the 'Overview' control.

func (*ScannerDeviceView) PostProcessApplication added in v0.17.0

func (sdv *ScannerDeviceView) PostProcessApplication() string

PostProcessApplication returns postprocessing application.

func (*ScannerDeviceView) ScanControlLabel added in v0.17.0

func (sdv *ScannerDeviceView) ScanControlLabel() string

ScanControlLabel returns label for the 'Scan' control.

func (*ScannerDeviceView) ScannerDevice added in v0.17.0

func (sdv *ScannerDeviceView) ScannerDevice() obj.Object

ScannerDevice returns the scanner device.

func (*ScannerDeviceView) String added in v0.17.0

func (sdv *ScannerDeviceView) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*ScannerDeviceView) TransferMode added in v0.17.0

TransferMode returns transfer mode either file based - or - in memory.

func (*ScannerDeviceView) WithDelegate added in v0.17.0

func (sdv *ScannerDeviceView) WithDelegate(delegate ScannerDeviceViewDelegate) *ScannerDeviceView

WithDelegate sets delegate of the IKScannerDeviceView.

func (*ScannerDeviceView) WithDisplaysDownloadsDirectoryControl added in v0.17.0

func (sdv *ScannerDeviceView) WithDisplaysDownloadsDirectoryControl(displaysDownloadsDirectoryControl bool) *ScannerDeviceView

WithDisplaysDownloadsDirectoryControl sets show a downloads directory control.

func (*ScannerDeviceView) WithDisplaysPostProcessApplicationControl added in v0.17.0

func (sdv *ScannerDeviceView) WithDisplaysPostProcessApplicationControl(displaysPostProcessApplicationControl bool) *ScannerDeviceView

WithDisplaysPostProcessApplicationControl sets show a postprocessing application control.

func (*ScannerDeviceView) WithDocumentName added in v0.17.0

func (sdv *ScannerDeviceView) WithDocumentName(documentName string) *ScannerDeviceView

WithDocumentName sets document name.

func (*ScannerDeviceView) WithDownloadsDirectory added in v0.17.0

func (sdv *ScannerDeviceView) WithDownloadsDirectory(downloadsDirectory string) *ScannerDeviceView

WithDownloadsDirectory sets downloads directory.

func (*ScannerDeviceView) WithHasDisplayModeAdvanced added in v0.17.0

func (sdv *ScannerDeviceView) WithHasDisplayModeAdvanced(hasDisplayModeAdvanced bool) *ScannerDeviceView

WithHasDisplayModeAdvanced sets support advanced scanning UI.

func (*ScannerDeviceView) WithHasDisplayModeSimple added in v0.17.0

func (sdv *ScannerDeviceView) WithHasDisplayModeSimple(hasDisplayModeSimple bool) *ScannerDeviceView

WithHasDisplayModeSimple sets support a simple scanning UI.

func (*ScannerDeviceView) WithMode added in v0.17.0

WithMode sets current display mode.

func (*ScannerDeviceView) WithOverviewControlLabel added in v0.17.0

func (sdv *ScannerDeviceView) WithOverviewControlLabel(overviewControlLabel string) *ScannerDeviceView

WithOverviewControlLabel sets label for the 'Overview' control.

func (*ScannerDeviceView) WithPostProcessApplication added in v0.17.0

func (sdv *ScannerDeviceView) WithPostProcessApplication(postProcessApplication string) *ScannerDeviceView

WithPostProcessApplication sets postprocessing application.

func (*ScannerDeviceView) WithScanControlLabel added in v0.17.0

func (sdv *ScannerDeviceView) WithScanControlLabel(scanControlLabel string) *ScannerDeviceView

WithScanControlLabel sets label for the 'Scan' control.

func (*ScannerDeviceView) WithScannerDevice added in v0.17.0

func (sdv *ScannerDeviceView) WithScannerDevice(scannerDevice obj.Object) *ScannerDeviceView

WithScannerDevice sets the scanner device.

func (*ScannerDeviceView) WithTransferMode added in v0.17.0

func (sdv *ScannerDeviceView) WithTransferMode(transferMode ScannerDeviceViewTransferMode) *ScannerDeviceView

WithTransferMode sets transfer mode either file based - or - in memory.

type ScannerDeviceViewDelegate added in v0.17.0

type ScannerDeviceViewDelegate interface {
}

ScannerDeviceViewDelegate receives the callbacks of the Objective-C protocol IKScannerDeviceViewDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (ScannerDeviceViewDelegate…Handler): implement the ones you need on the same value and the framework will call them too.

type ScannerDeviceViewDelegateScannerDeviceViewDidEncounterErrorHandler added in v0.17.0

type ScannerDeviceViewDelegateScannerDeviceViewDidEncounterErrorHandler interface {
	ScannerDeviceViewDidEncounterError(scannerDeviceView *ScannerDeviceView, err error)
}

ScannerDeviceViewDelegateScannerDeviceViewDidEncounterErrorHandler is the optional IKScannerDeviceViewDelegate method scannerDeviceView:didEncounterError:. Implement it on a ScannerDeviceViewDelegate value to receive that callback; a value without it is simply never sent one.

type ScannerDeviceViewDelegateScannerDeviceViewDidScanToBandDataScanInfoErrorHandler added in v0.17.0

type ScannerDeviceViewDelegateScannerDeviceViewDidScanToBandDataScanInfoErrorHandler interface {
	ScannerDeviceViewDidScanToBandDataScanInfoError(scannerDeviceView *ScannerDeviceView, data obj.Object, scanInfo obj.Object, err error)
}

ScannerDeviceViewDelegateScannerDeviceViewDidScanToBandDataScanInfoErrorHandler is the optional IKScannerDeviceViewDelegate method scannerDeviceView:didScanToBandData:scanInfo:error:. Implement it on a ScannerDeviceViewDelegate value to receive that callback; a value without it is simply never sent one.

type ScannerDeviceViewDelegateScannerDeviceViewDidScanToURLErrorHandler added in v0.17.0

type ScannerDeviceViewDelegateScannerDeviceViewDidScanToURLErrorHandler interface {
	ScannerDeviceViewDidScanToURLError(scannerDeviceView *ScannerDeviceView, url string, err error)
}

ScannerDeviceViewDelegateScannerDeviceViewDidScanToURLErrorHandler is the optional IKScannerDeviceViewDelegate method scannerDeviceView:didScanToURL:error:. Implement it on a ScannerDeviceViewDelegate value to receive that callback; a value without it is simply never sent one.

type ScannerDeviceViewDelegateScannerDeviceViewDidScanToURLFileDataErrorHandler added in v0.17.0

type ScannerDeviceViewDelegateScannerDeviceViewDidScanToURLFileDataErrorHandler interface {
	ScannerDeviceViewDidScanToURLFileDataError(scannerDeviceView *ScannerDeviceView, url string, data []byte, err error)
}

ScannerDeviceViewDelegateScannerDeviceViewDidScanToURLFileDataErrorHandler is the optional IKScannerDeviceViewDelegate method scannerDeviceView:didScanToURL:fileData:error:. Implement it on a ScannerDeviceViewDelegate value to receive that callback; a value without it is simply never sent one.

type ScannerDeviceViewDisplayMode added in v0.17.0

type ScannerDeviceViewDisplayMode int64
const (
	ScannerDeviceViewDisplayModeNone     ScannerDeviceViewDisplayMode = -1
	ScannerDeviceViewDisplayModeSimple   ScannerDeviceViewDisplayMode = 0
	ScannerDeviceViewDisplayModeAdvanced ScannerDeviceViewDisplayMode = 1
)

func (ScannerDeviceViewDisplayMode) String added in v0.17.0

String returns the ScannerDeviceViewDisplayMode constant's name, or its numeric form when the value is not a known constant.

type ScannerDeviceViewTransferMode added in v0.17.0

type ScannerDeviceViewTransferMode int64
const (
	ScannerDeviceViewTransferModeFileBased   ScannerDeviceViewTransferMode = 0
	ScannerDeviceViewTransferModeMemoryBased ScannerDeviceViewTransferMode = 1
)

func (ScannerDeviceViewTransferMode) String added in v0.17.0

String returns the ScannerDeviceViewTransferMode constant's name, or its numeric form when the value is not a known constant.

type Slideshow added in v0.17.0

type Slideshow struct {
	objref.Handle
}

Slideshow is an idiomatic wrapper over the Objective-C class IKSlideshow.

IKSlideshow handles a slideshow with images, PDFs & more.

func NewSlideshow added in v0.17.0

func NewSlideshow() *Slideshow

NewSlideshow creates a new Slideshow.

func SharedSlideshow added in v0.17.0

func SharedSlideshow() *Slideshow

SharedSlideshow returns shared instance of the IKSlideshow.

func SlideshowFromID added in v0.17.0

func SlideshowFromID(id objc.ID) *Slideshow

SlideshowFromID adopts an existing Objective-C object as a Slideshow (nil for 0), retaining it and registering a release finalizer.

func (*Slideshow) AutoPlayDelay added in v0.17.0

func (s *Slideshow) AutoPlayDelay() float64

AutoPlayDelay returns array of filters reflecting the current user adjustments in the adjust or effects tab.

func (*Slideshow) Description added in v0.17.0

func (s *Slideshow) Description() string

Description returns the object's -description text.

func (*Slideshow) IndexOfCurrentSlideshowItem added in v0.17.0

func (s *Slideshow) IndexOfCurrentSlideshowItem() int

IndexOfCurrentSlideshowItem returns index of current slideshow item.

func (*Slideshow) IsEqual added in v0.17.0

func (s *Slideshow) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*Slideshow) IsKind added in v0.17.0

func (s *Slideshow) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*Slideshow) ReloadData added in v0.17.0

func (s *Slideshow) ReloadData()

ReloadData reloadData.

func (*Slideshow) ReloadSlideshowItemAtIndex added in v0.17.0

func (s *Slideshow) ReloadSlideshowItemAtIndex(index int)

ReloadSlideshowItemAtIndex reloadSlideshowItemAtIndex.

func (*Slideshow) StopSlideshow added in v0.17.0

func (s *Slideshow) StopSlideshow(sender obj.Object)

StopSlideshow stop the slideshow.

func (*Slideshow) String added in v0.17.0

func (s *Slideshow) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*Slideshow) WithAutoPlayDelay added in v0.17.0

func (s *Slideshow) WithAutoPlayDelay(autoPlayDelay float64) *Slideshow

WithAutoPlayDelay sets array of filters reflecting the current user adjustments in the adjust or effects tab.

type SlideshowDataSource added in v0.17.0

type SlideshowDataSource interface {
	NumberOfSlideshowItems() int
	SlideshowItemAtIndex(index int) obj.Object
}

SlideshowDataSource is the Go form of the Objective-C protocol IKSlideshowDataSource.

type Tag added in v0.17.0

type Tag int32
const (
	TagUndefinedTag  Tag = 0
	TagExtendedAllow Tag = 1
	TagExtendedDeny  Tag = 2
)

func (Tag) String added in v0.17.0

func (e Tag) String() string

String returns the Tag constant's name, or its numeric form when the value is not a known constant.

type Type added in v0.17.0

type Type int32
const (
	TypeExtended Type = 256
	TypeAccess   Type = 0
	TypeDefault  Type = 1
	TypeAfs      Type = 2
	TypeCoda     Type = 3
	TypeNtfs     Type = 4
	TypeNwfs     Type = 5
)

func (Type) String added in v0.17.0

func (e Type) String() string

String returns the Type constant's name, or its numeric form when the value is not a known constant.

type VirtualMemoryGuardExceptionCode added in v0.17.0

type VirtualMemoryGuardExceptionCode uint32
const (
	KGUARD_EXC_DEALLOC_GAP                   VirtualMemoryGuardExceptionCode = 1
	KGUARD_EXC_RECLAIM_COPYIO_FAILURE        VirtualMemoryGuardExceptionCode = 2
	KGUARD_EXC_RECLAIM_INDEX_FAILURE         VirtualMemoryGuardExceptionCode = 4
	KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE    VirtualMemoryGuardExceptionCode = 8
	KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE    VirtualMemoryGuardExceptionCode = 9
	KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE         VirtualMemoryGuardExceptionCode = 10
	KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE         VirtualMemoryGuardExceptionCode = 11
	KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION  VirtualMemoryGuardExceptionCode = 12
	KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY    VirtualMemoryGuardExceptionCode = 13
	KGUARD_EXC_SEC_ACCESS_FAULT              VirtualMemoryGuardExceptionCode = 98
	KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT        VirtualMemoryGuardExceptionCode = 99
	KGUARD_EXC_SEC_COPY_DENIED               VirtualMemoryGuardExceptionCode = 100
	KGUARD_EXC_SEC_SHARING_DENIED            VirtualMemoryGuardExceptionCode = 101
	KGUARD_EXC_MTE_SYNC_FAULT                VirtualMemoryGuardExceptionCode = 200
	KGUARD_EXC_MTE_ASYNC_USER_FAULT          VirtualMemoryGuardExceptionCode = 201
	KGUARD_EXC_MTE_ASYNC_KERN_FAULT          VirtualMemoryGuardExceptionCode = 202
	KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 203
	KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 204
)

func (VirtualMemoryGuardExceptionCode) String added in v0.17.0

String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.

type XpcListenerCreateFlags added in v0.17.0

type XpcListenerCreateFlags uint64

Bitmask — values may be combined with |.

const (
	XpcListenerCreateFlagsNone            XpcListenerCreateFlags = 0
	XpcListenerCreateFlagsInactive        XpcListenerCreateFlags = 1
	XpcListenerCreateFlagsForceMach       XpcListenerCreateFlags = 2
	XpcListenerCreateFlagsForceXpcservice XpcListenerCreateFlags = 4
)

func (XpcListenerCreateFlags) String added in v0.17.0

func (e XpcListenerCreateFlags) String() string

String returns the XpcListenerCreateFlags constant's name, or its numeric form when the value is not a known constant.

type XpcSessionCreateFlags added in v0.17.0

type XpcSessionCreateFlags uint64

Bitmask — values may be combined with |.

const (
	XpcSessionCreateFlagsNone           XpcSessionCreateFlags = 0
	XpcSessionCreateFlagsInactive       XpcSessionCreateFlags = 1
	XpcSessionCreateFlagsMachPrivileged XpcSessionCreateFlags = 2
)

func (XpcSessionCreateFlags) String added in v0.17.0

func (e XpcSessionCreateFlags) String() string

String returns the XpcSessionCreateFlags constant's name, or its numeric form when the value is not a known constant.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL