quartz

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package quartz provides a fluent Go API over the macOS Quartz 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attributes added in v0.17.0

func Attributes() obj.Object

Attributes returns a dictionary that contains strings for the user interface that describe the custom patch.

func AttributesForPropertyPortWithKey added in v0.17.0

func AttributesForPropertyPortWithKey(key string) obj.Object

AttributesForPropertyPortWithKey returns a dictionary that contains strings for the user interface that describe the optional attributes for ports created from properties.

func CanExportToApplication added in v0.17.0

func CanExportToApplication(applicationBundleIdentifier string) bool

CanExportToApplication finds out whether the slideshow can export its contents to an application.

func ExportSlideshowItemToApplication added in v0.17.0

func ExportSlideshowItemToApplication(item obj.Object, applicationBundleIdentifier string)

ExportSlideshowItemToApplication exports a slideshow item to the application that has the provided bundle identifier.

func FilterBrowserPanelWithStyleMask added in v0.17.0

func FilterBrowserPanelWithStyleMask(styleMask int) obj.Object

FilterBrowserPanelWithStyleMask creates a shared instance of the IKFilterBrowserPanel class.

func FiltersInDomains added in v0.17.0

func FiltersInDomains(domains obj.Object) obj.Object

FiltersInDomains wraps the corresponding Objective-C method.

func PictureTaker added in v0.17.0

func PictureTaker() obj.Object

PictureTaker returns a shared IKPictureTaker instance, creating it if necessary.

func PlugInKeys added in v0.17.0

func PlugInKeys() obj.Object

PlugInKeys returns the keys for the internal settings of a custom patch.

func SharedImageEditPanel added in v0.17.0

func SharedImageEditPanel() obj.Object

SharedImageEditPanel creates a shared instance of an image editing panel.

func SharedSlideshow added in v0.17.0

func SharedSlideshow() obj.Object

SharedSlideshow returns a shared instance of a slideshow.

func SortedPropertyPortKeys added in v0.17.0

func SortedPropertyPortKeys() obj.Object

SortedPropertyPortKeys returns and array of property port keys in the order you want them to appear in the user interface.

func ViewWithFrameFilter added in v0.17.0

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

ViewWithFrameFilter creates a view that contains controls for the input parameters of a filter.

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 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 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 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 IKCameraDeviceView

type IKCameraDeviceView struct {
	objref.Handle
}

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

The IKCameraDeviceView class displays the contents of the selected camera.

func IKCameraDeviceViewFromID

func IKCameraDeviceViewFromID(id objc.ID) *IKCameraDeviceView

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

func NewIKCameraDeviceView added in v0.17.0

func NewIKCameraDeviceView() *IKCameraDeviceView

NewIKCameraDeviceView creates a new IKCameraDeviceView.

func (*IKCameraDeviceView) CameraDevice

func (icdv *IKCameraDeviceView) CameraDevice() obj.Object

CameraDevice returns the camera device.

func (*IKCameraDeviceView) CanDeleteSelectedItems

func (icdv *IKCameraDeviceView) CanDeleteSelectedItems() bool

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

func (*IKCameraDeviceView) CanDownloadSelectedItems

func (icdv *IKCameraDeviceView) CanDownloadSelectedItems() bool

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

func (*IKCameraDeviceView) CanRotateSelectedItemsLeft

func (icdv *IKCameraDeviceView) CanRotateSelectedItemsLeft() bool

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

func (*IKCameraDeviceView) CanRotateSelectedItemsRight

func (icdv *IKCameraDeviceView) CanRotateSelectedItemsRight() bool

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

func (*IKCameraDeviceView) Delegate

func (icdv *IKCameraDeviceView) Delegate() obj.Object

Delegate returns delegate of the IKCameraDeviceView.

func (*IKCameraDeviceView) DeleteSelectedItems

func (icdv *IKCameraDeviceView) DeleteSelectedItems(sender obj.Object)

DeleteSelectedItems deletes the currently selected items.

func (*IKCameraDeviceView) Description added in v0.17.0

func (icdv *IKCameraDeviceView) Description() string

Description returns the object's -description text.

func (*IKCameraDeviceView) DisplaysDownloadsDirectoryControl

func (icdv *IKCameraDeviceView) DisplaysDownloadsDirectoryControl() bool

DisplaysDownloadsDirectoryControl reports whether show a downloads directory control.

func (*IKCameraDeviceView) DisplaysPostProcessApplicationControl

func (icdv *IKCameraDeviceView) DisplaysPostProcessApplicationControl() bool

DisplaysPostProcessApplicationControl reports whether show a postprocessing application control.

func (*IKCameraDeviceView) DownloadAllControlLabel

func (icdv *IKCameraDeviceView) DownloadAllControlLabel() string

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

func (*IKCameraDeviceView) DownloadAllItems

func (icdv *IKCameraDeviceView) DownloadAllItems(sender obj.Object)

DownloadAllItems downloads all the items.

func (*IKCameraDeviceView) DownloadSelectedControlLabel

func (icdv *IKCameraDeviceView) DownloadSelectedControlLabel() string

DownloadSelectedControlLabel returns label for the 'Download Selected' control.

func (*IKCameraDeviceView) DownloadSelectedItems

func (icdv *IKCameraDeviceView) DownloadSelectedItems(sender obj.Object)

DownloadSelectedItems deletes the selected items from the camera.

func (*IKCameraDeviceView) DownloadsDirectory

func (icdv *IKCameraDeviceView) DownloadsDirectory() string

DownloadsDirectory returns downloads directory.

func (*IKCameraDeviceView) HasDisplayModeIcon

func (icdv *IKCameraDeviceView) HasDisplayModeIcon() bool

HasDisplayModeIcon reports whether support icon view display mode.

func (*IKCameraDeviceView) HasDisplayModeTable

func (icdv *IKCameraDeviceView) HasDisplayModeTable() bool

HasDisplayModeTable reports whether support table view display mode.

func (*IKCameraDeviceView) IconSize

func (icdv *IKCameraDeviceView) IconSize() int

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

func (*IKCameraDeviceView) IsEqual added in v0.17.0

func (icdv *IKCameraDeviceView) IsEqual(other obj.Object) bool

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

func (*IKCameraDeviceView) IsKind added in v0.17.0

func (icdv *IKCameraDeviceView) IsKind(className string) bool

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

func (*IKCameraDeviceView) Mode

func (icdv *IKCameraDeviceView) Mode() obj.Object

Mode returns current display mode.

func (*IKCameraDeviceView) PostProcessApplication

func (icdv *IKCameraDeviceView) PostProcessApplication() string

PostProcessApplication returns postprocessing application.

func (*IKCameraDeviceView) RotateLeft

func (icdv *IKCameraDeviceView) RotateLeft(sender obj.Object)

RotateLeft rotates the selected image to the left.

func (*IKCameraDeviceView) RotateRight

func (icdv *IKCameraDeviceView) RotateRight(sender obj.Object)

RotateRight rotates the selected image to the right.

func (*IKCameraDeviceView) SelectIndexesByExtendingSelection

func (icdv *IKCameraDeviceView) SelectIndexesByExtendingSelection(indexes obj.Object, extend bool)

SelectIndexesByExtendingSelection invoked to select the specified files, extending the selection if specified.

func (*IKCameraDeviceView) SelectedIndexes

func (icdv *IKCameraDeviceView) SelectedIndexes() *foundation.IndexSet

SelectedIndexes returns the selected indexes of the camera files.

func (*IKCameraDeviceView) SetCustomActionControl

func (icdv *IKCameraDeviceView) SetCustomActionControl(control obj.Object)

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

func (*IKCameraDeviceView) SetCustomDeleteControl

func (icdv *IKCameraDeviceView) SetCustomDeleteControl(control obj.Object)

SetCustomDeleteControl provide your own control to delete selected items

func (*IKCameraDeviceView) SetCustomIconSizeSlider

func (icdv *IKCameraDeviceView) SetCustomIconSizeSlider(slider obj.Object)

SetCustomIconSizeSlider provide your own NSSlider to resize item thumbnails

func (*IKCameraDeviceView) SetCustomModeControl

func (icdv *IKCameraDeviceView) SetCustomModeControl(control obj.Object)

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

func (*IKCameraDeviceView) SetCustomRotateControl

func (icdv *IKCameraDeviceView) SetCustomRotateControl(control obj.Object)

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

func (*IKCameraDeviceView) SetShowStatusInfoAsWindowSubtitle

func (icdv *IKCameraDeviceView) SetShowStatusInfoAsWindowSubtitle(value bool)

SetShowStatusInfoAsWindowSubtitle display status info as window subtitle

func (*IKCameraDeviceView) String added in v0.17.0

func (icdv *IKCameraDeviceView) String() string

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

func (*IKCameraDeviceView) TransferMode

func (icdv *IKCameraDeviceView) TransferMode() obj.Object

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

func (*IKCameraDeviceView) WithCameraDevice added in v0.17.0

func (icdv *IKCameraDeviceView) WithCameraDevice(cameraDevice obj.Object) *IKCameraDeviceView

WithCameraDevice sets the current camera device.

func (*IKCameraDeviceView) WithDelegate added in v0.17.0

func (icdv *IKCameraDeviceView) WithDelegate(delegate obj.Object) *IKCameraDeviceView

WithDelegate sets the camera device view delegate.

func (*IKCameraDeviceView) WithDisplaysDownloadsDirectoryControl added in v0.17.0

func (icdv *IKCameraDeviceView) WithDisplaysDownloadsDirectoryControl(displaysDownloadsDirectoryControl bool) *IKCameraDeviceView

WithDisplaysDownloadsDirectoryControl sets specifies whether the downloads directory control should be displayed.

func (*IKCameraDeviceView) WithDisplaysPostProcessApplicationControl added in v0.17.0

func (icdv *IKCameraDeviceView) WithDisplaysPostProcessApplicationControl(displaysPostProcessApplicationControl bool) *IKCameraDeviceView

WithDisplaysPostProcessApplicationControl sets displays whether the post process application control should be displayed.

func (*IKCameraDeviceView) WithDownloadAllControlLabel added in v0.17.0

func (icdv *IKCameraDeviceView) WithDownloadAllControlLabel(downloadAllControlLabel string) *IKCameraDeviceView

WithDownloadAllControlLabel sets allows the “Download All” control to be renamed.

func (*IKCameraDeviceView) WithDownloadSelectedControlLabel added in v0.17.0

func (icdv *IKCameraDeviceView) WithDownloadSelectedControlLabel(downloadSelectedControlLabel string) *IKCameraDeviceView

WithDownloadSelectedControlLabel sets allows the “Download Selected” control to be renamed.

func (*IKCameraDeviceView) WithDownloadsDirectory added in v0.17.0

func (icdv *IKCameraDeviceView) WithDownloadsDirectory(downloadsDirectory string) *IKCameraDeviceView

WithDownloadsDirectory sets specifies the directory where files are downloaded

func (*IKCameraDeviceView) WithHasDisplayModeIcon added in v0.17.0

func (icdv *IKCameraDeviceView) WithHasDisplayModeIcon(hasDisplayModeIcon bool) *IKCameraDeviceView

WithHasDisplayModeIcon sets returns whether the device view is being displayed in icon mode.

func (*IKCameraDeviceView) WithHasDisplayModeTable added in v0.17.0

