Struct objc2_app_kit::NSFontPanel

source ·
#[repr(C)]
pub struct NSFontPanel { /* private fields */ }
Available on crate features NSFontPanel and NSPanel and NSResponder and NSWindow only.

Implementations§

source§

impl NSFontPanel

source

pub unsafe fn sharedFontPanel(mtm: MainThreadMarker) -> Id<NSFontPanel>

source

pub unsafe fn sharedFontPanelExists(mtm: MainThreadMarker) -> bool

source

pub unsafe fn accessoryView(&self) -> Option<Id<NSView>>

Available on crate feature NSView only.
source

pub unsafe fn setAccessoryView(&self, accessory_view: Option<&NSView>)

Available on crate feature NSView only.
source

pub unsafe fn setPanelFont_isMultiple(&self, font_obj: &NSFont, flag: bool)

Available on crate feature NSFont only.
source

pub unsafe fn panelConvertFont(&self, font_obj: &NSFont) -> Id<NSFont>

Available on crate feature NSFont only.
source

pub unsafe fn worksWhenModal(&self) -> bool

source

pub unsafe fn setWorksWhenModal(&self, works_when_modal: bool)

source

pub unsafe fn isEnabled(&self) -> bool

source

pub unsafe fn setEnabled(&self, enabled: bool)

source

pub unsafe fn reloadDefaultFontFamilies(&self)

source§

impl NSFontPanel

Methods declared on superclass NSWindow

source

pub unsafe fn initWithContentRect_styleMask_backing_defer( this: Allocated<Self>, content_rect: NSRect, style: NSWindowStyleMask, backing_store_type: NSBackingStoreType, flag: bool ) -> Id<Self>

Available on crate feature NSGraphics only.
source

pub unsafe fn initWithContentRect_styleMask_backing_defer_screen( this: Allocated<Self>, content_rect: NSRect, style: NSWindowStyleMask, backing_store_type: NSBackingStoreType, flag: bool, screen: Option<&NSScreen> ) -> Id<Self>

Available on crate features NSGraphics and NSScreen only.
source

pub unsafe fn initWithCoder(this: Allocated<Self>, coder: &NSCoder) -> Id<Self>

source

pub unsafe fn windowWithContentViewController( content_view_controller: &NSViewController ) -> Id<Self>

Available on crate feature NSViewController only.
source§

impl NSFontPanel

Methods declared on superclass NSResponder

source

pub unsafe fn init(this: Allocated<Self>) -> Id<Self>

source§

impl NSFontPanel

Methods declared on superclass NSObject

source

pub unsafe fn new(mtm: MainThreadMarker) -> Id<Self>

Methods from Deref<Target = NSPanel>§

source

pub unsafe fn isFloatingPanel(&self) -> bool

source

pub unsafe fn setFloatingPanel(&self, floating_panel: bool)

source

pub unsafe fn becomesKeyOnlyIfNeeded(&self) -> bool

source

pub unsafe fn setBecomesKeyOnlyIfNeeded(&self, becomes_key_only_if_needed: bool)

source

pub unsafe fn worksWhenModal(&self) -> bool

source

pub unsafe fn setWorksWhenModal(&self, works_when_modal: bool)

Methods from Deref<Target = NSWindow>§

source

pub unsafe fn drawers(&self) -> Option<Id<NSArray<NSDrawer>>>

👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
Available on crate feature NSDrawer only.
source

pub unsafe fn updateConstraintsIfNeeded(&self)

Available on crate feature NSLayoutConstraint only.
source

pub unsafe fn layoutIfNeeded(&self)

Available on crate feature NSLayoutConstraint only.
source

pub unsafe fn anchorAttributeForOrientation( &self, orientation: NSLayoutConstraintOrientation ) -> NSLayoutAttribute

Available on crate feature NSLayoutConstraint only.
source

pub unsafe fn setAnchorAttribute_forOrientation( &self, attr: NSLayoutAttribute, orientation: NSLayoutConstraintOrientation )

Available on crate feature NSLayoutConstraint only.
source

pub unsafe fn visualizeConstraints( &self, constraints: Option<&NSArray<NSLayoutConstraint>> )

Available on crate feature NSLayoutConstraint only.
source

pub unsafe fn frameRectForContentRect(&self, content_rect: NSRect) -> NSRect

source

pub fn contentRectForFrameRect(&self, frame_rect: NSRect) -> NSRect

source

pub fn title(&self) -> Id<NSString>

source

pub fn setTitle(&self, title: &NSString)

source

pub unsafe fn subtitle(&self) -> Id<NSString>

source

pub unsafe fn setSubtitle(&self, subtitle: &NSString)

source

pub unsafe fn titleVisibility(&self) -> NSWindowTitleVisibility

source

pub fn setTitleVisibility(&self, title_visibility: NSWindowTitleVisibility)

source

pub unsafe fn titlebarAppearsTransparent(&self) -> bool

source

pub fn setTitlebarAppearsTransparent(&self, titlebar_appears_transparent: bool)

source

pub unsafe fn toolbarStyle(&self) -> NSWindowToolbarStyle

source

pub unsafe fn setToolbarStyle(&self, toolbar_style: NSWindowToolbarStyle)

source

pub unsafe fn contentLayoutRect(&self) -> NSRect

source

pub unsafe fn contentLayoutGuide(&self) -> Option<Id<AnyObject>>

source

pub unsafe fn titlebarAccessoryViewControllers( &self ) -> Id<NSArray<NSTitlebarAccessoryViewController>>

Available on crate features NSTitlebarAccessoryViewController and NSViewController only.
source

pub unsafe fn setTitlebarAccessoryViewControllers( &self, titlebar_accessory_view_controllers: &NSArray<NSTitlebarAccessoryViewController> )

Available on crate features NSTitlebarAccessoryViewController and NSViewController only.
source

pub unsafe fn addTitlebarAccessoryViewController( &self, child_view_controller: &NSTitlebarAccessoryViewController )

Available on crate features NSTitlebarAccessoryViewController and NSViewController only.
source

pub unsafe fn insertTitlebarAccessoryViewController_atIndex( &self, child_view_controller: &NSTitlebarAccessoryViewController, index: NSInteger )

Available on crate features NSTitlebarAccessoryViewController and NSViewController only.
source

pub unsafe fn removeTitlebarAccessoryViewControllerAtIndex( &self, index: NSInteger )

source

pub unsafe fn representedURL(&self) -> Option<Id<NSURL>>

source

pub unsafe fn setRepresentedURL(&self, represented_url: Option<&NSURL>)

source

pub unsafe fn representedFilename(&self) -> Id<NSString>

source

pub unsafe fn setRepresentedFilename(&self, represented_filename: &NSString)

source

pub unsafe fn setTitleWithRepresentedFilename(&self, filename: &NSString)

source

pub unsafe fn isExcludedFromWindowsMenu(&self) -> bool

source

pub unsafe fn setExcludedFromWindowsMenu( &self, excluded_from_windows_menu: bool )

source

pub fn contentView(&self) -> Option<Id<NSView>>

Available on crate feature NSView only.
source

pub fn setContentView(&self, content_view: Option<&NSView>)

Available on crate feature NSView only.
source

pub unsafe fn delegate( &self ) -> Option<Id<ProtocolObject<dyn NSWindowDelegate>>>

source

pub fn setDelegate( &self, delegate: Option<&ProtocolObject<dyn NSWindowDelegate>> )

source

pub unsafe fn windowNumber(&self) -> NSInteger

source

pub fn styleMask(&self) -> NSWindowStyleMask

source

pub fn setStyleMask(&self, style_mask: NSWindowStyleMask)

source

pub unsafe fn fieldEditor_forObject( &self, create_flag: bool, object: Option<&AnyObject> ) -> Option<Id<NSText>>

Available on crate features NSText and NSView only.
source

pub unsafe fn endEditingFor(&self, object: Option<&AnyObject>)

source

pub unsafe fn constrainFrameRect_toScreen( &self, frame_rect: NSRect, screen: Option<&NSScreen> ) -> NSRect

Available on crate feature NSScreen only.
source

pub fn setFrame_display(&self, frame_rect: NSRect, flag: bool)

source

pub fn setContentSize(&self, size: NSSize)

source

pub unsafe fn setFrameOrigin(&self, point: NSPoint)

source

pub fn setFrameTopLeftPoint(&self, point: NSPoint)

source

pub unsafe fn cascadeTopLeftFromPoint(&self, top_left_point: NSPoint) -> NSPoint

source

pub fn frame(&self) -> NSRect

source

pub unsafe fn animationResizeTime(&self, new_frame: NSRect) -> NSTimeInterval

source

pub unsafe fn setFrame_display_animate( &self, frame_rect: NSRect, display_flag: bool, animate_flag: bool )

source

pub unsafe fn inLiveResize(&self) -> bool

source

pub unsafe fn resizeIncrements(&self) -> NSSize

source

pub fn setResizeIncrements(&self, resize_increments: NSSize)

source

pub unsafe fn aspectRatio(&self) -> NSSize

source

pub unsafe fn setAspectRatio(&self, aspect_ratio: NSSize)

source

pub fn contentResizeIncrements(&self) -> NSSize

