Documentation ¶
Rendered for darwin/amd64
Index ¶
- Constants
- type CGFloat
- type CGPoint
- type CGRect
- type CGSize
- type NSAutoreleasePool
- type NSColor
- type NSDictionary
- type NSError
- type NSInteger
- type NSInvocation
- func (i NSInvocation) GetReturnValue(ret unsafe.Pointer)
- func (i NSInvocation) Invoke()
- func (i NSInvocation) InvokeWithTarget(target objc.ID)
- func (i NSInvocation) SetArgumentAtIndex(arg unsafe.Pointer, idx int)
- func (i NSInvocation) SetSelector(cmd objc.SEL)
- func (i NSInvocation) SetTarget(target objc.ID)
- type NSMethodSignature
- type NSNotification
- type NSNumber
- type NSOperatingSystemVersion
- type NSPoint
- type NSProcessInfo
- type NSRect
- type NSScreen
- type NSSize
- type NSString
- type NSUInteger
- type NSView
- type NSWindow
Constants ¶
View Source
const ( NSWindowCollectionBehaviorManaged = 1 << 2 NSWindowCollectionBehaviorFullScreenPrimary = 1 << 7 NSWindowCollectionBehaviorFullScreenNone = 1 << 9 )
View Source
const ( NSWindowStyleMaskResizable = 1 << 3 NSWindowStyleMaskFullScreen = 1 << 14 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NSAutoreleasePool ¶
func NSAutoreleasePool_new ¶
func NSAutoreleasePool_new() NSAutoreleasePool
func (NSAutoreleasePool) Release ¶
func (p NSAutoreleasePool) Release()
type NSColor ¶ added in v2.5.0
func NSColor_colorWithSRGBRedGreenBlueAlpha ¶ added in v2.5.0
type NSDictionary ¶ added in v2.5.0
func (NSDictionary) ObjectForKey ¶ added in v2.5.0
func (d NSDictionary) ObjectForKey(object objc.ID) objc.ID
type NSInvocation ¶
NSInvocation is being used to call functions that can't be called directly with purego.SyscallN. See the downsides of that function for what it cannot do.
func NSInvocation_invocationWithMethodSignature ¶
func NSInvocation_invocationWithMethodSignature(sig NSMethodSignature) NSInvocation
func (NSInvocation) GetReturnValue ¶
func (i NSInvocation) GetReturnValue(ret unsafe.Pointer)
func (NSInvocation) Invoke ¶
func (i NSInvocation) Invoke()
func (NSInvocation) InvokeWithTarget ¶ added in v2.5.0
func (i NSInvocation) InvokeWithTarget(target objc.ID)
func (NSInvocation) SetArgumentAtIndex ¶
func (i NSInvocation) SetArgumentAtIndex(arg unsafe.Pointer, idx int)
func (NSInvocation) SetSelector ¶
func (i NSInvocation) SetSelector(cmd objc.SEL)
func (NSInvocation) SetTarget ¶
func (i NSInvocation) SetTarget(target objc.ID)
type NSMethodSignature ¶
func NSMethodSignature_instanceMethodSignatureForSelector ¶
func NSMethodSignature_instanceMethodSignatureForSelector(self objc.ID, cmd objc.SEL) NSMethodSignature
func NSMethodSignature_signatureWithObjCTypes ¶
func NSMethodSignature_signatureWithObjCTypes(types string) NSMethodSignature
NSMethodSignature_signatureWithObjCTypes takes a string that represents the type signature of a method. It follows the encoding specified in the Apple Docs.
type NSNotification ¶ added in v2.5.0
func (NSNotification) Object ¶ added in v2.5.0
func (n NSNotification) Object() objc.ID
type NSNumber ¶ added in v2.5.0
func (NSNumber) UnsignedIntValue ¶ added in v2.5.0
type NSOperatingSystemVersion ¶ added in v2.5.0
type NSOperatingSystemVersion struct {
Major, Minor, Patch NSInteger
}
type NSProcessInfo ¶ added in v2.5.0
func NSProcessInfo_processInfo ¶ added in v2.5.0
func NSProcessInfo_processInfo() NSProcessInfo
type NSScreen ¶ added in v2.5.0
func NSScreen_mainScreen ¶ added in v2.5.0
func NSScreen_mainScreen() NSScreen
func (NSScreen) DeviceDescription ¶ added in v2.5.0
func (s NSScreen) DeviceDescription() NSDictionary
type NSString ¶
func NSString_alloc ¶
func NSString_alloc() NSString
func (NSString) InitWithUTF8String ¶
type NSUInteger ¶ added in v2.5.0
type NSUInteger = uint
type NSView ¶ added in v2.5.0
func (NSView) SetFrameSize ¶ added in v2.5.0
type NSWindow ¶ added in v2.5.0
func (NSWindow) ContentView ¶ added in v2.5.0
func (NSWindow) SetBackgroundColor ¶ added in v2.5.0
func (NSWindow) SetStyleMask ¶ added in v2.5.0
func (w NSWindow) SetStyleMask(styleMask NSUInteger)
func (NSWindow) StyleMask ¶ added in v2.5.0
func (w NSWindow) StyleMask() NSUInteger
Click to show internal directories.
Click to hide internal directories.