func (icdv *IKCameraDeviceView) WithHasDisplayModeTable(hasDisplayModeTable bool) *IKCameraDeviceView

WithHasDisplayModeTable sets returns whether the device view is being displayed in table mode.

func (*IKCameraDeviceView) WithIconSize added in v0.17.0

func (icdv *IKCameraDeviceView) WithIconSize(iconSize int) *IKCameraDeviceView

WithIconSize sets specifies the icon size.

func (*IKCameraDeviceView) WithMode added in v0.17.0

func (icdv *IKCameraDeviceView) WithMode(mode obj.Object) *IKCameraDeviceView

WithMode sets specifies the display mode of the camera device view.

func (*IKCameraDeviceView) WithPostProcessApplication added in v0.17.0

func (icdv *IKCameraDeviceView) WithPostProcessApplication(postProcessApplication string) *IKCameraDeviceView

WithPostProcessApplication sets the URL of the application used to post process the image.

func (*IKCameraDeviceView) WithTransferMode added in v0.17.0

func (icdv *IKCameraDeviceView) WithTransferMode(transferMode obj.Object) *IKCameraDeviceView

WithTransferMode sets determines how the contents are saved by the delegate.

type IKDeviceBrowserView

type IKDeviceBrowserView struct {
	objref.Handle
}

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

The IKDeviceBrowserView allows you to select a camera or scanner from a list of the available devices.

func IKDeviceBrowserViewFromID

func IKDeviceBrowserViewFromID(id objc.ID) *IKDeviceBrowserView

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

func NewIKDeviceBrowserView added in v0.17.0

func NewIKDeviceBrowserView() *IKDeviceBrowserView

NewIKDeviceBrowserView creates a new IKDeviceBrowserView.

func (*IKDeviceBrowserView) Delegate

func (idbv *IKDeviceBrowserView) Delegate() obj.Object

Delegate returns delegate of the IKDeviceBrowserView.

func (*IKDeviceBrowserView) Description added in v0.17.0

func (idbv *IKDeviceBrowserView) Description() string

Description returns the object's -description text.

func (*IKDeviceBrowserView) DisplaysLocalCameras

func (idbv *IKDeviceBrowserView) DisplaysLocalCameras() bool

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

func (*IKDeviceBrowserView) DisplaysLocalScanners

func (idbv *IKDeviceBrowserView) DisplaysLocalScanners() bool

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

func (*IKDeviceBrowserView) DisplaysNetworkCameras

func (idbv *IKDeviceBrowserView) DisplaysNetworkCameras() bool

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

func (*IKDeviceBrowserView) DisplaysNetworkScanners

func (idbv *IKDeviceBrowserView) DisplaysNetworkScanners() bool

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

func (*IKDeviceBrowserView) IsEqual added in v0.17.0

func (idbv *IKDeviceBrowserView) IsEqual(other obj.Object) bool

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

func (*IKDeviceBrowserView) IsKind added in v0.17.0

func (idbv *IKDeviceBrowserView) IsKind(className string) bool

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

func (*IKDeviceBrowserView) Mode

func (idbv *IKDeviceBrowserView) Mode() obj.Object

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

func (*IKDeviceBrowserView) SelectedDevice

func (idbv *IKDeviceBrowserView) SelectedDevice() obj.Object

SelectedDevice returns user selected device (ICCameraDevice or ICScannerDevice).

func (*IKDeviceBrowserView) String added in v0.17.0

func (idbv *IKDeviceBrowserView) String() string

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

func (*IKDeviceBrowserView) WithDelegate added in v0.17.0

func (idbv *IKDeviceBrowserView) WithDelegate(delegate obj.Object) *IKDeviceBrowserView

WithDelegate sets specifies the delegate object.

func (*IKDeviceBrowserView) WithDisplaysLocalCameras added in v0.17.0

func (idbv *IKDeviceBrowserView) WithDisplaysLocalCameras(displaysLocalCameras bool) *IKDeviceBrowserView

WithDisplaysLocalCameras sets specifies whether local cameras are displayed by the browser.

func (*IKDeviceBrowserView) WithDisplaysLocalScanners added in v0.17.0

func (idbv *IKDeviceBrowserView) WithDisplaysLocalScanners(displaysLocalScanners bool) *IKDeviceBrowserView

WithDisplaysLocalScanners sets specifies whether local scanners are displayed by the browser.

func (*IKDeviceBrowserView) WithDisplaysNetworkCameras added in v0.17.0

func (idbv *IKDeviceBrowserView) WithDisplaysNetworkCameras(displaysNetworkCameras bool) *IKDeviceBrowserView

WithDisplaysNetworkCameras sets specifies whether network cameras are displayed by the browser.

func (*IKDeviceBrowserView) WithDisplaysNetworkScanners added in v0.17.0

func (idbv *IKDeviceBrowserView) WithDisplaysNetworkScanners(displaysNetworkScanners bool) *IKDeviceBrowserView

WithDisplaysNetworkScanners sets specifies whether network scanners are displayed by the browser.

func (*IKDeviceBrowserView) WithMode added in v0.17.0

func (idbv *IKDeviceBrowserView) WithMode(mode obj.Object) *IKDeviceBrowserView

WithMode sets specifies the browser display mode.

type IKFilterBrowserPanel

type IKFilterBrowserPanel struct {
	objref.Handle
}

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

Presents a user interface for browsing filters.

func IKFilterBrowserPanelFromID

func IKFilterBrowserPanelFromID(id objc.ID) *IKFilterBrowserPanel

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

func NewIKFilterBrowserPanel added in v0.17.0

func NewIKFilterBrowserPanel() *IKFilterBrowserPanel

NewIKFilterBrowserPanel creates a new IKFilterBrowserPanel.

func (*IKFilterBrowserPanel) Description added in v0.17.0

func (ifbp *IKFilterBrowserPanel) Description() string

Description returns the object's -description text.

func (*IKFilterBrowserPanel) FilterName

func (ifbp *IKFilterBrowserPanel) FilterName() string

FilterName returns the name of the filter that is currently selected in the filter browser.

func (*IKFilterBrowserPanel) IsEqual added in v0.17.0

func (ifbp *IKFilterBrowserPanel) IsEqual(other obj.Object) bool

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

func (*IKFilterBrowserPanel) IsKind added in v0.17.0

func (ifbp *IKFilterBrowserPanel) IsKind(className string) bool

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

func (*IKFilterBrowserPanel) String added in v0.17.0

func (ifbp *IKFilterBrowserPanel) String() string

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

type IKFilterBrowserView

type IKFilterBrowserView struct {
	objref.Handle
}

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

The IKFilterBrowserView class is used as a container for the elements of an IKFilterBrowserPanel object.

func IKFilterBrowserViewFromID

func IKFilterBrowserViewFromID(id objc.ID) *IKFilterBrowserView

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

func NewIKFilterBrowserView added in v0.17.0

func NewIKFilterBrowserView() *IKFilterBrowserView

NewIKFilterBrowserView creates a new IKFilterBrowserView.

func (*IKFilterBrowserView) Description added in v0.17.0

func (ifbv *IKFilterBrowserView) Description() string

Description returns the object's -description text.

func (*IKFilterBrowserView) FilterName

func (ifbv *IKFilterBrowserView) FilterName() string

FilterName returns the name of the filter that is currently selected in the filter browser.

func (*IKFilterBrowserView) IsEqual added in v0.17.0

func (ifbv *IKFilterBrowserView) IsEqual(other obj.Object) bool

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

func (*IKFilterBrowserView) IsKind added in v0.17.0

func (ifbv *IKFilterBrowserView) IsKind(className string) bool

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

func (*IKFilterBrowserView) SetPreviewState

func (ifbv *IKFilterBrowserView) SetPreviewState(inState bool)

SetPreviewState sets the preview state.

func (*IKFilterBrowserView) String added in v0.17.0

func (ifbv *IKFilterBrowserView) String() string

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

type IKFilterUIView

type IKFilterUIView struct {
	objref.Handle
}

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

Input parameters for filtering core image filters.

func IKFilterUIViewFromID

func IKFilterUIViewFromID(id objc.ID) *IKFilterUIView

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

func NewIKFilterUIViewWithFrameFilter added in v0.17.0

func NewIKFilterUIViewWithFrameFilter(frameRect corefoundation.CGRect, inFilter obj.Object) *IKFilterUIView

NewIKFilterUIViewWithFrameFilter initializes a view that contains controls for the input parameters of a filter.

func (*IKFilterUIView) Description added in v0.17.0

func (ifuv *IKFilterUIView) Description() string

Description returns the object's -description text.

func (*IKFilterUIView) Filter

func (ifuv *IKFilterUIView) Filter() obj.Object

Filter returns the Core Image filter associated with the view.

func (*IKFilterUIView) IsEqual added in v0.17.0

func (ifuv *IKFilterUIView) IsEqual(other obj.Object) bool

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

func (*IKFilterUIView) IsKind added in v0.17.0

func (ifuv *IKFilterUIView) IsKind(className string) bool

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

func (*IKFilterUIView) ObjectController

func (ifuv *IKFilterUIView) ObjectController() obj.Object

ObjectController returns the object controller for the bindings between the filter and its view.

func (*IKFilterUIView) String added in v0.17.0

func (ifuv *IKFilterUIView) String() string

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

type IKImageBrowserCell

type IKImageBrowserCell struct {
	objref.Handle
}

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

A class used to display a cell.

func IKImageBrowserCellFromID

func IKImageBrowserCellFromID(id objc.ID) *IKImageBrowserCell

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

func NewIKImageBrowserCell added in v0.17.0

func NewIKImageBrowserCell() *IKImageBrowserCell

NewIKImageBrowserCell creates a new IKImageBrowserCell.

func (*IKImageBrowserCell) CellState

func (iibc *IKImageBrowserCell) CellState() IKImageBrowserCellState

CellState returns the current cell state of the receiver.

func (*IKImageBrowserCell) Description added in v0.17.0

func (iibc *IKImageBrowserCell) Description() string

Description returns the object's -description text.

func (*IKImageBrowserCell) Frame

Frame returns the receiver’s frame rectangle, which defines its position in its IKImageBrowserView.

func (*IKImageBrowserCell) ImageBrowserView

func (iibc *IKImageBrowserCell) ImageBrowserView() obj.Object

ImageBrowserView returns the view the receiver uses to display the cell.

func (*IKImageBrowserCell) ImageContainerFrame

func (iibc *IKImageBrowserCell) ImageContainerFrame() corefoundation.CGRect

ImageContainerFrame returns the receiver’s image container frame rectangle, which defines the position of the container of the thumbnail.

func (*IKImageBrowserCell) ImageFrame

func (iibc *IKImageBrowserCell) ImageFrame() corefoundation.CGRect

ImageFrame returns the receiver’s image frame rectangle, which defines the position of the thumbnail in its IKImageBrowserView.

func (*IKImageBrowserCell) IndexOfRepresentedItem

func (iibc *IKImageBrowserCell) IndexOfRepresentedItem() int

IndexOfRepresentedItem returns the index of the receiver’s represented object in the datasource.

func (*IKImageBrowserCell) IsEqual added in v0.17.0

func (iibc *IKImageBrowserCell) IsEqual(other obj.Object) bool

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

func (*IKImageBrowserCell) IsKind added in v0.17.0

func (iibc *IKImageBrowserCell) IsKind(className string) bool

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

