cocoa

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Examples

Constants

View Source
const (
	NSApplicationActivationPolicyRegular    = 0
	NSApplicationActivationPolicyAccessory  = 1
	NSApplicationActivationPolicyProhibited = 2
)
View Source
const (
	NSControlStateValueMixed = -1
	NSControlStateValueOff   = 0
	NSControlStateValueOn    = 1

	NSNoImage       = 0
	NSImageOnly     = 1
	NSImageLeft     = 2
	NSImageRight    = 3
	NSImageBelow    = 4
	NSImageAbove    = 5
	NSImageOverlaps = 6
)
View Source
const (
	NSEventTypeLeftMouseDown      = 1
	NSEventTypeLeftMouseUp        = 2
	NSEventTypeRightMouseDown     = 3
	NSEventTypeRightMouseUp       = 4
	NSEventTypeMouseMoved         = 5
	NSEventTypeLeftMouseDragged   = 6
	NSEventTypeRightMouseDragged  = 7
	NSEventTypeMouseEntered       = 8
	NSEventTypeMouseExited        = 9
	NSEventTypeKeyDown            = 10
	NSEventTypeKeyUp              = 11
	NSEventTypeFlagsChanged       = 12
	NSEventTypeAppKitDefined      = 13
	NSEventTypeSystemDefined      = 14
	NSEventTypeApplicationDefined = 15
	NSEventTypePeriodic           = 16
	NSEventTypeCursorUpdate       = 17
	NSEventTypeRotate             = 18
	NSEventTypeBeginGesture       = 19
	NSEventTypeEndGesture         = 20
	NSEventTypeScrollWheel        = 22
	NSEventTypeTabletPoint        = 23
	NSEventTypeTabletProximity    = 24
	NSEventTypeOtherMouseDown     = 25
	NSEventTypeOtherMouseUp       = 26
	NSEventTypeOtherMouseDragged  = 27
	NSEventTypeGesture            = 29
	NSEventTypeMagnify            = 30
	NSEventTypeSwipe              = 31
	NSEventTypeSmartMagnify       = 32
	NSEventTypeQuickLook          = 33
	NSEventTypePressure           = 34
	NSEventTypeDirectTouch        = 37
	NSEventTypeChangeMode         = 38

	NSEventMaskLeftMouseDown      uint64 = 1 << NSEventTypeLeftMouseDown
	NSEventMaskLeftMouseUp        uint64 = 1 << NSEventTypeLeftMouseUp
	NSEventMaskRightMouseDown     uint64 = 1 << NSEventTypeRightMouseDown
	NSEventMaskRightMouseUp       uint64 = 1 << NSEventTypeRightMouseUp
	NSEventMaskMouseMoved         uint64 = 1 << NSEventTypeMouseMoved
	NSEventMaskLeftMouseDragged   uint64 = 1 << NSEventTypeLeftMouseDragged
	NSEventMaskRightMouseDragged  uint64 = 1 << NSEventTypeRightMouseDragged
	NSEventMaskMouseEntered       uint64 = 1 << NSEventTypeMouseEntered
	NSEventMaskMouseExited        uint64 = 1 << NSEventTypeMouseExited
	NSEventMaskKeyDown            uint64 = 1 << NSEventTypeKeyDown
	NSEventMaskKeyUp              uint64 = 1 << NSEventTypeKeyUp
	NSEventMaskFlagsChanged       uint64 = 1 << NSEventTypeFlagsChanged
	NSEventMaskAppKitDefined      uint64 = 1 << NSEventTypeAppKitDefined
	NSEventMaskSystemDefined      uint64 = 1 << NSEventTypeSystemDefined
	NSEventMaskApplicationDefined uint64 = 1 << NSEventTypeApplicationDefined
	NSEventMaskPeriodic           uint64 = 1 << NSEventTypePeriodic
	NSEventMaskCursorUpdate       uint64 = 1 << NSEventTypeCursorUpdate
	NSEventMaskRotate             uint64 = 1 << NSEventTypeRotate
	NSEventMaskBeginGesture       uint64 = 1 << NSEventTypeBeginGesture
	NSEventMaskEndGesture         uint64 = 1 << NSEventTypeEndGesture
	NSEventMaskScrollWheel        uint64 = 1 << NSEventTypeScrollWheel
	NSEventMaskTabletPoint        uint64 = 1 << NSEventTypeTabletPoint
	NSEventMaskTabletProximity    uint64 = 1 << NSEventTypeTabletProximity
	NSEventMaskOtherMouseDown     uint64 = 1 << NSEventTypeOtherMouseDown
	NSEventMaskOtherMouseUp       uint64 = 1 << NSEventTypeOtherMouseUp
	NSEventMaskOtherMouseDragged  uint64 = 1 << NSEventTypeOtherMouseDragged
	NSEventMaskGesture            uint64 = 1 << NSEventTypeGesture
	NSEventMaskMagnify            uint64 = 1 << NSEventTypeMagnify
	NSEventMaskSwipe              uint64 = 1 << NSEventTypeSwipe
	NSEventMaskSmartMagnify       uint64 = 1 << NSEventTypeSmartMagnify
	NSEventMaskQuickLook          uint64 = 1 << NSEventTypeQuickLook
	NSEventMaskPressure           uint64 = 1 << NSEventTypePressure
	NSEventMaskDirectTouch        uint64 = 1 << NSEventTypeDirectTouch
	NSEventMaskChangeMode         uint64 = 1 << NSEventTypeChangeMode

	NSEventMaskAny uint64 = 18446744073709551615
)
View Source
const (
	// NSPasteboardTypeURL holds URL data for one file or resource.
	NSPasteboardTypeURL = NSPasteboardType("public.url")
	// NSPasteboardTypeColor holds color data.
	NSPasteboardTypeColor = NSPasteboardType("com.apple.cocoa.pasteboard.color")
	// NSPasteboardTypeFileURL holds a file URL.
	NSPasteboardTypeFileURL = NSPasteboardType("public.file-url")
	// NSPasteboardTypeFont holds font and character information.
	NSPasteboardTypeFont = NSPasteboardType("com.apple.cocoa.pasteboard.character-formatting")
	// NSPasteboardTypeHTML holds type for HTML content.
	NSPasteboardTypeHTML = NSPasteboardType("public.html")
	// NSPasteboardTypeMultipleTextSelection holds multiple text selection.
	NSPasteboardTypeMultipleTextSelection = NSPasteboardType("com.apple.cocoa.pasteboard.multiple-text-selection")
	// NSPasteboardTypePDF holds PDF data.
	NSPasteboardTypePDF = NSPasteboardType("com.adobe.pdf")
	// NSPasteboardTypePNG holds PNG image data.
	NSPasteboardTypePNG = NSPasteboardType("public.png")
	// NSPasteboardTypeRTF holds rich Text Format (RTF) data.
	NSPasteboardTypeRTF = NSPasteboardType("public.rtf")
	// NSPasteboardTypeRTFD holds RTFD formatted file contents.
	NSPasteboardTypeRTFD = NSPasteboardType("com.apple.flat-rtfd")
	// NSPasteboardTypeRuler holds paragraph formatting information.
	NSPasteboardTypeRuler = NSPasteboardType("com.apple.cocoa.pasteboard.paragraph-formatting")
	// NSPasteboardTypeSound holds sound data.
	NSPasteboardTypeSound = NSPasteboardType("com.apple.cocoa.pasteboard.sound")
	// NSPasteboardTypeString holds string data.
	NSPasteboardTypeString = NSPasteboardType("public.utf8-plain-text")
	// NSPasteboardTypeTabularText holds tab-separated fields of text.
	NSPasteboardTypeTabularText = NSPasteboardType("public.utf8-tab-separated-values-text")
	// NSPasteboardTypeTextFinderOptions holds type for the Find panel metadata property list.
	NSPasteboardTypeTextFinderOptions = NSPasteboardType("com.apple.cocoa.pasteboard.find-panel-search-options")
	// NSPasteboardTypeTIFF holds tag Image File Format (TIFF) data.
	NSPasteboardTypeTIFF = NSPasteboardType("public.tiff")
)

check https://github.com/progrium/macdriver/wiki/How-to-pull-enum-constants for example on how to get these values from objc

View Source
const (
	NSPopoverBehaviorApplicationDefined = 0
	NSPopoverBehaviorTransient          = 1
	NSPopoverBehaviorSemitransient      = 2
)
View Source
const (
	NSVariableStatusItemLength = -1.0
	NSSquareStatusItemLength   = -2.0
)
View Source
const (
	NSVisualEffectBlendingModeBehindWindow = 0
	NSVisualEffectBlendingModeWithinWindow = 1
)
View Source
const (
	NSBorderlessWindowMask         = 0
	NSTitledWindowMask             = 1 << 0
	NSClosableWindowMask           = 1 << 1
	NSMiniaturizableWindowMask     = 1 << 2
	NSResizableWindowMask          = 1 << 3
	NSTexturedBackgroundWindowMask = 1 << 8
	NSWindowStyleMaskFullScreen    = 1 << 14

	NSFullSizeContentViewWindowMask = 32768

	NSWindowTitleVisible = 0
	NSWindowTitleHidden  = 1

	NSWindowAbove = 1
	NSWindowBelow = -1
	NSWindowOut   = 0

	NSBackingStoreRetained    NSBackingStoreType = 0
	NSBackingStoreNonretained NSBackingStoreType = 1
	NSBackingStoreBuffered    NSBackingStoreType = 2

	NSNormalWindowLevel      = C.NSNormalWindowLevel
	NSFloatingWindowLevel    = C.NSFloatingWindowLevel
	NSSubmenuWindowLevel     = C.NSSubmenuWindowLevel
	NSTornOffMenuWindowLevel = C.NSTornOffMenuWindowLevel
	NSMainMenuWindowLevel    = C.NSMainMenuWindowLevel
	NSStatusWindowLevel      = C.NSStatusWindowLevel
	NSModalPanelWindowLevel  = C.NSModalPanelWindowLevel
	NSPopUpMenuWindowLevel   = C.NSPopUpMenuWindowLevel
	NSScreenSaverWindowLevel = C.NSScreenSaverWindowLevel

	NSWindowCollectionBehaviorDefault                   = 0
	NSWindowCollectionBehaviorCanJoinAllSpaces          = 1 << 0
	NSWindowCollectionBehaviorMoveToActiveSpace         = 1 << 1
	NSWindowCollectionBehaviorManaged                   = 1 << 2
	NSWindowCollectionBehaviorTransient                 = 1 << 3
	NSWindowCollectionBehaviorStationary                = 1 << 4
	NSWindowCollectionBehaviorParticipatesInCycle       = 1 << 5
	NSWindowCollectionBehaviorIgnoresCycle              = 1 << 6
	NSWindowCollectionBehaviorFullScreenPrimary         = 1 << 7
	NSWindowCollectionBehaviorFullScreenAuxiliary       = 1 << 8
	NSWindowCollectionBehaviorFullScreenNone            = 1 << 9
	NSWindowCollectionBehaviorFullScreenAllowsTiling    = 1 << 11
	NSWindowCollectionBehaviorFullScreenDisallowsTiling = 1 << 12
)

Variables

View Source
var (
	DefaultDelegate      objc.Object
	DefaultDelegateClass objc.Class

	TerminateAfterWindowsClose = true
)

Functions

func NSApplication_detachDrawingThread_toTarget_withObject_ added in v0.2.0

func NSApplication_detachDrawingThread_toTarget_withObject_(
	selector objc.Selector,
	target objc.Ref,
	argument objc.Ref,
)

func NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL_ added in v0.2.0

func NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL_(
	name core.NSStringRef,
	ext core.NSStringRef,
	subpath core.NSStringRef,
	bundleURL core.NSURLRef,
) (
	r0 core.NSURL,
)

func NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_ added in v0.2.0

func NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_(
	ext core.NSStringRef,
	subpath core.NSStringRef,
	bundleURL core.NSURLRef,
) (
	r0 core.NSArray,
)

func NSBundle_allBundles added in v0.2.0

func NSBundle_allBundles() (
	r0 core.NSArray,
)

func NSBundle_allFrameworks added in v0.2.0

func NSBundle_allFrameworks() (
	r0 core.NSArray,
)

func NSBundle_pathForResource_ofType_inDirectory_ added in v0.2.0

func NSBundle_pathForResource_ofType_inDirectory_(
	name core.NSStringRef,
	ext core.NSStringRef,
	bundlePath core.NSStringRef,
) (
	r0 core.NSString,
)

func NSBundle_pathsForResourcesOfType_inDirectory_ added in v0.2.0

func NSBundle_pathsForResourcesOfType_inDirectory_(
	ext core.NSStringRef,
	bundlePath core.NSStringRef,
) (
	r0 core.NSArray,
)

func NSBundle_preferredLocalizationsFromArray_ added in v0.2.0

func NSBundle_preferredLocalizationsFromArray_(
	localizationsArray core.NSArrayRef,
) (
	r0 core.NSArray,
)

func NSBundle_preferredLocalizationsFromArray_forPreferences_ added in v0.2.0

func NSBundle_preferredLocalizationsFromArray_forPreferences_(
	localizationsArray core.NSArrayRef,
	preferencesArray core.NSArrayRef,
) (
	r0 core.NSArray,
)

func NSColor_ignoresAlpha added in v0.2.0

func NSColor_ignoresAlpha() (
	r0 bool,
)

func NSColor_setIgnoresAlpha_ added in v0.2.0

func NSColor_setIgnoresAlpha_(
	value bool,
)

func NSEvent_GlobalMonitorMatchingMask

func NSEvent_GlobalMonitorMatchingMask(mask uint64, ch chan NSEvent)

func NSEvent_LocalMonitorMatchingMask added in v0.3.0

func NSEvent_LocalMonitorMatchingMask(mask uint64, ch chan NSEvent)

func NSEvent_mouseCoalescingEnabled added in v0.2.0

func NSEvent_mouseCoalescingEnabled() (
	r0 bool,
)

func NSEvent_mouseLocation added in v0.2.0

func NSEvent_mouseLocation() (
	r0 core.NSPoint,
)

func NSEvent_pressedMouseButtons added in v0.2.0

func NSEvent_pressedMouseButtons() (
	r0 core.NSUInteger,
)

func NSEvent_removeMonitor_ added in v0.2.0

func NSEvent_removeMonitor_(
	eventMonitor objc.Ref,
)

func NSEvent_setMouseCoalescingEnabled_ added in v0.2.0

func NSEvent_setMouseCoalescingEnabled_(
	value bool,
)

func NSEvent_stopPeriodicEvents added in v0.2.0

func NSEvent_stopPeriodicEvents()

func NSEvent_swipeTrackingFromScrollEventsEnabled added in v0.2.0

func NSEvent_swipeTrackingFromScrollEventsEnabled() (
	r0 bool,
)

func NSFont_labelFontSize added in v0.2.0

func NSFont_labelFontSize() (
	r0 core.CGFloat,
)

func NSFont_setUserFixedPitchFont_ added in v0.2.0

func NSFont_setUserFixedPitchFont_(
	font NSFontRef,
)

func NSFont_setUserFont_ added in v0.2.0

func NSFont_setUserFont_(
	font NSFontRef,
)

func NSFont_smallSystemFontSize added in v0.2.0

func NSFont_smallSystemFontSize() (
	r0 core.CGFloat,
)

func NSFont_systemFontSize added in v0.2.0

func NSFont_systemFontSize() (
	r0 core.CGFloat,
)

func NSImage_canInitWithPasteboard_ added in v0.2.0

func NSImage_canInitWithPasteboard_(
	pasteboard NSPasteboardRef,
) (
	r0 bool,
)

func NSImage_imageTypes added in v0.2.0

func NSImage_imageTypes() (
	r0 core.NSArray,
)

func NSImage_imageUnfilteredTypes added in v0.2.0

func NSImage_imageUnfilteredTypes() (
	r0 core.NSArray,
)

func NSMenuItem_setUsesUserKeyEquivalents_ added in v0.2.0

func NSMenuItem_setUsesUserKeyEquivalents_(
	value bool,
)

func NSMenuItem_usesUserKeyEquivalents added in v0.2.0

func NSMenuItem_usesUserKeyEquivalents() (
	r0 bool,
)

func NSMenu_menuBarVisible added in v0.2.0

func NSMenu_menuBarVisible() (
	r0 bool,
)

func NSMenu_popUpContextMenu_withEvent_forView_ added in v0.2.0

func NSMenu_popUpContextMenu_withEvent_forView_(
	menu NSMenuRef,
	event NSEventRef,
	view NSViewRef,
)

func NSMenu_popUpContextMenu_withEvent_forView_withFont_ added in v0.2.0

func NSMenu_popUpContextMenu_withEvent_forView_withFont_(
	menu NSMenuRef,
	event NSEventRef,
	view NSViewRef,
	font NSFontRef,
)

func NSMenu_setMenuBarVisible_ added in v0.2.0

func NSMenu_setMenuBarVisible_(
	visible bool,
)

func NSScreen_screens added in v0.2.0

func NSScreen_screens() (
	r0 core.NSArray,
)

func NSScreen_screensHaveSeparateSpaces added in v0.2.0

func NSScreen_screensHaveSeparateSpaces() (
	r0 bool,
)

func NSSound_canInitWithPasteboard_ added in v0.3.0

func NSSound_canInitWithPasteboard_(
	pasteboard NSPasteboardRef,
) (
	r0 bool,
)

func NSSound_soundUnfilteredTypes added in v0.3.0

func NSSound_soundUnfilteredTypes() (
	r0 core.NSArray,
)

func NSTextView_registerForServices added in v0.2.0

func NSTextView_registerForServices()

func NSTextView_stronglyReferencesTextStorage added in v0.2.0

func NSTextView_stronglyReferencesTextStorage() (
	r0 bool,
)

func NSView_compatibleWithResponsiveScrolling added in v0.2.0

func NSView_compatibleWithResponsiveScrolling() (
	r0 bool,
)

func NSView_requiresConstraintBasedLayout added in v0.2.0

func NSView_requiresConstraintBasedLayout() (
	r0 bool,
)

func NSWindow_allowsAutomaticWindowTabbing added in v0.2.0

func NSWindow_allowsAutomaticWindowTabbing() (
	r0 bool,
)

func NSWindow_contentRectForFrameRect_styleMask_ added in v0.2.0

func NSWindow_contentRectForFrameRect_styleMask_(
	fRect core.NSRect,
	style core.NSUInteger,
) (
	r0 core.NSRect,
)

func NSWindow_frameRectForContentRect_styleMask_ added in v0.2.0

func NSWindow_frameRectForContentRect_styleMask_(
	cRect core.NSRect,
	style core.NSUInteger,
) (
	r0 core.NSRect,
)

func NSWindow_minFrameWidthWithTitle_styleMask_ added in v0.2.0

func NSWindow_minFrameWidthWithTitle_styleMask_(
	title core.NSStringRef,
	style core.NSUInteger,
) (
	r0 core.CGFloat,
)

func NSWindow_setAllowsAutomaticWindowTabbing_ added in v0.2.0

func NSWindow_setAllowsAutomaticWindowTabbing_(
	value bool,
)

func NSWindow_windowNumberAtPoint_belowWindowWithWindowNumber_ added in v0.2.0

func NSWindow_windowNumberAtPoint_belowWindowWithWindowNumber_(
	point core.NSPoint,
	windowNumber core.NSInteger,
) (
	r0 core.NSInteger,
)

Types

type NSApplication

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

func NSApp

func NSApp() NSApplication

func NSApp_WithDidLaunch

func NSApp_WithDidLaunch(cb func(notification objc.Object)) NSApplication

func NSApplication_New

func NSApplication_New() NSApplication

func NSApplication_alloc added in v0.2.0

func NSApplication_alloc() (
	r0 NSApplication,
)

func NSApplication_fromPointer added in v0.2.0

func NSApplication_fromPointer(ptr unsafe.Pointer) NSApplication

func NSApplication_fromRef added in v0.2.0

func NSApplication_fromRef(ref objc.Ref) NSApplication

func NSApplication_sharedApplication added in v0.2.0

func NSApplication_sharedApplication() (
	r0 NSApplication,
)

func (NSApplication) ActivateContextHelpMode_ added in v0.2.0

func (x NSApplication) ActivateContextHelpMode_(
	sender objc.Ref,
)

func (NSApplication) ActivateIgnoringOtherApps

func (app NSApplication) ActivateIgnoringOtherApps(flag bool)

func (NSApplication) ActivateIgnoringOtherApps_ added in v0.2.0

func (x NSApplication) ActivateIgnoringOtherApps_(
	flag bool,
)

func (NSApplication) ActivationPolicy added in v0.2.0

func (x NSApplication) ActivationPolicy() (
	r0 core.NSInteger,
)

func (NSApplication) ApplicationIconImage added in v0.2.0

func (x NSApplication) ApplicationIconImage() (
	r0 NSImage,
)

func (NSApplication) CancelUserAttentionRequest_ added in v0.2.0

func (x NSApplication) CancelUserAttentionRequest_(
	request core.NSInteger,
)

func (NSApplication) CurrentEvent added in v0.2.0

func (x NSApplication) CurrentEvent() (
	r0 NSEvent,
)

func (NSApplication) Deactivate added in v0.2.0

func (x NSApplication) Deactivate()

func (NSApplication) Delegate

func (app NSApplication) Delegate() objc.Object

func (NSApplication) DisableRelaunchOnLogin added in v0.2.0

func (x NSApplication) DisableRelaunchOnLogin()

func (NSApplication) EnableRelaunchOnLogin added in v0.2.0

func (x NSApplication) EnableRelaunchOnLogin()

func (NSApplication) FinishLaunching added in v0.2.0

func (x NSApplication) FinishLaunching()

func (NSApplication) HelpMenu added in v0.2.0

func (x NSApplication) HelpMenu() (
	r0 NSMenu,
)

func (NSApplication) HideOtherApplications_ added in v0.2.0

func (x NSApplication) HideOtherApplications_(
	sender objc.Ref,
)

func (NSApplication) Init_asNSApplication added in v0.2.0

func (x NSApplication) Init_asNSApplication() (
	r0 NSApplication,
)

func (NSApplication) IsActive added in v0.2.0

func (x NSApplication) IsActive() (
	r0 bool,
)

func (NSApplication) IsFullKeyboardAccessEnabled added in v0.2.0

func (x NSApplication) IsFullKeyboardAccessEnabled() (
	r0 bool,
)

func (NSApplication) IsRegisteredForRemoteNotifications added in v0.2.0

func (x NSApplication) IsRegisteredForRemoteNotifications() (
	r0 bool,
)

func (NSApplication) IsRunning added in v0.2.0

func (x NSApplication) IsRunning() (
	r0 bool,
)

func (NSApplication) MainMenu

func (x NSApplication) MainMenu() (
	r0 NSMenu,
)

func (NSApplication) OrderedDocuments added in v0.2.0

func (x NSApplication) OrderedDocuments() (
	r0 core.NSArray,
)

func (NSApplication) OrderedWindows added in v0.2.0

func (x NSApplication) OrderedWindows() (
	r0 core.NSArray,
)

func (NSApplication) PostEvent_atStart_ added in v0.2.0

func (x NSApplication) PostEvent_atStart_(
	event NSEventRef,
	flag bool,
)

func (NSApplication) RegisterForRemoteNotifications added in v0.2.0

func (x NSApplication) RegisterForRemoteNotifications()

func (NSApplication) RegisterUserInterfaceItemSearchHandler_ added in v0.2.0

func (x NSApplication) RegisterUserInterfaceItemSearchHandler_(
	handler objc.Ref,
)

func (NSApplication) ReplyToApplicationShouldTerminate_ added in v0.2.0

func (x NSApplication) ReplyToApplicationShouldTerminate_(
	shouldTerminate bool,
)

func (NSApplication) Run

func (x NSApplication) Run()

func (NSApplication) SendAction_to_from_ added in v0.2.0

func (x NSApplication) SendAction_to_from_(
	action objc.Selector,
	target objc.Ref,
	sender objc.Ref,
) (
	r0 bool,
)

func (NSApplication) SendEvent_ added in v0.2.0

func (x NSApplication) SendEvent_(
	event NSEventRef,
)

func (NSApplication) ServicesProvider added in v0.2.0

func (x NSApplication) ServicesProvider() (
	r0 objc.Object,
)

func (NSApplication) SetActivationPolicy

func (app NSApplication) SetActivationPolicy(policy int)

func (NSApplication) SetActivationPolicy_ added in v0.2.0

func (x NSApplication) SetActivationPolicy_(
	activationPolicy core.NSInteger,
) (
	r0 bool,
)

func (NSApplication) SetApplicationIconImage_ added in v0.2.0

func (x NSApplication) SetApplicationIconImage_(
	value NSImageRef,
)

func (NSApplication) SetDelegate

func (app NSApplication) SetDelegate(delegate objc.Object)

func (NSApplication) SetDelegate_ added in v0.2.0

func (x NSApplication) SetDelegate_(
	value objc.Ref,
)

func (NSApplication) SetHelpMenu_ added in v0.2.0

func (x NSApplication) SetHelpMenu_(
	value NSMenuRef,
)

func (NSApplication) SetMainMenu

func (app NSApplication) SetMainMenu(menu NSMenu)

func (NSApplication) SetMainMenu_ added in v0.2.0

func (x NSApplication) SetMainMenu_(
	value NSMenuRef,
)

func (NSApplication) SetServicesProvider_ added in v0.2.0

func (x NSApplication) SetServicesProvider_(
	value objc.Ref,
)

func (NSApplication) ShowHelp_ added in v0.2.0

func (x NSApplication) ShowHelp_(
	sender objc.Ref,
)

func (NSApplication) Stop_ added in v0.2.0

func (x NSApplication) Stop_(
	sender objc.Ref,
)

func (NSApplication) TargetForAction_ added in v0.2.0

func (x NSApplication) TargetForAction_(
	action objc.Selector,
) (
	r0 objc.Object,
)

func (NSApplication) TargetForAction_to_from_ added in v0.2.0

func (x NSApplication) TargetForAction_to_from_(
	action objc.Selector,
	target objc.Ref,
	sender objc.Ref,
) (
	r0 objc.Object,
)

func (NSApplication) Terminate

func (app NSApplication) Terminate()

func (NSApplication) Terminate_ added in v0.2.0

func (x NSApplication) Terminate_(
	sender objc.Ref,
)

func (NSApplication) ToggleTouchBarCustomizationPalette_ added in v0.2.0

func (x NSApplication) ToggleTouchBarCustomizationPalette_(
	sender objc.Ref,
)

func (NSApplication) TryToPerform_with_ added in v0.2.0

func (x NSApplication) TryToPerform_with_(
	action objc.Selector,
	object objc.Ref,
) (
	r0 bool,
)

func (NSApplication) UnhideAllApplications_ added in v0.2.0

func (x NSApplication) UnhideAllApplications_(
	sender objc.Ref,
)

func (NSApplication) UnregisterForRemoteNotifications added in v0.2.0

func (x NSApplication) UnregisterForRemoteNotifications()

func (NSApplication) UnregisterUserInterfaceItemSearchHandler_ added in v0.2.0

func (x NSApplication) UnregisterUserInterfaceItemSearchHandler_(
	handler objc.Ref,
)

type NSApplicationRef added in v0.2.0

type NSApplicationRef interface {
	Pointer() uintptr
	Init_asNSApplication() NSApplication
}

type NSBackingStoreType

type NSBackingStoreType uintptr

type NSBundle

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

func NSBundle_Main

func NSBundle_Main() NSBundle

func NSBundle_alloc added in v0.2.0

func NSBundle_alloc() (
	r0 NSBundle,
)

func NSBundle_bundleWithIdentifier_ added in v0.2.0

func NSBundle_bundleWithIdentifier_(
	identifier core.NSStringRef,
) (
	r0 NSBundle,
)

func NSBundle_bundleWithPath_ added in v0.2.0

func NSBundle_bundleWithPath_(
	path core.NSStringRef,
) (
	r0 NSBundle,
)

func NSBundle_bundleWithURL_ added in v0.2.0

func NSBundle_bundleWithURL_(
	url core.NSURLRef,
) (
	r0 NSBundle,
)

func NSBundle_fromPointer added in v0.2.0

func NSBundle_fromPointer(ptr unsafe.Pointer) NSBundle

func NSBundle_fromRef added in v0.2.0

func NSBundle_fromRef(ref objc.Ref) NSBundle

func NSBundle_mainBundle added in v0.2.0

func NSBundle_mainBundle() (
	r0 NSBundle,
)

func (NSBundle) AppStoreReceiptURL added in v0.2.0

func (x NSBundle) AppStoreReceiptURL() (
	r0 core.NSURL,
)

func (NSBundle) BuiltInPlugInsPath added in v0.2.0

func (x NSBundle) BuiltInPlugInsPath() (
	r0 core.NSString,
)

func (NSBundle) BuiltInPlugInsURL added in v0.2.0

func (x NSBundle) BuiltInPlugInsURL() (
	r0 core.NSURL,
)

func (NSBundle) BundleIdentifier added in v0.2.0

func (x NSBundle) BundleIdentifier() (
	r0 core.NSString,
)

func (NSBundle) BundlePath added in v0.2.0

func (x NSBundle) BundlePath() (
	r0 core.NSString,
)

func (NSBundle) BundleURL added in v0.2.0

func (x NSBundle) BundleURL() (
	r0 core.NSURL,
)

func (NSBundle) DevelopmentLocalization added in v0.2.0

func (x NSBundle) DevelopmentLocalization() (
	r0 core.NSString,
)

func (NSBundle) ExecutableArchitectures added in v0.2.0

func (x NSBundle) ExecutableArchitectures() (
	r0 core.NSArray,
)

func (NSBundle) ExecutablePath added in v0.2.0

func (x NSBundle) ExecutablePath() (
	r0 core.NSString,
)

func (NSBundle) ExecutableURL added in v0.2.0

func (x NSBundle) ExecutableURL() (
	r0 core.NSURL,
)

func (NSBundle) InfoDictionary

func (x NSBundle) InfoDictionary() (
	r0 core.NSDictionary,
)

func (NSBundle) InitWithPath__asNSBundle added in v0.2.0

func (x NSBundle) InitWithPath__asNSBundle(
	path core.NSStringRef,
) (
	r0 NSBundle,
)

func (NSBundle) InitWithURL__asNSBundle added in v0.2.0

func (x NSBundle) InitWithURL__asNSBundle(
	url core.NSURLRef,
) (
	r0 NSBundle,
)

func (NSBundle) Init_asNSBundle added in v0.2.0

func (x NSBundle) Init_asNSBundle() (
	r0 NSBundle,
)

func (NSBundle) IsLoaded added in v0.2.0

func (x NSBundle) IsLoaded() (
	r0 bool,
)

func (NSBundle) Load added in v0.2.0

func (x NSBundle) Load() (
	r0 bool,
)

func (NSBundle) LoadNibNamed_owner_options_ added in v0.2.0

func (x NSBundle) LoadNibNamed_owner_options_(
	name core.NSStringRef,
	owner objc.Ref,
	options core.NSDictionaryRef,
) (
	r0 core.NSArray,
)

func (NSBundle) Localizations added in v0.2.0

func (x NSBundle) Localizations() (
	r0 core.NSArray,
)

func (NSBundle) LocalizedAttributedStringForKey_value_table_ added in v0.2.0

func (x NSBundle) LocalizedAttributedStringForKey_value_table_(
	key core.NSStringRef,
	value core.NSStringRef,
	tableName core.NSStringRef,
) (
	r0 core.NSAttributedString,
)

func (NSBundle) LocalizedInfoDictionary added in v0.2.0

func (x NSBundle) LocalizedInfoDictionary() (
	r0 core.NSDictionary,
)

func (NSBundle) LocalizedStringForKey_value_table_ added in v0.2.0

func (x NSBundle) LocalizedStringForKey_value_table_(
	key core.NSStringRef,
	value core.NSStringRef,
	tableName core.NSStringRef,
) (
	r0 core.NSString,
)

