Documentation
¶
Index ¶
- Constants
- Variables
- func NSApplication_detachDrawingThread_toTarget_withObject_(selector objc.Selector, target objc.Ref, argument objc.Ref)
- func NSBundle_URLForResource_withExtension_subdirectory_inBundleWithURL_(name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, ...) (r0 core.NSURL)
- func NSBundle_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_(ext core.NSStringRef, subpath core.NSStringRef, bundleURL core.NSURLRef) (r0 core.NSArray)
- func NSBundle_allBundles() (r0 core.NSArray)
- func NSBundle_allFrameworks() (r0 core.NSArray)
- func NSBundle_pathForResource_ofType_inDirectory_(name core.NSStringRef, ext core.NSStringRef, bundlePath core.NSStringRef) (r0 core.NSString)
- func NSBundle_pathsForResourcesOfType_inDirectory_(ext core.NSStringRef, bundlePath core.NSStringRef) (r0 core.NSArray)
- func NSBundle_preferredLocalizationsFromArray_(localizationsArray core.NSArrayRef) (r0 core.NSArray)
- func NSBundle_preferredLocalizationsFromArray_forPreferences_(localizationsArray core.NSArrayRef, preferencesArray core.NSArrayRef) (r0 core.NSArray)
- func NSColor_ignoresAlpha() (r0 bool)
- func NSColor_setIgnoresAlpha_(value bool)
- func NSEvent_GlobalMonitorMatchingMask(mask uint64, ch chan NSEvent)
- func NSEvent_LocalMonitorMatchingMask(mask uint64, ch chan NSEvent)
- func NSEvent_mouseCoalescingEnabled() (r0 bool)
- func NSEvent_mouseLocation() (r0 core.NSPoint)
- func NSEvent_pressedMouseButtons() (r0 core.NSUInteger)
- func NSEvent_removeMonitor_(eventMonitor objc.Ref)
- func NSEvent_setMouseCoalescingEnabled_(value bool)
- func NSEvent_stopPeriodicEvents()
- func NSEvent_swipeTrackingFromScrollEventsEnabled() (r0 bool)
- func NSFont_labelFontSize() (r0 core.CGFloat)
- func NSFont_setUserFixedPitchFont_(font NSFontRef)
- func NSFont_setUserFont_(font NSFontRef)
- func NSFont_smallSystemFontSize() (r0 core.CGFloat)
- func NSFont_systemFontSize() (r0 core.CGFloat)
- func NSImage_canInitWithPasteboard_(pasteboard NSPasteboardRef) (r0 bool)
- func NSImage_imageTypes() (r0 core.NSArray)
- func NSImage_imageUnfilteredTypes() (r0 core.NSArray)
- func NSMenuItem_setUsesUserKeyEquivalents_(value bool)
- func NSMenuItem_usesUserKeyEquivalents() (r0 bool)
- func NSMenu_menuBarVisible() (r0 bool)
- func NSMenu_popUpContextMenu_withEvent_forView_(menu NSMenuRef, event NSEventRef, view NSViewRef)
- func NSMenu_popUpContextMenu_withEvent_forView_withFont_(menu NSMenuRef, event NSEventRef, view NSViewRef, font NSFontRef)
- func NSMenu_setMenuBarVisible_(visible bool)
- func NSScreen_screens() (r0 core.NSArray)
- func NSScreen_screensHaveSeparateSpaces() (r0 bool)
- func NSSound_canInitWithPasteboard_(pasteboard NSPasteboardRef) (r0 bool)
- func NSSound_soundUnfilteredTypes() (r0 core.NSArray)
- func NSTextView_registerForServices()
- func NSTextView_stronglyReferencesTextStorage() (r0 bool)
- func NSView_compatibleWithResponsiveScrolling() (r0 bool)
- func NSView_requiresConstraintBasedLayout() (r0 bool)
- func NSWindow_allowsAutomaticWindowTabbing() (r0 bool)
- func NSWindow_contentRectForFrameRect_styleMask_(fRect core.NSRect, style core.NSUInteger) (r0 core.NSRect)
- func NSWindow_frameRectForContentRect_styleMask_(cRect core.NSRect, style core.NSUInteger) (r0 core.NSRect)
- func NSWindow_minFrameWidthWithTitle_styleMask_(title core.NSStringRef, style core.NSUInteger) (r0 core.CGFloat)
- func NSWindow_setAllowsAutomaticWindowTabbing_(value bool)
- func NSWindow_windowNumberAtPoint_belowWindowWithWindowNumber_(point core.NSPoint, windowNumber core.NSInteger) (r0 core.NSInteger)
- type NSApplication
- func NSApp() NSApplication
- func NSApp_WithDidLaunch(cb func(notification objc.Object)) NSApplication
- func NSApplication_New() NSApplication
- func NSApplication_alloc() (r0 NSApplication)
- func NSApplication_fromPointer(ptr unsafe.Pointer) NSApplication
- func NSApplication_fromRef(ref objc.Ref) NSApplication
- func NSApplication_sharedApplication() (r0 NSApplication)
- func (x NSApplication) ActivateContextHelpMode_(sender objc.Ref)
- func (app NSApplication) ActivateIgnoringOtherApps(flag bool)
- func (x NSApplication) ActivateIgnoringOtherApps_(flag bool)
- func (x NSApplication) ActivationPolicy() (r0 core.NSInteger)
- func (x NSApplication) ApplicationIconImage() (r0 NSImage)
- func (x NSApplication) CancelUserAttentionRequest_(request core.NSInteger)
- func (x NSApplication) CurrentEvent() (r0 NSEvent)
- func (x NSApplication) Deactivate()
- func (app NSApplication) Delegate() objc.Object
- func (x NSApplication) DisableRelaunchOnLogin()
- func (x NSApplication) EnableRelaunchOnLogin()
- func (x NSApplication) FinishLaunching()
- func (x NSApplication) HelpMenu() (r0 NSMenu)
- func (x NSApplication) HideOtherApplications_(sender objc.Ref)
- func (x NSApplication) Init_asNSApplication() (r0 NSApplication)
- func (x NSApplication) IsActive() (r0 bool)
- func (x NSApplication) IsFullKeyboardAccessEnabled() (r0 bool)
- func (x NSApplication) IsRegisteredForRemoteNotifications() (r0 bool)
- func (x NSApplication) IsRunning() (r0 bool)
- func (x NSApplication) MainMenu() (r0 NSMenu)
- func (x NSApplication) OrderedDocuments() (r0 core.NSArray)
- func (x NSApplication) OrderedWindows() (r0 core.NSArray)
- func (x NSApplication) PostEvent_atStart_(event NSEventRef, flag bool)
- func (x NSApplication) RegisterForRemoteNotifications()
- func (x NSApplication) RegisterUserInterfaceItemSearchHandler_(handler objc.Ref)
- func (x NSApplication) ReplyToApplicationShouldTerminate_(shouldTerminate bool)
- func (x NSApplication) Run()
- func (x NSApplication) SendAction_to_from_(action objc.Selector, target objc.Ref, sender objc.Ref) (r0 bool)
- func (x NSApplication) SendEvent_(event NSEventRef)
- func (x NSApplication) ServicesProvider() (r0 objc.Object)
- func (app NSApplication) SetActivationPolicy(policy int)
- func (x NSApplication) SetActivationPolicy_(activationPolicy core.NSInteger) (r0 bool)
- func (x NSApplication) SetApplicationIconImage_(value NSImageRef)
- func (app NSApplication) SetDelegate(delegate objc.Object)
- func (x NSApplication) SetDelegate_(value objc.Ref)
- func (x NSApplication) SetHelpMenu_(value NSMenuRef)
- func (app NSApplication) SetMainMenu(menu NSMenu)
- func (x NSApplication) SetMainMenu_(value NSMenuRef)
- func (x NSApplication) SetServicesProvider_(value objc.Ref)
- func (x NSApplication) ShowHelp_(sender objc.Ref)
- func (x NSApplication) Stop_(sender objc.Ref)
- func (x NSApplication) TargetForAction_(action objc.Selector) (r0 objc.Object)
- func (x NSApplication) TargetForAction_to_from_(action objc.Selector, target objc.Ref, sender objc.Ref) (r0 objc.Object)
- func (app NSApplication) Terminate()
- func (x NSApplication) Terminate_(sender objc.Ref)
- func (x NSApplication) ToggleTouchBarCustomizationPalette_(sender objc.Ref)
- func (x NSApplication) TryToPerform_with_(action objc.Selector, object objc.Ref) (r0 bool)
- func (x NSApplication) UnhideAllApplications_(sender objc.Ref)
- func (x NSApplication) UnregisterForRemoteNotifications()
- func (x NSApplication) UnregisterUserInterfaceItemSearchHandler_(handler objc.Ref)
- type NSApplicationRef
- type NSBackingStoreType
- type NSBundle
- func NSBundle_Main() NSBundle
- func NSBundle_alloc() (r0 NSBundle)
- func NSBundle_bundleWithIdentifier_(identifier core.NSStringRef) (r0 NSBundle)
- func NSBundle_bundleWithPath_(path core.NSStringRef) (r0 NSBundle)
- func NSBundle_bundleWithURL_(url core.NSURLRef) (r0 NSBundle)
- func NSBundle_fromPointer(ptr unsafe.Pointer) NSBundle
- func NSBundle_fromRef(ref objc.Ref) NSBundle
- func NSBundle_mainBundle() (r0 NSBundle)
- func (x NSBundle) AppStoreReceiptURL() (r0 core.NSURL)
- func (x NSBundle) BuiltInPlugInsPath() (r0 core.NSString)
- func (x NSBundle) BuiltInPlugInsURL() (r0 core.NSURL)
- func (x NSBundle) BundleIdentifier() (r0 core.NSString)
- func (x NSBundle) BundlePath() (r0 core.NSString)
- func (x NSBundle) BundleURL() (r0 core.NSURL)
- func (x NSBundle) DevelopmentLocalization() (r0 core.NSString)
- func (x NSBundle) ExecutableArchitectures() (r0 core.NSArray)
- func (x NSBundle) ExecutablePath() (r0 core.NSString)
- func (x NSBundle) ExecutableURL() (r0 core.NSURL)
- func (x NSBundle) InfoDictionary() (r0 core.NSDictionary)
- func (x NSBundle) InitWithPath__asNSBundle(path core.NSStringRef) (r0 NSBundle)
- func (x NSBundle) InitWithURL__asNSBundle(url core.NSURLRef) (r0 NSBundle)
- func (x NSBundle) Init_asNSBundle() (r0 NSBundle)
- func (x NSBundle) IsLoaded() (r0 bool)
- func (x NSBundle) Load() (r0 bool)
- func (x NSBundle) LoadNibNamed_owner_options_(name core.NSStringRef, owner objc.Ref, options core.NSDictionaryRef) (r0 core.NSArray)
- func (x NSBundle) Localizations() (r0 core.NSArray)
- func (x NSBundle) LocalizedAttributedStringForKey_value_table_(key core.NSStringRef, value core.NSStringRef, tableName core.NSStringRef) (r0 core.NSAttributedString)
- func (x NSBundle) LocalizedInfoDictionary() (r0 core.NSDictionary)
- func (x NSBundle) LocalizedStringForKey_value_table_(key core.NSStringRef, value core.NSStringRef, tableName core.NSStringRef) (r0 core.NSString)
- func (x NSBundle) ObjectForInfoDictionaryKey_(key core.NSStringRef) (r0 objc.Object)
- func (x NSBundle) PathForAuxiliaryExecutable_(executableName core.NSStringRef) (r0 core.NSString)
- func (x NSBundle) PathForResource_ofType_(name core.NSStringRef, ext core.NSStringRef) (r0 core.NSString)
- func (x NSBundle) PathForResource_ofType_inDirectory_(name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef) (r0 core.NSString)
- func (x NSBundle) PathForResource_ofType_inDirectory_forLocalization_(name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, ...) (r0 core.NSString)
- func (x NSBundle) PathsForResourcesOfType_inDirectory_(ext core.NSStringRef, subpath core.NSStringRef) (r0 core.NSArray)
- func (x NSBundle) PathsForResourcesOfType_inDirectory_forLocalization_(ext core.NSStringRef, subpath core.NSStringRef, ...) (r0 core.NSArray)
- func (x NSBundle) PreferredLocalizations() (r0 core.NSArray)
- func (x NSBundle) PrivateFrameworksPath() (r0 core.NSString)
- func (x NSBundle) PrivateFrameworksURL() (r0 core.NSURL)
- func (x NSBundle) ResourcePath() (r0 core.NSString)
- func (x NSBundle) ResourceURL() (r0 core.NSURL)
- func (x NSBundle) SharedFrameworksPath() (r0 core.NSString)
- func (x NSBundle) SharedFrameworksURL() (r0 core.NSURL)
- func (x NSBundle) SharedSupportPath() (r0 core.NSString)
- func (x NSBundle) SharedSupportURL() (r0 core.NSURL)
- func (x NSBundle) URLForAuxiliaryExecutable_(executableName core.NSStringRef) (r0 core.NSURL)
- func (x NSBundle) URLForResource_withExtension_(name core.NSStringRef, ext core.NSStringRef) (r0 core.NSURL)
- func (x NSBundle) URLForResource_withExtension_subdirectory_(name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef) (r0 core.NSURL)
- func (x NSBundle) URLForResource_withExtension_subdirectory_localization_(name core.NSStringRef, ext core.NSStringRef, subpath core.NSStringRef, ...) (r0 core.NSURL)
- func (x NSBundle) URLsForResourcesWithExtension_subdirectory_(ext core.NSStringRef, subpath core.NSStringRef) (r0 core.NSArray)
- func (x NSBundle) URLsForResourcesWithExtension_subdirectory_localization_(ext core.NSStringRef, subpath core.NSStringRef, ...) (r0 core.NSArray)
- func (x NSBundle) Unload() (r0 bool)
- type NSBundleRef
- type NSButton
- func NSButton_alloc() (r0 NSButton)
- func NSButton_buttonWithImage_target_action_(image NSImageRef, target objc.Ref, action objc.Selector) (r0 NSButton)
- func NSButton_buttonWithTitle_image_target_action_(title core.NSStringRef, image NSImageRef, target objc.Ref, ...) (r0 NSButton)
- func NSButton_buttonWithTitle_target_action_(title core.NSStringRef, target objc.Ref, action objc.Selector) (r0 NSButton)
- func NSButton_checkboxWithTitle_target_action_(title core.NSStringRef, target objc.Ref, action objc.Selector) (r0 NSButton)
- func NSButton_fromPointer(ptr unsafe.Pointer) NSButton
- func NSButton_fromRef(ref objc.Ref) NSButton
- func NSButton_radioButtonWithTitle_target_action_(title core.NSStringRef, target objc.Ref, action objc.Selector) (r0 NSButton)
- func (x NSButton) AllowsMixedState() (r0 bool)
- func (x NSButton) AlternateImage() (r0 NSImage)
- func (x NSButton) AlternateTitle() (r0 core.NSString)
- func (x NSButton) AttributedAlternateTitle() (r0 core.NSAttributedString)
- func (x NSButton) AttributedTitle() (r0 core.NSAttributedString)
- func (x NSButton) BezelColor() (r0 NSColor)
- func (x NSButton) CompressWithPrioritizedCompressionOptions_(prioritizedOptions core.NSArrayRef)
- func (x NSButton) ContentTintColor() (r0 NSColor)
- func (x NSButton) HasDestructiveAction() (r0 bool)
- func (x NSButton) Highlight_(flag bool)
- func (x NSButton) Image() (r0 NSImage)
- func (x NSButton) ImageHugsTitle() (r0 bool)
- func (x NSButton) Init_asNSButton() (r0 NSButton)
- func (x NSButton) IsBordered() (r0 bool)
- func (x NSButton) IsSpringLoaded() (r0 bool)
- func (x NSButton) IsTransparent() (r0 bool)
- func (x NSButton) KeyEquivalent() (r0 core.NSString)
- func (x NSButton) MaxAcceleratorLevel() (r0 core.NSInteger)
- func (x NSButton) MinimumSizeWithPrioritizedCompressionOptions_(prioritizedOptions core.NSArrayRef) (r0 core.NSSize)
- func (x NSButton) PerformKeyEquivalent_(key NSEventRef) (r0 bool)
- func (x NSButton) SetAllowsMixedState_(value bool)
- func (x NSButton) SetAlternateImage_(value NSImageRef)
- func (x NSButton) SetAlternateTitle_(value core.NSStringRef)
- func (x NSButton) SetAttributedAlternateTitle_(value core.NSAttributedStringRef)
- func (x NSButton) SetAttributedTitle_(value core.NSAttributedStringRef)
- func (x NSButton) SetBezelColor_(value NSColorRef)
- func (x NSButton) SetBordered_(value bool)
- func (x NSButton) SetContentTintColor_(value NSColorRef)
- func (x NSButton) SetHasDestructiveAction_(value bool)
- func (x NSButton) SetImageHugsTitle_(value bool)
- func (x NSButton) SetImage_(value NSImageRef)
- func (x NSButton) SetKeyEquivalent_(value core.NSStringRef)
- func (x NSButton) SetMaxAcceleratorLevel_(value core.NSInteger)
- func (x NSButton) SetNextState()
- func (x NSButton) SetShowsBorderOnlyWhileMouseInside_(value bool)
- func (x NSButton) SetSound_(value NSSoundRef)
- func (x NSButton) SetSpringLoaded_(value bool)
- func (x NSButton) SetState_(value core.NSInteger)
- func (x NSButton) SetTitle_(value core.NSStringRef)
- func (x NSButton) SetTransparent_(value bool)
- func (x NSButton) ShowsBorderOnlyWhileMouseInside() (r0 bool)
- func (x NSButton) Sound() (r0 NSSound)
- func (x NSButton) State() (r0 core.NSInteger)
- func (x NSButton) Title() (r0 core.NSString)
- type NSButtonRef
- type NSColor
- func Color(r, g, b, a float64) NSColor
- func NSColor_Clear() NSColor
- func NSColor_Init(r, g, b, a float64) NSColor
- func NSColor_alloc() (r0 NSColor)
- func NSColor_clearColor() (r0 NSColor)
- func NSColor_colorFromPasteboard_(pasteBoard NSPasteboardRef) (r0 NSColor)
- func NSColor_colorWithRed_green_blue_alpha_(red core.CGFloat, green core.CGFloat, blue core.CGFloat, alpha core.CGFloat) (r0 NSColor)
- func NSColor_fromPointer(ptr unsafe.Pointer) NSColor
- func NSColor_fromRef(ref objc.Ref) NSColor
- func NSColor_systemCyanColor() (r0 NSColor)
- func NSColor_systemMintColor() (r0 NSColor)
- func (x NSColor) AlphaComponent() (r0 core.CGFloat)
- func (x NSColor) BlackComponent() (r0 core.CGFloat)
- func (x NSColor) BlendedColorWithFraction_ofColor_(fraction core.CGFloat, color NSColorRef) (r0 NSColor)
- func (x NSColor) BlueComponent() (r0 core.CGFloat)
- func (x NSColor) BrightnessComponent() (r0 core.CGFloat)
- func (x NSColor) ColorWithAlphaComponent_(alpha core.CGFloat) (r0 NSColor)
- func (x NSColor) CyanComponent() (r0 core.CGFloat)
- func (x NSColor) DrawSwatchInRect_(rect core.NSRect)
- func (x NSColor) GreenComponent() (r0 core.CGFloat)
- func (x NSColor) HighlightWithLevel_(val core.CGFloat) (r0 NSColor)
- func (x NSColor) HueComponent() (r0 core.CGFloat)
- func (x NSColor) Init_asNSColor() (r0 NSColor)
- func (x NSColor) LocalizedCatalogNameComponent() (r0 core.NSString)
- func (x NSColor) LocalizedColorNameComponent() (r0 core.NSString)
- func (x NSColor) MagentaComponent() (r0 core.CGFloat)
- func (x NSColor) NumberOfComponents() (r0 core.NSInteger)
- func (x NSColor) RedComponent() (r0 core.CGFloat)
- func (x NSColor) SaturationComponent() (r0 core.CGFloat)
- func (x NSColor) Set()
- func (x NSColor) SetFill()
- func (x NSColor) SetStroke()
- func (x NSColor) ShadowWithLevel_(val core.CGFloat) (r0 NSColor)
- func (x NSColor) WhiteComponent() (r0 core.CGFloat)
- func (x NSColor) WriteToPasteboard_(pasteBoard NSPasteboardRef)
- func (x NSColor) YellowComponent() (r0 core.CGFloat)
- type NSColorRef
- type NSControl
- func (x NSControl) AbortEditing() (r0 bool)
- func (x NSControl) Action() (r0 objc.Selector)
- func (x NSControl) AllowsExpansionToolTips() (r0 bool)
- func (x NSControl) AttributedStringValue() (r0 core.NSAttributedString)
- func (x NSControl) CurrentEditor() (r0 NSText)
- func (x NSControl) DrawWithExpansionFrame_inView_(contentFrame core.NSRect, view NSViewRef)
- func (x NSControl) EditWithFrame_editor_delegate_event_(rect core.NSRect, textObj NSTextRef, delegate objc.Ref, event NSEventRef)
- func (x NSControl) EndEditing_(textObj NSTextRef)
- func (x NSControl) ExpansionFrameWithFrame_(contentFrame core.NSRect) (r0 core.NSRect)
- func (x NSControl) Font() (r0 NSFont)
- func (x NSControl) IgnoresMultiClick() (r0 bool)
- func (x NSControl) InitWithFrame__asNSControl(frameRect core.NSRect) (r0 NSControl)
- func (x NSControl) Init_asNSControl() (r0 NSControl)
- func (x NSControl) IntValue() (r0 int32)
- func (x NSControl) IntegerValue() (r0 core.NSInteger)
- func (x NSControl) IsContinuous() (r0 bool)
- func (x NSControl) IsEnabled() (r0 bool)
- func (x NSControl) IsHighlighted() (r0 bool)
- func (x NSControl) MouseDown_(event NSEventRef)
- func (x NSControl) ObjectValue() (r0 objc.Object)
- func (x NSControl) PerformClick_(sender objc.Ref)
- func (x NSControl) RefusesFirstResponder() (r0 bool)
- func (x NSControl) SelectWithFrame_editor_delegate_start_length_(rect core.NSRect, textObj NSTextRef, delegate objc.Ref, ...)
- func (x NSControl) SendAction_to_(action objc.Selector, target objc.Ref) (r0 bool)
- func (x NSControl) SetAction_(value objc.Selector)
- func (x NSControl) SetAllowsExpansionToolTips_(value bool)
- func (x NSControl) SetAttributedStringValue_(value core.NSAttributedStringRef)
- func (x NSControl) SetContinuous_(value bool)
- func (x NSControl) SetEnabled_(value bool)
- func (x NSControl) SetFont_(value NSFontRef)
- func (x NSControl) SetHighlighted_(value bool)
- func (x NSControl) SetIgnoresMultiClick_(value bool)
- func (x NSControl) SetIntValue_(value int32)
- func (x NSControl) SetIntegerValue_(value core.NSInteger)
- func (x NSControl) SetObjectValue_(value objc.Ref)
- func (x NSControl) SetRefusesFirstResponder_(value bool)
- func (x NSControl) SetStringValue_(value core.NSStringRef)
- func (x NSControl) SetTag_(value core.NSInteger)
- func (x NSControl) SetTarget_(value objc.Ref)
- func (x NSControl) SetUsesSingleLineMode_(value bool)
- func (x NSControl) SizeThatFits_(size core.NSSize) (r0 core.NSSize)
- func (x NSControl) SizeToFit()
- func (x NSControl) StringValue() (r0 core.NSString)
- func (x NSControl) Tag() (r0 core.NSInteger)
- func (x NSControl) TakeDoubleValueFrom_(sender objc.Ref)
- func (x NSControl) TakeFloatValueFrom_(sender objc.Ref)
- func (x NSControl) TakeIntValueFrom_(sender objc.Ref)
- func (x NSControl) TakeIntegerValueFrom_(sender objc.Ref)
- func (x NSControl) TakeObjectValueFrom_(sender objc.Ref)
- func (x NSControl) TakeStringValueFrom_(sender objc.Ref)
- func (x NSControl) Target() (r0 objc.Object)
- func (x NSControl) UsesSingleLineMode() (r0 bool)
- func (x NSControl) ValidateEditing()
- type NSControlRef
- type NSEvent
- func (x NSEvent) AbsoluteX() (r0 core.NSInteger)
- func (x NSEvent) AbsoluteY() (r0 core.NSInteger)
- func (x NSEvent) AbsoluteZ() (r0 core.NSInteger)
- func (x NSEvent) ButtonNumber() (r0 core.NSInteger)
- func (x NSEvent) CapabilityMask() (r0 core.NSUInteger)
- func (e NSEvent) Characters() (string, error)
- func (x NSEvent) CharactersIgnoringModifiers() (r0 core.NSString)
- func (x NSEvent) ClickCount() (r0 core.NSInteger)
- func (x NSEvent) Data1() (r0 core.NSInteger)
- func (x NSEvent) Data2() (r0 core.NSInteger)
- func (x NSEvent) DeltaX() (r0 core.CGFloat)
- func (x NSEvent) DeltaY() (r0 core.CGFloat)
- func (x NSEvent) DeltaZ() (r0 core.CGFloat)
- func (x NSEvent) DeviceID() (r0 core.NSUInteger)
- func (x NSEvent) EventNumber() (r0 core.NSInteger)
- func (x NSEvent) EventRef() (r0 unsafe.Pointer)
- func (x NSEvent) HasPreciseScrollingDeltas() (r0 bool)
- func (x NSEvent) Init_asNSEvent() (r0 NSEvent)
- func (x NSEvent) IsARepeat() (r0 bool)
- func (x NSEvent) IsDirectionInvertedFromDevice() (r0 bool)
- func (x NSEvent) IsEnteringProximity() (r0 bool)
- func (e NSEvent) KeyCode() (int64, error)
- func (x NSEvent) LocationInWindow() (r0 core.NSPoint)
- func (x NSEvent) Magnification() (r0 core.CGFloat)
- func (x NSEvent) PointingDeviceID() (r0 core.NSUInteger)
- func (x NSEvent) PointingDeviceSerialNumber() (r0 core.NSUInteger)
- func (x NSEvent) ScrollingDeltaX() (r0 core.CGFloat)
- func (x NSEvent) ScrollingDeltaY() (r0 core.CGFloat)
- func (x NSEvent) Stage() (r0 core.NSInteger)
- func (x NSEvent) StageTransition() (r0 core.CGFloat)
- func (x NSEvent) SystemTabletID() (r0 core.NSUInteger)
- func (x NSEvent) TabletID() (r0 core.NSUInteger)
- func (x NSEvent) Tilt() (r0 core.NSPoint)
- func (x NSEvent) TrackingNumber() (r0 core.NSInteger)
- func (e NSEvent) Type() int64
- func (x NSEvent) UserData() (r0 unsafe.Pointer)
- func (x NSEvent) VendorDefined() (r0 objc.Object)
- func (x NSEvent) VendorID() (r0 core.NSUInteger)
- func (x NSEvent) VendorPointingDeviceType() (r0 core.NSUInteger)
- func (x NSEvent) Window() (r0 NSWindow)
- func (x NSEvent) WindowNumber() (r0 core.NSInteger)
- type NSEventRef
- type NSFont
- func Font(fontName string, size float64) NSFont
- func NSFont_Init(fontName string, size float64) NSFont
- func NSFont_alloc() (r0 NSFont)
- func NSFont_boldSystemFontOfSize_(fontSize core.CGFloat) (r0 NSFont)
- func NSFont_controlContentFontOfSize_(fontSize core.CGFloat) (r0 NSFont)
- func NSFont_fontWithName_size_(fontName core.NSStringRef, fontSize core.CGFloat) (r0 NSFont)
- func NSFont_fromPointer(ptr unsafe.Pointer) NSFont
- func NSFont_fromRef(ref objc.Ref) NSFont
- func NSFont_labelFontOfSize_(fontSize core.CGFloat) (r0 NSFont)
- func NSFont_menuBarFontOfSize_(fontSize core.CGFloat) (r0 NSFont)
- func NSFont_menuFontOfSize_(fontSize core.CGFloat) (r0 NSFont)
- func NSFont_messageFontOfSize_(fontSize core.CGFloat) (r0 NSFont)
- func NSFont_paletteFontOfSize_(fontSize core.CGFloat) (r0 NSFont)
- func NSFont_systemFontOfSize_(fontSize core.CGFloat) (r0 NSFont)
- func NSFont_titleBarFontOfSize_(fontSize core.CGFloat) (r0 NSFont)
- func NSFont_toolTipsFontOfSize_(fontSize core.CGFloat) (r0 NSFont)
- func NSFont_userFixedPitchFontOfSize_(fontSize core.CGFloat) (r0 NSFont)
- func NSFont_userFontOfSize_(fontSize core.CGFloat) (r0 NSFont)
- func (x NSFont) DisplayName() (r0 core.NSString)
- func (x NSFont) FamilyName() (r0 core.NSString)
- func (x NSFont) FontName() (r0 core.NSString)
- func (x NSFont) FontWithSize_(fontSize core.CGFloat) (r0 NSFont)
- func (x NSFont) Init_asNSFont() (r0 NSFont)
- func (x NSFont) IsFixedPitch() (r0 bool)
- func (x NSFont) IsVertical() (r0 bool)
- func (x NSFont) MostCompatibleStringEncoding() (r0 core.NSStringEncoding)
- func (x NSFont) NumberOfGlyphs() (r0 core.NSUInteger)
- func (x NSFont) PointSize() (r0 core.CGFloat)
- func (x NSFont) Set()
- func (x NSFont) VerticalFont() (r0 NSFont)
- type NSFontRef
- type NSImage
- func NSImage_ImageNamed(name string) NSImage
- func NSImage_InitWithData(data core.NSDataRef) NSImage
- func NSImage_InitWithURL(url core.NSURL) NSImage
- func NSImage_alloc() (r0 NSImage)
- func NSImage_fromPointer(ptr unsafe.Pointer) NSImage
- func NSImage_fromRef(ref objc.Ref) NSImage
- func NSImage_imageWithSystemSymbolName_accessibilityDescription_(symbolName core.NSStringRef, description core.NSStringRef) (r0 NSImage)
- func (x NSImage) AccessibilityDescription() (r0 core.NSString)
- func (x NSImage) AddRepresentations_(imageReps core.NSArrayRef)
- func (x NSImage) AlignmentRect() (r0 core.NSRect)
- func (x NSImage) BackgroundColor() (r0 NSColor)
- func (x NSImage) CancelIncrementalLoad()
- func (x NSImage) Delegate() (r0 objc.Object)
- func (x NSImage) DrawInRect_(rect core.NSRect)
- func (x NSImage) InitByReferencingFile__asNSImage(fileName core.NSStringRef) (r0 NSImage)
- func (x NSImage) InitByReferencingURL__asNSImage(url core.NSURLRef) (r0 NSImage)
- func (x NSImage) InitWithContentsOfFile__asNSImage(fileName core.NSStringRef) (r0 NSImage)
- func (x NSImage) InitWithContentsOfURL__asNSImage(url core.NSURLRef) (r0 NSImage)
- func (x NSImage) InitWithDataIgnoringOrientation__asNSImage(data core.NSDataRef) (r0 NSImage)
- func (x NSImage) InitWithData__asNSImage(data core.NSDataRef) (r0 NSImage)
- func (x NSImage) InitWithPasteboard__asNSImage(pasteboard NSPasteboardRef) (r0 NSImage)
- func (x NSImage) InitWithSize__asNSImage(size core.NSSize) (r0 NSImage)
- func (x NSImage) Init_asNSImage() (r0 NSImage)
- func (x NSImage) IsTemplate() (r0 bool)
- func (x NSImage) IsValid() (r0 bool)
- func (x NSImage) LayerContentsForContentsScale_(layerContentsScale core.CGFloat) (r0 objc.Object)
- func (x NSImage) LockFocus()
- func (x NSImage) LockFocusFlipped_(flipped bool)
- func (x NSImage) MatchesOnMultipleResolution() (r0 bool)
- func (x NSImage) MatchesOnlyOnBestFittingAxis() (r0 bool)
- func (x NSImage) PrefersColorMatch() (r0 bool)
- func (x NSImage) Recache()
- func (x NSImage) RecommendedLayerContentsScale_(preferredContentsScale core.CGFloat) (r0 core.CGFloat)
- func (x NSImage) Representations() (r0 core.NSArray)
- func (x NSImage) SetAccessibilityDescription_(value core.NSStringRef)
- func (x NSImage) SetAlignmentRect_(value core.NSRect)
- func (x NSImage) SetBackgroundColor_(value NSColorRef)
- func (x NSImage) SetDelegate_(value objc.Ref)
- func (x NSImage) SetMatchesOnMultipleResolution_(value bool)
- func (x NSImage) SetMatchesOnlyOnBestFittingAxis_(value bool)
- func (x NSImage) SetPrefersColorMatch_(value bool)
- func (i NSImage) SetSize(size core.NSSize)
- func (x NSImage) SetSize_(value core.NSSize)
- func (i NSImage) SetTemplate(b bool)
- func (x NSImage) SetTemplate_(value bool)
- func (x NSImage) SetUsesEPSOnResolutionMismatch_(value bool)
- func (i NSImage) SetValueForKey(value, key interface{})
- func (x NSImage) Size() (r0 core.NSSize)
- func (x NSImage) TIFFRepresentation() (r0 core.NSData)
- func (x NSImage) UnlockFocus()
- func (x NSImage) UsesEPSOnResolutionMismatch() (r0 bool)
- type NSImageRef
- type NSImageView
- func (x NSImageView) AllowsCutCopyPaste() (r0 bool)
- func (x NSImageView) Animates() (r0 bool)
- func (x NSImageView) ContentTintColor() (r0 NSColor)
- func (x NSImageView) Image() (r0 NSImage)
- func (x NSImageView) Init_asNSImageView() (r0 NSImageView)
- func (x NSImageView) IsEditable() (r0 bool)
- func (x NSImageView) SetAllowsCutCopyPaste_(value bool)
- func (x NSImageView) SetAnimates_(value bool)
- func (x NSImageView) SetContentTintColor_(value NSColorRef)
- func (x NSImageView) SetEditable_(value bool)
- func (imgView NSImageView) SetImage(img NSImageRef)
- func (x NSImageView) SetImage_(value NSImageRef)
- type NSImageViewRef
- type NSLayoutManager
- func (x NSLayoutManager) AddTextContainer_(container NSTextContainerRef)
- func (x NSLayoutManager) AllowsNonContiguousLayout() (r0 bool)
- func (x NSLayoutManager) AttachmentSizeForGlyphAtIndex_(glyphIndex core.NSUInteger) (r0 core.NSSize)
- func (x NSLayoutManager) BackgroundLayoutEnabled() (r0 bool)
- func (x NSLayoutManager) CharacterIndexForGlyphAtIndex_(glyphIndex core.NSUInteger) (r0 core.NSUInteger)
- func (x NSLayoutManager) DefaultBaselineOffsetForFont_(theFont NSFontRef) (r0 core.CGFloat)
- func (x NSLayoutManager) DefaultLineHeightForFont_(theFont NSFontRef) (r0 core.CGFloat)
- func (x NSLayoutManager) Delegate() (r0 objc.Object)
- func (x NSLayoutManager) DrawsOutsideLineFragmentForGlyphAtIndex_(glyphIndex core.NSUInteger) (r0 bool)
- func (x NSLayoutManager) EnsureLayoutForBoundingRect_inTextContainer_(bounds core.NSRect, container NSTextContainerRef)
- func (lm NSLayoutManager) EnsureLayoutForTextContainer(tc NSTextContainerRef)
- func (x NSLayoutManager) EnsureLayoutForTextContainer_(container NSTextContainerRef)
- func (x NSLayoutManager) ExtraLineFragmentRect() (r0 core.NSRect)
- func (x NSLayoutManager) ExtraLineFragmentTextContainer() (r0 NSTextContainer)
- func (x NSLayoutManager) ExtraLineFragmentUsedRect() (r0 core.NSRect)
- func (x NSLayoutManager) FirstTextView() (r0 NSTextView)
- func (x NSLayoutManager) FirstUnlaidCharacterIndex() (r0 core.NSUInteger)
- func (x NSLayoutManager) FirstUnlaidGlyphIndex() (r0 core.NSUInteger)
- func (x NSLayoutManager) GlyphIndexForCharacterAtIndex_(charIndex core.NSUInteger) (r0 core.NSUInteger)
- func (x NSLayoutManager) HasNonContiguousLayout() (r0 bool)
- func (x NSLayoutManager) Init_asNSLayoutManager() (r0 NSLayoutManager)
- func (x NSLayoutManager) InsertTextContainer_atIndex_(container NSTextContainerRef, index core.NSUInteger)
- func (x NSLayoutManager) IsValidGlyphIndex_(glyphIndex core.NSUInteger) (r0 bool)
- func (x NSLayoutManager) LayoutManagerOwnsFirstResponderInWindow_(window NSWindowRef) (r0 bool)
- func (x NSLayoutManager) LimitsLayoutForSuspiciousContents() (r0 bool)
- func (x NSLayoutManager) NotShownAttributeForGlyphAtIndex_(glyphIndex core.NSUInteger) (r0 bool)
- func (x NSLayoutManager) NumberOfGlyphs() (r0 core.NSUInteger)
- func (x NSLayoutManager) RemoveTextContainerAtIndex_(index core.NSUInteger)
- func (x NSLayoutManager) SetAllowsNonContiguousLayout_(value bool)
- func (x NSLayoutManager) SetBackgroundLayoutEnabled_(value bool)
- func (x NSLayoutManager) SetDelegate_(value objc.Ref)
- func (x NSLayoutManager) SetDrawsOutsideLineFragment_forGlyphAtIndex_(flag bool, glyphIndex core.NSUInteger)
- func (x NSLayoutManager) SetExtraLineFragmentRect_usedRect_textContainer_(fragmentRect core.NSRect, usedRect core.NSRect, container NSTextContainerRef)
- func (x NSLayoutManager) SetLimitsLayoutForSuspiciousContents_(value bool)
- func (x NSLayoutManager) SetNotShownAttribute_forGlyphAtIndex_(flag bool, glyphIndex core.NSUInteger)
- func (x NSLayoutManager) SetShowsControlCharacters_(value bool)
- func (x NSLayoutManager) SetShowsInvisibleCharacters_(value bool)
- func (x NSLayoutManager) SetUsesDefaultHyphenation_(value bool)
- func (x NSLayoutManager) SetUsesFontLeading_(value bool)
- func (x NSLayoutManager) ShowsControlCharacters() (r0 bool)
- func (x NSLayoutManager) ShowsInvisibleCharacters() (r0 bool)
- func (x NSLayoutManager) TextContainerChangedGeometry_(container NSTextContainerRef)
- func (x NSLayoutManager) TextContainerChangedTextView_(container NSTextContainerRef)
- func (x NSLayoutManager) TextContainers() (r0 core.NSArray)
- func (x NSLayoutManager) TextViewForBeginningOfSelection() (r0 NSTextView)
- func (lm NSLayoutManager) UsedRectForTextContainer(tc NSTextContainerRef) (rect core.NSRect)
- func (x NSLayoutManager) UsedRectForTextContainer_(container NSTextContainerRef) (r0 core.NSRect)
- func (x NSLayoutManager) UsesDefaultHyphenation() (r0 bool)
- func (x NSLayoutManager) UsesFontLeading() (r0 bool)
- type NSLayoutManagerRef
- type NSMenu
- func (menu NSMenu) AddItem(item NSMenuItemRef)
- func (x NSMenu) AddItemWithTitle_action_keyEquivalent_(string core.NSStringRef, selector objc.Selector, charCode core.NSStringRef) (r0 NSMenuItem)
- func (x NSMenu) AddItem_(newItem NSMenuItemRef)
- func (x NSMenu) AllowsContextMenuPlugIns() (r0 bool)
- func (x NSMenu) AutoenablesItems() (r0 bool)
- func (x NSMenu) CancelTracking()
- func (x NSMenu) CancelTrackingWithoutAnimation()
- func (x NSMenu) Delegate() (r0 objc.Object)
- func (x NSMenu) Font() (r0 NSFont)
- func (x NSMenu) HighlightedItem() (r0 NSMenuItem)
- func (x NSMenu) IndexOfItemWithRepresentedObject_(object objc.Ref) (r0 core.NSInteger)
- func (x NSMenu) IndexOfItemWithSubmenu_(submenu NSMenuRef) (r0 core.NSInteger)
- func (x NSMenu) IndexOfItemWithTag_(tag core.NSInteger) (r0 core.NSInteger)
- func (x NSMenu) IndexOfItemWithTarget_andAction_(target objc.Ref, actionSelector objc.Selector) (r0 core.NSInteger)
- func (x NSMenu) IndexOfItemWithTitle_(title core.NSStringRef) (r0 core.NSInteger)
- func (x NSMenu) IndexOfItem_(item NSMenuItemRef) (r0 core.NSInteger)
- func (x NSMenu) InitWithTitle__asNSMenu(title core.NSStringRef) (r0 NSMenu)
- func (x NSMenu) Init_asNSMenu() (r0 NSMenu)
- func (x NSMenu) InsertItemWithTitle_action_keyEquivalent_atIndex_(string core.NSStringRef, selector objc.Selector, charCode core.NSStringRef, ...) (r0 NSMenuItem)
- func (x NSMenu) InsertItem_atIndex_(newItem NSMenuItemRef, index core.NSInteger)
- func (x NSMenu) ItemArray() (r0 core.NSArray)
- func (x NSMenu) ItemAtIndex_(index core.NSInteger) (r0 NSMenuItem)
- func (x NSMenu) ItemChanged_(item NSMenuItemRef)
- func (x NSMenu) ItemWithTag_(tag core.NSInteger) (r0 NSMenuItem)
- func (x NSMenu) ItemWithTitle_(title core.NSStringRef) (r0 NSMenuItem)
- func (x NSMenu) MenuBarHeight() (r0 core.CGFloat)
- func (x NSMenu) MinimumWidth() (r0 core.CGFloat)
- func (x NSMenu) NumberOfItems() (r0 core.NSInteger)
- func (x NSMenu) PerformActionForItemAtIndex_(index core.NSInteger)
- func (x NSMenu) PerformKeyEquivalent_(event NSEventRef) (r0 bool)
- func (x NSMenu) PopUpMenuPositioningItem_atLocation_inView_(item NSMenuItemRef, location core.NSPoint, view NSViewRef) (r0 bool)
- func (x NSMenu) RemoveAllItems()
- func (menu NSMenu) RemoveItem(item NSMenuItemRef)
- func (x NSMenu) RemoveItemAtIndex_(index core.NSInteger)
- func (x NSMenu) RemoveItem_(item NSMenuItemRef)
- func (x NSMenu) SetAllowsContextMenuPlugIns_(value bool)
- func (menu NSMenu) SetAutoenablesItems(b bool)
- func (x NSMenu) SetAutoenablesItems_(value bool)
- func (menu NSMenu) SetDelegate(delegate objc.Object)
- func (x NSMenu) SetDelegate_(value objc.Ref)
- func (x NSMenu) SetFont_(value NSFontRef)
- func (x NSMenu) SetItemArray_(value core.NSArrayRef)
- func (x NSMenu) SetMinimumWidth_(value core.CGFloat)
- func (x NSMenu) SetShowsStateColumn_(value bool)
- func (x NSMenu) SetSubmenu_forItem_(menu NSMenuRef, item NSMenuItemRef)
- func (x NSMenu) SetSupermenu_(value NSMenuRef)
- func (menu NSMenu) SetTitle(title string)
- func (x NSMenu) SetTitle_(value core.NSStringRef)
- func (x NSMenu) ShowsStateColumn() (r0 bool)
- func (x NSMenu) Size() (r0 core.NSSize)
- func (x NSMenu) SubmenuAction_(sender objc.Ref)
- func (x NSMenu) Supermenu() (r0 NSMenu)
- func (menu NSMenu) Title() string
- func (x NSMenu) Update()
- type NSMenuItem
- func NSMenuItem_Init(itemName string, action objc.Selector, keyEquivalent string) NSMenuItem
- func NSMenuItem_New() NSMenuItem
- func NSMenuItem_Separator() NSMenuItem
- func NSMenuItem_alloc() (r0 NSMenuItem)
- func NSMenuItem_fromPointer(ptr unsafe.Pointer) NSMenuItem
- func NSMenuItem_fromRef(ref objc.Ref) NSMenuItem
- func NSMenuItem_separatorItem() (r0 NSMenuItem)
- func (i NSMenuItem) Action() objc.Selector
- func (x NSMenuItem) AllowsAutomaticKeyEquivalentLocalization() (r0 bool)
- func (x NSMenuItem) AllowsAutomaticKeyEquivalentMirroring() (r0 bool)
- func (x NSMenuItem) AllowsKeyEquivalentWhenHidden() (r0 bool)
- func (x NSMenuItem) AttributedTitle() (r0 core.NSAttributedString)
- func (i NSMenuItem) Enabled() bool
- func (x NSMenuItem) HasSubmenu() (r0 bool)
- func (i NSMenuItem) Hidden() bool
- func (x NSMenuItem) Image() (r0 NSImage)
- func (x NSMenuItem) IndentationLevel() (r0 core.NSInteger)
- func (x NSMenuItem) InitWithTitle_action_keyEquivalent__asNSMenuItem(string core.NSStringRef, selector objc.Selector, charCode core.NSStringRef) (r0 NSMenuItem)
- func (x NSMenuItem) Init_asNSMenuItem() (r0 NSMenuItem)
- func (x NSMenuItem) IsAlternate() (r0 bool)
- func (x NSMenuItem) IsEnabled() (r0 bool)
- func (x NSMenuItem) IsHidden() (r0 bool)
- func (x NSMenuItem) IsHiddenOrHasHiddenAncestor() (r0 bool)
- func (x NSMenuItem) IsHighlighted() (r0 bool)
- func (x NSMenuItem) IsSeparatorItem() (r0 bool)
- func (x NSMenuItem) KeyEquivalent() (r0 core.NSString)
- func (x NSMenuItem) Menu() (r0 NSMenu)
- func (x NSMenuItem) MixedStateImage() (r0 NSImage)
- func (x NSMenuItem) OffStateImage() (r0 NSImage)
- func (x NSMenuItem) OnStateImage() (r0 NSImage)
- func (x NSMenuItem) ParentItem() (r0 NSMenuItem)
- func (x NSMenuItem) RepresentedObject() (r0 objc.Object)
- func (i NSMenuItem) SetAction(sel objc.Selector)
- func (x NSMenuItem) SetAction_(value objc.Selector)
- func (x NSMenuItem) SetAllowsAutomaticKeyEquivalentLocalization_(value bool)
- func (x NSMenuItem) SetAllowsAutomaticKeyEquivalentMirroring_(value bool)
- func (x NSMenuItem) SetAllowsKeyEquivalentWhenHidden_(value bool)
- func (x NSMenuItem) SetAlternate_(value bool)
- func (i NSMenuItem) SetAttributedTitle(s string)
- func (x NSMenuItem) SetAttributedTitle_(value core.NSAttributedStringRef)
- func (i NSMenuItem) SetEnabled(b bool)
- func (x NSMenuItem) SetEnabled_(value bool)
- func (i NSMenuItem) SetHidden(b bool)
- func (x NSMenuItem) SetHidden_(value bool)
- func (i NSMenuItem) SetImage(obj NSImage)
- func (x NSMenuItem) SetImage_(value NSImageRef)
- func (x NSMenuItem) SetIndentationLevel_(value core.NSInteger)
- func (x NSMenuItem) SetKeyEquivalent_(value core.NSStringRef)
- func (x NSMenuItem) SetMenu_(value NSMenuRef)
- func (x NSMenuItem) SetMixedStateImage_(value NSImageRef)
- func (x NSMenuItem) SetOffStateImage_(value NSImageRef)
- func (x NSMenuItem) SetOnStateImage_(value NSImageRef)
- func (x NSMenuItem) SetRepresentedObject_(value objc.Ref)
- func (i NSMenuItem) SetState(state int)
- func (x NSMenuItem) SetState_(value core.NSInteger)
- func (i NSMenuItem) SetSubmenu(submenu NSMenuRef)
- func (x NSMenuItem) SetSubmenu_(value NSMenuRef)
- func (x NSMenuItem) SetTag_(value core.NSInteger)
- func (i NSMenuItem) SetTarget(obj objc.Object)
- func (x NSMenuItem) SetTarget_(value objc.Ref)
- func (i NSMenuItem) SetTitle(s string)
- func (x NSMenuItem) SetTitle_(value core.NSStringRef)
- func (i NSMenuItem) SetToolTip(s string)
- func (x NSMenuItem) SetToolTip_(value core.NSStringRef)
- func (i NSMenuItem) SetView(obj NSViewRef)
- func (x NSMenuItem) SetView_(value NSViewRef)
- func (i NSMenuItem) State() int
- func (x NSMenuItem) Submenu() (r0 NSMenu)
- func (x NSMenuItem) Tag() (r0 core.NSInteger)
- func (i NSMenuItem) Target() objc.Object
- func (i NSMenuItem) Title() string
- func (i NSMenuItem) ToolTip() string
- func (x NSMenuItem) UserKeyEquivalent() (r0 core.NSString)
- func (x NSMenuItem) View() (r0 NSView)
- type NSMenuItemRef
- type NSMenuRef
- type NSNib
- func (x NSNib) InitWithNibData_bundle__asNSNib(nibData core.NSDataRef, bundle NSBundleRef) (r0 NSNib)
- func (x NSNib) Init_asNSNib() (r0 NSNib)
- func (nib NSNib) InstantiateWithOwner(owner objc.Object)deprecated
- func (nib NSNib) InstantiateWithOwner_TopLevelObjects(owner objc.Object) (core.NSArray, bool)
- func (x NSNib) InstantiateWithOwner_topLevelObjects_(owner objc.Ref, topLevelObjects core.NSArrayRef) (r0 bool)
- type NSNibRef
- type NSPasteboard
- func NSPasteboard_GeneralPasteboard() NSPasteboard
- func NSPasteboard_alloc() (r0 NSPasteboard)
- func NSPasteboard_fromPointer(ptr unsafe.Pointer) NSPasteboard
- func NSPasteboard_fromRef(ref objc.Ref) NSPasteboard
- func NSPasteboard_generalPasteboard() (r0 NSPasteboard)
- func NSPasteboard_pasteboardByFilteringFile_(filename core.NSStringRef) (r0 NSPasteboard)
- func NSPasteboard_pasteboardByFilteringTypesInPasteboard_(pboard NSPasteboardRef) (r0 NSPasteboard)
- func NSPasteboard_pasteboardWithUniqueName() (r0 NSPasteboard)
- func (x NSPasteboard) AddTypes_owner_(newTypes core.NSArrayRef, newOwner objc.Ref) (r0 core.NSInteger)
- func (pb NSPasteboard) AvailableTypeFromArray(types []NSPasteboardType) NSPasteboardType
- func (x NSPasteboard) CanReadItemWithDataConformingToTypes_(types core.NSArrayRef) (r0 bool)
- func (x NSPasteboard) CanReadObjectForClasses_options_(classArray core.NSArrayRef, options core.NSDictionaryRef) (r0 bool)
- func (x NSPasteboard) ChangeCount() (r0 core.NSInteger)
- func (pb NSPasteboard) ClearContents()
- func (pb NSPasteboard) DataForType(t NSPasteboardType) core.NSData
- func (x NSPasteboard) DeclareTypes_owner_(newTypes core.NSArrayRef, newOwner objc.Ref) (r0 core.NSInteger)
- func (x NSPasteboard) Init_asNSPasteboard() (r0 NSPasteboard)
- func (x NSPasteboard) PasteboardItems() (r0 core.NSArray)
- func (x NSPasteboard) ReadObjectsForClasses_options_(classArray core.NSArrayRef, options core.NSDictionaryRef) (r0 core.NSArray)
- func (x NSPasteboard) ReleaseGlobally()
- func (pb NSPasteboard) SetStringForType(s string, t NSPasteboardType)
- func (pb NSPasteboard) StringForType(t NSPasteboardType) string
- func (pb NSPasteboard) Types() []NSPasteboardType
- func (x NSPasteboard) WriteFileContents_(filename core.NSStringRef) (r0 bool)
- func (x NSPasteboard) WriteObjects_(objects core.NSArrayRef) (r0 bool)
- type NSPasteboardRef
- type NSPasteboardType
- type NSPopover
- func (x NSPopover) Animates() (r0 bool)
- func (x NSPopover) Behavior() (r0 core.NSInteger)
- func (x NSPopover) Close()
- func (x NSPopover) ContentSize() (r0 core.NSSize)
- func (x NSPopover) Init_asNSPopover() (r0 NSPopover)
- func (x NSPopover) IsDetached() (r0 bool)
- func (x NSPopover) IsShown() (r0 bool)
- func (x NSPopover) PerformClose_(sender objc.Ref)
- func (x NSPopover) PositioningRect() (r0 core.NSRect)
- func (p NSPopover) SetAnimates(b bool)
- func (x NSPopover) SetAnimates_(value bool)
- func (p NSPopover) SetBehavior(b int)
- func (x NSPopover) SetBehavior_(value core.NSInteger)
- func (p NSPopover) SetContentSize(s core.NSSize)
- func (x NSPopover) SetContentSize_(value core.NSSize)
- func (p NSPopover) SetDelegate(delegate objc.Object)
- func (x NSPopover) SetPositioningRect_(value core.NSRect)
- func (p NSPopover) SetViewController(controller objc.Object)
- type NSPopoverRef
- type NSScreen
- func (x NSScreen) BackingScaleFactor() (r0 core.CGFloat)
- func (x NSScreen) ConvertRectFromBacking_(rect core.NSRect) (r0 core.NSRect)
- func (x NSScreen) ConvertRectToBacking_(rect core.NSRect) (r0 core.NSRect)
- func (x NSScreen) DeviceDescription() (r0 core.NSDictionary)
- func (x NSScreen) Frame() (r0 core.NSRect)
- func (x NSScreen) Init_asNSScreen() (r0 NSScreen)
- func (x NSScreen) LocalizedName() (r0 core.NSString)
- func (x NSScreen) MaximumExtendedDynamicRangeColorComponentValue() (r0 core.CGFloat)
- func (x NSScreen) MaximumFramesPerSecond() (r0 core.NSInteger)
- func (x NSScreen) MaximumPotentialExtendedDynamicRangeColorComponentValue() (r0 core.CGFloat)
- func (x NSScreen) MaximumReferenceExtendedDynamicRangeColorComponentValue() (r0 core.CGFloat)
- func (x NSScreen) VisibleFrame() (r0 core.NSRect)
- type NSScreenRef
- type NSSound
- func (x NSSound) Delegate() (r0 objc.Object)
- func (x NSSound) InitWithContentsOfFile_byReference__asNSSound(path core.NSStringRef, byRef bool) (r0 NSSound)
- func (x NSSound) InitWithContentsOfURL_byReference__asNSSound(url core.NSURLRef, byRef bool) (r0 NSSound)
- func (x NSSound) InitWithData__asNSSound(data core.NSDataRef) (r0 NSSound)
- func (x NSSound) InitWithPasteboard__asNSSound(pasteboard NSPasteboardRef) (r0 NSSound)
- func (x NSSound) Init_asNSSound() (r0 NSSound)
- func (x NSSound) IsPlaying() (r0 bool)
- func (x NSSound) Loops() (r0 bool)
- func (sound NSSound) Pause()
- func (sound NSSound) Play()
- func (sound NSSound) Resume()
- func (x NSSound) SetDelegate_(value objc.Ref)
- func (x NSSound) SetLoops_(value bool)
- func (x NSSound) Stop() (r0 bool)
- func (x NSSound) WriteToPasteboard_(pasteboard NSPasteboardRef)
- type NSSoundRef
- type NSStatusBar
- func (x NSStatusBar) Init_asNSStatusBar() (r0 NSStatusBar)
- func (x NSStatusBar) IsVertical() (r0 bool)
- func (sb NSStatusBar) RemoveStatusItem(i NSStatusItemRef)
- func (x NSStatusBar) RemoveStatusItem_(item NSStatusItemRef)
- func (sb NSStatusBar) StatusItemWithLength(l float64) NSStatusItem
- func (x NSStatusBar) StatusItemWithLength_(length core.CGFloat) (r0 NSStatusItem)
- func (x NSStatusBar) Thickness() (r0 core.CGFloat)
- type NSStatusBarButton
- func (x NSStatusBarButton) AppearsDisabled() (r0 bool)
- func (b NSStatusBarButton) ImagePosition() int64
- func (x NSStatusBarButton) Init_asNSStatusBarButton() (r0 NSStatusBarButton)
- func (x NSStatusBarButton) SetAppearsDisabled_(value bool)
- func (b NSStatusBarButton) SetImage(obj NSImageRef)
- func (b NSStatusBarButton) SetImagePosition(state int)
- func (b NSStatusBarButton) SetTitle(s string)
- func (b NSStatusBarButton) SetToolTip(s string)
- func (b NSStatusBarButton) Title() string
- func (b NSStatusBarButton) ToolTip() string
- type NSStatusBarButtonRef
- type NSStatusBarRef
- type NSStatusItem
- func (i NSStatusItem) Action() objc.Selector
- func (i NSStatusItem) Button() NSStatusBarButton
- func (x NSStatusItem) Init_asNSStatusItem() (r0 NSStatusItem)
- func (x NSStatusItem) IsVisible() (r0 bool)
- func (x NSStatusItem) Length() (r0 core.CGFloat)
- func (i NSStatusItem) Menu() NSMenu
- func (i NSStatusItem) SetAction(sel objc.Selector)
- func (x NSStatusItem) SetLength_(value core.CGFloat)
- func (i NSStatusItem) SetMenu(menu NSMenu)
- func (x NSStatusItem) SetMenu_(value NSMenuRef)
- func (i NSStatusItem) SetTarget(obj objc.Object)
- func (x NSStatusItem) SetVisible_(value bool)
- func (x NSStatusItem) StatusBar() (r0 NSStatusBar)
- func (i NSStatusItem) Target() objc.Object
- type NSStatusItemRef
- type NSText
- func (x NSText) AlignCenter_(sender objc.Ref)
- func (x NSText) AlignLeft_(sender objc.Ref)
- func (x NSText) AlignRight_(sender objc.Ref)
- func (x NSText) BackgroundColor() (r0 NSColor)
- func (x NSText) ChangeFont_(sender objc.Ref)
- func (x NSText) CheckSpelling_(sender objc.Ref)
- func (x NSText) CopyFont_(sender objc.Ref)
- func (x NSText) CopyRuler_(sender objc.Ref)
- func (x NSText) Copy_(sender objc.Ref)
- func (x NSText) Cut_(sender objc.Ref)
- func (x NSText) Delegate() (r0 objc.Object)
- func (x NSText) Delete_(sender objc.Ref)
- func (x NSText) DrawsBackground() (r0 bool)
- func (x NSText) Font() (r0 NSFont)
- func (x NSText) ImportsGraphics() (r0 bool)
- func (x NSText) InitWithFrame__asNSText(frameRect core.NSRect) (r0 NSText)
- func (x NSText) Init_asNSText() (r0 NSText)
- func (x NSText) IsEditable() (r0 bool)
- func (x NSText) IsFieldEditor() (r0 bool)
- func (x NSText) IsHorizontallyResizable() (r0 bool)
- func (x NSText) IsRichText() (r0 bool)
- func (x NSText) IsRulerVisible() (r0 bool)
- func (x NSText) IsSelectable() (r0 bool)
- func (x NSText) IsVerticallyResizable() (r0 bool)
- func (x NSText) MaxSize() (r0 core.NSSize)
- func (x NSText) MinSize() (r0 core.NSSize)
- func (x NSText) PasteFont_(sender objc.Ref)
- func (x NSText) PasteRuler_(sender objc.Ref)
- func (x NSText) Paste_(sender objc.Ref)
- func (x NSText) ReadRTFDFromFile_(path core.NSStringRef) (r0 bool)
- func (x NSText) SelectAll_(sender objc.Ref)
- func (x NSText) SetBackgroundColor_(value NSColorRef)
- func (x NSText) SetDelegate_(value objc.Ref)
- func (x NSText) SetDrawsBackground_(value bool)
- func (x NSText) SetEditable_(value bool)
- func (x NSText) SetFieldEditor_(value bool)
- func (x NSText) SetFont_(value NSFontRef)
- func (x NSText) SetHorizontallyResizable_(value bool)
- func (x NSText) SetImportsGraphics_(value bool)
- func (x NSText) SetMaxSize_(value core.NSSize)
- func (x NSText) SetMinSize_(value core.NSSize)
- func (x NSText) SetRichText_(value bool)
- func (x NSText) SetSelectable_(value bool)
- func (x NSText) SetString_(value core.NSStringRef)
- func (x NSText) SetTextColor_(value NSColorRef)
- func (x NSText) SetUsesFontPanel_(value bool)
- func (x NSText) SetVerticallyResizable_(value bool)
- func (x NSText) ShowGuessPanel_(sender objc.Ref)
- func (x NSText) SizeToFit()
- func (x NSText) String() (r0 core.NSString)
- func (x NSText) Subscript_(sender objc.Ref)
- func (x NSText) Superscript_(sender objc.Ref)
- func (x NSText) TextColor() (r0 NSColor)
- func (x NSText) ToggleRuler_(sender objc.Ref)
- func (x NSText) Underline_(sender objc.Ref)
- func (x NSText) Unscript_(sender objc.Ref)
- func (x NSText) UsesFontPanel() (r0 bool)
- func (x NSText) WriteRTFDToFile_atomically_(path core.NSStringRef, flag bool) (r0 bool)
- type NSTextAlignment
- type NSTextContainer
- func (x NSTextContainer) ExclusionPaths() (r0 core.NSArray)
- func (x NSTextContainer) HeightTracksTextView() (r0 bool)
- func (x NSTextContainer) InitWithSize__asNSTextContainer(size core.NSSize) (r0 NSTextContainer)
- func (x NSTextContainer) Init_asNSTextContainer() (r0 NSTextContainer)
- func (x NSTextContainer) IsSimpleRectangularTextContainer() (r0 bool)
- func (x NSTextContainer) LayoutManager() (r0 NSLayoutManager)
- func (x NSTextContainer) LineFragmentPadding() (r0 core.CGFloat)
- func (x NSTextContainer) MaximumNumberOfLines() (r0 core.NSUInteger)
- func (x NSTextContainer) ReplaceLayoutManager_(newLayoutManager NSLayoutManagerRef)
- func (x NSTextContainer) SetExclusionPaths_(value core.NSArrayRef)
- func (tc NSTextContainer) SetHeightTracksTextView(b bool)
- func (x NSTextContainer) SetHeightTracksTextView_(value bool)
- func (x NSTextContainer) SetLayoutManager_(value NSLayoutManagerRef)
- func (x NSTextContainer) SetLineFragmentPadding_(value core.CGFloat)
- func (x NSTextContainer) SetMaximumNumberOfLines_(value core.NSUInteger)
- func (x NSTextContainer) SetSize_(value core.NSSize)
- func (x NSTextContainer) SetTextView_(value NSTextViewRef)
- func (x NSTextContainer) SetWidthTracksTextView_(value bool)
- func (x NSTextContainer) Size() (r0 core.NSSize)
- func (x NSTextContainer) TextView() (r0 NSTextView)
- func (x NSTextContainer) WidthTracksTextView() (r0 bool)
- type NSTextContainerRef
- type NSTextRef
- type NSTextView
- func (x NSTextView) AcceptableDragTypes() (r0 core.NSArray)
- func (x NSTextView) AcceptsGlyphInfo() (r0 bool)
- func (x NSTextView) AlignJustified_(sender objc.Ref)
- func (v NSTextView) Alignment() NSTextAlignment
- func (x NSTextView) AllowedInputSourceLocales() (r0 core.NSArray)
- func (x NSTextView) AllowsCharacterPickerTouchBarItem() (r0 bool)
- func (x NSTextView) AllowsDocumentBackgroundColorChange() (r0 bool)
- func (x NSTextView) AllowsImageEditing() (r0 bool)
- func (x NSTextView) AllowsUndo() (r0 bool)
- func (x NSTextView) BackgroundColor() (r0 NSColor)
- func (x NSTextView) BreakUndoCoalescing()
- func (x NSTextView) ChangeAttributes_(sender objc.Ref)
- func (x NSTextView) ChangeColor_(sender objc.Ref)
- func (x NSTextView) ChangeDocumentBackgroundColor_(sender objc.Ref)
- func (x NSTextView) ChangeLayoutOrientation_(sender objc.Ref)
- func (x NSTextView) CharacterIndexForInsertionAtPoint_(point core.NSPoint) (r0 core.NSUInteger)
- func (x NSTextView) CheckTextInDocument_(sender objc.Ref)
- func (x NSTextView) CheckTextInSelection_(sender objc.Ref)
- func (x NSTextView) CleanUpAfterDragOperation()
- func (x NSTextView) ClickedOnLink_atIndex_(link objc.Ref, charIndex core.NSUInteger)
- func (x NSTextView) Complete_(sender objc.Ref)
- func (x NSTextView) Delegate() (r0 objc.Object)
- func (x NSTextView) DidChangeText()
- func (x NSTextView) DisplaysLinkToolTips() (r0 bool)
- func (x NSTextView) DragSelectionWithEvent_offset_slideBack_(event NSEventRef, mouseOffset core.NSSize, slideBack bool) (r0 bool)
- func (x NSTextView) DrawInsertionPointInRect_color_turnedOn_(rect core.NSRect, color NSColorRef, flag bool)
- func (x NSTextView) DrawViewBackgroundInRect_(rect core.NSRect)
- func (x NSTextView) DrawsBackground() (r0 bool)
- func (v NSTextView) Editable() bool
- func (v NSTextView) FieldEditor() bool
- func (x NSTextView) Font() (r0 NSFont)
- func (x NSTextView) ImportsGraphics() (r0 bool)
- func (x NSTextView) InitWithFrame__asNSTextView(frameRect core.NSRect) (r0 NSTextView)
- func (x NSTextView) InitWithFrame_textContainer__asNSTextView(frameRect core.NSRect, container NSTextContainerRef) (r0 NSTextView)
- func (x NSTextView) Init_asNSTextView() (r0 NSTextView)
- func (x NSTextView) InsertionPointColor() (r0 NSColor)
- func (x NSTextView) InvalidateTextContainerOrigin()
- func (x NSTextView) IsAutomaticDashSubstitutionEnabled() (r0 bool)
- func (x NSTextView) IsAutomaticDataDetectionEnabled() (r0 bool)
- func (x NSTextView) IsAutomaticLinkDetectionEnabled() (r0 bool)
- func (x NSTextView) IsAutomaticQuoteSubstitutionEnabled() (r0 bool)
- func (x NSTextView) IsAutomaticSpellingCorrectionEnabled() (r0 bool)
- func (x NSTextView) IsAutomaticTextCompletionEnabled() (r0 bool)
- func (x NSTextView) IsAutomaticTextReplacementEnabled() (r0 bool)
- func (x NSTextView) IsCoalescingUndo() (r0 bool)
- func (x NSTextView) IsContinuousSpellCheckingEnabled() (r0 bool)
- func (x NSTextView) IsEditable() (r0 bool)
- func (x NSTextView) IsFieldEditor() (r0 bool)
- func (x NSTextView) IsGrammarCheckingEnabled() (r0 bool)
- func (x NSTextView) IsIncrementalSearchingEnabled() (r0 bool)
- func (x NSTextView) IsRichText() (r0 bool)
- func (x NSTextView) IsRulerVisible() (r0 bool)
- func (x NSTextView) IsSelectable() (r0 bool)
- func (x NSTextView) LayoutManager() (r0 NSLayoutManager)
- func (x NSTextView) LinkTextAttributes() (r0 core.NSDictionary)
- func (x NSTextView) LoosenKerning_(sender objc.Ref)
- func (x NSTextView) LowerBaseline_(sender objc.Ref)
- func (x NSTextView) MarkedTextAttributes() (r0 core.NSDictionary)
- func (x NSTextView) OrderFrontLinkPanel_(sender objc.Ref)
- func (x NSTextView) OrderFrontListPanel_(sender objc.Ref)
- func (x NSTextView) OrderFrontSharingServicePicker_(sender objc.Ref)
- func (x NSTextView) OrderFrontSpacingPanel_(sender objc.Ref)
- func (x NSTextView) OrderFrontSubstitutionsPanel_(sender objc.Ref)
- func (x NSTextView) OrderFrontTablePanel_(sender objc.Ref)
- func (x NSTextView) Outline_(sender objc.Ref)
- func (x NSTextView) PasteAsPlainText_(sender objc.Ref)
- func (x NSTextView) PasteAsRichText_(sender objc.Ref)
- func (x NSTextView) PerformFindPanelAction_(sender objc.Ref)
- func (x NSTextView) QuickLookPreviewableItemsInRanges_(ranges core.NSArrayRef) (r0 core.NSArray)
- func (x NSTextView) RaiseBaseline_(sender objc.Ref)
- func (x NSTextView) RangesForUserCharacterAttributeChange() (r0 core.NSArray)
- func (x NSTextView) RangesForUserParagraphAttributeChange() (r0 core.NSArray)
- func (x NSTextView) RangesForUserTextChange() (r0 core.NSArray)
- func (x NSTextView) ReadSelectionFromPasteboard_(pboard NSPasteboardRef) (r0 bool)
- func (x NSTextView) ReadablePasteboardTypes() (r0 core.NSArray)
- func (x NSTextView) ReplaceTextContainer_(newContainer NSTextContainerRef)
- func (v NSTextView) RichText() bool
- func (v NSTextView) Selectable() bool
- func (x NSTextView) SelectedRanges() (r0 core.NSArray)
- func (x NSTextView) SelectedTextAttributes() (r0 core.NSDictionary)
- func (x NSTextView) SetAcceptsGlyphInfo_(value bool)
- func (v NSTextView) SetAlignment(d NSTextAlignment)
- func (x NSTextView) SetAllowedInputSourceLocales_(value core.NSArrayRef)
- func (x NSTextView) SetAllowsCharacterPickerTouchBarItem_(value bool)
- func (x NSTextView) SetAllowsDocumentBackgroundColorChange_(value bool)
- func (x NSTextView) SetAllowsImageEditing_(value bool)
- func (x NSTextView) SetAllowsUndo_(value bool)
- func (x NSTextView) SetAutomaticDashSubstitutionEnabled_(value bool)
- func (x NSTextView) SetAutomaticDataDetectionEnabled_(value bool)
- func (x NSTextView) SetAutomaticLinkDetectionEnabled_(value bool)
- func (x NSTextView) SetAutomaticQuoteSubstitutionEnabled_(value bool)
- func (x NSTextView) SetAutomaticSpellingCorrectionEnabled_(value bool)
- func (x NSTextView) SetAutomaticTextCompletionEnabled_(value bool)
- func (x NSTextView) SetAutomaticTextReplacementEnabled_(value bool)
- func (x NSTextView) SetBackgroundColor_(value NSColorRef)
- func (x NSTextView) SetConstrainedFrameSize_(desiredSize core.NSSize)
- func (x NSTextView) SetContinuousSpellCheckingEnabled_(value bool)
- func (x NSTextView) SetDelegate_(value objc.Ref)
- func (x NSTextView) SetDisplaysLinkToolTips_(value bool)
- func (v NSTextView) SetDrawsBackground(b bool)
- func (x NSTextView) SetDrawsBackground_(value bool)
- func (v NSTextView) SetEditable(b bool)
- func (x NSTextView) SetEditable_(value bool)
- func (v NSTextView) SetFieldEditor(b bool)
- func (x NSTextView) SetFieldEditor_(value bool)
- func (v NSTextView) SetFont(f NSFont)
- func (x NSTextView) SetFont_(value NSFontRef)
- func (x NSTextView) SetGrammarCheckingEnabled_(value bool)
- func (v NSTextView) SetImportsGraphics(b bool)
- func (x NSTextView) SetImportsGraphics_(value bool)
- func (x NSTextView) SetIncrementalSearchingEnabled_(value bool)
- func (x NSTextView) SetInsertionPointColor_(value NSColorRef)
- func (x NSTextView) SetLinkTextAttributes_(value core.NSDictionaryRef)
- func (x NSTextView) SetMarkedTextAttributes_(value core.NSDictionaryRef)
- func (x NSTextView) SetNeedsDisplayInRect_avoidAdditionalLayout_(rect core.NSRect, flag bool)
- func (v NSTextView) SetRichText(b bool)
- func (x NSTextView) SetRichText_(value bool)
- func (x NSTextView) SetRulerVisible_(value bool)
- func (v NSTextView) SetSelectable(b bool)
- func (x NSTextView) SetSelectable_(value bool)
- func (x NSTextView) SetSelectedRanges_(value core.NSArrayRef)
- func (x NSTextView) SetSelectedTextAttributes_(value core.NSDictionaryRef)
- func (x NSTextView) SetSmartInsertDeleteEnabled_(value bool)
- func (v NSTextView) SetString(s string)
- func (v NSTextView) SetTextColor(c NSColorRef)
- func (v NSTextView) SetTextContainer(tc NSTextContainer)
- func (x NSTextView) SetTextContainerInset_(value core.NSSize)
- func (x NSTextView) SetTextContainer_(value NSTextContainerRef)
- func (x NSTextView) SetTypingAttributes_(value core.NSDictionaryRef)
- func (x NSTextView) SetUsesAdaptiveColorMappingForDarkAppearance_(value bool)
- func (x NSTextView) SetUsesFindBar_(value bool)
- func (x NSTextView) SetUsesFindPanel_(value bool)
- func (x NSTextView) SetUsesFontPanel_(value bool)
- func (x NSTextView) SetUsesInspectorBar_(value bool)
- func (x NSTextView) SetUsesRolloverButtonForSelection_(value bool)
- func (x NSTextView) SetUsesRuler_(value bool)
- func (x NSTextView) ShouldChangeTextInRanges_replacementStrings_(affectedRanges core.NSArrayRef, replacementStrings core.NSArrayRef) (r0 bool)
- func (x NSTextView) ShouldDrawInsertionPoint() (r0 bool)
- func (x NSTextView) SmartInsertDeleteEnabled() (r0 bool)
- func (x NSTextView) SpellCheckerDocumentTag() (r0 core.NSInteger)
- func (x NSTextView) StartSpeaking_(sender objc.Ref)
- func (x NSTextView) StopSpeaking_(sender objc.Ref)
- func (v NSTextView) String() string
- func (x NSTextView) TextContainer() (r0 NSTextContainer)
- func (x NSTextView) TextContainerInset() (r0 core.NSSize)
- func (x NSTextView) TextContainerOrigin() (r0 core.NSPoint)
- func (x NSTextView) TightenKerning_(sender objc.Ref)
- func (x NSTextView) ToggleAutomaticDashSubstitution_(sender objc.Ref)
- func (x NSTextView) ToggleAutomaticDataDetection_(sender objc.Ref)
- func (x NSTextView) ToggleAutomaticLinkDetection_(sender objc.Ref)
- func (x NSTextView) ToggleAutomaticQuoteSubstitution_(sender objc.Ref)
- func (x NSTextView) ToggleAutomaticSpellingCorrection_(sender objc.Ref)
- func (x NSTextView) ToggleAutomaticTextCompletion_(sender objc.Ref)
- func (x NSTextView) ToggleAutomaticTextReplacement_(sender objc.Ref)
- func (x NSTextView) ToggleContinuousSpellChecking_(sender objc.Ref)
- func (x NSTextView) ToggleGrammarChecking_(sender objc.Ref)
- func (x NSTextView) ToggleQuickLookPreviewPanel_(sender objc.Ref)
- func (x NSTextView) ToggleSmartInsertDelete_(sender objc.Ref)
- func (x NSTextView) TurnOffKerning_(sender objc.Ref)
- func (x NSTextView) TurnOffLigatures_(sender objc.Ref)
- func (x NSTextView) TypingAttributes() (r0 core.NSDictionary)
- func (x NSTextView) UpdateCandidates()
- func (x NSTextView) UpdateDragTypeRegistration()
- func (x NSTextView) UpdateFontPanel()
- func (x NSTextView) UpdateInsertionPointStateAndRestartTimer_(restartFlag bool)
- func (x NSTextView) UpdateQuickLookPreviewPanel()
- func (x NSTextView) UpdateRuler()
- func (x NSTextView) UpdateTextTouchBarItems()
- func (x NSTextView) UpdateTouchBarItemIdentifiers()
- func (x NSTextView) UseAllLigatures_(sender objc.Ref)
- func (x NSTextView) UseStandardKerning_(sender objc.Ref)
- func (x NSTextView) UseStandardLigatures_(sender objc.Ref)
- func (x NSTextView) UsesAdaptiveColorMappingForDarkAppearance() (r0 bool)
- func (x NSTextView) UsesFindBar() (r0 bool)
- func (x NSTextView) UsesFindPanel() (r0 bool)
- func (x NSTextView) UsesFontPanel() (r0 bool)
- func (x NSTextView) UsesInspectorBar() (r0 bool)
- func (x NSTextView) UsesRolloverButtonForSelection() (r0 bool)
- func (x NSTextView) UsesRuler() (r0 bool)
- func (x NSTextView) WritablePasteboardTypes() (r0 core.NSArray)
- func (x NSTextView) WriteSelectionToPasteboard_types_(pboard NSPasteboardRef, types core.NSArrayRef) (r0 bool)
- type NSTextViewRef
- type NSView
- func (x NSView) AcceptsFirstMouse_(event NSEventRef) (r0 bool)
- func (x NSView) AddConstraints_(constraints core.NSArrayRef)
- func (v NSView) AddSubview(subview NSViewRef)
- func (v NSView) AddSubviewPositionedRelativeTo(subview NSViewRef, positioned int, relativeTo NSViewRef)
- func (x NSView) AddSubview_(view NSViewRef)
- func (x NSView) AddSubview_positioned_relativeTo_(view NSViewRef, place core.NSUInteger, otherView NSViewRef)
- func (x NSView) AdjustScroll_(newVisible core.NSRect) (r0 core.NSRect)
- func (x NSView) AlignmentRectForFrame_(frame core.NSRect) (r0 core.NSRect)
- func (x NSView) AllowsVibrancy() (r0 bool)
- func (x NSView) AlphaValue() (r0 core.CGFloat)
- func (x NSView) AncestorSharedWithView_(view NSViewRef) (r0 NSView)
- func (x NSView) AutoresizesSubviews() (r0 bool)
- func (x NSView) Autoscroll_(event NSEventRef) (r0 bool)
- func (x NSView) BackgroundColor() (r0 NSColor)
- func (x NSView) BackgroundFilters() (r0 core.NSArray)
- func (x NSView) BaselineOffsetFromBottom() (r0 core.CGFloat)
- func (x NSView) BeginDocument()
- func (x NSView) BeginPageInRect_atPlacement_(rect core.NSRect, location core.NSPoint)
- func (x NSView) Bounds() (r0 core.NSRect)
- func (x NSView) BoundsRotation() (r0 core.CGFloat)
- func (x NSView) CanBecomeKeyView() (r0 bool)
- func (x NSView) CanDrawConcurrently() (r0 bool)
- func (x NSView) CanDrawSubviewsIntoLayer() (r0 bool)
- func (x NSView) CenterScanRect_(rect core.NSRect) (r0 core.NSRect)
- func (x NSView) Constraints() (r0 core.NSArray)
- func (x NSView) ContentFilters() (r0 core.NSArray)
- func (x NSView) ConvertPointFromBacking_(point core.NSPoint) (r0 core.NSPoint)
- func (x NSView) ConvertPointFromLayer_(point core.NSPoint) (r0 core.NSPoint)
- func (x NSView) ConvertPointToBacking_(point core.NSPoint) (r0 core.NSPoint)
- func (x NSView) ConvertPointToLayer_(point core.NSPoint) (r0 core.NSPoint)
- func (x NSView) ConvertPoint_fromView_(point core.NSPoint, view NSViewRef) (r0 core.NSPoint)
- func (x NSView) ConvertPoint_toView_(point core.NSPoint, view NSViewRef) (r0 core.NSPoint)
- func (x NSView) ConvertRectFromBacking_(rect core.NSRect) (r0 core.NSRect)
- func (x NSView) ConvertRectFromLayer_(rect core.NSRect) (r0 core.NSRect)
- func (x NSView) ConvertRectToBacking_(rect core.NSRect) (r0 core.NSRect)
- func (x NSView) ConvertRectToLayer_(rect core.NSRect) (r0 core.NSRect)
- func (x NSView) ConvertRect_fromView_(rect core.NSRect, view NSViewRef) (r0 core.NSRect)
- func (x NSView) ConvertRect_toView_(rect core.NSRect, view NSViewRef) (r0 core.NSRect)
- func (x NSView) ConvertSizeFromBacking_(size core.NSSize) (r0 core.NSSize)
- func (x NSView) ConvertSizeFromLayer_(size core.NSSize) (r0 core.NSSize)
- func (x NSView) ConvertSizeToBacking_(size core.NSSize) (r0 core.NSSize)
- func (x NSView) ConvertSizeToLayer_(size core.NSSize) (r0 core.NSSize)
- func (x NSView) ConvertSize_fromView_(size core.NSSize, view NSViewRef) (r0 core.NSSize)
- func (x NSView) ConvertSize_toView_(size core.NSSize, view NSViewRef) (r0 core.NSSize)
- func (x NSView) DataWithEPSInsideRect_(rect core.NSRect) (r0 core.NSData)
- func (x NSView) DataWithPDFInsideRect_(rect core.NSRect) (r0 core.NSData)
- func (x NSView) DidAddSubview_(subview NSViewRef)
- func (x NSView) DidCloseMenu_withEvent_(menu NSMenuRef, event NSEventRef)
- func (x NSView) DiscardCursorRects()
- func (x NSView) Display()
- func (x NSView) DisplayIfNeeded()
- func (x NSView) DisplayIfNeededIgnoringOpacity()
- func (x NSView) DisplayIfNeededInRectIgnoringOpacity_(rect core.NSRect)
- func (x NSView) DisplayIfNeededInRect_(rect core.NSRect)
- func (x NSView) DisplayRectIgnoringOpacity_(rect core.NSRect)
- func (x NSView) DisplayRect_(rect core.NSRect)
- func (x NSView) DrawFocusRingMask()
- func (x NSView) DrawPageBorderWithSize_(borderSize core.NSSize)
- func (x NSView) DrawRect_(dirtyRect core.NSRect)
- func (x NSView) EnclosingMenuItem() (r0 NSMenuItem)
- func (x NSView) EndDocument()
- func (x NSView) EndPage()
- func (x NSView) EnterFullScreenMode_withOptions_(screen NSScreenRef, options core.NSDictionaryRef) (r0 bool)
- func (x NSView) ExerciseAmbiguityInLayout()
- func (x NSView) ExitFullScreenModeWithOptions_(options core.NSDictionaryRef)
- func (x NSView) FirstBaselineOffsetFromTop() (r0 core.CGFloat)
- func (x NSView) FittingSize() (r0 core.NSSize)
- func (x NSView) FocusRingMaskBounds() (r0 core.NSRect)
- func (x NSView) Frame() (r0 core.NSRect)
- func (x NSView) FrameCenterRotation() (r0 core.CGFloat)
- func (x NSView) FrameForAlignmentRect_(alignmentRect core.NSRect) (r0 core.NSRect)
- func (x NSView) FrameRotation() (r0 core.CGFloat)
- func (x NSView) GestureRecognizers() (r0 core.NSArray)
- func (x NSView) HasAmbiguousLayout() (r0 bool)
- func (x NSView) HeightAdjustLimit() (r0 core.CGFloat)
- func (x NSView) HitTest_(point core.NSPoint) (r0 NSView)
- func (x NSView) InLiveResize() (r0 bool)
- func (x NSView) InitWithFrame__asNSView(frameRect core.NSRect) (r0 NSView)
- func (x NSView) Init_asNSView() (r0 NSView)
- func (x NSView) IntrinsicContentSize() (r0 core.NSSize)
- func (x NSView) InvalidateIntrinsicContentSize()
- func (x NSView) IsDescendantOf_(view NSViewRef) (r0 bool)
- func (x NSView) IsDrawingFindIndicator() (r0 bool)
- func (x NSView) IsFlipped() (r0 bool)
- func (x NSView) IsHidden() (r0 bool)
- func (x NSView) IsHiddenOrHasHiddenAncestor() (r0 bool)
- func (x NSView) IsHorizontalContentSizeConstraintActive() (r0 bool)
- func (x NSView) IsInFullScreenMode() (r0 bool)
- func (x NSView) IsOpaque() (r0 bool)
- func (x NSView) IsRotatedFromBase() (r0 bool)
- func (x NSView) IsRotatedOrScaledFromBase() (r0 bool)
- func (x NSView) IsVerticalContentSizeConstraintActive() (r0 bool)
- func (x NSView) LastBaselineOffsetFromBottom() (r0 core.CGFloat)
- func (x NSView) Layer() (r0 core.CALayer)
- func (x NSView) LayerUsesCoreImageFilters() (r0 bool)
- func (x NSView) Layout()
- func (x NSView) LayoutGuides() (r0 core.NSArray)
- func (x NSView) LayoutSubtreeIfNeeded()
- func (x NSView) LocationOfPrintRect_(rect core.NSRect) (r0 core.NSPoint)
- func (x NSView) MakeBackingLayer() (r0 core.CALayer)
- func (x NSView) MenuForEvent_(event NSEventRef) (r0 NSMenu)
- func (x NSView) MouseDownCanMoveWindow() (r0 bool)
- func (x NSView) Mouse_inRect_(point core.NSPoint, rect core.NSRect) (r0 bool)
- func (x NSView) NeedsDisplay() (r0 bool)
- func (x NSView) NeedsLayout() (r0 bool)
- func (x NSView) NeedsPanelToBecomeKey() (r0 bool)
- func (x NSView) NeedsToDrawRect_(rect core.NSRect) (r0 bool)
- func (x NSView) NeedsUpdateConstraints() (r0 bool)
- func (x NSView) NextKeyView() (r0 NSView)
- func (x NSView) NextValidKeyView() (r0 NSView)
- func (x NSView) NoteFocusRingMaskChanged()
- func (v NSView) Opaque() bool
- func (x NSView) OpaqueAncestor() (r0 NSView)
- func (x NSView) PageFooter() (r0 core.NSAttributedString)
- func (x NSView) PageHeader() (r0 core.NSAttributedString)
- func (x NSView) PerformKeyEquivalent_(event NSEventRef) (r0 bool)
- func (x NSView) PostsBoundsChangedNotifications() (r0 bool)
- func (x NSView) PostsFrameChangedNotifications() (r0 bool)
- func (x NSView) PrepareContentInRect_(rect core.NSRect)
- func (x NSView) PrepareForReuse()
- func (x NSView) PreparedContentRect() (r0 core.NSRect)
- func (x NSView) PreservesContentDuringLiveResize() (r0 bool)
- func (x NSView) PreviousKeyView() (r0 NSView)
- func (x NSView) PreviousValidKeyView() (r0 NSView)
- func (x NSView) PrintJobTitle() (r0 core.NSString)
- func (x NSView) Print_(sender objc.Ref)
- func (x NSView) RectForPage_(page core.NSInteger) (r0 core.NSRect)
- func (x NSView) RectForSmartMagnificationAtPoint_inRect_(location core.NSPoint, visibleRect core.NSRect) (r0 core.NSRect)
- func (x NSView) RectPreservedDuringLiveResize() (r0 core.NSRect)
- func (x NSView) RegisterForDraggedTypes_(newTypes core.NSArrayRef)
- func (x NSView) RegisteredDraggedTypes() (r0 core.NSArray)
- func (x NSView) RemoveAllToolTips()
- func (x NSView) RemoveConstraints_(constraints core.NSArrayRef)
- func (x NSView) RemoveFromSuperview()
- func (x NSView) RemoveFromSuperviewWithoutNeedingDisplay()
- func (x NSView) ReplaceSubview_with_(oldView NSViewRef, newView NSViewRef)
- func (x NSView) ResetCursorRects()
- func (x NSView) ResizeSubviewsWithOldSize_(oldSize core.NSSize)
- func (x NSView) ResizeWithOldSuperviewSize_(oldSize core.NSSize)
- func (x NSView) RotateByAngle_(angle core.CGFloat)
- func (x NSView) ScaleUnitSquareToSize_(newUnitSize core.NSSize)
- func (x NSView) ScrollPoint_(point core.NSPoint)
- func (x NSView) ScrollRectToVisible_(rect core.NSRect) (r0 bool)
- func (x NSView) SetAlphaValue_(value core.CGFloat)
- func (x NSView) SetAutoresizesSubviews_(value bool)
- func (v NSView) SetBackgroundColor(color NSColor)
- func (x NSView) SetBackgroundColor_(value NSColorRef)
- func (x NSView) SetBackgroundFilters_(value core.NSArrayRef)
- func (v NSView) SetBounds(r core.NSRect)
- func (v NSView) SetBoundsOrigin(p core.NSPoint)
- func (x NSView) SetBoundsOrigin_(newOrigin core.NSPoint)
- func (x NSView) SetBoundsRotation_(value core.CGFloat)
- func (v NSView) SetBoundsSize(s core.NSSize)
- func (x NSView) SetBoundsSize_(newSize core.NSSize)
- func (x NSView) SetBounds_(value core.NSRect)
- func (x NSView) SetCanDrawConcurrently_(value bool)
- func (x NSView) SetCanDrawSubviewsIntoLayer_(value bool)
- func (x NSView) SetContentFilters_(value core.NSArrayRef)
- func (v NSView) SetFrame(r core.NSRect)
- func (x NSView) SetFrameCenterRotation_(value core.CGFloat)
- func (v NSView) SetFrameOrigin(p core.NSPoint)
- func (x NSView) SetFrameOrigin_(newOrigin core.NSPoint)
- func (x NSView) SetFrameRotation_(value core.CGFloat)
- func (v NSView) SetFrameSize(s core.NSSize)
- func (x NSView) SetFrameSize_(newSize core.NSSize)
- func (x NSView) SetFrame_(value core.NSRect)
- func (x NSView) SetGestureRecognizers_(value core.NSArrayRef)
- func (x NSView) SetHidden_(value bool)
- func (x NSView) SetHorizontalContentSizeConstraintActive_(value bool)
- func (x NSView) SetKeyboardFocusRingNeedsDisplayInRect_(rect core.NSRect)
- func (x NSView) SetLayerUsesCoreImageFilters_(value bool)
- func (x NSView) SetLayer_(value core.CALayerRef)
- func (x NSView) SetNeedsDisplayInRect_(invalidRect core.NSRect)
- func (x NSView) SetNeedsDisplay_(value bool)
- func (x NSView) SetNeedsLayout_(value bool)
- func (x NSView) SetNeedsUpdateConstraints_(value bool)
- func (x NSView) SetNextKeyView_(value NSViewRef)
- func (v NSView) SetOpaque(b bool)
- func (x NSView) SetPostsBoundsChangedNotifications_(value bool)
- func (x NSView) SetPostsFrameChangedNotifications_(value bool)
- func (x NSView) SetPreparedContentRect_(value core.NSRect)
- func (x NSView) SetSubviews_(value core.NSArrayRef)
- func (x NSView) SetToolTip_(value core.NSStringRef)
- func (x NSView) SetTranslatesAutoresizingMaskIntoConstraints_(value bool)
- func (v NSView) SetValueForKey(value, key objc.Object)
- func (x NSView) SetVerticalContentSizeConstraintActive_(value bool)
- func (v NSView) SetWantsLayer(b bool)
- func (x NSView) SetWantsLayer_(value bool)
- func (x NSView) SetWantsRestingTouches_(value bool)
- func (x NSView) ShouldDelayWindowOrderingForEvent_(event NSEventRef) (r0 bool)
- func (x NSView) ShowDefinitionForAttributedString_atPoint_(attrString core.NSAttributedStringRef, textBaselineOrigin core.NSPoint)
- func (x NSView) Subviews() (r0 core.NSArray)
- func (x NSView) Superview() (r0 NSView)
- func (x NSView) Tag() (r0 core.NSInteger)
- func (x NSView) ToolTip() (r0 core.NSString)
- func (x NSView) TrackingAreas() (r0 core.NSArray)
- func (x NSView) TranslateOriginToPoint_(translation core.NSPoint)
- func (x NSView) TranslateRectsNeedingDisplayInRect_by_(clipRect core.NSRect, delta core.NSSize)
- func (x NSView) TranslatesAutoresizingMaskIntoConstraints() (r0 bool)
- func (x NSView) UnregisterDraggedTypes()
- func (x NSView) UpdateConstraints()
- func (x NSView) UpdateConstraintsForSubtreeIfNeeded()
- func (x NSView) UpdateLayer()
- func (x NSView) UpdateTrackingAreas()
- func (x NSView) ViewDidChangeBackingProperties()
- func (x NSView) ViewDidChangeEffectiveAppearance()
- func (x NSView) ViewDidEndLiveResize()
- func (x NSView) ViewDidHide()
- func (x NSView) ViewDidMoveToSuperview()
- func (x NSView) ViewDidMoveToWindow()
- func (x NSView) ViewDidUnhide()
- func (x NSView) ViewWillDraw()
- func (x NSView) ViewWillMoveToSuperview_(newSuperview NSViewRef)
- func (x NSView) ViewWillMoveToWindow_(newWindow NSWindowRef)
- func (x NSView) ViewWillStartLiveResize()
- func (x NSView) ViewWithTag_(tag core.NSInteger) (r0 NSView)
- func (x NSView) VisibleRect() (r0 core.NSRect)
- func (x NSView) WantsDefaultClipping() (r0 bool)
- func (x NSView) WantsLayer() (r0 bool)
- func (x NSView) WantsRestingTouches() (r0 bool)
- func (x NSView) WantsUpdateLayer() (r0 bool)
- func (x NSView) WidthAdjustLimit() (r0 core.CGFloat)
- func (x NSView) WillOpenMenu_withEvent_(menu NSMenuRef, event NSEventRef)
- func (x NSView) WillRemoveSubview_(subview NSViewRef)
- func (x NSView) Window() (r0 NSWindow)
- func (x NSView) WriteEPSInsideRect_toPasteboard_(rect core.NSRect, pasteboard NSPasteboardRef)
- func (x NSView) WritePDFInsideRect_toPasteboard_(rect core.NSRect, pasteboard NSPasteboardRef)
- type NSViewController
- func (x NSViewController) AddChildViewController_(childViewController NSViewControllerRef)
- func (x NSViewController) ChildViewControllers() (r0 core.NSArray)
- func (x NSViewController) CommitEditing() (r0 bool)
- func (x NSViewController) CommitEditingWithDelegate_didCommitSelector_contextInfo_(delegate objc.Ref, didCommitSelector objc.Selector, contextInfo unsafe.Pointer)
- func (x NSViewController) DiscardEditing()
- func (x NSViewController) DismissController_(sender objc.Ref)
- func (x NSViewController) DismissViewController_(viewController NSViewControllerRef)
- func (x NSViewController) Init_asNSViewController() (r0 NSViewController)
- func (x NSViewController) InsertChildViewController_atIndex_(childViewController NSViewControllerRef, index core.NSInteger)
- func (x NSViewController) IsViewLoaded() (r0 bool)
- func (x NSViewController) LoadView()
- func (x NSViewController) NibBundle() (r0 NSBundle)
- func (x NSViewController) ParentViewController() (r0 NSViewController)
- func (x NSViewController) PreferredContentSize() (r0 core.NSSize)
- func (x NSViewController) PreferredContentSizeDidChangeForViewController_(viewController NSViewControllerRef)
- func (x NSViewController) PreferredMaximumSize() (r0 core.NSSize)
- func (x NSViewController) PreferredMinimumSize() (r0 core.NSSize)
- func (x NSViewController) PreferredScreenOrigin() (r0 core.NSPoint)
- func (x NSViewController) PresentViewControllerAsModalWindow_(viewController NSViewControllerRef)
- func (x NSViewController) PresentViewControllerAsSheet_(viewController NSViewControllerRef)
- func (x NSViewController) PresentViewController_animator_(viewController NSViewControllerRef, animator objc.Ref)
- func (x NSViewController) PresentedViewControllers() (r0 core.NSArray)
- func (x NSViewController) PresentingViewController() (r0 NSViewController)
- func (x NSViewController) RemoveChildViewControllerAtIndex_(index core.NSInteger)
- func (x NSViewController) RemoveFromParentViewController()
- func (x NSViewController) RepresentedObject() (r0 objc.Object)
- func (x NSViewController) SetChildViewControllers_(value core.NSArrayRef)
- func (x NSViewController) SetPreferredContentSize_(value core.NSSize)
- func (x NSViewController) SetPreferredScreenOrigin_(value core.NSPoint)
- func (x NSViewController) SetRepresentedObject_(value objc.Ref)
- func (x NSViewController) SetTitle_(value core.NSStringRef)
- func (c NSViewController) SetView(v NSView)
- func (x NSViewController) Title() (r0 core.NSString)
- func (x NSViewController) UpdateViewConstraints()
- func (x NSViewController) ViewDidAppear()
- func (x NSViewController) ViewDidDisappear()
- func (x NSViewController) ViewDidLayout()
- func (x NSViewController) ViewDidLoad()
- func (x NSViewController) ViewWillAppear()
- func (x NSViewController) ViewWillDisappear()
- func (x NSViewController) ViewWillLayout()
- func (x NSViewController) ViewWillTransitionToSize_(newSize core.NSSize)
- type NSViewControllerRef
- type NSViewRef
- type NSVisualEffectView
- func (x NSVisualEffectView) Init_asNSVisualEffectView() (r0 NSVisualEffectView)
- func (x NSVisualEffectView) IsEmphasized() (r0 bool)
- func (x NSVisualEffectView) MaskImage() (r0 NSImage)
- func (x NSVisualEffectView) SetEmphasized_(value bool)
- func (x NSVisualEffectView) SetMaskImage_(value NSImageRef)
- func (x NSVisualEffectView) ViewDidMoveToWindow()
- func (x NSVisualEffectView) ViewWillMoveToWindow_(newWindow NSWindowRef)
- type NSVisualEffectViewRef
- type NSWindow
- func NSWindow_Init(rect core.NSRect, windowStyle core.NSUInteger, ...) NSWindow
- func NSWindow_New() NSWindow
- func NSWindow_WithContentViewController(controller NSViewControllerRef) NSWindow
- func NSWindow_alloc() (r0 NSWindow)
- func NSWindow_fromPointer(ptr unsafe.Pointer) NSWindow
- func NSWindow_fromRef(ref objc.Ref) NSWindow
- func NSWindow_windowWithContentViewController_(contentViewController NSViewControllerRef) (r0 NSWindow)
- func (x NSWindow) AcceptsMouseMovedEvents() (r0 bool)
- func (x NSWindow) AddChildWindow_ordered_(childWin NSWindowRef, place core.NSUInteger)
- func (x NSWindow) AddTabbedWindow_ordered_(window NSWindowRef, ordered core.NSUInteger)
- func (x NSWindow) AllowsConcurrentViewDrawing() (r0 bool)
- func (x NSWindow) AllowsToolTipsWhenApplicationIsInactive() (r0 bool)
- func (x NSWindow) AlphaValue() (r0 core.CGFloat)
- func (x NSWindow) AreCursorRectsEnabled() (r0 bool)
- func (x NSWindow) AspectRatio() (r0 core.NSSize)
- func (x NSWindow) AttachedSheet() (r0 NSWindow)
- func (x NSWindow) AutorecalculatesKeyViewLoop() (r0 bool)
- func (x NSWindow) BackgroundColor() (r0 NSColor)
- func (x NSWindow) BackingScaleFactor() (r0 core.CGFloat)
- func (x NSWindow) BackingType() (r0 core.NSUInteger)
- func (x NSWindow) BecomeKeyWindow()
- func (x NSWindow) BecomeMainWindow()
- func (x NSWindow) CanBecomeKeyWindow() (r0 bool)
- func (x NSWindow) CanBecomeMainWindow() (r0 bool)
- func (x NSWindow) CanBecomeVisibleWithoutLogin() (r0 bool)
- func (x NSWindow) CanHide() (r0 bool)
- func (x NSWindow) CascadeTopLeftFromPoint_(topLeftPoint core.NSPoint) (r0 core.NSPoint)
- func (x NSWindow) Center()
- func (x NSWindow) ChildWindows() (r0 core.NSArray)
- func (x NSWindow) Close()
- func (w NSWindow) CollectionBehavior() uint
- func (x NSWindow) ConstrainFrameRect_toScreen_(frameRect core.NSRect, screen NSScreenRef) (r0 core.NSRect)
- func (x NSWindow) ContentAspectRatio() (r0 core.NSSize)
- func (x NSWindow) ContentLayoutGuide() (r0 objc.Object)
- func (x NSWindow) ContentLayoutRect() (r0 core.NSRect)
- func (x NSWindow) ContentMaxSize() (r0 core.NSSize)
- func (x NSWindow) ContentMinSize() (r0 core.NSSize)
- func (w NSWindow) ContentRectForFrameRect(frameRect core.NSRect) (rect core.NSRect)
- func (x NSWindow) ContentRectForFrameRect_(frameRect core.NSRect) (r0 core.NSRect)
- func (x NSWindow) ContentResizeIncrements() (r0 core.NSSize)
- func (x NSWindow) ContentView() (r0 NSView)
- func (x NSWindow) ContentViewController() (r0 NSViewController)
- func (x NSWindow) ConvertPointFromBacking_(point core.NSPoint) (r0 core.NSPoint)
- func (x NSWindow) ConvertPointFromScreen_(point core.NSPoint) (r0 core.NSPoint)
- func (x NSWindow) ConvertPointToBacking_(point core.NSPoint) (r0 core.NSPoint)
- func (x NSWindow) ConvertPointToScreen_(point core.NSPoint) (r0 core.NSPoint)
- func (x NSWindow) ConvertRectFromBacking_(rect core.NSRect) (r0 core.NSRect)
- func (x NSWindow) ConvertRectFromScreen_(rect core.NSRect) (r0 core.NSRect)
- func (x NSWindow) ConvertRectToBacking_(rect core.NSRect) (r0 core.NSRect)
- func (x NSWindow) ConvertRectToScreen_(rect core.NSRect) (r0 core.NSRect)
- func (x NSWindow) CurrentEvent() (r0 NSEvent)
- func (x NSWindow) DataWithEPSInsideRect_(rect core.NSRect) (r0 core.NSData)
- func (x NSWindow) DataWithPDFInsideRect_(rect core.NSRect) (r0 core.NSData)
- func (x NSWindow) DeepestScreen() (r0 NSScreen)
- func (x NSWindow) Delegate() (r0 objc.Object)
- func (x NSWindow) Deminiaturize_(sender objc.Ref)
- func (x NSWindow) DeviceDescription() (r0 core.NSDictionary)
- func (x NSWindow) DisableCursorRects()
- func (x NSWindow) DisableKeyEquivalentForDefaultButtonCell()
- func (x NSWindow) DisableScreenUpdatesUntilFlush()
- func (x NSWindow) DisableSnapshotRestoration()
- func (x NSWindow) DiscardCursorRects()
- func (x NSWindow) Display()
- func (x NSWindow) DisplayIfNeeded()
- func (x NSWindow) DisplaysWhenScreenProfileChanges() (r0 bool)
- func (x NSWindow) DragImage_at_offset_event_pasteboard_source_slideBack_(image NSImageRef, baseLocation core.NSPoint, initialOffset core.NSSize, ...)
- func (x NSWindow) EnableCursorRects()
- func (x NSWindow) EnableKeyEquivalentForDefaultButtonCell()
- func (x NSWindow) EnableSnapshotRestoration()
- func (x NSWindow) EndEditingFor_(object objc.Ref)
- func (x NSWindow) EndSheet_(sheetWindow NSWindowRef)
- func (x NSWindow) FieldEditor_forObject_(createFlag bool, object objc.Ref) (r0 NSText)
- func (x NSWindow) Frame() (r0 core.NSRect)
- func (x NSWindow) FrameRectForContentRect_(contentRect core.NSRect) (r0 core.NSRect)
- func (x NSWindow) HasCloseBox() (r0 bool)
- func (x NSWindow) HasDynamicDepthLimit() (r0 bool)
- func (x NSWindow) HasShadow() (r0 bool)
- func (x NSWindow) HasTitleBar() (r0 bool)
- func (x NSWindow) HidesOnDeactivate() (r0 bool)
- func (x NSWindow) IgnoresMouseEvents() (r0 bool)
- func (x NSWindow) InLiveResize() (r0 bool)
- func (x NSWindow) InitWithContentRect_styleMask_backing_defer__asNSWindow(contentRect core.NSRect, style core.NSUInteger, ...) (r0 NSWindow)
- func (x NSWindow) InitWithContentRect_styleMask_backing_defer_screen__asNSWindow(contentRect core.NSRect, style core.NSUInteger, ...) (r0 NSWindow)
- func (x NSWindow) Init_asNSWindow() (r0 NSWindow)
- func (x NSWindow) InitialFirstResponder() (r0 NSView)
- func (x NSWindow) InvalidateCursorRectsForView_(view NSViewRef)
- func (x NSWindow) InvalidateShadow()
- func (x NSWindow) IsDocumentEdited() (r0 bool)
- func (x NSWindow) IsExcludedFromWindowsMenu() (r0 bool)
- func (x NSWindow) IsFloatingPanel() (r0 bool)
- func (x NSWindow) IsKeyWindow() (r0 bool)
- func (x NSWindow) IsMainWindow() (r0 bool)
- func (x NSWindow) IsMiniaturizable() (r0 bool)
- func (x NSWindow) IsMiniaturized() (r0 bool)
- func (x NSWindow) IsModalPanel() (r0 bool)
- func (x NSWindow) IsMovable() (r0 bool)
- func (x NSWindow) IsMovableByWindowBackground() (r0 bool)
- func (x NSWindow) IsOnActiveSpace() (r0 bool)
- func (x NSWindow) IsOpaque() (r0 bool)
- func (x NSWindow) IsReleasedWhenClosed() (r0 bool)
- func (x NSWindow) IsResizable() (r0 bool)
- func (x NSWindow) IsRestorable() (r0 bool)
- func (x NSWindow) IsSheet() (r0 bool)
- func (x NSWindow) IsVisible() (r0 bool)
- func (x NSWindow) IsZoomable() (r0 bool)
- func (x NSWindow) IsZoomed() (r0 bool)
- func (x NSWindow) LayoutIfNeeded()
- func (w NSWindow) Level() int64
- func (w NSWindow) MakeKeyAndOrderFront(sender objc.Object)
- func (x NSWindow) MakeKeyAndOrderFront_(sender objc.Ref)
- func (x NSWindow) MakeKeyWindow()
- func (x NSWindow) MakeMainWindow()
- func (x NSWindow) MaxFullScreenContentSize() (r0 core.NSSize)
- func (x NSWindow) MaxSize() (r0 core.NSSize)
- func (x NSWindow) MergeAllWindows_(sender objc.Ref)
- func (x NSWindow) MinFullScreenContentSize() (r0 core.NSSize)
- func (x NSWindow) MinSize() (r0 core.NSSize)
- func (x NSWindow) Miniaturize_(sender objc.Ref)
- func (x NSWindow) MiniwindowImage() (r0 NSImage)
- func (x NSWindow) MiniwindowTitle() (r0 core.NSString)
- func (x NSWindow) MouseLocationOutsideOfEventStream() (r0 core.NSPoint)
- func (w NSWindow) MovableByWindowBackground() bool
- func (x NSWindow) MoveTabToNewWindow_(sender objc.Ref)
- func (w NSWindow) Opaque() bool
- func (w NSWindow) OrderBack(sender objc.Object)
- func (x NSWindow) OrderBack_(sender objc.Ref)
- func (w NSWindow) OrderFront(sender objc.Object)
- func (x NSWindow) OrderFrontRegardless()
- func (x NSWindow) OrderFront_(sender objc.Ref)
- func (w NSWindow) OrderOut(sender objc.Object)
- func (x NSWindow) OrderOut_(sender objc.Ref)
- func (x NSWindow) OrderWindow_relativeTo_(place core.NSUInteger, otherWin core.NSInteger)
- func (x NSWindow) OrderedIndex() (r0 core.NSInteger)
- func (x NSWindow) ParentWindow() (r0 NSWindow)
- func (x NSWindow) PerformClose_(sender objc.Ref)
- func (x NSWindow) PerformMiniaturize_(sender objc.Ref)
- func (x NSWindow) PerformWindowDragWithEvent_(event NSEventRef)
- func (x NSWindow) PerformZoom_(sender objc.Ref)
- func (x NSWindow) PostEvent_atStart_(event NSEventRef, flag bool)
- func (x NSWindow) PreservesContentDuringLiveResize() (r0 bool)
- func (x NSWindow) PreventsApplicationTerminationWhenModal() (r0 bool)
- func (x NSWindow) Print_(sender objc.Ref)
- func (x NSWindow) RecalculateKeyViewLoop()
- func (x NSWindow) RegisterForDraggedTypes_(newTypes core.NSArrayRef)
- func (x NSWindow) RemoveChildWindow_(childWin NSWindowRef)
- func (x NSWindow) RemoveTitlebarAccessoryViewControllerAtIndex_(index core.NSInteger)
- func (x NSWindow) RepresentedFilename() (r0 core.NSString)
- func (x NSWindow) RepresentedURL() (r0 core.NSURL)
- func (x NSWindow) ResetCursorRects()
- func (x NSWindow) ResignKeyWindow()
- func (x NSWindow) ResignMainWindow()
- func (x NSWindow) ResizeIncrements() (r0 core.NSSize)
- func (x NSWindow) RunToolbarCustomizationPalette_(sender objc.Ref)
- func (x NSWindow) Screen() (r0 NSScreen)
- func (x NSWindow) SelectKeyViewFollowingView_(view NSViewRef)
- func (x NSWindow) SelectKeyViewPrecedingView_(view NSViewRef)
- func (x NSWindow) SelectNextKeyView_(sender objc.Ref)
- func (x NSWindow) SelectNextTab_(sender objc.Ref)
- func (x NSWindow) SelectPreviousKeyView_(sender objc.Ref)
- func (x NSWindow) SelectPreviousTab_(sender objc.Ref)
- func (x NSWindow) SendEvent_(event NSEventRef)
- func (x NSWindow) SetAcceptsMouseMovedEvents_(value bool)
- func (x NSWindow) SetAllowsConcurrentViewDrawing_(value bool)
- func (x NSWindow) SetAllowsToolTipsWhenApplicationIsInactive_(value bool)
- func (x NSWindow) SetAlphaValue_(value core.CGFloat)
- func (x NSWindow) SetAspectRatio_(value core.NSSize)
- func (x NSWindow) SetAutorecalculatesKeyViewLoop_(value bool)
- func (w NSWindow) SetBackgroundColor(color NSColor)
- func (x NSWindow) SetBackgroundColor_(value NSColorRef)
- func (x NSWindow) SetBackingType_(value core.NSUInteger)
- func (x NSWindow) SetCanBecomeVisibleWithoutLogin_(value bool)
- func (x NSWindow) SetCanHide_(value bool)
- func (w NSWindow) SetCollectionBehavior(collectionBehavior uint)
- func (x NSWindow) SetCollectionBehavior_(value core.NSUInteger)
- func (x NSWindow) SetContentAspectRatio_(value core.NSSize)
- func (x NSWindow) SetContentMaxSize_(value core.NSSize)
- func (x NSWindow) SetContentMinSize_(value core.NSSize)
- func (x NSWindow) SetContentResizeIncrements_(value core.NSSize)
- func (x NSWindow) SetContentSize_(size core.NSSize)
- func (w NSWindow) SetContentView(view NSViewRef)
- func (x NSWindow) SetContentViewController_(value NSViewControllerRef)
- func (x NSWindow) SetContentView_(value NSViewRef)
- func (x NSWindow) SetDelegate_(value objc.Ref)
- func (x NSWindow) SetDisplaysWhenScreenProfileChanges_(value bool)
- func (x NSWindow) SetDocumentEdited_(value bool)
- func (x NSWindow) SetDynamicDepthLimit_(flag bool)
- func (x NSWindow) SetExcludedFromWindowsMenu_(value bool)
- func (w NSWindow) SetFrameDisplay(frame core.NSRect, display bool)
- func (x NSWindow) SetFrameOrigin_(point core.NSPoint)
- func (x NSWindow) SetFrameTopLeftPoint_(point core.NSPoint)
- func (x NSWindow) SetFrame_display_(frameRect core.NSRect, flag bool)
- func (x NSWindow) SetFrame_display_animate_(frameRect core.NSRect, displayFlag bool, animateFlag bool)
- func (w NSWindow) SetHasShadow(b bool)
- func (x NSWindow) SetHasShadow_(value bool)
- func (x NSWindow) SetHidesOnDeactivate_(value bool)
- func (w NSWindow) SetIgnoresMouseEvents(b bool)
- func (x NSWindow) SetIgnoresMouseEvents_(value bool)
- func (x NSWindow) SetInitialFirstResponder_(value NSViewRef)
- func (x NSWindow) SetIsMiniaturized_(flag bool)
- func (x NSWindow) SetIsVisible_(flag bool)
- func (x NSWindow) SetIsZoomed_(flag bool)
- func (w NSWindow) SetLevel(level int)
- func (x NSWindow) SetLevel_(value core.NSInteger)
- func (x NSWindow) SetMaxFullScreenContentSize_(value core.NSSize)
- func (x NSWindow) SetMaxSize_(value core.NSSize)
- func (x NSWindow) SetMinFullScreenContentSize_(value core.NSSize)
- func (x NSWindow) SetMinSize_(value core.NSSize)
- func (x NSWindow) SetMiniwindowImage_(value NSImageRef)
- func (x NSWindow) SetMiniwindowTitle_(value core.NSStringRef)
- func (w NSWindow) SetMovableByWindowBackground(b bool)
- func (x NSWindow) SetMovableByWindowBackground_(value bool)
- func (x NSWindow) SetMovable_(value bool)
- func (w NSWindow) SetOpaque(b bool)
- func (x NSWindow) SetOpaque_(value bool)
- func (x NSWindow) SetOrderedIndex_(value core.NSInteger)
- func (x NSWindow) SetParentWindow_(value NSWindowRef)
- func (x NSWindow) SetPreservesContentDuringLiveResize_(value bool)
- func (x NSWindow) SetPreventsApplicationTerminationWhenModal_(value bool)
- func (x NSWindow) SetReleasedWhenClosed_(value bool)
- func (x NSWindow) SetRepresentedFilename_(value core.NSStringRef)
- func (x NSWindow) SetRepresentedURL_(value core.NSURLRef)
- func (x NSWindow) SetResizeIncrements_(value core.NSSize)
- func (x NSWindow) SetRestorable_(value bool)
- func (x NSWindow) SetShowsToolbarButton_(value bool)
- func (w NSWindow) SetStyleMask(mask uint)
- func (x NSWindow) SetStyleMask_(value core.NSUInteger)
- func (x NSWindow) SetSubtitle_(value core.NSStringRef)
- func (w NSWindow) SetTitle(title string)
- func (w NSWindow) SetTitleVisibility(v int)
- func (x NSWindow) SetTitleVisibility_(value core.NSInteger)
- func (x NSWindow) SetTitleWithRepresentedFilename_(filename core.NSStringRef)
- func (x NSWindow) SetTitle_(value core.NSStringRef)
- func (x NSWindow) SetTitlebarAccessoryViewControllers_(value core.NSArrayRef)
- func (w NSWindow) SetTitlebarAppearsTransparent(b bool)
- func (x NSWindow) SetTitlebarAppearsTransparent_(value bool)
- func (x NSWindow) SetViewsNeedDisplay_(value bool)
- func (x NSWindow) SheetParent() (r0 NSWindow)
- func (x NSWindow) Sheets() (r0 core.NSArray)
- func (x NSWindow) ShowsToolbarButton() (r0 bool)
- func (w NSWindow) StyleMask() uint
- func (x NSWindow) Subtitle() (r0 core.NSString)
- func (x NSWindow) TabbedWindows() (r0 core.NSArray)
- func (w NSWindow) Title() string
- func (w NSWindow) TitleVisibility() int64
- func (x NSWindow) TitlebarAccessoryViewControllers() (r0 core.NSArray)
- func (x NSWindow) TitlebarAppearsTransparent() (r0 bool)
- func (w NSWindow) ToggleFullScreen(s objc.Object)
- func (x NSWindow) ToggleFullScreen_(sender objc.Ref)
- func (x NSWindow) ToggleTabBar_(sender objc.Ref)
- func (x NSWindow) ToggleTabOverview_(sender objc.Ref)
- func (x NSWindow) ToggleToolbarShown_(sender objc.Ref)
- func (x NSWindow) TryToPerform_with_(action objc.Selector, object objc.Ref) (r0 bool)
- func (x NSWindow) UnregisterDraggedTypes()
- func (x NSWindow) Update()
- func (x NSWindow) UpdateConstraintsIfNeeded()
- func (x NSWindow) ViewsNeedDisplay() (r0 bool)
- func (x NSWindow) VisualizeConstraints_(constraints core.NSArrayRef)
- func (x NSWindow) WindowNumber() (r0 core.NSInteger)
- func (x NSWindow) WorksWhenModal() (r0 bool)
- func (x NSWindow) Zoom_(sender objc.Ref)
- type NSWindowRef
Examples ¶
Constants ¶
const ( NSApplicationActivationPolicyRegular = 0 NSApplicationActivationPolicyAccessory = 1 NSApplicationActivationPolicyProhibited = 2 )
const ( NSControlStateValueMixed = -1 NSControlStateValueOff = 0 NSControlStateValueOn = 1 NSNoImage = 0 NSImageOnly = 1 NSImageLeft = 2 NSImageRight = 3 NSImageBelow = 4 NSImageAbove = 5 NSImageOverlaps = 6 )
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 )
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
const ( NSPopoverBehaviorApplicationDefined = 0 NSPopoverBehaviorTransient = 1 NSPopoverBehaviorSemitransient = 2 )
const ( NSVariableStatusItemLength = -1.0 NSSquareStatusItemLength = -2.0 )
const ( NSVisualEffectBlendingModeBehindWindow = 0 NSVisualEffectBlendingModeWithinWindow = 1 )
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 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 ¶
Functions ¶
func NSApplication_detachDrawingThread_toTarget_withObject_ ¶ added in v0.2.0
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_allFrameworks ¶ added in v0.2.0
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_LocalMonitorMatchingMask ¶ added in v0.3.0
func NSEvent_mouseCoalescingEnabled ¶ added in v0.2.0
func NSEvent_mouseCoalescingEnabled() ( r0 bool, )
func NSEvent_mouseLocation ¶ added in v0.2.0
func NSEvent_pressedMouseButtons ¶ added in v0.2.0
func NSEvent_pressedMouseButtons() ( r0 core.NSUInteger, )
func NSEvent_removeMonitor_ ¶ added in v0.2.0
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_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_systemFontSize ¶ added in v0.2.0
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_imageUnfilteredTypes ¶ added in v0.2.0
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_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 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_frameRectForContentRect_styleMask_ ¶ added in v0.2.0
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, )
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 (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 (NSApplication) ApplicationIconImage ¶ added in v0.2.0
func (x NSApplication) ApplicationIconImage() ( r0 NSImage, )
func (NSApplication) CancelUserAttentionRequest_ ¶ added in v0.2.0
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) HideOtherApplications_ ¶ added in v0.2.0
func (NSApplication) Init_asNSApplication ¶ added in v0.2.0
func (x NSApplication) Init_asNSApplication() ( r0 NSApplication, )
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) OrderedDocuments ¶ added in v0.2.0
func (NSApplication) OrderedWindows ¶ added in v0.2.0
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 (NSApplication) ReplyToApplicationShouldTerminate_ ¶ added in v0.2.0
func (x NSApplication) ReplyToApplicationShouldTerminate_( shouldTerminate bool, )
func (NSApplication) SendAction_to_from_ ¶ added in v0.2.0
func (NSApplication) SendEvent_ ¶ added in v0.2.0
func (x NSApplication) SendEvent_( event NSEventRef, )
func (NSApplication) ServicesProvider ¶ added in v0.2.0
func (NSApplication) SetActivationPolicy ¶
func (app NSApplication) SetActivationPolicy(policy int)
func (NSApplication) SetActivationPolicy_ ¶ added in v0.2.0
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 (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 (NSApplication) TargetForAction_ ¶ added in v0.2.0
func (NSApplication) TargetForAction_to_from_ ¶ added in v0.2.0
func (NSApplication) Terminate ¶
func (app NSApplication) Terminate()
func (NSApplication) Terminate_ ¶ added in v0.2.0
func (NSApplication) ToggleTouchBarCustomizationPalette_ ¶ added in v0.2.0
func (NSApplication) TryToPerform_with_ ¶ added in v0.2.0
func (NSApplication) UnhideAllApplications_ ¶ added in v0.2.0
func (NSApplication) UnregisterForRemoteNotifications ¶ added in v0.2.0
func (x NSApplication) UnregisterForRemoteNotifications()
func (NSApplication) UnregisterUserInterfaceItemSearchHandler_ ¶ added in v0.2.0
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_fromPointer ¶ added in v0.2.0
func NSBundle_fromRef ¶ added in v0.2.0
func NSBundle_mainBundle ¶ added in v0.2.0
func NSBundle_mainBundle() ( r0 NSBundle, )
func (NSBundle) AppStoreReceiptURL ¶ added in v0.2.0
func (NSBundle) BuiltInPlugInsPath ¶ added in v0.2.0
func (NSBundle) BuiltInPlugInsURL ¶ added in v0.2.0
func (NSBundle) BundleIdentifier ¶ added in v0.2.0
func (NSBundle) BundlePath ¶ added in v0.2.0
func (NSBundle) DevelopmentLocalization ¶ added in v0.2.0
func (NSBundle) ExecutableArchitectures ¶ added in v0.2.0
func (NSBundle) ExecutablePath ¶ added in v0.2.0
func (NSBundle) ExecutableURL ¶ added in v0.2.0
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 (NSBundle) Init_asNSBundle ¶ added in v0.2.0
func (x NSBundle) Init_asNSBundle() ( r0 NSBundle, )
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 (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 (NSBundle) PrivateFrameworksPath ¶ added in v0.2.0
func (NSBundle) PrivateFrameworksURL ¶ added in v0.2.0
func (NSBundle) ResourcePath ¶ added in v0.2.0
func (NSBundle) ResourceURL ¶ added in v0.2.0
func (NSBundle) SharedFrameworksPath ¶ added in v0.2.0
func (NSBundle) SharedFrameworksURL ¶ added in v0.2.0
func (NSBundle) SharedSupportPath ¶ added in v0.2.0
func (NSBundle) SharedSupportURL ¶ added in v0.2.0
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, )
type NSBundleRef ¶ added in v0.2.0
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_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_checkboxWithTitle_target_action_ ¶ added in v0.2.0
func NSButton_fromPointer ¶ added in v0.2.0
func NSButton_fromRef ¶ added in v0.2.0
func NSButton_radioButtonWithTitle_target_action_ ¶ added in v0.2.0
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 (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) 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 (NSButton) MaxAcceleratorLevel ¶ added in v0.2.0
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 (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) 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, )
type NSButtonRef ¶ added in v0.2.0
type NSColor ¶
type NSColor struct {
// contains filtered or unexported fields
}
func NSColor_Clear ¶
func NSColor_Clear() NSColor
func NSColor_Init ¶
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_fromPointer ¶ added in v0.2.0
func NSColor_fromRef ¶ added in v0.2.0
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 (NSColor) BlackComponent ¶ added in v0.2.0
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 (NSColor) BrightnessComponent ¶ added in v0.2.0
func (NSColor) ColorWithAlphaComponent_ ¶ added in v0.2.0
func (NSColor) CyanComponent ¶ added in v0.2.0
func (NSColor) DrawSwatchInRect_ ¶ added in v0.2.0
func (NSColor) GreenComponent ¶ added in v0.2.0
func (NSColor) HighlightWithLevel_ ¶ added in v0.2.0
func (NSColor) HueComponent ¶ added in v0.2.0
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 (NSColor) LocalizedColorNameComponent ¶ added in v0.2.0
func (NSColor) MagentaComponent ¶ added in v0.2.0
func (NSColor) NumberOfComponents ¶ added in v0.2.0
func (NSColor) RedComponent ¶ added in v0.2.0
func (NSColor) SaturationComponent ¶ added in v0.2.0
func (NSColor) ShadowWithLevel_ ¶ added in v0.2.0
func (NSColor) WhiteComponent ¶ added in v0.2.0
func (NSColor) WriteToPasteboard_ ¶ added in v0.2.0
func (x NSColor) WriteToPasteboard_( pasteBoard NSPasteboardRef, )
func (NSColor) YellowComponent ¶ added in v0.2.0
type NSColorRef ¶ added in v0.2.0
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_alloc ¶ added in v0.2.0
func NSControl_alloc() ( r0 NSControl, )
func NSControl_fromPointer ¶ added in v0.2.0
func NSControl_fromRef ¶ added in v0.2.0
func (NSControl) AbortEditing ¶ added in v0.2.0
func (x NSControl) AbortEditing() ( r0 bool, )
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 (NSControl) EditWithFrame_editor_delegate_event_ ¶ added in v0.2.0
func (NSControl) EndEditing_ ¶ added in v0.2.0
func (x NSControl) EndEditing_( textObj NSTextRef, )
func (NSControl) ExpansionFrameWithFrame_ ¶ added in v0.2.0
func (NSControl) IgnoresMultiClick ¶ added in v0.2.0
func (x NSControl) IgnoresMultiClick() ( r0 bool, )
func (NSControl) InitWithFrame__asNSControl ¶ added in v0.2.0
func (NSControl) Init_asNSControl ¶ added in v0.2.0
func (x NSControl) Init_asNSControl() ( r0 NSControl, )
func (NSControl) IntegerValue ¶ added in v0.2.0
func (NSControl) IsContinuous ¶ added in v0.2.0
func (x NSControl) IsContinuous() ( 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 (NSControl) PerformClick_ ¶ added in v0.2.0
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 (NSControl) SendAction_to_ ¶ added in v0.2.0
func (NSControl) SetAction_ ¶ added in v0.2.0
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) 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 (NSControl) SetObjectValue_ ¶ added in v0.2.0
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) SetTarget_ ¶ added in v0.2.0
func (NSControl) SetUsesSingleLineMode_ ¶ added in v0.2.0
func (x NSControl) SetUsesSingleLineMode_( value bool, )
func (NSControl) SizeThatFits_ ¶ added in v0.2.0
func (NSControl) StringValue ¶ added in v0.2.0
func (NSControl) TakeDoubleValueFrom_ ¶ added in v0.2.0
func (NSControl) TakeFloatValueFrom_ ¶ added in v0.2.0
func (NSControl) TakeIntValueFrom_ ¶ added in v0.2.0
func (NSControl) TakeIntegerValueFrom_ ¶ added in v0.2.0
func (NSControl) TakeObjectValueFrom_ ¶ added in v0.2.0
func (NSControl) TakeStringValueFrom_ ¶ added in v0.2.0
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 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_fromPointer ¶ added in v0.2.0
func NSEvent_fromRef ¶ added in v0.2.0
func (NSEvent) ButtonNumber ¶ added in v0.2.0
func (NSEvent) CapabilityMask ¶ added in v0.2.0
func (x NSEvent) CapabilityMask() ( r0 core.NSUInteger, )
func (NSEvent) Characters ¶ added in v0.0.2
func (NSEvent) CharactersIgnoringModifiers ¶ added in v0.2.0
func (NSEvent) ClickCount ¶ added in v0.2.0
func (NSEvent) DeviceID ¶ added in v0.2.0
func (x NSEvent) DeviceID() ( r0 core.NSUInteger, )
func (NSEvent) EventNumber ¶ added in v0.2.0
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) 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) LocationInWindow ¶ added in v0.2.0
func (NSEvent) Magnification ¶ added in v0.2.0
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 (NSEvent) ScrollingDeltaY ¶ added in v0.2.0
func (NSEvent) StageTransition ¶ added in v0.2.0
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) TrackingNumber ¶ added in v0.2.0
func (NSEvent) VendorDefined ¶ added in v0.2.0
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) WindowNumber ¶ added in v0.2.0
type NSEventRef ¶ added in v0.2.0
type NSFont ¶
type NSFont struct {
// contains filtered or unexported fields
}
func NSFont_Init ¶
func NSFont_alloc ¶ added in v0.2.0
func NSFont_alloc() ( r0 NSFont, )
func NSFont_boldSystemFontOfSize_ ¶ added in v0.2.0
func NSFont_controlContentFontOfSize_ ¶ added in v0.2.0
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_fromRef ¶ added in v0.2.0
func NSFont_labelFontOfSize_ ¶ added in v0.2.0
func NSFont_menuBarFontOfSize_ ¶ added in v0.2.0
func NSFont_menuFontOfSize_ ¶ added in v0.2.0
func NSFont_messageFontOfSize_ ¶ added in v0.2.0
func NSFont_paletteFontOfSize_ ¶ added in v0.2.0
func NSFont_systemFontOfSize_ ¶ added in v0.2.0
func NSFont_titleBarFontOfSize_ ¶ added in v0.2.0
func NSFont_toolTipsFontOfSize_ ¶ added in v0.2.0
func NSFont_userFixedPitchFontOfSize_ ¶ added in v0.2.0
func NSFont_userFontOfSize_ ¶ added in v0.2.0
func (NSFont) DisplayName ¶ added in v0.2.0
func (NSFont) FamilyName ¶ added in v0.2.0
func (NSFont) FontWithSize_ ¶ added in v0.2.0
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) VerticalFont ¶ added in v0.2.0
func (x NSFont) VerticalFont() ( r0 NSFont, )
type NSImage ¶
type NSImage struct {
// contains filtered or unexported fields
}
func NSImage_ImageNamed ¶
func NSImage_InitWithData ¶
func NSImage_InitWithURL ¶ added in v0.2.0
func NSImage_alloc ¶ added in v0.2.0
func NSImage_alloc() ( r0 NSImage, )
func NSImage_fromPointer ¶ added in v0.2.0
func NSImage_fromRef ¶ added in v0.2.0
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 (NSImage) AddRepresentations_ ¶ added in v0.2.0
func (x NSImage) AddRepresentations_( imageReps core.NSArrayRef, )
func (NSImage) AlignmentRect ¶ added in v0.2.0
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) DrawInRect_ ¶ added in v0.2.0
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 (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 (NSImage) InitWithDataIgnoringOrientation__asNSImage ¶ added in v0.2.0
func (NSImage) InitWithData__asNSImage ¶ added in v0.2.0
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 (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) LayerContentsForContentsScale_ ¶ added in v0.2.0
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) RecommendedLayerContentsScale_ ¶ added in v0.2.0
func (NSImage) Representations ¶ added in v0.2.0
func (NSImage) SetAccessibilityDescription_ ¶ added in v0.2.0
func (x NSImage) SetAccessibilityDescription_( value core.NSStringRef, )
func (NSImage) SetAlignmentRect_ ¶ added in v0.2.0
func (NSImage) SetBackgroundColor_ ¶ added in v0.2.0
func (x NSImage) SetBackgroundColor_( value NSColorRef, )
func (NSImage) SetDelegate_ ¶ added in v0.2.0
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) SetTemplate ¶
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) TIFFRepresentation ¶ added in v0.2.0
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 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) ContentTintColor ¶ added in v0.2.0
func (x NSImageView) ContentTintColor() ( r0 NSColor, )
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 (NSLayoutManager) DefaultLineHeightForFont_ ¶ added in v0.2.0
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 (NSLayoutManager) ExtraLineFragmentTextContainer ¶ added in v0.2.0
func (x NSLayoutManager) ExtraLineFragmentTextContainer() ( r0 NSTextContainer, )
func (NSLayoutManager) ExtraLineFragmentUsedRect ¶ added in v0.2.0
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 (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 (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_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_fromRef ¶ added in v0.2.0
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) HighlightedItem ¶ added in v0.2.0
func (x NSMenu) HighlightedItem() ( r0 NSMenuItem, )
func (NSMenu) IndexOfItemWithRepresentedObject_ ¶ added in v0.2.0
func (NSMenu) IndexOfItemWithSubmenu_ ¶ added in v0.2.0
func (NSMenu) IndexOfItemWithTag_ ¶ added in v0.2.0
func (NSMenu) IndexOfItemWithTarget_andAction_ ¶ added in v0.2.0
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) 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 (NSMenu) MinimumWidth ¶ added in v0.2.0
func (NSMenu) NumberOfItems ¶ added in v0.2.0
func (NSMenu) PerformActionForItemAtIndex_ ¶ added in v0.2.0
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 (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 (NSMenu) SetAutoenablesItems_ ¶ added in v0.2.0
func (x NSMenu) SetAutoenablesItems_( value bool, )
func (NSMenu) SetDelegate ¶ added in v0.2.0
func (NSMenu) SetDelegate_ ¶ added in v0.2.0
func (NSMenu) SetItemArray_ ¶ added in v0.2.0
func (x NSMenu) SetItemArray_( value core.NSArrayRef, )
func (NSMenu) SetMinimumWidth_ ¶ added in v0.2.0
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_ ¶ 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) SubmenuAction_ ¶ added in v0.2.0
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) IndentationLevel ¶ added in v0.2.0
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) 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 (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 (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 (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 (NSMenuItem) SetKeyEquivalent_ ¶ added in v0.2.0
func (x NSMenuItem) SetKeyEquivalent_( value core.NSStringRef, )
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 (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) 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) 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 (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) 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) 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
type NSMenuItemRef ¶ added in v0.2.0
type NSMenuItemRef interface { Pointer() uintptr Init_asNSMenuItem() NSMenuItem }
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_alloc ¶ added in v0.2.0
func NSNib_alloc() ( r0 NSNib, )
func NSNib_fromPointer ¶ added in v0.2.0
func NSNib_fromRef ¶ added in v0.2.0
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 (NSNib) InstantiateWithOwner_TopLevelObjects ¶ added in v0.2.0
func (NSNib) InstantiateWithOwner_topLevelObjects_ ¶ added in v0.2.0
func (x NSNib) InstantiateWithOwner_topLevelObjects_( owner objc.Ref, topLevelObjects core.NSArrayRef, ) ( r0 bool, )
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 (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 (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 (NSPasteboard) Init_asNSPasteboard ¶ added in v0.2.0
func (x NSPasteboard) Init_asNSPasteboard() ( r0 NSPasteboard, )
func (NSPasteboard) PasteboardItems ¶ added in v0.2.0
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_fromRef ¶ added in v0.2.0
func (NSPopover) ContentSize ¶ added in v0.2.0
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) PerformClose_ ¶ added in v0.2.0
func (NSPopover) PositioningRect ¶ added in v0.2.0
func (NSPopover) SetAnimates ¶ added in v0.2.0
func (NSPopover) SetAnimates_ ¶ added in v0.2.0
func (x NSPopover) SetAnimates_( value bool, )
func (NSPopover) SetBehavior ¶ added in v0.2.0
func (NSPopover) SetBehavior_ ¶ added in v0.2.0
func (NSPopover) SetContentSize ¶ added in v0.2.0
func (NSPopover) SetContentSize_ ¶ added in v0.2.0
func (NSPopover) SetDelegate ¶ added in v0.2.0
func (NSPopover) SetPositioningRect_ ¶ added in v0.2.0
func (NSPopover) SetViewController ¶ added in v0.2.0
type NSPopoverRef ¶ added in v0.2.0
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_fromRef ¶ added in v0.2.0
func NSScreen_mainScreen ¶ added in v0.2.0
func NSScreen_mainScreen() ( r0 NSScreen, )
func (NSScreen) BackingScaleFactor ¶ added in v0.2.0
func (NSScreen) ConvertRectFromBacking_ ¶ added in v0.2.0
func (NSScreen) ConvertRectToBacking_ ¶ added in v0.2.0
func (NSScreen) DeviceDescription ¶ added in v0.2.0
func (x NSScreen) DeviceDescription() ( r0 core.NSDictionary, )
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 (NSScreen) MaximumExtendedDynamicRangeColorComponentValue ¶ added in v0.2.0
func (NSScreen) MaximumFramesPerSecond ¶ added in v0.2.0
func (NSScreen) MaximumPotentialExtendedDynamicRangeColorComponentValue ¶ added in v0.2.0
func (NSScreen) MaximumReferenceExtendedDynamicRangeColorComponentValue ¶ added in v0.2.0
func (NSScreen) VisibleFrame ¶ added in v0.2.0
type NSScreenRef ¶ added in v0.2.0
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_alloc ¶ added in v0.3.0
func NSSound_alloc() ( r0 NSSound, )
func NSSound_fromPointer ¶ added in v0.3.0
func NSSound_fromRef ¶ added in v0.3.0
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 (NSSound) InitWithData__asNSSound ¶ added in v0.3.0
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) SetDelegate_ ¶ added in v0.3.0
func (NSSound) WriteToPasteboard_ ¶ added in v0.3.0
func (x NSSound) WriteToPasteboard_( pasteboard NSPasteboardRef, )
type NSSoundRef ¶ added in v0.3.0
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, )
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) 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 (NSStatusItem) SetMenu ¶
func (i NSStatusItem) SetMenu(menu NSMenu)
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_fromRef ¶ added in v0.2.0
func (NSText) AlignCenter_ ¶ added in v0.2.0
func (NSText) AlignLeft_ ¶ added in v0.2.0
func (NSText) AlignRight_ ¶ added in v0.2.0
func (NSText) BackgroundColor ¶ added in v0.2.0
func (x NSText) BackgroundColor() ( r0 NSColor, )
func (NSText) ChangeFont_ ¶ added in v0.2.0
func (NSText) CheckSpelling_ ¶ added in v0.2.0
func (NSText) CopyRuler_ ¶ added in v0.2.0
func (NSText) DrawsBackground ¶ added in v0.2.0
func (x NSText) DrawsBackground() ( r0 bool, )
func (NSText) ImportsGraphics ¶ added in v0.2.0
func (x NSText) ImportsGraphics() ( r0 bool, )
func (NSText) InitWithFrame__asNSText ¶ added in v0.2.0
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) PasteFont_ ¶ added in v0.2.0
func (NSText) PasteRuler_ ¶ added in v0.2.0
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 (NSText) SetBackgroundColor_ ¶ added in v0.2.0
func (x NSText) SetBackgroundColor_( value NSColorRef, )
func (NSText) SetDelegate_ ¶ added in v0.2.0
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) 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 (NSText) SetMinSize_ ¶ added in v0.2.0
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 (NSText) Subscript_ ¶ added in v0.2.0
func (NSText) Superscript_ ¶ added in v0.2.0
func (NSText) ToggleRuler_ ¶ added in v0.2.0
func (NSText) Underline_ ¶ added in v0.2.0
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 (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 (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 (NSTextContainer) SetMaximumNumberOfLines_ ¶ added in v0.2.0
func (x NSTextContainer) SetMaximumNumberOfLines_( value core.NSUInteger, )
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) 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 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 (NSTextView) AcceptsGlyphInfo ¶ added in v0.2.0
func (x NSTextView) AcceptsGlyphInfo() ( r0 bool, )
func (NSTextView) AlignJustified_ ¶ added in v0.2.0
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 (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 (NSTextView) ChangeColor_ ¶ added in v0.2.0
func (NSTextView) ChangeDocumentBackgroundColor_ ¶ added in v0.2.0
func (NSTextView) ChangeLayoutOrientation_ ¶ added in v0.2.0
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 (NSTextView) CheckTextInSelection_ ¶ added in v0.2.0
func (NSTextView) CleanUpAfterDragOperation ¶ added in v0.2.0
func (x NSTextView) CleanUpAfterDragOperation()
func (NSTextView) ClickedOnLink_atIndex_ ¶ added in v0.2.0
func (x NSTextView) ClickedOnLink_atIndex_( link objc.Ref, charIndex core.NSUInteger, )
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 (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) 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 (NSTextView) LowerBaseline_ ¶ added in v0.2.0
func (NSTextView) MarkedTextAttributes ¶ added in v0.2.0
func (x NSTextView) MarkedTextAttributes() ( r0 core.NSDictionary, )
func (NSTextView) OrderFrontLinkPanel_ ¶ added in v0.2.0
func (NSTextView) OrderFrontListPanel_ ¶ added in v0.2.0
func (NSTextView) OrderFrontSharingServicePicker_ ¶ added in v0.2.0
func (NSTextView) OrderFrontSpacingPanel_ ¶ added in v0.2.0
func (NSTextView) OrderFrontSubstitutionsPanel_ ¶ added in v0.2.0
func (NSTextView) OrderFrontTablePanel_ ¶ added in v0.2.0
func (NSTextView) PasteAsPlainText_ ¶ added in v0.2.0
func (NSTextView) PasteAsRichText_ ¶ added in v0.2.0
func (NSTextView) PerformFindPanelAction_ ¶ added in v0.2.0
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 (NSTextView) RangesForUserCharacterAttributeChange ¶ added in v0.2.0
func (NSTextView) RangesForUserParagraphAttributeChange ¶ added in v0.2.0
func (NSTextView) RangesForUserTextChange ¶ added in v0.2.0
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 (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 (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 (NSTextView) SetContinuousSpellCheckingEnabled_ ¶ added in v0.2.0
func (x NSTextView) SetContinuousSpellCheckingEnabled_( value bool, )
func (NSTextView) SetDelegate_ ¶ added in v0.2.0
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) 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 (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 (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 (NSTextView) StartSpeaking_ ¶ added in v0.2.0
func (NSTextView) StopSpeaking_ ¶ added in v0.2.0
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 (NSTextView) TextContainerOrigin ¶ added in v0.2.0
func (NSTextView) TightenKerning_ ¶ added in v0.2.0
func (NSTextView) ToggleAutomaticDashSubstitution_ ¶ added in v0.2.0
func (NSTextView) ToggleAutomaticDataDetection_ ¶ added in v0.2.0
func (NSTextView) ToggleAutomaticLinkDetection_ ¶ added in v0.2.0
func (NSTextView) ToggleAutomaticQuoteSubstitution_ ¶ added in v0.2.0
func (NSTextView) ToggleAutomaticSpellingCorrection_ ¶ added in v0.2.0
func (NSTextView) ToggleAutomaticTextCompletion_ ¶ added in v0.2.0
func (NSTextView) ToggleAutomaticTextReplacement_ ¶ added in v0.2.0
func (NSTextView) ToggleContinuousSpellChecking_ ¶ added in v0.2.0
func (NSTextView) ToggleGrammarChecking_ ¶ added in v0.2.0
func (NSTextView) ToggleQuickLookPreviewPanel_ ¶ added in v0.2.0
func (NSTextView) ToggleSmartInsertDelete_ ¶ added in v0.2.0
func (NSTextView) TurnOffKerning_ ¶ added in v0.2.0
func (NSTextView) TurnOffLigatures_ ¶ added in v0.2.0
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 (NSTextView) UseStandardKerning_ ¶ added in v0.2.0
func (NSTextView) UseStandardLigatures_ ¶ added in v0.2.0
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) WritablePasteboardTypes ¶ added in v0.2.0
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_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_fromRef ¶ added in v0.2.0
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 (NSView) AddSubviewPositionedRelativeTo ¶
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 (NSView) AlignmentRectForFrame_ ¶ added in v0.2.0
func (NSView) AllowsVibrancy ¶ added in v0.2.0
func (x NSView) AllowsVibrancy() ( r0 bool, )
func (NSView) AlphaValue ¶ added in v0.2.0
func (NSView) AncestorSharedWithView_ ¶ added in v0.2.0
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 (NSView) BaselineOffsetFromBottom ¶ added in v0.2.0
func (NSView) BeginDocument ¶ added in v0.2.0
func (x NSView) BeginDocument()
func (NSView) BeginPageInRect_atPlacement_ ¶ added in v0.2.0
func (NSView) BoundsRotation ¶ added in v0.2.0
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 (NSView) Constraints ¶ added in v0.2.0
func (NSView) ContentFilters ¶ added in v0.2.0
func (NSView) ConvertPointFromBacking_ ¶ added in v0.2.0
func (NSView) ConvertPointFromLayer_ ¶ added in v0.2.0
func (NSView) ConvertPointToBacking_ ¶ added in v0.2.0
func (NSView) ConvertPointToLayer_ ¶ added in v0.2.0
func (NSView) ConvertPoint_fromView_ ¶ added in v0.2.0
func (NSView) ConvertPoint_toView_ ¶ added in v0.2.0
func (NSView) ConvertRectFromBacking_ ¶ added in v0.2.0
func (NSView) ConvertRectFromLayer_ ¶ added in v0.2.0
func (NSView) ConvertRectToBacking_ ¶ added in v0.2.0
func (NSView) ConvertRectToLayer_ ¶ added in v0.2.0
func (NSView) ConvertRect_fromView_ ¶ added in v0.2.0
func (NSView) ConvertRect_toView_ ¶ added in v0.2.0
func (NSView) ConvertSizeFromBacking_ ¶ added in v0.2.0
func (NSView) ConvertSizeFromLayer_ ¶ added in v0.2.0
func (NSView) ConvertSizeToBacking_ ¶ added in v0.2.0
func (NSView) ConvertSizeToLayer_ ¶ added in v0.2.0
func (NSView) ConvertSize_fromView_ ¶ added in v0.2.0
func (NSView) ConvertSize_toView_ ¶ added in v0.2.0
func (NSView) DataWithEPSInsideRect_ ¶ added in v0.2.0
func (NSView) DataWithPDFInsideRect_ ¶ added in v0.2.0
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) 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 (NSView) DisplayIfNeededInRect_ ¶ added in v0.2.0
func (NSView) DisplayRectIgnoringOpacity_ ¶ added in v0.2.0
func (NSView) DisplayRect_ ¶ added in v0.2.0
func (NSView) DrawFocusRingMask ¶ added in v0.2.0
func (x NSView) DrawFocusRingMask()
func (NSView) DrawPageBorderWithSize_ ¶ added in v0.2.0
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) 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 (NSView) FittingSize ¶ added in v0.2.0
func (NSView) FocusRingMaskBounds ¶ added in v0.2.0
func (NSView) FrameCenterRotation ¶ added in v0.2.0
func (NSView) FrameForAlignmentRect_ ¶ added in v0.2.0
func (NSView) FrameRotation ¶ added in v0.2.0
func (NSView) GestureRecognizers ¶ added in v0.2.0
func (NSView) HasAmbiguousLayout ¶ added in v0.2.0
func (x NSView) HasAmbiguousLayout() ( r0 bool, )
func (NSView) HeightAdjustLimit ¶ added in v0.2.0
func (NSView) InLiveResize ¶ added in v0.2.0
func (x NSView) InLiveResize() ( r0 bool, )
func (NSView) InitWithFrame__asNSView ¶ added in v0.2.0
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 (NSView) InvalidateIntrinsicContentSize ¶ added in v0.2.0
func (x NSView) InvalidateIntrinsicContentSize()
func (NSView) IsDescendantOf_ ¶ added in v0.2.0
func (NSView) IsDrawingFindIndicator ¶ added in v0.2.0
func (x NSView) IsDrawingFindIndicator() ( 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) 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 (NSView) LayerUsesCoreImageFilters ¶ added in v0.2.0
func (x NSView) LayerUsesCoreImageFilters() ( r0 bool, )
func (NSView) LayoutGuides ¶ added in v0.2.0
func (NSView) LayoutSubtreeIfNeeded ¶ added in v0.2.0
func (x NSView) LayoutSubtreeIfNeeded()
func (NSView) LocationOfPrintRect_ ¶ added in v0.2.0
func (NSView) MakeBackingLayer ¶ added in v0.2.0
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 (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 (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) 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 (NSView) PrepareForReuse ¶ added in v0.2.0
func (x NSView) PrepareForReuse()
func (NSView) PreparedContentRect ¶ added in v0.2.0
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 (NSView) RectForPage_ ¶ added in v0.2.0
func (NSView) RectForSmartMagnificationAtPoint_inRect_ ¶ added in v0.2.0
func (NSView) RectPreservedDuringLiveResize ¶ added in v0.2.0
func (NSView) RegisterForDraggedTypes_ ¶ added in v0.2.0
func (x NSView) RegisterForDraggedTypes_( newTypes core.NSArrayRef, )
func (NSView) RegisteredDraggedTypes ¶ added in v0.2.0
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 (NSView) ResetCursorRects ¶ added in v0.2.0
func (x NSView) ResetCursorRects()
func (NSView) ResizeSubviewsWithOldSize_ ¶ added in v0.2.0
func (NSView) ResizeWithOldSuperviewSize_ ¶ added in v0.2.0
func (NSView) RotateByAngle_ ¶ added in v0.2.0
func (NSView) ScaleUnitSquareToSize_ ¶ added in v0.2.0
func (NSView) ScrollPoint_ ¶ added in v0.2.0
func (NSView) ScrollRectToVisible_ ¶ added in v0.2.0
func (NSView) SetAlphaValue_ ¶ added in v0.2.0
func (NSView) SetAutoresizesSubviews_ ¶ added in v0.2.0
func (x NSView) SetAutoresizesSubviews_( value bool, )
func (NSView) SetBackgroundColor ¶
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) SetBoundsOrigin ¶
func (NSView) SetBoundsOrigin_ ¶ added in v0.2.0
func (NSView) SetBoundsRotation_ ¶ added in v0.2.0
func (NSView) SetBoundsSize ¶
func (NSView) SetBoundsSize_ ¶ added in v0.2.0
func (NSView) SetBounds_ ¶ added in v0.2.0
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) SetFrameCenterRotation_ ¶ added in v0.2.0
func (NSView) SetFrameOrigin ¶
func (NSView) SetFrameOrigin_ ¶ added in v0.2.0
func (NSView) SetFrameRotation_ ¶ added in v0.2.0
func (NSView) SetFrameSize ¶
func (NSView) SetFrameSize_ ¶ added in v0.2.0
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 (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 (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) 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 (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 (NSView) SetVerticalContentSizeConstraintActive_ ¶ added in v0.2.0
func (x NSView) SetVerticalContentSizeConstraintActive_( value bool, )
func (NSView) SetWantsLayer ¶
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) TrackingAreas ¶ added in v0.2.0
func (NSView) TranslateOriginToPoint_ ¶ added in v0.2.0
func (NSView) TranslateRectsNeedingDisplayInRect_by_ ¶ added in v0.2.0
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 (NSView) VisibleRect ¶ added in v0.2.0
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 (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) 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 (NSViewController) CommitEditing ¶ added in v0.2.0
func (x NSViewController) CommitEditing() ( r0 bool, )
func (NSViewController) CommitEditingWithDelegate_didCommitSelector_contextInfo_ ¶ added in v0.2.0
func (NSViewController) DiscardEditing ¶ added in v0.2.0
func (x NSViewController) DiscardEditing()
func (NSViewController) DismissController_ ¶ added in v0.2.0
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) 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 (NSViewController) PreferredContentSizeDidChangeForViewController_ ¶ added in v0.2.0
func (x NSViewController) PreferredContentSizeDidChangeForViewController_( viewController NSViewControllerRef, )
func (NSViewController) PreferredMaximumSize ¶ added in v0.2.0
func (NSViewController) PreferredMinimumSize ¶ added in v0.2.0
func (NSViewController) PreferredScreenOrigin ¶ added in v0.2.0
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 (NSViewController) PresentingViewController ¶ added in v0.2.0
func (x NSViewController) PresentingViewController() ( r0 NSViewController, )
func (NSViewController) RemoveChildViewControllerAtIndex_ ¶ added in v0.2.0
func (NSViewController) RemoveFromParentViewController ¶ added in v0.2.0
func (x NSViewController) RemoveFromParentViewController()
func (NSViewController) RepresentedObject ¶ added in v0.2.0
func (NSViewController) SetChildViewControllers_ ¶ added in v0.2.0
func (x NSViewController) SetChildViewControllers_( value core.NSArrayRef, )
func (NSViewController) SetPreferredContentSize_ ¶ added in v0.2.0
func (NSViewController) SetPreferredScreenOrigin_ ¶ added in v0.2.0
func (NSViewController) SetRepresentedObject_ ¶ added in v0.2.0
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) 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
type NSViewControllerRef ¶ added in v0.2.0
type NSViewControllerRef interface { Pointer() uintptr Init_asNSViewController() NSViewController }
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_fromRef ¶ added in v0.2.0
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 (NSWindow) AreCursorRectsEnabled ¶ added in v0.2.0
func (x NSWindow) AreCursorRectsEnabled() ( r0 bool, )
func (NSWindow) AspectRatio ¶ added in v0.2.0
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 (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) CascadeTopLeftFromPoint_ ¶ added in v0.2.0
func (NSWindow) ChildWindows ¶ added in v0.2.0
func (NSWindow) CollectionBehavior ¶
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 (NSWindow) ContentLayoutGuide ¶ added in v0.2.0
func (NSWindow) ContentLayoutRect ¶ added in v0.2.0
func (NSWindow) ContentMaxSize ¶ added in v0.2.0
func (NSWindow) ContentMinSize ¶ added in v0.2.0
func (NSWindow) ContentRectForFrameRect ¶
func (NSWindow) ContentRectForFrameRect_ ¶ added in v0.2.0
func (NSWindow) ContentResizeIncrements ¶ added in v0.2.0
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 (NSWindow) ConvertPointFromScreen_ ¶ added in v0.2.0
func (NSWindow) ConvertPointToBacking_ ¶ added in v0.2.0
func (NSWindow) ConvertPointToScreen_ ¶ added in v0.2.0
func (NSWindow) ConvertRectFromBacking_ ¶ added in v0.2.0
func (NSWindow) ConvertRectFromScreen_ ¶ added in v0.2.0
func (NSWindow) ConvertRectToBacking_ ¶ added in v0.2.0
func (NSWindow) ConvertRectToScreen_ ¶ added in v0.2.0
func (NSWindow) CurrentEvent ¶ added in v0.2.0
func (x NSWindow) CurrentEvent() ( r0 NSEvent, )
func (NSWindow) DataWithEPSInsideRect_ ¶ added in v0.2.0
func (NSWindow) DataWithPDFInsideRect_ ¶ added in v0.2.0
func (NSWindow) DeepestScreen ¶ added in v0.2.0
func (x NSWindow) DeepestScreen() ( r0 NSScreen, )
func (NSWindow) Deminiaturize_ ¶ added in v0.2.0
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) 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 (NSWindow) EndSheet_ ¶ added in v0.2.0
func (x NSWindow) EndSheet_( sheetWindow NSWindowRef, )
func (NSWindow) FieldEditor_forObject_ ¶ added in v0.2.0
func (NSWindow) FrameRectForContentRect_ ¶ added in v0.2.0
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) 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) 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) 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) IsZoomable ¶ added in v0.2.0
func (x NSWindow) IsZoomable() ( r0 bool, )
func (NSWindow) LayoutIfNeeded ¶ added in v0.2.0
func (x NSWindow) LayoutIfNeeded()
func (NSWindow) MakeKeyAndOrderFront ¶
func (NSWindow) MakeKeyAndOrderFront_ ¶ added in v0.2.0
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 (NSWindow) MergeAllWindows_ ¶ added in v0.2.0
func (NSWindow) MinFullScreenContentSize ¶ added in v0.2.0
func (NSWindow) Miniaturize_ ¶ added in v0.2.0
func (NSWindow) MiniwindowImage ¶ added in v0.2.0
func (x NSWindow) MiniwindowImage() ( r0 NSImage, )
func (NSWindow) MiniwindowTitle ¶ added in v0.2.0
func (NSWindow) MouseLocationOutsideOfEventStream ¶ added in v0.2.0
func (NSWindow) MovableByWindowBackground ¶
func (NSWindow) MoveTabToNewWindow_ ¶ added in v0.2.0
func (NSWindow) OrderBack ¶ added in v0.0.3
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 (NSWindow) OrderFront ¶ added in v0.0.3
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 (NSWindow) OrderOut ¶ added in v0.0.3
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) 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 (NSWindow) ParentWindow ¶ added in v0.2.0
func (x NSWindow) ParentWindow() ( r0 NSWindow, )
func (NSWindow) PerformClose_ ¶ added in v0.2.0
func (NSWindow) PerformMiniaturize_ ¶ added in v0.2.0
func (NSWindow) PerformWindowDragWithEvent_ ¶ added in v0.2.0
func (x NSWindow) PerformWindowDragWithEvent_( event NSEventRef, )
func (NSWindow) PerformZoom_ ¶ added in v0.2.0
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) 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 (NSWindow) RepresentedFilename ¶ added in v0.2.0
func (NSWindow) RepresentedURL ¶ added in v0.2.0
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 (NSWindow) RunToolbarCustomizationPalette_ ¶ added in v0.2.0
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 (NSWindow) SelectNextTab_ ¶ added in v0.2.0
func (NSWindow) SelectPreviousKeyView_ ¶ added in v0.2.0
func (NSWindow) SelectPreviousTab_ ¶ added in v0.2.0
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 (NSWindow) SetAspectRatio_ ¶ added in v0.2.0
func (NSWindow) SetAutorecalculatesKeyViewLoop_ ¶ added in v0.2.0
func (x NSWindow) SetAutorecalculatesKeyViewLoop_( value bool, )
func (NSWindow) SetBackgroundColor ¶
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 (NSWindow) SetCollectionBehavior_ ¶ added in v0.2.0
func (x NSWindow) SetCollectionBehavior_( value core.NSUInteger, )
func (NSWindow) SetContentAspectRatio_ ¶ added in v0.2.0
func (NSWindow) SetContentMaxSize_ ¶ added in v0.2.0
func (NSWindow) SetContentMinSize_ ¶ added in v0.2.0
func (NSWindow) SetContentResizeIncrements_ ¶ added in v0.2.0
func (NSWindow) SetContentSize_ ¶ added in v0.2.0
func (NSWindow) SetContentView ¶
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 (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 (NSWindow) SetFrameOrigin_ ¶ added in v0.2.0
func (NSWindow) SetFrameTopLeftPoint_ ¶ added in v0.2.0
func (NSWindow) SetFrame_display_ ¶ added in v0.2.0
func (NSWindow) SetFrame_display_animate_ ¶ added in v0.2.0
func (NSWindow) SetHasShadow ¶ added in v0.0.3
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 (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) SetMaxFullScreenContentSize_ ¶ added in v0.2.0
func (NSWindow) SetMaxSize_ ¶ added in v0.2.0
func (NSWindow) SetMinFullScreenContentSize_ ¶ added in v0.2.0
func (NSWindow) SetMinSize_ ¶ added in v0.2.0
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 (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_ ¶ added in v0.2.0
func (x NSWindow) SetOpaque_( value bool, )
func (NSWindow) SetOrderedIndex_ ¶ added in v0.2.0
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 (NSWindow) SetResizeIncrements_ ¶ added in v0.2.0
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 (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) SetTitleVisibility ¶
func (NSWindow) SetTitleVisibility_ ¶ added in v0.2.0
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 (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) ShowsToolbarButton ¶ added in v0.2.0
func (x NSWindow) ShowsToolbarButton() ( r0 bool, )
func (NSWindow) TabbedWindows ¶ added in v0.2.0
func (NSWindow) TitleVisibility ¶
func (NSWindow) TitlebarAccessoryViewControllers ¶ added in v0.2.0
func (NSWindow) TitlebarAppearsTransparent ¶
func (x NSWindow) TitlebarAppearsTransparent() ( r0 bool, )
func (NSWindow) ToggleFullScreen ¶
func (NSWindow) ToggleFullScreen_ ¶ added in v0.2.0
func (NSWindow) ToggleTabBar_ ¶ added in v0.2.0
func (NSWindow) ToggleTabOverview_ ¶ added in v0.2.0
func (NSWindow) ToggleToolbarShown_ ¶ added in v0.2.0
func (NSWindow) TryToPerform_with_ ¶ added in v0.2.0
func (NSWindow) UnregisterDraggedTypes ¶ added in v0.2.0
func (x NSWindow) UnregisterDraggedTypes()
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 (NSWindow) WorksWhenModal ¶ added in v0.2.0
func (x NSWindow) WorksWhenModal() ( r0 bool, )
type NSWindowRef ¶ added in v0.2.0
Source Files
¶
- NSApplication.go
- NSBundle.go
- NSButton.go
- NSCell.go
- NSColor.go
- NSControl.go
- NSEvent.go
- NSEvent_monitor.go
- NSFont.go
- NSImage.go
- NSImageView.go
- NSLayoutManager.go
- NSMenu.go
- NSMenuItem.go
- NSNib.go
- NSPasteboard.go
- NSPopover.go
- NSScreen.go
- NSSound.go
- NSStatusBar.go
- NSStatusBarButton.go
- NSStatusItem.go
- NSText.go
- NSTextContainer.go
- NSTextView.go
- NSView.go
- NSViewController.go
- NSVisualEffectView.go
- NSWindow.go
- NSWindow_const.go
- cocoa_objc.gen.go
- init.go