source

pub fn setContentResizeIncrements(&self, content_resize_increments: NSSize)

source

pub unsafe fn contentAspectRatio(&self) -> NSSize

source

pub unsafe fn setContentAspectRatio(&self, content_aspect_ratio: NSSize)

source

pub unsafe fn viewsNeedDisplay(&self) -> bool

source

pub unsafe fn setViewsNeedDisplay(&self, views_need_display: bool)

source

pub unsafe fn displayIfNeeded(&self)

source

pub unsafe fn display(&self)

source

pub unsafe fn preservesContentDuringLiveResize(&self) -> bool

source

pub unsafe fn setPreservesContentDuringLiveResize( &self, preserves_content_during_live_resize: bool )

source

pub unsafe fn update(&self)

source

pub fn makeFirstResponder(&self, responder: Option<&NSResponder>) -> bool

source

pub fn firstResponder(&self) -> Option<Id<NSResponder>>

source

pub unsafe fn resizeFlags(&self) -> NSEventModifierFlags

Available on crate feature NSEvent only.
source

pub fn close(&self)

source

pub unsafe fn isReleasedWhenClosed(&self) -> bool

source

pub unsafe fn setReleasedWhenClosed(&self, released_when_closed: bool)

source

pub fn miniaturize(&self, sender: Option<&AnyObject>)

source

pub unsafe fn deminiaturize(&self, sender: Option<&AnyObject>)

source

pub fn isZoomed(&self) -> bool

source

pub fn zoom(&self, sender: Option<&AnyObject>)

source

pub fn isMiniaturized(&self) -> bool

source

pub unsafe fn tryToPerform_with( &self, action: Sel, object: Option<&AnyObject> ) -> bool

source

pub unsafe fn validRequestorForSendType_returnType( &self, send_type: Option<&NSPasteboardType>, return_type: Option<&NSPasteboardType> ) -> Option<Id<AnyObject>>

Available on crate feature NSPasteboard only.
source

pub unsafe fn backgroundColor(&self) -> Id<NSColor>

Available on crate feature NSColor only.
source

pub fn setBackgroundColor(&self, background_color: Option<&NSColor>)

Available on crate feature NSColor only.
source

pub unsafe fn setContentBorderThickness_forEdge( &self, thickness: CGFloat, edge: NSRectEdge )

source

pub unsafe fn contentBorderThicknessForEdge(&self, edge: NSRectEdge) -> CGFloat

source

pub unsafe fn setAutorecalculatesContentBorderThickness_forEdge( &self, flag: bool, edge: NSRectEdge )

source

pub unsafe fn autorecalculatesContentBorderThicknessForEdge( &self, edge: NSRectEdge ) -> bool

source

pub unsafe fn isMovable(&self) -> bool

source

pub fn setMovable(&self, movable: bool)

source

pub unsafe fn isMovableByWindowBackground(&self) -> bool

source

pub fn setMovableByWindowBackground(&self, movable_by_window_background: bool)

source

pub unsafe fn hidesOnDeactivate(&self) -> bool

source

pub unsafe fn setHidesOnDeactivate(&self, hides_on_deactivate: bool)

source

pub unsafe fn canHide(&self) -> bool

source

pub unsafe fn setCanHide(&self, can_hide: bool)

source

pub fn center(&self)

source

pub fn makeKeyAndOrderFront(&self, sender: Option<&AnyObject>)

source

pub fn orderFront(&self, sender: Option<&AnyObject>)

source

pub unsafe fn orderBack(&self, sender: Option<&AnyObject>)

source

pub fn orderOut(&self, sender: Option<&AnyObject>)

source

pub unsafe fn orderWindow_relativeTo( &self, place: NSWindowOrderingMode, other_win: NSInteger )

Available on crate feature NSGraphics only.
source

pub unsafe fn orderFrontRegardless(&self)

source

pub unsafe fn miniwindowImage(&self) -> Option<Id<NSImage>>

Available on crate feature NSImage only.
source

pub unsafe fn setMiniwindowImage(&self, miniwindow_image: Option<&NSImage>)

Available on crate feature NSImage only.
source

pub unsafe fn miniwindowTitle(&self) -> Id<NSString>

source

pub unsafe fn setMiniwindowTitle(&self, miniwindow_title: Option<&NSString>)

source

pub unsafe fn dockTile(&self) -> Id<NSDockTile>

Available on crate feature NSDockTile only.
source

pub fn isDocumentEdited(&self) -> bool

source

pub fn setDocumentEdited(&self, document_edited: bool)

source

pub fn isVisible(&self) -> bool

source

pub fn isKeyWindow(&self) -> bool

source

pub unsafe fn isMainWindow(&self) -> bool

source

pub unsafe fn canBecomeKeyWindow(&self) -> bool

source

pub unsafe fn canBecomeMainWindow(&self) -> bool

source

pub unsafe fn makeKeyWindow(&self)

source

pub unsafe fn makeMainWindow(&self)

source

pub unsafe fn becomeKeyWindow(&self)

source

pub unsafe fn resignKeyWindow(&self)

source

pub unsafe fn becomeMainWindow(&self)

source

pub unsafe fn resignMainWindow(&self)

source

pub unsafe fn worksWhenModal(&self) -> bool

source

pub unsafe fn preventsApplicationTerminationWhenModal(&self) -> bool

source

pub unsafe fn setPreventsApplicationTerminationWhenModal( &self, prevents_application_termination_when_modal: bool )

source

pub fn convertRectToScreen(&self, rect: NSRect) -> NSRect

source

pub unsafe fn convertRectFromScreen(&self, rect: NSRect) -> NSRect

source

pub unsafe fn convertPointToScreen(&self, point: NSPoint) -> NSPoint

source

pub fn convertPointFromScreen(&self, point: NSPoint) -> NSPoint

source

pub unsafe fn convertRectToBacking(&self, rect: NSRect) -> NSRect

source

pub unsafe fn convertRectFromBacking(&self, rect: NSRect) -> NSRect

source

pub unsafe fn convertPointToBacking(&self, point: NSPoint) -> NSPoint

source

pub unsafe fn convertPointFromBacking(&self, point: NSPoint) -> NSPoint

source

pub unsafe fn backingAlignedRect_options( &self, rect: NSRect, options: NSAlignmentOptions ) -> NSRect

source

pub fn backingScaleFactor(&self) -> CGFloat

source

pub unsafe fn performClose(&self, sender: Option<&AnyObject>)

source

pub unsafe fn performMiniaturize(&self, sender: Option<&AnyObject>)

source

pub unsafe fn performZoom(&self, sender: Option<&AnyObject>)

source

pub unsafe fn dataWithEPSInsideRect(&self, rect: NSRect) -> Id<NSData>

source

pub unsafe fn dataWithPDFInsideRect(&self, rect: NSRect) -> Id<NSData>

source

pub unsafe fn print(&self, sender: Option<&AnyObject>)

source

pub unsafe fn allowsToolTipsWhenApplicationIsInactive(&self) -> bool

source

pub unsafe fn setAllowsToolTipsWhenApplicationIsInactive( &self, allows_tool_tips_when_application_is_inactive: bool )

source

pub unsafe fn backingType(&self) -> NSBackingStoreType

Available on crate feature NSGraphics only.
source

pub unsafe fn setBackingType(&self, backing_type: NSBackingStoreType)

Available on crate feature NSGraphics only.
source

pub unsafe fn level(&self) -> NSWindowLevel

source

pub fn setLevel(&self, level: NSWindowLevel)

source

pub unsafe fn depthLimit(&self) -> NSWindowDepth

Available on crate feature NSGraphics only.
source

pub unsafe fn setDepthLimit(&self, depth_limit: NSWindowDepth)

Available on crate feature NSGraphics only.
source

pub unsafe fn setDynamicDepthLimit(&self, flag: bool)

source

pub unsafe fn hasDynamicDepthLimit(&self) -> bool

source

pub fn screen(&self) -> Option<Id<NSScreen>>

Available on crate feature NSScreen only.
source

pub unsafe fn deepestScreen(&self) -> Option<Id<NSScreen>>

Available on crate feature NSScreen only.
source

pub fn hasShadow(&self) -> bool

source

pub fn setHasShadow(&self, has_shadow: bool)

source

pub unsafe fn invalidateShadow(&self)

source

pub unsafe fn alphaValue(&self) -> CGFloat

source

pub unsafe fn setAlphaValue(&self, alpha_value: CGFloat)

source

pub unsafe fn isOpaque(&self) -> bool

source

pub fn setOpaque(&self, opaque: bool)

source

pub unsafe fn sharingType(&self) -> NSWindowSharingType

source

pub fn setSharingType(&self, sharing_type: NSWindowSharingType)

source

pub unsafe fn allowsConcurrentViewDrawing(&self) -> bool

source

pub unsafe fn setAllowsConcurrentViewDrawing( &self, allows_concurrent_view_drawing: bool )

source

pub unsafe fn displaysWhenScreenProfileChanges(&self) -> bool

source

pub unsafe fn setDisplaysWhenScreenProfileChanges( &self, displays_when_screen_profile_changes: bool )

source

pub unsafe fn disableScreenUpdatesUntilFlush(&self)