func (NSBundle) ObjectForInfoDictionaryKey_ added in v0.2.0

func (x NSBundle) ObjectForInfoDictionaryKey_(
	key core.NSStringRef,
) (
	r0 objc.Object,
)

func (NSBundle) PathForAuxiliaryExecutable_ added in v0.2.0

func (x NSBundle) PathForAuxiliaryExecutable_(
	executableName core.NSStringRef,
) (
	r0 core.NSString,
)

func (NSBundle) PathForResource_ofType_ added in v0.2.0

func (x NSBundle) PathForResource_ofType_(
	name core.NSStringRef,
	ext core.NSStringRef,
) (
	r0 core.NSString,
)

func (NSBundle) PathForResource_ofType_inDirectory_ added in v0.2.0

func (x NSBundle) PathForResource_ofType_inDirectory_(
	name core.NSStringRef,
	ext core.NSStringRef,
	subpath core.NSStringRef,
) (
	r0 core.NSString,
)

func (NSBundle) PathForResource_ofType_inDirectory_forLocalization_ added in v0.2.0

func (x NSBundle) PathForResource_ofType_inDirectory_forLocalization_(
	name core.NSStringRef,
	ext core.NSStringRef,
	subpath core.NSStringRef,
	localizationName core.NSStringRef,
) (
	r0 core.NSString,
)

func (NSBundle) PathsForResourcesOfType_inDirectory_ added in v0.2.0

func (x NSBundle) PathsForResourcesOfType_inDirectory_(
	ext core.NSStringRef,
	subpath core.NSStringRef,
) (
	r0 core.NSArray,
)

func (NSBundle) PathsForResourcesOfType_inDirectory_forLocalization_ added in v0.2.0

func (x NSBundle) PathsForResourcesOfType_inDirectory_forLocalization_(
	ext core.NSStringRef,
	subpath core.NSStringRef,
	localizationName core.NSStringRef,
) (
	r0 core.NSArray,
)

func (NSBundle) PreferredLocalizations added in v0.2.0

func (x NSBundle) PreferredLocalizations() (
	r0 core.NSArray,
)

func (NSBundle) PrivateFrameworksPath added in v0.2.0

func (x NSBundle) PrivateFrameworksPath() (
	r0 core.NSString,
)

func (NSBundle) PrivateFrameworksURL added in v0.2.0

func (x NSBundle) PrivateFrameworksURL() (
	r0 core.NSURL,
)

func (NSBundle) ResourcePath added in v0.2.0

func (x NSBundle) ResourcePath() (
	r0 core.NSString,
)

func (NSBundle) ResourceURL added in v0.2.0

func (x NSBundle) ResourceURL() (
	r0 core.NSURL,
)

func (NSBundle) SharedFrameworksPath added in v0.2.0

func (x NSBundle) SharedFrameworksPath() (
	r0 core.NSString,
)

func (NSBundle) SharedFrameworksURL added in v0.2.0

func (x NSBundle) SharedFrameworksURL() (
	r0 core.NSURL,
)

func (NSBundle) SharedSupportPath added in v0.2.0

func (x NSBundle) SharedSupportPath() (
	r0 core.NSString,
)

func (NSBundle) SharedSupportURL added in v0.2.0

func (x NSBundle) SharedSupportURL() (
	r0 core.NSURL,
)

func (NSBundle) URLForAuxiliaryExecutable_ added in v0.2.0

func (x NSBundle) URLForAuxiliaryExecutable_(
	executableName core.NSStringRef,
) (
	r0 core.NSURL,
)

func (NSBundle) URLForResource_withExtension_ added in v0.2.0

func (x NSBundle) URLForResource_withExtension_(
	name core.NSStringRef,
	ext core.NSStringRef,
) (
	r0 core.NSURL,
)

func (NSBundle) URLForResource_withExtension_subdirectory_ added in v0.2.0

func (x NSBundle) URLForResource_withExtension_subdirectory_(
	name core.NSStringRef,
	ext core.NSStringRef,
	subpath core.NSStringRef,
) (
	r0 core.NSURL,
)

func (NSBundle) URLForResource_withExtension_subdirectory_localization_ added in v0.2.0

func (x NSBundle) URLForResource_withExtension_subdirectory_localization_(
	name core.NSStringRef,
	ext core.NSStringRef,
	subpath core.NSStringRef,
	localizationName core.NSStringRef,
) (
	r0 core.NSURL,
)

func (NSBundle) URLsForResourcesWithExtension_subdirectory_ added in v0.2.0

func (x NSBundle) URLsForResourcesWithExtension_subdirectory_(
	ext core.NSStringRef,
	subpath core.NSStringRef,
) (
	r0 core.NSArray,
)

func (NSBundle) URLsForResourcesWithExtension_subdirectory_localization_ added in v0.2.0

func (x NSBundle) URLsForResourcesWithExtension_subdirectory_localization_(
	ext core.NSStringRef,
	subpath core.NSStringRef,
	localizationName core.NSStringRef,
) (
	r0 core.NSArray,
)

func (NSBundle) Unload added in v0.2.0

func (x NSBundle) Unload() (
	r0 bool,
)

type NSBundleRef added in v0.2.0

type NSBundleRef interface {
	Pointer() uintptr
	Init_asNSBundle() NSBundle
}

type NSButton added in v0.2.0

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

func NSButton_alloc added in v0.2.0

func NSButton_alloc() (
	r0 NSButton,
)

func NSButton_buttonWithImage_target_action_ added in v0.2.0

func NSButton_buttonWithImage_target_action_(
	image NSImageRef,
	target objc.Ref,
	action objc.Selector,
) (
	r0 NSButton,
)

func NSButton_buttonWithTitle_image_target_action_ added in v0.2.0

func NSButton_buttonWithTitle_image_target_action_(
	title core.NSStringRef,
	image NSImageRef,
	target objc.Ref,
	action objc.Selector,
) (
	r0 NSButton,
)

func NSButton_buttonWithTitle_target_action_ added in v0.2.0

func NSButton_buttonWithTitle_target_action_(
	title core.NSStringRef,
	target objc.Ref,
	action objc.Selector,
) (
	r0 NSButton,
)

func NSButton_checkboxWithTitle_target_action_ added in v0.2.0

func NSButton_checkboxWithTitle_target_action_(
	title core.NSStringRef,
	target objc.Ref,
	action objc.Selector,
) (
	r0 NSButton,
)

func NSButton_fromPointer added in v0.2.0

func NSButton_fromPointer(ptr unsafe.Pointer) NSButton

func NSButton_fromRef added in v0.2.0

func NSButton_fromRef(ref objc.Ref) NSButton

func NSButton_radioButtonWithTitle_target_action_ added in v0.2.0

func NSButton_radioButtonWithTitle_target_action_(
	title core.NSStringRef,
	target objc.Ref,
	action objc.Selector,
) (
	r0 NSButton,
)

func (NSButton) AllowsMixedState added in v0.2.0

func (x NSButton) AllowsMixedState() (
	r0 bool,
)

func (NSButton) AlternateImage added in v0.2.0

func (x NSButton) AlternateImage() (
	r0 NSImage,
)

func (NSButton) AlternateTitle added in v0.2.0

func (x NSButton) AlternateTitle() (
	r0 core.NSString,
)

func (NSButton) AttributedAlternateTitle added in v0.2.0

func (x NSButton) AttributedAlternateTitle() (
	r0 core.NSAttributedString,
)

func (NSButton) AttributedTitle added in v0.2.0

func (x NSButton) AttributedTitle() (
	r0 core.NSAttributedString,
)

func (NSButton) BezelColor added in v0.2.0

func (x NSButton) BezelColor() (
	r0 NSColor,
)

func (NSButton) CompressWithPrioritizedCompressionOptions_ added in v0.2.0

func (x NSButton) CompressWithPrioritizedCompressionOptions_(
	prioritizedOptions core.NSArrayRef,
)

func (NSButton) ContentTintColor added in v0.2.0

func (x NSButton) ContentTintColor() (
	r0 NSColor,
)

func (NSButton) HasDestructiveAction added in v0.2.0

func (x NSButton) HasDestructiveAction() (
	r0 bool,
)

func (NSButton) Highlight_ added in v0.2.0

func (x NSButton) Highlight_(
	flag bool,
)

func (NSButton) Image added in v0.2.0

func (x NSButton) Image() (
	r0 NSImage,
)

func (NSButton) ImageHugsTitle added in v0.2.0

func (x NSButton) ImageHugsTitle() (
	r0 bool,
)

func (NSButton) Init_asNSButton added in v0.2.0

func (x NSButton) Init_asNSButton() (
	r0 NSButton,
)

func (NSButton) IsBordered added in v0.2.0

func (x NSButton) IsBordered() (
	r0 bool,
)

func (NSButton) IsSpringLoaded added in v0.2.0

func (x NSButton) IsSpringLoaded() (
	r0 bool,
)

func (NSButton) IsTransparent added in v0.2.0

func (x NSButton) IsTransparent() (
	r0 bool,
)

func (NSButton) KeyEquivalent added in v0.2.0

func (x NSButton) KeyEquivalent() (
	r0 core.NSString,
)

func (NSButton) MaxAcceleratorLevel added in v0.2.0

func (x NSButton) MaxAcceleratorLevel() (
	r0 core.NSInteger,
)

func (NSButton) MinimumSizeWithPrioritizedCompressionOptions_ added in v0.2.0

func (x NSButton) MinimumSizeWithPrioritizedCompressionOptions_(
	prioritizedOptions core.NSArrayRef,
) (
	r0 core.NSSize,
)

func (NSButton) PerformKeyEquivalent_ added in v0.2.0

func (x NSButton) PerformKeyEquivalent_(
	key NSEventRef,
) (
	r0 bool,
)

func (NSButton) SetAllowsMixedState_ added in v0.2.0

func (x NSButton) SetAllowsMixedState_(
	value bool,
)

func (NSButton) SetAlternateImage_ added in v0.2.0

func (x NSButton) SetAlternateImage_(
	value NSImageRef,
)

func (NSButton) SetAlternateTitle_ added in v0.2.0

func (x NSButton) SetAlternateTitle_(
	value core.NSStringRef,
)

func (NSButton) SetAttributedAlternateTitle_ added in v0.2.0

func (x NSButton) SetAttributedAlternateTitle_(
	value core.NSAttributedStringRef,
)

func (NSButton) SetAttributedTitle_ added in v0.2.0

func (x NSButton) SetAttributedTitle_(
	value core.NSAttributedStringRef,
)

func (NSButton) SetBezelColor_ added in v0.2.0

func (x NSButton) SetBezelColor_(
	value NSColorRef,
)

func (NSButton) SetBordered_ added in v0.2.0

func (x NSButton) SetBordered_(
	value bool,
)

func (NSButton) SetContentTintColor_ added in v0.2.0

func (x NSButton) SetContentTintColor_(
	value NSColorRef,
)

func (NSButton) SetHasDestructiveAction_ added in v0.2.0

func (x NSButton) SetHasDestructiveAction_(
	value bool,
)

func (NSButton) SetImageHugsTitle_ added in v0.2.0

func (x NSButton) SetImageHugsTitle_(
	value bool,
)

func (NSButton) SetImage_ added in v0.2.0

func (x NSButton) SetImage_(
	value NSImageRef,
)

func (NSButton) SetKeyEquivalent_ added in v0.2.0

func (x NSButton) SetKeyEquivalent_(
	value core.NSStringRef,
)

func (NSButton) SetMaxAcceleratorLevel_ added in v0.2.0

func (x NSButton) SetMaxAcceleratorLevel_(
	value core.NSInteger,
)

func (NSButton) SetNextState added in v0.2.0

func (x NSButton) SetNextState()

func (NSButton) SetShowsBorderOnlyWhileMouseInside_ added in v0.2.0

func (x NSButton) SetShowsBorderOnlyWhileMouseInside_(
	value bool,
)

func (NSButton) SetSound_ added in v0.3.0

func (x NSButton) SetSound_(
	value NSSoundRef,
)

func (NSButton) SetSpringLoaded_ added in v0.2.0

func (x NSButton) SetSpringLoaded_(
	value bool,
)

func (NSButton) SetState_ added in v0.2.0

func (x NSButton) SetState_(
	value core.NSInteger,
)

func (NSButton) SetTitle_ added in v0.2.0

func (x NSButton) SetTitle_(
	value core.NSStringRef,
)

func (NSButton) SetTransparent_ added in v0.2.0

func (x NSButton) SetTransparent_(
	value bool,
)

func (NSButton) ShowsBorderOnlyWhileMouseInside added in v0.2.0

func (x NSButton) ShowsBorderOnlyWhileMouseInside() (
	r0 bool,
)

func (NSButton) Sound added in v0.3.0

func (x NSButton) Sound() (
	r0 NSSound,
)

func (NSButton) State added in v0.2.0

func (x NSButton) State() (
	r0 core.NSInteger,
)

func (NSButton) Title added in v0.2.0

func (x NSButton) Title() (
	r0 core.NSString,
)

type NSButtonRef added in v0.2.0

type NSButtonRef interface {
	Pointer() uintptr
	Init_asNSButton() NSButton
}

type NSColor

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

func Color

func Color(r, g, b, a float64) NSColor

func NSColor_Clear

func NSColor_Clear() NSColor

func NSColor_Init

func NSColor_Init(r, g, b, a float64) NSColor

func NSColor_alloc added in v0.2.0

func NSColor_alloc() (
	r0 NSColor,
)

func NSColor_clearColor added in v0.2.0

func NSColor_clearColor() (
	r0 NSColor,
)

func NSColor_colorFromPasteboard_ added in v0.2.0

func NSColor_colorFromPasteboard_(
	pasteBoard NSPasteboardRef,
) (
	r0 NSColor,
)

func NSColor_colorWithRed_green_blue_alpha_ added in v0.2.0

func NSColor_colorWithRed_green_blue_alpha_(
	red core.CGFloat,
	green core.CGFloat,
	blue core.CGFloat,
	alpha core.CGFloat,
) (
	r0 NSColor,
)

func NSColor_fromPointer added in v0.2.0

func NSColor_fromPointer(ptr unsafe.Pointer) NSColor

func NSColor_fromRef added in v0.2.0

func NSColor_fromRef(ref objc.Ref) NSColor

func NSColor_systemCyanColor added in v0.2.0

func NSColor_systemCyanColor() (
	r0 NSColor,
)

func NSColor_systemMintColor added in v0.2.0

func NSColor_systemMintColor() (
	r0 NSColor,
)

func (NSColor) AlphaComponent added in v0.2.0

func (x NSColor) AlphaComponent() (
	r0 core.CGFloat,
)

func (NSColor) BlackComponent added in v0.2.0

func (x NSColor) BlackComponent() (
	r0 core.CGFloat,
)

func (NSColor) BlendedColorWithFraction_ofColor_ added in v0.2.0

func (x NSColor) BlendedColorWithFraction_ofColor_(
	fraction core.CGFloat,
	color NSColorRef,
) (
	r0 NSColor,
)

func (NSColor) BlueComponent added in v0.2.0

func (x NSColor) BlueComponent() (
	r0 core.CGFloat,
)

func (NSColor) BrightnessComponent added in v0.2.0

func (x NSColor) BrightnessComponent() (
	r0 core.CGFloat,
)

func (NSColor) ColorWithAlphaComponent_ added in v0.2.0

func (x NSColor) ColorWithAlphaComponent_(
	alpha core.CGFloat,
) (
	r0 NSColor,
)

func (NSColor) CyanComponent added in v0.2.0

func (x NSColor) CyanComponent() (
	r0 core.CGFloat,
)

func (NSColor) DrawSwatchInRect_ added in v0.2.0

func (x NSColor) DrawSwatchInRect_(
	rect core.NSRect,
)

func (NSColor) GreenComponent added in v0.2.0

func (x NSColor) GreenComponent() (
	r0 core.CGFloat,
)

func (NSColor) HighlightWithLevel_ added in v0.2.0

func (x NSColor) HighlightWithLevel_(
	val core.CGFloat,
) (
	r0 NSColor,
)

func (NSColor) HueComponent added in v0.2.0

func (x NSColor) HueComponent() (
	r0 core.CGFloat,
)

func (NSColor) Init_asNSColor added in v0.2.0

func (x NSColor) Init_asNSColor() (
	r0 NSColor,
)

func (NSColor) LocalizedCatalogNameComponent added in v0.2.0

func (x NSColor) LocalizedCatalogNameComponent() (
	r0 core.NSString,
)

func (NSColor) LocalizedColorNameComponent added in v0.2.0

func (x NSColor) LocalizedColorNameComponent() (
	r0 core.NSString,
)

func (NSColor) MagentaComponent added in v0.2.0

func (x NSColor) MagentaComponent() (
	r0 core.CGFloat,
)

func (NSColor) NumberOfComponents added in v0.2.0

func (x NSColor) NumberOfComponents() (
	r0 core.NSInteger,
)

func (NSColor) RedComponent added in v0.2.0

func (x NSColor) RedComponent() (
	r0 core.CGFloat,
)

func (NSColor) SaturationComponent added in v0.2.0

func (x NSColor) SaturationComponent() (
	r0 core.CGFloat,
)

func (NSColor) Set added in v0.2.0

func (x NSColor) Set()

func (NSColor) SetFill added in v0.2.0

func (x NSColor) SetFill()

func (NSColor) SetStroke added in v0.2.0

func (x NSColor) SetStroke()

func (NSColor) ShadowWithLevel_ added in v0.2.0

func (x NSColor) ShadowWithLevel_(
	val core.CGFloat,
) (
	r0 NSColor,
)

func (NSColor) WhiteComponent added in v0.2.0

func (x NSColor) WhiteComponent() (
	r0 core.CGFloat,
)

func (NSColor) WriteToPasteboard_ added in v0.2.0

func (x NSColor) WriteToPasteboard_(
	pasteBoard NSPasteboardRef,
)

func (NSColor) YellowComponent added in v0.2.0

func (x NSColor) YellowComponent() (
	r0 core.CGFloat,
)

type NSColorRef added in v0.2.0

type NSColorRef interface {
	Pointer() uintptr
	Init_asNSColor() NSColor
}

type NSControl added in v0.2.0

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

func NSControl_Init added in v0.2.0

func NSControl_Init(frame core.NSRect) NSControl

func NSControl_alloc added in v0.2.0

func NSControl_alloc() (
	r0 NSControl,
)

func NSControl_fromPointer added in v0.2.0

func NSControl_fromPointer(ptr unsafe.Pointer) NSControl

func NSControl_fromRef added in v0.2.0

func NSControl_fromRef(ref objc.Ref) NSControl

func (NSControl) AbortEditing added in v0.2.0

func (x NSControl) AbortEditing() (
	r0 bool,
)

func (NSControl) Action added in v0.2.0

func (x NSControl) Action() (
	r0 objc.Selector,
)

func (NSControl) AllowsExpansionToolTips added in v0.2.0

func (x NSControl) AllowsExpansionToolTips() (
	r0 bool,
)

func (NSControl) AttributedStringValue added in v0.2.0

func (x NSControl) AttributedStringValue() (
	r0 core.NSAttributedString,
)

func (NSControl) CurrentEditor added in v0.2.0

func (x NSControl) CurrentEditor() (
	r0 NSText,
)

func (NSControl) DrawWithExpansionFrame_inView_ added in v0.2.0

func (x NSControl) DrawWithExpansionFrame_inView_(
	contentFrame core.NSRect,
	view NSViewRef,
)

func (NSControl) EditWithFrame_editor_delegate_event_ added in v0.2.0

func (x NSControl) EditWithFrame_editor_delegate_event_(
	rect core.NSRect,
	textObj NSTextRef,
	delegate objc.Ref,
	event NSEventRef,
)

func (NSControl) EndEditing_ added in v0.2.0

func (x NSControl) EndEditing_(
	textObj NSTextRef,
)

func (NSControl) ExpansionFrameWithFrame_ added in v0.2.0

func (x NSControl) ExpansionFrameWithFrame_(
	contentFrame core.NSRect,
) (
	r0 core.NSRect,
)

func (NSControl) Font added in v0.2.0

func (x NSControl) Font() (
	r0 NSFont,
)

func (NSControl) IgnoresMultiClick added in v0.2.0

func (x NSControl) IgnoresMultiClick() (
	r0 bool,
)

func (NSControl) InitWithFrame__asNSControl added in v0.2.0

func (x NSControl) InitWithFrame__asNSControl(
	frameRect core.NSRect,
) (
	r0 NSControl,
)

func (NSControl) Init_asNSControl added in v0.2.0

func (x NSControl) Init_asNSControl() (
	r0 NSControl,
)

func (NSControl) IntValue added in v0.2.0

func (x NSControl) IntValue() (
	r0 int32,
)

func (NSControl) IntegerValue added in v0.2.0

func (x NSControl) IntegerValue() (
	r0 core.NSInteger,
)

func (NSControl) IsContinuous added in v0.2.0

func (x NSControl) IsContinuous() (
	r0 bool,
)

func (NSControl) IsEnabled added in v0.2.0

func (x NSControl) IsEnabled() (
	r0 bool,
)

func (NSControl) IsHighlighted added in v0.2.0

func (x NSControl) IsHighlighted() (
	r0 bool,
)

func (NSControl) MouseDown_ added in v0.2.0

func (x NSControl) MouseDown_(
	event NSEventRef,
)

func (NSControl) ObjectValue added in v0.2.0

func (x NSControl) ObjectValue() (
	r0 objc.Object,
)

func (NSControl) PerformClick_ added in v0.2.0

func (x NSControl) PerformClick_(
	sender objc.Ref,
)

func (NSControl) RefusesFirstResponder added in v0.2.0

func (x NSControl) RefusesFirstResponder() (
	r0 bool,
)

func (NSControl) SelectWithFrame_editor_delegate_start_length_ added in v0.2.0

func (x NSControl) SelectWithFrame_editor_delegate_start_length_(
	rect core.NSRect,
	textObj NSTextRef,
	delegate objc.Ref,
	selStart core.NSInteger,
	selLength core.NSInteger,
)

func (NSControl) SendAction_to_ added in v0.2.0

func (x NSControl) SendAction_to_(
	action objc.Selector,
	target objc.Ref,
) (
	r0 bool,
)

func (NSControl) SetAction_ added in v0.2.0

func (x NSControl) SetAction_(
	value objc.Selector,
)

func (NSControl) SetAllowsExpansionToolTips_ added in v0.2.0

func (x NSControl) SetAllowsExpansionToolTips_(
	value bool,
)

func (NSControl) SetAttributedStringValue_ added in v0.2.0

func (x NSControl) SetAttributedStringValue_(
	value core.NSAttributedStringRef,
)

func (NSControl) SetContinuous_ added in v0.2.0

func (x NSControl) SetContinuous_(
	value bool,
)

func (NSControl) SetEnabled_ added in v0.2.0

func (x NSControl) SetEnabled_(
	value bool,
)

func (NSControl) SetFont_ added in v0.2.0

func (x NSControl) SetFont_(
	value NSFontRef,
)

func (NSControl) SetHighlighted_ added in v0.2.0

func (x NSControl) SetHighlighted_(
	value bool,
)

func (NSControl) SetIgnoresMultiClick_ added in v0.2.0

func (x NSControl) SetIgnoresMultiClick_(
	value bool,
)

func (NSControl) SetIntValue_ added in v0.2.0

func (x NSControl) SetIntValue_(
	value int32,
)

func (NSControl) SetIntegerValue_ added in v0.2.0

func (x NSControl) SetIntegerValue_(
	value core.NSInteger,
)

func (NSControl) SetObjectValue_ added in v0.2.0

func (x NSControl) SetObjectValue_(
	value objc.Ref,
)

func (NSControl) SetRefusesFirstResponder_ added in v0.2.0

func (x NSControl) SetRefusesFirstResponder_(
	value bool,
)

func (NSControl) SetStringValue_ added in v0.2.0

func (x NSControl) SetStringValue_(
	value core.NSStringRef,
)

func (NSControl) SetTag_ added in v0.2.0

func (x NSControl) SetTag_(
	value core.NSInteger,
)

func (NSControl) SetTarget_ added in v0.2.0

func (x NSControl) SetTarget_(
	value objc.Ref,
)

func (NSControl) SetUsesSingleLineMode_ added in v0.2.0

func (x NSControl) SetUsesSingleLineMode_(
	value bool,
)

func (NSControl) SizeThatFits_ added in v0.2.0

func (x NSControl) SizeThatFits_(
	size core.NSSize,
) (
	r0 core.NSSize,
)

func (NSControl) SizeToFit added in v0.2.0

func (x NSControl) SizeToFit()

func (NSControl) StringValue added in v0.2.0

func (x NSControl) StringValue() (
	r0 core.NSString,
)

func (NSControl) Tag added in v0.2.0

func (x NSControl) Tag() (
	r0 core.NSInteger,
)

func (NSControl) TakeDoubleValueFrom_ added in v0.2.0

func (x NSControl) TakeDoubleValueFrom_(
	sender objc.Ref,
)

func (NSControl) TakeFloatValueFrom_ added in v0.2.0

func (x NSControl) TakeFloatValueFrom_(
	sender objc.Ref,
)

func (NSControl) TakeIntValueFrom_ added in v0.2.0

func (x NSControl) TakeIntValueFrom_(
	sender objc.Ref,
)

func (NSControl) TakeIntegerValueFrom_ added in v0.2.0

func (x NSControl) TakeIntegerValueFrom_(
	sender objc.Ref,
)

func (NSControl) TakeObjectValueFrom_ added in v0.2.0

func (x NSControl) TakeObjectValueFrom_(
	sender objc.Ref,
)

func (NSControl) TakeStringValueFrom_ added in v0.2.0

func (x NSControl) TakeStringValueFrom_(
	sender objc.Ref,
)

func (NSControl) Target added in v0.2.0

func (x NSControl) Target() (
	r0 objc.Object,
)

func (NSControl) UsesSingleLineMode added in v0.2.0

func (x NSControl) UsesSingleLineMode() (
	r0 bool,
)

func (NSControl) ValidateEditing added in v0.2.0

func (x NSControl) ValidateEditing()

type NSControlRef added in v0.2.0

type NSControlRef interface {
	Pointer() uintptr
	Init_asNSControl() NSControl
}

type NSEvent

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

func NSEvent_alloc added in v0.2.0

func NSEvent_alloc() (
	r0 NSEvent,
)

func NSEvent_eventWithEventRef_ added in v0.2.0

func NSEvent_eventWithEventRef_(
	eventRef unsafe.Pointer,
) (
	r0 NSEvent,
)

func NSEvent_fromPointer added in v0.2.0

func NSEvent_fromPointer(ptr unsafe.Pointer) NSEvent

func NSEvent_fromRef added in v0.2.0

func NSEvent_fromRef(ref objc.Ref) NSEvent

func (NSEvent) AbsoluteX added in v0.2.0

func (x NSEvent) AbsoluteX() (
	r0 core.NSInteger,
)

func (NSEvent) AbsoluteY added in v0.2.0

func (x NSEvent) AbsoluteY() (
	r0 core.NSInteger,
)

func (NSEvent) AbsoluteZ added in v0.2.0

func (x NSEvent) AbsoluteZ() (
	r0 core.NSInteger,
)

func (NSEvent) ButtonNumber added in v0.2.0

func (x NSEvent) ButtonNumber() (
	r0 core.NSInteger,
)

func (NSEvent) CapabilityMask added in v0.2.0

func (x NSEvent) CapabilityMask() (
	r0 core.NSUInteger,
)

func (NSEvent) Characters added in v0.0.2

func (e NSEvent) Characters() (string, error)

func (NSEvent) CharactersIgnoringModifiers added in v0.2.0

func (x NSEvent) CharactersIgnoringModifiers() (
	r0 core.NSString,
)

func (NSEvent) ClickCount added in v0.2.0

func (x NSEvent) ClickCount() (
	r0 core.NSInteger,
)

func (NSEvent) Data1 added in v0.2.0

func (x NSEvent) Data1() (
	r0 core.NSInteger,
)

func (NSEvent) Data2 added in v0.2.0

func (x NSEvent) Data2() (
	r0 core.NSInteger,
)

func (NSEvent) DeltaX added in v0.2.0

func (x NSEvent) DeltaX() (
	r0 core.CGFloat,
)

func (NSEvent) DeltaY added in v0.2.0

func (x NSEvent) DeltaY() (
	r0 core.CGFloat,
)

func (NSEvent) DeltaZ added in v0.2.0

func (x NSEvent) DeltaZ() (
	r0 core.CGFloat,
)

func (NSEvent) DeviceID added in v0.2.0

func (x NSEvent) DeviceID() (
	r0 core.NSUInteger,
)

func (NSEvent) EventNumber added in v0.2.0

func (x NSEvent) EventNumber() (
	r0 core.NSInteger,
)

func (NSEvent) EventRef added in v0.2.0

func (x NSEvent) EventRef() (
	r0 unsafe.Pointer,
)

func (NSEvent) HasPreciseScrollingDeltas added in v0.2.0

func (x NSEvent) HasPreciseScrollingDeltas() (
	r0 bool,
)

func (NSEvent) Init_asNSEvent added in v0.2.0

func (x NSEvent) Init_asNSEvent() (
	r0 NSEvent,
)

func (NSEvent) IsARepeat added in v0.2.0

func (x NSEvent) IsARepeat() (
	r0 bool,
)

func (NSEvent) IsDirectionInvertedFromDevice added in v0.2.0

func (x NSEvent) IsDirectionInvertedFromDevice() (
	r0 bool,
)

func (NSEvent) IsEnteringProximity added in v0.2.0

func (x NSEvent) IsEnteringProximity() (
	r0 bool,
)

func (NSEvent) KeyCode

func (e NSEvent) KeyCode() (int64, error)

func (NSEvent) LocationInWindow added in v0.2.0

func (x NSEvent) LocationInWindow() (
	r0 core.NSPoint,
)

func (NSEvent) Magnification added in v0.2.0

func (x NSEvent) Magnification() (
	r0 core.CGFloat,
)

func (NSEvent) PointingDeviceID added in v0.2.0

func (x NSEvent) PointingDeviceID() (
	r0 core.NSUInteger,
)

func (NSEvent) PointingDeviceSerialNumber added in v0.2.0

func (x NSEvent) PointingDeviceSerialNumber() (
	r0 core.NSUInteger,
)

func (NSEvent) ScrollingDeltaX added in v0.2.0

func (x NSEvent) ScrollingDeltaX() (
	r0 core.CGFloat,
)

func (NSEvent) ScrollingDeltaY added in v0.2.0

func (x NSEvent) ScrollingDeltaY() (
	r0 core.CGFloat,
)

func (NSEvent) Stage added in v0.2.0

func (x NSEvent) Stage() (
	r0 core.NSInteger,
)

func (NSEvent) StageTransition added in v0.2.0

func (x NSEvent) StageTransition() (
	r0 core.CGFloat,
)

func (NSEvent) SystemTabletID added in v0.2.0

func (x NSEvent) SystemTabletID() (
	r0 core.NSUInteger,
)

func (NSEvent) TabletID added in v0.2.0

func (x NSEvent) TabletID() (
	r0 core.NSUInteger,
)

func (NSEvent) Tilt added in v0.2.0

func (x NSEvent) Tilt() (
	r0 core.NSPoint,
)

func (NSEvent) TrackingNumber added in v0.2.0

func (x NSEvent) TrackingNumber() (
	r0 core.NSInteger,
)

func (NSEvent) Type added in v0.0.2

func (e NSEvent) Type() int64

func (NSEvent) UserData added in v0.2.0

func (x NSEvent) UserData() (
	r0 unsafe.Pointer,
)

func (NSEvent) VendorDefined added in v0.2.0

func (x NSEvent) VendorDefined() (
	r0 objc.Object,
)

func (NSEvent) VendorID added in v0.2.0

func (x NSEvent) VendorID() (
	r0 core.NSUInteger,
)

func (NSEvent) VendorPointingDeviceType added in v0.2.0

func (x NSEvent) VendorPointingDeviceType() (
	r0 core.NSUInteger,
)