func (*IKImageBrowserCell) IsSelected

func (iibc *IKImageBrowserCell) IsSelected() bool

IsSelected reports whether the cell is selected.

func (*IKImageBrowserCell) LayerForType

func (iibc *IKImageBrowserCell) LayerForType(type_ string) obj.Object

LayerForType returns a layer for the specified position.

func (*IKImageBrowserCell) Opacity

func (iibc *IKImageBrowserCell) Opacity() float64

Opacity returns the opacity of the receiver.

func (*IKImageBrowserCell) RepresentedItem

func (iibc *IKImageBrowserCell) RepresentedItem() obj.Object

RepresentedItem returns the receiver’s represented object.

func (*IKImageBrowserCell) SelectionFrame

func (iibc *IKImageBrowserCell) SelectionFrame() corefoundation.CGRect

SelectionFrame returns the receiver’s selection frame rectangle, which defines the position of the selection rectangle in its IKImageBrowserView.

func (*IKImageBrowserCell) String added in v0.17.0

func (iibc *IKImageBrowserCell) String() string

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

func (*IKImageBrowserCell) SubtitleFrame

func (iibc *IKImageBrowserCell) SubtitleFrame() corefoundation.CGRect

SubtitleFrame returns the receiver’s subtitle frame rectangle.

func (*IKImageBrowserCell) TitleFrame

func (iibc *IKImageBrowserCell) TitleFrame() corefoundation.CGRect

TitleFrame returns the receiver’s title frame rectangle.

type IKImageBrowserCellState

type IKImageBrowserCellState int32

The possible states for the browser cell. These values are used by the cellState method.

const (
	IKImageStateNoImage IKImageBrowserCellState = 0
	IKImageStateInvalid IKImageBrowserCellState = 1
	IKImageStateReady   IKImageBrowserCellState = 2
)

func (IKImageBrowserCellState) String

func (e IKImageBrowserCellState) String() string

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

type IKImageBrowserDropOperation

type IKImageBrowserDropOperation int32

These constants specify the locations for dropping items onto the browser view. Used by the method setDropIndex:dropOperation:.

const (
	IKImageBrowserDropOn     IKImageBrowserDropOperation = 0
	IKImageBrowserDropBefore IKImageBrowserDropOperation = 1
)

func (IKImageBrowserDropOperation) String

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

type IKImageBrowserView

type IKImageBrowserView struct {
	objref.Handle
}

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

A view for displaying and browsing a large collection of images and movies.

func IKImageBrowserViewFromID

func IKImageBrowserViewFromID(id objc.ID) *IKImageBrowserView

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

func NewIKImageBrowserView added in v0.17.0

func NewIKImageBrowserView() *IKImageBrowserView

NewIKImageBrowserView creates a new IKImageBrowserView.

func (*IKImageBrowserView) Description added in v0.17.0

func (iibv *IKImageBrowserView) Description() string

Description returns the object's -description text.

func (*IKImageBrowserView) IsEqual added in v0.17.0

func (iibv *IKImageBrowserView) IsEqual(other obj.Object) bool

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

func (*IKImageBrowserView) IsKind added in v0.17.0

func (iibv *IKImageBrowserView) IsKind(className string) bool

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

func (*IKImageBrowserView) String added in v0.17.0

func (iibv *IKImageBrowserView) String() string

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

type IKImageEditPanel

type IKImageEditPanel struct {
	objref.Handle
}

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

The IKImageEditPanel class provides a panel, that is, a utility window that floats on top of document windows, optimized for image editing.

func IKImageEditPanelFromID

func IKImageEditPanelFromID(id objc.ID) *IKImageEditPanel

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

func NewIKImageEditPanel added in v0.17.0

func NewIKImageEditPanel() *IKImageEditPanel

NewIKImageEditPanel creates a new IKImageEditPanel.

func (*IKImageEditPanel) DataSource

func (iiep *IKImageEditPanel) DataSource() obj.Object

DataSource returns data source associated with an image editing panel

func (*IKImageEditPanel) Description added in v0.17.0

func (iiep *IKImageEditPanel) Description() string

Description returns the object's -description text.

func (*IKImageEditPanel) FilterArray

func (iiep *IKImageEditPanel) FilterArray() obj.Object

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

func (*IKImageEditPanel) IsEqual added in v0.17.0

func (iiep *IKImageEditPanel) IsEqual(other obj.Object) bool

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

func (*IKImageEditPanel) IsKind added in v0.17.0

func (iiep *IKImageEditPanel) IsKind(className string) bool

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

func (*IKImageEditPanel) ReloadData

func (iiep *IKImageEditPanel) ReloadData()

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

func (*IKImageEditPanel) String added in v0.17.0

func (iiep *IKImageEditPanel) String() string

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

func (*IKImageEditPanel) WithDataSource added in v0.17.0

func (iiep *IKImageEditPanel) WithDataSource(dataSource obj.Object) *IKImageEditPanel

WithDataSource sets specifies the edit panel’s dataSource.

type IKImageView

type IKImageView struct {
	objref.Handle
}

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

A view that allows displaying and minor editing of an image.

func IKImageViewFromID

func IKImageViewFromID(id objc.ID) *IKImageView

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

func NewIKImageView added in v0.17.0

func NewIKImageView() *IKImageView

NewIKImageView creates a new IKImageView.

func (*IKImageView) AutohidesScrollers

func (iiv *IKImageView) AutohidesScrollers() bool

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

func (*IKImageView) Autoresizes

func (iiv *IKImageView) Autoresizes() bool

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

func (*IKImageView) BackgroundColor

func (iiv *IKImageView) BackgroundColor() obj.Object

BackgroundColor specifies the background color for the image view.

func (*IKImageView) ConvertImagePointToViewPoint

func (iiv *IKImageView) ConvertImagePointToViewPoint(imagePoint corefoundation.CGPoint) corefoundation.CGPoint

ConvertImagePointToViewPoint converts an image coordinate to an image view coordinate.

func (*IKImageView) ConvertImageRectToViewRect

func (iiv *IKImageView) ConvertImageRectToViewRect(imageRect corefoundation.CGRect) corefoundation.CGRect

ConvertImageRectToViewRect converts an image rectangle to an image view rectangle.

func (*IKImageView) ConvertViewPointToImagePoint

func (iiv *IKImageView) ConvertViewPointToImagePoint(viewPoint corefoundation.CGPoint) corefoundation.CGPoint

ConvertViewPointToImagePoint converts an image view coordinate to an image coordinate.

func (*IKImageView) ConvertViewRectToImageRect

func (iiv *IKImageView) ConvertViewRectToImageRect(viewRect corefoundation.CGRect) corefoundation.CGRect

ConvertViewRectToImageRect converts an image view rectangle to an image rectangle.

func (*IKImageView) Crop

func (iiv *IKImageView) Crop(sender obj.Object)

Crop crops the image using the current selection.

func (*IKImageView) CurrentToolMode

func (iiv *IKImageView) CurrentToolMode() string

CurrentToolMode specifies the current tool mode for the image view.

func (*IKImageView) Delegate

func (iiv *IKImageView) Delegate() obj.Object

Delegate specifies the delegate object of the receiver.

func (*IKImageView) Description added in v0.17.0

func (iiv *IKImageView) Description() string

Description returns the object's -description text.

func (*IKImageView) DoubleClickOpensImageEditPanel

func (iiv *IKImageView) DoubleClickOpensImageEditPanel() bool

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

func (*IKImageView) Editable

func (iiv *IKImageView) Editable() bool

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

func (*IKImageView) FlipImageHorizontal

func (iiv *IKImageView) FlipImageHorizontal(sender obj.Object)

FlipImageHorizontal flips an image along the horizontal axis.

func (*IKImageView) FlipImageVertical

func (iiv *IKImageView) FlipImageVertical(sender obj.Object)

FlipImageVertical flips an image along the vertical axis.

func (*IKImageView) HasHorizontalScroller

func (iiv *IKImageView) HasHorizontalScroller() bool

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

func (*IKImageView) HasVerticalScroller

func (iiv *IKImageView) HasVerticalScroller() bool

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

func (*IKImageView) Image

func (iiv *IKImageView) Image() coregraphics.CGImageRef

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

func (*IKImageView) ImageCorrection

func (iiv *IKImageView) ImageCorrection() obj.Object

ImageCorrection specifies a Core Image filter for image correction.

func (*IKImageView) ImageProperties

func (iiv *IKImageView) ImageProperties() obj.Object

ImageProperties returns the metadata for the image in the view.

func (*IKImageView) ImageSize

func (iiv *IKImageView) ImageSize() corefoundation.CGSize

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

func (*IKImageView) IsEqual added in v0.17.0

func (iiv *IKImageView) IsEqual(other obj.Object) bool

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

func (*IKImageView) IsKind added in v0.17.0

func (iiv *IKImageView) IsKind(className string) bool

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

func (*IKImageView) OverlayForType

func (iiv *IKImageView) OverlayForType(layerType string) obj.Object

OverlayForType returns the Core Animation layer associated with a layer type.

func (*IKImageView) RotateImageLeft

func (iiv *IKImageView) RotateImageLeft(sender obj.Object)

RotateImageLeft rotates the image left (counter-clockwise).

func (*IKImageView) RotateImageRight

func (iiv *IKImageView) RotateImageRight(sender obj.Object)

RotateImageRight rotates the image right (clockwise).

func (*IKImageView) RotationAngle

func (iiv *IKImageView) RotationAngle() float64

RotationAngle specifies the rotation angle for the image view.

func (*IKImageView) ScrollToPoint

func (iiv *IKImageView) ScrollToPoint(point corefoundation.CGPoint)

ScrollToPoint scrolls the view to the specified point.

func (*IKImageView) ScrollToRect

func (iiv *IKImageView) ScrollToRect(rect corefoundation.CGRect)

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

func (*IKImageView) SetImageImageProperties

func (iiv *IKImageView) SetImageImageProperties(image coregraphics.CGImageRef, metaData obj.Object)

SetImageImageProperties sets the image to display in an image view.

func (*IKImageView) SetImageWithURL

func (iiv *IKImageView) SetImageWithURL(url string)

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

func (*IKImageView) SetImageZoomFactorCenterPoint

func (iiv *IKImageView) SetImageZoomFactorCenterPoint(zoomFactor float64, centerPoint corefoundation.CGPoint)

SetImageZoomFactorCenterPoint sets the zoom factor at the provided origin.

func (*IKImageView) SetOverlayForType

func (iiv *IKImageView) SetOverlayForType(layer obj.Object, layerType string)

SetOverlayForType sets an overlay type for a Core Animation layer.

func (*IKImageView) SetRotationAngleCenterPoint

func (iiv *IKImageView) SetRotationAngleCenterPoint(rotationAngle float64, centerPoint corefoundation.CGPoint)

SetRotationAngleCenterPoint sets the rotation angle at the provided origin.

func (*IKImageView) String added in v0.17.0

func (iiv *IKImageView) String() string

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

func (*IKImageView) SupportsDragAndDrop

func (iiv *IKImageView) SupportsDragAndDrop() bool

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

func (*IKImageView) WithAutohidesScrollers added in v0.17.0

func (iiv *IKImageView) WithAutohidesScrollers(autohidesScrollers bool) *IKImageView

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

func (*IKImageView) WithAutoresizes added in v0.17.0