source

pub unsafe fn canBecomeVisibleWithoutLogin(&self) -> bool

source

pub unsafe fn setCanBecomeVisibleWithoutLogin( &self, can_become_visible_without_login: bool )

source

pub unsafe fn collectionBehavior(&self) -> NSWindowCollectionBehavior

source

pub unsafe fn setCollectionBehavior( &self, collection_behavior: NSWindowCollectionBehavior )

source

pub unsafe fn animationBehavior(&self) -> NSWindowAnimationBehavior

source

pub unsafe fn setAnimationBehavior( &self, animation_behavior: NSWindowAnimationBehavior )

source

pub unsafe fn isOnActiveSpace(&self) -> bool

source

pub fn toggleFullScreen(&self, sender: Option<&AnyObject>)

source

pub unsafe fn stringWithSavedFrame( &self ) -> Id<NSWindowPersistableFrameDescriptor>

source

pub unsafe fn setFrameFromString( &self, string: &NSWindowPersistableFrameDescriptor )

source

pub unsafe fn saveFrameUsingName(&self, name: &NSWindowFrameAutosaveName)

source

pub unsafe fn setFrameUsingName_force( &self, name: &NSWindowFrameAutosaveName, force: bool ) -> bool

source

pub unsafe fn setFrameUsingName(&self, name: &NSWindowFrameAutosaveName) -> bool

source

pub unsafe fn setFrameAutosaveName( &self, name: &NSWindowFrameAutosaveName ) -> bool

source

pub unsafe fn frameAutosaveName(&self) -> Id<NSWindowFrameAutosaveName>

source

pub unsafe fn minSize(&self) -> NSSize

source

pub fn setMinSize(&self, min_size: NSSize)

source

pub unsafe fn maxSize(&self) -> NSSize

source

pub fn setMaxSize(&self, max_size: NSSize)

source

pub unsafe fn contentMinSize(&self) -> NSSize

source

pub unsafe fn setContentMinSize(&self, content_min_size: NSSize)

source

pub unsafe fn contentMaxSize(&self) -> NSSize

source

pub unsafe fn setContentMaxSize(&self, content_max_size: NSSize)

source

pub unsafe fn minFullScreenContentSize(&self) -> NSSize

source

pub unsafe fn setMinFullScreenContentSize( &self, min_full_screen_content_size: NSSize )

source

pub unsafe fn maxFullScreenContentSize(&self) -> NSSize

source

pub unsafe fn setMaxFullScreenContentSize( &self, max_full_screen_content_size: NSSize )

source

pub unsafe fn deviceDescription( &self ) -> Id<NSDictionary<NSDeviceDescriptionKey, AnyObject>>

Available on crate feature NSGraphics only.
source

pub unsafe fn windowController(&self) -> Option<Id<NSWindowController>>

Available on crate feature NSWindowController only.
source

pub unsafe fn setWindowController( &self, window_controller: Option<&NSWindowController> )

Available on crate feature NSWindowController only.
source

pub unsafe fn beginSheet_completionHandler( &self, sheet_window: &NSWindow, handler: Option<&Block<dyn Fn(NSModalResponse)>> )

Available on crate features NSApplication and block2 only.
source

pub unsafe fn beginCriticalSheet_completionHandler( &self, sheet_window: &NSWindow, handler: Option<&Block<dyn Fn(NSModalResponse)>> )

Available on crate features NSApplication and block2 only.
source

pub unsafe fn endSheet(&self, sheet_window: &NSWindow)

source

pub unsafe fn endSheet_returnCode( &self, sheet_window: &NSWindow, return_code: NSModalResponse )

Available on crate feature NSApplication only.
source

pub unsafe fn sheets(&self) -> Id<NSArray<NSWindow>>

source

pub unsafe fn attachedSheet(&self) -> Option<Id<NSWindow>>

source

pub unsafe fn isSheet(&self) -> bool

source

pub unsafe fn sheetParent(&self) -> Option<Id<NSWindow>>

source

pub fn standardWindowButton(&self, b: NSWindowButton) -> Option<Id<NSButton>>

Available on crate features NSButton and NSControl and NSView only.
source

pub unsafe fn addChildWindow_ordered( &self, child_win: &NSWindow, place: NSWindowOrderingMode )

Available on crate feature NSGraphics only.
source

pub unsafe fn removeChildWindow(&self, child_win: &NSWindow)

source

pub unsafe fn childWindows(&self) -> Option<Id<NSArray<NSWindow>>>

source

pub unsafe fn parentWindow(&self) -> Option<Id<NSWindow>>

source

pub unsafe fn setParentWindow(&self, parent_window: Option<&NSWindow>)

source

pub unsafe fn appearanceSource(&self) -> Option<Id<NSObject>>

Available on crate feature NSAppearance only.
source

pub unsafe fn setAppearanceSource(&self, appearance_source: Option<&NSObject>)

Available on crate feature NSAppearance only.
source

pub unsafe fn colorSpace(&self) -> Option<Id<NSColorSpace>>

Available on crate feature NSColorSpace only.
source

pub unsafe fn setColorSpace(&self, color_space: Option<&NSColorSpace>)

Available on crate feature NSColorSpace only.
source

pub unsafe fn canRepresentDisplayGamut( &self, display_gamut: NSDisplayGamut ) -> bool

Available on crate feature NSGraphics only.
source

pub fn occlusionState(&self) -> NSWindowOcclusionState

source

pub unsafe fn titlebarSeparatorStyle(&self) -> NSTitlebarSeparatorStyle

source

pub unsafe fn setTitlebarSeparatorStyle( &self, titlebar_separator_style: NSTitlebarSeparatorStyle )

source

pub unsafe fn contentViewController(&self) -> Option<Id<NSViewController>>

Available on crate feature NSViewController only.
source

pub unsafe fn setContentViewController( &self, content_view_controller: Option<&NSViewController> )

Available on crate feature NSViewController only.
source