func (NSEvent) Window added in v0.2.0

func (x NSEvent) Window() (
	r0 NSWindow,
)

func (NSEvent) WindowNumber added in v0.2.0

func (x NSEvent) WindowNumber() (
	r0 core.NSInteger,
)

type NSEventRef added in v0.2.0

type NSEventRef interface {
	Pointer() uintptr
	Init_asNSEvent() NSEvent
}

type NSFont

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

func Font

func Font(fontName string, size float64) NSFont

func NSFont_Init

func NSFont_Init(fontName string, size float64) NSFont

func NSFont_alloc added in v0.2.0

func NSFont_alloc() (
	r0 NSFont,
)

func NSFont_boldSystemFontOfSize_ added in v0.2.0

func NSFont_boldSystemFontOfSize_(
	fontSize core.CGFloat,
) (
	r0 NSFont,
)

func NSFont_controlContentFontOfSize_ added in v0.2.0

func NSFont_controlContentFontOfSize_(
	fontSize core.CGFloat,
) (
	r0 NSFont,
)

func NSFont_fontWithName_size_ added in v0.2.0

func NSFont_fontWithName_size_(
	fontName core.NSStringRef,
	fontSize core.CGFloat,
) (
	r0 NSFont,
)

func NSFont_fromPointer added in v0.2.0

func NSFont_fromPointer(ptr unsafe.Pointer) NSFont

func NSFont_fromRef added in v0.2.0

func NSFont_fromRef(ref objc.Ref) NSFont

func NSFont_labelFontOfSize_ added in v0.2.0

func NSFont_labelFontOfSize_(
	fontSize core.CGFloat,
) (
	r0 NSFont,
)

func NSFont_menuBarFontOfSize_ added in v0.2.0

func NSFont_menuBarFontOfSize_(
	fontSize core.CGFloat,
) (
	r0 NSFont,
)

func NSFont_menuFontOfSize_ added in v0.2.0

func NSFont_menuFontOfSize_(
	fontSize core.CGFloat,
) (
	r0 NSFont,
)

func NSFont_messageFontOfSize_ added in v0.2.0

func NSFont_messageFontOfSize_(
	fontSize core.CGFloat,
) (
	r0 NSFont,
)

func NSFont_paletteFontOfSize_ added in v0.2.0

func NSFont_paletteFontOfSize_(
	fontSize core.CGFloat,
) (
	r0 NSFont,
)

func NSFont_systemFontOfSize_ added in v0.2.0

func NSFont_systemFontOfSize_(
	fontSize core.CGFloat,
) (
	r0 NSFont,
)

func NSFont_titleBarFontOfSize_ added in v0.2.0

func NSFont_titleBarFontOfSize_(
	fontSize core.CGFloat,
) (
	r0 NSFont,
)

func NSFont_toolTipsFontOfSize_ added in v0.2.0

func NSFont_toolTipsFontOfSize_(
	fontSize core.CGFloat,
) (
	r0 NSFont,
)

func NSFont_userFixedPitchFontOfSize_ added in v0.2.0

func NSFont_userFixedPitchFontOfSize_(
	fontSize core.CGFloat,
) (
	r0 NSFont,
)

func NSFont_userFontOfSize_ added in v0.2.0

func NSFont_userFontOfSize_(
	fontSize core.CGFloat,
) (
	r0 NSFont,
)

func (NSFont) DisplayName added in v0.2.0

func (x NSFont) DisplayName() (
	r0 core.NSString,
)

func (NSFont) FamilyName added in v0.2.0

func (x NSFont) FamilyName() (
	r0 core.NSString,
)

func (NSFont) FontName added in v0.2.0

func (x NSFont) FontName() (
	r0 core.NSString,
)

func (NSFont) FontWithSize_ added in v0.2.0

func (x NSFont) FontWithSize_(
	fontSize core.CGFloat,
) (
	r0 NSFont,
)

func (NSFont) Init_asNSFont added in v0.2.0

func (x NSFont) Init_asNSFont() (
	r0 NSFont,
)

func (NSFont) IsFixedPitch added in v0.2.0

func (x NSFont) IsFixedPitch() (
	r0 bool,
)

func (NSFont) IsVertical added in v0.2.0

func (x NSFont) IsVertical() (
	r0 bool,
)

func (NSFont) MostCompatibleStringEncoding added in v0.2.0

func (x NSFont) MostCompatibleStringEncoding() (
	r0 core.NSStringEncoding,
)

func (NSFont) NumberOfGlyphs added in v0.2.0

func (x NSFont) NumberOfGlyphs() (
	r0 core.NSUInteger,
)

func (NSFont) PointSize added in v0.2.0

func (x NSFont) PointSize() (
	r0 core.CGFloat,
)

func (NSFont) Set added in v0.2.0

func (x NSFont) Set()

func (NSFont) VerticalFont added in v0.2.0

func (x NSFont) VerticalFont() (
	r0 NSFont,
)

type NSFontRef added in v0.2.0

type NSFontRef interface {
	Pointer() uintptr
	Init_asNSFont() NSFont
}

type NSImage

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

func NSImage_ImageNamed

func NSImage_ImageNamed(name string) NSImage

func NSImage_InitWithData

func NSImage_InitWithData(data core.NSDataRef) NSImage

func NSImage_InitWithURL added in v0.2.0

func NSImage_InitWithURL(url core.NSURL) NSImage

func NSImage_alloc added in v0.2.0

func NSImage_alloc() (
	r0 NSImage,
)

func NSImage_fromPointer added in v0.2.0

func NSImage_fromPointer(ptr unsafe.Pointer) NSImage

func NSImage_fromRef added in v0.2.0

func NSImage_fromRef(ref objc.Ref) NSImage

func NSImage_imageWithSystemSymbolName_accessibilityDescription_ added in v0.2.0

func NSImage_imageWithSystemSymbolName_accessibilityDescription_(
	symbolName core.NSStringRef,
	description core.NSStringRef,
) (
	r0 NSImage,
)

func (NSImage) AccessibilityDescription added in v0.2.0

func (x NSImage) AccessibilityDescription() (
	r0 core.NSString,
)

func (NSImage) AddRepresentations_ added in v0.2.0

func (x NSImage) AddRepresentations_(
	imageReps core.NSArrayRef,
)

func (NSImage) AlignmentRect added in v0.2.0

func (x NSImage) AlignmentRect() (
	r0 core.NSRect,
)

func (NSImage) BackgroundColor added in v0.2.0

func (x NSImage) BackgroundColor() (
	r0 NSColor,
)

func (NSImage) CancelIncrementalLoad added in v0.2.0

func (x NSImage) CancelIncrementalLoad()

func (NSImage) Delegate added in v0.2.0

func (x NSImage) Delegate() (
	r0 objc.Object,
)

func (NSImage) DrawInRect_ added in v0.2.0

func (x NSImage) DrawInRect_(
	rect core.NSRect,
)

func (NSImage) InitByReferencingFile__asNSImage added in v0.2.0

func (x NSImage) InitByReferencingFile__asNSImage(
	fileName core.NSStringRef,
) (
	r0 NSImage,
)

func (NSImage) InitByReferencingURL__asNSImage added in v0.2.0

func (x NSImage) InitByReferencingURL__asNSImage(
	url core.NSURLRef,
) (
	r0 NSImage,
)

func (NSImage) InitWithContentsOfFile__asNSImage added in v0.2.0

func (x NSImage) InitWithContentsOfFile__asNSImage(
	fileName core.NSStringRef,
) (
	r0 NSImage,
)

func (NSImage) InitWithContentsOfURL__asNSImage added in v0.2.0

func (x NSImage) InitWithContentsOfURL__asNSImage(
	url core.NSURLRef,
) (
	r0 NSImage,
)

func (NSImage) InitWithDataIgnoringOrientation__asNSImage added in v0.2.0

func (x NSImage) InitWithDataIgnoringOrientation__asNSImage(
	data core.NSDataRef,
) (
	r0 NSImage,
)

func (NSImage) InitWithData__asNSImage added in v0.2.0

func (x NSImage) InitWithData__asNSImage(
	data core.NSDataRef,
) (
	r0 NSImage,
)

func (NSImage) InitWithPasteboard__asNSImage added in v0.2.0

func (x NSImage) InitWithPasteboard__asNSImage(
	pasteboard NSPasteboardRef,
) (
	r0 NSImage,
)

func (NSImage) InitWithSize__asNSImage added in v0.2.0

func (x NSImage) InitWithSize__asNSImage(
	size core.NSSize,
) (
	r0 NSImage,
)

func (NSImage) Init_asNSImage added in v0.2.0

func (x NSImage) Init_asNSImage() (
	r0 NSImage,
)

func (NSImage) IsTemplate

func (x NSImage) IsTemplate() (
	r0 bool,
)

func (NSImage) IsValid added in v0.2.0

func (x NSImage) IsValid() (
	r0 bool,
)

func (NSImage) LayerContentsForContentsScale_ added in v0.2.0

func (x NSImage) LayerContentsForContentsScale_(
	layerContentsScale core.CGFloat,
) (
	r0 objc.Object,
)

func (NSImage) LockFocus added in v0.2.0

func (x NSImage) LockFocus()

func (NSImage) LockFocusFlipped_ added in v0.2.0

func (x NSImage) LockFocusFlipped_(
	flipped bool,
)

func (NSImage) MatchesOnMultipleResolution added in v0.2.0

func (x NSImage) MatchesOnMultipleResolution() (
	r0 bool,
)

func (NSImage) MatchesOnlyOnBestFittingAxis added in v0.2.0

func (x NSImage) MatchesOnlyOnBestFittingAxis() (
	r0 bool,
)

func (NSImage) PrefersColorMatch added in v0.2.0

func (x NSImage) PrefersColorMatch() (
	r0 bool,
)

func (NSImage) Recache added in v0.2.0

func (x NSImage) Recache()

func (NSImage) RecommendedLayerContentsScale_ added in v0.2.0

func (x NSImage) RecommendedLayerContentsScale_(
	preferredContentsScale core.CGFloat,
) (
	r0 core.CGFloat,
)

func (NSImage) Representations added in v0.2.0

func (x NSImage) Representations() (
	r0 core.NSArray,
)

func (NSImage) SetAccessibilityDescription_ added in v0.2.0

func (x NSImage) SetAccessibilityDescription_(
	value core.NSStringRef,
)

func (NSImage) SetAlignmentRect_ added in v0.2.0

func (x NSImage) SetAlignmentRect_(
	value core.NSRect,
)

func (NSImage) SetBackgroundColor_ added in v0.2.0

func (x NSImage) SetBackgroundColor_(
	value NSColorRef,
)

func (NSImage) SetDelegate_ added in v0.2.0

func (x NSImage) SetDelegate_(
	value objc.Ref,
)

func (NSImage) SetMatchesOnMultipleResolution_ added in v0.2.0

func (x NSImage) SetMatchesOnMultipleResolution_(
	value bool,
)

func (NSImage) SetMatchesOnlyOnBestFittingAxis_ added in v0.2.0

func (x NSImage) SetMatchesOnlyOnBestFittingAxis_(
	value bool,
)

func (NSImage) SetPrefersColorMatch_ added in v0.2.0

func (x NSImage) SetPrefersColorMatch_(
	value bool,
)

func (NSImage) SetSize

func (i NSImage) SetSize(size core.NSSize)

func (NSImage) SetSize_ added in v0.2.0

func (x NSImage) SetSize_(
	value core.NSSize,
)

func (NSImage) SetTemplate

func (i NSImage) SetTemplate(b bool)

func (NSImage) SetTemplate_ added in v0.2.0

func (x NSImage) SetTemplate_(
	value bool,
)

func (NSImage) SetUsesEPSOnResolutionMismatch_ added in v0.2.0

func (x NSImage) SetUsesEPSOnResolutionMismatch_(
	value bool,
)

func (NSImage) SetValueForKey

func (i NSImage) SetValueForKey(value, key interface{})

func (NSImage) Size

func (x NSImage) Size() (
	r0 core.NSSize,
)

func (NSImage) TIFFRepresentation added in v0.2.0

func (x NSImage) TIFFRepresentation() (
	r0 core.NSData,
)

func (NSImage) UnlockFocus added in v0.2.0

func (x NSImage) UnlockFocus()

func (NSImage) UsesEPSOnResolutionMismatch added in v0.2.0

func (x NSImage) UsesEPSOnResolutionMismatch() (
	r0 bool,
)

type NSImageRef added in v0.2.0

type NSImageRef interface {
	Pointer() uintptr
	Init_asNSImage() NSImage
}

type NSImageView

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

func NSImageView_New

func NSImageView_New() NSImageView

func NSImageView_alloc added in v0.2.0

func NSImageView_alloc() (
	r0 NSImageView,
)

func NSImageView_fromPointer added in v0.2.0

func NSImageView_fromPointer(ptr unsafe.Pointer) NSImageView

func NSImageView_fromRef added in v0.2.0

func NSImageView_fromRef(ref objc.Ref) NSImageView

func NSImageView_imageViewWithImage_ added in v0.2.0

func NSImageView_imageViewWithImage_(
	image NSImageRef,
) (
	r0 NSImageView,
)

func (NSImageView) AllowsCutCopyPaste added in v0.2.0

func (x NSImageView) AllowsCutCopyPaste() (
	r0 bool,
)

func (NSImageView) Animates added in v0.2.0

func (x NSImageView) Animates() (
	r0 bool,
)

func (NSImageView) ContentTintColor added in v0.2.0

func (x NSImageView) ContentTintColor() (
	r0 NSColor,
)

func (NSImageView) Image

func (x NSImageView) Image() (
	r0 NSImage,
)

func (NSImageView) Init_asNSImageView added in v0.2.0

func (x NSImageView) Init_asNSImageView() (
	r0 NSImageView,
)

func (NSImageView) IsEditable added in v0.2.0

func (x NSImageView) IsEditable() (
	r0 bool,
)

func (NSImageView) SetAllowsCutCopyPaste_ added in v0.2.0

func (x NSImageView) SetAllowsCutCopyPaste_(
	value bool,
)

func (NSImageView) SetAnimates_ added in v0.2.0

func (x NSImageView) SetAnimates_(
	value bool,
)

func (NSImageView) SetContentTintColor_ added in v0.2.0

func (x NSImageView) SetContentTintColor_(
	value NSColorRef,
)

func (NSImageView) SetEditable_ added in v0.2.0

func (x NSImageView) SetEditable_(
	value bool,
)

func (NSImageView) SetImage

func (imgView NSImageView) SetImage(img NSImageRef)

func (NSImageView) SetImage_ added in v0.2.0

func (x NSImageView) SetImage_(
	value NSImageRef,
)

type NSImageViewRef added in v0.2.0

type NSImageViewRef interface {
	Pointer() uintptr
	Init_asNSImageView() NSImageView
}

type NSLayoutManager

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

func NSLayoutManager_alloc added in v0.2.0

func NSLayoutManager_alloc() (
	r0 NSLayoutManager,
)

func NSLayoutManager_fromPointer added in v0.2.0

func NSLayoutManager_fromPointer(ptr unsafe.Pointer) NSLayoutManager

func NSLayoutManager_fromRef added in v0.2.0

func NSLayoutManager_fromRef(ref objc.Ref) NSLayoutManager

func (NSLayoutManager) AddTextContainer_ added in v0.2.0

func (x NSLayoutManager) AddTextContainer_(
	container NSTextContainerRef,
)

func (NSLayoutManager) AllowsNonContiguousLayout added in v0.2.0

func (x NSLayoutManager) AllowsNonContiguousLayout() (
	r0 bool,
)

func (NSLayoutManager) AttachmentSizeForGlyphAtIndex_ added in v0.2.0

func (x NSLayoutManager) AttachmentSizeForGlyphAtIndex_(
	glyphIndex core.NSUInteger,
) (
	r0 core.NSSize,
)

func (NSLayoutManager) BackgroundLayoutEnabled added in v0.2.0

func (x NSLayoutManager) BackgroundLayoutEnabled() (
	r0 bool,
)

func (NSLayoutManager) CharacterIndexForGlyphAtIndex_ added in v0.2.0

func (x NSLayoutManager) CharacterIndexForGlyphAtIndex_(
	glyphIndex core.NSUInteger,
) (
	r0 core.NSUInteger,
)

func (NSLayoutManager) DefaultBaselineOffsetForFont_ added in v0.2.0

func (x NSLayoutManager) DefaultBaselineOffsetForFont_(
	theFont NSFontRef,
) (
	r0 core.CGFloat,
)

func (NSLayoutManager) DefaultLineHeightForFont_ added in v0.2.0

func (x NSLayoutManager) DefaultLineHeightForFont_(
	theFont NSFontRef,
) (
	r0 core.CGFloat,
)

func (NSLayoutManager) Delegate added in v0.2.0

func (x NSLayoutManager) Delegate() (
	r0 objc.Object,
)