func (iiv *IKImageView) WithAutoresizes(autoresizes bool) *IKImageView

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

func (*IKImageView) WithBackgroundColor added in v0.17.0

func (iiv *IKImageView) WithBackgroundColor(backgroundColor obj.Object) *IKImageView

WithBackgroundColor sets specifies the background color for the image view.

func (*IKImageView) WithCurrentToolMode added in v0.17.0

func (iiv *IKImageView) WithCurrentToolMode(currentToolMode string) *IKImageView

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

func (*IKImageView) WithDelegate added in v0.17.0

func (iiv *IKImageView) WithDelegate(delegate obj.Object) *IKImageView

WithDelegate sets specifies the delegate object of the receiver.

func (*IKImageView) WithDoubleClickOpensImageEditPanel added in v0.17.0

func (iiv *IKImageView) WithDoubleClickOpensImageEditPanel(doubleClickOpensImageEditPanel bool) *IKImageView

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

func (*IKImageView) WithEditable added in v0.17.0

func (iiv *IKImageView) WithEditable(editable bool) *IKImageView

WithEditable sets specifies the editable state for the image view.

func (*IKImageView) WithHasHorizontalScroller added in v0.17.0

func (iiv *IKImageView) WithHasHorizontalScroller(hasHorizontalScroller bool) *IKImageView

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

func (*IKImageView) WithHasVerticalScroller added in v0.17.0

func (iiv *IKImageView) WithHasVerticalScroller(hasVerticalScroller bool) *IKImageView

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

func (*IKImageView) WithImageCorrection added in v0.17.0

func (iiv *IKImageView) WithImageCorrection(imageCorrection obj.Object) *IKImageView

WithImageCorrection sets specifies a Core Image filter for image correction.

func (*IKImageView) WithRotationAngle added in v0.17.0

func (iiv *IKImageView) WithRotationAngle(rotationAngle float64) *IKImageView

WithRotationAngle sets specifies the rotation angle for the image view.

func (*IKImageView) WithSupportsDragAndDrop added in v0.17.0

func (iiv *IKImageView) WithSupportsDragAndDrop(supportsDragAndDrop bool) *IKImageView

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

func (*IKImageView) WithZoomFactor added in v0.17.0

func (iiv *IKImageView) WithZoomFactor(zoomFactor float64) *IKImageView

WithZoomFactor sets specifies the zoom factor for the image view.

func (*IKImageView) ZoomFactor

func (iiv *IKImageView) ZoomFactor() float64

ZoomFactor specifies the zoom factor for the image view.

func (*IKImageView) ZoomImageToActualSize

func (iiv *IKImageView) ZoomImageToActualSize(sender obj.Object)

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

func (*IKImageView) ZoomImageToFit

func (iiv *IKImageView) ZoomImageToFit(sender obj.Object)

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

func (*IKImageView) ZoomImageToRect

func (iiv *IKImageView) ZoomImageToRect(rect corefoundation.CGRect)

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

func (*IKImageView) ZoomIn

func (iiv *IKImageView) ZoomIn(sender obj.Object)

ZoomIn zooms the image in.

func (*IKImageView) ZoomOut

func (iiv *IKImageView) ZoomOut(sender obj.Object)

ZoomOut zooms the image out.

type IKPictureTaker

type IKPictureTaker struct {
	objref.Handle
}

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

The IKPictureTaker class represents a panel that allows users to choose images by browsing the file system. The picture taker panel provides an Open Recent menu, supports image cropping, and supports taking snapshots from an iSight or other digital camera.

func IKPictureTakerFromID

func IKPictureTakerFromID(id objc.ID) *IKPictureTaker

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

func NewIKPictureTaker added in v0.17.0

func NewIKPictureTaker() *IKPictureTaker

NewIKPictureTaker creates a new IKPictureTaker.

func (*IKPictureTaker) Description added in v0.17.0

func (ipt *IKPictureTaker) Description() string

Description returns the object's -description text.

func (*IKPictureTaker) InputImage

func (ipt *IKPictureTaker) InputImage() obj.Object

InputImage returns the input image associated with the picture taker.

func (*IKPictureTaker) IsEqual added in v0.17.0

func (ipt *IKPictureTaker) IsEqual(other obj.Object) bool

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

func (*IKPictureTaker) IsKind added in v0.17.0

func (ipt *IKPictureTaker) IsKind(className string) bool

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

func (*IKPictureTaker) Mirroring

func (ipt *IKPictureTaker) Mirroring() bool

Mirroring reports whether video mirroring is enabled during snapshots.

func (*IKPictureTaker) OutputImage

func (ipt *IKPictureTaker) OutputImage() obj.Object

OutputImage returns the edited image.

func (*IKPictureTaker) RunModal

func (ipt *IKPictureTaker) RunModal() int

RunModal returns opens a modal picture taker dialog.

func (*IKPictureTaker) SetInputImage

func (ipt *IKPictureTaker) SetInputImage(image obj.Object)

SetInputImage set the image input for the picture taker.

func (*IKPictureTaker) SetMirroring

func (ipt *IKPictureTaker) SetMirroring(b bool)

SetMirroring controls whether the receiver enables video mirroring during snapshots.

func (*IKPictureTaker) String added in v0.17.0

func (ipt *IKPictureTaker) String() string

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

type IKSaveOptions

type IKSaveOptions struct {
	objref.Handle
}

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

The IKSaveOptions class initializes, adds, and manages user interface options for saving image data.

func IKSaveOptionsFromID

func IKSaveOptionsFromID(id objc.ID) *IKSaveOptions

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

func NewIKSaveOptionsWithImagePropertiesImageUTType added in v0.17.0

func NewIKSaveOptionsWithImagePropertiesImageUTType(imageProperties obj.Object, imageUTType string) *IKSaveOptions

NewIKSaveOptionsWithImagePropertiesImageUTType initializes a save options accessory pane for the provided image properties and uniform type identifier.

func (*IKSaveOptions) AddSaveOptionsAccessoryViewToSavePanel

func (iso *IKSaveOptions) AddSaveOptionsAccessoryViewToSavePanel(savePanel obj.Object)

AddSaveOptionsAccessoryViewToSavePanel adds IKSaveOptions accessory view to a NSSavePanel.

func (*IKSaveOptions) AddSaveOptionsToView

func (iso *IKSaveOptions) AddSaveOptionsToView(view obj.Object)

AddSaveOptionsToView adds IKSaveOptions UI to a NSView.

func (*IKSaveOptions) Delegate

func (iso *IKSaveOptions) Delegate() obj.Object

Delegate returns delegate of the IKSaveOptions.

func (*IKSaveOptions) Description added in v0.17.0

func (iso *IKSaveOptions) Description() string

Description returns the object's -description text.

func (*IKSaveOptions) ImageProperties

func (iso *IKSaveOptions) ImageProperties() obj.Object

ImageProperties returns current imageProperties (respecting user UI selection).

func (*IKSaveOptions) ImageUTType

func (iso *IKSaveOptions) ImageUTType() string

ImageUTType returns current imageUTType (respecting user UI selection).

func (*IKSaveOptions) IsEqual added in v0.17.0

func (iso *IKSaveOptions) IsEqual(other obj.Object) bool

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

func (*IKSaveOptions) IsKind added in v0.17.0

func (iso *IKSaveOptions) IsKind(className string) bool

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

func (*IKSaveOptions) RememberLastSetting

func (iso *IKSaveOptions) 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 (*IKSaveOptions) String added in v0.17.0

func (iso *IKSaveOptions) String() string

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

func (*IKSaveOptions) UserSelection

func (iso *IKSaveOptions) UserSelection() obj.Object

UserSelection returns information about the UI settings.

func (*IKSaveOptions) WithDelegate added in v0.17.0

func (iso *IKSaveOptions) WithDelegate(delegate obj.Object) *IKSaveOptions

WithDelegate sets specifies the delegate object.

func (*IKSaveOptions) WithRememberLastSetting added in v0.17.0

func (iso *IKSaveOptions) WithRememberLastSetting(rememberLastSetting bool) *IKSaveOptions

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

type IKScannerDeviceView

type IKScannerDeviceView struct {
	objref.Handle
}

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

The IKScannerDeviceView class displays a view that allows scanning. It can be customized by specifying the display mode. The delegate receives the scanned data and must implement the IKScannerDeviceViewDelegate protocol.

func IKScannerDeviceViewFromID

func IKScannerDeviceViewFromID(id objc.ID) *IKScannerDeviceView

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

func NewIKScannerDeviceView added in v0.17.0

func NewIKScannerDeviceView() *IKScannerDeviceView

NewIKScannerDeviceView creates a new IKScannerDeviceView.

func (*IKScannerDeviceView) Delegate

func (isdv *IKScannerDeviceView) Delegate() obj.Object

Delegate returns delegate of the IKScannerDeviceView.

func (*IKScannerDeviceView) Description added in v0.17.0

func (isdv *IKScannerDeviceView) Description() string

Description returns the object's -description text.

func (*IKScannerDeviceView) DisplaysDownloadsDirectoryControl

func (isdv *IKScannerDeviceView) DisplaysDownloadsDirectoryControl() bool

DisplaysDownloadsDirectoryControl reports whether show a downloads directory control.

func (*IKScannerDeviceView) DisplaysPostProcessApplicationControl

func (isdv *IKScannerDeviceView) DisplaysPostProcessApplicationControl() bool

DisplaysPostProcessApplicationControl reports whether show a postprocessing application control.

func (*IKScannerDeviceView) DocumentName

func (isdv *IKScannerDeviceView) DocumentName() string

DocumentName returns document name.

func (*IKScannerDeviceView) DownloadsDirectory

func (isdv *IKScannerDeviceView) DownloadsDirectory() string

DownloadsDirectory returns downloads directory.

func (*IKScannerDeviceView) HasDisplayModeAdvanced

func (isdv *IKScannerDeviceView) HasDisplayModeAdvanced() bool

HasDisplayModeAdvanced reports whether support advanced scanning UI.

func (*IKScannerDeviceView) HasDisplayModeSimple

func (isdv *IKScannerDeviceView) HasDisplayModeSimple() bool

HasDisplayModeSimple reports whether support a simple scanning UI.

func (*IKScannerDeviceView) IsEqual added in v0.17.0

func (isdv *IKScannerDeviceView) IsEqual(other obj.Object) bool

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

func (*IKScannerDeviceView) IsKind added in v0.17.0

func (isdv *IKScannerDeviceView) IsKind(className string) bool

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

func (*IKScannerDeviceView) Mode

func (isdv *IKScannerDeviceView) Mode() obj.Object

Mode returns current display mode.

func (*IKScannerDeviceView) OverviewControlLabel

func (isdv *IKScannerDeviceView) OverviewControlLabel() string

OverviewControlLabel returns label for the 'Overview' control.

func (*IKScannerDeviceView) PostProcessApplication

func (isdv *IKScannerDeviceView) PostProcessApplication() string

PostProcessApplication returns postprocessing application.

func (*IKScannerDeviceView) ScanControlLabel

func (isdv *IKScannerDeviceView) ScanControlLabel() string

ScanControlLabel returns label for the 'Scan' control.

func (*IKScannerDeviceView) ScannerDevice

func (isdv *IKScannerDeviceView) ScannerDevice() obj.Object

ScannerDevice returns the scanner device.

func (*IKScannerDeviceView) String added in v0.17.0

