Documentation
¶
Overview ¶
Package accessibility provides a fluent Go API over the macOS Accessibility 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.
Types ¶
Each base type below lists the concrete types you construct and pass where the base is accepted:
- MathExpression: MathExpressionFenced, MathExpressionFraction, MathExpressionIdentifier, MathExpressionMultiscript, MathExpressionNumber, MathExpressionOperator, MathExpressionRoot, MathExpressionRow, MathExpressionSubSuperscript, MathExpressionTable, MathExpressionTableCell, MathExpressionTableRow, MathExpressionText, MathExpressionUnderOver
Index ¶
- func AXAnimatedImagesEnabled() bool
- func AXAnimatedImagesEnabledDidChangeNotification() obj.Object
- func AXAssistiveAccessEnabled() bool
- func AXNameFromColor(color coregraphics.CGColorRef) string
- func AXOpenSettingsFeature(feature SettingsFeature, completionHandler func(unsafe.Pointer))
- func AXOpenSettingsFeatureIsSupported(feature SettingsFeature) uint8
- func AXPrefersActionSliderAlternative() bool
- func AXPrefersActionSliderAlternativeDidChangeNotification() uintptr
- func AXPrefersHorizontalTextLayout() bool
- func AXPrefersHorizontalTextLayoutDidChangeNotification() obj.Object
- func AXPrefersNonBlinkingTextInsertionIndicator() bool
- func AXPrefersNonBlinkingTextInsertionIndicatorDidChangeNotification() uintptr
- func AXReduceHighlightingEffectsEnabled() bool
- func AXReduceHighlightingEffectsEnabledDidChangeNotification() uintptr
- func AXShowBordersEnabled() bool
- func AXShowBordersEnabledStatusDidChangeNotification() uintptr
- func AXTechnologyAutomation() obj.Object
- func AXTechnologyFullKeyboardAccess() obj.Object
- func AXTechnologyHoverText() obj.Object
- func AXTechnologySpeakScreen() obj.Object
- func AXTechnologySwitchControl() obj.Object
- func AXTechnologyVoiceControl() obj.Object
- func AXTechnologyVoiceOver() obj.Object
- func AXTechnologyZoom() obj.Object
- func Start()
- func Stop()
- func SupportedLocales() []*foundation.Locale
- func UpdateValue(value float64)
- type BrailleMap
- func (bm *BrailleMap) Description() string
- func (bm *BrailleMap) Dimensions() corefoundation.CGSize
- func (bm *BrailleMap) HeightAtPoint(point corefoundation.CGPoint) float32
- func (bm *BrailleMap) IsEqual(other obj.Object) bool
- func (bm *BrailleMap) IsKind(className string) bool
- func (bm *BrailleMap) PresentImage(image coregraphics.CGImageRef)
- func (bm *BrailleMap) SetHeightAtPoint(status float32, point corefoundation.CGPoint)
- func (bm *BrailleMap) String() string
- type BrailleMapRenderer
- type BrailleTable
- func (bt *BrailleTable) Description() string
- func (bt *BrailleTable) Identifier() string
- func (bt *BrailleTable) IsEightDot() bool
- func (bt *BrailleTable) IsEqual(other obj.Object) bool
- func (bt *BrailleTable) IsKind(className string) bool
- func (bt *BrailleTable) Language() string
- func (bt *BrailleTable) Locales() []*foundation.Locale
- func (bt *BrailleTable) LocalizedName() string
- func (bt *BrailleTable) LocalizedProviderName() string
- func (bt *BrailleTable) ProviderIdentifier() string
- func (bt *BrailleTable) String() string
- type BrailleTranslationResult
- func (btr *BrailleTranslationResult) Description() string
- func (btr *BrailleTranslationResult) IsEqual(other obj.Object) bool
- func (btr *BrailleTranslationResult) IsKind(className string) bool
- func (btr *BrailleTranslationResult) LocationMap() []obj.Object
- func (btr *BrailleTranslationResult) ResultString() string
- func (btr *BrailleTranslationResult) String() string
- type BrailleTranslator
- func (bt *BrailleTranslator) BackTranslateBraille(braille string) *BrailleTranslationResult
- func (bt *BrailleTranslator) Description() string
- func (bt *BrailleTranslator) IsEqual(other obj.Object) bool
- func (bt *BrailleTranslator) IsKind(className string) bool
- func (bt *BrailleTranslator) String() string
- func (bt *BrailleTranslator) TranslatePrintText(printText string) *BrailleTranslationResult
- type CategoricalDataAxisDescriptor
- func CategoricalDataAxisDescriptorFromID(id objc.ID) *CategoricalDataAxisDescriptor
- func NewCategoricalDataAxisDescriptorWithAttributedTitleCategoryOrder(attributedTitle obj.Object, categoryOrder []string) *CategoricalDataAxisDescriptor
- func NewCategoricalDataAxisDescriptorWithTitleCategoryOrder(title string, categoryOrder []string) *CategoricalDataAxisDescriptor
- func (cdad *CategoricalDataAxisDescriptor) CategoryOrder() []string
- func (cdad *CategoricalDataAxisDescriptor) Description() string
- func (cdad *CategoricalDataAxisDescriptor) IsEqual(other obj.Object) bool
- func (cdad *CategoricalDataAxisDescriptor) IsKind(className string) bool
- func (cdad *CategoricalDataAxisDescriptor) String() string
- func (cdad *CategoricalDataAxisDescriptor) WithCategoryOrder(items ...obj.Object) *CategoricalDataAxisDescriptor
- type Chart
- type ChartDescriptor
- func (cd *ChartDescriptor) AdditionalAxes() []obj.Object
- func (cd *ChartDescriptor) AttributedTitle() *foundation.AttributedString
- func (cd *ChartDescriptor) ContentDirection() ChartDescriptorContentDirection
- func (cd *ChartDescriptor) ContentFrame() corefoundation.CGRect
- func (cd *ChartDescriptor) Description() string
- func (cd *ChartDescriptor) IsEqual(other obj.Object) bool
- func (cd *ChartDescriptor) IsKind(className string) bool
- func (cd *ChartDescriptor) Series() []*DataSeriesDescriptor
- func (cd *ChartDescriptor) SetAdditionalAxes(additionalAxes []obj.Object)
- func (cd *ChartDescriptor) String() string
- func (cd *ChartDescriptor) Summary() string
- func (cd *ChartDescriptor) Title() string
- func (cd *ChartDescriptor) WithAttributedTitle(attributedTitle obj.Object) *ChartDescriptor
- func (cd *ChartDescriptor) WithContentDirection(contentDirection ChartDescriptorContentDirection) *ChartDescriptor
- func (cd *ChartDescriptor) WithContentFrame(contentFrame corefoundation.CGRect) *ChartDescriptor
- func (cd *ChartDescriptor) WithSeries(items ...*DataSeriesDescriptor) *ChartDescriptor
- func (cd *ChartDescriptor) WithSummary(summary string) *ChartDescriptor
- func (cd *ChartDescriptor) WithTitle(title string) *ChartDescriptor
- func (cd *ChartDescriptor) WithYAxis(yAxis *NumericDataAxisDescriptor) *ChartDescriptor
- func (cd *ChartDescriptor) YAxis() *NumericDataAxisDescriptor
- type ChartDescriptorContentDirection
- type Clockid
- type CustomContent
- func (cc *CustomContent) AttributedLabel() *foundation.AttributedString
- func (cc *CustomContent) AttributedValue() *foundation.AttributedString
- func (cc *CustomContent) Description() string
- func (cc *CustomContent) Importance() CustomContentImportance
- func (cc *CustomContent) IsEqual(other obj.Object) bool
- func (cc *CustomContent) IsKind(className string) bool
- func (cc *CustomContent) Label() string
- func (cc *CustomContent) String() string
- func (cc *CustomContent) Value() string
- func (cc *CustomContent) WithImportance(importance CustomContentImportance) *CustomContent
- type CustomContentImportance
- type CustomContentProvider
- type DataAxisDescriptor
- type DataPoint
- func DataPointFromID(id objc.ID) *DataPoint
- func NewDataPointWithXY(xValue *DataPointValue, yValue *DataPointValue) *DataPoint
- func NewDataPointWithXYAdditionalValues(xValue *DataPointValue, yValue *DataPointValue, ...) *DataPoint
- func NewDataPointWithXYAdditionalValuesLabel(xValue *DataPointValue, yValue *DataPointValue, ...) *DataPoint
- func (dp *DataPoint) AdditionalValues() []*DataPointValue
- func (dp *DataPoint) AttributedLabel() *foundation.AttributedString
- func (dp *DataPoint) Description() string
- func (dp *DataPoint) IsEqual(other obj.Object) bool
- func (dp *DataPoint) IsKind(className string) bool
- func (dp *DataPoint) Label() string
- func (dp *DataPoint) String() string
- func (dp *DataPoint) WithAdditionalValues(items ...*DataPointValue) *DataPoint
- func (dp *DataPoint) WithAttributedLabel(attributedLabel obj.Object) *DataPoint
- func (dp *DataPoint) WithLabel(label string) *DataPoint
- func (dp *DataPoint) WithXValue(xValue *DataPointValue) *DataPoint
- func (dp *DataPoint) WithYValue(yValue *DataPointValue) *DataPoint
- func (dp *DataPoint) XValue() *DataPointValue
- func (dp *DataPoint) YValue() *DataPointValue
- type DataPointValue
- func (dpv *DataPointValue) Category() string
- func (dpv *DataPointValue) Description() string
- func (dpv *DataPointValue) IsEqual(other obj.Object) bool
- func (dpv *DataPointValue) IsKind(className string) bool
- func (dpv *DataPointValue) Number() float64
- func (dpv *DataPointValue) String() string
- func (dpv *DataPointValue) WithCategory(category string) *DataPointValue
- func (dpv *DataPointValue) WithNumber(number float64) *DataPointValue
- type DataSeriesDescriptor
- func DataSeriesDescriptorFromID(id objc.ID) *DataSeriesDescriptor
- func NewDataSeriesDescriptorWithAttributedNameIsContinuousDataPoints(attributedName obj.Object, isContinuous bool, dataPoints []*DataPoint) *DataSeriesDescriptor
- func NewDataSeriesDescriptorWithNameIsContinuousDataPoints(name string, isContinuous bool, dataPoints []*DataPoint) *DataSeriesDescriptor
- func (dsd *DataSeriesDescriptor) AttributedName() *foundation.AttributedString
- func (dsd *DataSeriesDescriptor) DataPoints() []*DataPoint
- func (dsd *DataSeriesDescriptor) Description() string
- func (dsd *DataSeriesDescriptor) IsContinuous() bool
- func (dsd *DataSeriesDescriptor) IsEqual(other obj.Object) bool
- func (dsd *DataSeriesDescriptor) IsKind(className string) bool
- func (dsd *DataSeriesDescriptor) Name() string
- func (dsd *DataSeriesDescriptor) String() string
- func (dsd *DataSeriesDescriptor) WithAttributedName(attributedName obj.Object) *DataSeriesDescriptor
- func (dsd *DataSeriesDescriptor) WithDataPoints(items ...*DataPoint) *DataSeriesDescriptor
- func (dsd *DataSeriesDescriptor) WithIsContinuous(isContinuous bool) *DataSeriesDescriptor
- func (dsd *DataSeriesDescriptor) WithName(name string) *DataSeriesDescriptor
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type EntryID
- type EvCmd
- type FilesecProperty
- type Flag
- type Idtype
- type IpcInfoObjectType
- type LaunchDataType
- type LiveAudioGraph
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type MachVMRangeFlags
- type MachVMRangeFlavor
- type MachVMRangeTag
- type MathExpression
- type MathExpressionFenced
- type MathExpressionFraction
- type MathExpressionIdentifier
- type MathExpressionMultiscript
- type MathExpressionNumber
- type MathExpressionOperator
- type MathExpressionProvider
- type MathExpressionProviderProtocol
- type MathExpressionRoot
- type MathExpressionRow
- type MathExpressionSubSuperscript
- type MathExpressionTable
- type MathExpressionTableCell
- type MathExpressionTableRow
- type MathExpressionText
- type MathExpressionUnderOver
- type MpoFlags
- type NXMouseButton
- type NumericDataAxisDescriptor
- func (ndad *NumericDataAxisDescriptor) Description() string
- func (ndad *NumericDataAxisDescriptor) GridlinePositions() []obj.Object
- func (ndad *NumericDataAxisDescriptor) IsEqual(other obj.Object) bool
- func (ndad *NumericDataAxisDescriptor) IsKind(className string) bool
- func (ndad *NumericDataAxisDescriptor) LowerBound() float64
- func (ndad *NumericDataAxisDescriptor) ScaleType() NumericDataAxisDescriptorScale
- func (ndad *NumericDataAxisDescriptor) String() string
- func (ndad *NumericDataAxisDescriptor) UpperBound() float64
- func (ndad *NumericDataAxisDescriptor) WithGridlinePositions(items ...obj.Object) *NumericDataAxisDescriptor
- func (ndad *NumericDataAxisDescriptor) WithLowerBound(lowerBound float64) *NumericDataAxisDescriptor
- func (ndad *NumericDataAxisDescriptor) WithScaleType(scaleType NumericDataAxisDescriptorScale) *NumericDataAxisDescriptor
- func (ndad *NumericDataAxisDescriptor) WithUpperBound(upperBound float64) *NumericDataAxisDescriptor
- type NumericDataAxisDescriptorScale
- type OSClockid
- type Perm
- type PtrauthKey
- type QosClass
- type Request
- type SettingsFeature
- type Tag
- type Type
- type VirtualMemoryGuardExceptionCode
- type XpcListenerCreateFlags
- type XpcSessionCreateFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AXAnimatedImagesEnabled ¶
func AXAnimatedImagesEnabled() bool
AXAnimatedImagesEnabled calls the Accessibility framework function AXAnimatedImagesEnabled.
func AXAnimatedImagesEnabledDidChangeNotification ¶
AXAnimatedImagesEnabledDidChangeNotification returns the string constant AXAnimatedImagesEnabledDidChangeNotification, for use as a dictionary key or argument.
func AXAssistiveAccessEnabled ¶
func AXAssistiveAccessEnabled() bool
AXAssistiveAccessEnabled calls the Accessibility framework function AXAssistiveAccessEnabled.
func AXNameFromColor ¶
func AXNameFromColor(color coregraphics.CGColorRef) string
AXNameFromColor calls the Accessibility framework function AXNameFromColor.
func AXOpenSettingsFeature ¶
func AXOpenSettingsFeature(feature SettingsFeature, completionHandler func(unsafe.Pointer))
AXOpenSettingsFeature calls the Accessibility framework function AXOpenSettingsFeature.
func AXOpenSettingsFeatureIsSupported ¶
func AXOpenSettingsFeatureIsSupported(feature SettingsFeature) uint8
AXOpenSettingsFeatureIsSupported calls the Accessibility framework function AXOpenSettingsFeatureIsSupported.
func AXPrefersActionSliderAlternative ¶
func AXPrefersActionSliderAlternative() bool
AXPrefersActionSliderAlternative calls the Accessibility framework function AXPrefersActionSliderAlternative.
func AXPrefersActionSliderAlternativeDidChangeNotification ¶
func AXPrefersActionSliderAlternativeDidChangeNotification() uintptr
AXPrefersActionSliderAlternativeDidChangeNotification returns the address of the symbol AXPrefersActionSliderAlternativeDidChangeNotification.
func AXPrefersHorizontalTextLayout ¶
func AXPrefersHorizontalTextLayout() bool
AXPrefersHorizontalTextLayout calls the Accessibility framework function AXPrefersHorizontalTextLayout.
func AXPrefersHorizontalTextLayoutDidChangeNotification ¶
AXPrefersHorizontalTextLayoutDidChangeNotification returns the string constant AXPrefersHorizontalTextLayoutDidChangeNotification, for use as a dictionary key or argument.
func AXPrefersNonBlinkingTextInsertionIndicator ¶
func AXPrefersNonBlinkingTextInsertionIndicator() bool
AXPrefersNonBlinkingTextInsertionIndicator calls the Accessibility framework function AXPrefersNonBlinkingTextInsertionIndicator.
func AXPrefersNonBlinkingTextInsertionIndicatorDidChangeNotification ¶
func AXPrefersNonBlinkingTextInsertionIndicatorDidChangeNotification() uintptr
AXPrefersNonBlinkingTextInsertionIndicatorDidChangeNotification returns the address of the symbol AXPrefersNonBlinkingTextInsertionIndicatorDidChangeNotification.
func AXReduceHighlightingEffectsEnabled ¶
func AXReduceHighlightingEffectsEnabled() bool
AXReduceHighlightingEffectsEnabled calls the Accessibility framework function AXReduceHighlightingEffectsEnabled.
func AXReduceHighlightingEffectsEnabledDidChangeNotification ¶
func AXReduceHighlightingEffectsEnabledDidChangeNotification() uintptr
AXReduceHighlightingEffectsEnabledDidChangeNotification returns the address of the symbol AXReduceHighlightingEffectsEnabledDidChangeNotification.
func AXShowBordersEnabled ¶
func AXShowBordersEnabled() bool
AXShowBordersEnabled calls the Accessibility framework function AXShowBordersEnabled.
func AXShowBordersEnabledStatusDidChangeNotification ¶
func AXShowBordersEnabledStatusDidChangeNotification() uintptr
AXShowBordersEnabledStatusDidChangeNotification returns the address of the symbol AXShowBordersEnabledStatusDidChangeNotification.
func AXTechnologyAutomation ¶
AXTechnologyAutomation returns the string constant AXTechnologyAutomation, for use as a dictionary key or argument.
func AXTechnologyFullKeyboardAccess ¶
AXTechnologyFullKeyboardAccess returns the string constant AXTechnologyFullKeyboardAccess, for use as a dictionary key or argument.
func AXTechnologyHoverText ¶
AXTechnologyHoverText returns the string constant AXTechnologyHoverText, for use as a dictionary key or argument.
func AXTechnologySpeakScreen ¶
AXTechnologySpeakScreen returns the string constant AXTechnologySpeakScreen, for use as a dictionary key or argument.
func AXTechnologySwitchControl ¶
AXTechnologySwitchControl returns the string constant AXTechnologySwitchControl, for use as a dictionary key or argument.
func AXTechnologyVoiceControl ¶
AXTechnologyVoiceControl returns the string constant AXTechnologyVoiceControl, for use as a dictionary key or argument.
func AXTechnologyVoiceOver ¶
AXTechnologyVoiceOver returns the string constant AXTechnologyVoiceOver, for use as a dictionary key or argument.
func AXTechnologyZoom ¶
AXTechnologyZoom returns the string constant AXTechnologyZoom, for use as a dictionary key or argument.
func SupportedLocales ¶ added in v0.17.0
func SupportedLocales() []*foundation.Locale
SupportedLocales returns all locales supported by existing tables.
func UpdateValue ¶ added in v0.17.0
func UpdateValue(value float64)
UpdateValue sets the pitch of the audio graph’s tone.
Types ¶
type BrailleMap ¶ added in v0.17.0
BrailleMap is an idiomatic wrapper over the Objective-C class AXBrailleMap.
A representation of a two-dimensional braille display.
func BrailleMapFromID ¶ added in v0.17.0
func BrailleMapFromID(id objc.ID) *BrailleMap
BrailleMapFromID adopts an existing Objective-C object as a BrailleMap (nil for 0), retaining it and registering a release finalizer.
func NewBrailleMap ¶ added in v0.17.0
func NewBrailleMap() *BrailleMap
NewBrailleMap creates a new BrailleMap.
func (*BrailleMap) Description ¶ added in v0.17.0
func (bm *BrailleMap) Description() string
Description returns the object's -description text.
func (*BrailleMap) Dimensions ¶ added in v0.17.0
func (bm *BrailleMap) Dimensions() corefoundation.CGSize
Dimensions returns the dimensions.
func (*BrailleMap) HeightAtPoint ¶ added in v0.17.0
func (bm *BrailleMap) HeightAtPoint(point corefoundation.CGPoint) float32
HeightAtPoint retrieves the height of an individual pin on the braille display.
func (*BrailleMap) IsEqual ¶ added in v0.17.0
func (bm *BrailleMap) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*BrailleMap) IsKind ¶ added in v0.17.0
func (bm *BrailleMap) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*BrailleMap) PresentImage ¶ added in v0.17.0
func (bm *BrailleMap) PresentImage(image coregraphics.CGImageRef)
PresentImage converts the data from the image you specify into the braille map.
func (*BrailleMap) SetHeightAtPoint ¶ added in v0.17.0
func (bm *BrailleMap) SetHeightAtPoint(status float32, point corefoundation.CGPoint)
SetHeightAtPoint sets the height of an individual pin on the braille display.
func (*BrailleMap) String ¶ added in v0.17.0
func (bm *BrailleMap) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type BrailleMapRenderer ¶ added in v0.17.0
type BrailleMapRenderer interface {
SetAccessibilityBrailleMapRenderRegion(accessibilityBrailleMapRenderRegion corefoundation.CGRect)
SetAccessibilityBrailleMapRenderer(accessibilityBrailleMapRenderer func(obj.Object))
}
BrailleMapRenderer is the Go form of the Objective-C protocol AXBrailleMapRenderer.
type BrailleTable ¶ added in v0.17.0
BrailleTable is an idiomatic wrapper over the Objective-C class AXBrailleTable.
A rule for translating print text to Braille, and back-translating Braille to print text.
func BrailleTableFromID ¶ added in v0.17.0
func BrailleTableFromID(id objc.ID) *BrailleTable
BrailleTableFromID adopts an existing Objective-C object as a BrailleTable (nil for 0), retaining it and registering a release finalizer.
func DefaultTableForLocale ¶ added in v0.17.0
func DefaultTableForLocale(locale obj.Object) *BrailleTable
DefaultTableForLocale the default table that provides translations for the given locale’s language. Returns nil if there is none.
func LanguageAgnosticTables ¶ added in v0.17.0
func LanguageAgnosticTables() []*BrailleTable
LanguageAgnosticTables returns all tables that are not specific to any language.
func NewBrailleTableWithIdentifier ¶ added in v0.17.0
func NewBrailleTableWithIdentifier(identifier string) *BrailleTable
NewBrailleTableWithIdentifier returns nil if there is no table with the given identifier.
func TablesForLocale ¶ added in v0.17.0
func TablesForLocale(locale obj.Object) []*BrailleTable
TablesForLocale all tables that provide translations for the given locale’s language.
func (*BrailleTable) Description ¶ added in v0.17.0
func (bt *BrailleTable) Description() string
Description returns the object's -description text.
func (*BrailleTable) Identifier ¶ added in v0.17.0
func (bt *BrailleTable) Identifier() string
Identifier returns a unique string that identifies this table.
func (*BrailleTable) IsEightDot ¶ added in v0.17.0
func (bt *BrailleTable) IsEightDot() bool
IsEightDot reports whether this table makes use of eight dots as opposed to six dots.
func (*BrailleTable) IsEqual ¶ added in v0.17.0
func (bt *BrailleTable) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*BrailleTable) IsKind ¶ added in v0.17.0
func (bt *BrailleTable) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*BrailleTable) Language ¶ added in v0.17.0
func (bt *BrailleTable) Language() string
Language returns the 3-character code from ISO 639-2 for the language this Braille table pertains to.
func (*BrailleTable) Locales ¶ added in v0.17.0
func (bt *BrailleTable) Locales() []*foundation.Locale
Locales returns all locales this table supports. The order of the returned elements is unspecified.
func (*BrailleTable) LocalizedName ¶ added in v0.17.0
func (bt *BrailleTable) LocalizedName() string
LocalizedName returns the localized name of this table for user display.
func (*BrailleTable) LocalizedProviderName ¶ added in v0.17.0
func (bt *BrailleTable) LocalizedProviderName() string
LocalizedProviderName returns the localized name of the provider of this table for user display.
func (*BrailleTable) ProviderIdentifier ¶ added in v0.17.0
func (bt *BrailleTable) ProviderIdentifier() string
ProviderIdentifier returns the identifier of the provider of this table.
func (*BrailleTable) String ¶ added in v0.17.0
func (bt *BrailleTable) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type BrailleTranslationResult ¶ added in v0.17.0
BrailleTranslationResult is an idiomatic wrapper over the Objective-C class AXBrailleTranslationResult.
The result of translation or back-translation.
func BrailleTranslationResultFromID ¶ added in v0.17.0
func BrailleTranslationResultFromID(id objc.ID) *BrailleTranslationResult
BrailleTranslationResultFromID adopts an existing Objective-C object as a BrailleTranslationResult (nil for 0), retaining it and registering a release finalizer.
func NewBrailleTranslationResult ¶ added in v0.17.0
func NewBrailleTranslationResult() *BrailleTranslationResult
NewBrailleTranslationResult creates a new BrailleTranslationResult.
func (*BrailleTranslationResult) Description ¶ added in v0.17.0
func (btr *BrailleTranslationResult) Description() string
Description returns the object's -description text.
func (*BrailleTranslationResult) IsEqual ¶ added in v0.17.0
func (btr *BrailleTranslationResult) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*BrailleTranslationResult) IsKind ¶ added in v0.17.0
func (btr *BrailleTranslationResult) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*BrailleTranslationResult) LocationMap ¶ added in v0.17.0
func (btr *BrailleTranslationResult) LocationMap() []obj.Object
LocationMap returns an array of integers that has the same length as the resultString. locationMap[i]-th character in the input string corresponds to resultString[i].
LocationMap returns the collection as a Go slice.
func (*BrailleTranslationResult) ResultString ¶ added in v0.17.0
func (btr *BrailleTranslationResult) ResultString() string
ResultString returns the resulting string after translation or back-translation.
func (*BrailleTranslationResult) String ¶ added in v0.17.0
func (btr *BrailleTranslationResult) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type BrailleTranslator ¶ added in v0.17.0
BrailleTranslator is an idiomatic wrapper over the Objective-C class AXBrailleTranslator.
Translates print text to Braille and Braille to print text according to the given Braille table.
func BrailleTranslatorFromID ¶ added in v0.17.0
func BrailleTranslatorFromID(id objc.ID) *BrailleTranslator
BrailleTranslatorFromID adopts an existing Objective-C object as a BrailleTranslator (nil for 0), retaining it and registering a release finalizer.
func NewBrailleTranslatorWithBrailleTable ¶ added in v0.17.0
func NewBrailleTranslatorWithBrailleTable(brailleTable *BrailleTable) *BrailleTranslator
NewBrailleTranslatorWithBrailleTable creates a new BrailleTranslator.
func (*BrailleTranslator) BackTranslateBraille ¶ added in v0.17.0
func (bt *BrailleTranslator) BackTranslateBraille(braille string) *BrailleTranslationResult
BackTranslateBraille input Braille should use the unicode Braille characters (0x2800-0x28FF).
func (*BrailleTranslator) Description ¶ added in v0.17.0
func (bt *BrailleTranslator) Description() string
Description returns the object's -description text.
func (*BrailleTranslator) IsEqual ¶ added in v0.17.0
func (bt *BrailleTranslator) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*BrailleTranslator) IsKind ¶ added in v0.17.0
func (bt *BrailleTranslator) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*BrailleTranslator) String ¶ added in v0.17.0
func (bt *BrailleTranslator) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*BrailleTranslator) TranslatePrintText ¶ added in v0.17.0
func (bt *BrailleTranslator) TranslatePrintText(printText string) *BrailleTranslationResult
TranslatePrintText output Braille uses the unicode Braille characters (0x2800-0x28FF).
type CategoricalDataAxisDescriptor ¶ added in v0.17.0
CategoricalDataAxisDescriptor is an idiomatic wrapper over the Objective-C class AXCategoricalDataAxisDescriptor.
An object that represents an axis of categorical data.
func CategoricalDataAxisDescriptorFromID ¶ added in v0.17.0
func CategoricalDataAxisDescriptorFromID(id objc.ID) *CategoricalDataAxisDescriptor
CategoricalDataAxisDescriptorFromID adopts an existing Objective-C object as a CategoricalDataAxisDescriptor (nil for 0), retaining it and registering a release finalizer.
func NewCategoricalDataAxisDescriptorWithAttributedTitleCategoryOrder ¶ added in v0.17.0
func NewCategoricalDataAxisDescriptorWithAttributedTitleCategoryOrder(attributedTitle obj.Object, categoryOrder []string) *CategoricalDataAxisDescriptor
NewCategoricalDataAxisDescriptorWithAttributedTitleCategoryOrder creates a categorical data axis with the specified attributed title and an array of categories in the specified order.
func NewCategoricalDataAxisDescriptorWithTitleCategoryOrder ¶ added in v0.17.0
func NewCategoricalDataAxisDescriptorWithTitleCategoryOrder(title string, categoryOrder []string) *CategoricalDataAxisDescriptor
NewCategoricalDataAxisDescriptorWithTitleCategoryOrder creates a categorical data axis with the specified title and an array of categories in the specified order.
func (*CategoricalDataAxisDescriptor) CategoryOrder ¶ added in v0.17.0
func (cdad *CategoricalDataAxisDescriptor) CategoryOrder() []string
CategoryOrder returns the order of the category values for this axis. This list should contain every possible category value for this axis, in the order they are displayed visually in the graph or legend. For example, if your categorical axis represented 'blood type', and the legend contained 'AB, A, B, O' in that order, you would provide an array containing "AB", "A", "B" and "O" in the same order.
CategoryOrder returns the collection as a Go slice.
func (*CategoricalDataAxisDescriptor) Description ¶ added in v0.17.0
func (cdad *CategoricalDataAxisDescriptor) Description() string
Description returns the object's -description text.
func (*CategoricalDataAxisDescriptor) IsEqual ¶ added in v0.17.0
func (cdad *CategoricalDataAxisDescriptor) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*CategoricalDataAxisDescriptor) IsKind ¶ added in v0.17.0
func (cdad *CategoricalDataAxisDescriptor) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*CategoricalDataAxisDescriptor) String ¶ added in v0.17.0
func (cdad *CategoricalDataAxisDescriptor) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*CategoricalDataAxisDescriptor) WithCategoryOrder ¶ added in v0.17.0
func (cdad *CategoricalDataAxisDescriptor) WithCategoryOrder(items ...obj.Object) *CategoricalDataAxisDescriptor
WithCategoryOrder sets a list of every category value for the axis in the order they appear visually in the graph or legend.
type Chart ¶ added in v0.17.0
type Chart interface {
AccessibilityChartDescriptor() *ChartDescriptor
SetAccessibilityChartDescriptor(accessibilityChartDescriptor *ChartDescriptor)
}
Chart is the Go form of the Objective-C protocol AXChart.
type ChartDescriptor ¶ added in v0.17.0
ChartDescriptor is an idiomatic wrapper over the Objective-C class AXChartDescriptor.
An object that contains all the semantic information about an accessible chart.
func ChartDescriptorFromID ¶ added in v0.17.0
func ChartDescriptorFromID(id objc.ID) *ChartDescriptor
ChartDescriptorFromID adopts an existing Objective-C object as a ChartDescriptor (nil for 0), retaining it and registering a release finalizer.
func NewChartDescriptor ¶ added in v0.17.0
func NewChartDescriptor() *ChartDescriptor
NewChartDescriptor creates a new ChartDescriptor.
func (*ChartDescriptor) AdditionalAxes ¶ added in v0.17.0
func (cd *ChartDescriptor) AdditionalAxes() []obj.Object
AdditionalAxes returns descriptors for additional categorical or numerical axes beyond x and y. For example, in a visual chart, these values might be represented by the size or color of data points.
func (*ChartDescriptor) AttributedTitle ¶ added in v0.17.0
func (cd *ChartDescriptor) AttributedTitle() *foundation.AttributedString
AttributedTitle returns an attributed version of the title of the chart. When set, this will be used instead of `title`.
func (*ChartDescriptor) ContentDirection ¶ added in v0.17.0
func (cd *ChartDescriptor) ContentDirection() ChartDescriptorContentDirection
ContentDirection returns the direction of the chart's X axis.
func (*ChartDescriptor) ContentFrame ¶ added in v0.17.0
func (cd *ChartDescriptor) ContentFrame() corefoundation.CGRect
ContentFrame returns the bounds of the view area for visually rendering data values if applicable, provided in superview coordinates.
func (*ChartDescriptor) Description ¶ added in v0.17.0
func (cd *ChartDescriptor) Description() string
Description returns the object's -description text.
func (*ChartDescriptor) IsEqual ¶ added in v0.17.0
func (cd *ChartDescriptor) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*ChartDescriptor) IsKind ¶ added in v0.17.0
func (cd *ChartDescriptor) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*ChartDescriptor) Series ¶ added in v0.17.0
func (cd *ChartDescriptor) Series() []*DataSeriesDescriptor
Series returns a set of data series descriptors describing each series in the chart.
Series returns the collection as a Go slice.
func (*ChartDescriptor) SetAdditionalAxes ¶ added in v0.17.0
func (cd *ChartDescriptor) SetAdditionalAxes(additionalAxes []obj.Object)
SetAdditionalAxes wraps the corresponding Objective-C method.
func (*ChartDescriptor) String ¶ added in v0.17.0
func (cd *ChartDescriptor) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*ChartDescriptor) Summary ¶ added in v0.17.0
func (cd *ChartDescriptor) Summary() string
Summary returns a natural language summary of the key message or features of the chart. e.g. "The chart shows that fuel efficiency decreases as vehicle weight increases."
func (*ChartDescriptor) Title ¶ added in v0.17.0
func (cd *ChartDescriptor) Title() string
Title returns the title of the chart.
func (*ChartDescriptor) WithAttributedTitle ¶ added in v0.17.0
func (cd *ChartDescriptor) WithAttributedTitle(attributedTitle obj.Object) *ChartDescriptor
WithAttributedTitle sets an attributed version of the chart title.
func (*ChartDescriptor) WithContentDirection ¶ added in v0.17.0
func (cd *ChartDescriptor) WithContentDirection(contentDirection ChartDescriptorContentDirection) *ChartDescriptor
WithContentDirection sets the direction of the content in the chart.
func (*ChartDescriptor) WithContentFrame ¶ added in v0.17.0
func (cd *ChartDescriptor) WithContentFrame(contentFrame corefoundation.CGRect) *ChartDescriptor
WithContentFrame sets the bounds of the view, in screen coordinates, for visually rendering data values.
func (*ChartDescriptor) WithSeries ¶ added in v0.17.0
func (cd *ChartDescriptor) WithSeries(items ...*DataSeriesDescriptor) *ChartDescriptor
WithSeries sets the descriptors for each data series in the chart.
func (*ChartDescriptor) WithSummary ¶ added in v0.17.0
func (cd *ChartDescriptor) WithSummary(summary string) *ChartDescriptor
WithSummary sets a description of the key takeaways or features of the chart.
func (*ChartDescriptor) WithTitle ¶ added in v0.17.0
func (cd *ChartDescriptor) WithTitle(title string) *ChartDescriptor
WithTitle sets the title of the chart.
func (*ChartDescriptor) WithYAxis ¶ added in v0.17.0
func (cd *ChartDescriptor) WithYAxis(yAxis *NumericDataAxisDescriptor) *ChartDescriptor
WithYAxis sets the axis descriptor for the chart’s y-axis.
func (*ChartDescriptor) YAxis ¶ added in v0.17.0
func (cd *ChartDescriptor) YAxis() *NumericDataAxisDescriptor
YAxis returns the axis descriptor for the chart's Y axis.
type ChartDescriptorContentDirection ¶ added in v0.17.0
type ChartDescriptorContentDirection int64
A constant that describes the content direction of the chart.
const ( ChartContentDirectionLeftToRight ChartDescriptorContentDirection = 0 ChartContentDirectionRightToLeft ChartDescriptorContentDirection = 1 ChartContentDirectionTopToBottom ChartDescriptorContentDirection = 2 ChartContentDirectionBottomToTop ChartDescriptorContentDirection = 3 ChartContentDirectionRadialClockwise ChartDescriptorContentDirection = 4 ChartContentDirectionRadialCounterClockwise ChartDescriptorContentDirection = 5 )
func (ChartDescriptorContentDirection) String ¶ added in v0.17.0
func (e ChartDescriptorContentDirection) String() string
String returns the ChartDescriptorContentDirection constant's name, or its numeric form when the value is not a known constant.
type CustomContent ¶ added in v0.17.0
CustomContent is an idiomatic wrapper over the Objective-C class AXCustomContent.
Objects that define custom content and the timing of its output.
func CustomContentFromID ¶ added in v0.17.0
func CustomContentFromID(id objc.ID) *CustomContent
CustomContentFromID adopts an existing Objective-C object as a CustomContent (nil for 0), retaining it and registering a release finalizer.
func CustomContentWithAttributedLabelAttributedValue ¶ added in v0.17.0
func CustomContentWithAttributedLabelAttributedValue(label obj.Object, value obj.Object) *CustomContent
CustomContentWithAttributedLabelAttributedValue creates new custom content with an attributed string and attributed value.
func CustomContentWithLabelValue ¶ added in v0.17.0
func CustomContentWithLabelValue(label string, value string) *CustomContent
CustomContentWithLabelValue creates new custom content with a label and value.
func NewCustomContent ¶ added in v0.17.0
func NewCustomContent() *CustomContent
NewCustomContent creates a new CustomContent.
func (*CustomContent) AttributedLabel ¶ added in v0.17.0
func (cc *CustomContent) AttributedLabel() *foundation.AttributedString
AttributedLabel returns the attributed label.
func (*CustomContent) AttributedValue ¶ added in v0.17.0
func (cc *CustomContent) AttributedValue() *foundation.AttributedString
AttributedValue returns the attributed value.
func (*CustomContent) Description ¶ added in v0.17.0
func (cc *CustomContent) Description() string
Description returns the object's -description text.
func (*CustomContent) Importance ¶ added in v0.17.0
func (cc *CustomContent) Importance() CustomContentImportance
Importance returns the importance.
func (*CustomContent) IsEqual ¶ added in v0.17.0
func (cc *CustomContent) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*CustomContent) IsKind ¶ added in v0.17.0
func (cc *CustomContent) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*CustomContent) Label ¶ added in v0.17.0
func (cc *CustomContent) Label() string
Label returns the label.
func (*CustomContent) String ¶ added in v0.17.0
func (cc *CustomContent) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*CustomContent) Value ¶ added in v0.17.0
func (cc *CustomContent) Value() string
Value returns the value.
func (*CustomContent) WithImportance ¶ added in v0.17.0
func (cc *CustomContent) WithImportance(importance CustomContentImportance) *CustomContent
WithImportance sets an object that determines when to output custom accessibility content.
type CustomContentImportance ¶ added in v0.17.0
type CustomContentImportance uint64
Objects that control the timing of content output.
const ( CustomContentImportanceDefault CustomContentImportance = 0 CustomContentImportanceHigh CustomContentImportance = 1 )
func (CustomContentImportance) String ¶ added in v0.17.0
func (e CustomContentImportance) String() string
String returns the CustomContentImportance constant's name, or its numeric form when the value is not a known constant.
type CustomContentProvider ¶ added in v0.17.0
type CustomContentProvider interface {
AccessibilityCustomContent() []*CustomContent
SetAccessibilityCustomContent(accessibilityCustomContent []*CustomContent)
SetAccessibilityCustomContentBlock(accessibilityCustomContentBlock obj.Object)
}
CustomContentProvider is the Go form of the Objective-C protocol AXCustomContentProvider.
type DataAxisDescriptor ¶ added in v0.17.0
type DataAxisDescriptor interface {
Title() string
SetTitle(title string)
AttributedTitle() *foundation.AttributedString
SetAttributedTitle(attributedTitle obj.Object)
}
DataAxisDescriptor is the Go form of the Objective-C protocol AXDataAxisDescriptor.
type DataPoint ¶ added in v0.17.0
DataPoint is an idiomatic wrapper over the Objective-C class AXDataPoint.
An object that represents a single data point in a chart.
func DataPointFromID ¶ added in v0.17.0
DataPointFromID adopts an existing Objective-C object as a DataPoint (nil for 0), retaining it and registering a release finalizer.
func NewDataPointWithXY ¶ added in v0.17.0
func NewDataPointWithXY(xValue *DataPointValue, yValue *DataPointValue) *DataPoint
NewDataPointWithXY creates a data point with the specified x- and y-values.
func NewDataPointWithXYAdditionalValues ¶ added in v0.17.0
func NewDataPointWithXYAdditionalValues(xValue *DataPointValue, yValue *DataPointValue, additionalValues []*DataPointValue) *DataPoint
NewDataPointWithXYAdditionalValues creates a data point with the specified x-value, y-value, and additional values.
func NewDataPointWithXYAdditionalValuesLabel ¶ added in v0.17.0
func NewDataPointWithXYAdditionalValuesLabel(xValue *DataPointValue, yValue *DataPointValue, additionalValues []*DataPointValue, label string) *DataPoint
NewDataPointWithXYAdditionalValuesLabel creates a data point with the specified x-value, y-value, additional values, and label.
func (*DataPoint) AdditionalValues ¶ added in v0.17.0
func (dp *DataPoint) AdditionalValues() []*DataPointValue
AdditionalValues returns any additional values for additional axes for this data point. These should be provided in the same order as their corresponding `AXDataAxisDescriptor` objects in `AXChartDescriptor.additionalAxes`.
AdditionalValues returns the collection as a Go slice.
func (*DataPoint) AttributedLabel ¶ added in v0.17.0
func (dp *DataPoint) AttributedLabel() *foundation.AttributedString
AttributedLabel returns an attributed version of the name or label for this data point.
func (*DataPoint) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*DataPoint) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*DataPoint) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*DataPoint) String ¶ added in v0.17.0
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*DataPoint) WithAdditionalValues ¶ added in v0.17.0
func (dp *DataPoint) WithAdditionalValues(items ...*DataPointValue) *DataPoint
WithAdditionalValues sets an array of values for additional axes for the data point.
func (*DataPoint) WithAttributedLabel ¶ added in v0.17.0
WithAttributedLabel sets an attributed version of the label for the data point.
func (*DataPoint) WithXValue ¶ added in v0.17.0
func (dp *DataPoint) WithXValue(xValue *DataPointValue) *DataPoint
WithXValue sets the value of the x-axis for the data point.
func (*DataPoint) WithYValue ¶ added in v0.17.0
func (dp *DataPoint) WithYValue(yValue *DataPointValue) *DataPoint
WithYValue sets the value of the y-axis for the data point.
func (*DataPoint) XValue ¶ added in v0.17.0
func (dp *DataPoint) XValue() *DataPointValue
XValue returns the x-axis value for this data point. Should be a Double for a numeric x-axis or a String for a categorical x-axis.
func (*DataPoint) YValue ¶ added in v0.17.0
func (dp *DataPoint) YValue() *DataPointValue
YValue returns the y-axis value for this data point.
type DataPointValue ¶ added in v0.17.0
DataPointValue is an idiomatic wrapper over the Objective-C class AXDataPointValue.
A single data value.
func DataPointValueFromID ¶ added in v0.17.0
func DataPointValueFromID(id objc.ID) *DataPointValue
DataPointValueFromID adopts an existing Objective-C object as a DataPointValue (nil for 0), retaining it and registering a release finalizer.
func NewDataPointValue ¶ added in v0.17.0
func NewDataPointValue() *DataPointValue
NewDataPointValue creates a new DataPointValue.
func ValueWithCategory ¶ added in v0.17.0
func ValueWithCategory(category string) *DataPointValue
ValueWithCategory creates a categorical data value with the specified category string.
func ValueWithNumber ¶ added in v0.17.0
func ValueWithNumber(number float64) *DataPointValue
ValueWithNumber creates a numeric data value with the specified number.
func (*DataPointValue) Category ¶ added in v0.17.0
func (dpv *DataPointValue) Category() string
Category returns the category.
func (*DataPointValue) Description ¶ added in v0.17.0
func (dpv *DataPointValue) Description() string
Description returns the object's -description text.
func (*DataPointValue) IsEqual ¶ added in v0.17.0
func (dpv *DataPointValue) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*DataPointValue) IsKind ¶ added in v0.17.0
func (dpv *DataPointValue) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*DataPointValue) Number ¶ added in v0.17.0
func (dpv *DataPointValue) Number() float64
Number returns the number.
func (*DataPointValue) String ¶ added in v0.17.0
func (dpv *DataPointValue) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*DataPointValue) WithCategory ¶ added in v0.17.0
func (dpv *DataPointValue) WithCategory(category string) *DataPointValue
WithCategory sets a string that represents the categorical data value.
func (*DataPointValue) WithNumber ¶ added in v0.17.0
func (dpv *DataPointValue) WithNumber(number float64) *DataPointValue
WithNumber sets a number that represents the numeric data value.
type DataSeriesDescriptor ¶ added in v0.17.0
DataSeriesDescriptor is an idiomatic wrapper over the Objective-C class AXDataSeriesDescriptor.
An object that represents a series of data points.
func DataSeriesDescriptorFromID ¶ added in v0.17.0
func DataSeriesDescriptorFromID(id objc.ID) *DataSeriesDescriptor
DataSeriesDescriptorFromID adopts an existing Objective-C object as a DataSeriesDescriptor (nil for 0), retaining it and registering a release finalizer.
func NewDataSeriesDescriptorWithAttributedNameIsContinuousDataPoints ¶ added in v0.17.0
func NewDataSeriesDescriptorWithAttributedNameIsContinuousDataPoints(attributedName obj.Object, isContinuous bool, dataPoints []*DataPoint) *DataSeriesDescriptor
NewDataSeriesDescriptorWithAttributedNameIsContinuousDataPoints creates a data series with the specified attributed name, a Boolean value that indicates whether the series is continuous, and data points.
func NewDataSeriesDescriptorWithNameIsContinuousDataPoints ¶ added in v0.17.0
func NewDataSeriesDescriptorWithNameIsContinuousDataPoints(name string, isContinuous bool, dataPoints []*DataPoint) *DataSeriesDescriptor
NewDataSeriesDescriptorWithNameIsContinuousDataPoints creates a data series with the specified name, a Boolean value that indicates whether the series is continuous, and data points.
func (*DataSeriesDescriptor) AttributedName ¶ added in v0.17.0
func (dsd *DataSeriesDescriptor) AttributedName() *foundation.AttributedString
AttributedName returns an attributed version of the name of this data series. When set, this will be used instead of `name`.
func (*DataSeriesDescriptor) DataPoints ¶ added in v0.17.0
func (dsd *DataSeriesDescriptor) DataPoints() []*DataPoint
DataPoints returns the data points that make up the series.
DataPoints returns the collection as a Go slice.
func (*DataSeriesDescriptor) Description ¶ added in v0.17.0
func (dsd *DataSeriesDescriptor) Description() string
Description returns the object's -description text.
func (*DataSeriesDescriptor) IsContinuous ¶ added in v0.17.0
func (dsd *DataSeriesDescriptor) IsContinuous() bool
IsContinuous reports whether this data series should be treated as continuous.
func (*DataSeriesDescriptor) IsEqual ¶ added in v0.17.0
func (dsd *DataSeriesDescriptor) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*DataSeriesDescriptor) IsKind ¶ added in v0.17.0
func (dsd *DataSeriesDescriptor) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*DataSeriesDescriptor) Name ¶ added in v0.17.0
func (dsd *DataSeriesDescriptor) Name() string
Name returns the name or title of this data series.
func (*DataSeriesDescriptor) String ¶ added in v0.17.0
func (dsd *DataSeriesDescriptor) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*DataSeriesDescriptor) WithAttributedName ¶ added in v0.17.0
func (dsd *DataSeriesDescriptor) WithAttributedName(attributedName obj.Object) *DataSeriesDescriptor
WithAttributedName sets an attributed version of the data series name.
func (*DataSeriesDescriptor) WithDataPoints ¶ added in v0.17.0
func (dsd *DataSeriesDescriptor) WithDataPoints(items ...*DataPoint) *DataSeriesDescriptor
WithDataPoints sets the data points that the series contains.
func (*DataSeriesDescriptor) WithIsContinuous ¶ added in v0.17.0
func (dsd *DataSeriesDescriptor) WithIsContinuous(isContinuous bool) *DataSeriesDescriptor
WithIsContinuous sets a Boolean value that determines whether the data series is continuous.
func (*DataSeriesDescriptor) WithName ¶ added in v0.17.0
func (dsd *DataSeriesDescriptor) WithName(name string) *DataSeriesDescriptor
WithName sets the name of the data series.
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
func (e DispatchAutoreleaseFrequency) String() string
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 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 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 LiveAudioGraph ¶ added in v0.17.0
LiveAudioGraph is an idiomatic wrapper over the Objective-C class AXLiveAudioGraph.
An object that represents an audio graph for a live-updating, continuous data series for VoiceOver.
func LiveAudioGraphFromID ¶ added in v0.17.0
func LiveAudioGraphFromID(id objc.ID) *LiveAudioGraph
LiveAudioGraphFromID adopts an existing Objective-C object as a LiveAudioGraph (nil for 0), retaining it and registering a release finalizer.
func NewLiveAudioGraph ¶ added in v0.17.0
func NewLiveAudioGraph() *LiveAudioGraph
NewLiveAudioGraph creates a new LiveAudioGraph.
func (*LiveAudioGraph) Description ¶ added in v0.17.0
func (lag *LiveAudioGraph) Description() string
Description returns the object's -description text.
func (*LiveAudioGraph) IsEqual ¶ added in v0.17.0
func (lag *LiveAudioGraph) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*LiveAudioGraph) IsKind ¶ added in v0.17.0
func (lag *LiveAudioGraph) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*LiveAudioGraph) String ¶ added in v0.17.0
func (lag *LiveAudioGraph) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
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 MathExpression ¶ added in v0.17.0
MathExpression is an idiomatic wrapper over the Objective-C class AXMathExpression.
MathExpression is an abstract base — you do not construct it directly. Construct one of MathExpressionFenced, MathExpressionFraction, MathExpressionIdentifier, MathExpressionMultiscript, MathExpressionNumber, MathExpressionOperator, MathExpressionRoot, MathExpressionRow, MathExpressionSubSuperscript, MathExpressionTableCell, MathExpressionTableRow, MathExpressionTable, MathExpressionText, MathExpressionUnderOver and pass it where a MathExpression is accepted.
func MathExpressionFromID ¶ added in v0.17.0
func MathExpressionFromID(id objc.ID) *MathExpression
MathExpressionFromID adopts an existing Objective-C object as a MathExpression (nil for 0), retaining it and registering a release finalizer.
func (*MathExpression) Description ¶ added in v0.17.0
func (me *MathExpression) Description() string
Description returns the object's -description text.
func (*MathExpression) IsEqual ¶ added in v0.17.0
func (me *MathExpression) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*MathExpression) IsKind ¶ added in v0.17.0
func (me *MathExpression) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*MathExpression) String ¶ added in v0.17.0
func (me *MathExpression) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type MathExpressionFenced ¶ added in v0.17.0
type MathExpressionFenced struct {
MathExpression
}
MathExpressionFenced is an idiomatic wrapper over the Objective-C class AXMathExpressionFenced.
It embeds MathExpression, promoting that type's methods.
func MathExpressionFencedFromID ¶ added in v0.17.0
func MathExpressionFencedFromID(id objc.ID) *MathExpressionFenced
MathExpressionFencedFromID adopts an existing Objective-C object as a MathExpressionFenced (nil for 0), retaining it and registering a release finalizer.
func NewMathExpressionFencedWithExpressionsOpenStringCloseString ¶ added in v0.17.0
func NewMathExpressionFencedWithExpressionsOpenStringCloseString(expressions []*MathExpression, openString string, closeString string) *MathExpressionFenced
NewMathExpressionFencedWithExpressionsOpenStringCloseString creates a new MathExpressionFenced.
func (*MathExpressionFenced) CloseString ¶ added in v0.17.0
func (mef *MathExpressionFenced) CloseString() string
CloseString returns the close string.
func (*MathExpressionFenced) Expressions ¶ added in v0.17.0
func (mef *MathExpressionFenced) Expressions() []*MathExpression
Expressions returns the expressions.
Expressions returns the collection as a Go slice.
func (*MathExpressionFenced) OpenString ¶ added in v0.17.0
func (mef *MathExpressionFenced) OpenString() string
OpenString returns the open string.
type MathExpressionFraction ¶ added in v0.17.0
type MathExpressionFraction struct {
MathExpression
}
MathExpressionFraction is an idiomatic wrapper over the Objective-C class AXMathExpressionFraction.
It embeds MathExpression, promoting that type's methods.
func MathExpressionFractionFromID ¶ added in v0.17.0
func MathExpressionFractionFromID(id objc.ID) *MathExpressionFraction
MathExpressionFractionFromID adopts an existing Objective-C object as a MathExpressionFraction (nil for 0), retaining it and registering a release finalizer.
func NewMathExpressionFractionWithNumeratorExpressionDenimonatorExpression ¶ added in v0.17.0
func NewMathExpressionFractionWithNumeratorExpressionDenimonatorExpression(numeratorExpression *MathExpression, denimonatorExpression *MathExpression) *MathExpressionFraction
NewMathExpressionFractionWithNumeratorExpressionDenimonatorExpression creates a new MathExpressionFraction.
func (*MathExpressionFraction) DenimonatorExpression ¶ added in v0.17.0
func (mef *MathExpressionFraction) DenimonatorExpression() *MathExpression
DenimonatorExpression returns the denimonator expression.
func (*MathExpressionFraction) NumeratorExpression ¶ added in v0.17.0
func (mef *MathExpressionFraction) NumeratorExpression() *MathExpression
NumeratorExpression returns the numerator expression.
type MathExpressionIdentifier ¶ added in v0.17.0
type MathExpressionIdentifier struct {
MathExpression
}
MathExpressionIdentifier is an idiomatic wrapper over the Objective-C class AXMathExpressionIdentifier.
It embeds MathExpression, promoting that type's methods.
func MathExpressionIdentifierFromID ¶ added in v0.17.0
func MathExpressionIdentifierFromID(id objc.ID) *MathExpressionIdentifier
MathExpressionIdentifierFromID adopts an existing Objective-C object as a MathExpressionIdentifier (nil for 0), retaining it and registering a release finalizer.
func NewMathExpressionIdentifierWithContent ¶ added in v0.17.0
func NewMathExpressionIdentifierWithContent(content string) *MathExpressionIdentifier
NewMathExpressionIdentifierWithContent creates a new MathExpressionIdentifier.
func (*MathExpressionIdentifier) Content ¶ added in v0.17.0
func (mei *MathExpressionIdentifier) Content() string
Content returns the content.
type MathExpressionMultiscript ¶ added in v0.17.0
type MathExpressionMultiscript struct {
MathExpression
}
MathExpressionMultiscript is an idiomatic wrapper over the Objective-C class AXMathExpressionMultiscript.
It embeds MathExpression, promoting that type's methods.
func MathExpressionMultiscriptFromID ¶ added in v0.17.0
func MathExpressionMultiscriptFromID(id objc.ID) *MathExpressionMultiscript
MathExpressionMultiscriptFromID adopts an existing Objective-C object as a MathExpressionMultiscript (nil for 0), retaining it and registering a release finalizer.
func NewMathExpressionMultiscriptWithBaseExpressionPrescriptExpressionsPostscriptExpressions ¶ added in v0.17.0
func NewMathExpressionMultiscriptWithBaseExpressionPrescriptExpressionsPostscriptExpressions(baseExpression *MathExpression, prescriptExpressions []*MathExpressionSubSuperscript, postscriptExpressions []*MathExpressionSubSuperscript) *MathExpressionMultiscript
NewMathExpressionMultiscriptWithBaseExpressionPrescriptExpressionsPostscriptExpressions creates a new MathExpressionMultiscript.
func (*MathExpressionMultiscript) BaseExpression ¶ added in v0.17.0
func (mem *MathExpressionMultiscript) BaseExpression() *MathExpression
BaseExpression returns the base expression.
func (*MathExpressionMultiscript) PostscriptExpressions ¶ added in v0.17.0
func (mem *MathExpressionMultiscript) PostscriptExpressions() []*MathExpressionSubSuperscript
PostscriptExpressions returns the postscript expressions.
PostscriptExpressions returns the collection as a Go slice.
func (*MathExpressionMultiscript) PrescriptExpressions ¶ added in v0.17.0
func (mem *MathExpressionMultiscript) PrescriptExpressions() []*MathExpressionSubSuperscript
PrescriptExpressions returns the prescript expressions.
PrescriptExpressions returns the collection as a Go slice.
type MathExpressionNumber ¶ added in v0.17.0
type MathExpressionNumber struct {
MathExpression
}
MathExpressionNumber is an idiomatic wrapper over the Objective-C class AXMathExpressionNumber.
It embeds MathExpression, promoting that type's methods.
func MathExpressionNumberFromID ¶ added in v0.17.0
func MathExpressionNumberFromID(id objc.ID) *MathExpressionNumber
MathExpressionNumberFromID adopts an existing Objective-C object as a MathExpressionNumber (nil for 0), retaining it and registering a release finalizer.
func NewMathExpressionNumberWithContent ¶ added in v0.17.0
func NewMathExpressionNumberWithContent(content string) *MathExpressionNumber
NewMathExpressionNumberWithContent creates a new MathExpressionNumber.
func (*MathExpressionNumber) Content ¶ added in v0.17.0
func (men *MathExpressionNumber) Content() string
Content returns the content.
type MathExpressionOperator ¶ added in v0.17.0
type MathExpressionOperator struct {
MathExpression
}
MathExpressionOperator is an idiomatic wrapper over the Objective-C class AXMathExpressionOperator.
It embeds MathExpression, promoting that type's methods.
func MathExpressionOperatorFromID ¶ added in v0.17.0
func MathExpressionOperatorFromID(id objc.ID) *MathExpressionOperator
MathExpressionOperatorFromID adopts an existing Objective-C object as a MathExpressionOperator (nil for 0), retaining it and registering a release finalizer.
func NewMathExpressionOperatorWithContent ¶ added in v0.17.0
func NewMathExpressionOperatorWithContent(content string) *MathExpressionOperator
NewMathExpressionOperatorWithContent creates a new MathExpressionOperator.
func (*MathExpressionOperator) Content ¶ added in v0.17.0
func (meo *MathExpressionOperator) Content() string
Content returns the content.
type MathExpressionProvider ¶ added in v0.17.0
MathExpressionProvider is accepted wherever a AXMathExpression (or one of its subclasses) is expected.
type MathExpressionProviderProtocol ¶ added in v0.17.0
type MathExpressionProviderProtocol interface {
AccessibilityMathExpression() *MathExpression
}
MathExpressionProviderProtocol is the Go form of the Objective-C protocol AXMathExpressionProvider.
type MathExpressionRoot ¶ added in v0.17.0
type MathExpressionRoot struct {
MathExpression
}
MathExpressionRoot is an idiomatic wrapper over the Objective-C class AXMathExpressionRoot.
It embeds MathExpression, promoting that type's methods.
func MathExpressionRootFromID ¶ added in v0.17.0
func MathExpressionRootFromID(id objc.ID) *MathExpressionRoot
MathExpressionRootFromID adopts an existing Objective-C object as a MathExpressionRoot (nil for 0), retaining it and registering a release finalizer.
func NewMathExpressionRootWithRadicandExpressionsRootIndexExpression ¶ added in v0.17.0
func NewMathExpressionRootWithRadicandExpressionsRootIndexExpression(radicandExpressions []*MathExpression, rootIndexExpression *MathExpression) *MathExpressionRoot
NewMathExpressionRootWithRadicandExpressionsRootIndexExpression creates a new MathExpressionRoot.
func (*MathExpressionRoot) RadicandExpressions ¶ added in v0.17.0
func (mer *MathExpressionRoot) RadicandExpressions() []*MathExpression
RadicandExpressions returns the radicand expressions.
RadicandExpressions returns the collection as a Go slice.
func (*MathExpressionRoot) RootIndexExpression ¶ added in v0.17.0
func (mer *MathExpressionRoot) RootIndexExpression() *MathExpression
RootIndexExpression returns the root index expression.
type MathExpressionRow ¶ added in v0.17.0
type MathExpressionRow struct {
MathExpression
}
MathExpressionRow is an idiomatic wrapper over the Objective-C class AXMathExpressionRow.
It embeds MathExpression, promoting that type's methods.
func MathExpressionRowFromID ¶ added in v0.17.0
func MathExpressionRowFromID(id objc.ID) *MathExpressionRow
MathExpressionRowFromID adopts an existing Objective-C object as a MathExpressionRow (nil for 0), retaining it and registering a release finalizer.
func NewMathExpressionRowWithExpressions ¶ added in v0.17.0
func NewMathExpressionRowWithExpressions(expressions []*MathExpression) *MathExpressionRow
NewMathExpressionRowWithExpressions creates a new MathExpressionRow.
func (*MathExpressionRow) Expressions ¶ added in v0.17.0
func (mer *MathExpressionRow) Expressions() []*MathExpression
Expressions returns the expressions.
Expressions returns the collection as a Go slice.
type MathExpressionSubSuperscript ¶ added in v0.17.0
type MathExpressionSubSuperscript struct {
MathExpression
}
MathExpressionSubSuperscript is an idiomatic wrapper over the Objective-C class AXMathExpressionSubSuperscript.
It embeds MathExpression, promoting that type's methods.
func MathExpressionSubSuperscriptFromID ¶ added in v0.17.0
func MathExpressionSubSuperscriptFromID(id objc.ID) *MathExpressionSubSuperscript
MathExpressionSubSuperscriptFromID adopts an existing Objective-C object as a MathExpressionSubSuperscript (nil for 0), retaining it and registering a release finalizer.
func NewMathExpressionSubSuperscriptWithBaseExpressionSubscriptExpressionsSuperscriptExpressions ¶ added in v0.17.0
func NewMathExpressionSubSuperscriptWithBaseExpressionSubscriptExpressionsSuperscriptExpressions(baseExpression []*MathExpression, subscriptExpressions []*MathExpression, superscriptExpressions []*MathExpression) *MathExpressionSubSuperscript
NewMathExpressionSubSuperscriptWithBaseExpressionSubscriptExpressionsSuperscriptExpressions creates a new MathExpressionSubSuperscript.
func (*MathExpressionSubSuperscript) BaseExpression ¶ added in v0.17.0
func (mess *MathExpressionSubSuperscript) BaseExpression() *MathExpression
BaseExpression returns the base expression.
func (*MathExpressionSubSuperscript) SubscriptExpressions ¶ added in v0.17.0
func (mess *MathExpressionSubSuperscript) SubscriptExpressions() []*MathExpression
SubscriptExpressions returns the subscript expressions.
SubscriptExpressions returns the collection as a Go slice.
func (*MathExpressionSubSuperscript) SuperscriptExpressions ¶ added in v0.17.0
func (mess *MathExpressionSubSuperscript) SuperscriptExpressions() []*MathExpression
SuperscriptExpressions returns the superscript expressions.
SuperscriptExpressions returns the collection as a Go slice.
type MathExpressionTable ¶ added in v0.17.0
type MathExpressionTable struct {
MathExpression
}
MathExpressionTable is an idiomatic wrapper over the Objective-C class AXMathExpressionTable.
It embeds MathExpression, promoting that type's methods.
func MathExpressionTableFromID ¶ added in v0.17.0
func MathExpressionTableFromID(id objc.ID) *MathExpressionTable
MathExpressionTableFromID adopts an existing Objective-C object as a MathExpressionTable (nil for 0), retaining it and registering a release finalizer.
func NewMathExpressionTableWithExpressions ¶ added in v0.17.0
func NewMathExpressionTableWithExpressions(expressions []*MathExpression) *MathExpressionTable
NewMathExpressionTableWithExpressions creates a new MathExpressionTable.
func (*MathExpressionTable) Expressions ¶ added in v0.17.0
func (met *MathExpressionTable) Expressions() []*MathExpression
Expressions returns the expressions.
Expressions returns the collection as a Go slice.
type MathExpressionTableCell ¶ added in v0.17.0
type MathExpressionTableCell struct {
MathExpression
}
MathExpressionTableCell is an idiomatic wrapper over the Objective-C class AXMathExpressionTableCell.
It embeds MathExpression, promoting that type's methods.
func MathExpressionTableCellFromID ¶ added in v0.17.0
func MathExpressionTableCellFromID(id objc.ID) *MathExpressionTableCell
MathExpressionTableCellFromID adopts an existing Objective-C object as a MathExpressionTableCell (nil for 0), retaining it and registering a release finalizer.
func NewMathExpressionTableCellWithExpressions ¶ added in v0.17.0
func NewMathExpressionTableCellWithExpressions(expressions []*MathExpression) *MathExpressionTableCell
NewMathExpressionTableCellWithExpressions creates a new MathExpressionTableCell.
func (*MathExpressionTableCell) Expressions ¶ added in v0.17.0
func (metc *MathExpressionTableCell) Expressions() []*MathExpression
Expressions returns the expressions.
Expressions returns the collection as a Go slice.
type MathExpressionTableRow ¶ added in v0.17.0
type MathExpressionTableRow struct {
MathExpression
}
MathExpressionTableRow is an idiomatic wrapper over the Objective-C class AXMathExpressionTableRow.
It embeds MathExpression, promoting that type's methods.
func MathExpressionTableRowFromID ¶ added in v0.17.0
func MathExpressionTableRowFromID(id objc.ID) *MathExpressionTableRow
MathExpressionTableRowFromID adopts an existing Objective-C object as a MathExpressionTableRow (nil for 0), retaining it and registering a release finalizer.
func NewMathExpressionTableRowWithExpressions ¶ added in v0.17.0
func NewMathExpressionTableRowWithExpressions(expressions []*MathExpression) *MathExpressionTableRow
NewMathExpressionTableRowWithExpressions creates a new MathExpressionTableRow.
func (*MathExpressionTableRow) Expressions ¶ added in v0.17.0
func (metr *MathExpressionTableRow) Expressions() []*MathExpression
Expressions returns the expressions.
Expressions returns the collection as a Go slice.
type MathExpressionText ¶ added in v0.17.0
type MathExpressionText struct {
MathExpression
}
MathExpressionText is an idiomatic wrapper over the Objective-C class AXMathExpressionText.
It embeds MathExpression, promoting that type's methods.
func MathExpressionTextFromID ¶ added in v0.17.0
func MathExpressionTextFromID(id objc.ID) *MathExpressionText
MathExpressionTextFromID adopts an existing Objective-C object as a MathExpressionText (nil for 0), retaining it and registering a release finalizer.
func NewMathExpressionTextWithContent ¶ added in v0.17.0
func NewMathExpressionTextWithContent(content string) *MathExpressionText
NewMathExpressionTextWithContent creates a new MathExpressionText.
func (*MathExpressionText) Content ¶ added in v0.17.0
func (met *MathExpressionText) Content() string
Content returns the content.
type MathExpressionUnderOver ¶ added in v0.17.0
type MathExpressionUnderOver struct {
MathExpression
}
MathExpressionUnderOver is an idiomatic wrapper over the Objective-C class AXMathExpressionUnderOver.
It embeds MathExpression, promoting that type's methods.
func MathExpressionUnderOverFromID ¶ added in v0.17.0
func MathExpressionUnderOverFromID(id objc.ID) *MathExpressionUnderOver
MathExpressionUnderOverFromID adopts an existing Objective-C object as a MathExpressionUnderOver (nil for 0), retaining it and registering a release finalizer.
func NewMathExpressionUnderOverWithBaseExpressionUnderExpressionOverExpression ¶ added in v0.17.0
func NewMathExpressionUnderOverWithBaseExpressionUnderExpressionOverExpression(baseExpression *MathExpression, underExpression *MathExpression, overExpression *MathExpression) *MathExpressionUnderOver
NewMathExpressionUnderOverWithBaseExpressionUnderExpressionOverExpression creates a new MathExpressionUnderOver.
func (*MathExpressionUnderOver) BaseExpression ¶ added in v0.17.0
func (meuo *MathExpressionUnderOver) BaseExpression() *MathExpression
BaseExpression returns the base expression.
func (*MathExpressionUnderOver) OverExpression ¶ added in v0.17.0
func (meuo *MathExpressionUnderOver) OverExpression() *MathExpression
OverExpression returns the over expression.
func (*MathExpressionUnderOver) UnderExpression ¶ added in v0.17.0
func (meuo *MathExpressionUnderOver) UnderExpression() *MathExpression
UnderExpression returns the under expression.
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 )
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 NumericDataAxisDescriptor ¶ added in v0.17.0
NumericDataAxisDescriptor is an idiomatic wrapper over the Objective-C class AXNumericDataAxisDescriptor.
An object that represents an axis of numerical data.
func NewNumericDataAxisDescriptor ¶ added in v0.17.0
func NewNumericDataAxisDescriptor() *NumericDataAxisDescriptor
NewNumericDataAxisDescriptor creates a new NumericDataAxisDescriptor.
func NumericDataAxisDescriptorFromID ¶ added in v0.17.0
func NumericDataAxisDescriptorFromID(id objc.ID) *NumericDataAxisDescriptor
NumericDataAxisDescriptorFromID adopts an existing Objective-C object as a NumericDataAxisDescriptor (nil for 0), retaining it and registering a release finalizer.
func (*NumericDataAxisDescriptor) Description ¶ added in v0.17.0
func (ndad *NumericDataAxisDescriptor) Description() string
Description returns the object's -description text.
func (*NumericDataAxisDescriptor) GridlinePositions ¶ added in v0.17.0
func (ndad *NumericDataAxisDescriptor) GridlinePositions() []obj.Object
GridlinePositions returns the positions of any gridlines along this axis.
GridlinePositions returns the collection as a Go slice.
func (*NumericDataAxisDescriptor) IsEqual ¶ added in v0.17.0
func (ndad *NumericDataAxisDescriptor) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*NumericDataAxisDescriptor) IsKind ¶ added in v0.17.0
func (ndad *NumericDataAxisDescriptor) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*NumericDataAxisDescriptor) LowerBound ¶ added in v0.17.0
func (ndad *NumericDataAxisDescriptor) LowerBound() float64
LowerBound returns the minimum displayable value for the axis.
func (*NumericDataAxisDescriptor) ScaleType ¶ added in v0.17.0
func (ndad *NumericDataAxisDescriptor) ScaleType() NumericDataAxisDescriptorScale
ScaleType returns the scale to use for this axis. This should match the visual representation in the chart. If not set explicitly, this will default to `linear`.
func (*NumericDataAxisDescriptor) String ¶ added in v0.17.0
func (ndad *NumericDataAxisDescriptor) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*NumericDataAxisDescriptor) UpperBound ¶ added in v0.17.0
func (ndad *NumericDataAxisDescriptor) UpperBound() float64
UpperBound returns the maximum displayable value for the axis.
func (*NumericDataAxisDescriptor) WithGridlinePositions ¶ added in v0.17.0
func (ndad *NumericDataAxisDescriptor) WithGridlinePositions(items ...obj.Object) *NumericDataAxisDescriptor
WithGridlinePositions sets the positions of the gridlines along the axis.
func (*NumericDataAxisDescriptor) WithLowerBound ¶ added in v0.17.0
func (ndad *NumericDataAxisDescriptor) WithLowerBound(lowerBound float64) *NumericDataAxisDescriptor
WithLowerBound sets the minimum displayable value for the axis.
func (*NumericDataAxisDescriptor) WithScaleType ¶ added in v0.17.0
func (ndad *NumericDataAxisDescriptor) WithScaleType(scaleType NumericDataAxisDescriptorScale) *NumericDataAxisDescriptor
WithScaleType sets the scale for the axis.
func (*NumericDataAxisDescriptor) WithUpperBound ¶ added in v0.17.0
func (ndad *NumericDataAxisDescriptor) WithUpperBound(upperBound float64) *NumericDataAxisDescriptor
WithUpperBound sets the maximum displayable value for the axis.
type NumericDataAxisDescriptorScale ¶ added in v0.17.0
type NumericDataAxisDescriptorScale int64
Constants that describe the scale of a numeric axis.
const ( ScaleTypeLinear NumericDataAxisDescriptorScale = 0 ScaleTypeLog10 NumericDataAxisDescriptorScale = 1 ScaleTypeLn NumericDataAxisDescriptorScale = 2 )
func (NumericDataAxisDescriptorScale) String ¶ added in v0.17.0
func (e NumericDataAxisDescriptorScale) String() string
String returns the NumericDataAxisDescriptorScale 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 )
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 Request ¶ added in v0.17.0
Request is an idiomatic wrapper over the Objective-C class AXRequest.
func CurrentRequest ¶ added in v0.17.0
func CurrentRequest() *Request
CurrentRequest returns the current request.
func RequestFromID ¶ added in v0.17.0
RequestFromID adopts an existing Objective-C object as a Request (nil for 0), retaining it and registering a release finalizer.
func (*Request) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Request) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*Request) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*Request) String ¶ added in v0.17.0
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*Request) Technology ¶ added in v0.17.0
Technology returns the technology.
type SettingsFeature ¶ added in v0.17.0
type SettingsFeature int64
const ( SettingsFeaturePersonalVoiceAllowAppsToRequestToUse SettingsFeature = 1 SettingsFeatureAllowAppsToAddAudioToCalls SettingsFeature = 2 SettingsFeatureAssistiveTouch SettingsFeature = 3 SettingsFeatureAssistiveTouchDevices SettingsFeature = 4 SettingsFeatureDwellControl SettingsFeature = 5 SettingsFeatureCaptionStyles SettingsFeature = 6 )
func (SettingsFeature) String ¶ added in v0.17.0
func (e SettingsFeature) String() string
String returns the SettingsFeature 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
func (e VirtualMemoryGuardExceptionCode) String() string
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.
Source Files
¶
- AXBrailleMap_generated.go
- AXBrailleTable_generated.go
- AXBrailleTranslationResult_generated.go
- AXBrailleTranslator_generated.go
- AXCategoricalDataAxisDescriptor_generated.go
- AXChartDescriptor_generated.go
- AXCustomContent_generated.go
- AXDataPointValue_generated.go
- AXDataPoint_generated.go
- AXDataSeriesDescriptor_generated.go
- AXLiveAudioGraph_generated.go
- AXMathExpressionFenced_generated.go
- AXMathExpressionFraction_generated.go
- AXMathExpressionIdentifier_generated.go
- AXMathExpressionMultiscript_generated.go
- AXMathExpressionNumber_generated.go
- AXMathExpressionOperator_generated.go
- AXMathExpressionRoot_generated.go
- AXMathExpressionRow_generated.go
- AXMathExpressionSubSuperscript_generated.go
- AXMathExpressionTableCell_generated.go
- AXMathExpressionTableRow_generated.go
- AXMathExpressionTable_generated.go
- AXMathExpressionText_generated.go
- AXMathExpressionUnderOver_generated.go
- AXMathExpression_generated.go
- AXNumericDataAxisDescriptor_generated.go
- AXRequest_generated.go
- accessibility_cfunctions_generated.go
- accessibility_classmethods_generated.go
- accessibility_constants_generated.go
- accessibility_enums_generated.go
- accessibility_protocols_generated.go
- accessibility_providers_generated.go
- accessibility_runtime_generated.go
- doc.go