Struct objc2_app_kit::NSPopover
source · #[repr(C)]pub struct NSPopover { /* private fields */ }
Available on crate features
NSPopover
and NSResponder
only.Implementations§
source§impl NSPopover
impl NSPopover
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>
pub unsafe fn initWithCoder( this: Allocated<Self>, coder: &NSCoder ) -> Option<Retained<Self>>
pub unsafe fn delegate( &self ) -> Option<Retained<ProtocolObject<dyn NSPopoverDelegate>>>
pub unsafe fn setDelegate( &self, delegate: Option<&ProtocolObject<dyn NSPopoverDelegate>> )
pub unsafe fn appearance(&self) -> Option<Retained<NSAppearance>>
Available on crate feature
NSAppearance
only.pub unsafe fn setAppearance(&self, appearance: Option<&NSAppearance>)
Available on crate feature
NSAppearance
only.pub unsafe fn effectiveAppearance(&self) -> Retained<NSAppearance>
Available on crate feature
NSAppearance
only.pub unsafe fn behavior(&self) -> NSPopoverBehavior
pub unsafe fn setBehavior(&self, behavior: NSPopoverBehavior)
pub unsafe fn animates(&self) -> bool
pub unsafe fn setAnimates(&self, animates: bool)
pub unsafe fn contentViewController(&self) -> Option<Retained<NSViewController>>
Available on crate feature
NSViewController
only.pub unsafe fn setContentViewController( &self, content_view_controller: Option<&NSViewController> )
Available on crate feature
NSViewController
only.pub unsafe fn contentSize(&self) -> NSSize
pub unsafe fn setContentSize(&self, content_size: NSSize)
pub unsafe fn isShown(&self) -> bool
pub unsafe fn isDetached(&self) -> bool
pub unsafe fn positioningRect(&self) -> NSRect
pub unsafe fn setPositioningRect(&self, positioning_rect: NSRect)
pub unsafe fn hasFullSizeContent(&self) -> bool
pub unsafe fn setHasFullSizeContent(&self, has_full_size_content: bool)
pub unsafe fn showRelativeToRect_ofView_preferredEdge( &self, positioning_rect: NSRect, positioning_view: &NSView, preferred_edge: NSRectEdge )
Available on crate feature
NSView
only.pub unsafe fn showRelativeToToolbarItem(&self, toolbar_item: &NSToolbarItem)
Available on crate feature
NSToolbarItem
only.pub unsafe fn performClose(&self, sender: Option<&AnyObject>)
pub unsafe fn close(&self)
Methods from Deref<Target = NSResponder>§
pub unsafe fn interfaceStyle(&self) -> NSInterfaceStyle
👎Deprecated
Available on crate feature
NSInterfaceStyle
only.pub unsafe fn setInterfaceStyle(&self, interface_style: NSInterfaceStyle)
👎Deprecated
Available on crate feature
NSInterfaceStyle
only.pub unsafe fn nextResponder(&self) -> Option<Retained<NSResponder>>
pub unsafe fn setNextResponder(&self, next_responder: Option<&NSResponder>)
pub unsafe fn tryToPerform_with( &self, action: Sel, object: Option<&AnyObject> ) -> bool
pub unsafe fn performKeyEquivalent(&self, event: &NSEvent) -> bool
Available on crate feature
NSEvent
only.pub unsafe fn validRequestorForSendType_returnType( &self, send_type: Option<&NSPasteboardType>, return_type: Option<&NSPasteboardType> ) -> Option<Retained<AnyObject>>
Available on crate feature
NSPasteboard
only.pub unsafe fn mouseDown(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn rightMouseDown(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn otherMouseDown(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn mouseUp(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn rightMouseUp(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn otherMouseUp(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn mouseMoved(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn mouseDragged(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn scrollWheel(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn rightMouseDragged(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn otherMouseDragged(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn mouseEntered(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn mouseExited(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn keyDown(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn keyUp(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn flagsChanged(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn tabletPoint(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn tabletProximity(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn cursorUpdate(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn magnifyWithEvent(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn rotateWithEvent(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn swipeWithEvent(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn beginGestureWithEvent(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn endGestureWithEvent(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn smartMagnifyWithEvent(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn changeModeWithEvent(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn touchesBeganWithEvent(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn touchesMovedWithEvent(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn touchesEndedWithEvent(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn touchesCancelledWithEvent(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn quickLookWithEvent(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn pressureChangeWithEvent(&self, event: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn noResponderFor(&self, event_selector: Sel)
pub unsafe fn acceptsFirstResponder(&self) -> bool
pub unsafe fn becomeFirstResponder(&self) -> bool
pub unsafe fn resignFirstResponder(&self) -> bool
pub unsafe fn interpretKeyEvents(&self, event_array: &NSArray<NSEvent>)
Available on crate feature
NSEvent
only.pub unsafe fn flushBufferedKeyEvents(&self)
Available on crate feature
NSMenu
only.pub unsafe fn setMenu(&self, menu: Option<&NSMenu>)
Available on crate feature
NSMenu
only.pub unsafe fn showContextHelp(&self, sender: Option<&AnyObject>)
pub unsafe fn helpRequested(&self, event_ptr: &NSEvent)
Available on crate feature
NSEvent
only.pub unsafe fn shouldBeTreatedAsInkEvent(&self, event: &NSEvent) -> bool
Available on crate feature
NSEvent
only.pub unsafe fn wantsScrollEventsForSwipeTrackingOnAxis( &self, axis: NSEventGestureAxis ) -> bool
Available on crate feature
NSEvent
only.pub unsafe fn wantsForwardedScrollEventsForAxis( &self, axis: NSEventGestureAxis ) -> bool
Available on crate feature
NSEvent
only.pub unsafe fn supplementalTargetForAction_sender( &self, action: Sel, sender: Option<&AnyObject> ) -> Option<Retained<AnyObject>>
pub unsafe fn undoManager(&self) -> Option<Retained<NSUndoManager>>
pub unsafe fn validateProposedFirstResponder_forEvent( &self, responder: &NSResponder, event: Option<&NSEvent> ) -> bool
Available on crate feature
NSEvent
only.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 )
Available on crate feature
NSWindow
only.pub unsafe fn presentError(&self, error: &NSError) -> bool
pub unsafe fn willPresentError(&self, error: &NSError) -> Retained<NSError>
pub unsafe fn performTextFinderAction(&self, sender: Option<&AnyObject>)
pub unsafe fn newWindowForTab(&self, sender: Option<&AnyObject>)
pub unsafe fn performMnemonic(&self, string: &NSString) -> bool
👎Deprecated: This has always returned NO and had no effect on macOS
pub unsafe fn touchBar(&self) -> Option<Retained<NSTouchBar>>
Available on crate feature
NSTouchBar
only.pub unsafe fn setTouchBar(&self, touch_bar: Option<&NSTouchBar>)
Available on crate feature
NSTouchBar
only.pub unsafe fn makeTouchBar(&self) -> Option<Retained<NSTouchBar>>
Available on crate feature
NSTouchBar
only.pub unsafe fn userActivity(&self) -> Option<Retained<NSUserActivity>>
Available on crate feature
NSUserActivity
only.pub unsafe fn setUserActivity(&self, user_activity: Option<&NSUserActivity>)
Available on crate feature
NSUserActivity
only.pub unsafe fn updateUserActivityState(&self, user_activity: &NSUserActivity)
Available on crate feature
NSUserActivity
only.pub unsafe fn encodeRestorableStateWithCoder(&self, coder: &NSCoder)
Available on crate feature
NSWindowRestoration
only.pub unsafe fn encodeRestorableStateWithCoder_backgroundQueue( &self, coder: &NSCoder, queue: &NSOperationQueue )
Available on crate feature
NSWindowRestoration
only.pub unsafe fn restoreStateWithCoder(&self, coder: &NSCoder)
Available on crate feature
NSWindowRestoration
only.pub unsafe fn invalidateRestorableState(&self)
Available on crate feature
NSWindowRestoration
only.Methods from Deref<Target = NSObject>§
sourcepub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
pub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
Handle messages the object doesn’t recognize.
See Apple’s documentation for details.
Methods from Deref<Target = AnyObject>§
sourcepub fn class(&self) -> &'static AnyClass
Available on crate feature NSAccessibilityConstants
only.
pub fn class(&self) -> &'static AnyClass
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());
sourcepub unsafe fn get_ivar<T>(&self, name: &str) -> &Twhere
T: Encode,
👎Deprecated: this is difficult to use correctly, use Ivar::load
instead.Available on crate feature NSAccessibilityConstants
only.
pub unsafe fn get_ivar<T>(&self, name: &str) -> &Twhere
T: Encode,
Ivar::load
instead.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.
sourcepub unsafe fn get_mut_ivar<T>(&mut self, name: &str) -> &mut Twhere
T: Encode,
👎Deprecated: this is difficult to use correctly, use Ivar::load_mut
instead.Available on crate feature NSAccessibilityConstants
only.
pub unsafe fn get_mut_ivar<T>(&mut self, name: &str) -> &mut Twhere
T: Encode,
Ivar::load_mut
instead.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<NSResponder> for NSPopover
impl AsMut<NSResponder> for NSPopover
source§fn as_mut(&mut self) -> &mut NSResponder
fn as_mut(&mut self) -> &mut NSResponder
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<NSResponder> for NSPopover
impl AsRef<NSResponder> for NSPopover
source§fn as_ref(&self) -> &NSResponder
fn as_ref(&self) -> &NSResponder
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<NSResponder> for NSPopover
impl Borrow<NSResponder> for NSPopover
source§fn borrow(&self) -> &NSResponder
fn borrow(&self) -> &NSResponder
Immutably borrows from an owned value. Read more
source§impl BorrowMut<AnyObject> for NSPopover
impl BorrowMut<AnyObject> for NSPopover
source§fn borrow_mut(&mut self) -> &mut AnyObject
fn borrow_mut(&mut self) -> &mut AnyObject
Mutably borrows from an owned value. Read more
source§impl BorrowMut<NSObject> for NSPopover
impl BorrowMut<NSObject> for NSPopover
source§fn borrow_mut(&mut self) -> &mut NSObject
fn borrow_mut(&mut self) -> &mut NSObject
Mutably borrows from an owned value. Read more
source§impl BorrowMut<NSResponder> for NSPopover
impl BorrowMut<NSResponder> for NSPopover
source§fn borrow_mut(&mut self) -> &mut NSResponder
fn borrow_mut(&mut self) -> &mut NSResponder
Mutably borrows from an owned value. Read more
source§impl ClassType for NSPopover
impl ClassType for NSPopover
§type Super = NSResponder
type Super = NSResponder
The superclass of this class. Read more
§type Mutability = MainThreadOnly
type Mutability = MainThreadOnly
Whether the type is mutable or immutable. Read more
source§const NAME: &'static str = "NSPopover"
const NAME: &'static str = "NSPopover"
The name of the Objective-C class that this type represents. Read more
source§fn class() -> &'static AnyClass
fn class() -> &'static AnyClass
Get a reference to the Objective-C class that this type represents. Read more
source§fn as_super_mut(&mut self) -> &mut Self::Super
fn as_super_mut(&mut self) -> &mut Self::Super
Get a mutable reference to the superclass.
source§impl NSAccessibility for NSPopover
Available on crate feature NSAccessibilityProtocols
only.
impl NSAccessibility for NSPopover
Available on crate feature
NSAccessibilityProtocols
only.unsafe fn isAccessibilityElement(&self) -> bool
unsafe fn setAccessibilityElement(&self, accessibility_element: bool)
unsafe fn accessibilityFrame(&self) -> NSRect
unsafe fn setAccessibilityFrame(&self, accessibility_frame: NSRect)
unsafe fn isAccessibilityFocused(&self) -> bool
unsafe fn setAccessibilityFocused(&self, accessibility_focused: bool)
unsafe fn accessibilityActivationPoint(&self) -> NSPoint
unsafe fn setAccessibilityActivationPoint( &self, accessibility_activation_point: NSPoint )
unsafe fn accessibilityTopLevelUIElement(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityTopLevelUIElement( &self, accessibility_top_level_ui_element: Option<&AnyObject> )
unsafe fn accessibilityURL(&self) -> Option<Retained<NSURL>>
unsafe fn setAccessibilityURL(&self, accessibility_url: Option<&NSURL>)
unsafe fn accessibilityValue(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityValue(&self, accessibility_value: Option<&AnyObject>)
unsafe fn accessibilityValueDescription(&self) -> Option<Retained<NSString>>
unsafe fn setAccessibilityValueDescription( &self, accessibility_value_description: Option<&NSString> )
unsafe fn accessibilityVisibleChildren(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityVisibleChildren( &self, accessibility_visible_children: Option<&NSArray> )
source§unsafe fn accessibilitySubrole(
&self
) -> Option<Retained<NSAccessibilitySubrole>>
unsafe fn accessibilitySubrole( &self ) -> Option<Retained<NSAccessibilitySubrole>>
Available on crate feature
NSAccessibilityConstants
only.source§unsafe fn setAccessibilitySubrole(
&self,
accessibility_subrole: Option<&NSAccessibilitySubrole>
)
unsafe fn setAccessibilitySubrole( &self, accessibility_subrole: Option<&NSAccessibilitySubrole> )
Available on crate feature
NSAccessibilityConstants
only.unsafe fn accessibilityTitle(&self) -> Option<Retained<NSString>>
unsafe fn setAccessibilityTitle(&self, accessibility_title: Option<&NSString>)
unsafe fn accessibilityTitleUIElement(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityTitleUIElement( &self, accessibility_title_ui_element: Option<&AnyObject> )
unsafe fn accessibilityNextContents(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityNextContents( &self, accessibility_next_contents: Option<&NSArray> )
source§unsafe fn accessibilityOrientation(&self) -> NSAccessibilityOrientation
unsafe fn accessibilityOrientation(&self) -> NSAccessibilityOrientation
Available on crate feature
NSAccessibilityConstants
only.source§unsafe fn setAccessibilityOrientation(
&self,
accessibility_orientation: NSAccessibilityOrientation
)
unsafe fn setAccessibilityOrientation( &self, accessibility_orientation: NSAccessibilityOrientation )
Available on crate feature
NSAccessibilityConstants
only.unsafe fn accessibilityOverflowButton(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityOverflowButton( &self, accessibility_overflow_button: Option<&AnyObject> )
unsafe fn accessibilityParent(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityParent( &self, accessibility_parent: Option<&AnyObject> )
unsafe fn accessibilityPlaceholderValue(&self) -> Option<Retained<NSString>>
unsafe fn setAccessibilityPlaceholderValue( &self, accessibility_placeholder_value: Option<&NSString> )
unsafe fn accessibilityPreviousContents(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityPreviousContents( &self, accessibility_previous_contents: Option<&NSArray> )
source§unsafe fn accessibilityRole(&self) -> Option<Retained<NSAccessibilityRole>>
unsafe fn accessibilityRole(&self) -> Option<Retained<NSAccessibilityRole>>
Available on crate feature
NSAccessibilityConstants
only.source§unsafe fn setAccessibilityRole(
&self,
accessibility_role: Option<&NSAccessibilityRole>
)
unsafe fn setAccessibilityRole( &self, accessibility_role: Option<&NSAccessibilityRole> )
Available on crate feature
NSAccessibilityConstants
only.unsafe fn accessibilityRoleDescription(&self) -> Option<Retained<NSString>>
unsafe fn setAccessibilityRoleDescription( &self, accessibility_role_description: Option<&NSString> )
unsafe fn accessibilitySearchButton(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilitySearchButton( &self, accessibility_search_button: Option<&AnyObject> )
unsafe fn accessibilitySearchMenu(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilitySearchMenu( &self, accessibility_search_menu: Option<&AnyObject> )
unsafe fn isAccessibilitySelected(&self) -> bool
unsafe fn setAccessibilitySelected(&self, accessibility_selected: bool)
unsafe fn accessibilitySelectedChildren(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilitySelectedChildren( &self, accessibility_selected_children: Option<&NSArray> )
unsafe fn accessibilityServesAsTitleForUIElements( &self ) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityServesAsTitleForUIElements( &self, accessibility_serves_as_title_for_ui_elements: Option<&NSArray> )
unsafe fn accessibilityShownMenu(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityShownMenu( &self, accessibility_shown_menu: Option<&AnyObject> )
unsafe fn accessibilityMinValue(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityMinValue( &self, accessibility_min_value: Option<&AnyObject> )
unsafe fn accessibilityMaxValue(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityMaxValue( &self, accessibility_max_value: Option<&AnyObject> )
unsafe fn accessibilityLinkedUIElements(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityLinkedUIElements( &self, accessibility_linked_ui_elements: Option<&NSArray> )
unsafe fn accessibilityWindow(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityWindow( &self, accessibility_window: Option<&AnyObject> )
unsafe fn accessibilityIdentifier(&self) -> Option<Retained<NSString>>
unsafe fn setAccessibilityIdentifier( &self, accessibility_identifier: Option<&NSString> )
unsafe fn accessibilityHelp(&self) -> Option<Retained<NSString>>
unsafe fn setAccessibilityHelp(&self, accessibility_help: Option<&NSString>)
unsafe fn accessibilityFilename(&self) -> Option<Retained<NSString>>
unsafe fn setAccessibilityFilename( &self, accessibility_filename: Option<&NSString> )
unsafe fn isAccessibilityExpanded(&self) -> bool
unsafe fn setAccessibilityExpanded(&self, accessibility_expanded: bool)
unsafe fn isAccessibilityEdited(&self) -> bool
unsafe fn setAccessibilityEdited(&self, accessibility_edited: bool)
unsafe fn isAccessibilityEnabled(&self) -> bool
unsafe fn setAccessibilityEnabled(&self, accessibility_enabled: bool)
unsafe fn accessibilityChildren(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityChildren( &self, accessibility_children: Option<&NSArray> )
unsafe fn accessibilityClearButton(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityClearButton( &self, accessibility_clear_button: Option<&AnyObject> )
unsafe fn accessibilityCancelButton(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityCancelButton( &self, accessibility_cancel_button: Option<&AnyObject> )
unsafe fn isAccessibilityProtectedContent(&self) -> bool
unsafe fn setAccessibilityProtectedContent( &self, accessibility_protected_content: bool )
unsafe fn accessibilityContents(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityContents( &self, accessibility_contents: Option<&NSArray> )
unsafe fn accessibilityLabel(&self) -> Option<Retained<NSString>>
unsafe fn setAccessibilityLabel(&self, accessibility_label: Option<&NSString>)
unsafe fn isAccessibilityAlternateUIVisible(&self) -> bool
unsafe fn setAccessibilityAlternateUIVisible( &self, accessibility_alternate_ui_visible: bool )
unsafe fn isAccessibilityRequired(&self) -> bool
unsafe fn setAccessibilityRequired(&self, accessibility_required: bool)
source§unsafe fn accessibilityCustomRotors(
&self
) -> Retained<NSArray<NSAccessibilityCustomRotor>>
unsafe fn accessibilityCustomRotors( &self ) -> Retained<NSArray<NSAccessibilityCustomRotor>>
Available on crate feature
NSAccessibilityCustomRotor
only.source§unsafe fn setAccessibilityCustomRotors(
&self,
accessibility_custom_rotors: &NSArray<NSAccessibilityCustomRotor>
)
unsafe fn setAccessibilityCustomRotors( &self, accessibility_custom_rotors: &NSArray<NSAccessibilityCustomRotor> )
Available on crate feature
NSAccessibilityCustomRotor
only.unsafe fn accessibilityUserInputLabels( &self ) -> Option<Retained<NSArray<NSString>>>
unsafe fn setAccessibilityUserInputLabels( &self, accessibility_user_input_labels: Option<&NSArray<NSString>> )
unsafe fn accessibilityAttributedUserInputLabels( &self ) -> Option<Retained<NSArray<NSAttributedString>>>
unsafe fn setAccessibilityAttributedUserInputLabels( &self, accessibility_attributed_user_input_labels: Option<&NSArray<NSAttributedString>> )
unsafe fn accessibilityApplicationFocusedUIElement( &self ) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityApplicationFocusedUIElement( &self, accessibility_application_focused_ui_element: Option<&AnyObject> )
unsafe fn accessibilityMainWindow(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityMainWindow( &self, accessibility_main_window: Option<&AnyObject> )
unsafe fn isAccessibilityHidden(&self) -> bool
unsafe fn setAccessibilityHidden(&self, accessibility_hidden: bool)
unsafe fn isAccessibilityFrontmost(&self) -> bool
unsafe fn setAccessibilityFrontmost(&self, accessibility_frontmost: bool)
unsafe fn accessibilityFocusedWindow(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityFocusedWindow( &self, accessibility_focused_window: Option<&AnyObject> )
unsafe fn accessibilityWindows(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityWindows( &self, accessibility_windows: Option<&NSArray> )
unsafe fn accessibilityExtrasMenuBar(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityExtrasMenuBar( &self, accessibility_extras_menu_bar: Option<&AnyObject> )
unsafe fn accessibilityMenuBar(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityMenuBar( &self, accessibility_menu_bar: Option<&AnyObject> )
unsafe fn accessibilityColumnTitles(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityColumnTitles( &self, accessibility_column_titles: Option<&NSArray> )
unsafe fn isAccessibilityOrderedByRow(&self) -> bool
unsafe fn setAccessibilityOrderedByRow( &self, accessibility_ordered_by_row: bool )
source§unsafe fn accessibilityHorizontalUnits(&self) -> NSAccessibilityUnits
unsafe fn accessibilityHorizontalUnits(&self) -> NSAccessibilityUnits
Available on crate feature
NSAccessibilityConstants
only.source§unsafe fn setAccessibilityHorizontalUnits(
&self,
accessibility_horizontal_units: NSAccessibilityUnits
)
unsafe fn setAccessibilityHorizontalUnits( &self, accessibility_horizontal_units: NSAccessibilityUnits )
Available on crate feature
NSAccessibilityConstants
only.source§unsafe fn accessibilityVerticalUnits(&self) -> NSAccessibilityUnits
unsafe fn accessibilityVerticalUnits(&self) -> NSAccessibilityUnits
Available on crate feature
NSAccessibilityConstants
only.source§unsafe fn setAccessibilityVerticalUnits(
&self,
accessibility_vertical_units: NSAccessibilityUnits
)
unsafe fn setAccessibilityVerticalUnits( &self, accessibility_vertical_units: NSAccessibilityUnits )
Available on crate feature
NSAccessibilityConstants
only.unsafe fn accessibilityHorizontalUnitDescription( &self ) -> Option<Retained<NSString>>
unsafe fn setAccessibilityHorizontalUnitDescription( &self, accessibility_horizontal_unit_description: Option<&NSString> )
unsafe fn accessibilityVerticalUnitDescription( &self ) -> Option<Retained<NSString>>
unsafe fn setAccessibilityVerticalUnitDescription( &self, accessibility_vertical_unit_description: Option<&NSString> )
unsafe fn accessibilityLayoutPointForScreenPoint( &self, point: NSPoint ) -> NSPoint
unsafe fn accessibilityLayoutSizeForScreenSize(&self, size: NSSize) -> NSSize
unsafe fn accessibilityScreenPointForLayoutPoint( &self, point: NSPoint ) -> NSPoint
unsafe fn accessibilityScreenSizeForLayoutSize(&self, size: NSSize) -> NSSize
unsafe fn accessibilityHandles(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityHandles( &self, accessibility_handles: Option<&NSArray> )
unsafe fn accessibilityWarningValue(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityWarningValue( &self, accessibility_warning_value: Option<&AnyObject> )
unsafe fn accessibilityCriticalValue(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityCriticalValue( &self, accessibility_critical_value: Option<&AnyObject> )
unsafe fn isAccessibilityDisclosed(&self) -> bool
unsafe fn setAccessibilityDisclosed(&self, accessibility_disclosed: bool)
unsafe fn accessibilityDisclosedByRow(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityDisclosedByRow( &self, accessibility_disclosed_by_row: Option<&AnyObject> )
unsafe fn accessibilityDisclosedRows(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityDisclosedRows( &self, accessibility_disclosed_rows: Option<&AnyObject> )
unsafe fn accessibilityDisclosureLevel(&self) -> NSInteger
unsafe fn setAccessibilityDisclosureLevel( &self, accessibility_disclosure_level: NSInteger )
unsafe fn accessibilityMarkerUIElements(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityMarkerUIElements( &self, accessibility_marker_ui_elements: Option<&NSArray> )
unsafe fn accessibilityMarkerValues(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityMarkerValues( &self, accessibility_marker_values: Option<&AnyObject> )
unsafe fn accessibilityMarkerGroupUIElement( &self ) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityMarkerGroupUIElement( &self, accessibility_marker_group_ui_element: Option<&AnyObject> )
source§unsafe fn accessibilityUnits(&self) -> NSAccessibilityUnits
unsafe fn accessibilityUnits(&self) -> NSAccessibilityUnits
Available on crate feature
NSAccessibilityConstants
only.source§unsafe fn setAccessibilityUnits(
&self,
accessibility_units: NSAccessibilityUnits
)
unsafe fn setAccessibilityUnits( &self, accessibility_units: NSAccessibilityUnits )
Available on crate feature
NSAccessibilityConstants
only.unsafe fn accessibilityUnitDescription(&self) -> Option<Retained<NSString>>
unsafe fn setAccessibilityUnitDescription( &self, accessibility_unit_description: Option<&NSString> )
source§unsafe fn accessibilityRulerMarkerType(&self) -> NSAccessibilityRulerMarkerType
unsafe fn accessibilityRulerMarkerType(&self) -> NSAccessibilityRulerMarkerType
Available on crate feature
NSAccessibilityConstants
only.source§unsafe fn setAccessibilityRulerMarkerType(
&self,
accessibility_ruler_marker_type: NSAccessibilityRulerMarkerType
)
unsafe fn setAccessibilityRulerMarkerType( &self, accessibility_ruler_marker_type: NSAccessibilityRulerMarkerType )
Available on crate feature
NSAccessibilityConstants
only.unsafe fn accessibilityMarkerTypeDescription( &self ) -> Option<Retained<NSString>>
unsafe fn setAccessibilityMarkerTypeDescription( &self, accessibility_marker_type_description: Option<&NSString> )
unsafe fn accessibilityHorizontalScrollBar(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityHorizontalScrollBar( &self, accessibility_horizontal_scroll_bar: Option<&AnyObject> )
unsafe fn accessibilityVerticalScrollBar(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityVerticalScrollBar( &self, accessibility_vertical_scroll_bar: Option<&AnyObject> )
unsafe fn accessibilityAllowedValues( &self ) -> Option<Retained<NSArray<NSNumber>>>
unsafe fn setAccessibilityAllowedValues( &self, accessibility_allowed_values: Option<&NSArray<NSNumber>> )
unsafe fn accessibilityLabelUIElements(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityLabelUIElements( &self, accessibility_label_ui_elements: Option<&NSArray> )
unsafe fn accessibilityLabelValue(&self) -> c_float
unsafe fn setAccessibilityLabelValue(&self, accessibility_label_value: c_float)
unsafe fn accessibilitySplitters(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilitySplitters( &self, accessibility_splitters: Option<&NSArray> )
unsafe fn accessibilityDecrementButton(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityDecrementButton( &self, accessibility_decrement_button: Option<&AnyObject> )
unsafe fn accessibilityIncrementButton(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityIncrementButton( &self, accessibility_increment_button: Option<&AnyObject> )
unsafe fn accessibilityTabs(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityTabs(&self, accessibility_tabs: Option<&NSArray>)
unsafe fn accessibilityHeader(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityHeader( &self, accessibility_header: Option<&AnyObject> )
unsafe fn accessibilityColumnCount(&self) -> NSInteger
unsafe fn setAccessibilityColumnCount( &self, accessibility_column_count: NSInteger )
unsafe fn accessibilityRowCount(&self) -> NSInteger
unsafe fn setAccessibilityRowCount(&self, accessibility_row_count: NSInteger)
unsafe fn accessibilityIndex(&self) -> NSInteger
unsafe fn setAccessibilityIndex(&self, accessibility_index: NSInteger)
unsafe fn accessibilityColumns(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityColumns( &self, accessibility_columns: Option<&NSArray> )
unsafe fn accessibilityRows(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityRows(&self, accessibility_rows: Option<&NSArray>)
unsafe fn accessibilityVisibleRows(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityVisibleRows( &self, accessibility_visible_rows: Option<&NSArray> )
unsafe fn accessibilitySelectedRows(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilitySelectedRows( &self, accessibility_selected_rows: Option<&NSArray> )
unsafe fn accessibilityVisibleColumns(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityVisibleColumns( &self, accessibility_visible_columns: Option<&NSArray> )
unsafe fn accessibilitySelectedColumns(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilitySelectedColumns( &self, accessibility_selected_columns: Option<&NSArray> )
source§unsafe fn accessibilitySortDirection(&self) -> NSAccessibilitySortDirection
unsafe fn accessibilitySortDirection(&self) -> NSAccessibilitySortDirection
Available on crate feature
NSAccessibilityConstants
only.source§unsafe fn setAccessibilitySortDirection(
&self,
accessibility_sort_direction: NSAccessibilitySortDirection
)
unsafe fn setAccessibilitySortDirection( &self, accessibility_sort_direction: NSAccessibilitySortDirection )
Available on crate feature
NSAccessibilityConstants
only.unsafe fn accessibilityRowHeaderUIElements(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityRowHeaderUIElements( &self, accessibility_row_header_ui_elements: Option<&NSArray> )
unsafe fn accessibilitySelectedCells(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilitySelectedCells( &self, accessibility_selected_cells: Option<&NSArray> )
unsafe fn accessibilityVisibleCells(&self) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityVisibleCells( &self, accessibility_visible_cells: Option<&NSArray> )
unsafe fn accessibilityColumnHeaderUIElements( &self ) -> Option<Retained<NSArray>>
unsafe fn setAccessibilityColumnHeaderUIElements( &self, accessibility_column_header_ui_elements: Option<&NSArray> )
unsafe fn accessibilityCellForColumn_row( &self, column: NSInteger, row: NSInteger ) -> Option<Retained<AnyObject>>
unsafe fn accessibilityRowIndexRange(&self) -> NSRange
unsafe fn setAccessibilityRowIndexRange( &self, accessibility_row_index_range: NSRange )
unsafe fn accessibilityColumnIndexRange(&self) -> NSRange
unsafe fn setAccessibilityColumnIndexRange( &self, accessibility_column_index_range: NSRange )
unsafe fn accessibilityInsertionPointLineNumber(&self) -> NSInteger
unsafe fn setAccessibilityInsertionPointLineNumber( &self, accessibility_insertion_point_line_number: NSInteger )
unsafe fn accessibilityVisibleCharacterRange(&self) -> NSRange
unsafe fn setAccessibilityVisibleCharacterRange( &self, accessibility_visible_character_range: NSRange )
unsafe fn accessibilityNumberOfCharacters(&self) -> NSInteger
unsafe fn setAccessibilityNumberOfCharacters( &self, accessibility_number_of_characters: NSInteger )
unsafe fn accessibilitySelectedText(&self) -> Option<Retained<NSString>>
unsafe fn setAccessibilitySelectedText( &self, accessibility_selected_text: Option<&NSString> )
unsafe fn accessibilitySelectedTextRange(&self) -> NSRange
unsafe fn setAccessibilitySelectedTextRange( &self, accessibility_selected_text_range: NSRange )
unsafe fn accessibilitySelectedTextRanges( &self ) -> Option<Retained<NSArray<NSValue>>>
unsafe fn setAccessibilitySelectedTextRanges( &self, accessibility_selected_text_ranges: Option<&NSArray<NSValue>> )
unsafe fn accessibilityAttributedStringForRange( &self, range: NSRange ) -> Option<Retained<NSAttributedString>>
unsafe fn accessibilityRangeForLine(&self, line: NSInteger) -> NSRange
unsafe fn accessibilityStringForRange( &self, range: NSRange ) -> Option<Retained<NSString>>
unsafe fn accessibilityRangeForPosition(&self, point: NSPoint) -> NSRange
unsafe fn accessibilityRangeForIndex(&self, index: NSInteger) -> NSRange
unsafe fn accessibilityFrameForRange(&self, range: NSRange) -> NSRect
unsafe fn accessibilityRTFForRange( &self, range: NSRange ) -> Option<Retained<NSData>>
unsafe fn accessibilityStyleRangeForIndex(&self, index: NSInteger) -> NSRange
unsafe fn accessibilityLineForIndex(&self, index: NSInteger) -> NSInteger
unsafe fn accessibilityToolbarButton(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityToolbarButton( &self, accessibility_toolbar_button: Option<&AnyObject> )
unsafe fn isAccessibilityModal(&self) -> bool
unsafe fn setAccessibilityModal(&self, accessibility_modal: bool)
unsafe fn accessibilityProxy(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityProxy(&self, accessibility_proxy: Option<&AnyObject>)
unsafe fn isAccessibilityMain(&self) -> bool
unsafe fn setAccessibilityMain(&self, accessibility_main: bool)
unsafe fn accessibilityFullScreenButton(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityFullScreenButton( &self, accessibility_full_screen_button: Option<&AnyObject> )
unsafe fn accessibilityGrowArea(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityGrowArea( &self, accessibility_grow_area: Option<&AnyObject> )
unsafe fn accessibilityDocument(&self) -> Option<Retained<NSString>>
unsafe fn setAccessibilityDocument( &self, accessibility_document: Option<&NSString> )
unsafe fn accessibilityDefaultButton(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityDefaultButton( &self, accessibility_default_button: Option<&AnyObject> )
unsafe fn accessibilityCloseButton(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityCloseButton( &self, accessibility_close_button: Option<&AnyObject> )
unsafe fn accessibilityZoomButton(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityZoomButton( &self, accessibility_zoom_button: Option<&AnyObject> )
unsafe fn accessibilityMinimizeButton(&self) -> Option<Retained<AnyObject>>
unsafe fn setAccessibilityMinimizeButton( &self, accessibility_minimize_button: Option<&AnyObject> )
unsafe fn isAccessibilityMinimized(&self) -> bool
unsafe fn setAccessibilityMinimized(&self, accessibility_minimized: bool)
source§unsafe fn accessibilityCustomActions(
&self
) -> Option<Retained<NSArray<NSAccessibilityCustomAction>>>
unsafe fn accessibilityCustomActions( &self ) -> Option<Retained<NSArray<NSAccessibilityCustomAction>>>
Available on crate feature
NSAccessibilityCustomAction
only.source§unsafe fn setAccessibilityCustomActions(
&self,
accessibility_custom_actions: Option<&NSArray<NSAccessibilityCustomAction>>
)
unsafe fn setAccessibilityCustomActions( &self, accessibility_custom_actions: Option<&NSArray<NSAccessibilityCustomAction>> )
Available on crate feature
NSAccessibilityCustomAction
only.unsafe fn accessibilityPerformCancel(&self) -> bool
unsafe fn accessibilityPerformConfirm(&self) -> bool
unsafe fn accessibilityPerformDecrement(&self) -> bool
unsafe fn accessibilityPerformDelete(&self) -> bool
unsafe fn accessibilityPerformIncrement(&self) -> bool
unsafe fn accessibilityPerformPick(&self) -> bool
unsafe fn accessibilityPerformPress(&self) -> bool
unsafe fn accessibilityPerformRaise(&self) -> bool
unsafe fn accessibilityPerformShowAlternateUI(&self) -> bool
unsafe fn accessibilityPerformShowDefaultUI(&self) -> bool
unsafe fn accessibilityPerformShowMenu(&self) -> bool
unsafe fn isAccessibilitySelectorAllowed(&self, selector: Sel) -> bool
source§impl NSAccessibilityElementProtocol for NSPopover
Available on crate feature NSAccessibilityProtocols
only.
impl NSAccessibilityElementProtocol for NSPopover
Available on crate feature
NSAccessibilityProtocols
only.unsafe fn accessibilityFrame(&self) -> NSRect
unsafe fn accessibilityParent(&self) -> Option<Retained<AnyObject>>
unsafe fn isAccessibilityFocused(&self) -> bool
unsafe fn accessibilityIdentifier(&self) -> Retained<NSString>
source§impl NSAppearanceCustomization for NSPopover
Available on crate feature NSAppearance
only.
impl NSAppearanceCustomization for NSPopover
Available on crate feature
NSAppearance
only.unsafe fn appearance(&self) -> Option<Retained<NSAppearance>>
unsafe fn setAppearance(&self, appearance: Option<&NSAppearance>)
unsafe fn effectiveAppearance(&self) -> Retained<NSAppearance>
source§impl NSObjectProtocol for NSPopover
impl NSObjectProtocol for NSPopover
source§fn isEqual(&self, other: &AnyObject) -> bool
fn isEqual(&self, other: &AnyObject) -> bool
Check whether the object is equal to an arbitrary other object. Read more
source§fn hash(&self) -> usize
fn hash(&self) -> usize
An integer that can be used as a table address in a hash table
structure. Read more
source§fn isKindOfClass(&self, cls: &AnyClass) -> bool
fn isKindOfClass(&self, cls: &AnyClass) -> bool
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
fn is_kind_of<T>(&self) -> bool
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
fn isMemberOfClass(&self, cls: &AnyClass) -> bool
Check if the object is an instance of a specific class, without
checking subclasses. Read more
source§fn respondsToSelector(&self, aSelector: Sel) -> bool
fn respondsToSelector(&self, aSelector: Sel) -> bool
Check whether the object implements or inherits a method with the
given selector. Read more
source§fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
Check whether the object conforms to a given protocol. Read more
source§fn debugDescription(&self) -> Retained<NSObject>
fn debugDescription(&self) -> Retained<NSObject>
A textual representation of the object to use when debugging. Read more
source§impl PartialEq for NSPopover
impl PartialEq for NSPopover
source§impl RefEncode for NSPopover
impl RefEncode for NSPopover
source§const ENCODING_REF: Encoding = <NSResponder as ::objc2::RefEncode>::ENCODING_REF
const ENCODING_REF: Encoding = <NSResponder as ::objc2::RefEncode>::ENCODING_REF
The Objective-C type-encoding for a reference of this type. Read more
impl Eq for NSPopover
impl Message for NSPopover
impl StructuralPartialEq for NSPopover
Auto Trait Implementations§
impl !Freeze for NSPopover
impl !RefUnwindSafe for NSPopover
impl !Send for NSPopover
impl !Sync for NSPopover
impl !Unpin for NSPopover
impl !UnwindSafe for NSPopover
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CounterpartOrSelf for T
impl<T> CounterpartOrSelf for T
§type Immutable = <<T as ClassType>::Mutability as MutabilityCounterpartOrSelf<T>>::Immutable
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
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