func (isdv *IKScannerDeviceView) String() string

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

func (*IKScannerDeviceView) TransferMode

func (isdv *IKScannerDeviceView) TransferMode() obj.Object

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

func (*IKScannerDeviceView) WithDelegate added in v0.17.0

func (isdv *IKScannerDeviceView) WithDelegate(delegate obj.Object) *IKScannerDeviceView

WithDelegate sets the scanner device delegate

func (*IKScannerDeviceView) WithDisplaysDownloadsDirectoryControl added in v0.17.0

func (isdv *IKScannerDeviceView) WithDisplaysDownloadsDirectoryControl(displaysDownloadsDirectoryControl bool) *IKScannerDeviceView

WithDisplaysDownloadsDirectoryControl sets determines whether the downloads directory control is displayed.

func (*IKScannerDeviceView) WithDisplaysPostProcessApplicationControl added in v0.17.0

func (isdv *IKScannerDeviceView) WithDisplaysPostProcessApplicationControl(displaysPostProcessApplicationControl bool) *IKScannerDeviceView

WithDisplaysPostProcessApplicationControl sets specifies whether the post processing application control is displayed.

func (*IKScannerDeviceView) WithDocumentName added in v0.17.0

func (isdv *IKScannerDeviceView) WithDocumentName(documentName string) *IKScannerDeviceView

WithDocumentName sets returns the document name.

func (*IKScannerDeviceView) WithDownloadsDirectory added in v0.17.0

func (isdv *IKScannerDeviceView) WithDownloadsDirectory(downloadsDirectory string) *IKScannerDeviceView

WithDownloadsDirectory sets the directory where scans are saved.

func (*IKScannerDeviceView) WithHasDisplayModeAdvanced added in v0.17.0

func (isdv *IKScannerDeviceView) WithHasDisplayModeAdvanced(hasDisplayModeAdvanced bool) *IKScannerDeviceView

WithHasDisplayModeAdvanced sets the property that determines whether the scanner view uses the advanced display mode.

func (*IKScannerDeviceView) WithHasDisplayModeSimple added in v0.17.0

func (isdv *IKScannerDeviceView) WithHasDisplayModeSimple(hasDisplayModeSimple bool) *IKScannerDeviceView

WithHasDisplayModeSimple sets the property that determines whether the scanner view uses the simple display mode.

func (*IKScannerDeviceView) WithMode added in v0.17.0

func (isdv *IKScannerDeviceView) WithMode(mode obj.Object) *IKScannerDeviceView

WithMode sets the display mode used by the device view.

func (*IKScannerDeviceView) WithOverviewControlLabel added in v0.17.0

func (isdv *IKScannerDeviceView) WithOverviewControlLabel(overviewControlLabel string) *IKScannerDeviceView

WithOverviewControlLabel sets allows customization of the “Overview” label.

func (*IKScannerDeviceView) WithPostProcessApplication added in v0.17.0

func (isdv *IKScannerDeviceView) WithPostProcessApplication(postProcessApplication string) *IKScannerDeviceView

WithPostProcessApplication sets the URL of the application to use for post processing of the scan.

func (*IKScannerDeviceView) WithScanControlLabel added in v0.17.0

func (isdv *IKScannerDeviceView) WithScanControlLabel(scanControlLabel string) *IKScannerDeviceView

WithScanControlLabel sets allows customization of the “Scan” label.

func (*IKScannerDeviceView) WithScannerDevice added in v0.17.0

func (isdv *IKScannerDeviceView) WithScannerDevice(scannerDevice obj.Object) *IKScannerDeviceView

WithScannerDevice sets the device used for scanning

func (*IKScannerDeviceView) WithTransferMode added in v0.17.0

func (isdv *IKScannerDeviceView) WithTransferMode(transferMode obj.Object) *IKScannerDeviceView

WithTransferMode sets determines how the scanned content is provided to the delegate.

type IKSlideshow

type IKSlideshow struct {
	objref.Handle
}

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

The IKSlideshow class encapsulates a data source and options for a slideshow.

func IKSlideshowFromID

func IKSlideshowFromID(id objc.ID) *IKSlideshow

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

func NewIKSlideshow added in v0.17.0

func NewIKSlideshow() *IKSlideshow

NewIKSlideshow creates a new IKSlideshow.

func (*IKSlideshow) AutoPlayDelay

func (is *IKSlideshow) AutoPlayDelay() float64

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

func (*IKSlideshow) Description added in v0.17.0

func (is *IKSlideshow) Description() string

Description returns the object's -description text.

func (*IKSlideshow) IndexOfCurrentSlideshowItem

func (is *IKSlideshow) IndexOfCurrentSlideshowItem() int

IndexOfCurrentSlideshowItem returns the index of the current slideshow item.

func (*IKSlideshow) IsEqual added in v0.17.0

func (is *IKSlideshow) IsEqual(other obj.Object) bool

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

func (*IKSlideshow) IsKind added in v0.17.0

func (is *IKSlideshow) IsKind(className string) bool

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

func (*IKSlideshow) ReloadData

func (is *IKSlideshow) ReloadData()

ReloadData reloads the data for a slideshow.

func (*IKSlideshow) ReloadSlideshowItemAtIndex

func (is *IKSlideshow) ReloadSlideshowItemAtIndex(index int)

ReloadSlideshowItemAtIndex reloads the data for a slideshow, starting at the specified index.

func (*IKSlideshow) RunSlideshowWithDataSourceInModeOptions

func (is *IKSlideshow) RunSlideshowWithDataSourceInModeOptions(dataSource obj.Object, slideshowMode string, slideshowOptions obj.Object)

RunSlideshowWithDataSourceInModeOptions runs a slideshow that contains the specified kind of items, provided from a data source.

func (*IKSlideshow) StopSlideshow

func (is *IKSlideshow) StopSlideshow(sender obj.Object)

StopSlideshow stops a slideshow.

func (*IKSlideshow) String added in v0.17.0

func (is *IKSlideshow) String() string

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

func (*IKSlideshow) WithAutoPlayDelay added in v0.17.0

func (is *IKSlideshow) WithAutoPlayDelay(autoPlayDelay float64) *IKSlideshow

WithAutoPlayDelay sets controls the interval of time before a slideshow starts to play automatically.

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 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 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 QCComposition

type QCComposition struct {
	objref.Handle
}

QCComposition is an idiomatic wrapper over the Objective-C class QCComposition.

The QCComposition class represents a Quartz Composer composition that either:

func CompositionWithData added in v0.17.0

func CompositionWithData(data []byte) *QCComposition

CompositionWithData returns a composition object initialized with the contents of a Quartz Composer composition file.

func CompositionWithFile added in v0.17.0

func CompositionWithFile(path string) *QCComposition

CompositionWithFile returns a composition object initialized with a Quartz Composer composition file.

func NewQCComposition added in v0.17.0

func NewQCComposition() *QCComposition

NewQCComposition creates a new QCComposition.

func QCCompositionFromID

func QCCompositionFromID(id objc.ID) *QCComposition

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

func (*QCComposition) Attributes

func (qc *QCComposition) Attributes() obj.Object

Attributes returns the attributes of the composition.

func (*QCComposition) Description added in v0.17.0

func (qc *QCComposition) Description() string

Description returns the object's -description text.

func (*QCComposition) InputKeys

func (qc *QCComposition) InputKeys() obj.Object

InputKeys returns an array listing the keys that identify the input ports of the root patch of the composition.

func (*QCComposition) IsEqual added in v0.17.0

func (qc *QCComposition) IsEqual(other obj.Object) bool

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

func (*QCComposition) IsKind added in v0.17.0

func (qc *QCComposition) IsKind(className string) bool

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

func (*QCComposition) OutputKeys

func (qc *QCComposition) OutputKeys() obj.Object

OutputKeys returns an array listing the keys that identify the output ports of the root patch of the composition.

func (*QCComposition) Protocols

func (qc *QCComposition) Protocols() obj.Object

Protocols returns the list of protocols to which the composition conforms.

func (*QCComposition) String added in v0.17.0

func (qc *QCComposition) String() string

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

type QCCompositionLayer

type QCCompositionLayer struct {
	objref.Handle
}

QCCompositionLayer is an idiomatic wrapper over the Objective-C class QCCompositionLayer.

A layer that loads, plays, and controls Quartz Composer compositions in a Core Animation layer hierarchy.

func CompositionLayerWithComposition added in v0.17.0

func CompositionLayerWithComposition(composition *QCComposition) *QCCompositionLayer

CompositionLayerWithComposition creates and returns an instance of a composition layer using the provided Quartz Composer composition.

func CompositionLayerWithFile added in v0.17.0

func CompositionLayerWithFile(path string) *QCCompositionLayer

CompositionLayerWithFile creates and returns an instance of a composition layer using the Quartz Composer composition in the specified file.

func NewQCCompositionLayerWithComposition added in v0.17.0

func NewQCCompositionLayerWithComposition(composition *QCComposition) *QCCompositionLayer

NewQCCompositionLayerWithComposition initializes and returns a composition layer using the provided Quartz Composer composition.

func NewQCCompositionLayerWithFile added in v0.17.0

func NewQCCompositionLayerWithFile(path string) *QCCompositionLayer

NewQCCompositionLayerWithFile initializes and returns a composition layer using the Quartz Composer composition in the specified file.

func QCCompositionLayerFromID

func QCCompositionLayerFromID(id objc.ID) *QCCompositionLayer

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

func (*QCCompositionLayer) Composition

func (qcl *QCCompositionLayer) Composition() *QCComposition

Composition returns the composition associated with the layer.

func (*QCCompositionLayer) Description added in v0.17.0

func (qcl *QCCompositionLayer) Description() string

Description returns the object's -description text.

func (*QCCompositionLayer) IsEqual added in v0.17.0

func (qcl *QCCompositionLayer) IsEqual(other obj.Object) bool

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

func (*QCCompositionLayer) IsKind added in v0.17.0

func (qcl *QCCompositionLayer) IsKind(className string) bool

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

func (*QCCompositionLayer) String added in v0.17.0

func (qcl *QCCompositionLayer) String() string

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

type QCCompositionParameterView

type QCCompositionParameterView struct {
	objref.Handle
}

QCCompositionParameterView is an idiomatic wrapper over the Objective-C class QCCompositionParameterView.

A class that allows users to edit the input parameters of a composition in real time. The composition can be rendering in any of the following objects: QCRenderer, QCView, or QCCompositionLayer.

func NewQCCompositionParameterView added in v0.17.0

func NewQCCompositionParameterView() *QCCompositionParameterView

NewQCCompositionParameterView creates a new QCCompositionParameterView.

func QCCompositionParameterViewFromID

func QCCompositionParameterViewFromID(id objc.ID) *QCCompositionParameterView

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

func (*QCCompositionParameterView) BackgroundColor

func (qcpv *QCCompositionParameterView) BackgroundColor() obj.Object

BackgroundColor returns retrieves the background color of the composition parameter view.

func (*QCCompositionParameterView) CompositionRenderer

func (qcpv *QCCompositionParameterView) CompositionRenderer() obj.Object

CompositionRenderer returns the renderer object associated with the composition parameter view.

func (*QCCompositionParameterView) Delegate

func (qcpv *QCCompositionParameterView) Delegate() obj.Object

Delegate returns the composition parameter view delegate.

