Address
:
[go:
up one dir
,
main page
]
Include Form
Remove Scripts
Accept Cookies
Show Images
Show Referer
Rotate13
Base64
Strip Meta
Strip Title
Session Cookies
Docs.rs
cocoa-0.24.1
cocoa 0.24.1
Docs.rs crate page
MIT
/
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
github:servo:cargo-publish
metajack
mbrubeck
Dependencies
bitflags ^1.0
normal
block ^0.1
normal
cocoa-foundation ^0.1
normal
core-foundation ^0.9
normal
core-graphics ^0.22
normal
foreign-types ^0.3
normal
libc ^0.2
normal
objc ^0.2.3
normal
Versions
14.74%
of the crate is documented
Go to latest version
Platform
x86_64-apple-darwin
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
id
Trait Implementations
NSApplication
NSButton
NSColor
NSColorSpace
NSControl
NSCursor
NSDockTile
NSEvent
NSImage
NSImageView
NSLayoutConstraint
NSLayoutDimension
NSMenu
NSMenuItem
NSNib
NSOpenGLContext
NSOpenGLPixelFormat
NSOpenGLView
NSOpenPanel
NSPanel
NSPasteboard
NSPasteboardItem
NSPasteboardItemDataProvider
NSPasteboardReading
NSPasteboardWriting
NSRunningApplication
NSSavePanel
NSScreen
NSSound
NSSpellChecker
NSStatusBar
NSStatusItem
NSTabView
NSTabViewItem
NSTextField
NSToolbar
NSView
NSWindow
In cocoa::base
?
Type Definition
cocoa
::
base
::
id
source
·
[
−
]
pub type id =
*mut
Object
;
Trait Implementations
source
impl
NSApplication
for
id
source
unsafe fn
mainMenu
(self) ->
id
source
unsafe fn
setActivationPolicy_
(
self,
policy:
NSApplicationActivationPolicy
) ->
BOOL
source
unsafe fn
setPresentationOptions_
(
self,
options:
NSApplicationPresentationOptions
) ->
BOOL
source
unsafe fn
presentationOptions_
(self) ->
NSApplicationPresentationOptions
source
unsafe fn
setMainMenu_
(self, menu:
id
)
source
unsafe fn
setServicesMenu_
(self, menu:
id
)
source
unsafe fn
setWindowsMenu_
(self, menu:
id
)
source
unsafe fn
activateIgnoringOtherApps_
(self, ignore:
BOOL
)
source
unsafe fn
run
(self)
source
unsafe fn
finishLaunching
(self)
source
unsafe fn
nextEventMatchingMask_untilDate_inMode_dequeue_
(
self,
mask:
NSUInteger
,
expiration:
id
,
in_mode:
id
,
dequeue:
BOOL
) ->
id
source
unsafe fn
sendEvent_
(self, an_event:
id
)
source
unsafe fn
postEvent_atStart_
(self, anEvent:
id
, flag:
BOOL
)
source
unsafe fn
stop_
(self, sender:
id
)
source
unsafe fn
setApplicationIconImage_
(self, icon:
id
)
source
unsafe fn
requestUserAttention_
(self, requestType:
NSRequestUserAttentionType
)
source
unsafe fn
sharedApplication
(_: Self) ->
id
source
impl
NSButton
for
id
source
unsafe fn
initWithFrame_
(self, frameRect:
NSRect
) ->
id
source
unsafe fn
setBezelStyle_
(self, style:
NSBezelStyle
)
source
unsafe fn
setTitle_
(self, title:
id
)
source
unsafe fn
setImage_
(self, img:
id
)
source
unsafe fn
setTarget_
(self, target:
id
)
source
unsafe fn
setAction_
(self, selector:
Sel
)
source
unsafe fn
alloc
(_: Self) ->
id
source
impl
NSColor
for
id
source
unsafe fn
clearColor
(_: Self) ->
id
source
unsafe fn
colorWithRed_green_blue_alpha_
(
_: Self,
r:
CGFloat
,
g:
CGFloat
,
b:
CGFloat
,
a:
CGFloat
) ->
id
source
unsafe fn
colorWithSRGBRed_green_blue_alpha_
(
_: Self,
r:
CGFloat
,
g:
CGFloat
,
b:
CGFloat
,
a:
CGFloat
) ->
id
source
unsafe fn
colorWithDeviceRed_green_blue_alpha_
(
_: Self,
r:
CGFloat
,
g:
CGFloat
,
b:
CGFloat
,
a:
CGFloat
) ->
id
source
unsafe fn
colorWithDisplayP3Red_green_blue_alpha_
(
_: Self,
r:
CGFloat
,
g:
CGFloat
,
b:
CGFloat
,
a:
CGFloat
) ->
id
source
unsafe fn
colorWithCalibratedRed_green_blue_alpha_
(
_: Self,
r:
CGFloat
,
g:
CGFloat
,
b:
CGFloat
,
a:
CGFloat
) ->
id
source
unsafe fn
colorUsingColorSpace_
(self, color_space:
id
) ->
id
source
unsafe fn
alphaComponent
(self) ->
CGFloat
source
unsafe fn
whiteComponent
(self) ->
CGFloat
source
unsafe fn
redComponent
(self) ->
CGFloat
source
unsafe fn
greenComponent
(self) ->
CGFloat
source
unsafe fn
blueComponent
(self) ->
CGFloat
source
unsafe fn
cyanComponent
(self) ->
CGFloat
source
unsafe fn
magentaComponent
(self) ->
CGFloat
source
unsafe fn
yellowComponent
(self) ->
CGFloat
source
unsafe fn
blackComponent
(self) ->
CGFloat
source
unsafe fn
hueComponent
(self) ->
CGFloat
source
unsafe fn
saturationComponent
(self) ->
CGFloat
source
unsafe fn
brightnessComponent
(self) ->
CGFloat
source
impl
NSColorSpace
for
id
source
unsafe fn
deviceRGBColorSpace
(_: Self) ->
id
source
unsafe fn
genericRGBColorSpace
(_: Self) ->
id
source
unsafe fn
deviceCMYKColorSpace
(_: Self) ->
id
source
unsafe fn
genericCMYKColorSpace
(_: Self) ->
id
source
unsafe fn
deviceGrayColorSpace
(_: Self) ->
id
source
unsafe fn
genericGrayColorSpace
(_: Self) ->
id
source
unsafe fn
sRGBColorSpace
(_: Self) ->
id
source
unsafe fn
extendedSRGBColorSpace
(_: Self) ->
id
source
unsafe fn
displayP3ColorSpace
(_: Self) ->
id
source
unsafe fn
genericGamma22GrayColorSpace
(_: Self) ->
id
source
unsafe fn
extendedGenericGamma22GrayColorSpace
(_: Self) ->
id
source
unsafe fn
adobeRGB1998ColorSpace
(_: Self) ->
id
source
unsafe fn
alloc
(_: Self) ->
id
source
unsafe fn
initWithCGColorSpace_
(self, cg_color_space:
*const
c_void
) ->
id
source
unsafe fn
CGColorSpace
(self) ->
*const
c_void
source
unsafe fn
localizedName
(self) ->
id
source
impl
NSControl
for
id
source
unsafe fn
initWithFrame_
(self, frameRect:
NSRect
) ->
id
source
unsafe fn
isEnabled_
(self) ->
BOOL
source
unsafe fn
setEnabled_
(self, enabled:
BOOL
) ->
BOOL
source
unsafe fn
alloc
(_: Self) ->
id
source
impl
NSCursor
for
id
source
unsafe fn
alloc
(_: Self) ->
id
source
unsafe fn
current_cursor
(_: Self) ->
id
source
unsafe fn
current_system_cursor
(_: Self) ->
id
source
unsafe fn
arrow_cursor
(_: Self) ->
id
source
unsafe fn
contextual_menu_cursor
(_: Self) ->
id
source
unsafe fn
closed_hand_cursor
(_: Self) ->
id
source
unsafe fn
crosshair_cursor
(_: Self) ->
id
source
unsafe fn
disappearing_item_cursor
(_: Self) ->
id
source
unsafe fn
drag_copy_cursor
(_: Self) ->
id
source
unsafe fn
drag_link_cursor
(_: Self) ->
id
source
unsafe fn
i_beam_cursor
(_: Self) ->
id
source
unsafe fn
open_hand_cursor
(_: Self) ->
id
source
unsafe fn
operation_not_allowed_cursor
(_: Self) ->
id
source
unsafe fn
pointing_hand_cursor
(_: Self) ->
id
source
unsafe fn
resize_down_cursor
(_: Self) ->
id
source
unsafe fn
resize_left_cursor
(_: Self) ->
id
source
unsafe fn
resize_left_right_cursor
(_: Self) ->
id
source
unsafe fn
resize_right_cursor
(_: Self) ->
id
source
unsafe fn
resize_up_cursor
(_: Self) ->
id
source
unsafe fn
resize_up_down_cursor
(_: Self) ->
id
source
unsafe fn
i_beam_cursor_for_vertical_layout
(_: Self) ->
id
source
impl
NSDockTile
for
id
source
unsafe fn
showsApplicatinBadge
(self) ->
BOOL
source
unsafe fn
setShowsApplicatinBadge_
(self, value:
BOOL
) ->
id
source
unsafe fn
badgeLabel
(self) ->
id
source
unsafe fn
setBadgeLabel_
(self, label:
id
) ->
id
source
impl
NSEvent
for
id
source
unsafe fn
keyEventWithType_location_modifierFlags_timestamp_windowNumber_context_characters_charactersIgnoringModifiers_isARepeat_keyCode_
(
_: Self,
eventType:
NSEventType
,
location:
NSPoint
,
modifierFlags:
NSEventModifierFlags
,
timestamp:
NSTimeInterval
,
windowNumber:
NSInteger
,
context:
id
,
characters:
id
,
unmodCharacters:
id
,
repeatKey:
BOOL
,
code:
c_ushort
) ->
id
source
unsafe fn
mouseEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_clickCount_pressure_
(
_: Self,
eventType:
NSEventType
,
location:
NSPoint
,
modifierFlags:
NSEventModifierFlags
,
timestamp:
NSTimeInterval
,
windowNumber:
NSInteger
,
context:
id
,
eventNumber:
NSInteger
,
clickCount:
NSInteger
,
pressure:
c_float
) ->
id
source
unsafe fn
enterExitEventWithType_location_modifierFlags_timestamp_windowNumber_context_eventNumber_trackingNumber_userData_
(
_: Self,
eventType:
NSEventType
,
location:
NSPoint
,
modifierFlags:
NSEventModifierFlags
,
timestamp:
NSTimeInterval
,
windowNumber:
NSInteger
,
context:
id
,
eventNumber:
NSInteger
,
trackingNumber:
NSInteger
,
userData:
*mut
c_void
) ->
id
source
unsafe fn
otherEventWithType_location_modifierFlags_timestamp_windowNumber_context_subtype_data1_data2_
(
_: Self,
eventType:
NSEventType
,
location:
NSPoint
,
modifierFlags:
NSEventModifierFlags
,
timestamp:
NSTimeInterval
,
windowNumber:
NSInteger
,
context:
id
,
subtype:
NSEventSubtype
,
data1:
NSInteger
,
data2:
NSInteger
) ->
id
source
unsafe fn
eventWithEventRef_
(_: Self, eventRef:
*const
c_void
) ->
id
source
unsafe fn
eventWithCGEvent_
(_: Self, cgEvent:
*mut
c_void
) ->
id
source
unsafe fn
context
(self) ->
id
source
unsafe fn
locationInWindow
(self) ->
NSPoint
source
unsafe fn
modifierFlags
(self) ->
NSEventModifierFlags
source
unsafe fn
timestamp
(self) ->
NSTimeInterval
source
unsafe fn
eventType
(self) ->
NSEventType
source
unsafe fn
window
(self) ->
id
source
unsafe fn
windowNumber
(self) ->
NSInteger
source
unsafe fn
eventRef
(self) ->
*const
c_void
source
unsafe fn
CGEvent
(self) ->
*mut
c_void
source
unsafe fn
currentModifierFlags
(_: Self) ->
NSEventModifierFlags
source
unsafe fn
keyRepeatDelay
(_: Self) ->
NSTimeInterval
source
unsafe fn
keyRepeatInterval
(_: Self) ->
NSTimeInterval
source
unsafe fn
characters
(self) ->
id
source
unsafe fn
charactersIgnoringModifiers
(self) ->
id
source
unsafe fn
keyCode
(self) ->
c_ushort
source
unsafe fn
isARepeat
(self) ->
BOOL
source
unsafe fn
pressedMouseButtons
(_: Self) ->
NSUInteger
source
unsafe fn
doubleClickInterval
(_: Self) ->
NSTimeInterval
source
unsafe fn
mouseLocation
(_: Self) ->
NSPoint
source
unsafe fn
buttonNumber
(self) ->
NSInteger
source
unsafe fn
clickCount
(self) ->
NSInteger
source
unsafe fn
pressure
(self) ->
c_float
source
unsafe fn
stage
(self) ->
NSInteger
source
unsafe fn
setMouseCoalescingEnabled_
(_: Self, flag:
BOOL
)
source
unsafe fn
isMouseCoalescingEnabled
(_: Self) ->
BOOL
source
unsafe fn
eventNumber
(self) ->
NSInteger
source
unsafe fn
trackingNumber
(self) ->
NSInteger
source
unsafe fn
trackingArea
(self) ->
id
source
unsafe fn
userData
(self) ->
*const
c_void
source
unsafe fn
data1
(self) ->
NSInteger
source
unsafe fn
data2
(self) ->
NSInteger
source
unsafe fn
subtype
(self) ->
NSEventSubtype
source
unsafe fn
deltaX
(self) ->
CGFloat
source
unsafe fn
deltaY
(self) ->
CGFloat
source
unsafe fn
deltaZ
(self) ->
CGFloat
source
unsafe fn
capabilityMask
(self) ->
NSUInteger
source
unsafe fn
deviceID
(self) ->
NSUInteger
source
unsafe fn
pointingDeviceID
(self) ->
NSUInteger
source
unsafe fn
pointingDeviceSerialNumber
(self) ->
NSUInteger
source
unsafe fn
pointingDeviceType
(self) ->
NSPointingDeviceType
source
unsafe fn
systemTabletID
(self) ->
NSUInteger
source
unsafe fn
tabletID
(self) ->
NSUInteger
source
unsafe fn
uniqueID
(self) ->
c_ulonglong
source
unsafe fn
vendorID
(self) ->
NSUInteger
source
unsafe fn
vendorPointingDeviceType
(self) ->
NSUInteger
source
unsafe fn
absoluteX
(self) ->
NSInteger
source
unsafe fn
absoluteY
(self) ->
NSInteger
source
unsafe fn
absoluteZ
(self) ->
NSInteger
source
unsafe fn
buttonMask
(self) ->
NSEventButtonMask
source
unsafe fn
rotation
(self) ->
c_float
source
unsafe fn
tangentialPressure
(self) ->
c_float
source
unsafe fn
tilt
(self) ->
NSPoint
source
unsafe fn
vendorDefined
(self) ->
id
source
unsafe fn
startPeriodicEventsAfterDelay_withPeriod_
(
_: Self,
delaySeconds:
NSTimeInterval
,
periodSeconds:
NSTimeInterval
)
source
unsafe fn
stopPeriodicEvents
(_: Self)
source
unsafe fn
magnification
(self) ->
CGFloat
source
unsafe fn
touchesMatchingPhase_inView_
(self, phase:
NSTouchPhase
, view:
id
) ->
id
source
unsafe fn
isSwipeTrackingFromScrollEventsEnabled
(_: Self) ->
BOOL
source
unsafe fn
removeMonitor_
(_: Self, eventMonitor:
id
)
source
unsafe fn
hasPreciseScrollingDeltas
(self) ->
BOOL
source
unsafe fn
scrollingDeltaX
(self) ->
CGFloat
source
unsafe fn
scrollingDeltaY
(self) ->
CGFloat
source
unsafe fn
momentumPhase
(self) ->
NSEventPhase
source
unsafe fn
phase
(self) ->
NSEventPhase
source
unsafe fn
locationInNode_
(self, node:
id
) ->
CGPoint
source
impl
NSImage
for
id
source
unsafe fn
initByReferencingFile_
(self, file_name:
id
) ->
id
source
unsafe fn
initWithContentsOfFile_
(self, file_name:
id
) ->
id
source
unsafe fn
initWithData_
(self, data:
id
) ->
id
source
unsafe fn
initWithDataIgnoringOrientation_
(self, data:
id
) ->
id
source
unsafe fn
initWithPasteboard_
(self, pasteboard:
id
) ->
id
source
unsafe fn
initWithSize_flipped_drawingHandler_
(
self,
size:
NSSize
,
drawingHandlerShouldBeCalledWithFlippedContext:
BOOL
,
drawingHandler:
*mut
Block
<(
NSRect
,),
BOOL
>
)
source
unsafe fn
initWithSize_
(self, aSize:
NSSize
) ->
id
source
unsafe fn
name
(self) ->
id
source
unsafe fn
setName_
(self, name:
id
) ->
BOOL
source
unsafe fn
size
(self) ->
NSSize
source
unsafe fn
template
(self) ->
BOOL
source
unsafe fn
canInitWithPasteboard_
(self, pasteboard:
id
) ->
BOOL
source
unsafe fn
imageTypes
(self) ->
id
source
unsafe fn
imageUnfilteredTypes
(self) ->
id
source
unsafe fn
addRepresentation_
(self, imageRep:
id
)
source
unsafe fn
addRepresentations_
(self, imageReps:
id
)
source
unsafe fn
representations
(self) ->
id
source
unsafe fn
removeRepresentation_
(self, imageRep:
id
)
source
unsafe fn
bestRepresentationForRect_context_hints_
(
self,
rect:
NSRect
,
referenceContext:
id
,
hints:
id
) ->
id
source
unsafe fn
prefersColorMatch
(self) ->
BOOL
source
unsafe fn
usesEPSOnResolutionMismatch
(self) ->
BOOL
source
unsafe fn
matchesOnMultipleResolution
(self) ->
BOOL
source
unsafe fn
drawInRect_
(self, rect:
NSRect
)
source
unsafe fn
drawAtPoint_fromRect_operation_fraction_
(
self,
point:
NSPoint
,
srcRect:
NSRect
,
op:
NSCompositingOperation
,
delta:
CGFloat
)
source
unsafe fn
drawInRect_fromRect_operation_fraction_
(
self,
dstRect:
NSRect
,
srcRect:
NSRect
,
op:
NSCompositingOperation
,
delta:
CGFloat
)
source
unsafe fn
drawInRect_fromRect_operation_fraction_respectFlipped_hints_
(
self,
dstSpacePortionRect:
NSRect
,
srcSpacePortionRect:
NSRect
,
op:
NSCompositingOperation
,
delta:
CGFloat
,
respectContextIsFlipped:
BOOL
,
hints:
id
)
source
unsafe fn
drawRepresentation_inRect_
(self, imageRep:
id
, dstRect:
NSRect
)
source
unsafe fn
isValid
(self) ->
BOOL
source
unsafe fn
backgroundColor
(self) ->
id
source
unsafe fn
lockFocus
(self)
source
unsafe fn
lockFocusFlipped_
(self, flipped:
BOOL
)
source
unsafe fn
unlockFocus
(self)
source
unsafe fn
alignmentRect
(self) ->
NSRect
source
unsafe fn
cacheMode
(self) ->
NSImageCacheMode
source
unsafe fn
recache
(self)
source
unsafe fn
delegate
(self) ->
id
source
unsafe fn
TIFFRepresentation
(self) ->
id
source
unsafe fn
TIFFRepresentationUsingCompression_factor_
(
self,
comp:
NSTIFFCompression
,
aFloat:
f32
) ->
id
source
unsafe fn
cancelIncrementalLoad
(self)
source
unsafe fn
hitTestRect_withImageDestinationRect_context_hints_flipped_
(
self,
testRectDestSpace:
NSRect
,
imageRectDestSpace:
NSRect
,
referenceContext:
id
,
hints:
id
,
flipped:
BOOL
) ->
BOOL
source
unsafe fn
accessibilityDescription
(self) ->
id
source
unsafe fn
layerContentsForContentsScale_
(self, layerContentsScale:
CGFloat
) ->
id
source
unsafe fn
recommendedLayerContentsScale_
(
self,
preferredContentsScale:
CGFloat
) ->
CGFloat
source
unsafe fn
matchesOnlyOnBestFittingAxis
(self) ->
BOOL
source
unsafe fn
alloc
(_: Self) ->
id
source
unsafe fn
imageNamed_
(_: Self, name:
id
) ->
id
source
impl
NSImageView
for
id
source
unsafe fn
initWithFrame_
(self, frameRect:
NSRect
) ->
id
source
unsafe fn
setImage_
(self, img:
id
)
source
unsafe fn
alloc
(_: Self) ->
id
source
impl
NSLayoutConstraint
for
id
source
unsafe fn
activateConstraints
(_: Self, constraints:
id
) ->
id
source
impl
NSLayoutDimension
for
id
source
unsafe fn
constraintEqualToConstant
(self, c:
CGFloat
) ->
id
source
unsafe fn
constraintLessThanOrEqualToConstant
(self, c:
CGFloat
) ->
id
source
unsafe fn
constraintGreaterThanOrEqualToConstant
(self, c:
CGFloat
) ->
id
source
impl
NSMenu
for
id
source
unsafe fn
initWithTitle_
(self, title:
id
) ->
id
source
unsafe fn
setAutoenablesItems
(self, state:
BOOL
)
source
unsafe fn
addItem_
(self, menu_item:
id
)
source
unsafe fn
addItemWithTitle_action_keyEquivalent
(
self,
title:
id
,
action:
SEL
,
key:
id
) ->
id
source
unsafe fn
itemAtIndex_
(self, index:
NSInteger
) ->
id
source
unsafe fn
alloc
(_: Self) ->
id
source
unsafe fn
new
(_: Self) ->
id
source
impl
NSMenuItem
for
id
source
unsafe fn
initWithTitle_action_keyEquivalent_
(
self,
title:
id
,
action:
SEL
,
key:
id
) ->
id
source
unsafe fn
setKeyEquivalentModifierMask_
(self, mask:
NSEventModifierFlags
)
source
unsafe fn
setSubmenu_
(self, submenu:
id
)
source
unsafe fn
setTarget_
(self, target:
id
)
source
unsafe fn
alloc
(_: Self) ->
id
source
unsafe fn
new
(_: Self) ->
id
source
unsafe fn
separatorItem
(_: Self) ->
id
source
impl
NSNib
for
id
source
unsafe fn
initWithNibNamed_bundle_
(self, name:
id
, bundle:
id
) ->
id
source
unsafe fn
alloc
(_: Self) ->
id
source
impl
NSOpenGLContext
for
id
source
unsafe fn
initWithFormat_shareContext_
(self, format:
id
, shareContext:
id
) ->
id
source
unsafe fn
initWithCGLContextObj_
(self, context:
CGLContextObj
) ->
id
source
unsafe fn
clearCurrentContext
(_: Self)
source
unsafe fn
currentContext
(_: Self) ->
id
source
unsafe fn
makeCurrentContext
(self)
source
unsafe fn
setView_
(self, view:
id
)
source
unsafe fn
view
(self) ->
id
source
unsafe fn
clearDrawable
(self)
source
unsafe fn
update
(self)
source
unsafe fn
flushBuffer
(self)
source
unsafe fn
setValues_forParameter_
(
self,
vals:
*const
GLint
,
param:
NSOpenGLContextParameter
)
source
unsafe fn
getValues_forParameter_
(
self,
vals:
*mut
GLint
,
param:
NSOpenGLContextParameter
)
source
unsafe fn
setCurrentVirtualScreen_
(self, screen:
GLint
)
source
unsafe fn
currentVirtualScreen
(self) ->
GLint
source
unsafe fn
CGLContextObj
(self) ->
CGLContextObj
source
unsafe fn
alloc
(_: Self) ->
id
source
impl
NSOpenGLPixelFormat
for
id
source
unsafe fn
initWithAttributes_
(self, attributes: &[
u32
]) ->
id
source
unsafe fn
getValues_forAttribute_forVirtualScreen_
(
self,
val:
*mut
GLint
,
attrib:
NSOpenGLPixelFormatAttribute
,
screen:
GLint
)
source
unsafe fn
numberOfVirtualScreens
(self) ->
GLint
source
unsafe fn
alloc
(_: Self) ->
id
source
impl
NSOpenGLView
for
id
source
unsafe fn
initWithFrame_pixelFormat_
(self, frameRect:
NSRect
, format:
id
) ->
id
source
unsafe fn
display_
(self)
source
unsafe fn
setOpenGLContext_
(self, context:
id
)
source
unsafe fn
setPixelFormat_
(self, pixelformat:
id
)
source
unsafe fn
alloc
(_: Self) ->
id
source
impl
NSOpenPanel
for
id
source
unsafe fn
setCanChooseFiles_
(self, canChooseFiles:
BOOL
)
source
unsafe fn
setCanChooseDirectories_
(self, canChooseDirectories:
BOOL
)
source
unsafe fn
setResolvesAliases_
(self, resolvesAliases:
BOOL
)
source
unsafe fn
setAllowsMultipleSelection_
(self, allowsMultipleSelection:
BOOL
)
source
unsafe fn
URLs
(self) ->
id
source
unsafe fn
openPanel
(_: Self) ->
id
source
impl
NSPanel
for
id
source
unsafe fn
setBecomesKeyOnlyIfNeeded
(self, becomesKeyOnlyIfNeeded:
BOOL
)
source
unsafe fn
becomesKeyOnlyIfNeeded
(self) ->
BOOL
source
unsafe fn
setFloatingPanel
(self, floatingPanel:
BOOL
)
source
unsafe fn
floatingPanel
(self) ->
BOOL
source
unsafe fn
setWorksWhenModal
(self, worksWhenModal:
BOOL
)
source
unsafe fn
alloc
(_: Self) ->
id
source
impl
NSPasteboard
for
id
source
unsafe fn
releaseGlobally
(self)
source
unsafe fn
clearContents
(self) ->
NSInteger
source
unsafe fn
writeObjects
(self, objects:
id
) ->
BOOL
source
unsafe fn
setData_forType
(self, data:
id
, dataType:
id
) ->
BOOL
source
unsafe fn
setPropertyList_forType
(self, plist:
id
, dataType:
id
) ->
BOOL
source
unsafe fn
setString_forType
(self, string:
id
, dataType:
id
) ->
BOOL
source
unsafe fn
readObjectsForClasses_options
(self, classArray:
id
, options:
id
) ->
id
source
unsafe fn
pasteboardItems
(self) ->
id
source
unsafe fn
indexOfPasteboardItem
(self, pasteboardItem:
id
) ->
NSInteger
source
unsafe fn
dataForType
(self, dataType:
id
) ->
id
source
unsafe fn
propertyListForType
(self, dataType:
id
) ->
id
source
unsafe fn
stringForType
(self, dataType:
id
) ->
id
source
unsafe fn
availableTypeFromArray
(self, types:
id
) ->
id
source
unsafe fn
canReadItemWithDataConformingToTypes
(self, types:
id
) ->
BOOL
source
unsafe fn
canReadObjectForClasses_options
(
self,
classArray:
id
,
options:
id
) ->
BOOL
source
unsafe fn
types
(self) ->
id
source
unsafe fn
name
(self) ->
id
source
unsafe fn
changeCount
(self) ->
NSInteger
source
unsafe fn
declareTypes_owner
(self, newTypes:
id
, newOwner:
id
) ->
NSInteger
source
unsafe fn
addTypes_owner
(self, newTypes:
id
, newOwner:
id
) ->
NSInteger
source
unsafe fn
writeFileContents
(self, filename:
id
) ->
BOOL
source
unsafe fn
writeFileWrapper
(self, wrapper:
id
) ->
BOOL
source
unsafe fn
readFileContentsType_toFile
(self, _type:
id
, filename:
id
) ->
id
source
unsafe fn
readFileWrapper
(self) ->
id
source
unsafe fn
generalPasteboard
(_: Self) ->
id
source
unsafe fn
pasteboardByFilteringData_ofType
(_: Self, data:
id
, _type:
id
) ->
id
source
unsafe fn
pasteboardByFilteringFile
(_: Self, file:
id
) ->
id
source
unsafe fn
pasteboardByFilteringTypesInPasteboard
(_: Self, pboard:
id
) ->
id
source
unsafe fn
pasteboardWithName
(_: Self, name:
id
) ->
id
source
unsafe fn
pasteboardWithUniqueName
(_: Self) ->
id
source
unsafe fn
typesFilterableTo
(_: Self, _type:
id
) ->
id
source
impl
NSPasteboardItem
for
id
source
unsafe fn
types
(self) ->
id
source
unsafe fn
setDataProvider_forTypes
(self, dataProvider:
id
, types:
id
) ->
BOOL
source
unsafe fn
setData_forType
(self, data:
id
, _type:
id
) ->
BOOL
source
unsafe fn
setString_forType
(self, string:
id
, _type:
id
) ->
BOOL
source
unsafe fn
setPropertyList_forType
(self, propertyList:
id
, _type:
id
) ->
BOOL
source
unsafe fn
dataForType
(self, _type:
id
) ->
id
source
unsafe fn
stringForType
(self, _type:
id
) ->
id
source
unsafe fn
propertyListForType
(self, _type:
id
) ->
id
source
impl
NSPasteboardItemDataProvider
for
id
source
unsafe fn
pasteboard_item_provideDataForType
(
self,
pasteboard:
id
,
item:
id
,
_type:
id
)
source
unsafe fn
pasteboardFinishedWithDataProvider
(self, pasteboard:
id
)
source
impl
NSPasteboardReading
for
id
source
unsafe fn
initWithPasteboardPropertyList_ofType
(
self,
propertyList:
id
,
_type:
id
) ->
id
source
unsafe fn
readableTypesForPasteboard
(self, pasteboard:
id
) ->
id
source
unsafe fn
readingOptionsForType_pasteboard
(
self,
_type:
id
,
pasteboard:
id
) ->
NSPasteboardReadingOptions
source
impl
NSPasteboardWriting
for
id
source
unsafe fn
writableTypesForPasteboard
(self, pasteboard:
id
) ->
id
source
unsafe fn
writingOptionsForType_pasteboard
(
self,
_type:
id
,
pasteboard:
id
) ->
NSPasteboardWritingOptions
source
unsafe fn
pasteboardPropertyListForType
(self, _type:
id
) ->
id
source
impl
NSRunningApplication
for
id
source
unsafe fn
activateWithOptions_
(
self,
options:
NSApplicationActivationOptions
) ->
BOOL
source
unsafe fn
currentApplication
(_: Self) ->
id
source
unsafe fn
runningApplicationWithProcessIdentifier
(_: Self, pid:
pid_t
) ->
id
source
impl
NSSavePanel
for
id
source
unsafe fn
setDirectoryURL
(self, url:
id
)
source
unsafe fn
setCanCreateDirectories
(self, canCreateDirectories:
BOOL
)
source
unsafe fn
URL
(self) ->
id
source
unsafe fn
runModal
(self) ->
NSModalResponse
source
unsafe fn
savePanel
(_: Self) ->
id
source
impl
NSScreen
for
id
source
unsafe fn
mainScreen
(_: Self) ->
id
source
unsafe fn
deepestScreen
(_: Self) ->
id
source
unsafe fn
screens
(_: Self) ->
id
source
unsafe fn
depth
(self) ->
NSWindowDepth
source
unsafe fn
frame
(self) ->
NSRect
source
unsafe fn
supportedWindowDepths
(self) ->
*const
NSWindowDepth
source
unsafe fn
deviceDescription
(self) ->
id
source
unsafe fn
visibleFrame
(self) ->
NSRect
source
unsafe fn
colorSpace
(self) ->
id
source
unsafe fn
screensHaveSeparateSpaces
(_: Self) ->
BOOL
source
unsafe fn
backingAlignedRect_options_
(
self,
aRect:
NSRect
,
options:
NSAlignmentOptions
) ->
NSRect
source
unsafe fn
backingScaleFactor
(self) ->
CGFloat
source
unsafe fn
convertRectFromBacking_
(self, aRect:
NSRect
) ->
NSRect
source
unsafe fn
convertRectToBacking_
(self, aRect:
NSRect
) ->
NSRect
source
impl
NSSound
for
id
source
unsafe fn
initWithContentsOfFile_withReference_
(
self,
filepath:
id
,
byRef:
BOOL
) ->
id
source
unsafe fn
initWithContentsOfURL_withReference_
(
self,
fileUrl:
id
,
byRef:
BOOL
) ->
id
source
unsafe fn
initWithData_
(self, audioData:
id
) ->
id
source
unsafe fn
initWithPasteboard_
(self, pasteboard:
id
) ->
id
source
unsafe fn
name
(self) ->
id
source
unsafe fn
volume
(self) ->
f32
source
unsafe fn
currentTime
(self) ->
NSTimeInterval
source
unsafe fn
loops
(self) ->
BOOL
source
unsafe fn
playbackDeviceIdentifier
(self) ->
id
source
unsafe fn
delegate
(self) ->
id
source
unsafe fn
duration
(self) ->
NSTimeInterval
source
unsafe fn
playing
(self) ->
BOOL
source
unsafe fn
pause
(self) ->
BOOL
source
unsafe fn
play
(self) ->
BOOL
source
unsafe fn
resume
(self) ->
BOOL
source
unsafe fn
stop
(self) ->
BOOL
source
unsafe fn
writeToPasteboard_
(self, pasteboard:
id
)
source
unsafe fn
canInitWithPasteboard_
(_: Self, pasteboard:
id
) ->
BOOL
source
unsafe fn
soundUnfilteredTypes
(_: Self) ->
id
source
unsafe fn
soundNamed_
(_: Self, soundName:
id
) ->
id
source
impl
NSSpellChecker
for
id
source
unsafe fn
sharedSpellChecker
(_: Self) ->
id
source
unsafe fn
checkSpellingOfString_startingAt
(
self,
stringToCheck:
id
,
startingOffset:
NSInteger
) ->
NSRange
source
unsafe fn
checkSpellingOfString_startingAt_language_wrap_inSpellDocumentWithTag_wordCount
(
self,
stringToCheck:
id
,
startingOffset:
NSInteger
,
language:
id
,
wrapFlag:
BOOL
,
tag:
NSInteger
) -> (
NSRange
,
NSInteger
)
source
unsafe fn
uniqueSpellDocumentTag
(_: Self) ->
NSInteger
source
unsafe fn
closeSpellDocumentWithTag
(self, tag:
NSInteger
)
source
unsafe fn
ignoreWord_inSpellDocumentWithTag
(
self,
wordToIgnore:
id
,
tag:
NSInteger
)
source
impl
NSStatusBar
for
id
source
unsafe fn
statusItemWithLength_
(self, length:
CGFloat
) ->
id
source
unsafe fn
removeStatusItem_
(self, item:
id
)
source
unsafe fn
isVertical
(self) ->
BOOL
source
unsafe fn
systemStatusBar
(_: Self) ->
id
source
impl
NSStatusItem
for
id
source
unsafe fn
statusBar
(self) ->
id
source
unsafe fn
button
(self) ->
id
source
unsafe fn
menu
(self) ->
id
source
unsafe fn
setMenu_
(self, menu:
id
)
source
unsafe fn
length
(self) ->
CGFloat
source
unsafe fn
setLength_
(self, length:
CGFloat
)
source
impl
NSTabView
for
id
source
unsafe fn
initWithFrame_
(self, frameRect:
NSRect
) ->
id
source
unsafe fn
addTabViewItem_
(self, tabViewItem:
id
)
source
unsafe fn
insertTabViewItem_atIndex_
(self, tabViewItem:
id
, index:
NSInteger
)
source
unsafe fn
removeTabViewItem_
(self, tabViewItem:
id
)
source
unsafe fn
indexOfTabViewItem_
(self, tabViewItem:
id
) ->
id
source
unsafe fn
indexOfTabViewItemWithIdentifier_
(self, identifier:
id
) ->
id
source
unsafe fn
numberOfTabViewItems
(self) ->
id
source
unsafe fn
tabViewItemAtIndex_
(self, index:
id
) ->
id
source
unsafe fn
tabViewItems
(self) ->
id
source
unsafe fn
selectFirstTabViewItem_
(self, sender:
id
)
source
unsafe fn
selectLastTabViewItem_
(self, sender:
id
)
source
unsafe fn
selectNextTabViewItem_
(self, sender:
id
)
source
unsafe fn
selectPreviousTabViewItem_
(self, sender:
id
)
source
unsafe fn
selectTabViewItem_
(self, tabViewItem:
id
)
source
unsafe fn
selectTabViewItemAtIndex_
(self, index:
id
)
source
unsafe fn
selectTabViewItemWithIdentifier_
(self, identifier:
id
)
source
unsafe fn
selectedTabViewItem
(self) ->
id
source
unsafe fn
takeSelectedTabViewItemFromSender_
(self, sender:
id
)
source
unsafe fn
font
(self) ->
id
source
unsafe fn
setFont_
(self, font:
id
)
source
unsafe fn
tabViewType
(self) ->
NSTabViewType
source
unsafe fn
setTabViewType_
(self, tabViewType:
NSTabViewType
)
source
unsafe fn
controlTint
(self) ->
id
source
unsafe fn
setControlTint_
(self, controlTint:
id
)
source
unsafe fn
drawsBackground
(self) ->
BOOL
source
unsafe fn
setDrawsBackground_
(self, drawsBackground:
BOOL
)
source
unsafe fn
minimumSize
(self) ->
id
source
unsafe fn
contentRect
(self) ->
id
source
unsafe fn
controlSize
(self) ->
id
source
unsafe fn
setControlSize_
(self, controlSize:
id
)
source
unsafe fn
allowsTruncatedLabels
(self) ->
BOOL
source
unsafe fn
setAllowsTruncatedLabels_
(self, allowTruncatedLabels:
BOOL
)
source
unsafe fn
setDelegate_
(self, delegate:
id
)
source
unsafe fn
delegate
(self) ->
id
source
unsafe fn
tabViewAtPoint_
(self, point:
id
) ->
id
source
unsafe fn
new
(_: Self) ->
id
source
impl
NSTabViewItem
for
id
source
unsafe fn
initWithIdentifier_
(self, identifier:
id
) ->
id
source
unsafe fn
drawLabel_inRect_
(self, shouldTruncateLabel:
BOOL
, labelRect:
NSRect
)
source
unsafe fn
label
(self) ->
id
source
unsafe fn
setLabel_
(self, label:
id
)
source
unsafe fn
sizeOfLabel_
(self, computeMin:
BOOL
)
source
unsafe fn
tabState
(self) ->
NSTabState
source
unsafe fn
identifier
(self) ->
id
source
unsafe fn
setIdentifier_
(self, identifier:
id
)
source
unsafe fn
color
(self) ->
id
source
unsafe fn
setColor_
(self, color:
id
)
source
unsafe fn
view
(self) ->
id
source
unsafe fn
setView_
(self, view:
id
)
source
unsafe fn
initialFirstResponder
(self) ->
id
source
unsafe fn
setInitialFirstResponder_
(self, initialFirstResponder:
id
)
source
unsafe fn
tabView
(self) ->
id
source
unsafe fn
tooltip
(self) ->
id
source
unsafe fn
setToolTip_
(self, toolTip:
id
)
source
unsafe fn
alloc
(_: Self) ->
id
source
unsafe fn
new
(_: Self) ->
id
source
impl
NSTextField
for
id
source
unsafe fn
initWithFrame_
(self, frameRect:
NSRect
) ->
id
source
unsafe fn
setEditable_
(self, editable:
BOOL
)
source
unsafe fn
setStringValue_
(self, label:
id
)
source
unsafe fn
alloc
(_: Self) ->
id
source
impl
NSToolbar
for
id
source
unsafe fn
init_
(self) ->
id
source
unsafe fn
initWithIdentifier_
(self, identifier:
id
) ->
id
source
unsafe fn
showsBaselineSeparator
(self) ->
BOOL
source
unsafe fn
setShowsBaselineSeparator_
(self, value:
BOOL
)
source
unsafe fn
alloc
(_: Self) ->
id
source
impl
NSView
for
id
source
unsafe fn
init
(self) ->
id
source
unsafe fn
initWithFrame_
(self, frameRect:
NSRect
) ->
id
source
unsafe fn
bounds
(self) ->
NSRect
source
unsafe fn
frame
(self) ->
NSRect
source
unsafe fn
setFrameSize
(self, frameSize:
NSSize
)
source
unsafe fn
setFrameOrigin
(self, frameOrigin:
NSPoint
)
source
unsafe fn
display_
(self)
source
unsafe fn
setWantsBestResolutionOpenGLSurface_
(self, flag:
BOOL
)
source
unsafe fn
convertPoint_fromView_
(self, point:
NSPoint
, view:
id
) ->
NSPoint
source
unsafe fn
addSubview_
(self, view:
id
)
source
unsafe fn
superview
(self) ->
id
source
unsafe fn
removeFromSuperview
(self)
source
unsafe fn
setAutoresizingMask_
(self, autoresizingMask:
NSAutoresizingMaskOptions
)
source
unsafe fn
wantsLayer
(self) ->
BOOL
source
unsafe fn
setWantsLayer
(self, wantsLayer:
BOOL
)
source
unsafe fn
layer
(self) ->
id
source
unsafe fn
setLayer
(self, layer:
id
)
source
unsafe fn
widthAnchor
(self) ->
id
source
unsafe fn
heightAnchor
(self) ->
id
source
unsafe fn
convertRectToBacking
(self, rect:
NSRect
) ->
NSRect
source
unsafe fn
layerContentsPlacement
(self) ->
NSViewLayerContentsPlacement
source
unsafe fn
setLayerContentsPlacement
(
self,
placement:
NSViewLayerContentsPlacement
)
source
unsafe fn
alloc
(_: Self) ->
id
source
impl
NSWindow
for
id
source
unsafe fn
initWithContentRect_styleMask_backing_defer_
(
self,
rect:
NSRect
,
style:
NSWindowStyleMask
,
backing:
NSBackingStoreType
,
defer:
BOOL
) ->
id
source
unsafe fn
initWithContentRect_styleMask_backing_defer_screen_
(
self,
rect:
NSRect
,
style:
NSWindowStyleMask
,
backing:
NSBackingStoreType
,
defer:
BOOL
,
screen:
id
) ->
id
source
unsafe fn
styleMask
(self) ->
NSWindowStyleMask
source
unsafe fn
setStyleMask_
(self, styleMask:
NSWindowStyleMask
)
source
unsafe fn
toggleFullScreen_
(self, sender:
id
)
source
unsafe fn
worksWhenModal
(self) ->
BOOL
source
unsafe fn
alphaValue
(self) ->
CGFloat
source
unsafe fn
setAlphaValue_
(self, windowAlpha:
CGFloat
)
source
unsafe fn
backgroundColor
(self) ->
id
source
unsafe fn
setBackgroundColor_
(self, color:
id
)
source
unsafe fn
colorSpace
(self) ->
id
source
unsafe fn
setColorSpace_
(self, colorSpace:
id
)
source
unsafe fn
contentView
(self) ->
id
source
unsafe fn
setContentView_
(self, view:
id
)
source
unsafe fn
canHide
(self) ->
BOOL
source
unsafe fn
setCanHide_
(self, canHide:
BOOL
)
source
unsafe fn
hidesOnDeactivate
(self) ->
BOOL
source
unsafe fn
setHidesOnDeactivate_
(self, hideOnDeactivate:
BOOL
)
source
unsafe fn
collectionBehavior
(self) ->
NSWindowCollectionBehavior
source
unsafe fn
setCollectionBehavior_
(
self,
collectionBehavior:
NSWindowCollectionBehavior
)
source
unsafe fn
setOpaque_
(self, opaque:
BOOL
)
source
unsafe fn
hasShadow
(self) ->
BOOL
source
unsafe fn
setHasShadow_
(self, hasShadow:
BOOL
)
source
unsafe fn
invalidateShadow
(self)
source
unsafe fn
autorecalculatesContentBorderThicknessForEdge_
(
self,
edge:
NSRectEdge
) ->
BOOL
source
unsafe fn
setAutorecalculatesContentBorderThickness_forEdge_
(
self,
autorecalculateContentBorderThickness:
BOOL
,
edge:
NSRectEdge
) ->
BOOL
source
unsafe fn
contentBorderThicknessForEdge_
(self, edge:
NSRectEdge
) ->
CGFloat
source
unsafe fn
setContentBorderThickness_forEdge_
(
self,
borderThickness:
CGFloat
,
edge:
NSRectEdge
)
source
unsafe fn
delegate
(self) ->
id
source
unsafe fn
setDelegate_
(self, delegate:
id
)
source
unsafe fn
preventsApplicationTerminationWhenModal
(self) ->
BOOL
source
unsafe fn
setPreventsApplicationTerminationWhenModal_
(self, flag:
BOOL
)
source
unsafe fn
contentRectForFrameRect_styleMask_
(
self,
windowFrame:
NSRect
,
windowStyle:
NSWindowStyleMask
) ->
NSRect
source
unsafe fn
frameRectForContentRect_styleMask_
(
self,
windowContentRect:
NSRect
,
windowStyle:
NSWindowStyleMask
) ->
NSRect
source
unsafe fn
minFrameWidthWithTitle_styleMask_
(
self,
windowTitle:
id
,
windowStyle:
NSWindowStyleMask
) ->
CGFloat
source
unsafe fn
contentRectForFrameRect_
(self, windowFrame:
NSRect
) ->
NSRect
source
unsafe fn
frameRectForContentRect_
(self, windowContent:
NSRect
) ->
NSRect
source
unsafe fn
drawers
(self) ->
id
source
unsafe fn
windowController
(self) ->
id
source
unsafe fn
setWindowController_
(self, windowController:
id
)
source
unsafe fn
frame
(self) ->
NSRect
source
unsafe fn
setFrameOrigin_
(self, point:
NSPoint
)
source
unsafe fn
setFrameTopLeftPoint_
(self, point:
NSPoint
)
source
unsafe fn
constrainFrameRect_toScreen_
(self, frameRect:
NSRect
, screen:
id
)
source
unsafe fn
cascadeTopLeftFromPoint_
(self, topLeft:
NSPoint
) ->
NSPoint
source
unsafe fn
setFrame_display_
(self, windowFrame:
NSRect
, display:
BOOL
)
source
unsafe fn
setFrame_display_animate_
(
self,
windowFrame:
NSRect
,
display:
BOOL
,
animate:
BOOL
)
source
unsafe fn
setFrame_displayViews_
(self, windowFrame:
NSRect
, display:
BOOL
)
source
unsafe fn
aspectRatio
(self) ->
NSSize
source
unsafe fn
setAspectRatio_
(self, aspectRatio:
NSSize
)
source
unsafe fn
minSize
(self) ->
NSSize
source
unsafe fn
setMinSize_
(self, minSize:
NSSize
)
source
unsafe fn
maxSize
(self) ->
NSSize
source
unsafe fn
setMaxSize_
(self, maxSize:
NSSize
)
source
unsafe fn
performZoom_
(self, sender:
id
)
source
unsafe fn
zoom_
(self, sender:
id
)
source
unsafe fn
resizeFlags
(self) ->
NSInteger
source
unsafe fn
showsResizeIndicator
(self) ->
BOOL
source
unsafe fn
setShowsResizeIndicator_
(self, showsResizeIndicator:
BOOL
)
source
unsafe fn
resizeIncrements
(self) ->
NSSize
source
unsafe fn
setResizeIncrements_
(self, resizeIncrements:
NSSize
)
source
unsafe fn
preservesContentDuringLiveResize
(self) ->
BOOL
source
unsafe fn
setPreservesContentDuringLiveResize_
(
self,
preservesContentDuringLiveResize:
BOOL
)
source
unsafe fn
inLiveResize
(self) ->
BOOL
source
unsafe fn
contentAspectRatio
(self) ->
NSSize
source
unsafe fn
setContentAspectRatio_
(self, contentAspectRatio:
NSSize
)
source
unsafe fn
contentMinSize
(self) ->
NSSize
source
unsafe fn
setContentMinSize_
(self, contentMinSize:
NSSize
)
source
unsafe fn
contentSize
(self) ->
NSSize
source
unsafe fn
setContentSize_
(self, contentSize:
NSSize
)
source
unsafe fn
contentMaxSize
(self) ->
NSSize
source
unsafe fn
setContentMaxSize_
(self, contentMaxSize:
NSSize
)
source
unsafe fn
contentResizeIncrements
(self) ->
NSSize
source
unsafe fn
setContentResizeIncrements_
(self, contentResizeIncrements:
NSSize
)
source
unsafe fn
isVisible
(self) ->
BOOL
source
unsafe fn
occlusionState
(self) ->
NSWindowOcclusionState
source
unsafe fn
orderOut_
(self, sender:
id
)
source
unsafe fn
orderBack_
(self, sender:
id
)
source
unsafe fn
orderFront_
(self, sender:
id
)
source
unsafe fn
orderFrontRegardless
(self)
source
unsafe fn
orderFrontWindow_relativeTo_
(
self,
ordering_mode:
NSWindowOrderingMode
,
other_window_number:
NSInteger
)
source
unsafe fn
level
(self) ->
NSInteger
source
unsafe fn
setLevel_
(self, level:
NSInteger
)
source
unsafe fn
isKeyWindow
(self) ->
BOOL
source
unsafe fn
canBecomeKeyWindow
(self) ->
BOOL
source
unsafe fn
makeKeyWindow
(self)
source
unsafe fn
makeKeyAndOrderFront_
(self, sender:
id
)
source
unsafe fn
canBecomeMainWindow
(self) ->
BOOL
source
unsafe fn
makeMainWindow
(self)
source
unsafe fn
toolbar
(self) ->
id
source
unsafe fn
toolbarStyle
(self) ->
NSWindowToolbarStyle
source
unsafe fn
setToolbar_
(self, toolbar:
id
)
source
unsafe fn
setToolbarStyle_
(self, toolbarStyle:
NSWindowToolbarStyle
)
source
unsafe fn
runToolbarCustomizationPalette
(self, sender:
id
)
source
unsafe fn
standardWindowButton_
(self, windowButtonKind:
NSWindowButton
) ->
id
source
unsafe fn
allowsAutomaticWindowTabbing
(_: Self) ->
BOOL
source
unsafe fn
setAllowsAutomaticWindowTabbing_
(
_: Self,
allowsAutomaticWindowTabbing:
BOOL
)
source
unsafe fn
tabbingIdentifier
(self) ->
id
source
unsafe fn
tabbingMode
(self) ->
NSWindowTabbingMode
source
unsafe fn
setTabbingMode_
(self, tabbingMode:
NSWindowTabbingMode
)
source
unsafe fn
addTabbedWindow_ordered_
(
self,
window:
id
,
ordering_mode:
NSWindowOrderingMode
)
source
unsafe fn
toggleTabBar_
(self, sender:
id
)
source
unsafe fn
initialFirstResponder
(self) ->
id
source
unsafe fn
firstResponder
(self) ->
id
source
unsafe fn
setInitialFirstResponder_
(self, responder:
id
)
source
unsafe fn
makeFirstResponder_
(self, responder:
id
) ->
BOOL
source
unsafe fn
keyDown_
(self, event:
id
)
source
unsafe fn
acceptsMouseMovedEvents
(self) ->
BOOL
source
unsafe fn
ignoresMouseEvents
(self) ->
BOOL
source
unsafe fn
setIgnoresMouseEvents_
(self, ignoreMouseEvents:
BOOL
)
source
unsafe fn
mouseLocationOutsideOfEventStream
(self) ->
NSPoint
source
unsafe fn
setAcceptsMouseMovedEvents_
(self, acceptMouseMovedEvents:
BOOL
)
source
unsafe fn
windowNumberAtPoint_belowWindowWithWindowNumber_
(
_: Self,
point:
NSPoint
,
windowNumber:
NSInteger
) ->
NSInteger
source
unsafe fn
backingScaleFactor
(self) ->
CGFloat
source
unsafe fn
backingAlignedRect_options_
(
self,
rect:
NSRect
,
options:
NSAlignmentOptions
) ->
NSRect
source
unsafe fn
convertRectFromBacking_
(self, rect:
NSRect
) ->
NSRect
source
unsafe fn
convertRectToBacking_
(self, rect:
NSRect
) ->
NSRect
source
unsafe fn
convertRectToScreen_
(self, rect:
NSRect
) ->
NSRect
source
unsafe fn
convertRectFromScreen_
(self, rect:
NSRect
) ->
NSRect
source
unsafe fn
isDocumentEdited
(self) ->
BOOL
source
unsafe fn
setDocumentEdited_
(self, documentEdited:
BOOL
)
source
unsafe fn
title
(self) ->
id
source
unsafe fn
setTitle_
(self, title:
id
)
source
unsafe fn
setTitleWithRepresentedFilename_
(self, filePath:
id
)
source
unsafe fn
setTitleVisibility_
(self, visibility:
NSWindowTitleVisibility
)
source
unsafe fn
setTitlebarAppearsTransparent_
(self, transparent:
BOOL
)
source
unsafe fn
representedFilename
(self) ->
id
source
unsafe fn
setRepresentedFilename_
(self, filePath:
id
)
source
unsafe fn
representedURL
(self) ->
id
source
unsafe fn
setRepresentedURL_
(self, representedURL:
id
)
source
unsafe fn
screen
(self) ->
id
source
unsafe fn
deepestScreen
(self) ->
id
source
unsafe fn
displaysWhenScreenProfileChanges
(self) ->
BOOL
source
unsafe fn
setDisplaysWhenScreenProfileChanges_
(
self,
displaysWhenScreenProfileChanges:
BOOL
)
source
unsafe fn
setMovableByWindowBackground_
(self, movableByWindowBackground:
BOOL
)
source
unsafe fn
setMovable_
(self, movable:
BOOL
)
source
unsafe fn
center
(self)
source
unsafe fn
performClose_
(self, sender:
id
)
source
unsafe fn
close
(self)
source
unsafe fn
setReleasedWhenClosed_
(self, releasedWhenClosed:
BOOL
)
source
unsafe fn
performMiniaturize_
(self, sender:
id
)
source
unsafe fn
miniaturize_
(self, sender:
id
)
source
unsafe fn
deminiaturize_
(self, sender:
id
)
source
unsafe fn
miniwindowImage
(self) ->
id
source
unsafe fn
setMiniwindowImage_
(self, miniwindowImage:
id
)
source
unsafe fn
miniwindowTitle
(self) ->
id
source
unsafe fn
setMiniwindowTitle_
(self, miniwindowTitle:
id
)
source
unsafe fn
alloc
(_: Self) ->
id