pub fn performWindowDragWithEvent(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn initialFirstResponder(&self) -> Option<Id<NSView>>

Available on crate feature NSView only.
source

pub fn setInitialFirstResponder(&self, initial_first_responder: Option<&NSView>)

Available on crate feature NSView only.
source

pub fn selectNextKeyView(&self, sender: Option<&AnyObject>)

source

pub fn selectPreviousKeyView(&self, sender: Option<&AnyObject>)

source

pub unsafe fn selectKeyViewFollowingView(&self, view: &NSView)

Available on crate feature NSView only.
source

pub unsafe fn selectKeyViewPrecedingView(&self, view: &NSView)

Available on crate feature NSView only.
source

pub unsafe fn keyViewSelectionDirection(&self) -> NSSelectionDirection

source

pub unsafe fn defaultButtonCell(&self) -> Option<Id<NSButtonCell>>

Available on crate features NSActionCell and NSButtonCell and NSCell only.
source

pub unsafe fn setDefaultButtonCell( &self, default_button_cell: Option<&NSButtonCell> )

Available on crate features NSActionCell and NSButtonCell and NSCell only.
source

pub unsafe fn disableKeyEquivalentForDefaultButtonCell(&self)

source

pub unsafe fn enableKeyEquivalentForDefaultButtonCell(&self)

source

pub unsafe fn autorecalculatesKeyViewLoop(&self) -> bool

source

pub unsafe fn setAutorecalculatesKeyViewLoop( &self, autorecalculates_key_view_loop: bool )

source

pub unsafe fn recalculateKeyViewLoop(&self)

source

pub unsafe fn toolbar(&self) -> Option<Id<NSToolbar>>

Available on crate feature NSToolbar only.
source

pub unsafe fn setToolbar(&self, toolbar: Option<&NSToolbar>)

Available on crate feature NSToolbar only.
source

pub unsafe fn toggleToolbarShown(&self, sender: Option<&AnyObject>)

source

pub unsafe fn runToolbarCustomizationPalette(&self, sender: Option<&AnyObject>)

source

pub unsafe fn showsToolbarButton(&self) -> bool

👎Deprecated: This property has no effect
source

pub unsafe fn setShowsToolbarButton(&self, shows_toolbar_button: bool)

👎Deprecated: This property has no effect
source

pub unsafe fn tabbingMode(&self) -> NSWindowTabbingMode

source

pub fn setTabbingMode(&self, tabbing_mode: NSWindowTabbingMode)

source

pub fn tabbingIdentifier(&self) -> Id<NSWindowTabbingIdentifier>

source

pub fn setTabbingIdentifier( &self, tabbing_identifier: &NSWindowTabbingIdentifier )

source

pub fn selectNextTab(&self, sender: Option<&AnyObject>)

source

pub unsafe fn selectPreviousTab(&self, sender: Option<&AnyObject>)

source

pub unsafe fn moveTabToNewWindow(&self, sender: Option<&AnyObject>)

source

pub unsafe fn mergeAllWindows(&self, sender: Option<&AnyObject>)

source

pub unsafe fn toggleTabBar(&self, sender: Option<&AnyObject>)

source

pub unsafe fn toggleTabOverview(&self, sender: Option<&AnyObject>)

source

pub unsafe fn tabbedWindows(&self) -> Option<Id<NSArray<NSWindow>>>

source

pub unsafe fn addTabbedWindow_ordered( &self, window: &NSWindow, ordered: NSWindowOrderingMode )

Available on crate feature NSGraphics only.
source

pub unsafe fn tab(&self) -> Id<NSWindowTab>

Available on crate feature NSWindowTab only.
source

pub fn tabGroup(&self) -> Option<Id<NSWindowTabGroup>>

Available on crate feature NSWindowTabGroup only.
source

pub unsafe fn transferWindowSharingToWindow_completionHandler( &self, window: &NSWindow, completion_handler: &Block<dyn Fn(*mut NSError)> )

Available on crate feature block2 only.
source

pub unsafe fn hasActiveWindowSharingSession(&self) -> bool

source

pub unsafe fn windowTitlebarLayoutDirection( &self ) -> NSUserInterfaceLayoutDirection

Available on crate feature NSUserInterfaceLayout only.
source

pub unsafe fn trackEventsMatchingMask_timeout_mode_handler( &self, mask: NSEventMask, timeout: NSTimeInterval, mode: &NSRunLoopMode, tracking_handler: &Block<dyn Fn(*mut NSEvent, NonNull<Bool>) + '_> )

Available on crate features NSEvent and block2 only.
source

pub unsafe fn nextEventMatchingMask( &self, mask: NSEventMask ) -> Option<Id<NSEvent>>

Available on crate feature NSEvent only.
source

pub unsafe fn nextEventMatchingMask_untilDate_inMode_dequeue( &self, mask: NSEventMask, expiration: Option<&NSDate>, mode: &NSRunLoopMode, deq_flag: bool ) -> Option<Id<NSEvent>>

Available on crate feature NSEvent only.
source

pub unsafe fn discardEventsMatchingMask_beforeEvent( &self, mask: NSEventMask, last_event: Option<&NSEvent> )

Available on crate feature NSEvent only.
source

pub unsafe fn postEvent_atStart(&self, event: &NSEvent, flag: bool)

Available on crate feature NSEvent only.
source

pub fn sendEvent(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn currentEvent(&self) -> Option<Id<NSEvent>>

Available on crate feature NSEvent only.
source

pub unsafe fn acceptsMouseMovedEvents(&self) -> bool

source

pub fn setAcceptsMouseMovedEvents(&self, accepts_mouse_moved_events: bool)

source

pub unsafe fn ignoresMouseEvents(&self) -> bool

source

pub fn setIgnoresMouseEvents(&self, ignores_mouse_events: bool)

source

pub unsafe fn mouseLocationOutsideOfEventStream(&self) -> NSPoint

source

pub unsafe fn disableCursorRects(&self)

source

pub unsafe fn enableCursorRects(&self)

source

pub unsafe fn discardCursorRects(&self)

source

pub unsafe fn areCursorRectsEnabled(&self) -> bool

source

pub fn invalidateCursorRectsForView(&self, view: &NSView)

Available on crate feature NSView only.
source

pub unsafe fn resetCursorRects(&self)

source

pub unsafe fn dragImage_at_offset_event_pasteboard_source_slideBack( &self, image: &NSImage, base_location: NSPoint, initial_offset: NSSize, event: &NSEvent, pboard: &NSPasteboard, source_obj: &AnyObject, slide_flag: bool )

Available on crate features NSEvent and NSImage and NSPasteboard only.
source

pub fn registerForDraggedTypes(&self, new_types: &NSArray<NSPasteboardType>)

Available on crate feature NSPasteboard only.
source

pub unsafe fn unregisterDraggedTypes(&self)

source

pub unsafe fn windowRef(&self) -> NonNull<c_void>

source

pub unsafe fn cacheImageInRect(&self, rect: NSRect)

👎Deprecated: This method shouldn’t be used as it doesn’t work in all drawing situations; instead, a subview should be used that implements the desired drawing behavior
source

pub unsafe fn restoreCachedImage(&self)

👎Deprecated: This method shouldn’t be used as it doesn’t work in all drawing situations; instead, a subview should be used that implements the desired drawing behavior
source

pub unsafe fn discardCachedImage(&self)

👎Deprecated: This method shouldn’t be used as it doesn’t work in all drawing situations; instead, a subview should be used that implements the desired drawing behavior
source

pub unsafe fn gState(&self) -> NSInteger

👎Deprecated: This method is unused and should not be called.
source

pub unsafe fn convertBaseToScreen(&self, point: NSPoint) -> NSPoint

👎Deprecated: Use -convertRectToScreen: or -convertPointToScreen: instead
source

pub unsafe fn convertScreenToBase(&self, point: NSPoint) -> NSPoint

👎Deprecated: Use -convertRectFromScreen or -convertPointFromScreen: instead
source

pub unsafe fn userSpaceScaleFactor(&self) -> CGFloat

👎Deprecated: Use -convertRectToBacking: and -backingScaleFactor instead
source

pub unsafe fn useOptimizedDrawing(&self, flag: bool)

👎Deprecated: This method does not do anything and should not be called.
source

pub unsafe fn canStoreColor(&self) -> bool

👎Deprecated: This method does not do anything and should not be called.
source

pub unsafe fn disableFlushWindow(&self)

👎Deprecated: Use +[NSAnimationContext runAnimationGroup:completionHandler:] to perform atomic updates across runloop invocations.
source

pub unsafe fn enableFlushWindow(&self)

👎Deprecated: Use +[NSAnimationContext runAnimationGroup:completionHandler:] to perform atomic updates across runloop invocations.
source

pub unsafe fn isFlushWindowDisabled(&self) -> bool

👎Deprecated: Use +[NSAnimationContext runAnimationGroup:completionHandler:] to perform atomic updates across runloop invocations.
source

pub unsafe fn flushWindow(&self)

👎Deprecated: Allow AppKit’s automatic deferred display mechanism to take care of flushing any graphics contexts as needed.
source

pub unsafe fn flushWindowIfNeeded(&self)

👎Deprecated: Allow AppKit’s automatic deferred display mechanism to take care of flushing any graphics contexts as needed.
source

pub unsafe fn isAutodisplay(&self) -> bool

👎Deprecated: Use +[NSAnimationContext runAnimationGroup:completionHandler:] to temporarily prevent AppKit’s automatic deferred display mechanism from drawing.
source

pub unsafe fn setAutodisplay(&self, autodisplay: bool)

👎Deprecated: Use +[NSAnimationContext runAnimationGroup:completionHandler:] to temporarily prevent AppKit’s automatic deferred display mechanism from drawing.
source

pub unsafe fn graphicsContext(&self) -> Option<Id<NSGraphicsContext>>

👎Deprecated: Add instances of NSView to display content in a window.
Available on crate feature NSGraphicsContext only.
source

pub unsafe fn isOneShot(&self) -> bool

👎Deprecated: This property does not do anything and should not be used
source

pub unsafe fn setOneShot(&self, one_shot: bool)

👎Deprecated: This property does not do anything and should not be used
source

pub unsafe fn preferredBackingLocation(&self) -> NSWindowBackingLocation

👎Deprecated: This property does not do anything and should not be used
source

pub unsafe fn setPreferredBackingLocation( &self, preferred_backing_location: NSWindowBackingLocation )

👎Deprecated: This property does not do anything and should not be used
source

pub unsafe fn backingLocation(&self) -> NSWindowBackingLocation

👎Deprecated: This property does not do anything and should not be used
source

pub unsafe fn showsResizeIndicator(&self) -> bool

source

pub unsafe fn setShowsResizeIndicator(&self, shows_resize_indicator: bool)

source

pub unsafe fn isRestorable(&self) -> bool

Available on crate feature NSWindowRestoration only.
source

pub unsafe fn setRestorable(&self, restorable: bool)

Available on crate feature NSWindowRestoration only.
source

pub unsafe fn restorationClass(&self) -> Option<&'static AnyClass>

Available on crate feature NSWindowRestoration only.
source

pub unsafe fn setRestorationClass(&self, restoration_class: Option<&AnyClass>)

Available on crate feature NSWindowRestoration only.
source

pub unsafe fn disableSnapshotRestoration(&self)

Available on crate feature NSWindowRestoration only.
source

pub unsafe fn enableSnapshotRestoration(&self)

Available on crate feature NSWindowRestoration only.
source

pub fn hasCloseBox(&self) -> bool

Available on crate feature NSWindowScripting only.
source

pub unsafe fn hasTitleBar(&self) -> bool

Available on crate feature NSWindowScripting only.
source

pub unsafe fn isFloatingPanel(&self) -> bool

Available on crate feature NSWindowScripting only.
source

pub fn isMiniaturizable(&self) -> bool

Available on crate feature NSWindowScripting only.
source

pub unsafe fn isModalPanel(&self) -> bool

Available on crate feature NSWindowScripting only.
source

pub fn isResizable(&self) -> bool

Available on crate feature NSWindowScripting only.
source

pub unsafe fn isZoomable(&self) -> bool

Available on crate feature NSWindowScripting only.
source

pub unsafe fn orderedIndex(&self) -> NSInteger

Available on crate feature NSWindowScripting only.
source

pub unsafe fn setOrderedIndex(&self, ordered_index: NSInteger)

Available on crate feature NSWindowScripting only.
source

pub unsafe fn setIsMiniaturized(&self, flag: bool)

Available on crate feature NSWindowScripting only.
source

pub unsafe fn setIsVisible(&self, flag: bool)

Available on crate feature NSWindowScripting only.
source

pub unsafe fn setIsZoomed(&self, flag: bool)

Available on crate feature NSWindowScripting only.
source

pub unsafe fn handleCloseScriptCommand( &self, command: &NSCloseCommand ) -> Option<Id<AnyObject>>

Available on crate feature NSWindowScripting only.
source

pub unsafe fn handlePrintScriptCommand( &self, command: &NSScriptCommand ) -> Option<Id<AnyObject>>

Available on crate feature NSWindowScripting only.
source

pub unsafe fn handleSaveScriptCommand( &self, command: &NSScriptCommand ) -> Option<Id<AnyObject>>

Available on crate feature NSWindowScripting only.

Methods from Deref<Target = NSResponder>§

source

pub unsafe fn interfaceStyle(&self) -> NSInterfaceStyle

👎Deprecated
Available on crate feature NSInterfaceStyle only.
source

pub unsafe fn setInterfaceStyle(&self, interface_style: NSInterfaceStyle)

👎Deprecated
Available on crate feature NSInterfaceStyle only.
source

pub unsafe fn nextResponder(&self) -> Option<Id<NSResponder>>

source

pub unsafe fn setNextResponder(&self, next_responder: Option<&NSResponder>)

source

pub unsafe fn tryToPerform_with( &self, action: Sel, object: Option<&AnyObject> ) -> bool

source

pub unsafe fn performKeyEquivalent(&self, event: &NSEvent) -> bool

Available on crate feature NSEvent only.
source

pub unsafe fn validRequestorForSendType_returnType( &self, send_type: Option<&NSPasteboardType>, return_type: Option<&NSPasteboardType> ) -> Option<Id<AnyObject>>

Available on crate feature NSPasteboard only.
source

pub unsafe fn mouseDown(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn rightMouseDown(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn otherMouseDown(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn mouseUp(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn rightMouseUp(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn otherMouseUp(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn mouseMoved(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn mouseDragged(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn scrollWheel(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn rightMouseDragged(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn otherMouseDragged(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn mouseEntered(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn mouseExited(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn keyDown(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn keyUp(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn flagsChanged(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn tabletPoint(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn tabletProximity(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn cursorUpdate(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn magnifyWithEvent(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn rotateWithEvent(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn swipeWithEvent(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn beginGestureWithEvent(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn endGestureWithEvent(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn smartMagnifyWithEvent(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn changeModeWithEvent(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn touchesBeganWithEvent(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn touchesMovedWithEvent(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn touchesEndedWithEvent(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn touchesCancelledWithEvent(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn quickLookWithEvent(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn pressureChangeWithEvent(&self, event: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn noResponderFor(&self, event_selector: Sel)

source

pub unsafe fn acceptsFirstResponder(&self) -> bool

source

pub unsafe fn becomeFirstResponder(&self) -> bool

source

pub unsafe fn resignFirstResponder(&self) -> bool

source

pub unsafe fn interpretKeyEvents(&self, event_array: &NSArray<NSEvent>)

Available on crate feature NSEvent only.
source

pub unsafe fn flushBufferedKeyEvents(&self)

source

pub unsafe fn menu(&self) -> Option<Id<NSMenu>>

Available on crate feature NSMenu only.
source

pub unsafe fn setMenu(&self, menu: Option<&NSMenu>)

Available on crate feature NSMenu only.
source

pub unsafe fn showContextHelp(&self, sender: Option<&AnyObject>)

source

pub unsafe fn helpRequested(&self, event_ptr: &NSEvent)

Available on crate feature NSEvent only.
source

pub unsafe fn shouldBeTreatedAsInkEvent(&self, event: &NSEvent) -> bool

Available on crate feature NSEvent only.
source

pub unsafe fn wantsScrollEventsForSwipeTrackingOnAxis( &self, axis: NSEventGestureAxis ) -> bool

Available on crate feature NSEvent only.
source

pub unsafe fn wantsForwardedScrollEventsForAxis( &self, axis: NSEventGestureAxis ) -> bool

Available on crate feature NSEvent only.
source

pub unsafe fn supplementalTargetForAction_sender( &self, action: Sel, sender: Option<&AnyObject> ) -> Option<Id<AnyObject>>

source

pub unsafe fn undoManager(&self) -> Option<Id<NSUndoManager>>

source

pub unsafe fn validateProposedFirstResponder_forEvent( &self, responder: &NSResponder, event: Option<&NSEvent> ) -> bool

Available on crate feature NSEvent only.
source

pub unsafe fn presentError_modalForWindow_delegate_didPresentSelector_contextInfo( &self, error: &NSError, window: &NSWindow, delegate: Option<&AnyObject>, did_present_selector: Option<Sel>, context_info: *mut c_void )

source

pub unsafe fn presentError(&self, error: &NSError) -> bool

source

pub unsafe fn willPresentError(&self, error: &NSError) -> Id<NSError>

source

pub unsafe fn performTextFinderAction(&self, sender: Option<&AnyObject>)

source

pub unsafe fn newWindowForTab(&self, sender: Option<&AnyObject>)

source

pub unsafe fn performMnemonic(&self, string: &NSString) -> bool

👎Deprecated: This has always returned NO and had no effect on macOS
source

pub unsafe fn touchBar(&self) -> Option<Id<NSTouchBar>>

Available on crate feature NSTouchBar only.
source

pub unsafe fn setTouchBar(&self, touch_bar: Option<&NSTouchBar>)

Available on crate feature NSTouchBar only.
source

pub unsafe fn makeTouchBar(&self) -> Option<Id<NSTouchBar>>

Available on crate feature NSTouchBar only.
source

pub unsafe fn userActivity(&self) -> Option<Id<NSUserActivity>>

Available on crate feature NSUserActivity only.
source

pub unsafe fn setUserActivity(&self, user_activity: Option<&NSUserActivity>)

Available on crate feature NSUserActivity only.
source

pub unsafe fn updateUserActivityState(&self, user_activity: &NSUserActivity)

Available on crate feature NSUserActivity only.
source

pub unsafe fn encodeRestorableStateWithCoder(&self, coder: &NSCoder)

Available on crate feature NSWindowRestoration only.
source

pub unsafe fn encodeRestorableStateWithCoder_backgroundQueue( &self, coder: &NSCoder, queue: &NSOperationQueue )

Available on crate feature NSWindowRestoration only.
source

pub unsafe fn restoreStateWithCoder(&self, coder: &NSCoder)

Available on crate feature NSWindowRestoration only.
source

pub unsafe fn invalidateRestorableState(&self)

Available on crate feature NSWindowRestoration only.

Methods from Deref<Target = NSObject>§

source

pub fn doesNotRecognizeSelector(&self, sel: Sel) -> !

Handle messages the object doesn’t recognize.

See Apple’s documentation for details.

Methods from Deref<Target = AnyObject>§

source

pub fn class(&self) -> &'static AnyClass

Available on crate feature NSAccessibilityConstants only.

Dynamically find the class of this object.

§Example

Check that an instance of NSObject has the precise class NSObject.

use objc2::ClassType;
use objc2::runtime::NSObject;

let obj = NSObject::new();
assert_eq!(obj.class(), NSObject::class());
source

pub unsafe fn get_ivar<T>(&self, name: &str) -> &T
where T: Encode,

👎Deprecated: this is difficult to use correctly, use Ivar::load instead.
Available on crate feature NSAccessibilityConstants only.

Use Ivar::load instead.

§Safety

The object must have an instance variable with the given name, and it must be of type T.

See Ivar::load_ptr for details surrounding this.

source

pub unsafe fn get_mut_ivar<T>(&mut self, name: &str) -> &mut T
where T: Encode,

👎Deprecated: this is difficult to use correctly, use Ivar::load_mut instead.
Available on crate feature NSAccessibilityConstants only.

Use Ivar::load_mut instead.

§Safety

The object must have an instance variable with the given name, and it must be of type T.

See Ivar::load_ptr for details surrounding this.

Trait Implementations§

source§

impl AsMut<AnyObject> for NSFontPanel

source§

fn as_mut(&mut self) -> &mut AnyObject

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<NSFontPanel> for NSFontPanel

source§

fn as_mut(&mut self) -> &mut Self

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<NSObject> for NSFontPanel

source§

fn as_mut(&mut self) -> &mut NSObject

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<NSPanel> for NSFontPanel

source§

fn as_mut(&mut self) -> &mut NSPanel

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<NSResponder> for NSFontPanel

source§

fn as_mut(&mut self) -> &mut NSResponder

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<NSWindow> for NSFontPanel

source§

fn as_mut(&mut self) -> &mut NSWindow

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsRef<AnyObject> for NSFontPanel

source§

fn as_ref(&self) -> &AnyObject

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<NSFontPanel> for NSFontPanel

source§

fn as_ref(&self) -> &Self

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<NSObject> for NSFontPanel

source§

fn as_ref(&self) -> &NSObject

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<NSPanel> for NSFontPanel

source§

fn as_ref(&self) -> &NSPanel

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<NSResponder> for NSFontPanel

source§

fn as_ref(&self) -> &NSResponder

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<NSWindow> for NSFontPanel

source§

fn as_ref(&self) -> &NSWindow

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<AnyObject> for NSFontPanel

source§

fn borrow(&self) -> &AnyObject

Immutably borrows from an owned value. Read more
source§

impl Borrow<NSObject> for NSFontPanel

source§

fn borrow(&self) -> &NSObject

Immutably borrows from an owned value. Read more
source§

impl Borrow<NSPanel> for NSFontPanel

source§

fn borrow(&self) -> &NSPanel

Immutably borrows from an owned value. Read more
source§

impl Borrow<NSResponder> for NSFontPanel

source§

fn borrow(&self) -> &NSResponder

Immutably borrows from an owned value. Read more
source§

impl Borrow<NSWindow> for NSFontPanel

source§

fn borrow(&self) -> &NSWindow

Immutably borrows from an owned value. Read more
source§

impl BorrowMut<AnyObject> for NSFontPanel

source§

fn borrow_mut(&mut self) -> &mut AnyObject

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<NSObject> for NSFontPanel

source§

fn borrow_mut(&mut self) -> &mut NSObject

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<NSPanel> for NSFontPanel

source§

fn borrow_mut(&mut self) -> &mut NSPanel

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<NSResponder> for NSFontPanel

source§

fn borrow_mut(&mut self) -> &mut NSResponder

Mutably borrows from an owned value. Read more
source§

impl BorrowMut<NSWindow> for NSFontPanel

source§

fn borrow_mut(&mut self) -> &mut NSWindow

Mutably borrows from an owned value. Read more
source§

impl ClassType for NSFontPanel

§

type Super = NSPanel

The superclass of this class. Read more
§

type Mutability = MainThreadOnly

Whether the type is mutable or immutable. Read more
source§

const NAME: &'static str = "NSFontPanel"

The name of the Objective-C class that this type represents. Read more
source§

fn class() -> &'static AnyClass

Get a reference to the Objective-C class that this type represents. Read more
source§

fn as_super(&self) -> &Self::Super

Get an immutable reference to the superclass.
source§

fn as_super_mut(&mut self) -> &mut Self::Super

Get a mutable reference to the superclass.
source§

fn retain(&self) -> Id<Self>
where Self: IsRetainable + Sized,

Increment the reference count of the receiver. Read more
source§

impl Debug for NSFontPanel

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for NSFontPanel

§

type Target = NSPanel

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for NSFontPanel

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl Hash for NSFontPanel

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl NSAccessibility for NSFontPanel

Available on crate feature NSAccessibilityProtocols only.
source§

unsafe fn isAccessibilityElement(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityElement(&self, accessibility_element: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityFrame(&self) -> NSRect
where Self: Sized + Message,

source§

unsafe fn setAccessibilityFrame(&self, accessibility_frame: NSRect)
where Self: Sized + Message,

source§

unsafe fn isAccessibilityFocused(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityFocused(&self, accessibility_focused: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityActivationPoint(&self) -> NSPoint
where Self: Sized + Message,

source§

unsafe fn setAccessibilityActivationPoint( &self, accessibility_activation_point: NSPoint )
where Self: Sized + Message,

source§

unsafe fn accessibilityTopLevelUIElement(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityTopLevelUIElement( &self, accessibility_top_level_ui_element: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityURL(&self) -> Option<Id<NSURL>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityURL(&self, accessibility_url: Option<&NSURL>)
where Self: Sized + Message,

source§

unsafe fn accessibilityValue(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityValue(&self, accessibility_value: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn accessibilityValueDescription(&self) -> Option<Id<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityValueDescription( &self, accessibility_value_description: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityVisibleChildren(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityVisibleChildren( &self, accessibility_visible_children: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySubrole(&self) -> Option<Id<NSAccessibilitySubrole>>
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilitySubrole( &self, accessibility_subrole: Option<&NSAccessibilitySubrole> )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityTitle(&self) -> Option<Id<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityTitle(&self, accessibility_title: Option<&NSString>)
where Self: Sized + Message,

source§

unsafe fn accessibilityTitleUIElement(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityTitleUIElement( &self, accessibility_title_ui_element: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityNextContents(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityNextContents( &self, accessibility_next_contents: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityOrientation(&self) -> NSAccessibilityOrientation
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilityOrientation( &self, accessibility_orientation: NSAccessibilityOrientation )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityOverflowButton(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityOverflowButton( &self, accessibility_overflow_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityParent(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityParent( &self, accessibility_parent: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityPlaceholderValue(&self) -> Option<Id<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityPlaceholderValue( &self, accessibility_placeholder_value: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityPreviousContents(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityPreviousContents( &self, accessibility_previous_contents: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityRole(&self) -> Option<Id<NSAccessibilityRole>>
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilityRole( &self, accessibility_role: Option<&NSAccessibilityRole> )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityRoleDescription(&self) -> Option<Id<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityRoleDescription( &self, accessibility_role_description: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySearchButton(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySearchButton( &self, accessibility_search_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySearchMenu(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySearchMenu( &self, accessibility_search_menu: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilitySelected(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelected(&self, accessibility_selected: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilitySelectedChildren(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelectedChildren( &self, accessibility_selected_children: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityServesAsTitleForUIElements(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityServesAsTitleForUIElements( &self, accessibility_serves_as_title_for_ui_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityShownMenu(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityShownMenu( &self, accessibility_shown_menu: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityMinValue(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMinValue( &self, accessibility_min_value: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityMaxValue(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMaxValue( &self, accessibility_max_value: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityLinkedUIElements(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityLinkedUIElements( &self, accessibility_linked_ui_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityWindow(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityWindow( &self, accessibility_window: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityIdentifier(&self) -> Option<Id<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityIdentifier( &self, accessibility_identifier: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityHelp(&self) -> Option<Id<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityHelp(&self, accessibility_help: Option<&NSString>)
where Self: Sized + Message,

source§

unsafe fn accessibilityFilename(&self) -> Option<Id<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityFilename( &self, accessibility_filename: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityExpanded(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityExpanded(&self, accessibility_expanded: bool)
where Self: Sized + Message,

source§

unsafe fn isAccessibilityEdited(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityEdited(&self, accessibility_edited: bool)
where Self: Sized + Message,

source§

unsafe fn isAccessibilityEnabled(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityEnabled(&self, accessibility_enabled: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityChildren(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityChildren( &self, accessibility_children: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityChildrenInNavigationOrder( &self ) -> Option<Id<NSArray<ProtocolObject<dyn NSAccessibilityElementProtocol>>>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityChildrenInNavigationOrder( &self, accessibility_children_in_navigation_order: Option<&NSArray<ProtocolObject<dyn NSAccessibilityElementProtocol>>> )
where Self: Sized + Message,

source§

unsafe fn accessibilityClearButton(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityClearButton( &self, accessibility_clear_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityCancelButton(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityCancelButton( &self, accessibility_cancel_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityProtectedContent(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityProtectedContent( &self, accessibility_protected_content: bool )
where Self: Sized + Message,

source§

unsafe fn accessibilityContents(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityContents( &self, accessibility_contents: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityLabel(&self) -> Option<Id<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityLabel(&self, accessibility_label: Option<&NSString>)
where Self: Sized + Message,

source§

unsafe fn isAccessibilityAlternateUIVisible(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityAlternateUIVisible( &self, accessibility_alternate_ui_visible: bool )
where Self: Sized + Message,

source§

unsafe fn accessibilitySharedFocusElements(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySharedFocusElements( &self, accessibility_shared_focus_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityRequired(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityRequired(&self, accessibility_required: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityCustomRotors( &self ) -> Id<NSArray<NSAccessibilityCustomRotor>>
where Self: Sized + Message,

Available on crate feature NSAccessibilityCustomRotor only.
source§

unsafe fn setAccessibilityCustomRotors( &self, accessibility_custom_rotors: &NSArray<NSAccessibilityCustomRotor> )
where Self: Sized + Message,

Available on crate feature NSAccessibilityCustomRotor only.
source§

unsafe fn accessibilityUserInputLabels(&self) -> Option<Id<NSArray<NSString>>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityUserInputLabels( &self, accessibility_user_input_labels: Option<&NSArray<NSString>> )
where Self: Sized + Message,

source§

unsafe fn accessibilityAttributedUserInputLabels( &self ) -> Option<Id<NSArray<NSAttributedString>>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityAttributedUserInputLabels( &self, accessibility_attributed_user_input_labels: Option<&NSArray<NSAttributedString>> )
where Self: Sized + Message,

source§

unsafe fn accessibilityApplicationFocusedUIElement( &self ) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityApplicationFocusedUIElement( &self, accessibility_application_focused_ui_element: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityMainWindow(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMainWindow( &self, accessibility_main_window: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityHidden(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityHidden(&self, accessibility_hidden: bool)
where Self: Sized + Message,

source§

unsafe fn isAccessibilityFrontmost(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityFrontmost(&self, accessibility_frontmost: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityFocusedWindow(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityFocusedWindow( &self, accessibility_focused_window: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityWindows(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityWindows( &self, accessibility_windows: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityExtrasMenuBar(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityExtrasMenuBar( &self, accessibility_extras_menu_bar: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityMenuBar(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMenuBar( &self, accessibility_menu_bar: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityColumnTitles(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityColumnTitles( &self, accessibility_column_titles: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityOrderedByRow(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityOrderedByRow( &self, accessibility_ordered_by_row: bool )
where Self: Sized + Message,

source§

unsafe fn accessibilityHorizontalUnits(&self) -> NSAccessibilityUnits
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilityHorizontalUnits( &self, accessibility_horizontal_units: NSAccessibilityUnits )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityVerticalUnits(&self) -> NSAccessibilityUnits
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilityVerticalUnits( &self, accessibility_vertical_units: NSAccessibilityUnits )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityHorizontalUnitDescription(&self) -> Option<Id<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityHorizontalUnitDescription( &self, accessibility_horizontal_unit_description: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityVerticalUnitDescription(&self) -> Option<Id<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityVerticalUnitDescription( &self, accessibility_vertical_unit_description: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityLayoutPointForScreenPoint( &self, point: NSPoint ) -> NSPoint
where Self: Sized + Message,

source§

unsafe fn accessibilityLayoutSizeForScreenSize(&self, size: NSSize) -> NSSize
where Self: Sized + Message,

source§

unsafe fn accessibilityScreenPointForLayoutPoint( &self, point: NSPoint ) -> NSPoint
where Self: Sized + Message,

source§

unsafe fn accessibilityScreenSizeForLayoutSize(&self, size: NSSize) -> NSSize
where Self: Sized + Message,

source§

unsafe fn accessibilityHandles(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityHandles( &self, accessibility_handles: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityWarningValue(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityWarningValue( &self, accessibility_warning_value: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityCriticalValue(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityCriticalValue( &self, accessibility_critical_value: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityDisclosed(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityDisclosed(&self, accessibility_disclosed: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityDisclosedByRow(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityDisclosedByRow( &self, accessibility_disclosed_by_row: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityDisclosedRows(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityDisclosedRows( &self, accessibility_disclosed_rows: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityDisclosureLevel(&self) -> NSInteger
where Self: Sized + Message,

source§

unsafe fn setAccessibilityDisclosureLevel( &self, accessibility_disclosure_level: NSInteger )
where Self: Sized + Message,

source§

unsafe fn accessibilityMarkerUIElements(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMarkerUIElements( &self, accessibility_marker_ui_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityMarkerValues(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMarkerValues( &self, accessibility_marker_values: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityMarkerGroupUIElement(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMarkerGroupUIElement( &self, accessibility_marker_group_ui_element: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityUnits(&self) -> NSAccessibilityUnits
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilityUnits( &self, accessibility_units: NSAccessibilityUnits )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityUnitDescription(&self) -> Option<Id<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityUnitDescription( &self, accessibility_unit_description: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityRulerMarkerType(&self) -> NSAccessibilityRulerMarkerType
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilityRulerMarkerType( &self, accessibility_ruler_marker_type: NSAccessibilityRulerMarkerType )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityMarkerTypeDescription(&self) -> Option<Id<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMarkerTypeDescription( &self, accessibility_marker_type_description: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityHorizontalScrollBar(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityHorizontalScrollBar( &self, accessibility_horizontal_scroll_bar: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityVerticalScrollBar(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityVerticalScrollBar( &self, accessibility_vertical_scroll_bar: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityAllowedValues(&self) -> Option<Id<NSArray<NSNumber>>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityAllowedValues( &self, accessibility_allowed_values: Option<&NSArray<NSNumber>> )
where Self: Sized + Message,

source§

unsafe fn accessibilityLabelUIElements(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityLabelUIElements( &self, accessibility_label_ui_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityLabelValue(&self) -> c_float
where Self: Sized + Message,

source§

unsafe fn setAccessibilityLabelValue(&self, accessibility_label_value: c_float)
where Self: Sized + Message,

source§

unsafe fn accessibilitySplitters(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySplitters( &self, accessibility_splitters: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityDecrementButton(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityDecrementButton( &self, accessibility_decrement_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityIncrementButton(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityIncrementButton( &self, accessibility_increment_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityTabs(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityTabs(&self, accessibility_tabs: Option<&NSArray>)
where Self: Sized + Message,

source§

unsafe fn accessibilityHeader(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityHeader( &self, accessibility_header: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityColumnCount(&self) -> NSInteger
where Self: Sized + Message,

source§

unsafe fn setAccessibilityColumnCount( &self, accessibility_column_count: NSInteger )
where Self: Sized + Message,

source§

unsafe fn accessibilityRowCount(&self) -> NSInteger
where Self: Sized + Message,

source§

unsafe fn setAccessibilityRowCount(&self, accessibility_row_count: NSInteger)
where Self: Sized + Message,

source§

unsafe fn accessibilityIndex(&self) -> NSInteger
where Self: Sized + Message,

source§

unsafe fn setAccessibilityIndex(&self, accessibility_index: NSInteger)
where Self: Sized + Message,

source§

unsafe fn accessibilityColumns(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityColumns( &self, accessibility_columns: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityRows(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityRows(&self, accessibility_rows: Option<&NSArray>)
where Self: Sized + Message,

source§

unsafe fn accessibilityVisibleRows(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityVisibleRows( &self, accessibility_visible_rows: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySelectedRows(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelectedRows( &self, accessibility_selected_rows: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityVisibleColumns(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityVisibleColumns( &self, accessibility_visible_columns: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySelectedColumns(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelectedColumns( &self, accessibility_selected_columns: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySortDirection(&self) -> NSAccessibilitySortDirection
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn setAccessibilitySortDirection( &self, accessibility_sort_direction: NSAccessibilitySortDirection )
where Self: Sized + Message,

Available on crate feature NSAccessibilityConstants only.
source§

unsafe fn accessibilityRowHeaderUIElements(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityRowHeaderUIElements( &self, accessibility_row_header_ui_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySelectedCells(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelectedCells( &self, accessibility_selected_cells: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityVisibleCells(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityVisibleCells( &self, accessibility_visible_cells: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityColumnHeaderUIElements(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityColumnHeaderUIElements( &self, accessibility_column_header_ui_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityCellForColumn_row( &self, column: NSInteger, row: NSInteger ) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn accessibilityRowIndexRange(&self) -> NSRange
where Self: Sized + Message,

source§

unsafe fn setAccessibilityRowIndexRange( &self, accessibility_row_index_range: NSRange )
where Self: Sized + Message,

source§

unsafe fn accessibilityColumnIndexRange(&self) -> NSRange
where Self: Sized + Message,

source§

unsafe fn setAccessibilityColumnIndexRange( &self, accessibility_column_index_range: NSRange )
where Self: Sized + Message,

source§

unsafe fn accessibilityInsertionPointLineNumber(&self) -> NSInteger
where Self: Sized + Message,

source§

unsafe fn setAccessibilityInsertionPointLineNumber( &self, accessibility_insertion_point_line_number: NSInteger )
where Self: Sized + Message,

source§

unsafe fn accessibilitySharedCharacterRange(&self) -> NSRange
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySharedCharacterRange( &self, accessibility_shared_character_range: NSRange )
where Self: Sized + Message,

source§

unsafe fn accessibilitySharedTextUIElements(&self) -> Option<Id<NSArray>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySharedTextUIElements( &self, accessibility_shared_text_ui_elements: Option<&NSArray> )
where Self: Sized + Message,

source§

unsafe fn accessibilityVisibleCharacterRange(&self) -> NSRange
where Self: Sized + Message,

source§

unsafe fn setAccessibilityVisibleCharacterRange( &self, accessibility_visible_character_range: NSRange )
where Self: Sized + Message,

source§

unsafe fn accessibilityNumberOfCharacters(&self) -> NSInteger
where Self: Sized + Message,

source§

unsafe fn setAccessibilityNumberOfCharacters( &self, accessibility_number_of_characters: NSInteger )
where Self: Sized + Message,

source§

unsafe fn accessibilitySelectedText(&self) -> Option<Id<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelectedText( &self, accessibility_selected_text: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilitySelectedTextRange(&self) -> NSRange
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelectedTextRange( &self, accessibility_selected_text_range: NSRange )
where Self: Sized + Message,

source§

unsafe fn accessibilitySelectedTextRanges(&self) -> Option<Id<NSArray<NSValue>>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilitySelectedTextRanges( &self, accessibility_selected_text_ranges: Option<&NSArray<NSValue>> )
where Self: Sized + Message,

source§

unsafe fn accessibilityAttributedStringForRange( &self, range: NSRange ) -> Option<Id<NSAttributedString>>
where Self: Sized + Message,

source§

unsafe fn accessibilityRangeForLine(&self, line: NSInteger) -> NSRange
where Self: Sized + Message,

source§

unsafe fn accessibilityStringForRange( &self, range: NSRange ) -> Option<Id<NSString>>
where Self: Sized + Message,

source§

unsafe fn accessibilityRangeForPosition(&self, point: NSPoint) -> NSRange
where Self: Sized + Message,

source§

unsafe fn accessibilityRangeForIndex(&self, index: NSInteger) -> NSRange
where Self: Sized + Message,

source§

unsafe fn accessibilityFrameForRange(&self, range: NSRange) -> NSRect
where Self: Sized + Message,

source§

unsafe fn accessibilityRTFForRange(&self, range: NSRange) -> Option<Id<NSData>>
where Self: Sized + Message,

source§

unsafe fn accessibilityStyleRangeForIndex(&self, index: NSInteger) -> NSRange
where Self: Sized + Message,

source§

unsafe fn accessibilityLineForIndex(&self, index: NSInteger) -> NSInteger
where Self: Sized + Message,

source§

unsafe fn accessibilityToolbarButton(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityToolbarButton( &self, accessibility_toolbar_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityModal(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityModal(&self, accessibility_modal: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityProxy(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityProxy(&self, accessibility_proxy: Option<&AnyObject>)
where Self: Sized + Message,

source§

unsafe fn isAccessibilityMain(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMain(&self, accessibility_main: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityFullScreenButton(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityFullScreenButton( &self, accessibility_full_screen_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityGrowArea(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityGrowArea( &self, accessibility_grow_area: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityDocument(&self) -> Option<Id<NSString>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityDocument( &self, accessibility_document: Option<&NSString> )
where Self: Sized + Message,

source§

unsafe fn accessibilityDefaultButton(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityDefaultButton( &self, accessibility_default_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityCloseButton(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityCloseButton( &self, accessibility_close_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityZoomButton(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityZoomButton( &self, accessibility_zoom_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn accessibilityMinimizeButton(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMinimizeButton( &self, accessibility_minimize_button: Option<&AnyObject> )
where Self: Sized + Message,

source§

unsafe fn isAccessibilityMinimized(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn setAccessibilityMinimized(&self, accessibility_minimized: bool)
where Self: Sized + Message,

source§

unsafe fn accessibilityCustomActions( &self ) -> Option<Id<NSArray<NSAccessibilityCustomAction>>>
where Self: Sized + Message,

Available on crate feature NSAccessibilityCustomAction only.
source§

unsafe fn setAccessibilityCustomActions( &self, accessibility_custom_actions: Option<&NSArray<NSAccessibilityCustomAction>> )
where Self: Sized + Message,

Available on crate feature NSAccessibilityCustomAction only.
source§

unsafe fn accessibilityPerformCancel(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformConfirm(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformDecrement(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformDelete(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformIncrement(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformPick(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformPress(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformRaise(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformShowAlternateUI(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformShowDefaultUI(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityPerformShowMenu(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn isAccessibilitySelectorAllowed(&self, selector: Sel) -> bool
where Self: Sized + Message,

source§

impl NSAccessibilityElementProtocol for NSFontPanel

Available on crate feature NSAccessibilityProtocols only.
source§

unsafe fn accessibilityFrame(&self) -> NSRect
where Self: Sized + Message,

source§

unsafe fn accessibilityParent(&self) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn isAccessibilityFocused(&self) -> bool
where Self: Sized + Message,

source§

unsafe fn accessibilityIdentifier(&self) -> Id<NSString>
where Self: Sized + Message,

source§

impl NSAnimatablePropertyContainer for NSFontPanel

Available on crate feature NSAnimation only.
source§

unsafe fn animator(&self) -> Id<Self>
where Self: Sized + Message,

source§

unsafe fn animations( &self ) -> Id<NSDictionary<NSAnimatablePropertyKey, AnyObject>>
where Self: Sized + Message,

source§

unsafe fn setAnimations( &self, animations: &NSDictionary<NSAnimatablePropertyKey, AnyObject> )
where Self: Sized + Message,

source§

unsafe fn animationForKey( &self, key: &NSAnimatablePropertyKey ) -> Option<Id<AnyObject>>
where Self: Sized + Message,

source§

unsafe fn defaultAnimationForKey( key: &NSAnimatablePropertyKey ) -> Option<Id<AnyObject>>
where Self: Sized + ClassType,

source§

impl NSAppearanceCustomization for NSFontPanel

Available on crate feature NSAppearance only.
source§

unsafe fn appearance(&self) -> Option<Id<NSAppearance>>
where Self: Sized + Message,

source§

unsafe fn setAppearance(&self, appearance: Option<&NSAppearance>)
where Self: Sized + Message,

source§

unsafe fn effectiveAppearance(&self) -> Id<NSAppearance>
where Self: Sized + Message,

source§

impl NSCoding for NSFontPanel

source§

unsafe fn encodeWithCoder(&self, coder: &NSCoder)
where Self: Sized + Message,

Available on crate feature NSCoder only.
source§

unsafe fn initWithCoder( this: Allocated<Self>, coder: &NSCoder ) -> Option<Id<Self>>
where Self: Sized + Message,

Available on crate feature NSCoder only.
source§

impl NSMenuItemValidation for NSFontPanel

Available on crate feature NSMenu only.
source§

unsafe fn validateMenuItem(&self, menu_item: &NSMenuItem) -> bool
where Self: Sized + Message,

Available on crate feature NSMenuItem only.
source§

impl NSObjectProtocol for NSFontPanel

source§

fn isEqual(&self, other: &AnyObject) -> bool
where Self: Sized + Message,

Check whether the object is equal to an arbitrary other object. Read more
source§

fn hash(&self) -> usize
where Self: Sized + Message,

An integer that can be used as a table address in a hash table structure. Read more
source§

fn isKindOfClass(&self, cls: &AnyClass) -> bool
where Self: Sized + Message,

Check if the object is an instance of the class, or one of its subclasses. Read more
source§

fn is_kind_of<T>(&self) -> bool
where T: ClassType, Self: Sized + Message,

Check if the object is an instance of the class type, or one of its subclasses. Read more
source§

fn isMemberOfClass(&self, cls: &AnyClass) -> bool
where Self: Sized + Message,

Check if the object is an instance of a specific class, without checking subclasses. Read more
source§

fn respondsToSelector(&self, aSelector: Sel) -> bool
where Self: Sized + Message,

Check whether the object implements or inherits a method with the given selector. Read more
source§

fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
where Self: Sized + Message,

Check whether the object conforms to a given protocol. Read more
source§

fn description(&self) -> Id<NSObject>
where Self: Sized + Message,

A textual representation of the object. Read more
source§

fn debugDescription(&self) -> Id<NSObject>
where Self: Sized + Message,

A textual representation of the object to use when debugging. Read more
source§

fn isProxy(&self) -> bool
where Self: Sized + Message,

Check whether the receiver is a subclass of the NSProxy root class instead of the usual NSObject. Read more
source§

fn retainCount(&self) -> usize
where Self: Sized + Message,

The reference count of the object. Read more
source§

impl NSUserInterfaceItemIdentification for NSFontPanel

Available on crate feature NSUserInterfaceItemIdentification only.
source§

unsafe fn identifier(&self) -> Option<Id<NSUserInterfaceItemIdentifier>>
where Self: Sized + Message,

source§

unsafe fn setIdentifier( &self, identifier: Option<&NSUserInterfaceItemIdentifier> )
where Self: Sized + Message,

source§

impl NSUserInterfaceValidations for NSFontPanel

Available on crate feature NSUserInterfaceValidation only.
source§

impl PartialEq for NSFontPanel

source§

fn eq(&self, other: &NSFontPanel) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl RefEncode for NSFontPanel

source§

const ENCODING_REF: Encoding = <NSPanel as ::objc2::RefEncode>::ENCODING_REF

The Objective-C type-encoding for a reference of this type. Read more
source§

impl Eq for NSFontPanel

source§

impl Message for NSFontPanel

source§

impl StructuralPartialEq for NSFontPanel

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CounterpartOrSelf for T
where T: ClassType + ?Sized, <T as ClassType>::Mutability: MutabilityCounterpartOrSelf<T>,

§

type Immutable = <<T as ClassType>::Mutability as MutabilityCounterpartOrSelf<T>>::Immutable

The immutable counterpart of the type, or Self if the type has no immutable counterpart. Read more
§

type Mutable = <<T as ClassType>::Mutability as MutabilityCounterpartOrSelf<T>>::Mutable

The mutable counterpart of the type, or Self if the type has no mutable counterpart. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> AutoreleaseSafe for T
where T: ?Sized,

source§

impl<T> IsIdCloneable for T
where T: ClassType + ?Sized, <T as ClassType>::Mutability: MutabilityIsIdCloneable,

source§

impl<T> IsMainThreadOnly for T
where T: ClassType + ?Sized, <T as ClassType>::Mutability: MutabilityIsMainThreadOnly,

source§

impl<T> IsRetainable for T
where T: ClassType + ?Sized, <T as ClassType>::Mutability: MutabilityIsRetainable,