func (*QCCompositionParameterView) Description added in v0.17.0

func (qcpv *QCCompositionParameterView) Description() string

Description returns the object's -description text.

func (*QCCompositionParameterView) DrawsBackground

func (qcpv *QCCompositionParameterView) DrawsBackground() bool

DrawsBackground reports whether the composition parameter view draws its background.

func (*QCCompositionParameterView) HasParameters

func (qcpv *QCCompositionParameterView) HasParameters() bool

HasParameters reports whether checks whether the composition that is currently edited by the composition parameter view has any input parameters.

func (*QCCompositionParameterView) IsEqual added in v0.17.0

func (qcpv *QCCompositionParameterView) IsEqual(other obj.Object) bool

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

func (*QCCompositionParameterView) IsKind added in v0.17.0

func (qcpv *QCCompositionParameterView) IsKind(className string) bool

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

func (*QCCompositionParameterView) SetBackgroundColor

func (qcpv *QCCompositionParameterView) SetBackgroundColor(color obj.Object)

SetBackgroundColor sets the background color of the composition parameter view.

func (*QCCompositionParameterView) SetCompositionRenderer

func (qcpv *QCCompositionParameterView) SetCompositionRenderer(renderer obj.Object)

SetCompositionRenderer sets the composition parameter view for editing the input parameters of the provided renderer object.

func (*QCCompositionParameterView) SetDelegate

func (qcpv *QCCompositionParameterView) SetDelegate(delegate obj.Object)

SetDelegate sets the composition parameter view delegate.

func (*QCCompositionParameterView) SetDrawsBackground

func (qcpv *QCCompositionParameterView) SetDrawsBackground(flag bool)

SetDrawsBackground sets whether the composition parameter view draws its background.

func (*QCCompositionParameterView) String added in v0.17.0

func (qcpv *QCCompositionParameterView) String() string

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

type QCCompositionPickerPanel

type QCCompositionPickerPanel struct {
	objref.Handle
}

QCCompositionPickerPanel is an idiomatic wrapper over the Objective-C class QCCompositionPickerPanel.

The QCCompositionPickerPanel class represents a utility window that allows users to browse compositions that are in the Quartz Composer composition repository and, if supported, preview the composition. The QCCompositionPickerPanel class cannot be subclassed.

func NewQCCompositionPickerPanel added in v0.17.0

func NewQCCompositionPickerPanel() *QCCompositionPickerPanel

NewQCCompositionPickerPanel creates a new QCCompositionPickerPanel.

func QCCompositionPickerPanelFromID

func QCCompositionPickerPanelFromID(id objc.ID) *QCCompositionPickerPanel

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

func SharedCompositionPickerPanel added in v0.17.0

func SharedCompositionPickerPanel() *QCCompositionPickerPanel

SharedCompositionPickerPanel returns the shared instance of the composition picker panel.

func (*QCCompositionPickerPanel) CompositionPickerView

func (qcpp *QCCompositionPickerPanel) CompositionPickerView() *QCCompositionPickerView

CompositionPickerView returns the composition picker view used by the panel so that it can be configured.

func (*QCCompositionPickerPanel) Description added in v0.17.0

func (qcpp *QCCompositionPickerPanel) Description() string

Description returns the object's -description text.

func (*QCCompositionPickerPanel) IsEqual added in v0.17.0

func (qcpp *QCCompositionPickerPanel) IsEqual(other obj.Object) bool

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

func (*QCCompositionPickerPanel) IsKind added in v0.17.0

func (qcpp *QCCompositionPickerPanel) IsKind(className string) bool

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

func (*QCCompositionPickerPanel) String added in v0.17.0

func (qcpp *QCCompositionPickerPanel) String() string

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

type QCCompositionPickerView

type QCCompositionPickerView struct {
	objref.Handle
}

QCCompositionPickerView is an idiomatic wrapper over the Objective-C class QCCompositionPickerView.

The QCCompositionPickerView class allows users to browse compositions that are in the Quartz Composer composition repository, and to preview them. You can set the default input parameters for a composition preview by using the method setDefaultValue:forInputKey:.

func NewQCCompositionPickerView added in v0.17.0

func NewQCCompositionPickerView() *QCCompositionPickerView

NewQCCompositionPickerView creates a new QCCompositionPickerView.

func QCCompositionPickerViewFromID

func QCCompositionPickerViewFromID(id objc.ID) *QCCompositionPickerView

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

func (*QCCompositionPickerView) AllowsEmptySelection

func (qcpv *QCCompositionPickerView) AllowsEmptySelection() bool

AllowsEmptySelection reports whether retrieves the empty-selection state of the composition picker view.

func (*QCCompositionPickerView) BackgroundColor

func (qcpv *QCCompositionPickerView) BackgroundColor() obj.Object

BackgroundColor returns the background color of the composition picker view.

func (*QCCompositionPickerView) CompositionAspectRatio

func (qcpv *QCCompositionPickerView) CompositionAspectRatio() corefoundation.CGSize

CompositionAspectRatio returns retrieves the aspect ratio used to display compositions in the composition picker view.

func (*QCCompositionPickerView) Compositions

func (qcpv *QCCompositionPickerView) Compositions() obj.Object

Compositions returns the list of compositions that are currently in the composition picker view.

func (*QCCompositionPickerView) Delegate

func (qcpv *QCCompositionPickerView) Delegate() obj.Object

Delegate returns retrieves the composition picker view delegate.

func (*QCCompositionPickerView) Description added in v0.17.0

func (qcpv *QCCompositionPickerView) Description() string

Description returns the object's -description text.

func (*QCCompositionPickerView) DrawsBackground

func (qcpv *QCCompositionPickerView) DrawsBackground() bool

DrawsBackground reports whether the composition picker view draws its background.

func (*QCCompositionPickerView) IsAnimating

func (qcpv *QCCompositionPickerView) IsAnimating() bool

IsAnimating reports whether the composition picker view is currently animating its composition.

func (*QCCompositionPickerView) IsEqual added in v0.17.0

func (qcpv *QCCompositionPickerView) IsEqual(other obj.Object) bool

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

func (*QCCompositionPickerView) IsKind added in v0.17.0

func (qcpv *QCCompositionPickerView) IsKind(className string) bool

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

func (*QCCompositionPickerView) MaxAnimationFrameRate

func (qcpv *QCCompositionPickerView) MaxAnimationFrameRate() float32

MaxAnimationFrameRate returns retrieves the maximum frame rate for animating compositions.

func (*QCCompositionPickerView) NumberOfColumns

func (qcpv *QCCompositionPickerView) NumberOfColumns() int

NumberOfColumns returns retrieves the number of columns in the composition picker view.

func (*QCCompositionPickerView) NumberOfRows

func (qcpv *QCCompositionPickerView) NumberOfRows() int

NumberOfRows returns retrieves the number of rows in the composition picker view.

func (*QCCompositionPickerView) ResetDefaultInputValues

func (qcpv *QCCompositionPickerView) ResetDefaultInputValues()

ResetDefaultInputValues clears all previously set default values for composition input parameters.

func (*QCCompositionPickerView) SelectedComposition

func (qcpv *QCCompositionPickerView) SelectedComposition() *QCComposition

SelectedComposition returns the composition that is currently selected in the composition picker view.

func (*QCCompositionPickerView) SetAllowsEmptySelection

func (qcpv *QCCompositionPickerView) SetAllowsEmptySelection(flag bool)

SetAllowsEmptySelection sets whether to allow an empty selection in the composition picker view.

func (*QCCompositionPickerView) SetBackgroundColor

func (qcpv *QCCompositionPickerView) SetBackgroundColor(color obj.Object)

SetBackgroundColor sets the background color for the composition picker view.

func (*QCCompositionPickerView) SetCompositionAspectRatio

func (qcpv *QCCompositionPickerView) SetCompositionAspectRatio(ratio corefoundation.CGSize)

SetCompositionAspectRatio sets the aspect ratio used to display compositions in the composition picker view.

func (*QCCompositionPickerView) SetCompositionsFromRepositoryWithProtocolAndAttributes

func (qcpv *QCCompositionPickerView) SetCompositionsFromRepositoryWithProtocolAndAttributes(protocol string, attributes obj.Object)

SetCompositionsFromRepositoryWithProtocolAndAttributes sets the compositions in the composition picker view to those that match the specified criteria.

func (*QCCompositionPickerView) SetDefaultValueForInputKey

func (qcpv *QCCompositionPickerView) SetDefaultValueForInputKey(value obj.Object, key string)

SetDefaultValueForInputKey sets the default value to use for a composition input parameter.

func (*QCCompositionPickerView) SetDelegate

func (qcpv *QCCompositionPickerView) SetDelegate(delegate obj.Object)

SetDelegate sets the composition picker view delegate.

func (*QCCompositionPickerView) SetDrawsBackground

func (qcpv *QCCompositionPickerView) SetDrawsBackground(flag bool)

SetDrawsBackground sets whether the composition picker view draws its background.

func (*QCCompositionPickerView) SetMaxAnimationFrameRate

func (qcpv *QCCompositionPickerView) SetMaxAnimationFrameRate(maxFPS float32)

SetMaxAnimationFrameRate sets the maximum frame rate for animating compositions.

func (*QCCompositionPickerView) SetNumberOfColumns

func (qcpv *QCCompositionPickerView) SetNumberOfColumns(columns int)

SetNumberOfColumns sets the number of columns in the composition picker view.

func (*QCCompositionPickerView) SetNumberOfRows

func (qcpv *QCCompositionPickerView) SetNumberOfRows(rows int)

SetNumberOfRows sets the number of rows in the composition picker view.

func (*QCCompositionPickerView) SetSelectedComposition

func (qcpv *QCCompositionPickerView) SetSelectedComposition(composition *QCComposition)

SetSelectedComposition sets a composition as selected in the composition picker view.

func (*QCCompositionPickerView) SetShowsCompositionNames

func (qcpv *QCCompositionPickerView) SetShowsCompositionNames(flag bool)

SetShowsCompositionNames enables the display of composition names in the composition picker view.

func (*QCCompositionPickerView) ShowsCompositionNames

func (qcpv *QCCompositionPickerView) ShowsCompositionNames() bool

ShowsCompositionNames reports whether retrieves whether composition names can be shown in the composition picker view.

func (*QCCompositionPickerView) StartAnimation

func (qcpv *QCCompositionPickerView) StartAnimation(sender obj.Object)

StartAnimation starts animating the composition in the composition picker view.

func (*QCCompositionPickerView) StopAnimation

func (qcpv *QCCompositionPickerView) StopAnimation(sender obj.Object)

StopAnimation stops animating the composition that is currently animating in the composition picker view.

func (*QCCompositionPickerView) String added in v0.17.0

func (qcpv *QCCompositionPickerView) String() string

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

type QCCompositionRepository

type QCCompositionRepository struct {
	objref.Handle
}

QCCompositionRepository is an idiomatic wrapper over the Objective-C class QCCompositionRepository.

The QCCompositionRepository class represents a system-wide centralized repository of built-in and installed Quartz Composer compositions (/Library/Compositions and ~/Library/Compositions). The QCCompositionRepository class cannot be subclassed.

func NewQCCompositionRepository added in v0.17.0

func NewQCCompositionRepository() *QCCompositionRepository

NewQCCompositionRepository creates a new QCCompositionRepository.

func QCCompositionRepositoryFromID