func (NSLayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex_ added in v0.2.0

func (x NSLayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex_(
	glyphIndex core.NSUInteger,
) (
	r0 bool,
)

func (NSLayoutManager) EnsureLayoutForBoundingRect_inTextContainer_ added in v0.2.0

func (x NSLayoutManager) EnsureLayoutForBoundingRect_inTextContainer_(
	bounds core.NSRect,
	container NSTextContainerRef,
)

func (NSLayoutManager) EnsureLayoutForTextContainer

func (lm NSLayoutManager) EnsureLayoutForTextContainer(tc NSTextContainerRef)

func (NSLayoutManager) EnsureLayoutForTextContainer_ added in v0.2.0

func (x NSLayoutManager) EnsureLayoutForTextContainer_(
	container NSTextContainerRef,
)

func (NSLayoutManager) ExtraLineFragmentRect added in v0.2.0

func (x NSLayoutManager) ExtraLineFragmentRect() (
	r0 core.NSRect,
)

func (NSLayoutManager) ExtraLineFragmentTextContainer added in v0.2.0

func (x NSLayoutManager) ExtraLineFragmentTextContainer() (
	r0 NSTextContainer,
)

func (NSLayoutManager) ExtraLineFragmentUsedRect added in v0.2.0

func (x NSLayoutManager) ExtraLineFragmentUsedRect() (
	r0 core.NSRect,
)

func (NSLayoutManager) FirstTextView added in v0.2.0

func (x NSLayoutManager) FirstTextView() (
	r0 NSTextView,
)

func (NSLayoutManager) FirstUnlaidCharacterIndex added in v0.2.0

func (x NSLayoutManager) FirstUnlaidCharacterIndex() (
	r0 core.NSUInteger,
)

func (NSLayoutManager) FirstUnlaidGlyphIndex added in v0.2.0

func (x NSLayoutManager) FirstUnlaidGlyphIndex() (
	r0 core.NSUInteger,
)

func (NSLayoutManager) GlyphIndexForCharacterAtIndex_ added in v0.2.0

func (x NSLayoutManager) GlyphIndexForCharacterAtIndex_(
	charIndex core.NSUInteger,
) (
	r0 core.NSUInteger,
)

func (NSLayoutManager) HasNonContiguousLayout added in v0.2.0

func (x NSLayoutManager) HasNonContiguousLayout() (
	r0 bool,
)

func (NSLayoutManager) Init_asNSLayoutManager added in v0.2.0

func (x NSLayoutManager) Init_asNSLayoutManager() (
	r0 NSLayoutManager,
)

func (NSLayoutManager) InsertTextContainer_atIndex_ added in v0.2.0

func (x NSLayoutManager) InsertTextContainer_atIndex_(
	container NSTextContainerRef,
	index core.NSUInteger,
)

func (NSLayoutManager) IsValidGlyphIndex_ added in v0.2.0

func (x NSLayoutManager) IsValidGlyphIndex_(
	glyphIndex core.NSUInteger,
) (
	r0 bool,
)

func (NSLayoutManager) LayoutManagerOwnsFirstResponderInWindow_ added in v0.2.0

func (x NSLayoutManager) LayoutManagerOwnsFirstResponderInWindow_(
	window NSWindowRef,
) (
	r0 bool,
)

func (NSLayoutManager) LimitsLayoutForSuspiciousContents added in v0.2.0

func (x NSLayoutManager) LimitsLayoutForSuspiciousContents() (
	r0 bool,
)

func (NSLayoutManager) NotShownAttributeForGlyphAtIndex_ added in v0.2.0

func (x NSLayoutManager) NotShownAttributeForGlyphAtIndex_(
	glyphIndex core.NSUInteger,
) (
	r0 bool,
)

func (NSLayoutManager) NumberOfGlyphs added in v0.2.0

func (x NSLayoutManager) NumberOfGlyphs() (
	r0 core.NSUInteger,
)

func (NSLayoutManager) RemoveTextContainerAtIndex_ added in v0.2.0

func (x NSLayoutManager) RemoveTextContainerAtIndex_(
	index core.NSUInteger,
)

func (NSLayoutManager) SetAllowsNonContiguousLayout_ added in v0.2.0

func (x NSLayoutManager) SetAllowsNonContiguousLayout_(
	value bool,
)

func (NSLayoutManager) SetBackgroundLayoutEnabled_ added in v0.2.0

func (x NSLayoutManager) SetBackgroundLayoutEnabled_(
	value bool,
)

func (NSLayoutManager) SetDelegate_ added in v0.2.0

func (x NSLayoutManager) SetDelegate_(
	value objc.Ref,
)

func (NSLayoutManager) SetDrawsOutsideLineFragment_forGlyphAtIndex_ added in v0.2.0

func (x NSLayoutManager) SetDrawsOutsideLineFragment_forGlyphAtIndex_(
	flag bool,
	glyphIndex core.NSUInteger,
)

func (NSLayoutManager) SetExtraLineFragmentRect_usedRect_textContainer_ added in v0.2.0

func (x NSLayoutManager) SetExtraLineFragmentRect_usedRect_textContainer_(
	fragmentRect core.NSRect,
	usedRect core.NSRect,
	container NSTextContainerRef,
)

func (NSLayoutManager) SetLimitsLayoutForSuspiciousContents_ added in v0.2.0

func (x NSLayoutManager) SetLimitsLayoutForSuspiciousContents_(
	value bool,
)

func (NSLayoutManager) SetNotShownAttribute_forGlyphAtIndex_ added in v0.2.0

func (x NSLayoutManager) SetNotShownAttribute_forGlyphAtIndex_(
	flag bool,
	glyphIndex core.NSUInteger,
)

func (NSLayoutManager) SetShowsControlCharacters_ added in v0.2.0

func (x NSLayoutManager) SetShowsControlCharacters_(
	value bool,
)

func (NSLayoutManager) SetShowsInvisibleCharacters_ added in v0.2.0

func (x NSLayoutManager) SetShowsInvisibleCharacters_(
	value bool,
)

func (NSLayoutManager) SetUsesDefaultHyphenation_ added in v0.2.0

func (x NSLayoutManager) SetUsesDefaultHyphenation_(
	value bool,
)

func (NSLayoutManager) SetUsesFontLeading_ added in v0.2.0

func (x NSLayoutManager) SetUsesFontLeading_(
	value bool,
)

func (NSLayoutManager) ShowsControlCharacters added in v0.2.0

func (x NSLayoutManager) ShowsControlCharacters() (
	r0 bool,
)

func (NSLayoutManager) ShowsInvisibleCharacters added in v0.2.0

func (x NSLayoutManager) ShowsInvisibleCharacters() (
	r0 bool,
)

func (NSLayoutManager) TextContainerChangedGeometry_ added in v0.2.0

func (x NSLayoutManager) TextContainerChangedGeometry_(
	container NSTextContainerRef,
)

func (NSLayoutManager) TextContainerChangedTextView_ added in v0.2.0

func (x NSLayoutManager) TextContainerChangedTextView_(
	container NSTextContainerRef,
)

func (NSLayoutManager) TextContainers added in v0.2.0

func (x NSLayoutManager) TextContainers() (
	r0 core.NSArray,
)

func (NSLayoutManager) TextViewForBeginningOfSelection added in v0.2.0

func (x NSLayoutManager) TextViewForBeginningOfSelection() (
	r0 NSTextView,
)

func (NSLayoutManager) UsedRectForTextContainer

func (lm NSLayoutManager) UsedRectForTextContainer(tc NSTextContainerRef) (rect core.NSRect)

func (NSLayoutManager) UsedRectForTextContainer_ added in v0.2.0

func (x NSLayoutManager) UsedRectForTextContainer_(
	container NSTextContainerRef,
) (
	r0 core.NSRect,
)

func (NSLayoutManager) UsesDefaultHyphenation added in v0.2.0

func (x NSLayoutManager) UsesDefaultHyphenation() (
	r0 bool,
)

func (NSLayoutManager) UsesFontLeading added in v0.2.0

func (x NSLayoutManager) UsesFontLeading() (
	r0 bool,
)

type NSLayoutManagerRef added in v0.2.0

type NSLayoutManagerRef interface {
	Pointer() uintptr
	Init_asNSLayoutManager() NSLayoutManager
}

type NSMenu

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

func NSMenu_Init

func NSMenu_Init(title string) NSMenu

func NSMenu_New

func NSMenu_New() NSMenu

func NSMenu_alloc added in v0.2.0

func NSMenu_alloc() (
	r0 NSMenu,
)

func NSMenu_fromPointer added in v0.2.0

func NSMenu_fromPointer(ptr unsafe.Pointer) NSMenu

func NSMenu_fromRef added in v0.2.0

func NSMenu_fromRef(ref objc.Ref) NSMenu

func NSView_defaultMenu added in v0.2.0

func NSView_defaultMenu() (
	r0 NSMenu,
)

func (NSMenu) AddItem

func (menu NSMenu) AddItem(item NSMenuItemRef)

func (NSMenu) AddItemWithTitle_action_keyEquivalent_ added in v0.2.0

func (x NSMenu) AddItemWithTitle_action_keyEquivalent_(
	string core.NSStringRef,
	selector objc.Selector,
	charCode core.NSStringRef,
) (
	r0 NSMenuItem,
)

func (NSMenu) AddItem_ added in v0.2.0

func (x NSMenu) AddItem_(
	newItem NSMenuItemRef,
)

func (NSMenu) AllowsContextMenuPlugIns added in v0.2.0

func (x NSMenu) AllowsContextMenuPlugIns() (
	r0 bool,
)

func (NSMenu) AutoenablesItems

func (x NSMenu) AutoenablesItems() (
	r0 bool,
)

func (NSMenu) CancelTracking added in v0.2.0

func (x NSMenu) CancelTracking()

func (NSMenu) CancelTrackingWithoutAnimation added in v0.2.0

func (x NSMenu) CancelTrackingWithoutAnimation()

func (NSMenu) Delegate added in v0.2.0

func (x NSMenu) Delegate() (
	r0 objc.Object,
)

func (NSMenu) Font added in v0.2.0

func (x NSMenu) Font() (
	r0 NSFont,
)

func (NSMenu) HighlightedItem added in v0.2.0

func (x NSMenu) HighlightedItem() (
	r0 NSMenuItem,
)

func (NSMenu) IndexOfItemWithRepresentedObject_ added in v0.2.0

func (x NSMenu) IndexOfItemWithRepresentedObject_(
	object objc.Ref,
) (
	r0 core.NSInteger,
)

func (NSMenu) IndexOfItemWithSubmenu_ added in v0.2.0

func (x NSMenu) IndexOfItemWithSubmenu_(
	submenu NSMenuRef,
) (
	r0 core.NSInteger,
)

func (NSMenu) IndexOfItemWithTag_ added in v0.2.0

func (x NSMenu) IndexOfItemWithTag_(
	tag core.NSInteger,
) (
	r0 core.NSInteger,
)

func (NSMenu) IndexOfItemWithTarget_andAction_ added in v0.2.0

func (x NSMenu) IndexOfItemWithTarget_andAction_(
	target objc.Ref,
	actionSelector objc.Selector,
) (
	r0 core.NSInteger,
)

func (NSMenu) IndexOfItemWithTitle_ added in v0.2.0

func (x NSMenu) IndexOfItemWithTitle_(
	title core.NSStringRef,
) (
	r0 core.NSInteger,
)

func (NSMenu) IndexOfItem_ added in v0.2.0

func (x NSMenu) IndexOfItem_(
	item NSMenuItemRef,
) (
	r0 core.NSInteger,
)

func (NSMenu) InitWithTitle__asNSMenu added in v0.2.0

func (x NSMenu) InitWithTitle__asNSMenu(
	title core.NSStringRef,
) (
	r0 NSMenu,
)

func (NSMenu) Init_asNSMenu added in v0.2.0

func (x NSMenu) Init_asNSMenu() (
	r0 NSMenu,
)

func (NSMenu) InsertItemWithTitle_action_keyEquivalent_atIndex_ added in v0.2.0

func (x NSMenu) InsertItemWithTitle_action_keyEquivalent_atIndex_(
	string core.NSStringRef,
	selector objc.Selector,
	charCode core.NSStringRef,
	index core.NSInteger,
) (
	r0 NSMenuItem,
)

func (NSMenu) InsertItem_atIndex_ added in v0.2.0

func (x NSMenu) InsertItem_atIndex_(
	newItem NSMenuItemRef,
	index core.NSInteger,
)

func (NSMenu) ItemArray added in v0.2.0

func (x NSMenu) ItemArray() (
	r0 core.NSArray,
)

func (NSMenu) ItemAtIndex_ added in v0.2.0

func (x NSMenu) ItemAtIndex_(
	index core.NSInteger,
) (
	r0 NSMenuItem,
)

func (NSMenu) ItemChanged_ added in v0.2.0

func (x NSMenu) ItemChanged_(
	item NSMenuItemRef,
)

func (NSMenu) ItemWithTag_ added in v0.2.0

func (x NSMenu) ItemWithTag_(
	tag core.NSInteger,
) (
	r0 NSMenuItem,
)

func (NSMenu) ItemWithTitle_ added in v0.2.0

func (x NSMenu) ItemWithTitle_(
	title core.NSStringRef,
) (
	r0 NSMenuItem,
)

func (NSMenu) MenuBarHeight added in v0.2.0

func (x NSMenu) MenuBarHeight() (
	r0 core.CGFloat,
)

func (NSMenu) MinimumWidth added in v0.2.0

func (x NSMenu) MinimumWidth() (
	r0 core.CGFloat,
)

func (NSMenu) NumberOfItems added in v0.2.0

func (x NSMenu) NumberOfItems() (
	r0 core.NSInteger,
)

func (NSMenu) PerformActionForItemAtIndex_ added in v0.2.0

func (x NSMenu) PerformActionForItemAtIndex_(
	index core.NSInteger,
)

func (NSMenu) PerformKeyEquivalent_ added in v0.2.0

func (x NSMenu) PerformKeyEquivalent_(
	event NSEventRef,
) (
	r0 bool,
)

func (NSMenu) PopUpMenuPositioningItem_atLocation_inView_ added in v0.2.0

func (x NSMenu) PopUpMenuPositioningItem_atLocation_inView_(
	item NSMenuItemRef,
	location core.NSPoint,
	view NSViewRef,
) (
	r0 bool,
)

func (NSMenu) RemoveAllItems added in v0.2.0

func (x NSMenu) RemoveAllItems()

func (NSMenu) RemoveItem

func (menu NSMenu) RemoveItem(item NSMenuItemRef)

func (NSMenu) RemoveItemAtIndex_ added in v0.2.0

func (x NSMenu) RemoveItemAtIndex_(
	index core.NSInteger,
)

func (NSMenu) RemoveItem_ added in v0.2.0

func (x NSMenu) RemoveItem_(
	item NSMenuItemRef,
)

func (NSMenu) SetAllowsContextMenuPlugIns_ added in v0.2.0

func (x NSMenu) SetAllowsContextMenuPlugIns_(
	value bool,
)

func (NSMenu) SetAutoenablesItems

func (menu NSMenu) SetAutoenablesItems(b bool)

func (NSMenu) SetAutoenablesItems_ added in v0.2.0

func (x NSMenu) SetAutoenablesItems_(
	value bool,
)

func (NSMenu) SetDelegate added in v0.2.0

func (menu NSMenu) SetDelegate(delegate objc.Object)

func (NSMenu) SetDelegate_ added in v0.2.0

func (x NSMenu) SetDelegate_(
	value objc.Ref,
)

func (NSMenu) SetFont_ added in v0.2.0

func (x NSMenu) SetFont_(
	value NSFontRef,
)

func (NSMenu) SetItemArray_ added in v0.2.0

func (x NSMenu) SetItemArray_(
	value core.NSArrayRef,
)

func (NSMenu) SetMinimumWidth_ added in v0.2.0

func (x NSMenu) SetMinimumWidth_(
	value core.CGFloat,
)

func (NSMenu) SetShowsStateColumn_ added in v0.2.0

func (x NSMenu) SetShowsStateColumn_(
	value bool,
)

func (NSMenu) SetSubmenu_forItem_ added in v0.2.0

func (x NSMenu) SetSubmenu_forItem_(
	menu NSMenuRef,
	item NSMenuItemRef,
)

func (NSMenu) SetSupermenu_ added in v0.2.0

func (x NSMenu) SetSupermenu_(
	value NSMenuRef,
)

func (NSMenu) SetTitle

func (menu NSMenu) SetTitle(title string)

func (NSMenu) SetTitle_ added in v0.2.0

func (x NSMenu) SetTitle_(
	value core.NSStringRef,
)

func (NSMenu) ShowsStateColumn added in v0.2.0

func (x NSMenu) ShowsStateColumn() (
	r0 bool,
)

func (NSMenu) Size added in v0.2.0

func (x NSMenu) Size() (
	r0 core.NSSize,
)

func (NSMenu) SubmenuAction_ added in v0.2.0

func (x NSMenu) SubmenuAction_(
	sender objc.Ref,
)

func (NSMenu) Supermenu added in v0.2.0

func (x NSMenu) Supermenu() (
	r0 NSMenu,
)

func (NSMenu) Title

func (menu NSMenu) Title() string

func (NSMenu) Update added in v0.2.0

func (x NSMenu) Update()

type NSMenuItem

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

NSMenuItem is a command item in an app menu. https://developer.apple.com/documentation/appkit/nsmenuitem?language=objc

func NSMenuItem_Init

func NSMenuItem_Init(itemName string, action objc.Selector, keyEquivalent string) NSMenuItem

NSMenuItem_Init returns an initialized instance of NSMenuItem. https://developer.apple.com/documentation/appkit/nsmenuitem/1514858-initwithtitle?language=objc

func NSMenuItem_New

func NSMenuItem_New() NSMenuItem

NSMenuItem_New returns an initialized instance of NSMenuItem.

func NSMenuItem_Separator

func NSMenuItem_Separator() NSMenuItem

NSMenuItem_Separator returns a menu item that is used to separate logical groups of menu commands. https://developer.apple.com/documentation/appkit/nsmenuitem/1514838-separatoritem?language=objc

func NSMenuItem_alloc added in v0.2.0

func NSMenuItem_alloc() (
	r0 NSMenuItem,
)

func NSMenuItem_fromPointer added in v0.2.0

func NSMenuItem_fromPointer(ptr unsafe.Pointer) NSMenuItem

func NSMenuItem_fromRef added in v0.2.0

func NSMenuItem_fromRef(ref objc.Ref) NSMenuItem

func NSMenuItem_separatorItem added in v0.2.0

func NSMenuItem_separatorItem() (
	r0 NSMenuItem,
)

func (NSMenuItem) Action

func (i NSMenuItem) Action() objc.Selector

Action returns the menu item's action-method selector. https://developer.apple.com/documentation/appkit/nsmenuitem/1514825-action?language=objc

func (NSMenuItem) AllowsAutomaticKeyEquivalentLocalization added in v0.2.0

func (x NSMenuItem) AllowsAutomaticKeyEquivalentLocalization() (
	r0 bool,
)

func (NSMenuItem) AllowsAutomaticKeyEquivalentMirroring added in v0.2.0

func (x NSMenuItem) AllowsAutomaticKeyEquivalentMirroring() (
	r0 bool,
)

func (NSMenuItem) AllowsKeyEquivalentWhenHidden added in v0.2.0

func (x NSMenuItem) AllowsKeyEquivalentWhenHidden() (
	r0 bool,
)

func (NSMenuItem) AttributedTitle added in v0.2.0

func (x NSMenuItem) AttributedTitle() (
	r0 core.NSAttributedString,
)

func (NSMenuItem) Enabled

func (i NSMenuItem) Enabled() bool

Enabled returns a boolean value that indicates whether the menu item is enabled. https://developer.apple.com/documentation/appkit/nsmenuitem/1514863-enabled?language=objc

func (NSMenuItem) HasSubmenu added in v0.2.0

func (x NSMenuItem) HasSubmenu() (
	r0 bool,
)

func (NSMenuItem) Hidden

func (i NSMenuItem) Hidden() bool

Hidden returns a boolean value that indicates whether the menu item is hidden. https://developer.apple.com/documentation/appkit/nsmenuitem/1514846-hidden?language=objc

func (NSMenuItem) Image

func (x NSMenuItem) Image() (
	r0 NSImage,
)

func (NSMenuItem) IndentationLevel added in v0.2.0

func (x NSMenuItem) IndentationLevel() (
	r0 core.NSInteger,
)

func (NSMenuItem) InitWithTitle_action_keyEquivalent__asNSMenuItem added in v0.2.0

func (x NSMenuItem) InitWithTitle_action_keyEquivalent__asNSMenuItem(
	string core.NSStringRef,
	selector objc.Selector,
	charCode core.NSStringRef,
) (
	r0 NSMenuItem,
)

func (NSMenuItem) Init_asNSMenuItem added in v0.2.0

func (x NSMenuItem) Init_asNSMenuItem() (
	r0 NSMenuItem,
)

func (NSMenuItem) IsAlternate added in v0.2.0

func (x NSMenuItem) IsAlternate() (
	r0 bool,
)

func (NSMenuItem) IsEnabled added in v0.2.0

func (x NSMenuItem) IsEnabled() (
	r0 bool,
)

func (NSMenuItem) IsHidden added in v0.2.0

func (x NSMenuItem) IsHidden() (
	r0 bool,
)

func (NSMenuItem) IsHiddenOrHasHiddenAncestor added in v0.2.0

func (x NSMenuItem) IsHiddenOrHasHiddenAncestor() (
	r0 bool,
)

func (NSMenuItem) IsHighlighted added in v0.2.0

func (x NSMenuItem) IsHighlighted() (
	r0 bool,
)

func (NSMenuItem) IsSeparatorItem added in v0.2.0

func (x NSMenuItem) IsSeparatorItem() (
	r0 bool,
)

func (NSMenuItem) KeyEquivalent added in v0.2.0

func (x NSMenuItem) KeyEquivalent() (
	r0 core.NSString,
)

func (NSMenuItem) Menu added in v0.2.0

func (x NSMenuItem) Menu() (
	r0 NSMenu,
)

func (NSMenuItem) MixedStateImage added in v0.2.0

func (x NSMenuItem) MixedStateImage() (
	r0 NSImage,
)

func (NSMenuItem) OffStateImage added in v0.2.0

func (x NSMenuItem) OffStateImage() (
	r0 NSImage,
)

func (NSMenuItem) OnStateImage added in v0.2.0

func (x NSMenuItem) OnStateImage() (
	r0 NSImage,
)

func (NSMenuItem) ParentItem added in v0.2.0

func (x NSMenuItem) ParentItem() (
	r0 NSMenuItem,
)

func (NSMenuItem) RepresentedObject added in v0.2.0

func (x NSMenuItem) RepresentedObject() (
	r0 objc.Object,
)

func (NSMenuItem) SetAction

func (i NSMenuItem) SetAction(sel objc.Selector)

SetAction sets the menu item's action-method selector. https://developer.apple.com/documentation/appkit/nsmenuitem/1514825-action?language=objc

func (NSMenuItem) SetAction_ added in v0.2.0

func (x NSMenuItem) SetAction_(
	value objc.Selector,
)

func (NSMenuItem) SetAllowsAutomaticKeyEquivalentLocalization_ added in v0.2.0

func (x NSMenuItem) SetAllowsAutomaticKeyEquivalentLocalization_(
	value bool,
)

func (NSMenuItem) SetAllowsAutomaticKeyEquivalentMirroring_ added in v0.2.0

func (x NSMenuItem) SetAllowsAutomaticKeyEquivalentMirroring_(
	value bool,
)

func (NSMenuItem) SetAllowsKeyEquivalentWhenHidden_ added in v0.2.0

func (x NSMenuItem) SetAllowsKeyEquivalentWhenHidden_(
	value bool,
)

func (NSMenuItem) SetAlternate_ added in v0.2.0

func (x NSMenuItem) SetAlternate_(
	value bool,
)

func (NSMenuItem) SetAttributedTitle added in v0.2.0

func (i NSMenuItem) SetAttributedTitle(s string)

SetAttributedTitle sets a custom string for the menu item's title. https://developer.apple.com/documentation/appkit/nsmenuitem/1514860-attributedtitle?language=objc

func (NSMenuItem) SetAttributedTitle_ added in v0.2.0

func (x NSMenuItem) SetAttributedTitle_(
	value core.NSAttributedStringRef,
)

func (NSMenuItem) SetEnabled

func (i NSMenuItem) SetEnabled(b bool)

SetEnabled sets a boolean value that indicates whether the menu item is enabled. https://developer.apple.com/documentation/appkit/nsmenuitem/1514863-enabled?language=objc

func (NSMenuItem) SetEnabled_ added in v0.2.0

func (x NSMenuItem) SetEnabled_(
	value bool,
)

func (NSMenuItem) SetHidden

func (i NSMenuItem) SetHidden(b bool)

SetHidden sets a boolean value that indicates whether the menu item is hidden. https://developer.apple.com/documentation/appkit/nsmenuitem/1514846-hidden?language=objc

func (NSMenuItem) SetHidden_ added in v0.2.0

func (x NSMenuItem) SetHidden_(
	value bool,
)

func (NSMenuItem) SetImage

func (i NSMenuItem) SetImage(obj NSImage)

SetImage sets the menu item’s image. https://developer.apple.com/documentation/appkit/nsmenuitem/1514819-image?language=objc

func (NSMenuItem) SetImage_ added in v0.2.0

func (x NSMenuItem) SetImage_(
	value NSImageRef,
)

func (NSMenuItem) SetIndentationLevel_ added in v0.2.0

func (x NSMenuItem) SetIndentationLevel_(
	value core.NSInteger,
)

func (NSMenuItem) SetKeyEquivalent_ added in v0.2.0

func (x NSMenuItem) SetKeyEquivalent_(
	value core.NSStringRef,
)

func (NSMenuItem) SetMenu_ added in v0.2.0

func (x NSMenuItem) SetMenu_(
	value NSMenuRef,
)

func (NSMenuItem) SetMixedStateImage_ added in v0.2.0

func (x NSMenuItem) SetMixedStateImage_(
	value NSImageRef,
)

func (NSMenuItem) SetOffStateImage_ added in v0.2.0

func (x NSMenuItem) SetOffStateImage_(
	value NSImageRef,
)

func (NSMenuItem) SetOnStateImage_ added in v0.2.0

func (x NSMenuItem) SetOnStateImage_(
	value NSImageRef,
)

func (NSMenuItem) SetRepresentedObject_ added in v0.2.0

func (x NSMenuItem) SetRepresentedObject_(
	value objc.Ref,
)

func (NSMenuItem) SetState

func (i NSMenuItem) SetState(state int)

SetState sets the state of the menu item. https://developer.apple.com/documentation/appkit/nsmenuitem/1514804-state?language=objc

func (NSMenuItem) SetState_ added in v0.2.0

func (x NSMenuItem) SetState_(
	value core.NSInteger,
)

func (NSMenuItem) SetSubmenu

func (i NSMenuItem) SetSubmenu(submenu NSMenuRef)

SetSubmenu sets the submenu of the menu item. https://developer.apple.com/documentation/appkit/nsmenuitem/1514845-submenu?language=objc

func (NSMenuItem) SetSubmenu_ added in v0.2.0

func (x NSMenuItem) SetSubmenu_(
	value NSMenuRef,
)

func (NSMenuItem) SetTag_ added in v0.2.0

func (x NSMenuItem) SetTag_(
	value core.NSInteger,
)

func (NSMenuItem) SetTarget

func (i NSMenuItem) SetTarget(obj objc.Object)

SetTarget sets the menu item's target. https://developer.apple.com/documentation/appkit/nsmenuitem/1514843-target?language=objc

func (NSMenuItem) SetTarget_ added in v0.2.0

func (x NSMenuItem) SetTarget_(
	value objc.Ref,
)

func (NSMenuItem) SetTitle

func (i NSMenuItem) SetTitle(s string)

SetTitle sets the menu item's title. https://developer.apple.com/documentation/appkit/nsmenuitem/1514805-title?language=objc

func (NSMenuItem) SetTitle_ added in v0.2.0

func (x NSMenuItem) SetTitle_(
	value core.NSStringRef,
)

func (NSMenuItem) SetToolTip

func (i NSMenuItem) SetToolTip(s string)

SetToolTip sets a help tag for the menu item. https://developer.apple.com/documentation/appkit/nsmenuitem/1514848-tooltip?language=objc

func (NSMenuItem) SetToolTip_ added in v0.2.0

func (x NSMenuItem) SetToolTip_(
	value core.NSStringRef,
)

func (NSMenuItem) SetView added in v0.2.0

func (i NSMenuItem) SetView(obj NSViewRef)

func (NSMenuItem) SetView_ added in v0.2.0

func (x NSMenuItem) SetView_(
	value NSViewRef,
)

func (NSMenuItem) State

func (i NSMenuItem) State() int

State returns the state of the menu item. https://developer.apple.com/documentation/appkit/nsmenuitem/1514804-state?language=objc

func (NSMenuItem) Submenu

func (x NSMenuItem) Submenu() (
	r0 NSMenu,
)

func (NSMenuItem) Tag added in v0.2.0

func (x NSMenuItem) Tag() (
	r0 core.NSInteger,
)

func (NSMenuItem) Target

func (i NSMenuItem) Target() objc.Object

Target returns the menu item's target. https://developer.apple.com/documentation/appkit/nsmenuitem/1514843-target?language=objc

func (NSMenuItem) Title

func (i NSMenuItem) Title() string

Title returns the menu item's title. https://developer.apple.com/documentation/appkit/nsmenuitem/1514805-title?language=objc

func (NSMenuItem) ToolTip

func (i NSMenuItem) ToolTip() string

ToolTip returns a help tag for the menu item. https://developer.apple.com/documentation/appkit/nsmenuitem/1514848-tooltip?language=objc

func (NSMenuItem) UserKeyEquivalent added in v0.2.0

func (x NSMenuItem) UserKeyEquivalent() (
	r0 core.NSString,
)

func (NSMenuItem) View added in v0.2.0

func (x NSMenuItem) View() (
	r0 NSView,
)

type NSMenuItemRef added in v0.2.0

type NSMenuItemRef interface {
	Pointer() uintptr
	Init_asNSMenuItem() NSMenuItem
}

type NSMenuRef added in v0.2.0

type NSMenuRef interface {
	Pointer() uintptr
	Init_asNSMenu() NSMenu
}

type NSNib

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

func NSNib_InitWithNibData_Bundle added in v0.2.0

func NSNib_InitWithNibData_Bundle(data core.NSDataRef, bundle NSBundleRef) NSNib

func NSNib_InitWithNibNamed_Bundle added in v0.2.0

func NSNib_InitWithNibNamed_Bundle(name string, bundle NSBundle) NSNib

func NSNib_alloc added in v0.2.0

func NSNib_alloc() (
	r0 NSNib,
)

func NSNib_fromPointer added in v0.2.0

func NSNib_fromPointer(ptr unsafe.Pointer) NSNib

func NSNib_fromRef added in v0.2.0

func NSNib_fromRef(ref objc.Ref) NSNib

func (NSNib) InitWithNibData_bundle__asNSNib added in v0.2.0

func (x NSNib) InitWithNibData_bundle__asNSNib(
	nibData core.NSDataRef,
	bundle NSBundleRef,
) (
	r0 NSNib,
)

func (NSNib) Init_asNSNib added in v0.2.0

func (x NSNib) Init_asNSNib() (
	r0 NSNib,
)

func (NSNib) InstantiateWithOwner deprecated

func (nib NSNib) InstantiateWithOwner(owner objc.Object)

Deprecated: use InstantiateWithOwner_TopLevelObjects

func (NSNib) InstantiateWithOwner_TopLevelObjects added in v0.2.0

func (nib NSNib) InstantiateWithOwner_TopLevelObjects(owner objc.Object) (core.NSArray, bool)

func (NSNib) InstantiateWithOwner_topLevelObjects_ added in v0.2.0

func (x NSNib) InstantiateWithOwner_topLevelObjects_(
	owner objc.Ref,
	topLevelObjects core.NSArrayRef,
) (
	r0 bool,
)

type NSNibRef added in v0.2.0

type NSNibRef interface {
	Pointer() uintptr
	Init_asNSNib() NSNib
}

type NSPasteboard added in v0.0.2

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

Wrapper for NSPasteboard https://developer.apple.com/documentation/appkit/nspasteboard?language=objc

Example
package main

import (
	"fmt"
	"github.com/progrium/macdriver/cocoa"
)

func main() {
	// get general pasteboard
	gp := cocoa.NSPasteboard_GeneralPasteboard()

	// clear pasteboard and write to pasteboard
	gp.ClearContents()
	gp.SetStringForType("test-content", cocoa.NSPasteboardTypeString)

	// read data from pasteboard
	fmt.Println(gp.StringForType(cocoa.NSPasteboardTypeString))
}
Output:

test-content

func NSPasteboard_GeneralPasteboard added in v0.0.2

func NSPasteboard_GeneralPasteboard() NSPasteboard

NSPasteboard_GeneralPasteboard is the shared pasteboard object to use for general content. https://developer.apple.com/documentation/appkit/nspasteboard/1530091-generalpasteboard?language=objc

func NSPasteboard_alloc added in v0.2.0

func NSPasteboard_alloc() (
	r0 NSPasteboard,
)

func NSPasteboard_fromPointer added in v0.2.0

func NSPasteboard_fromPointer(ptr unsafe.Pointer) NSPasteboard

func NSPasteboard_fromRef added in v0.2.0

func NSPasteboard_fromRef(ref objc.Ref) NSPasteboard

func NSPasteboard_generalPasteboard added in v0.2.0

func NSPasteboard_generalPasteboard() (
	r0 NSPasteboard,
)

func NSPasteboard_pasteboardByFilteringFile_ added in v0.2.0

func NSPasteboard_pasteboardByFilteringFile_(
	filename core.NSStringRef,
) (
	r0 NSPasteboard,
)

func NSPasteboard_pasteboardByFilteringTypesInPasteboard_ added in v0.2.0

func NSPasteboard_pasteboardByFilteringTypesInPasteboard_(
	pboard NSPasteboardRef,
) (
	r0 NSPasteboard,
)

func NSPasteboard_pasteboardWithUniqueName added in v0.2.0

func NSPasteboard_pasteboardWithUniqueName() (
	r0 NSPasteboard,
)

func (NSPasteboard) AddTypes_owner_ added in v0.2.0

func (x NSPasteboard) AddTypes_owner_(
	newTypes core.NSArrayRef,
	newOwner objc.Ref,
) (
	r0 core.NSInteger,
)

func (NSPasteboard) AvailableTypeFromArray added in v0.0.3

func (pb NSPasteboard) AvailableTypeFromArray(types []NSPasteboardType) NSPasteboardType

AvailableTypeFromArray scans the specified types for a type that the receiver supports. https://developer.apple.com/documentation/appkit/nspasteboard/1526078-availabletypefromarray?language=objc

func (NSPasteboard) CanReadItemWithDataConformingToTypes_ added in v0.2.0

func (x NSPasteboard) CanReadItemWithDataConformingToTypes_(
	types core.NSArrayRef,
) (
	r0 bool,
)

func (NSPasteboard) CanReadObjectForClasses_options_ added in v0.2.0

func (x NSPasteboard) CanReadObjectForClasses_options_(
	classArray core.NSArrayRef,
	options core.NSDictionaryRef,
) (
	r0 bool,
)

func (NSPasteboard) ChangeCount added in v0.2.0

func (x NSPasteboard) ChangeCount() (
	r0 core.NSInteger,
)

func (NSPasteboard) ClearContents added in v0.0.2

func (pb NSPasteboard) ClearContents()

ClearContents clears the existing contents of the pasteboard. https://developer.apple.com/documentation/appkit/nspasteboard/1533599-clearcontents?language=objc

func (NSPasteboard) DataForType added in v0.0.3

func (pb NSPasteboard) DataForType(t NSPasteboardType) core.NSData

DataForType returns the data for the specified type from the first item in the receiver that contains the type. https://developer.apple.com/documentation/appkit/nspasteboard/1531810-datafortype?language=objc

Example
package main

import (
	"github.com/progrium/macdriver/cocoa"
	"io/ioutil"
	"log"
)

func main() {
	// get general pasteboard
	gp := cocoa.NSPasteboard_GeneralPasteboard()
	// check which is the best available type (list all the types you can to handle here)
	pbType := gp.AvailableTypeFromArray([]cocoa.NSPasteboardType{cocoa.NSPasteboardTypePNG, cocoa.NSPasteboardTypeTIFF})
	if pbType == "" {
		// check which types are in the pasteboard right now
		log.Printf("no matching type found. only found: %s \n", gp.Types())
		return
	}
	// fetch data
	data := gp.DataForType(pbType)
	var bs []byte
	// turn into go bytes
	bs = data.Bytes()

	f, err := ioutil.TempFile("", "out-img")
	if err != nil {
		log.Fatalln(err)
	}
	_, err = f.Write(bs)
	if err != nil {
		log.Fatalln(err)
	}
	log.Printf("png written to file: %s\n", f.Name())
}

func (NSPasteboard) DeclareTypes_owner_ added in v0.2.0

func (x NSPasteboard) DeclareTypes_owner_(
	newTypes core.NSArrayRef,
	newOwner objc.Ref,
) (
	r0 core.NSInteger,
)

func (NSPasteboard) Init_asNSPasteboard added in v0.2.0

func (x NSPasteboard) Init_asNSPasteboard() (
	r0 NSPasteboard,
)

func (NSPasteboard) PasteboardItems added in v0.2.0

func (x NSPasteboard) PasteboardItems() (
	r0 core.NSArray,
)

func (NSPasteboard) ReadObjectsForClasses_options_ added in v0.2.0

func (x NSPasteboard) ReadObjectsForClasses_options_(
	classArray core.NSArrayRef,
	options core.NSDictionaryRef,
) (
	r0 core.NSArray,
)

func (NSPasteboard) ReleaseGlobally added in v0.2.0

func (x NSPasteboard) ReleaseGlobally()

func (NSPasteboard) SetStringForType added in v0.0.2

func (pb NSPasteboard) SetStringForType(s string, t NSPasteboardType)

SetStringForType sets the given string as the representation for the specified type for the first item on the receiver. https://developer.apple.com/documentation/appkit/nspasteboard/1528225-setstring?language=objc

func (NSPasteboard) StringForType added in v0.0.2

func (pb NSPasteboard) StringForType(t NSPasteboardType) string

StringForType returns a concatenation of the strings for the specified type from all the items in the receiver that contain the type. https://developer.apple.com/documentation/appkit/nspasteboard/1533566-stringfortype?language=objc

func (NSPasteboard) Types added in v0.0.3

func (pb NSPasteboard) Types() []NSPasteboardType

Types is an array of the receiver’s supported data types. https://developer.apple.com/documentation/appkit/nspasteboard/1529599-types?language=objc

func (NSPasteboard) WriteFileContents_ added in v0.2.0

func (x NSPasteboard) WriteFileContents_(
	filename core.NSStringRef,
) (
	r0 bool,
)

func (NSPasteboard) WriteObjects_ added in v0.2.0

func (x NSPasteboard) WriteObjects_(
	objects core.NSArrayRef,
) (
	r0 bool,
)

type NSPasteboardRef added in v0.2.0

type NSPasteboardRef interface {
	Pointer() uintptr
	Init_asNSPasteboard() NSPasteboard
}

type NSPasteboardType added in v0.0.2

type NSPasteboardType string

The supported pasteboard types. https://developer.apple.com/documentation/appkit/nspasteboardtype?language=objc

type NSPopover added in v0.2.0

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

func NSPopover_Init added in v0.2.0

func NSPopover_Init() NSPopover

func NSPopover_alloc added in v0.2.0

func NSPopover_alloc() (
	r0 NSPopover,
)

func NSPopover_fromPointer added in v0.2.0

func NSPopover_fromPointer(ptr unsafe.Pointer) NSPopover

func NSPopover_fromRef added in v0.2.0

func NSPopover_fromRef(ref objc.Ref) NSPopover

func (NSPopover) Animates added in v0.2.0

func (x NSPopover) Animates() (
	r0 bool,
)

func (NSPopover) Behavior added in v0.2.0

func (x NSPopover) Behavior() (
	r0 core.NSInteger,
)

func (NSPopover) Close added in v0.2.0

func (x NSPopover) Close()

func (NSPopover) ContentSize added in v0.2.0

func (x NSPopover) ContentSize() (
	r0 core.NSSize,
)

func (NSPopover) Init_asNSPopover added in v0.2.0

func (x NSPopover) Init_asNSPopover() (
	r0 NSPopover,
)

func (NSPopover) IsDetached added in v0.2.0

func (x NSPopover) IsDetached() (
	r0 bool,
)

func (NSPopover) IsShown added in v0.2.0

func (x NSPopover) IsShown() (
	r0 bool,
)

func (NSPopover) PerformClose_ added in v0.2.0

func (x NSPopover) PerformClose_(
	sender objc.Ref,
)

func (NSPopover) PositioningRect added in v0.2.0

func (x NSPopover) PositioningRect() (
	r0 core.NSRect,
)

func (NSPopover) SetAnimates added in v0.2.0

func (p NSPopover) SetAnimates(b bool)

func (NSPopover) SetAnimates_ added in v0.2.0

func (x NSPopover) SetAnimates_(
	value bool,
)

func (NSPopover) SetBehavior added in v0.2.0

func (p NSPopover) SetBehavior(b int)

func (NSPopover) SetBehavior_ added in v0.2.0

func (x NSPopover) SetBehavior_(
	value core.NSInteger,
)

func (NSPopover) SetContentSize added in v0.2.0

func (p NSPopover) SetContentSize(s core.NSSize)

func (NSPopover) SetContentSize_ added in v0.2.0

func (x NSPopover) SetContentSize_(
	value core.NSSize,
)

func (NSPopover) SetDelegate added in v0.2.0

func (p NSPopover) SetDelegate(delegate objc.Object)

func (NSPopover) SetPositioningRect_ added in v0.2.0

func (x NSPopover) SetPositioningRect_(
	value core.NSRect,
)

func (NSPopover) SetViewController added in v0.2.0

func (p NSPopover) SetViewController(controller objc.Object)

type NSPopoverRef added in v0.2.0

type NSPopoverRef interface {
	Pointer() uintptr
	Init_asNSPopover() NSPopover
}

type NSScreen

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

func NSScreen_Main

func NSScreen_Main() NSScreen

func NSScreen_Screens added in v0.1.0

func NSScreen_Screens() []NSScreen

func NSScreen_alloc added in v0.2.0

func NSScreen_alloc() (
	r0 NSScreen,
)

func NSScreen_deepestScreen added in v0.2.0

func NSScreen_deepestScreen() (
	r0 NSScreen,
)

func NSScreen_fromPointer added in v0.2.0

func NSScreen_fromPointer(ptr unsafe.Pointer) NSScreen

func NSScreen_fromRef added in v0.2.0

func NSScreen_fromRef(ref objc.Ref) NSScreen

func NSScreen_mainScreen added in v0.2.0

func NSScreen_mainScreen() (
	r0 NSScreen,
)

func (NSScreen) BackingScaleFactor added in v0.2.0

func (x NSScreen) BackingScaleFactor() (
	r0 core.CGFloat,
)

func (NSScreen) ConvertRectFromBacking_ added in v0.2.0

func (x NSScreen) ConvertRectFromBacking_(
	rect core.NSRect,
) (
	r0 core.NSRect,
)

func (NSScreen) ConvertRectToBacking_ added in v0.2.0

func (x NSScreen) ConvertRectToBacking_(
	rect core.NSRect,
) (
	r0 core.NSRect,
)

func (NSScreen) DeviceDescription added in v0.2.0

func (x NSScreen) DeviceDescription() (
	r0 core.NSDictionary,
)

func (NSScreen) Frame

func (x NSScreen) Frame() (
	r0 core.NSRect,
)

func (NSScreen) Init_asNSScreen added in v0.2.0

func (x NSScreen) Init_asNSScreen() (
	r0 NSScreen,
)

func (NSScreen) LocalizedName added in v0.2.0

func (x NSScreen) LocalizedName() (
	r0 core.NSString,
)

func (NSScreen) MaximumExtendedDynamicRangeColorComponentValue added in v0.2.0

func (x NSScreen) MaximumExtendedDynamicRangeColorComponentValue() (
	r0 core.CGFloat,
)

func (NSScreen) MaximumFramesPerSecond added in v0.2.0

func (x NSScreen) MaximumFramesPerSecond() (
	r0 core.NSInteger,
)

func (NSScreen) MaximumPotentialExtendedDynamicRangeColorComponentValue added in v0.2.0

func (x NSScreen) MaximumPotentialExtendedDynamicRangeColorComponentValue() (
	r0 core.CGFloat,
)

func (NSScreen) MaximumReferenceExtendedDynamicRangeColorComponentValue added in v0.2.0

func (x NSScreen) MaximumReferenceExtendedDynamicRangeColorComponentValue() (
	r0 core.CGFloat,
)

func (NSScreen) VisibleFrame added in v0.2.0

func (x NSScreen) VisibleFrame() (
	r0 core.NSRect,
)

type NSScreenRef added in v0.2.0

type NSScreenRef interface {
	Pointer() uintptr
	Init_asNSScreen() NSScreen
}

type NSSound added in v0.3.0

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

func NSSound_InitWithData added in v0.3.0

func NSSound_InitWithData(data core.NSDataRef) NSSound

func NSSound_alloc added in v0.3.0

func NSSound_alloc() (
	r0 NSSound,
)

func NSSound_fromPointer added in v0.3.0

func NSSound_fromPointer(ptr unsafe.Pointer) NSSound

func NSSound_fromRef added in v0.3.0

func NSSound_fromRef(ref objc.Ref) NSSound

func (NSSound) Delegate added in v0.3.0

func (x NSSound) Delegate() (
	r0 objc.Object,
)

func (NSSound) InitWithContentsOfFile_byReference__asNSSound added in v0.3.0

func (x NSSound) InitWithContentsOfFile_byReference__asNSSound(
	path core.NSStringRef,
	byRef bool,
) (
	r0 NSSound,
)

func (NSSound) InitWithContentsOfURL_byReference__asNSSound added in v0.3.0

func (x NSSound) InitWithContentsOfURL_byReference__asNSSound(
	url core.NSURLRef,
	byRef bool,
) (
	r0 NSSound,
)

func (NSSound) InitWithData__asNSSound added in v0.3.0

func (x NSSound) InitWithData__asNSSound(
	data core.NSDataRef,
) (
	r0 NSSound,
)

func (NSSound) InitWithPasteboard__asNSSound added in v0.3.0

func (x NSSound) InitWithPasteboard__asNSSound(
	pasteboard NSPasteboardRef,
) (
	r0 NSSound,
)

func (NSSound) Init_asNSSound added in v0.3.0

func (x NSSound) Init_asNSSound() (
	r0 NSSound,
)

func (NSSound) IsPlaying added in v0.3.0

func (x NSSound) IsPlaying() (
	r0 bool,
)

func (NSSound) Loops added in v0.3.0

func (x NSSound) Loops() (
	r0 bool,
)

func (NSSound) Pause added in v0.3.0

func (sound NSSound) Pause()

func (NSSound) Play added in v0.3.0

func (sound NSSound) Play()

func (NSSound) Resume added in v0.3.0

func (sound NSSound) Resume()

func (NSSound) SetDelegate_ added in v0.3.0

func (x NSSound) SetDelegate_(
	value objc.Ref,
)

func (NSSound) SetLoops_ added in v0.3.0

func (x NSSound) SetLoops_(
	value bool,
)

func (NSSound) Stop added in v0.3.0

func (x NSSound) Stop() (
	r0 bool,
)

func (NSSound) WriteToPasteboard_ added in v0.3.0

func (x NSSound) WriteToPasteboard_(
	pasteboard NSPasteboardRef,
)

type NSSoundRef added in v0.3.0

type NSSoundRef interface {
	Pointer() uintptr
	Init_asNSSound() NSSound
}

type NSStatusBar

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

func NSStatusBar_System

func NSStatusBar_System() NSStatusBar

func NSStatusBar_alloc added in v0.2.0

func NSStatusBar_alloc() (
	r0 NSStatusBar,
)

func NSStatusBar_fromPointer added in v0.2.0

func NSStatusBar_fromPointer(ptr unsafe.Pointer) NSStatusBar

func NSStatusBar_fromRef added in v0.2.0

func NSStatusBar_fromRef(ref objc.Ref) NSStatusBar

func NSStatusBar_systemStatusBar added in v0.2.0

func NSStatusBar_systemStatusBar() (
	r0 NSStatusBar,
)

func (NSStatusBar) Init_asNSStatusBar added in v0.2.0

func (x NSStatusBar) Init_asNSStatusBar() (
	r0 NSStatusBar,
)

func (NSStatusBar) IsVertical added in v0.2.0

func (x NSStatusBar) IsVertical() (
	r0 bool,
)

func (NSStatusBar) RemoveStatusItem

func (sb NSStatusBar) RemoveStatusItem(i NSStatusItemRef)

func (NSStatusBar) RemoveStatusItem_ added in v0.2.0

func (x NSStatusBar) RemoveStatusItem_(
	item NSStatusItemRef,
)

func (NSStatusBar) StatusItemWithLength

func (sb NSStatusBar) StatusItemWithLength(l float64) NSStatusItem

func (NSStatusBar) StatusItemWithLength_ added in v0.2.0

func (x NSStatusBar) StatusItemWithLength_(
	length core.CGFloat,
) (
	r0 NSStatusItem,
)

func (NSStatusBar) Thickness added in v0.2.0

func (x NSStatusBar) Thickness() (
	r0 core.CGFloat,
)

type NSStatusBarButton

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

func NSStatusBarButton_alloc added in v0.2.0

func NSStatusBarButton_alloc() (
	r0 NSStatusBarButton,
)

func NSStatusBarButton_fromPointer added in v0.2.0

func NSStatusBarButton_fromPointer(ptr unsafe.Pointer) NSStatusBarButton

func NSStatusBarButton_fromRef added in v0.2.0

func NSStatusBarButton_fromRef(ref objc.Ref) NSStatusBarButton

func (NSStatusBarButton) AppearsDisabled added in v0.2.0

func (x NSStatusBarButton) AppearsDisabled() (
	r0 bool,
)

func (NSStatusBarButton) ImagePosition

func (b NSStatusBarButton) ImagePosition() int64

func (NSStatusBarButton) Init_asNSStatusBarButton added in v0.2.0

func (x NSStatusBarButton) Init_asNSStatusBarButton() (
	r0 NSStatusBarButton,
)

func (NSStatusBarButton) SetAppearsDisabled_ added in v0.2.0

func (x NSStatusBarButton) SetAppearsDisabled_(
	value bool,
)

func (NSStatusBarButton) SetImage

func (b NSStatusBarButton) SetImage(obj NSImageRef)

func (NSStatusBarButton) SetImagePosition

func (b NSStatusBarButton) SetImagePosition(state int)

func (NSStatusBarButton) SetTitle

func (b NSStatusBarButton) SetTitle(s string)

func (NSStatusBarButton) SetToolTip

func (b NSStatusBarButton) SetToolTip(s string)

func (NSStatusBarButton) Title

func (b NSStatusBarButton) Title() string

func (NSStatusBarButton) ToolTip

func (b NSStatusBarButton) ToolTip() string

type NSStatusBarButtonRef added in v0.2.0

type NSStatusBarButtonRef interface {
	Pointer() uintptr
	Init_asNSStatusBarButton() NSStatusBarButton
}

type NSStatusBarRef added in v0.2.0

type NSStatusBarRef interface {
	Pointer() uintptr
	Init_asNSStatusBar() NSStatusBar
}

type NSStatusItem

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

func NSStatusItem_alloc added in v0.2.0

func NSStatusItem_alloc() (
	r0 NSStatusItem,
)

func NSStatusItem_fromPointer added in v0.2.0

func NSStatusItem_fromPointer(ptr unsafe.Pointer) NSStatusItem

func NSStatusItem_fromRef added in v0.2.0

func NSStatusItem_fromRef(ref objc.Ref) NSStatusItem

func (NSStatusItem) Action

func (i NSStatusItem) Action() objc.Selector

func (NSStatusItem) Button

func (i NSStatusItem) Button() NSStatusBarButton

func (NSStatusItem) Init_asNSStatusItem added in v0.2.0

func (x NSStatusItem) Init_asNSStatusItem() (
	r0 NSStatusItem,
)

func (NSStatusItem) IsVisible added in v0.2.0

func (x NSStatusItem) IsVisible() (
	r0 bool,
)

func (NSStatusItem) Length added in v0.2.0

func (x NSStatusItem) Length() (
	r0 core.CGFloat,
)

func (NSStatusItem) Menu

func (i NSStatusItem) Menu() NSMenu

func (NSStatusItem) SetAction

func (i NSStatusItem) SetAction(sel objc.Selector)

func (NSStatusItem) SetLength_ added in v0.2.0

func (x NSStatusItem) SetLength_(
	value core.CGFloat,
)

func (NSStatusItem) SetMenu

func (i NSStatusItem) SetMenu(menu NSMenu)

func (NSStatusItem) SetMenu_ added in v0.2.0

func (x NSStatusItem) SetMenu_(
	value NSMenuRef,
)

func (NSStatusItem) SetTarget

func (i NSStatusItem) SetTarget(obj objc.Object)

func (NSStatusItem) SetVisible_ added in v0.2.0

func (x NSStatusItem) SetVisible_(
	value bool,
)

func (NSStatusItem) StatusBar added in v0.2.0

func (x NSStatusItem) StatusBar() (
	r0 NSStatusBar,
)

func (NSStatusItem) Target

func (i NSStatusItem) Target() objc.Object

type NSStatusItemRef added in v0.2.0

type NSStatusItemRef interface {
	Pointer() uintptr
	Init_asNSStatusItem() NSStatusItem
}

type NSText added in v0.2.0

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

func NSText_alloc added in v0.2.0

func NSText_alloc() (
	r0 NSText,
)

func NSText_fromPointer added in v0.2.0

func NSText_fromPointer(ptr unsafe.Pointer) NSText

func NSText_fromRef added in v0.2.0

func NSText_fromRef(ref objc.Ref) NSText

func (NSText) AlignCenter_ added in v0.2.0

func (x NSText) AlignCenter_(
	sender objc.Ref,
)

func (NSText) AlignLeft_ added in v0.2.0

func (x NSText) AlignLeft_(
	sender objc.Ref,
)

func (NSText) AlignRight_ added in v0.2.0

func (x NSText) AlignRight_(
	sender objc.Ref,
)

func (NSText) BackgroundColor added in v0.2.0

func (x NSText) BackgroundColor() (
	r0 NSColor,
)

func (NSText) ChangeFont_ added in v0.2.0

func (x NSText) ChangeFont_(
	sender objc.Ref,
)

func (NSText) CheckSpelling_ added in v0.2.0

func (x NSText) CheckSpelling_(
	sender objc.Ref,
)

func (NSText) CopyFont_ added in v0.2.0

func (x NSText) CopyFont_(
	sender objc.Ref,
)

func (NSText) CopyRuler_ added in v0.2.0

func (x NSText) CopyRuler_(
	sender objc.Ref,
)

func (NSText) Copy_ added in v0.2.0

func (x NSText) Copy_(
	sender objc.Ref,
)

func (NSText) Cut_ added in v0.2.0

func (x NSText) Cut_(
	sender objc.Ref,
)

func (NSText) Delegate added in v0.2.0

func (x NSText) Delegate() (
	r0 objc.Object,
)

func (NSText) Delete_ added in v0.2.0

func (x NSText) Delete_(
	sender objc.Ref,
)

func (NSText) DrawsBackground added in v0.2.0

func (x NSText) DrawsBackground() (
	r0 bool,
)

func (NSText) Font added in v0.2.0

func (x NSText) Font() (
	r0 NSFont,
)

func (NSText) ImportsGraphics added in v0.2.0

func (x NSText) ImportsGraphics() (
	r0 bool,
)

func (NSText) InitWithFrame__asNSText added in v0.2.0

func (x NSText) InitWithFrame__asNSText(
	frameRect core.NSRect,
) (
	r0 NSText,
)

func (NSText) Init_asNSText added in v0.2.0

func (x NSText) Init_asNSText() (
	r0 NSText,
)

func (NSText) IsEditable added in v0.2.0

func (x NSText) IsEditable() (
	r0 bool,
)

func (NSText) IsFieldEditor added in v0.2.0

func (x NSText) IsFieldEditor() (
	r0 bool,
)

func (NSText) IsHorizontallyResizable added in v0.2.0

func (x NSText) IsHorizontallyResizable() (
	r0 bool,
)

func (NSText) IsRichText added in v0.2.0

func (x NSText) IsRichText() (
	r0 bool,
)

func (NSText) IsRulerVisible added in v0.2.0

func (x NSText) IsRulerVisible() (
	r0 bool,
)

func (NSText) IsSelectable added in v0.2.0

func (x NSText) IsSelectable() (
	r0 bool,
)

func (NSText) IsVerticallyResizable added in v0.2.0

func (x NSText) IsVerticallyResizable() (
	r0 bool,
)

func (NSText) MaxSize added in v0.2.0

func (x NSText) MaxSize() (
	r0 core.NSSize,
)

func (NSText) MinSize added in v0.2.0

func (x NSText) MinSize() (
	r0 core.NSSize,
)

func (NSText) PasteFont_ added in v0.2.0

func (x NSText) PasteFont_(
	sender objc.Ref,
)

func (NSText) PasteRuler_ added in v0.2.0

func (x NSText) PasteRuler_(
	sender objc.Ref,
)

func (NSText) Paste_ added in v0.2.0

func (x NSText) Paste_(
	sender objc.Ref,
)

func (NSText) ReadRTFDFromFile_ added in v0.2.0

func (x NSText) ReadRTFDFromFile_(
	path core.NSStringRef,
) (
	r0 bool,
)

func (NSText) SelectAll_ added in v0.2.0

func (x NSText) SelectAll_(
	sender objc.Ref,
)

func (NSText) SetBackgroundColor_ added in v0.2.0

func (x NSText) SetBackgroundColor_(
	value NSColorRef,
)

func (NSText) SetDelegate_ added in v0.2.0

func (x NSText) SetDelegate_(
	value objc.Ref,
)

func (NSText) SetDrawsBackground_ added in v0.2.0

func (x NSText) SetDrawsBackground_(
	value bool,
)

func (NSText) SetEditable_ added in v0.2.0

func (x NSText) SetEditable_(
	value bool,
)

func (NSText) SetFieldEditor_ added in v0.2.0

func (x NSText) SetFieldEditor_(
	value bool,
)

func (NSText) SetFont_ added in v0.2.0

func (x NSText) SetFont_(
	value NSFontRef,
)

func (NSText) SetHorizontallyResizable_ added in v0.2.0

func (x NSText) SetHorizontallyResizable_(
	value bool,
)

func (NSText) SetImportsGraphics_ added in v0.2.0

func (x NSText) SetImportsGraphics_(
	value bool,
)

func (NSText) SetMaxSize_ added in v0.2.0

func (x NSText) SetMaxSize_(
	value core.NSSize,
)

func (NSText) SetMinSize_ added in v0.2.0

func (x NSText) SetMinSize_(
	value core.NSSize,
)

func (NSText) SetRichText_ added in v0.2.0

func (x NSText) SetRichText_(
	value bool,
)

func (NSText) SetSelectable_ added in v0.2.0

func (x NSText) SetSelectable_(
	value bool,
)

func (NSText) SetString_ added in v0.2.0

func (x NSText) SetString_(
	value core.NSStringRef,
)

func (NSText) SetTextColor_ added in v0.2.0

func (x NSText) SetTextColor_(
	value NSColorRef,
)

func (NSText) SetUsesFontPanel_ added in v0.2.0

func (x NSText) SetUsesFontPanel_(
	value bool,
)

func (NSText) SetVerticallyResizable_ added in v0.2.0

func (x NSText) SetVerticallyResizable_(
	value bool,
)

func (NSText) ShowGuessPanel_ added in v0.2.0

func (x NSText) ShowGuessPanel_(
	sender objc.Ref,
)

func (NSText) SizeToFit added in v0.2.0

func (x NSText) SizeToFit()

func (NSText) String added in v0.2.0

func (x NSText) String() (
	r0 core.NSString,
)

func (NSText) Subscript_ added in v0.2.0

func (x NSText) Subscript_(
	sender objc.Ref,
)

func (NSText) Superscript_ added in v0.2.0

func (x NSText) Superscript_(
	sender objc.Ref,
)

func (NSText) TextColor added in v0.2.0

func (x NSText) TextColor() (
	r0 NSColor,
)

func (NSText) ToggleRuler_ added in v0.2.0

func (x NSText) ToggleRuler_(
	sender objc.Ref,
)

func (NSText) Underline_ added in v0.2.0

func (x NSText) Underline_(
	sender objc.Ref,
)

func (NSText) Unscript_ added in v0.2.0

func (x NSText) Unscript_(
	sender objc.Ref,
)

func (NSText) UsesFontPanel added in v0.2.0

func (x NSText) UsesFontPanel() (
	r0 bool,
)

func (NSText) WriteRTFDToFile_atomically_ added in v0.2.0

func (x NSText) WriteRTFDToFile_atomically_(
	path core.NSStringRef,
	flag bool,
) (
	r0 bool,
)

type NSTextAlignment

type NSTextAlignment uint
const (
	NSTextAlignmentLeft      NSTextAlignment = 0
	NSTextAlignmentRight     NSTextAlignment = 1
	NSTextAlignmentCenter    NSTextAlignment = 2
	NSTextAlignmentJustified NSTextAlignment = 3
	NSTextAlignmentNatural   NSTextAlignment = 4
)

type NSTextContainer

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

func NSTextContainer_alloc added in v0.2.0

func NSTextContainer_alloc() (
	r0 NSTextContainer,
)

func NSTextContainer_fromPointer added in v0.2.0

func NSTextContainer_fromPointer(ptr unsafe.Pointer) NSTextContainer

func NSTextContainer_fromRef added in v0.2.0

func NSTextContainer_fromRef(ref objc.Ref) NSTextContainer

func (NSTextContainer) ExclusionPaths added in v0.2.0

func (x NSTextContainer) ExclusionPaths() (
	r0 core.NSArray,
)

func (NSTextContainer) HeightTracksTextView

func (x NSTextContainer) HeightTracksTextView() (
	r0 bool,
)

func (NSTextContainer) InitWithSize__asNSTextContainer added in v0.2.0

func (x NSTextContainer) InitWithSize__asNSTextContainer(
	size core.NSSize,
) (
	r0 NSTextContainer,
)

func (NSTextContainer) Init_asNSTextContainer added in v0.2.0

func (x NSTextContainer) Init_asNSTextContainer() (
	r0 NSTextContainer,
)

func (NSTextContainer) IsSimpleRectangularTextContainer added in v0.2.0

func (x NSTextContainer) IsSimpleRectangularTextContainer() (
	r0 bool,
)

func (NSTextContainer) LayoutManager added in v0.2.0

func (x NSTextContainer) LayoutManager() (
	r0 NSLayoutManager,
)

func (NSTextContainer) LineFragmentPadding added in v0.2.0

func (x NSTextContainer) LineFragmentPadding() (
	r0 core.CGFloat,
)

func (NSTextContainer) MaximumNumberOfLines added in v0.2.0

func (x NSTextContainer) MaximumNumberOfLines() (
	r0 core.NSUInteger,
)

func (NSTextContainer) ReplaceLayoutManager_ added in v0.2.0

func (x NSTextContainer) ReplaceLayoutManager_(
	newLayoutManager NSLayoutManagerRef,
)

func (NSTextContainer) SetExclusionPaths_ added in v0.2.0

func (x NSTextContainer) SetExclusionPaths_(
	value core.NSArrayRef,
)

func (NSTextContainer) SetHeightTracksTextView

func (tc NSTextContainer) SetHeightTracksTextView(b bool)

func (NSTextContainer) SetHeightTracksTextView_ added in v0.2.0

func (x NSTextContainer) SetHeightTracksTextView_(
	value bool,
)

func (NSTextContainer) SetLayoutManager_ added in v0.2.0

func (x NSTextContainer) SetLayoutManager_(
	value NSLayoutManagerRef,
)

func (NSTextContainer) SetLineFragmentPadding_ added in v0.2.0

func (x NSTextContainer) SetLineFragmentPadding_(
	value core.CGFloat,
)

func (NSTextContainer) SetMaximumNumberOfLines_ added in v0.2.0

func (x NSTextContainer) SetMaximumNumberOfLines_(
	value core.NSUInteger,
)

func (NSTextContainer) SetSize_ added in v0.2.0

func (x NSTextContainer) SetSize_(
	value core.NSSize,
)

func (NSTextContainer) SetTextView_ added in v0.2.0

func (x NSTextContainer) SetTextView_(
	value NSTextViewRef,
)

func (NSTextContainer) SetWidthTracksTextView_ added in v0.2.0

func (x NSTextContainer) SetWidthTracksTextView_(
	value bool,
)

func (NSTextContainer) Size

func (x NSTextContainer) Size() (
	r0 core.NSSize,
)

func (NSTextContainer) TextView added in v0.2.0

func (x NSTextContainer) TextView() (
	r0 NSTextView,
)

func (NSTextContainer) WidthTracksTextView added in v0.2.0

func (x NSTextContainer) WidthTracksTextView() (
	r0 bool,
)

type NSTextContainerRef added in v0.2.0

type NSTextContainerRef interface {
	Pointer() uintptr
	Init_asNSTextContainer() NSTextContainer
}

type NSTextRef added in v0.2.0

type NSTextRef interface {
	Pointer() uintptr
	Init_asNSText() NSText
}

type NSTextView

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

func NSTextView_Init

func NSTextView_Init(frame core.NSRect) NSTextView

func NSTextView_alloc added in v0.2.0

func NSTextView_alloc() (
	r0 NSTextView,
)

func NSTextView_fieldEditor added in v0.2.0

func NSTextView_fieldEditor() (
	r0 NSTextView,
)

func NSTextView_fromPointer added in v0.2.0

func NSTextView_fromPointer(ptr unsafe.Pointer) NSTextView

func NSTextView_fromRef added in v0.2.0

func NSTextView_fromRef(ref objc.Ref) NSTextView

func (NSTextView) AcceptableDragTypes added in v0.2.0

func (x NSTextView) AcceptableDragTypes() (
	r0 core.NSArray,
)

func (NSTextView) AcceptsGlyphInfo added in v0.2.0

func (x NSTextView) AcceptsGlyphInfo() (
	r0 bool,
)

func (NSTextView) AlignJustified_ added in v0.2.0

func (x NSTextView) AlignJustified_(
	sender objc.Ref,
)

func (NSTextView) Alignment

func (v NSTextView) Alignment() NSTextAlignment

TODO(mgood): once `NSTextAlignment` is defined in the schema we can use the generated methods on the `NSText` parent class here

func (NSTextView) AllowedInputSourceLocales added in v0.2.0

func (x NSTextView) AllowedInputSourceLocales() (
	r0 core.NSArray,
)

func (NSTextView) AllowsCharacterPickerTouchBarItem added in v0.2.0

func (x NSTextView) AllowsCharacterPickerTouchBarItem() (
	r0 bool,
)

func (NSTextView) AllowsDocumentBackgroundColorChange added in v0.2.0

func (x NSTextView) AllowsDocumentBackgroundColorChange() (
	r0 bool,
)

func (NSTextView) AllowsImageEditing added in v0.2.0

func (x NSTextView) AllowsImageEditing() (
	r0 bool,
)

func (NSTextView) AllowsUndo added in v0.2.0

func (x NSTextView) AllowsUndo() (
	r0 bool,
)

func (NSTextView) BackgroundColor added in v0.2.0

func (x NSTextView) BackgroundColor() (
	r0 NSColor,
)

func (NSTextView) BreakUndoCoalescing added in v0.2.0

func (x NSTextView) BreakUndoCoalescing()

func (NSTextView) ChangeAttributes_ added in v0.2.0

func (x NSTextView) ChangeAttributes_(
	sender objc.Ref,
)

func (NSTextView) ChangeColor_ added in v0.2.0

func (x NSTextView) ChangeColor_(
	sender objc.Ref,
)

func (NSTextView) ChangeDocumentBackgroundColor_ added in v0.2.0

func (x NSTextView) ChangeDocumentBackgroundColor_(
	sender objc.Ref,
)

func (NSTextView) ChangeLayoutOrientation_ added in v0.2.0

func (x NSTextView) ChangeLayoutOrientation_(
	sender objc.Ref,
)

func (NSTextView) CharacterIndexForInsertionAtPoint_ added in v0.2.0

func (x NSTextView) CharacterIndexForInsertionAtPoint_(
	point core.NSPoint,
) (
	r0 core.NSUInteger,
)

func (NSTextView) CheckTextInDocument_ added in v0.2.0

func (x NSTextView) CheckTextInDocument_(
	sender objc.Ref,
)

func (NSTextView) CheckTextInSelection_ added in v0.2.0

func (x NSTextView) CheckTextInSelection_(
	sender objc.Ref,
)

func (NSTextView) CleanUpAfterDragOperation added in v0.2.0

func (x NSTextView) CleanUpAfterDragOperation()
func (x NSTextView) ClickedOnLink_atIndex_(
	link objc.Ref,
	charIndex core.NSUInteger,
)

func (NSTextView) Complete_ added in v0.2.0

func (x NSTextView) Complete_(
	sender objc.Ref,
)

func (NSTextView) Delegate added in v0.2.0

func (x NSTextView) Delegate() (
	r0 objc.Object,
)

func (NSTextView) DidChangeText added in v0.2.0

func (x NSTextView) DidChangeText()

func (NSTextView) DisplaysLinkToolTips added in v0.2.0

func (x NSTextView) DisplaysLinkToolTips() (
	r0 bool,
)

func (NSTextView) DragSelectionWithEvent_offset_slideBack_ added in v0.2.0

func (x NSTextView) DragSelectionWithEvent_offset_slideBack_(
	event NSEventRef,
	mouseOffset core.NSSize,
	slideBack bool,
) (
	r0 bool,
)

func (NSTextView) DrawInsertionPointInRect_color_turnedOn_ added in v0.2.0

func (x NSTextView) DrawInsertionPointInRect_color_turnedOn_(
	rect core.NSRect,
	color NSColorRef,
	flag bool,
)

func (NSTextView) DrawViewBackgroundInRect_ added in v0.2.0

func (x NSTextView) DrawViewBackgroundInRect_(
	rect core.NSRect,
)

func (NSTextView) DrawsBackground

func (x NSTextView) DrawsBackground() (
	r0 bool,
)

func (NSTextView) Editable

func (v NSTextView) Editable() bool

func (NSTextView) FieldEditor

func (v NSTextView) FieldEditor() bool

func (NSTextView) Font

func (x NSTextView) Font() (
	r0 NSFont,
)

func (NSTextView) ImportsGraphics

func (x NSTextView) ImportsGraphics() (
	r0 bool,
)

func (NSTextView) InitWithFrame__asNSTextView added in v0.2.0

func (x NSTextView) InitWithFrame__asNSTextView(
	frameRect core.NSRect,
) (
	r0 NSTextView,
)

func (NSTextView) InitWithFrame_textContainer__asNSTextView added in v0.2.0

func (x NSTextView) InitWithFrame_textContainer__asNSTextView(
	frameRect core.NSRect,
	container NSTextContainerRef,
) (
	r0 NSTextView,
)

func (NSTextView) Init_asNSTextView added in v0.2.0

func (x NSTextView) Init_asNSTextView() (
	r0 NSTextView,
)

func (NSTextView) InsertionPointColor added in v0.2.0

func (x NSTextView) InsertionPointColor() (
	r0 NSColor,
)

func (NSTextView) InvalidateTextContainerOrigin added in v0.2.0

func (x NSTextView) InvalidateTextContainerOrigin()

func (NSTextView) IsAutomaticDashSubstitutionEnabled added in v0.2.0

func (x NSTextView) IsAutomaticDashSubstitutionEnabled() (
	r0 bool,
)

func (NSTextView) IsAutomaticDataDetectionEnabled added in v0.2.0

func (x NSTextView) IsAutomaticDataDetectionEnabled() (
	r0 bool,
)

func (NSTextView) IsAutomaticLinkDetectionEnabled added in v0.2.0

func (x NSTextView) IsAutomaticLinkDetectionEnabled() (
	r0 bool,
)

func (NSTextView) IsAutomaticQuoteSubstitutionEnabled added in v0.2.0

func (x NSTextView) IsAutomaticQuoteSubstitutionEnabled() (
	r0 bool,
)

func (NSTextView) IsAutomaticSpellingCorrectionEnabled added in v0.2.0

func (x NSTextView) IsAutomaticSpellingCorrectionEnabled() (
	r0 bool,
)

func (NSTextView) IsAutomaticTextCompletionEnabled added in v0.2.0

func (x NSTextView) IsAutomaticTextCompletionEnabled() (
	r0 bool,
)

func (NSTextView) IsAutomaticTextReplacementEnabled added in v0.2.0

func (x NSTextView) IsAutomaticTextReplacementEnabled() (
	r0 bool,
)

func (NSTextView) IsCoalescingUndo added in v0.2.0

func (x NSTextView) IsCoalescingUndo() (
	r0 bool,
)

func (NSTextView) IsContinuousSpellCheckingEnabled added in v0.2.0

func (x NSTextView) IsContinuousSpellCheckingEnabled() (
	r0 bool,
)

func (NSTextView) IsEditable added in v0.2.0

func (x NSTextView) IsEditable() (
	r0 bool,
)

func (NSTextView) IsFieldEditor added in v0.2.0

func (x NSTextView) IsFieldEditor() (
	r0 bool,
)

func (NSTextView) IsGrammarCheckingEnabled added in v0.2.0

func (x NSTextView) IsGrammarCheckingEnabled() (
	r0 bool,
)

func (NSTextView) IsIncrementalSearchingEnabled added in v0.2.0

func (x NSTextView) IsIncrementalSearchingEnabled() (
	r0 bool,
)

func (NSTextView) IsRichText added in v0.2.0

func (x NSTextView) IsRichText() (
	r0 bool,
)

func (NSTextView) IsRulerVisible added in v0.2.0

func (x NSTextView) IsRulerVisible() (
	r0 bool,
)

func (NSTextView) IsSelectable added in v0.2.0

func (x NSTextView) IsSelectable() (
	r0 bool,
)

func (NSTextView) LayoutManager

func (x NSTextView) LayoutManager() (
	r0 NSLayoutManager,
)

func (NSTextView) LinkTextAttributes added in v0.2.0

func (x NSTextView) LinkTextAttributes() (
	r0 core.NSDictionary,
)

func (NSTextView) LoosenKerning_ added in v0.2.0

func (x NSTextView) LoosenKerning_(
	sender objc.Ref,
)

func (NSTextView) LowerBaseline_ added in v0.2.0

func (x NSTextView) LowerBaseline_(
	sender objc.Ref,
)

func (NSTextView) MarkedTextAttributes added in v0.2.0

func (x NSTextView) MarkedTextAttributes() (
	r0 core.NSDictionary,
)

func (NSTextView) OrderFrontLinkPanel_ added in v0.2.0

func (x NSTextView) OrderFrontLinkPanel_(
	sender objc.Ref,
)

func (NSTextView) OrderFrontListPanel_ added in v0.2.0

func (x NSTextView) OrderFrontListPanel_(
	sender objc.Ref,
)

func (NSTextView) OrderFrontSharingServicePicker_ added in v0.2.0

func (x NSTextView) OrderFrontSharingServicePicker_(
	sender objc.Ref,
)

func (NSTextView) OrderFrontSpacingPanel_ added in v0.2.0

func (x NSTextView) OrderFrontSpacingPanel_(
	sender objc.Ref,
)

func (NSTextView) OrderFrontSubstitutionsPanel_ added in v0.2.0

func (x NSTextView) OrderFrontSubstitutionsPanel_(
	sender objc.Ref,
)

func (NSTextView) OrderFrontTablePanel_ added in v0.2.0

func (x NSTextView) OrderFrontTablePanel_(
	sender objc.Ref,
)

func (NSTextView) Outline_ added in v0.2.0

func (x NSTextView) Outline_(
	sender objc.Ref,
)

func (NSTextView) PasteAsPlainText_ added in v0.2.0

func (x NSTextView) PasteAsPlainText_(
	sender objc.Ref,
)

func (NSTextView) PasteAsRichText_ added in v0.2.0

func (x NSTextView) PasteAsRichText_(
	sender objc.Ref,
)

func (NSTextView) PerformFindPanelAction_ added in v0.2.0

func (x NSTextView) PerformFindPanelAction_(
	sender objc.Ref,
)

func (NSTextView) QuickLookPreviewableItemsInRanges_ added in v0.2.0

func (x NSTextView) QuickLookPreviewableItemsInRanges_(
	ranges core.NSArrayRef,
) (
	r0 core.NSArray,
)

func (NSTextView) RaiseBaseline_ added in v0.2.0

func (x NSTextView) RaiseBaseline_(
	sender objc.Ref,
)

func (NSTextView) RangesForUserCharacterAttributeChange added in v0.2.0

func (x NSTextView) RangesForUserCharacterAttributeChange() (
	r0 core.NSArray,
)

func (NSTextView) RangesForUserParagraphAttributeChange added in v0.2.0

func (x NSTextView) RangesForUserParagraphAttributeChange() (
	r0 core.NSArray,
)

func (NSTextView) RangesForUserTextChange added in v0.2.0

func (x NSTextView) RangesForUserTextChange() (
	r0 core.NSArray,
)

func (NSTextView) ReadSelectionFromPasteboard_ added in v0.2.0

func (x NSTextView) ReadSelectionFromPasteboard_(
	pboard NSPasteboardRef,
) (
	r0 bool,
)

func (NSTextView) ReadablePasteboardTypes added in v0.2.0

func (x NSTextView) ReadablePasteboardTypes() (
	r0 core.NSArray,
)

func (NSTextView) ReplaceTextContainer_ added in v0.2.0

func (x NSTextView) ReplaceTextContainer_(
	newContainer NSTextContainerRef,
)

func (NSTextView) RichText

func (v NSTextView) RichText() bool

func (NSTextView) Selectable

func (v NSTextView) Selectable() bool

func (NSTextView) SelectedRanges added in v0.2.0

func (x NSTextView) SelectedRanges() (
	r0 core.NSArray,
)

func (NSTextView) SelectedTextAttributes added in v0.2.0

func (x NSTextView) SelectedTextAttributes() (
	r0 core.NSDictionary,
)

func (NSTextView) SetAcceptsGlyphInfo_ added in v0.2.0

func (x NSTextView) SetAcceptsGlyphInfo_(
	value bool,
)

func (NSTextView) SetAlignment

func (v NSTextView) SetAlignment(d NSTextAlignment)

func (NSTextView) SetAllowedInputSourceLocales_ added in v0.2.0

func (x NSTextView) SetAllowedInputSourceLocales_(
	value core.NSArrayRef,
)

func (NSTextView) SetAllowsCharacterPickerTouchBarItem_ added in v0.2.0

func (x NSTextView) SetAllowsCharacterPickerTouchBarItem_(
	value bool,
)

func (NSTextView) SetAllowsDocumentBackgroundColorChange_ added in v0.2.0

func (x NSTextView) SetAllowsDocumentBackgroundColorChange_(
	value bool,
)

func (NSTextView) SetAllowsImageEditing_ added in v0.2.0

func (x NSTextView) SetAllowsImageEditing_(
	value bool,
)

func (NSTextView) SetAllowsUndo_ added in v0.2.0

func (x NSTextView) SetAllowsUndo_(
	value bool,
)

func (NSTextView) SetAutomaticDashSubstitutionEnabled_ added in v0.2.0

func (x NSTextView) SetAutomaticDashSubstitutionEnabled_(
	value bool,
)

func (NSTextView) SetAutomaticDataDetectionEnabled_ added in v0.2.0

func (x NSTextView) SetAutomaticDataDetectionEnabled_(
	value bool,
)

func (NSTextView) SetAutomaticLinkDetectionEnabled_ added in v0.2.0

func (x NSTextView) SetAutomaticLinkDetectionEnabled_(
	value bool,
)

func (NSTextView) SetAutomaticQuoteSubstitutionEnabled_ added in v0.2.0

func (x NSTextView) SetAutomaticQuoteSubstitutionEnabled_(
	value bool,
)

func (NSTextView) SetAutomaticSpellingCorrectionEnabled_ added in v0.2.0

func (x NSTextView) SetAutomaticSpellingCorrectionEnabled_(
	value bool,
)

func (NSTextView) SetAutomaticTextCompletionEnabled_ added in v0.2.0

func (x NSTextView) SetAutomaticTextCompletionEnabled_(
	value bool,
)

func (NSTextView) SetAutomaticTextReplacementEnabled_ added in v0.2.0

func (x NSTextView) SetAutomaticTextReplacementEnabled_(
	value bool,
)

func (NSTextView) SetBackgroundColor_ added in v0.2.0

func (x NSTextView) SetBackgroundColor_(
	value NSColorRef,
)

func (NSTextView) SetConstrainedFrameSize_ added in v0.2.0

func (x NSTextView) SetConstrainedFrameSize_(
	desiredSize core.NSSize,
)

func (NSTextView) SetContinuousSpellCheckingEnabled_ added in v0.2.0

func (x NSTextView) SetContinuousSpellCheckingEnabled_(
	value bool,
)

func (NSTextView) SetDelegate_ added in v0.2.0

func (x NSTextView) SetDelegate_(
	value objc.Ref,
)

func (NSTextView) SetDisplaysLinkToolTips_ added in v0.2.0

func (x NSTextView) SetDisplaysLinkToolTips_(
	value bool,
)

func (NSTextView) SetDrawsBackground

func (v NSTextView) SetDrawsBackground(b bool)

func (NSTextView) SetDrawsBackground_ added in v0.2.0

func (x NSTextView) SetDrawsBackground_(
	value bool,
)

func (NSTextView) SetEditable

func (v NSTextView) SetEditable(b bool)

func (NSTextView) SetEditable_ added in v0.2.0

func (x NSTextView) SetEditable_(
	value bool,
)

func (NSTextView) SetFieldEditor

func (v NSTextView) SetFieldEditor(b bool)

func (NSTextView) SetFieldEditor_ added in v0.2.0

func (x NSTextView) SetFieldEditor_(
	value bool,
)

func (NSTextView) SetFont

func (v NSTextView) SetFont(f NSFont)

func (NSTextView) SetFont_ added in v0.2.0

func (x NSTextView) SetFont_(
	value NSFontRef,
)

func (NSTextView) SetGrammarCheckingEnabled_ added in v0.2.0

func (x NSTextView) SetGrammarCheckingEnabled_(
	value bool,
)

func (NSTextView) SetImportsGraphics

func (v NSTextView) SetImportsGraphics(b bool)

func (NSTextView) SetImportsGraphics_ added in v0.2.0

func (x NSTextView) SetImportsGraphics_(
	value bool,
)

func (NSTextView) SetIncrementalSearchingEnabled_ added in v0.2.0

func (x NSTextView) SetIncrementalSearchingEnabled_(
	value bool,
)

func (NSTextView) SetInsertionPointColor_ added in v0.2.0

func (x NSTextView) SetInsertionPointColor_(
	value NSColorRef,
)

func (NSTextView) SetLinkTextAttributes_ added in v0.2.0

func (x NSTextView) SetLinkTextAttributes_(
	value core.NSDictionaryRef,
)

func (NSTextView) SetMarkedTextAttributes_ added in v0.2.0

func (x NSTextView) SetMarkedTextAttributes_(
	value core.NSDictionaryRef,
)

func (NSTextView) SetNeedsDisplayInRect_avoidAdditionalLayout_ added in v0.2.0

func (x NSTextView) SetNeedsDisplayInRect_avoidAdditionalLayout_(
	rect core.NSRect,
	flag bool,
)

func (NSTextView) SetRichText

func (v NSTextView) SetRichText(b bool)

func (NSTextView) SetRichText_ added in v0.2.0

func (x NSTextView) SetRichText_(
	value bool,
)

func (NSTextView) SetRulerVisible_ added in v0.2.0

func (x NSTextView) SetRulerVisible_(
	value bool,
)

func (NSTextView) SetSelectable

func (v NSTextView) SetSelectable(b bool)

func (NSTextView) SetSelectable_ added in v0.2.0

func (x NSTextView) SetSelectable_(
	value bool,
)

func (NSTextView) SetSelectedRanges_ added in v0.2.0

func (x NSTextView) SetSelectedRanges_(
	value core.NSArrayRef,
)

func (NSTextView) SetSelectedTextAttributes_ added in v0.2.0

func (x NSTextView) SetSelectedTextAttributes_(
	value core.NSDictionaryRef,
)

func (NSTextView) SetSmartInsertDeleteEnabled_ added in v0.2.0

func (x NSTextView) SetSmartInsertDeleteEnabled_(
	value bool,
)

func (NSTextView) SetString

func (v NSTextView) SetString(s string)

func (NSTextView) SetTextColor added in v0.1.0

func (v NSTextView) SetTextColor(c NSColorRef)

func (NSTextView) SetTextContainer

func (v NSTextView) SetTextContainer(tc NSTextContainer)

func (NSTextView) SetTextContainerInset_ added in v0.2.0

func (x NSTextView) SetTextContainerInset_(
	value core.NSSize,
)

func (NSTextView) SetTextContainer_ added in v0.2.0

func (x NSTextView) SetTextContainer_(
	value NSTextContainerRef,
)

func (NSTextView) SetTypingAttributes_ added in v0.2.0

func (x NSTextView) SetTypingAttributes_(
	value core.NSDictionaryRef,
)

func (NSTextView) SetUsesAdaptiveColorMappingForDarkAppearance_ added in v0.2.0

func (x NSTextView) SetUsesAdaptiveColorMappingForDarkAppearance_(
	value bool,
)

func (NSTextView) SetUsesFindBar_ added in v0.2.0

func (x NSTextView) SetUsesFindBar_(
	value bool,
)

func (NSTextView) SetUsesFindPanel_ added in v0.2.0

func (x NSTextView) SetUsesFindPanel_(
	value bool,
)

func (NSTextView) SetUsesFontPanel_ added in v0.2.0

func (x NSTextView) SetUsesFontPanel_(
	value bool,
)

func (NSTextView) SetUsesInspectorBar_ added in v0.2.0

func (x NSTextView) SetUsesInspectorBar_(
	value bool,
)

func (NSTextView) SetUsesRolloverButtonForSelection_ added in v0.2.0

func (x NSTextView) SetUsesRolloverButtonForSelection_(
	value bool,
)

func (NSTextView) SetUsesRuler_ added in v0.2.0

func (x NSTextView) SetUsesRuler_(
	value bool,
)

func (NSTextView) ShouldChangeTextInRanges_replacementStrings_ added in v0.2.0

func (x NSTextView) ShouldChangeTextInRanges_replacementStrings_(
	affectedRanges core.NSArrayRef,
	replacementStrings core.NSArrayRef,
) (
	r0 bool,
)

func (NSTextView) ShouldDrawInsertionPoint added in v0.2.0

func (x NSTextView) ShouldDrawInsertionPoint() (
	r0 bool,
)

func (NSTextView) SmartInsertDeleteEnabled added in v0.2.0

func (x NSTextView) SmartInsertDeleteEnabled() (
	r0 bool,
)

func (NSTextView) SpellCheckerDocumentTag added in v0.2.0

func (x NSTextView) SpellCheckerDocumentTag() (
	r0 core.NSInteger,
)

func (NSTextView) StartSpeaking_ added in v0.2.0

func (x NSTextView) StartSpeaking_(
	sender objc.Ref,
)

func (NSTextView) StopSpeaking_ added in v0.2.0

func (x NSTextView) StopSpeaking_(
	sender objc.Ref,
)

func (NSTextView) String

func (v NSTextView) String() string

func (NSTextView) TextContainer

func (x NSTextView) TextContainer() (
	r0 NSTextContainer,
)

func (NSTextView) TextContainerInset added in v0.2.0

func (x NSTextView) TextContainerInset() (
	r0 core.NSSize,
)

func (NSTextView) TextContainerOrigin added in v0.2.0

func (x NSTextView) TextContainerOrigin() (
	r0 core.NSPoint,
)

func (NSTextView) TightenKerning_ added in v0.2.0

func (x NSTextView) TightenKerning_(
	sender objc.Ref,
)

func (NSTextView) ToggleAutomaticDashSubstitution_ added in v0.2.0

func (x NSTextView) ToggleAutomaticDashSubstitution_(
	sender objc.Ref,
)

func (NSTextView) ToggleAutomaticDataDetection_ added in v0.2.0

func (x NSTextView) ToggleAutomaticDataDetection_(
	sender objc.Ref,
)

func (NSTextView) ToggleAutomaticLinkDetection_ added in v0.2.0

func (x NSTextView) ToggleAutomaticLinkDetection_(
	sender objc.Ref,
)

func (NSTextView) ToggleAutomaticQuoteSubstitution_ added in v0.2.0

func (x NSTextView) ToggleAutomaticQuoteSubstitution_(
	sender objc.Ref,
)

func (NSTextView) ToggleAutomaticSpellingCorrection_ added in v0.2.0

func (x NSTextView) ToggleAutomaticSpellingCorrection_(
	sender objc.Ref,
)

func (NSTextView) ToggleAutomaticTextCompletion_ added in v0.2.0

func (x NSTextView) ToggleAutomaticTextCompletion_(
	sender objc.Ref,
)

func (NSTextView) ToggleAutomaticTextReplacement_ added in v0.2.0

func (x NSTextView) ToggleAutomaticTextReplacement_(
	sender objc.Ref,
)

func (NSTextView) ToggleContinuousSpellChecking_ added in v0.2.0

func (x NSTextView) ToggleContinuousSpellChecking_(
	sender objc.Ref,
)

func (NSTextView) ToggleGrammarChecking_ added in v0.2.0

func (x NSTextView) ToggleGrammarChecking_(
	sender objc.Ref,
)

func (NSTextView) ToggleQuickLookPreviewPanel_ added in v0.2.0

func (x NSTextView) ToggleQuickLookPreviewPanel_(
	sender objc.Ref,
)

func (NSTextView) ToggleSmartInsertDelete_ added in v0.2.0

func (x NSTextView) ToggleSmartInsertDelete_(
	sender objc.Ref,
)

func (NSTextView) TurnOffKerning_ added in v0.2.0

func (x NSTextView) TurnOffKerning_(
	sender objc.Ref,
)

func (NSTextView) TurnOffLigatures_ added in v0.2.0

func (x NSTextView) TurnOffLigatures_(
	sender objc.Ref,
)

func (NSTextView) TypingAttributes added in v0.2.0

func (x NSTextView) TypingAttributes() (
	r0 core.NSDictionary,
)

func (NSTextView) UpdateCandidates added in v0.2.0

func (x NSTextView) UpdateCandidates()

func (NSTextView) UpdateDragTypeRegistration added in v0.2.0

func (x NSTextView) UpdateDragTypeRegistration()

func (NSTextView) UpdateFontPanel added in v0.2.0

func (x NSTextView) UpdateFontPanel()

func (NSTextView) UpdateInsertionPointStateAndRestartTimer_ added in v0.2.0

func (x NSTextView) UpdateInsertionPointStateAndRestartTimer_(
	restartFlag bool,
)

func (NSTextView) UpdateQuickLookPreviewPanel added in v0.2.0

func (x NSTextView) UpdateQuickLookPreviewPanel()

func (NSTextView) UpdateRuler added in v0.2.0

func (x NSTextView) UpdateRuler()

func (NSTextView) UpdateTextTouchBarItems added in v0.2.0

func (x NSTextView) UpdateTextTouchBarItems()

func (NSTextView) UpdateTouchBarItemIdentifiers added in v0.2.0

func (x NSTextView) UpdateTouchBarItemIdentifiers()

func (NSTextView) UseAllLigatures_ added in v0.2.0

func (x NSTextView) UseAllLigatures_(
	sender objc.Ref,
)

func (NSTextView) UseStandardKerning_ added in v0.2.0

func (x NSTextView) UseStandardKerning_(
	sender objc.Ref,
)

func (NSTextView) UseStandardLigatures_ added in v0.2.0

func (x NSTextView) UseStandardLigatures_(
	sender objc.Ref,
)

func (NSTextView) UsesAdaptiveColorMappingForDarkAppearance added in v0.2.0

func (x NSTextView) UsesAdaptiveColorMappingForDarkAppearance() (
	r0 bool,
)

func (NSTextView) UsesFindBar added in v0.2.0

func (x NSTextView) UsesFindBar() (
	r0 bool,
)

func (NSTextView) UsesFindPanel added in v0.2.0

func (x NSTextView) UsesFindPanel() (
	r0 bool,
)

func (NSTextView) UsesFontPanel added in v0.2.0

func (x NSTextView) UsesFontPanel() (
	r0 bool,
)

func (NSTextView) UsesInspectorBar added in v0.2.0

func (x NSTextView) UsesInspectorBar() (
	r0 bool,
)

func (NSTextView) UsesRolloverButtonForSelection added in v0.2.0

func (x NSTextView) UsesRolloverButtonForSelection() (
	r0 bool,
)

func (NSTextView) UsesRuler added in v0.2.0

func (x NSTextView) UsesRuler() (
	r0 bool,
)

func (NSTextView) WritablePasteboardTypes added in v0.2.0

func (x NSTextView) WritablePasteboardTypes() (
	r0 core.NSArray,
)

func (NSTextView) WriteSelectionToPasteboard_types_ added in v0.2.0

func (x NSTextView) WriteSelectionToPasteboard_types_(
	pboard NSPasteboardRef,
	types core.NSArrayRef,
) (
	r0 bool,
)

type NSTextViewRef added in v0.2.0

type NSTextViewRef interface {
	Pointer() uintptr
	Init_asNSTextView() NSTextView
}

type NSView

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

func NSView_Init

func NSView_Init(frame core.NSRect) NSView

func NSView_alloc added in v0.2.0

func NSView_alloc() (
	r0 NSView,
)

func NSView_focusView added in v0.2.0

func NSView_focusView() (
	r0 NSView,
)

func NSView_fromPointer added in v0.2.0

func NSView_fromPointer(ptr unsafe.Pointer) NSView

func NSView_fromRef added in v0.2.0

func NSView_fromRef(ref objc.Ref) NSView

func (NSView) AcceptsFirstMouse_ added in v0.2.0

func (x NSView) AcceptsFirstMouse_(
	event NSEventRef,
) (
	r0 bool,
)

func (NSView) AddConstraints_ added in v0.2.0

func (x NSView) AddConstraints_(
	constraints core.NSArrayRef,
)

func (NSView) AddSubview added in v0.2.0

func (v NSView) AddSubview(subview NSViewRef)

func (NSView) AddSubviewPositionedRelativeTo

func (v NSView) AddSubviewPositionedRelativeTo(subview NSViewRef, positioned int, relativeTo NSViewRef)

func (NSView) AddSubview_ added in v0.2.0

func (x NSView) AddSubview_(
	view NSViewRef,
)

func (NSView) AddSubview_positioned_relativeTo_ added in v0.2.0

func (x NSView) AddSubview_positioned_relativeTo_(
	view NSViewRef,
	place core.NSUInteger,
	otherView NSViewRef,
)

func (NSView) AdjustScroll_ added in v0.2.0

func (x NSView) AdjustScroll_(
	newVisible core.NSRect,
) (
	r0 core.NSRect,
)

func (NSView) AlignmentRectForFrame_ added in v0.2.0

func (x NSView) AlignmentRectForFrame_(
	frame core.NSRect,
) (
	r0 core.NSRect,
)

func (NSView) AllowsVibrancy added in v0.2.0

func (x NSView) AllowsVibrancy() (
	r0 bool,
)

func (NSView) AlphaValue added in v0.2.0

func (x NSView) AlphaValue() (
	r0 core.CGFloat,
)

func (NSView) AncestorSharedWithView_ added in v0.2.0

func (x NSView) AncestorSharedWithView_(
	view NSViewRef,
) (
	r0 NSView,
)

func (NSView) AutoresizesSubviews added in v0.2.0

func (x NSView) AutoresizesSubviews() (
	r0 bool,
)

func (NSView) Autoscroll_ added in v0.2.0

func (x NSView) Autoscroll_(
	event NSEventRef,
) (
	r0 bool,
)

func (NSView) BackgroundColor

func (x NSView) BackgroundColor() (
	r0 NSColor,
)

func (NSView) BackgroundFilters added in v0.2.0

func (x NSView) BackgroundFilters() (
	r0 core.NSArray,
)

func (NSView) BaselineOffsetFromBottom added in v0.2.0

func (x NSView) BaselineOffsetFromBottom() (
	r0 core.CGFloat,
)

func (NSView) BeginDocument added in v0.2.0

func (x NSView) BeginDocument()

func (NSView) BeginPageInRect_atPlacement_ added in v0.2.0

func (x NSView) BeginPageInRect_atPlacement_(
	rect core.NSRect,
	location core.NSPoint,
)

func (NSView) Bounds

func (x NSView) Bounds() (
	r0 core.NSRect,
)

func (NSView) BoundsRotation added in v0.2.0

func (x NSView) BoundsRotation() (
	r0 core.CGFloat,
)

func (NSView) CanBecomeKeyView added in v0.2.0

func (x NSView) CanBecomeKeyView() (
	r0 bool,
)

func (NSView) CanDrawConcurrently added in v0.2.0

func (x NSView) CanDrawConcurrently() (
	r0 bool,
)

func (NSView) CanDrawSubviewsIntoLayer added in v0.2.0

func (x NSView) CanDrawSubviewsIntoLayer() (
	r0 bool,
)

func (NSView) CenterScanRect_ added in v0.2.0

func (x NSView) CenterScanRect_(
	rect core.NSRect,
) (
	r0 core.NSRect,
)

func (NSView) Constraints added in v0.2.0

func (x NSView) Constraints() (
	r0 core.NSArray,
)

func (NSView) ContentFilters added in v0.2.0

func (x NSView) ContentFilters() (
	r0 core.NSArray,
)

func (NSView) ConvertPointFromBacking_ added in v0.2.0

func (x NSView) ConvertPointFromBacking_(
	point core.NSPoint,
) (
	r0 core.NSPoint,
)

func (NSView) ConvertPointFromLayer_ added in v0.2.0

func (x NSView) ConvertPointFromLayer_(
	point core.NSPoint,
) (
	r0 core.NSPoint,
)

func (NSView) ConvertPointToBacking_ added in v0.2.0

func (x NSView) ConvertPointToBacking_(
	point core.NSPoint,
) (
	r0 core.NSPoint,
)

func (NSView) ConvertPointToLayer_ added in v0.2.0

func (x NSView) ConvertPointToLayer_(
	point core.NSPoint,
) (
	r0 core.NSPoint,
)

func (NSView) ConvertPoint_fromView_ added in v0.2.0

func (x NSView) ConvertPoint_fromView_(
	point core.NSPoint,
	view NSViewRef,
) (
	r0 core.NSPoint,
)

func (NSView) ConvertPoint_toView_ added in v0.2.0

func (x NSView) ConvertPoint_toView_(
	point core.NSPoint,
	view NSViewRef,
) (
	r0 core.NSPoint,
)

func (NSView) ConvertRectFromBacking_ added in v0.2.0

func (x NSView) ConvertRectFromBacking_(
	rect core.NSRect,
) (
	r0 core.NSRect,
)

func (NSView) ConvertRectFromLayer_ added in v0.2.0

func (x NSView) ConvertRectFromLayer_(
	rect core.NSRect,
) (
	r0 core.NSRect,
)

func (NSView) ConvertRectToBacking_ added in v0.2.0

func (x NSView) ConvertRectToBacking_(
	rect core.NSRect,
) (
	r0 core.NSRect,
)

func (NSView) ConvertRectToLayer_ added in v0.2.0

func (x NSView) ConvertRectToLayer_(
	rect core.NSRect,
) (
	r0 core.NSRect,
)

func (NSView) ConvertRect_fromView_ added in v0.2.0

func (x NSView) ConvertRect_fromView_(
	rect core.NSRect,
	view NSViewRef,
) (
	r0 core.NSRect,
)

func (NSView) ConvertRect_toView_ added in v0.2.0

func (x NSView) ConvertRect_toView_(
	rect core.NSRect,
	view NSViewRef,
) (
	r0 core.NSRect,
)

func (NSView) ConvertSizeFromBacking_ added in v0.2.0

func (x NSView) ConvertSizeFromBacking_(
	size core.NSSize,
) (
	r0 core.NSSize,
)

func (NSView) ConvertSizeFromLayer_ added in v0.2.0

func (x NSView) ConvertSizeFromLayer_(
	size core.NSSize,
) (
	r0 core.NSSize,
)

func (NSView) ConvertSizeToBacking_ added in v0.2.0

func (x NSView) ConvertSizeToBacking_(
	size core.NSSize,
) (
	r0 core.NSSize,
)

func (NSView) ConvertSizeToLayer_ added in v0.2.0

func (x NSView) ConvertSizeToLayer_(
	size core.NSSize,
) (
	r0 core.NSSize,
)

func (NSView) ConvertSize_fromView_ added in v0.2.0

func (x NSView) ConvertSize_fromView_(
	size core.NSSize,
	view NSViewRef,
) (
	r0 core.NSSize,
)

func (NSView) ConvertSize_toView_ added in v0.2.0

func (x NSView) ConvertSize_toView_(
	size core.NSSize,
	view NSViewRef,
) (
	r0 core.NSSize,
)

func (NSView) DataWithEPSInsideRect_ added in v0.2.0

func (x NSView) DataWithEPSInsideRect_(
	rect core.NSRect,
) (
	r0 core.NSData,
)

func (NSView) DataWithPDFInsideRect_ added in v0.2.0

func (x NSView) DataWithPDFInsideRect_(
	rect core.NSRect,
) (
	r0 core.NSData,
)

func (NSView) DidAddSubview_ added in v0.2.0

func (x NSView) DidAddSubview_(
	subview NSViewRef,
)

func (NSView) DidCloseMenu_withEvent_ added in v0.2.0

func (x NSView) DidCloseMenu_withEvent_(
	menu NSMenuRef,
	event NSEventRef,
)

func (NSView) DiscardCursorRects added in v0.2.0

func (x NSView) DiscardCursorRects()

func (NSView) Display added in v0.2.0

func (x NSView) Display()

func (NSView) DisplayIfNeeded added in v0.2.0

func (x NSView) DisplayIfNeeded()

func (NSView) DisplayIfNeededIgnoringOpacity added in v0.2.0

func (x NSView) DisplayIfNeededIgnoringOpacity()

func (NSView) DisplayIfNeededInRectIgnoringOpacity_ added in v0.2.0

func (x NSView) DisplayIfNeededInRectIgnoringOpacity_(
	rect core.NSRect,
)

func (NSView) DisplayIfNeededInRect_ added in v0.2.0

func (x NSView) DisplayIfNeededInRect_(
	rect core.NSRect,
)

func (NSView) DisplayRectIgnoringOpacity_ added in v0.2.0

func (x NSView) DisplayRectIgnoringOpacity_(
	rect core.NSRect,
)

func (NSView) DisplayRect_ added in v0.2.0

func (x NSView) DisplayRect_(
	rect core.NSRect,
)

func (NSView) DrawFocusRingMask added in v0.2.0

func (x NSView) DrawFocusRingMask()

func (NSView) DrawPageBorderWithSize_ added in v0.2.0

func (x NSView) DrawPageBorderWithSize_(
	borderSize core.NSSize,
)

func (NSView) DrawRect_ added in v0.2.0

func (x NSView) DrawRect_(
	dirtyRect core.NSRect,
)

func (NSView) EnclosingMenuItem added in v0.2.0

func (x NSView) EnclosingMenuItem() (
	r0 NSMenuItem,
)

func (NSView) EndDocument added in v0.2.0

func (x NSView) EndDocument()

func (NSView) EndPage added in v0.2.0

func (x NSView) EndPage()

func (NSView) EnterFullScreenMode_withOptions_ added in v0.2.0

func (x NSView) EnterFullScreenMode_withOptions_(
	screen NSScreenRef,
	options core.NSDictionaryRef,
) (
	r0 bool,
)

func (NSView) ExerciseAmbiguityInLayout added in v0.2.0

func (x NSView) ExerciseAmbiguityInLayout()

func (NSView) ExitFullScreenModeWithOptions_ added in v0.2.0

func (x NSView) ExitFullScreenModeWithOptions_(
	options core.NSDictionaryRef,
)

func (NSView) FirstBaselineOffsetFromTop added in v0.2.0

func (x NSView) FirstBaselineOffsetFromTop() (
	r0 core.CGFloat,
)

func (NSView) FittingSize added in v0.2.0

func (x NSView) FittingSize() (
	r0 core.NSSize,
)

func (NSView) FocusRingMaskBounds added in v0.2.0

func (x NSView) FocusRingMaskBounds() (
	r0 core.NSRect,
)

func (NSView) Frame

func (x NSView) Frame() (
	r0 core.NSRect,
)

func (NSView) FrameCenterRotation added in v0.2.0

func (x NSView) FrameCenterRotation() (
	r0 core.CGFloat,
)

func (NSView) FrameForAlignmentRect_ added in v0.2.0

func (x NSView) FrameForAlignmentRect_(
	alignmentRect core.NSRect,
) (
	r0 core.NSRect,
)

func (NSView) FrameRotation added in v0.2.0

func (x NSView) FrameRotation() (
	r0 core.CGFloat,
)

func (NSView) GestureRecognizers added in v0.2.0

func (x NSView) GestureRecognizers() (
	r0 core.NSArray,
)

func (NSView) HasAmbiguousLayout added in v0.2.0

func (x NSView) HasAmbiguousLayout() (
	r0 bool,
)

func (NSView) HeightAdjustLimit added in v0.2.0

func (x NSView) HeightAdjustLimit() (
	r0 core.CGFloat,
)

func (NSView) HitTest_ added in v0.2.0

func (x NSView) HitTest_(
	point core.NSPoint,
) (
	r0 NSView,
)

func (NSView) InLiveResize added in v0.2.0

func (x NSView) InLiveResize() (
	r0 bool,
)

func (NSView) InitWithFrame__asNSView added in v0.2.0

func (x NSView) InitWithFrame__asNSView(
	frameRect core.NSRect,
) (
	r0 NSView,
)

func (NSView) Init_asNSView added in v0.2.0

func (x NSView) Init_asNSView() (
	r0 NSView,
)

func (NSView) IntrinsicContentSize added in v0.2.0

func (x NSView) IntrinsicContentSize() (
	r0 core.NSSize,
)

func (NSView) InvalidateIntrinsicContentSize added in v0.2.0

func (x NSView) InvalidateIntrinsicContentSize()

func (NSView) IsDescendantOf_ added in v0.2.0

func (x NSView) IsDescendantOf_(
	view NSViewRef,
) (
	r0 bool,
)

func (NSView) IsDrawingFindIndicator added in v0.2.0

func (x NSView) IsDrawingFindIndicator() (
	r0 bool,
)

func (NSView) IsFlipped added in v0.2.0

func (x NSView) IsFlipped() (
	r0 bool,
)

func (NSView) IsHidden added in v0.2.0

func (x NSView) IsHidden() (
	r0 bool,
)

func (NSView) IsHiddenOrHasHiddenAncestor added in v0.2.0

func (x NSView) IsHiddenOrHasHiddenAncestor() (
	r0 bool,
)

func (NSView) IsHorizontalContentSizeConstraintActive added in v0.2.0

func (x NSView) IsHorizontalContentSizeConstraintActive() (
	r0 bool,
)

func (NSView) IsInFullScreenMode added in v0.2.0

func (x NSView) IsInFullScreenMode() (
	r0 bool,
)

func (NSView) IsOpaque added in v0.2.0

func (x NSView) IsOpaque() (
	r0 bool,
)

func (NSView) IsRotatedFromBase added in v0.2.0

func (x NSView) IsRotatedFromBase() (
	r0 bool,
)

func (NSView) IsRotatedOrScaledFromBase added in v0.2.0

func (x NSView) IsRotatedOrScaledFromBase() (
	r0 bool,
)

func (NSView) IsVerticalContentSizeConstraintActive added in v0.2.0

func (x NSView) IsVerticalContentSizeConstraintActive() (
	r0 bool,
)

func (NSView) LastBaselineOffsetFromBottom added in v0.2.0

func (x NSView) LastBaselineOffsetFromBottom() (
	r0 core.CGFloat,
)

func (NSView) Layer

func (x NSView) Layer() (
	r0 core.CALayer,
)

func (NSView) LayerUsesCoreImageFilters added in v0.2.0

func (x NSView) LayerUsesCoreImageFilters() (
	r0 bool,
)

func (NSView) Layout added in v0.2.0

func (x NSView) Layout()

func (NSView) LayoutGuides added in v0.2.0

func (x NSView) LayoutGuides() (
	r0 core.NSArray,
)

func (NSView) LayoutSubtreeIfNeeded added in v0.2.0

func (x NSView) LayoutSubtreeIfNeeded()

func (NSView) LocationOfPrintRect_ added in v0.2.0

func (x NSView) LocationOfPrintRect_(
	rect core.NSRect,
) (
	r0 core.NSPoint,
)

func (NSView) MakeBackingLayer added in v0.2.0

func (x NSView) MakeBackingLayer() (
	r0 core.CALayer,
)

func (NSView) MenuForEvent_ added in v0.2.0

func (x NSView) MenuForEvent_(
	event NSEventRef,
) (
	r0 NSMenu,
)

func (NSView) MouseDownCanMoveWindow added in v0.2.0

func (x NSView) MouseDownCanMoveWindow() (
	r0 bool,
)

func (NSView) Mouse_inRect_ added in v0.2.0

func (x NSView) Mouse_inRect_(
	point core.NSPoint,
	rect core.NSRect,
) (
	r0 bool,
)

func (NSView) NeedsDisplay added in v0.2.0

func (x NSView) NeedsDisplay() (
	r0 bool,
)

func (NSView) NeedsLayout added in v0.2.0

func (x NSView) NeedsLayout() (
	r0 bool,
)

func (NSView) NeedsPanelToBecomeKey added in v0.2.0

func (x NSView) NeedsPanelToBecomeKey() (
	r0 bool,
)

func (NSView) NeedsToDrawRect_ added in v0.2.0

func (x NSView) NeedsToDrawRect_(
	rect core.NSRect,
) (
	r0 bool,
)

func (NSView) NeedsUpdateConstraints added in v0.2.0

func (x NSView) NeedsUpdateConstraints() (
	r0 bool,
)

func (NSView) NextKeyView added in v0.2.0

func (x NSView) NextKeyView() (
	r0 NSView,
)

func (NSView) NextValidKeyView added in v0.2.0

func (x NSView) NextValidKeyView() (
	r0 NSView,
)

func (NSView) NoteFocusRingMaskChanged added in v0.2.0

func (x NSView) NoteFocusRingMaskChanged()

func (NSView) Opaque

func (v NSView) Opaque() bool

func (NSView) OpaqueAncestor added in v0.2.0

func (x NSView) OpaqueAncestor() (
	r0 NSView,
)

func (NSView) PageFooter added in v0.2.0

func (x NSView) PageFooter() (
	r0 core.NSAttributedString,
)

func (NSView) PageHeader added in v0.2.0

func (x NSView) PageHeader() (
	r0 core.NSAttributedString,
)

func (NSView) PerformKeyEquivalent_ added in v0.2.0

func (x NSView) PerformKeyEquivalent_(
	event NSEventRef,
) (
	r0 bool,
)

func (NSView) PostsBoundsChangedNotifications added in v0.2.0

func (x NSView) PostsBoundsChangedNotifications() (
	r0 bool,
)

func (NSView) PostsFrameChangedNotifications added in v0.2.0

func (x NSView) PostsFrameChangedNotifications() (
	r0 bool,
)

func (NSView) PrepareContentInRect_ added in v0.2.0

func (x NSView) PrepareContentInRect_(
	rect core.NSRect,
)

func (NSView) PrepareForReuse added in v0.2.0

func (x NSView) PrepareForReuse()

func (NSView) PreparedContentRect added in v0.2.0

func (x NSView) PreparedContentRect() (
	r0 core.NSRect,
)

func (NSView) PreservesContentDuringLiveResize added in v0.2.0

func (x NSView) PreservesContentDuringLiveResize() (
	r0 bool,
)

func (NSView) PreviousKeyView added in v0.2.0

func (x NSView) PreviousKeyView() (
	r0 NSView,
)

func (NSView) PreviousValidKeyView added in v0.2.0

func (x NSView) PreviousValidKeyView() (
	r0 NSView,
)

func (NSView) PrintJobTitle added in v0.2.0

func (x NSView) PrintJobTitle() (
	r0 core.NSString,
)

func (NSView) Print_ added in v0.2.0

func (x NSView) Print_(
	sender objc.Ref,
)

func (NSView) RectForPage_ added in v0.2.0

func (x NSView) RectForPage_(
	page core.NSInteger,
) (
	r0 core.NSRect,
)

func (NSView) RectForSmartMagnificationAtPoint_inRect_ added in v0.2.0

func (x NSView) RectForSmartMagnificationAtPoint_inRect_(
	location core.NSPoint,
	visibleRect core.NSRect,
) (
	r0 core.NSRect,
)

func (NSView) RectPreservedDuringLiveResize added in v0.2.0

func (x NSView) RectPreservedDuringLiveResize() (
	r0 core.NSRect,
)

func (NSView) RegisterForDraggedTypes_ added in v0.2.0

func (x NSView) RegisterForDraggedTypes_(
	newTypes core.NSArrayRef,
)

func (NSView) RegisteredDraggedTypes added in v0.2.0

func (x NSView) RegisteredDraggedTypes() (
	r0 core.NSArray,
)

func (NSView) RemoveAllToolTips added in v0.2.0

func (x NSView) RemoveAllToolTips()

func (NSView) RemoveConstraints_ added in v0.2.0

func (x NSView) RemoveConstraints_(
	constraints core.NSArrayRef,
)

func (NSView) RemoveFromSuperview added in v0.2.0

func (x NSView) RemoveFromSuperview()

func (NSView) RemoveFromSuperviewWithoutNeedingDisplay added in v0.2.0

func (x NSView) RemoveFromSuperviewWithoutNeedingDisplay()

func (NSView) ReplaceSubview_with_ added in v0.2.0

func (x NSView) ReplaceSubview_with_(
	oldView NSViewRef,
	newView NSViewRef,
)

func (NSView) ResetCursorRects added in v0.2.0

func (x NSView) ResetCursorRects()

func (NSView) ResizeSubviewsWithOldSize_ added in v0.2.0

func (x NSView) ResizeSubviewsWithOldSize_(
	oldSize core.NSSize,
)

func (NSView) ResizeWithOldSuperviewSize_ added in v0.2.0

func (x NSView) ResizeWithOldSuperviewSize_(
	oldSize core.NSSize,
)

func (NSView) RotateByAngle_ added in v0.2.0

func (x NSView) RotateByAngle_(
	angle core.CGFloat,
)

func (NSView) ScaleUnitSquareToSize_ added in v0.2.0

func (x NSView) ScaleUnitSquareToSize_(
	newUnitSize core.NSSize,
)

func (NSView) ScrollPoint_ added in v0.2.0

func (x NSView) ScrollPoint_(
	point core.NSPoint,
)

func (NSView) ScrollRectToVisible_ added in v0.2.0

func (x NSView) ScrollRectToVisible_(
	rect core.NSRect,
) (
	r0 bool,
)

func (NSView) SetAlphaValue_ added in v0.2.0

func (x NSView) SetAlphaValue_(
	value core.CGFloat,
)

func (NSView) SetAutoresizesSubviews_ added in v0.2.0

func (x NSView) SetAutoresizesSubviews_(
	value bool,
)

func (NSView) SetBackgroundColor

func (v NSView) SetBackgroundColor(color NSColor)

func (NSView) SetBackgroundColor_ added in v0.2.0

func (x NSView) SetBackgroundColor_(
	value NSColorRef,
)

func (NSView) SetBackgroundFilters_ added in v0.2.0

func (x NSView) SetBackgroundFilters_(
	value core.NSArrayRef,
)

func (NSView) SetBounds added in v0.2.0

func (v NSView) SetBounds(r core.NSRect)

func (NSView) SetBoundsOrigin

func (v NSView) SetBoundsOrigin(p core.NSPoint)

func (NSView) SetBoundsOrigin_ added in v0.2.0

func (x NSView) SetBoundsOrigin_(
	newOrigin core.NSPoint,
)

func (NSView) SetBoundsRotation_ added in v0.2.0

func (x NSView) SetBoundsRotation_(
	value core.CGFloat,
)

func (NSView) SetBoundsSize

func (v NSView) SetBoundsSize(s core.NSSize)

func (NSView) SetBoundsSize_ added in v0.2.0

func (x NSView) SetBoundsSize_(
	newSize core.NSSize,
)

func (NSView) SetBounds_ added in v0.2.0

func (x NSView) SetBounds_(
	value core.NSRect,
)

func (NSView) SetCanDrawConcurrently_ added in v0.2.0

func (x NSView) SetCanDrawConcurrently_(
	value bool,
)

func (NSView) SetCanDrawSubviewsIntoLayer_ added in v0.2.0

func (x NSView) SetCanDrawSubviewsIntoLayer_(
	value bool,
)

func (NSView) SetContentFilters_ added in v0.2.0

func (x NSView) SetContentFilters_(
	value core.NSArrayRef,
)

func (NSView) SetFrame added in v0.2.0

func (v NSView) SetFrame(r core.NSRect)

func (NSView) SetFrameCenterRotation_ added in v0.2.0

func (x NSView) SetFrameCenterRotation_(
	value core.CGFloat,
)

func (NSView) SetFrameOrigin

func (v NSView) SetFrameOrigin(p core.NSPoint)

func (NSView) SetFrameOrigin_ added in v0.2.0

func (x NSView) SetFrameOrigin_(
	newOrigin core.NSPoint,
)

func (NSView) SetFrameRotation_ added in v0.2.0

func (x NSView) SetFrameRotation_(
	value core.CGFloat,
)

func (NSView) SetFrameSize

func (v NSView) SetFrameSize(s core.NSSize)

func (NSView) SetFrameSize_ added in v0.2.0

func (x NSView) SetFrameSize_(
	newSize core.NSSize,
)

func (NSView) SetFrame_ added in v0.2.0

func (x NSView) SetFrame_(
	value core.NSRect,
)

func (NSView) SetGestureRecognizers_ added in v0.2.0

func (x NSView) SetGestureRecognizers_(
	value core.NSArrayRef,
)

func (NSView) SetHidden_ added in v0.2.0

func (x NSView) SetHidden_(
	value bool,
)

func (NSView) SetHorizontalContentSizeConstraintActive_ added in v0.2.0

func (x NSView) SetHorizontalContentSizeConstraintActive_(
	value bool,
)

func (NSView) SetKeyboardFocusRingNeedsDisplayInRect_ added in v0.2.0

func (x NSView) SetKeyboardFocusRingNeedsDisplayInRect_(
	rect core.NSRect,
)

func (NSView) SetLayerUsesCoreImageFilters_ added in v0.2.0

func (x NSView) SetLayerUsesCoreImageFilters_(
	value bool,
)

func (NSView) SetLayer_ added in v0.2.0

func (x NSView) SetLayer_(
	value core.CALayerRef,
)

func (NSView) SetNeedsDisplayInRect_ added in v0.2.0

func (x NSView) SetNeedsDisplayInRect_(
	invalidRect core.NSRect,
)

func (NSView) SetNeedsDisplay_ added in v0.2.0

func (x NSView) SetNeedsDisplay_(
	value bool,
)

func (NSView) SetNeedsLayout_ added in v0.2.0

func (x NSView) SetNeedsLayout_(
	value bool,
)

func (NSView) SetNeedsUpdateConstraints_ added in v0.2.0

func (x NSView) SetNeedsUpdateConstraints_(
	value bool,
)

func (NSView) SetNextKeyView_ added in v0.2.0

func (x NSView) SetNextKeyView_(
	value NSViewRef,
)

func (NSView) SetOpaque

func (v NSView) SetOpaque(b bool)

func (NSView) SetPostsBoundsChangedNotifications_ added in v0.2.0

func (x NSView) SetPostsBoundsChangedNotifications_(
	value bool,
)

func (NSView) SetPostsFrameChangedNotifications_ added in v0.2.0

func (x NSView) SetPostsFrameChangedNotifications_(
	value bool,
)

func (NSView) SetPreparedContentRect_ added in v0.2.0

func (x NSView) SetPreparedContentRect_(
	value core.NSRect,
)

func (NSView) SetSubviews_ added in v0.2.0

func (x NSView) SetSubviews_(
	value core.NSArrayRef,
)

func (NSView) SetToolTip_ added in v0.2.0

func (x NSView) SetToolTip_(
	value core.NSStringRef,
)

func (NSView) SetTranslatesAutoresizingMaskIntoConstraints_ added in v0.2.0

func (x NSView) SetTranslatesAutoresizingMaskIntoConstraints_(
	value bool,
)

func (NSView) SetValueForKey

func (v NSView) SetValueForKey(value, key objc.Object)

func (NSView) SetVerticalContentSizeConstraintActive_ added in v0.2.0

func (x NSView) SetVerticalContentSizeConstraintActive_(
	value bool,
)

func (NSView) SetWantsLayer

func (v NSView) SetWantsLayer(b bool)

func (NSView) SetWantsLayer_ added in v0.2.0

func (x NSView) SetWantsLayer_(
	value bool,
)

func (NSView) SetWantsRestingTouches_ added in v0.2.0

func (x NSView) SetWantsRestingTouches_(
	value bool,
)

func (NSView) ShouldDelayWindowOrderingForEvent_ added in v0.2.0

func (x NSView) ShouldDelayWindowOrderingForEvent_(
	event NSEventRef,
) (
	r0 bool,
)

func (NSView) ShowDefinitionForAttributedString_atPoint_ added in v0.2.0

func (x NSView) ShowDefinitionForAttributedString_atPoint_(
	attrString core.NSAttributedStringRef,
	textBaselineOrigin core.NSPoint,
)

func (NSView) Subviews added in v0.2.0

func (x NSView) Subviews() (
	r0 core.NSArray,
)

func (NSView) Superview added in v0.2.0

func (x NSView) Superview() (
	r0 NSView,
)

func (NSView) Tag added in v0.2.0

func (x NSView) Tag() (
	r0 core.NSInteger,
)

func (NSView) ToolTip added in v0.2.0

func (x NSView) ToolTip() (
	r0 core.NSString,
)

func (NSView) TrackingAreas added in v0.2.0

func (x NSView) TrackingAreas() (
	r0 core.NSArray,
)

func (NSView) TranslateOriginToPoint_ added in v0.2.0

func (x NSView) TranslateOriginToPoint_(
	translation core.NSPoint,
)

func (NSView) TranslateRectsNeedingDisplayInRect_by_ added in v0.2.0

func (x NSView) TranslateRectsNeedingDisplayInRect_by_(
	clipRect core.NSRect,
	delta core.NSSize,
)

func (NSView) TranslatesAutoresizingMaskIntoConstraints added in v0.2.0

func (x NSView) TranslatesAutoresizingMaskIntoConstraints() (
	r0 bool,
)

func (NSView) UnregisterDraggedTypes added in v0.2.0

func (x NSView) UnregisterDraggedTypes()

func (NSView) UpdateConstraints added in v0.2.0

func (x NSView) UpdateConstraints()

func (NSView) UpdateConstraintsForSubtreeIfNeeded added in v0.2.0

func (x NSView) UpdateConstraintsForSubtreeIfNeeded()

func (NSView) UpdateLayer added in v0.2.0

func (x NSView) UpdateLayer()

func (NSView) UpdateTrackingAreas added in v0.2.0

func (x NSView) UpdateTrackingAreas()

func (NSView) ViewDidChangeBackingProperties added in v0.2.0

func (x NSView) ViewDidChangeBackingProperties()

func (NSView) ViewDidChangeEffectiveAppearance added in v0.2.0

func (x NSView) ViewDidChangeEffectiveAppearance()

func (NSView) ViewDidEndLiveResize added in v0.2.0

func (x NSView) ViewDidEndLiveResize()

func (NSView) ViewDidHide added in v0.2.0

func (x NSView) ViewDidHide()

func (NSView) ViewDidMoveToSuperview added in v0.2.0

func (x NSView) ViewDidMoveToSuperview()

func (NSView) ViewDidMoveToWindow added in v0.2.0

func (x NSView) ViewDidMoveToWindow()

func (NSView) ViewDidUnhide added in v0.2.0

func (x NSView) ViewDidUnhide()

func (NSView) ViewWillDraw added in v0.2.0

func (x NSView) ViewWillDraw()

func (NSView) ViewWillMoveToSuperview_ added in v0.2.0

func (x NSView) ViewWillMoveToSuperview_(
	newSuperview NSViewRef,
)

func (NSView) ViewWillMoveToWindow_ added in v0.2.0

func (x NSView) ViewWillMoveToWindow_(
	newWindow NSWindowRef,
)

func (NSView) ViewWillStartLiveResize added in v0.2.0

func (x NSView) ViewWillStartLiveResize()

func (NSView) ViewWithTag_ added in v0.2.0

func (x NSView) ViewWithTag_(
	tag core.NSInteger,
) (
	r0 NSView,
)

func (NSView) VisibleRect added in v0.2.0

func (x NSView) VisibleRect() (
	r0 core.NSRect,
)

func (NSView) WantsDefaultClipping added in v0.2.0

func (x NSView) WantsDefaultClipping() (
	r0 bool,
)

func (NSView) WantsLayer

func (x NSView) WantsLayer() (
	r0 bool,
)

func (NSView) WantsRestingTouches added in v0.2.0

func (x NSView) WantsRestingTouches() (
	r0 bool,
)

func (NSView) WantsUpdateLayer added in v0.2.0

func (x NSView) WantsUpdateLayer() (
	r0 bool,
)

func (NSView) WidthAdjustLimit added in v0.2.0

func (x NSView) WidthAdjustLimit() (
	r0 core.CGFloat,
)

func (NSView) WillOpenMenu_withEvent_ added in v0.2.0

func (x NSView) WillOpenMenu_withEvent_(
	menu NSMenuRef,
	event NSEventRef,
)

func (NSView) WillRemoveSubview_ added in v0.2.0

func (x NSView) WillRemoveSubview_(
	subview NSViewRef,
)

func (NSView) Window added in v0.2.0

func (x NSView) Window() (
	r0 NSWindow,
)

func (NSView) WriteEPSInsideRect_toPasteboard_ added in v0.2.0

func (x NSView) WriteEPSInsideRect_toPasteboard_(
	rect core.NSRect,
	pasteboard NSPasteboardRef,
)

func (NSView) WritePDFInsideRect_toPasteboard_ added in v0.2.0

func (x NSView) WritePDFInsideRect_toPasteboard_(
	rect core.NSRect,
	pasteboard NSPasteboardRef,
)

type NSViewController added in v0.2.0

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

func NSViewController_New added in v0.2.0

func NSViewController_New() NSViewController

func NSViewController_alloc added in v0.2.0

func NSViewController_alloc() (
	r0 NSViewController,
)

func NSViewController_fromPointer added in v0.2.0

func NSViewController_fromPointer(ptr unsafe.Pointer) NSViewController

func NSViewController_fromRef added in v0.2.0

func NSViewController_fromRef(ref objc.Ref) NSViewController

func (NSViewController) AddChildViewController_ added in v0.2.0

func (x NSViewController) AddChildViewController_(
	childViewController NSViewControllerRef,
)

func (NSViewController) ChildViewControllers added in v0.2.0

func (x NSViewController) ChildViewControllers() (
	r0 core.NSArray,
)

func (NSViewController) CommitEditing added in v0.2.0

func (x NSViewController) CommitEditing() (
	r0 bool,
)

func (NSViewController) CommitEditingWithDelegate_didCommitSelector_contextInfo_ added in v0.2.0

func (x NSViewController) CommitEditingWithDelegate_didCommitSelector_contextInfo_(
	delegate objc.Ref,
	didCommitSelector objc.Selector,
	contextInfo unsafe.Pointer,
)

func (NSViewController) DiscardEditing added in v0.2.0

func (x NSViewController) DiscardEditing()

func (NSViewController) DismissController_ added in v0.2.0

func (x NSViewController) DismissController_(
	sender objc.Ref,
)

func (NSViewController) DismissViewController_ added in v0.2.0

func (x NSViewController) DismissViewController_(
	viewController NSViewControllerRef,
)

func (NSViewController) Init_asNSViewController added in v0.2.0

func (x NSViewController) Init_asNSViewController() (
	r0 NSViewController,
)

func (NSViewController) InsertChildViewController_atIndex_ added in v0.2.0

func (x NSViewController) InsertChildViewController_atIndex_(
	childViewController NSViewControllerRef,
	index core.NSInteger,
)

func (NSViewController) IsViewLoaded added in v0.2.0

func (x NSViewController) IsViewLoaded() (
	r0 bool,
)

func (NSViewController) LoadView added in v0.2.0

func (x NSViewController) LoadView()

func (NSViewController) NibBundle added in v0.2.0

func (x NSViewController) NibBundle() (
	r0 NSBundle,
)

func (NSViewController) ParentViewController added in v0.2.0

func (x NSViewController) ParentViewController() (
	r0 NSViewController,
)

func (NSViewController) PreferredContentSize added in v0.2.0

func (x NSViewController) PreferredContentSize() (
	r0 core.NSSize,
)

func (NSViewController) PreferredContentSizeDidChangeForViewController_ added in v0.2.0

func (x NSViewController) PreferredContentSizeDidChangeForViewController_(
	viewController NSViewControllerRef,
)

func (NSViewController) PreferredMaximumSize added in v0.2.0

func (x NSViewController) PreferredMaximumSize() (
	r0 core.NSSize,
)

func (NSViewController) PreferredMinimumSize added in v0.2.0

func (x NSViewController) PreferredMinimumSize() (
	r0 core.NSSize,
)

func (NSViewController) PreferredScreenOrigin added in v0.2.0

func (x NSViewController) PreferredScreenOrigin() (
	r0 core.NSPoint,
)

func (NSViewController) PresentViewControllerAsModalWindow_ added in v0.2.0

func (x NSViewController) PresentViewControllerAsModalWindow_(
	viewController NSViewControllerRef,
)

func (NSViewController) PresentViewControllerAsSheet_ added in v0.2.0

func (x NSViewController) PresentViewControllerAsSheet_(
	viewController NSViewControllerRef,
)

func (NSViewController) PresentViewController_animator_ added in v0.2.0

func (x NSViewController) PresentViewController_animator_(
	viewController NSViewControllerRef,
	animator objc.Ref,
)

func (NSViewController) PresentedViewControllers added in v0.2.0

func (x NSViewController) PresentedViewControllers() (
	r0 core.NSArray,
)

func (NSViewController) PresentingViewController added in v0.2.0

func (x NSViewController) PresentingViewController() (
	r0 NSViewController,
)

func (NSViewController) RemoveChildViewControllerAtIndex_ added in v0.2.0

func (x NSViewController) RemoveChildViewControllerAtIndex_(
	index core.NSInteger,
)

func (NSViewController) RemoveFromParentViewController added in v0.2.0

func (x NSViewController) RemoveFromParentViewController()

func (NSViewController) RepresentedObject added in v0.2.0

func (x NSViewController) RepresentedObject() (
	r0 objc.Object,
)

func (NSViewController) SetChildViewControllers_ added in v0.2.0

func (x NSViewController) SetChildViewControllers_(
	value core.NSArrayRef,
)

func (NSViewController) SetPreferredContentSize_ added in v0.2.0

func (x NSViewController) SetPreferredContentSize_(
	value core.NSSize,
)

func (NSViewController) SetPreferredScreenOrigin_ added in v0.2.0

func (x NSViewController) SetPreferredScreenOrigin_(
	value core.NSPoint,
)

func (NSViewController) SetRepresentedObject_ added in v0.2.0

func (x NSViewController) SetRepresentedObject_(
	value objc.Ref,
)

func (NSViewController) SetTitle_ added in v0.2.0

func (x NSViewController) SetTitle_(
	value core.NSStringRef,
)

func (NSViewController) SetView added in v0.2.0

func (c NSViewController) SetView(v NSView)

func (NSViewController) Title added in v0.2.0

func (x NSViewController) Title() (
	r0 core.NSString,
)

func (NSViewController) UpdateViewConstraints added in v0.2.0

func (x NSViewController) UpdateViewConstraints()

func (NSViewController) ViewDidAppear added in v0.2.0

func (x NSViewController) ViewDidAppear()

func (NSViewController) ViewDidDisappear added in v0.2.0

func (x NSViewController) ViewDidDisappear()

func (NSViewController) ViewDidLayout added in v0.2.0

func (x NSViewController) ViewDidLayout()

func (NSViewController) ViewDidLoad added in v0.2.0

func (x NSViewController) ViewDidLoad()

func (NSViewController) ViewWillAppear added in v0.2.0

func (x NSViewController) ViewWillAppear()

func (NSViewController) ViewWillDisappear added in v0.2.0

func (x NSViewController) ViewWillDisappear()

func (NSViewController) ViewWillLayout added in v0.2.0

func (x NSViewController) ViewWillLayout()

func (NSViewController) ViewWillTransitionToSize_ added in v0.2.0

func (x NSViewController) ViewWillTransitionToSize_(
	newSize core.NSSize,
)

type NSViewControllerRef added in v0.2.0

type NSViewControllerRef interface {
	Pointer() uintptr
	Init_asNSViewController() NSViewController
}

type NSViewRef added in v0.2.0

type NSViewRef interface {
	Pointer() uintptr
	Init_asNSView() NSView
}

type NSVisualEffectView

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

func NSVisualEffectView_New

func NSVisualEffectView_New() NSVisualEffectView

func NSVisualEffectView_alloc added in v0.2.0

func NSVisualEffectView_alloc() (
	r0 NSVisualEffectView,
)

func NSVisualEffectView_fromPointer added in v0.2.0

func NSVisualEffectView_fromPointer(ptr unsafe.Pointer) NSVisualEffectView

func NSVisualEffectView_fromRef added in v0.2.0

func NSVisualEffectView_fromRef(ref objc.Ref) NSVisualEffectView

func (NSVisualEffectView) Init_asNSVisualEffectView added in v0.2.0

func (x NSVisualEffectView) Init_asNSVisualEffectView() (
	r0 NSVisualEffectView,
)

func (NSVisualEffectView) IsEmphasized added in v0.2.0

func (x NSVisualEffectView) IsEmphasized() (
	r0 bool,
)

func (NSVisualEffectView) MaskImage added in v0.2.0

func (x NSVisualEffectView) MaskImage() (
	r0 NSImage,
)

func (NSVisualEffectView) SetEmphasized_ added in v0.2.0

func (x NSVisualEffectView) SetEmphasized_(
	value bool,
)

func (NSVisualEffectView) SetMaskImage_ added in v0.2.0

func (x NSVisualEffectView) SetMaskImage_(
	value NSImageRef,
)

func (NSVisualEffectView) ViewDidMoveToWindow added in v0.2.0

func (x NSVisualEffectView) ViewDidMoveToWindow()

func (NSVisualEffectView) ViewWillMoveToWindow_ added in v0.2.0

func (x NSVisualEffectView) ViewWillMoveToWindow_(
	newWindow NSWindowRef,
)

type NSVisualEffectViewRef added in v0.2.0

type NSVisualEffectViewRef interface {
	Pointer() uintptr
	Init_asNSVisualEffectView() NSVisualEffectView
}

type NSWindow

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

func NSWindow_Init

func NSWindow_Init(rect core.NSRect, windowStyle core.NSUInteger, bufferingType NSBackingStoreType, deferCreation bool) NSWindow

func NSWindow_New

func NSWindow_New() NSWindow

func NSWindow_WithContentViewController

func NSWindow_WithContentViewController(controller NSViewControllerRef) NSWindow

func NSWindow_alloc added in v0.2.0

func NSWindow_alloc() (
	r0 NSWindow,
)

func NSWindow_fromPointer added in v0.2.0

func NSWindow_fromPointer(ptr unsafe.Pointer) NSWindow

func NSWindow_fromRef added in v0.2.0

func NSWindow_fromRef(ref objc.Ref) NSWindow

func NSWindow_windowWithContentViewController_ added in v0.2.0

func NSWindow_windowWithContentViewController_(
	contentViewController NSViewControllerRef,
) (
	r0 NSWindow,
)

func (NSWindow) AcceptsMouseMovedEvents added in v0.2.0

func (x NSWindow) AcceptsMouseMovedEvents() (
	r0 bool,
)

func (NSWindow) AddChildWindow_ordered_ added in v0.2.0

func (x NSWindow) AddChildWindow_ordered_(
	childWin NSWindowRef,
	place core.NSUInteger,
)

func (NSWindow) AddTabbedWindow_ordered_ added in v0.2.0

func (x NSWindow) AddTabbedWindow_ordered_(
	window NSWindowRef,
	ordered core.NSUInteger,
)

func (NSWindow) AllowsConcurrentViewDrawing added in v0.2.0

func (x NSWindow) AllowsConcurrentViewDrawing() (
	r0 bool,
)

func (NSWindow) AllowsToolTipsWhenApplicationIsInactive added in v0.2.0

func (x NSWindow) AllowsToolTipsWhenApplicationIsInactive() (
	r0 bool,
)

func (NSWindow) AlphaValue added in v0.2.0

func (x NSWindow) AlphaValue() (
	r0 core.CGFloat,
)

func (NSWindow) AreCursorRectsEnabled added in v0.2.0

func (x NSWindow) AreCursorRectsEnabled() (
	r0 bool,
)

func (NSWindow) AspectRatio added in v0.2.0

func (x NSWindow) AspectRatio() (
	r0 core.NSSize,
)

func (NSWindow) AttachedSheet added in v0.2.0

func (x NSWindow) AttachedSheet() (
	r0 NSWindow,
)

func (NSWindow) AutorecalculatesKeyViewLoop added in v0.2.0

func (x NSWindow) AutorecalculatesKeyViewLoop() (
	r0 bool,
)

func (NSWindow) BackgroundColor

func (x NSWindow) BackgroundColor() (
	r0 NSColor,
)

func (NSWindow) BackingScaleFactor added in v0.2.0

func (x NSWindow) BackingScaleFactor() (
	r0 core.CGFloat,
)

func (NSWindow) BackingType added in v0.2.0

func (x NSWindow) BackingType() (
	r0 core.NSUInteger,
)

func (NSWindow) BecomeKeyWindow added in v0.2.0

func (x NSWindow) BecomeKeyWindow()

func (NSWindow) BecomeMainWindow added in v0.2.0

func (x NSWindow) BecomeMainWindow()

func (NSWindow) CanBecomeKeyWindow added in v0.2.0

func (x NSWindow) CanBecomeKeyWindow() (
	r0 bool,
)

func (NSWindow) CanBecomeMainWindow added in v0.2.0

func (x NSWindow) CanBecomeMainWindow() (
	r0 bool,
)

func (NSWindow) CanBecomeVisibleWithoutLogin added in v0.2.0

func (x NSWindow) CanBecomeVisibleWithoutLogin() (
	r0 bool,
)

func (NSWindow) CanHide added in v0.2.0

func (x NSWindow) CanHide() (
	r0 bool,
)

func (NSWindow) CascadeTopLeftFromPoint_ added in v0.2.0

func (x NSWindow) CascadeTopLeftFromPoint_(
	topLeftPoint core.NSPoint,
) (
	r0 core.NSPoint,
)

func (NSWindow) Center

func (x NSWindow) Center()

func (NSWindow) ChildWindows added in v0.2.0

func (x NSWindow) ChildWindows() (
	r0 core.NSArray,
)

func (NSWindow) Close

func (x NSWindow) Close()

func (NSWindow) CollectionBehavior

func (w NSWindow) CollectionBehavior() uint

func (NSWindow) ConstrainFrameRect_toScreen_ added in v0.2.0

func (x NSWindow) ConstrainFrameRect_toScreen_(
	frameRect core.NSRect,
	screen NSScreenRef,
) (
	r0 core.NSRect,
)

func (NSWindow) ContentAspectRatio added in v0.2.0

func (x NSWindow) ContentAspectRatio() (
	r0 core.NSSize,
)

func (NSWindow) ContentLayoutGuide added in v0.2.0

func (x NSWindow) ContentLayoutGuide() (
	r0 objc.Object,
)

func (NSWindow) ContentLayoutRect added in v0.2.0

func (x NSWindow) ContentLayoutRect() (
	r0 core.NSRect,
)

func (NSWindow) ContentMaxSize added in v0.2.0

func (x NSWindow) ContentMaxSize() (
	r0 core.NSSize,
)

func (NSWindow) ContentMinSize added in v0.2.0

func (x NSWindow) ContentMinSize() (
	r0 core.NSSize,
)

func (NSWindow) ContentRectForFrameRect

func (w NSWindow) ContentRectForFrameRect(frameRect core.NSRect) (rect core.NSRect)

func (NSWindow) ContentRectForFrameRect_ added in v0.2.0

func (x NSWindow) ContentRectForFrameRect_(
	frameRect core.NSRect,
) (
	r0 core.NSRect,
)

func (NSWindow) ContentResizeIncrements added in v0.2.0

func (x NSWindow) ContentResizeIncrements() (
	r0 core.NSSize,
)

func (NSWindow) ContentView

func (x NSWindow) ContentView() (
	r0 NSView,
)

func (NSWindow) ContentViewController added in v0.2.0

func (x NSWindow) ContentViewController() (
	r0 NSViewController,
)

func (NSWindow) ConvertPointFromBacking_ added in v0.2.0

func (x NSWindow) ConvertPointFromBacking_(
	point core.NSPoint,
) (
	r0 core.NSPoint,
)

func (NSWindow) ConvertPointFromScreen_ added in v0.2.0

func (x NSWindow) ConvertPointFromScreen_(
	point core.NSPoint,
) (
	r0 core.NSPoint,
)

func (NSWindow) ConvertPointToBacking_ added in v0.2.0

func (x NSWindow) ConvertPointToBacking_(
	point core.NSPoint,
) (
	r0 core.NSPoint,
)

func (NSWindow) ConvertPointToScreen_ added in v0.2.0

func (x NSWindow) ConvertPointToScreen_(
	point core.NSPoint,
) (
	r0 core.NSPoint,
)

func (NSWindow) ConvertRectFromBacking_ added in v0.2.0

func (x NSWindow) ConvertRectFromBacking_(
	rect core.NSRect,
) (
	r0 core.NSRect,
)

func (NSWindow) ConvertRectFromScreen_ added in v0.2.0

func (x NSWindow) ConvertRectFromScreen_(
	rect core.NSRect,
) (
	r0 core.NSRect,
)

func (NSWindow) ConvertRectToBacking_ added in v0.2.0

func (x NSWindow) ConvertRectToBacking_(
	rect core.NSRect,
) (
	r0 core.NSRect,
)

func (NSWindow) ConvertRectToScreen_ added in v0.2.0

func (x NSWindow) ConvertRectToScreen_(
	rect core.NSRect,
) (
	r0 core.NSRect,
)

func (NSWindow) CurrentEvent added in v0.2.0

func (x NSWindow) CurrentEvent() (
	r0 NSEvent,
)

func (NSWindow) DataWithEPSInsideRect_ added in v0.2.0

func (x NSWindow) DataWithEPSInsideRect_(
	rect core.NSRect,
) (
	r0 core.NSData,
)

func (NSWindow) DataWithPDFInsideRect_ added in v0.2.0

func (x NSWindow) DataWithPDFInsideRect_(
	rect core.NSRect,
) (
	r0 core.NSData,
)

func (NSWindow) DeepestScreen added in v0.2.0

func (x NSWindow) DeepestScreen() (
	r0 NSScreen,
)

func (NSWindow) Delegate added in v0.2.0

func (x NSWindow) Delegate() (
	r0 objc.Object,
)

func (NSWindow) Deminiaturize_ added in v0.2.0

func (x NSWindow) Deminiaturize_(
	sender objc.Ref,
)

func (NSWindow) DeviceDescription added in v0.2.0

func (x NSWindow) DeviceDescription() (
	r0 core.NSDictionary,
)

func (NSWindow) DisableCursorRects added in v0.2.0

func (x NSWindow) DisableCursorRects()

func (NSWindow) DisableKeyEquivalentForDefaultButtonCell added in v0.2.0

func (x NSWindow) DisableKeyEquivalentForDefaultButtonCell()

func (NSWindow) DisableScreenUpdatesUntilFlush added in v0.2.0

func (x NSWindow) DisableScreenUpdatesUntilFlush()

func (NSWindow) DisableSnapshotRestoration added in v0.2.0

func (x NSWindow) DisableSnapshotRestoration()

func (NSWindow) DiscardCursorRects added in v0.2.0

func (x NSWindow) DiscardCursorRects()

func (NSWindow) Display

func (x NSWindow) Display()

func (NSWindow) DisplayIfNeeded added in v0.2.0

func (x NSWindow) DisplayIfNeeded()

func (NSWindow) DisplaysWhenScreenProfileChanges added in v0.2.0

func (x NSWindow) DisplaysWhenScreenProfileChanges() (
	r0 bool,
)

func (NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack_ added in v0.2.0

func (x NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack_(
	image NSImageRef,
	baseLocation core.NSPoint,
	initialOffset core.NSSize,
	event NSEventRef,
	pboard NSPasteboardRef,
	sourceObj objc.Ref,
	slideFlag bool,
)

func (NSWindow) EnableCursorRects added in v0.2.0

func (x NSWindow) EnableCursorRects()

func (NSWindow) EnableKeyEquivalentForDefaultButtonCell added in v0.2.0

func (x NSWindow) EnableKeyEquivalentForDefaultButtonCell()

func (NSWindow) EnableSnapshotRestoration added in v0.2.0

func (x NSWindow) EnableSnapshotRestoration()

func (NSWindow) EndEditingFor_ added in v0.2.0

func (x NSWindow) EndEditingFor_(
	object objc.Ref,
)

func (NSWindow) EndSheet_ added in v0.2.0

func (x NSWindow) EndSheet_(
	sheetWindow NSWindowRef,
)

func (NSWindow) FieldEditor_forObject_ added in v0.2.0

func (x NSWindow) FieldEditor_forObject_(
	createFlag bool,
	object objc.Ref,
) (
	r0 NSText,
)

func (NSWindow) Frame

func (x NSWindow) Frame() (
	r0 core.NSRect,
)

func (NSWindow) FrameRectForContentRect_ added in v0.2.0

func (x NSWindow) FrameRectForContentRect_(
	contentRect core.NSRect,
) (
	r0 core.NSRect,
)

func (NSWindow) HasCloseBox added in v0.2.0

func (x NSWindow) HasCloseBox() (
	r0 bool,
)

func (NSWindow) HasDynamicDepthLimit added in v0.2.0

func (x NSWindow) HasDynamicDepthLimit() (
	r0 bool,
)

func (NSWindow) HasShadow added in v0.0.3

func (x NSWindow) HasShadow() (
	r0 bool,
)

func (NSWindow) HasTitleBar added in v0.2.0

func (x NSWindow) HasTitleBar() (
	r0 bool,
)

func (NSWindow) HidesOnDeactivate added in v0.2.0

func (x NSWindow) HidesOnDeactivate() (
	r0 bool,
)

func (NSWindow) IgnoresMouseEvents

func (x NSWindow) IgnoresMouseEvents() (
	r0 bool,
)

func (NSWindow) InLiveResize added in v0.2.0

func (x NSWindow) InLiveResize() (
	r0 bool,
)

func (NSWindow) InitWithContentRect_styleMask_backing_defer__asNSWindow added in v0.2.0

func (x NSWindow) InitWithContentRect_styleMask_backing_defer__asNSWindow(
	contentRect core.NSRect,
	style core.NSUInteger,
	backingStoreType core.NSUInteger,
	flag bool,
) (
	r0 NSWindow,
)

func (NSWindow) InitWithContentRect_styleMask_backing_defer_screen__asNSWindow added in v0.2.0

func (x NSWindow) InitWithContentRect_styleMask_backing_defer_screen__asNSWindow(
	contentRect core.NSRect,
	style core.NSUInteger,
	backingStoreType core.NSUInteger,
	flag bool,
	screen NSScreenRef,
) (
	r0 NSWindow,
)

func (NSWindow) Init_asNSWindow added in v0.2.0

func (x NSWindow) Init_asNSWindow() (
	r0 NSWindow,
)

func (NSWindow) InitialFirstResponder added in v0.2.0

func (x NSWindow) InitialFirstResponder() (
	r0 NSView,
)

func (NSWindow) InvalidateCursorRectsForView_ added in v0.2.0

func (x NSWindow) InvalidateCursorRectsForView_(
	view NSViewRef,
)

func (NSWindow) InvalidateShadow added in v0.2.0

func (x NSWindow) InvalidateShadow()

func (NSWindow) IsDocumentEdited added in v0.2.0

func (x NSWindow) IsDocumentEdited() (
	r0 bool,
)

func (NSWindow) IsExcludedFromWindowsMenu added in v0.2.0

func (x NSWindow) IsExcludedFromWindowsMenu() (
	r0 bool,
)

func (NSWindow) IsFloatingPanel added in v0.2.0

func (x NSWindow) IsFloatingPanel() (
	r0 bool,
)

func (NSWindow) IsKeyWindow added in v0.2.0

func (x NSWindow) IsKeyWindow() (
	r0 bool,
)

func (NSWindow) IsMainWindow added in v0.2.0

func (x NSWindow) IsMainWindow() (
	r0 bool,
)

func (NSWindow) IsMiniaturizable added in v0.2.0

func (x NSWindow) IsMiniaturizable() (
	r0 bool,
)

func (NSWindow) IsMiniaturized added in v0.2.0

func (x NSWindow) IsMiniaturized() (
	r0 bool,
)

func (NSWindow) IsModalPanel added in v0.2.0

func (x NSWindow) IsModalPanel() (
	r0 bool,
)

func (NSWindow) IsMovable added in v0.2.0

func (x NSWindow) IsMovable() (
	r0 bool,
)

func (NSWindow) IsMovableByWindowBackground added in v0.2.0

func (x NSWindow) IsMovableByWindowBackground() (
	r0 bool,
)

func (NSWindow) IsOnActiveSpace added in v0.2.0

func (x NSWindow) IsOnActiveSpace() (
	r0 bool,
)

func (NSWindow) IsOpaque added in v0.2.0

func (x NSWindow) IsOpaque() (
	r0 bool,
)

func (NSWindow) IsReleasedWhenClosed added in v0.2.0

func (x NSWindow) IsReleasedWhenClosed() (
	r0 bool,
)

func (NSWindow) IsResizable added in v0.2.0

func (x NSWindow) IsResizable() (
	r0 bool,
)

func (NSWindow) IsRestorable added in v0.2.0

func (x NSWindow) IsRestorable() (
	r0 bool,
)

func (NSWindow) IsSheet added in v0.2.0

func (x NSWindow) IsSheet() (
	r0 bool,
)

func (NSWindow) IsVisible

func (x NSWindow) IsVisible() (
	r0 bool,
)

func (NSWindow) IsZoomable added in v0.2.0

func (x NSWindow) IsZoomable() (
	r0 bool,
)

func (NSWindow) IsZoomed added in v0.2.0

func (x NSWindow) IsZoomed() (
	r0 bool,
)

func (NSWindow) LayoutIfNeeded added in v0.2.0

func (x NSWindow) LayoutIfNeeded()

func (NSWindow) Level

func (w NSWindow) Level() int64

func (NSWindow) MakeKeyAndOrderFront

func (w NSWindow) MakeKeyAndOrderFront(sender objc.Object)

func (NSWindow) MakeKeyAndOrderFront_ added in v0.2.0

func (x NSWindow) MakeKeyAndOrderFront_(
	sender objc.Ref,
)

func (NSWindow) MakeKeyWindow added in v0.2.0

func (x NSWindow) MakeKeyWindow()

func (NSWindow) MakeMainWindow added in v0.2.0

func (x NSWindow) MakeMainWindow()

func (NSWindow) MaxFullScreenContentSize added in v0.2.0

func (x NSWindow) MaxFullScreenContentSize() (
	r0 core.NSSize,
)

func (NSWindow) MaxSize added in v0.2.0

func (x NSWindow) MaxSize() (
	r0 core.NSSize,
)

func (NSWindow) MergeAllWindows_ added in v0.2.0

func (x NSWindow) MergeAllWindows_(
	sender objc.Ref,
)

func (NSWindow) MinFullScreenContentSize added in v0.2.0

func (x NSWindow) MinFullScreenContentSize() (
	r0 core.NSSize,
)

func (NSWindow) MinSize added in v0.2.0

func (x NSWindow) MinSize() (
	r0 core.NSSize,
)

func (NSWindow) Miniaturize_ added in v0.2.0

func (x NSWindow) Miniaturize_(
	sender objc.Ref,
)

func (NSWindow) MiniwindowImage added in v0.2.0

func (x NSWindow) MiniwindowImage() (
	r0 NSImage,
)

func (NSWindow) MiniwindowTitle added in v0.2.0

func (x NSWindow) MiniwindowTitle() (
	r0 core.NSString,
)

func (NSWindow) MouseLocationOutsideOfEventStream added in v0.2.0

func (x NSWindow) MouseLocationOutsideOfEventStream() (
	r0 core.NSPoint,
)

func (NSWindow) MovableByWindowBackground

func (w NSWindow) MovableByWindowBackground() bool

func (NSWindow) MoveTabToNewWindow_ added in v0.2.0

func (x NSWindow) MoveTabToNewWindow_(
	sender objc.Ref,
)

func (NSWindow) Opaque

func (w NSWindow) Opaque() bool

func (NSWindow) OrderBack added in v0.0.3

func (w NSWindow) OrderBack(sender objc.Object)

OrderBack moves the window to the back of its level in the screen list, without changing either the key window or the main window. https://developer.apple.com/documentation/appkit/nswindow/1419204-orderback?language=objc

func (NSWindow) OrderBack_ added in v0.2.0

func (x NSWindow) OrderBack_(
	sender objc.Ref,
)

func (NSWindow) OrderFront added in v0.0.3

func (w NSWindow) OrderFront(sender objc.Object)

OrderFront moves the window to the front of its level in the screen list, without changing either the key window or the main window. https://developer.apple.com/documentation/appkit/nswindow/1419495-orderfront?language=objc

func (NSWindow) OrderFrontRegardless added in v0.2.0

func (x NSWindow) OrderFrontRegardless()

func (NSWindow) OrderFront_ added in v0.2.0

func (x NSWindow) OrderFront_(
	sender objc.Ref,
)

func (NSWindow) OrderOut added in v0.0.3

func (w NSWindow) OrderOut(sender objc.Object)

OrderOut removes the window from the screen list, which hides the window. https://developer.apple.com/documentation/appkit/nswindow/1419660-orderout?language=objc

func (NSWindow) OrderOut_ added in v0.2.0

func (x NSWindow) OrderOut_(
	sender objc.Ref,
)

func (NSWindow) OrderWindow_relativeTo_ added in v0.2.0

func (x NSWindow) OrderWindow_relativeTo_(
	place core.NSUInteger,
	otherWin core.NSInteger,
)

func (NSWindow) OrderedIndex added in v0.2.0

func (x NSWindow) OrderedIndex() (
	r0 core.NSInteger,
)

func (NSWindow) ParentWindow added in v0.2.0

func (x NSWindow) ParentWindow() (
	r0 NSWindow,
)

func (NSWindow) PerformClose_ added in v0.2.0

func (x NSWindow) PerformClose_(
	sender objc.Ref,
)

func (NSWindow) PerformMiniaturize_ added in v0.2.0

func (x NSWindow) PerformMiniaturize_(
	sender objc.Ref,
)

func (NSWindow) PerformWindowDragWithEvent_ added in v0.2.0

func (x NSWindow) PerformWindowDragWithEvent_(
	event NSEventRef,
)

func (NSWindow) PerformZoom_ added in v0.2.0

func (x NSWindow) PerformZoom_(
	sender objc.Ref,
)

func (NSWindow) PostEvent_atStart_ added in v0.2.0

func (x NSWindow) PostEvent_atStart_(
	event NSEventRef,
	flag bool,
)

func (NSWindow) PreservesContentDuringLiveResize added in v0.2.0

func (x NSWindow) PreservesContentDuringLiveResize() (
	r0 bool,
)

func (NSWindow) PreventsApplicationTerminationWhenModal added in v0.2.0

func (x NSWindow) PreventsApplicationTerminationWhenModal() (
	r0 bool,
)

func (NSWindow) Print_ added in v0.2.0

func (x NSWindow) Print_(
	sender objc.Ref,
)

func (NSWindow) RecalculateKeyViewLoop added in v0.2.0

func (x NSWindow) RecalculateKeyViewLoop()

func (NSWindow) RegisterForDraggedTypes_ added in v0.2.0

func (x NSWindow) RegisterForDraggedTypes_(
	newTypes core.NSArrayRef,
)

func (NSWindow) RemoveChildWindow_ added in v0.2.0

func (x NSWindow) RemoveChildWindow_(
	childWin NSWindowRef,
)

func (NSWindow) RemoveTitlebarAccessoryViewControllerAtIndex_ added in v0.2.0

func (x NSWindow) RemoveTitlebarAccessoryViewControllerAtIndex_(
	index core.NSInteger,
)

func (NSWindow) RepresentedFilename added in v0.2.0

func (x NSWindow) RepresentedFilename() (
	r0 core.NSString,
)

func (NSWindow) RepresentedURL added in v0.2.0

func (x NSWindow) RepresentedURL() (
	r0 core.NSURL,
)

func (NSWindow) ResetCursorRects added in v0.2.0

func (x NSWindow) ResetCursorRects()

func (NSWindow) ResignKeyWindow added in v0.2.0

func (x NSWindow) ResignKeyWindow()

func (NSWindow) ResignMainWindow added in v0.2.0

func (x NSWindow) ResignMainWindow()

func (NSWindow) ResizeIncrements added in v0.2.0

func (x NSWindow) ResizeIncrements() (
	r0 core.NSSize,
)

func (NSWindow) RunToolbarCustomizationPalette_ added in v0.2.0

func (x NSWindow) RunToolbarCustomizationPalette_(
	sender objc.Ref,
)

func (NSWindow) Screen added in v0.2.0

func (x NSWindow) Screen() (
	r0 NSScreen,
)

func (NSWindow) SelectKeyViewFollowingView_ added in v0.2.0

func (x NSWindow) SelectKeyViewFollowingView_(
	view NSViewRef,
)

func (NSWindow) SelectKeyViewPrecedingView_ added in v0.2.0

func (x NSWindow) SelectKeyViewPrecedingView_(
	view NSViewRef,
)

func (NSWindow) SelectNextKeyView_ added in v0.2.0

func (x NSWindow) SelectNextKeyView_(
	sender objc.Ref,
)

func (NSWindow) SelectNextTab_ added in v0.2.0

func (x NSWindow) SelectNextTab_(
	sender objc.Ref,
)

func (NSWindow) SelectPreviousKeyView_ added in v0.2.0

func (x NSWindow) SelectPreviousKeyView_(
	sender objc.Ref,
)

func (NSWindow) SelectPreviousTab_ added in v0.2.0

func (x NSWindow) SelectPreviousTab_(
	sender objc.Ref,
)

func (NSWindow) SendEvent_ added in v0.2.0

func (x NSWindow) SendEvent_(
	event NSEventRef,
)

func (NSWindow) SetAcceptsMouseMovedEvents_ added in v0.2.0

func (x NSWindow) SetAcceptsMouseMovedEvents_(
	value bool,
)

func (NSWindow) SetAllowsConcurrentViewDrawing_ added in v0.2.0

func (x NSWindow) SetAllowsConcurrentViewDrawing_(
	value bool,
)

func (NSWindow) SetAllowsToolTipsWhenApplicationIsInactive_ added in v0.2.0

func (x NSWindow) SetAllowsToolTipsWhenApplicationIsInactive_(
	value bool,
)

func (NSWindow) SetAlphaValue_ added in v0.2.0

func (x NSWindow) SetAlphaValue_(
	value core.CGFloat,
)

func (NSWindow) SetAspectRatio_ added in v0.2.0

func (x NSWindow) SetAspectRatio_(
	value core.NSSize,
)

func (NSWindow) SetAutorecalculatesKeyViewLoop_ added in v0.2.0

func (x NSWindow) SetAutorecalculatesKeyViewLoop_(
	value bool,
)

func (NSWindow) SetBackgroundColor

func (w NSWindow) SetBackgroundColor(color NSColor)

func (NSWindow) SetBackgroundColor_ added in v0.2.0

func (x NSWindow) SetBackgroundColor_(
	value NSColorRef,
)

func (NSWindow) SetBackingType_ added in v0.2.0

func (x NSWindow) SetBackingType_(
	value core.NSUInteger,
)

func (NSWindow) SetCanBecomeVisibleWithoutLogin_ added in v0.2.0

func (x NSWindow) SetCanBecomeVisibleWithoutLogin_(
	value bool,
)

func (NSWindow) SetCanHide_ added in v0.2.0

func (x NSWindow) SetCanHide_(
	value bool,
)

func (NSWindow) SetCollectionBehavior

func (w NSWindow) SetCollectionBehavior(collectionBehavior uint)

func (NSWindow) SetCollectionBehavior_ added in v0.2.0

func (x NSWindow) SetCollectionBehavior_(
	value core.NSUInteger,
)

func (NSWindow) SetContentAspectRatio_ added in v0.2.0

func (x NSWindow) SetContentAspectRatio_(
	value core.NSSize,
)

func (NSWindow) SetContentMaxSize_ added in v0.2.0

func (x NSWindow) SetContentMaxSize_(
	value core.NSSize,
)

func (NSWindow) SetContentMinSize_ added in v0.2.0

func (x NSWindow) SetContentMinSize_(
	value core.NSSize,
)

func (NSWindow) SetContentResizeIncrements_ added in v0.2.0

func (x NSWindow) SetContentResizeIncrements_(
	value core.NSSize,
)

func (NSWindow) SetContentSize_ added in v0.2.0

func (x NSWindow) SetContentSize_(
	size core.NSSize,
)

func (NSWindow) SetContentView

func (w NSWindow) SetContentView(view NSViewRef)

func (NSWindow) SetContentViewController_ added in v0.2.0

func (x NSWindow) SetContentViewController_(
	value NSViewControllerRef,
)

func (NSWindow) SetContentView_ added in v0.2.0

func (x NSWindow) SetContentView_(
	value NSViewRef,
)

func (NSWindow) SetDelegate_ added in v0.2.0

func (x NSWindow) SetDelegate_(
	value objc.Ref,
)

func (NSWindow) SetDisplaysWhenScreenProfileChanges_ added in v0.2.0

func (x NSWindow) SetDisplaysWhenScreenProfileChanges_(
	value bool,
)

func (NSWindow) SetDocumentEdited_ added in v0.2.0

func (x NSWindow) SetDocumentEdited_(
	value bool,
)

func (NSWindow) SetDynamicDepthLimit_ added in v0.2.0

func (x NSWindow) SetDynamicDepthLimit_(
	flag bool,
)

func (NSWindow) SetExcludedFromWindowsMenu_ added in v0.2.0

func (x NSWindow) SetExcludedFromWindowsMenu_(
	value bool,
)

func (NSWindow) SetFrameDisplay

func (w NSWindow) SetFrameDisplay(frame core.NSRect, display bool)

func (NSWindow) SetFrameOrigin_ added in v0.2.0

func (x NSWindow) SetFrameOrigin_(
	point core.NSPoint,
)

func (NSWindow) SetFrameTopLeftPoint_ added in v0.2.0

func (x NSWindow) SetFrameTopLeftPoint_(
	point core.NSPoint,
)

func (NSWindow) SetFrame_display_ added in v0.2.0

func (x NSWindow) SetFrame_display_(
	frameRect core.NSRect,
	flag bool,
)

func (NSWindow) SetFrame_display_animate_ added in v0.2.0

func (x NSWindow) SetFrame_display_animate_(
	frameRect core.NSRect,
	displayFlag bool,
	animateFlag bool,
)

func (NSWindow) SetHasShadow added in v0.0.3

func (w NSWindow) SetHasShadow(b bool)

SetHasShadow sets a Boolean value that indicates whether the window has a shadow. https://developer.apple.com/documentation/appkit/nswindow/1419234-hasshadow?language=objc

func (NSWindow) SetHasShadow_ added in v0.2.0

func (x NSWindow) SetHasShadow_(
	value bool,
)

func (NSWindow) SetHidesOnDeactivate_ added in v0.2.0

func (x NSWindow) SetHidesOnDeactivate_(
	value bool,
)

func (NSWindow) SetIgnoresMouseEvents

func (w NSWindow) SetIgnoresMouseEvents(b bool)

func (NSWindow) SetIgnoresMouseEvents_ added in v0.2.0

func (x NSWindow) SetIgnoresMouseEvents_(
	value bool,
)

func (NSWindow) SetInitialFirstResponder_ added in v0.2.0

func (x NSWindow) SetInitialFirstResponder_(
	value NSViewRef,
)

func (NSWindow) SetIsMiniaturized_ added in v0.2.0

func (x NSWindow) SetIsMiniaturized_(
	flag bool,
)

func (NSWindow) SetIsVisible_ added in v0.2.0

func (x NSWindow) SetIsVisible_(
	flag bool,
)

func (NSWindow) SetIsZoomed_ added in v0.2.0

func (x NSWindow) SetIsZoomed_(
	flag bool,
)

func (NSWindow) SetLevel

func (w NSWindow) SetLevel(level int)

func (NSWindow) SetLevel_ added in v0.2.0

func (x NSWindow) SetLevel_(
	value core.NSInteger,
)

func (NSWindow) SetMaxFullScreenContentSize_ added in v0.2.0

func (x NSWindow) SetMaxFullScreenContentSize_(
	value core.NSSize,
)

func (NSWindow) SetMaxSize_ added in v0.2.0

func (x NSWindow) SetMaxSize_(
	value core.NSSize,
)

func (NSWindow) SetMinFullScreenContentSize_ added in v0.2.0

func (x NSWindow) SetMinFullScreenContentSize_(
	value core.NSSize,
)

func (NSWindow) SetMinSize_ added in v0.2.0

func (x NSWindow) SetMinSize_(
	value core.NSSize,
)

func (NSWindow) SetMiniwindowImage_ added in v0.2.0

func (x NSWindow) SetMiniwindowImage_(
	value NSImageRef,
)

func (NSWindow) SetMiniwindowTitle_ added in v0.2.0

func (x NSWindow) SetMiniwindowTitle_(
	value core.NSStringRef,
)

func (NSWindow) SetMovableByWindowBackground

func (w NSWindow) SetMovableByWindowBackground(b bool)

func (NSWindow) SetMovableByWindowBackground_ added in v0.2.0

func (x NSWindow) SetMovableByWindowBackground_(
	value bool,
)

func (NSWindow) SetMovable_ added in v0.2.0

func (x NSWindow) SetMovable_(
	value bool,
)

func (NSWindow) SetOpaque

func (w NSWindow) SetOpaque(b bool)

func (NSWindow) SetOpaque_ added in v0.2.0

func (x NSWindow) SetOpaque_(
	value bool,
)

func (NSWindow) SetOrderedIndex_ added in v0.2.0

func (x NSWindow) SetOrderedIndex_(
	value core.NSInteger,
)

func (NSWindow) SetParentWindow_ added in v0.2.0

func (x NSWindow) SetParentWindow_(
	value NSWindowRef,
)

func (NSWindow) SetPreservesContentDuringLiveResize_ added in v0.2.0

func (x NSWindow) SetPreservesContentDuringLiveResize_(
	value bool,
)

func (NSWindow) SetPreventsApplicationTerminationWhenModal_ added in v0.2.0

func (x NSWindow) SetPreventsApplicationTerminationWhenModal_(
	value bool,
)

func (NSWindow) SetReleasedWhenClosed_ added in v0.2.0

func (x NSWindow) SetReleasedWhenClosed_(
	value bool,
)

func (NSWindow) SetRepresentedFilename_ added in v0.2.0

func (x NSWindow) SetRepresentedFilename_(
	value core.NSStringRef,
)

func (NSWindow) SetRepresentedURL_ added in v0.2.0

func (x NSWindow) SetRepresentedURL_(
	value core.NSURLRef,
)

func (NSWindow) SetResizeIncrements_ added in v0.2.0

func (x NSWindow) SetResizeIncrements_(
	value core.NSSize,
)

func (NSWindow) SetRestorable_ added in v0.2.0

func (x NSWindow) SetRestorable_(
	value bool,
)

func (NSWindow) SetShowsToolbarButton_ added in v0.2.0

func (x NSWindow) SetShowsToolbarButton_(
	value bool,
)

func (NSWindow) SetStyleMask

func (w NSWindow) SetStyleMask(mask uint)

func (NSWindow) SetStyleMask_ added in v0.2.0

func (x NSWindow) SetStyleMask_(
	value core.NSUInteger,
)

func (NSWindow) SetSubtitle_ added in v0.2.0

func (x NSWindow) SetSubtitle_(
	value core.NSStringRef,
)

func (NSWindow) SetTitle

func (w NSWindow) SetTitle(title string)

func (NSWindow) SetTitleVisibility

func (w NSWindow) SetTitleVisibility(v int)

func (NSWindow) SetTitleVisibility_ added in v0.2.0

func (x NSWindow) SetTitleVisibility_(
	value core.NSInteger,
)

func (NSWindow) SetTitleWithRepresentedFilename_ added in v0.2.0

func (x NSWindow) SetTitleWithRepresentedFilename_(
	filename core.NSStringRef,
)

func (NSWindow) SetTitle_ added in v0.2.0

func (x NSWindow) SetTitle_(
	value core.NSStringRef,
)

func (NSWindow) SetTitlebarAccessoryViewControllers_ added in v0.2.0

func (x NSWindow) SetTitlebarAccessoryViewControllers_(
	value core.NSArrayRef,
)

func (NSWindow) SetTitlebarAppearsTransparent

func (w NSWindow) SetTitlebarAppearsTransparent(b bool)

func (NSWindow) SetTitlebarAppearsTransparent_ added in v0.2.0

func (x NSWindow) SetTitlebarAppearsTransparent_(
	value bool,
)

func (NSWindow) SetViewsNeedDisplay_ added in v0.2.0

func (x NSWindow) SetViewsNeedDisplay_(
	value bool,
)

func (NSWindow) SheetParent added in v0.2.0

func (x NSWindow) SheetParent() (
	r0 NSWindow,
)

func (NSWindow) Sheets added in v0.2.0

func (x NSWindow) Sheets() (
	r0 core.NSArray,
)

func (NSWindow) ShowsToolbarButton added in v0.2.0

func (x NSWindow) ShowsToolbarButton() (
	r0 bool,
)

func (NSWindow) StyleMask

func (w NSWindow) StyleMask() uint

func (NSWindow) Subtitle added in v0.2.0

func (x NSWindow) Subtitle() (
	r0 core.NSString,
)

func (NSWindow) TabbedWindows added in v0.2.0

func (x NSWindow) TabbedWindows() (
	r0 core.NSArray,
)

func (NSWindow) Title

func (w NSWindow) Title() string

func (NSWindow) TitleVisibility

func (w NSWindow) TitleVisibility() int64

func (NSWindow) TitlebarAccessoryViewControllers added in v0.2.0

func (x NSWindow) TitlebarAccessoryViewControllers() (
	r0 core.NSArray,
)

func (NSWindow) TitlebarAppearsTransparent

func (x NSWindow) TitlebarAppearsTransparent() (
	r0 bool,
)

func (NSWindow) ToggleFullScreen

func (w NSWindow) ToggleFullScreen(s objc.Object)

func (NSWindow) ToggleFullScreen_ added in v0.2.0

func (x NSWindow) ToggleFullScreen_(
	sender objc.Ref,
)

func (NSWindow) ToggleTabBar_ added in v0.2.0

func (x NSWindow) ToggleTabBar_(
	sender objc.Ref,
)

func (NSWindow) ToggleTabOverview_ added in v0.2.0

func (x NSWindow) ToggleTabOverview_(
	sender objc.Ref,
)

func (NSWindow) ToggleToolbarShown_ added in v0.2.0

func (x NSWindow) ToggleToolbarShown_(
	sender objc.Ref,
)

func (NSWindow) TryToPerform_with_ added in v0.2.0

func (x NSWindow) TryToPerform_with_(
	action objc.Selector,
	object objc.Ref,
) (
	r0 bool,
)

func (NSWindow) UnregisterDraggedTypes added in v0.2.0

func (x NSWindow) UnregisterDraggedTypes()

func (NSWindow) Update added in v0.2.0

func (x NSWindow) Update()

func (NSWindow) UpdateConstraintsIfNeeded added in v0.2.0

func (x NSWindow) UpdateConstraintsIfNeeded()

func (NSWindow) ViewsNeedDisplay added in v0.2.0

func (x NSWindow) ViewsNeedDisplay() (
	r0 bool,
)

func (NSWindow) VisualizeConstraints_ added in v0.2.0

func (x NSWindow) VisualizeConstraints_(
	constraints core.NSArrayRef,
)

func (NSWindow) WindowNumber added in v0.2.0

func (x NSWindow) WindowNumber() (
	r0 core.NSInteger,
)

func (NSWindow) WorksWhenModal added in v0.2.0

func (x NSWindow) WorksWhenModal() (
	r0 bool,
)

func (NSWindow) Zoom_ added in v0.2.0

func (x NSWindow) Zoom_(
	sender objc.Ref,
)

type NSWindowRef added in v0.2.0

type NSWindowRef interface {
	Pointer() uintptr
	Init_asNSWindow() NSWindow
}

Jump to

Keyboard shortcuts

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