func QCCompositionRepositoryFromID(id objc.ID) *QCCompositionRepository

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

func SharedCompositionRepository added in v0.17.0

func SharedCompositionRepository() *QCCompositionRepository

SharedCompositionRepository returns the shared instance of the composition repository.

func (*QCCompositionRepository) AllCompositions

func (qcr *QCCompositionRepository) AllCompositions() obj.Object

AllCompositions returns an array that contains all compositions currently in the composition repository.

func (*QCCompositionRepository) CompositionWithIdentifier

func (qcr *QCCompositionRepository) CompositionWithIdentifier(identifier string) *QCComposition

CompositionWithIdentifier returns the composition that corresponds to the identifier.

func (*QCCompositionRepository) CompositionsWithProtocolsAndAttributes

func (qcr *QCCompositionRepository) CompositionsWithProtocolsAndAttributes(protocols obj.Object, attributes obj.Object) obj.Object

CompositionsWithProtocolsAndAttributes returns an array of compositions that match a set of criteria.

func (*QCCompositionRepository) Description added in v0.17.0

func (qcr *QCCompositionRepository) Description() string

Description returns the object's -description text.

func (*QCCompositionRepository) IsEqual added in v0.17.0

func (qcr *QCCompositionRepository) IsEqual(other obj.Object) bool

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

func (*QCCompositionRepository) IsKind added in v0.17.0

func (qcr *QCCompositionRepository) IsKind(className string) bool

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

func (*QCCompositionRepository) String added in v0.17.0

func (qcr *QCCompositionRepository) String() string

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

type QCPatchController

type QCPatchController struct {
	objref.Handle
}

QCPatchController is an idiomatic wrapper over the Objective-C class QCPatchController.

func NewQCPatchController added in v0.17.0

func NewQCPatchController() *QCPatchController

NewQCPatchController creates a new QCPatchController.

func QCPatchControllerFromID

func QCPatchControllerFromID(id objc.ID) *QCPatchController

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

func (*QCPatchController) Description added in v0.17.0

func (qpc *QCPatchController) Description() string

Description returns the object's -description text.

func (*QCPatchController) IsEqual added in v0.17.0

func (qpc *QCPatchController) IsEqual(other obj.Object) bool

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

func (*QCPatchController) IsKind added in v0.17.0

func (qpc *QCPatchController) IsKind(className string) bool

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

func (*QCPatchController) String added in v0.17.0

func (qpc *QCPatchController) String() string

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

type QCPlugIn

type QCPlugIn struct {
	objref.Handle
}

QCPlugIn is an idiomatic wrapper over the Objective-C class QCPlugIn.

A base class to subclass for writing custom patches.

func NewQCPlugIn added in v0.17.0

func NewQCPlugIn() *QCPlugIn

NewQCPlugIn creates a new QCPlugIn.

func QCPlugInFromID

func QCPlugInFromID(id objc.ID) *QCPlugIn

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

func (*QCPlugIn) Description added in v0.17.0

func (qpi *QCPlugIn) Description() string

Description returns the object's -description text.

func (*QCPlugIn) DisableExecution

func (qpi *QCPlugIn) DisableExecution(context_ obj.Object)

DisableExecution allows you to perform custom tasks when the execution of the QCPlugIn object is paused.

func (*QCPlugIn) EnableExecution

func (qpi *QCPlugIn) EnableExecution(context_ obj.Object)

EnableExecution allows you to perform custom tasks when the execution of the QCPlugIn object is resumed.

func (*QCPlugIn) ExecuteAtTimeWithArguments

func (qpi *QCPlugIn) ExecuteAtTimeWithArguments(context_ obj.Object, time_ float64, arguments obj.Object) bool

ExecuteAtTimeWithArguments performs the processing or rendering tasks appropriate for the custom patch.

func (*QCPlugIn) ExecutionTimeForContextAtTimeWithArguments

func (qpi *QCPlugIn) ExecutionTimeForContextAtTimeWithArguments(context_ obj.Object, time_ float64, arguments obj.Object) float64

ExecutionTimeForContextAtTimeWithArguments wraps the corresponding Objective-C method.

func (*QCPlugIn) IsEqual added in v0.17.0

func (qpi *QCPlugIn) IsEqual(other obj.Object) bool

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

func (*QCPlugIn) IsKind added in v0.17.0

func (qpi *QCPlugIn) IsKind(className string) bool

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

func (*QCPlugIn) SerializedValueForKey

func (qpi *QCPlugIn) SerializedValueForKey(key string) obj.Object

SerializedValueForKey a method implemented to override serialization.

func (*QCPlugIn) SetSerializedValueForKey

func (qpi *QCPlugIn) SetSerializedValueForKey(serializedValue obj.Object, key string)

SetSerializedValueForKey provides custom deserialization for patch internal settings that were previously serialized using the method serializedValueForKey:.

func (*QCPlugIn) StartExecution

func (qpi *QCPlugIn) StartExecution(context_ obj.Object) bool

StartExecution allows you to perform custom setup tasks before the Quartz Composer engine starts rendering.

func (*QCPlugIn) StopExecution

func (qpi *QCPlugIn) StopExecution(context_ obj.Object)

StopExecution allows you to perform custom tasks when the QCPlugIn object stops executing.

func (*QCPlugIn) String added in v0.17.0

func (qpi *QCPlugIn) String() string

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

type QCPlugInExecutionMode

type QCPlugInExecutionMode int32

Execution modes for custom patches.

const (
	KQCPlugInExecutionModeProvider  QCPlugInExecutionMode = 1
	KQCPlugInExecutionModeProcessor QCPlugInExecutionMode = 2
	KQCPlugInExecutionModeConsumer  QCPlugInExecutionMode = 3
)

func ExecutionModeClass added in v0.17.0

func ExecutionModeClass() QCPlugInExecutionMode

ExecutionModeClass returns the execution mode of the custom patch.

func (QCPlugInExecutionMode) String

func (e QCPlugInExecutionMode) String() string

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

type QCPlugInTimeMode

type QCPlugInTimeMode int32

Time modes for custom patches.

const (
	KQCPlugInTimeModeNone     QCPlugInTimeMode = 0
	KQCPlugInTimeModeIdle     QCPlugInTimeMode = 1
	KQCPlugInTimeModeTimeBase QCPlugInTimeMode = 2
)

func TimeModeClass added in v0.17.0

func TimeModeClass() QCPlugInTimeMode

TimeModeClass returns the time mode for the custom patch.

func (QCPlugInTimeMode) String

func (e QCPlugInTimeMode) String() string

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

type QCPlugInViewController

type QCPlugInViewController struct {
	objref.Handle
}

QCPlugInViewController is an idiomatic wrapper over the Objective-C class QCPlugInViewController.

The QCPlugInViewController class communicates (through Cocoa bindings) between a custom patch and the view used for the internal settings of the custom patch. Only custom patches that use internal settings exposed to the user need to use the QCPlugInViewController class.

func NewQCPlugInViewControllerWithPlugInViewNibName added in v0.17.0

func NewQCPlugInViewControllerWithPlugInViewNibName(plugIn *QCPlugIn, name string) *QCPlugInViewController

NewQCPlugInViewControllerWithPlugInViewNibName creates and initializes a controller for the specified QCPlugIn object and nib file.

func QCPlugInViewControllerFromID

func QCPlugInViewControllerFromID(id objc.ID) *QCPlugInViewController

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

func (*QCPlugInViewController) Description added in v0.17.0

func (qpivc *QCPlugInViewController) Description() string

Description returns the object's -description text.

func (*QCPlugInViewController) IsEqual added in v0.17.0

func (qpivc *QCPlugInViewController) IsEqual(other obj.Object) bool

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

func (*QCPlugInViewController) IsKind added in v0.17.0

func (qpivc *QCPlugInViewController) IsKind(className string) bool

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

func (*QCPlugInViewController) PlugIn

func (qpivc *QCPlugInViewController) PlugIn() *QCPlugIn

PlugIn returns the QCPlugIn object associated with the view controller for the custom patch.

func (*QCPlugInViewController) String added in v0.17.0

func (qpivc *QCPlugInViewController) String() string

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

type QCRenderer

type QCRenderer struct {
	objref.Handle
}

QCRenderer is an idiomatic wrapper over the Objective-C class QCRenderer.

A base class for low-level rendering.

func NewQCRendererOffScreenWithSizeColorSpaceComposition added in v0.17.0

func NewQCRendererOffScreenWithSizeColorSpaceComposition(size corefoundation.CGSize, colorSpace coregraphics.CGColorSpaceRef, composition *QCComposition) *QCRenderer

NewQCRendererOffScreenWithSizeColorSpaceComposition creates an offscreen renderer of a given size with the provided color space and composition object.

func NewQCRendererWithCGLContextPixelFormatColorSpaceComposition added in v0.17.0

func NewQCRendererWithCGLContextPixelFormatColorSpaceComposition(context_ obj.Object, format obj.Object, colorSpace coregraphics.CGColorSpaceRef, composition *QCComposition) *QCRenderer

NewQCRendererWithCGLContextPixelFormatColorSpaceComposition creates a renderer object with a CGLContextObj object, a pixel format, a color space, and a composition object.

func NewQCRendererWithCompositionColorSpace added in v0.17.0

func NewQCRendererWithCompositionColorSpace(composition *QCComposition, colorSpace coregraphics.CGColorSpaceRef) *QCRenderer

NewQCRendererWithCompositionColorSpace creates a renderer object with a composition object and a color space.

func NewQCRendererWithOpenGLContextPixelFormatFile added in v0.17.0

func NewQCRendererWithOpenGLContextPixelFormatFile(context_ obj.Object, format obj.Object, path string) *QCRenderer

NewQCRendererWithOpenGLContextPixelFormatFile creates a renderer object with an NSOpenGLContext object and a composition file.

func QCRendererFromID

func QCRendererFromID(id objc.ID) *QCRenderer

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

func (*QCRenderer) Composition

func (qr *QCRenderer) Composition() *QCComposition

Composition returns the composition object associated with the renderer.

func (*QCRenderer) CreateSnapshotImageOfType

func (qr *QCRenderer) CreateSnapshotImageOfType(type_ string) obj.Object

CreateSnapshotImageOfType returns the current image in the OpenGL context associated with the renderer, as an image object of the provided image type.

func (*QCRenderer) Description added in v0.17.0

func (qr *QCRenderer) Description() string

Description returns the object's -description text.

func (*QCRenderer) IsEqual added in v0.17.0

func (qr *QCRenderer) IsEqual(other obj.Object) bool

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

func (*QCRenderer) IsKind added in v0.17.0

func (qr *QCRenderer) IsKind(className string) bool

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

func (*QCRenderer) RenderAtTimeArguments

func (qr *QCRenderer) RenderAtTimeArguments(time_ float64, arguments obj.Object) bool

RenderAtTimeArguments renders a frame of a composition at the specified time.

func (*QCRenderer) RenderingTimeForTimeArguments

func (qr *QCRenderer) RenderingTimeForTimeArguments(time_ float64, arguments obj.Object) float64

RenderingTimeForTimeArguments wraps the corresponding Objective-C method.

func (*QCRenderer) SnapshotImage

func (qr *QCRenderer) SnapshotImage() obj.Object

SnapshotImage returns an NSImage object of the current image in the OpenGL context associated with the renderer.

func (*QCRenderer) String added in v0.17.0

func (qr *QCRenderer) String() string

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

type QCView

type QCView struct {
	objref.Handle
}

QCView is an idiomatic wrapper over the Objective-C class QCView.

The QCView class is a custom NSView class that loads, plays, and controls Quartz Composer compositions. It is an autonomous view that is driven by an internal timer running on the main thread.

func NewQCView added in v0.17.0

func NewQCView() *QCView

NewQCView creates a new QCView.

func QCViewFromID

func QCViewFromID(id objc.ID) *QCView

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

func (*QCView) AutostartsRendering

func (qv *QCView) AutostartsRendering() bool

AutostartsRendering reports whether checks whether the view is set to start rendering automatically.

func (*QCView) CreateSnapshotImageOfType

func (qv *QCView) CreateSnapshotImageOfType(type_ string) obj.Object

CreateSnapshotImageOfType returns the current image in the view as an image object of the provided image type.

func (*QCView) Description added in v0.17.0

func (qv *QCView) Description() string

Description returns the object's -description text.

func (*QCView) Erase

func (qv *QCView) Erase()

Erase clears the view using the current erase color.

func (*QCView) EraseColor

func (qv *QCView) EraseColor() obj.Object

EraseColor returns retrieves the current color used to erase the view.

func (*QCView) EventForwardingMask

func (qv *QCView) EventForwardingMask() int

EventForwardingMask returns retrieves the mask used to filter which types of events are forwarded from the view to the composition during rendering.

func (*QCView) IsEqual added in v0.17.0

func (qv *QCView) IsEqual(other obj.Object) bool

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

func (*QCView) IsKind added in v0.17.0

func (qv *QCView) IsKind(className string) bool

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

func (*QCView) IsPausedRendering

func (qv *QCView) IsPausedRendering() bool

IsPausedRendering reports whether the rendering in the view is paused.

func (*QCView) IsRendering

func (qv *QCView) IsRendering() bool

IsRendering reports whether checks whether a composition is rendering in the view.

func (*QCView) LoadComposition

func (qv *QCView) LoadComposition(composition *QCComposition) bool

LoadComposition loads a QCComposition object into the view.

func (*QCView) LoadCompositionFromFile

func (qv *QCView) LoadCompositionFromFile(path string) bool

LoadCompositionFromFile loads the composition file located at the specified path.

func (*QCView) LoadedComposition

func (qv *QCView) LoadedComposition() *QCComposition

LoadedComposition returns the composition loaded in the view.

func (*QCView) MaxRenderingFrameRate

func (qv *QCView) MaxRenderingFrameRate() float32

MaxRenderingFrameRate returns the maximum frame rate for rendering.

func (*QCView) OpenGLContext

func (qv *QCView) OpenGLContext() obj.Object

OpenGLContext returns the OpenGL context used by the view.

func (*QCView) OpenGLPixelFormat

func (qv *QCView) OpenGLPixelFormat() obj.Object

OpenGLPixelFormat returns the OpenGL pixel format used by the view.

func (*QCView) PauseRendering

func (qv *QCView) PauseRendering()

PauseRendering pauses rendering in the view.

func (*QCView) RenderAtTimeArguments

func (qv *QCView) RenderAtTimeArguments(time_ float64, arguments obj.Object) bool

RenderAtTimeArguments overrides to perform your custom operations prior to or after rendering a frame of a composition.

func (*QCView) ResumeRendering

func (qv *QCView) ResumeRendering()

ResumeRendering resumes rendering a paused composition.

func (*QCView) SetAutostartsRendering

func (qv *QCView) SetAutostartsRendering(flag bool)

SetAutostartsRendering sets whether the composition that is in the view starts rendering automatically when the view is put on the screen.

func (*QCView) SetEraseColor

func (qv *QCView) SetEraseColor(color obj.Object)

SetEraseColor sets the color used to erase the view.

func (*QCView) SetEventForwardingMask

func (qv *QCView) SetEventForwardingMask(mask int)

SetEventForwardingMask sets the mask used to filter which types of events are forwarded from the view to the composition during rendering.

func (*QCView) SetMaxRenderingFrameRate

func (qv *QCView) SetMaxRenderingFrameRate(maxFPS float32)

SetMaxRenderingFrameRate sets the maximum rendering frame rate.

func (*QCView) SnapshotImage

func (qv *QCView) SnapshotImage() obj.Object

SnapshotImage returns an NSImage object of the current image in the view.

func (*QCView) StartRendering

func (qv *QCView) StartRendering() bool

StartRendering reports whether starts rendering the composition that is in the view.

func (*QCView) StopRendering

func (qv *QCView) StopRendering()

StopRendering stops rendering the composition that is in the view.

func (*QCView) String added in v0.17.0

func (qv *QCView) String() string

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

func (*QCView) UnloadComposition

func (qv *QCView) UnloadComposition()

UnloadComposition unloads the composition from the view.

type QLPreviewPDFStyle deprecated

type QLPreviewPDFStyle int32

Deprecated: Use a QLPreviewingController in a Preview Extension to provide previews for your file types.

const (
	// Deprecated: Use a QLPreviewingController in a Preview Extension to provide previews for your file types.
	KQLPreviewPDFStandardStyle QLPreviewPDFStyle = 0
	// Deprecated: Use a QLPreviewingController in a Preview Extension to provide previews for your file types.
	KQLPreviewPDFPagesWithThumbnailsOnRightStyle QLPreviewPDFStyle = 3
	KQLPreviewPDFPagesWithThumbnailsOnLeftStyle  QLPreviewPDFStyle = 4
)

func (QLPreviewPDFStyle) String

func (e QLPreviewPDFStyle) String() string

String returns the QLPreviewPDFStyle 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 QuartzFilter

type QuartzFilter struct {
	objref.Handle
}

QuartzFilter is an idiomatic wrapper over the Objective-C class QuartzFilter.

func NewQuartzFilter added in v0.17.0

func NewQuartzFilter() *QuartzFilter

NewQuartzFilter creates a new QuartzFilter.

func QuartzFilterFromID

func QuartzFilterFromID(id objc.ID) *QuartzFilter

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

func QuartzFilterWithOutputIntents added in v0.17.0

func QuartzFilterWithOutputIntents(outputIntents obj.Object) *QuartzFilter

QuartzFilterWithOutputIntents wraps the corresponding Objective-C method.

func QuartzFilterWithProperties added in v0.17.0

func QuartzFilterWithProperties(properties obj.Object) *QuartzFilter

QuartzFilterWithProperties wraps the corresponding Objective-C method.

func QuartzFilterWithURL added in v0.17.0

func QuartzFilterWithURL(aURL string) *QuartzFilter

QuartzFilterWithURL wraps the corresponding Objective-C method.

func (*QuartzFilter) ApplyToContext

func (qf *QuartzFilter) ApplyToContext(aContext coregraphics.CGContextRef) bool

ApplyToContext applies to context.

func (*QuartzFilter) Description added in v0.17.0

func (qf *QuartzFilter) Description() string

Description returns the object's -description text.

func (*QuartzFilter) IsEqual added in v0.17.0

func (qf *QuartzFilter) IsEqual(other obj.Object) bool

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

func (*QuartzFilter) IsKind added in v0.17.0

func (qf *QuartzFilter) IsKind(className string) bool

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

func (*QuartzFilter) LocalizedName

func (qf *QuartzFilter) LocalizedName() string

LocalizedName returns the localized name.

func (*QuartzFilter) Properties

func (qf *QuartzFilter) Properties() obj.Object

Properties returns the properties.

func (*QuartzFilter) RemoveFromContext

func (qf *QuartzFilter) RemoveFromContext(aContext coregraphics.CGContextRef)

RemoveFromContext removes from context.

func (*QuartzFilter) String added in v0.17.0

func (qf *QuartzFilter) String() string

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

func (*QuartzFilter) URL added in v0.17.0

func (qf *QuartzFilter) URL() string

URL returns the URL.

type QuartzFilterManager

type QuartzFilterManager struct {
	objref.Handle
}

QuartzFilterManager is an idiomatic wrapper over the Objective-C class QuartzFilterManager.

func FilterManager added in v0.17.0

func FilterManager() *QuartzFilterManager

FilterManager returns the filter manager.

func NewQuartzFilterManager added in v0.17.0

func NewQuartzFilterManager() *QuartzFilterManager

NewQuartzFilterManager creates a new QuartzFilterManager.

func QuartzFilterManagerFromID

func QuartzFilterManagerFromID(id objc.ID) *QuartzFilterManager

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

func (*QuartzFilterManager) Delegate

func (qfm *QuartzFilterManager) Delegate() obj.Object

Delegate returns the delegate.

func (*QuartzFilterManager) Description added in v0.17.0

func (qfm *QuartzFilterManager) Description() string

Description returns the object's -description text.

func (*QuartzFilterManager) FilterPanel

func (qfm *QuartzFilterManager) FilterPanel() obj.Object

FilterPanel returns the filter panel.

func (*QuartzFilterManager) FilterView

func (qfm *QuartzFilterManager) FilterView() *QuartzFilterView

FilterView returns the filter view.

func (*QuartzFilterManager) ImportFilter

func (qfm *QuartzFilterManager) ImportFilter(filterProperties obj.Object) *QuartzFilter

ImportFilter wraps the corresponding Objective-C method.

func (*QuartzFilterManager) IsEqual added in v0.17.0

func (qfm *QuartzFilterManager) IsEqual(other obj.Object) bool

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

func (*QuartzFilterManager) IsKind added in v0.17.0

func (qfm *QuartzFilterManager) IsKind(className string) bool

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

func (*QuartzFilterManager) SelectFilter

func (qfm *QuartzFilterManager) SelectFilter(filter *QuartzFilter) bool

SelectFilter selects filter.

func (*QuartzFilterManager) SelectedFilter

func (qfm *QuartzFilterManager) SelectedFilter() *QuartzFilter

SelectedFilter returns the selected filter.

func (*QuartzFilterManager) SetDelegate

func (qfm *QuartzFilterManager) SetDelegate(aDelegate obj.Object)

SetDelegate wraps the corresponding Objective-C method.

func (*QuartzFilterManager) String added in v0.17.0

func (qfm *QuartzFilterManager) String() string

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

type QuartzFilterView

type QuartzFilterView struct {
	objref.Handle
}

QuartzFilterView is an idiomatic wrapper over the Objective-C class QuartzFilterView.

func NewQuartzFilterView added in v0.17.0

func NewQuartzFilterView() *QuartzFilterView

NewQuartzFilterView creates a new QuartzFilterView.

func QuartzFilterViewFromID

func QuartzFilterViewFromID(id objc.ID) *QuartzFilterView

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

func (*QuartzFilterView) Description added in v0.17.0

func (qfv *QuartzFilterView) Description() string

Description returns the object's -description text.

func (*QuartzFilterView) IsEqual added in v0.17.0

func (qfv *QuartzFilterView) IsEqual(other obj.Object) bool

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

func (*QuartzFilterView) IsKind added in v0.17.0

func (qfv *QuartzFilterView) IsKind(className string) bool

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

func (*QuartzFilterView) SizeToFit

func (qfv *QuartzFilterView) SizeToFit()

SizeToFit wraps the corresponding Objective-C method.

func (*QuartzFilterView) String added in v0.17.0

func (qfv *QuartzFilterView) String() string

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

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