Struct objc2_app_kit::NSLevelIndicatorCell
source · #[repr(C)]pub struct NSLevelIndicatorCell { /* private fields */ }
Available on crate features
NSActionCell
and NSCell
and NSLevelIndicatorCell
only.Implementations§
source§impl NSLevelIndicatorCell
impl NSLevelIndicatorCell
pub unsafe fn initWithLevelIndicatorStyle( this: Allocated<Self>, level_indicator_style: NSLevelIndicatorStyle ) -> Retained<Self>
pub unsafe fn levelIndicatorStyle(&self) -> NSLevelIndicatorStyle
pub unsafe fn setLevelIndicatorStyle( &self, level_indicator_style: NSLevelIndicatorStyle )
pub unsafe fn minValue(&self) -> c_double
pub unsafe fn setMinValue(&self, min_value: c_double)
pub unsafe fn maxValue(&self) -> c_double
pub unsafe fn setMaxValue(&self, max_value: c_double)
pub unsafe fn warningValue(&self) -> c_double
pub unsafe fn setWarningValue(&self, warning_value: c_double)
pub unsafe fn criticalValue(&self) -> c_double
pub unsafe fn setCriticalValue(&self, critical_value: c_double)
pub unsafe fn tickMarkPosition(&self) -> NSTickMarkPosition
Available on crate feature
NSSliderCell
only.pub unsafe fn setTickMarkPosition(&self, tick_mark_position: NSTickMarkPosition)
Available on crate feature
NSSliderCell
only.pub unsafe fn numberOfTickMarks(&self) -> NSInteger
pub unsafe fn setNumberOfTickMarks(&self, number_of_tick_marks: NSInteger)
pub unsafe fn numberOfMajorTickMarks(&self) -> NSInteger
pub unsafe fn setNumberOfMajorTickMarks( &self, number_of_major_tick_marks: NSInteger )
pub unsafe fn rectOfTickMarkAtIndex(&self, index: NSInteger) -> NSRect
pub unsafe fn tickMarkValueAtIndex(&self, index: NSInteger) -> c_double
source§impl NSLevelIndicatorCell
impl NSLevelIndicatorCell
Methods declared on superclass NSCell
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>
pub unsafe fn initTextCell( this: Allocated<Self>, string: &NSString ) -> Retained<Self>
pub unsafe fn initImageCell( this: Allocated<Self>, image: Option<&NSImage> ) -> Retained<Self>
Available on crate feature
NSImage
only.pub unsafe fn initWithCoder( this: Allocated<Self>, coder: &NSCoder ) -> Retained<Self>
source§impl NSLevelIndicatorCell
impl NSLevelIndicatorCell
Methods declared on superclass NSObject
pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>
Methods from Deref<Target = NSActionCell>§
pub unsafe fn target(&self) -> Option<Retained<AnyObject>>
pub unsafe fn setTarget(&self, target: Option<&AnyObject>)
pub unsafe fn action(&self) -> Option<Sel>
pub unsafe fn setAction(&self, action: Option<Sel>)
pub unsafe fn tag(&self) -> NSInteger
pub unsafe fn setTag(&self, tag: NSInteger)
Methods from Deref<Target = NSCell>§
pub unsafe fn controlView(&self) -> Option<Retained<NSView>>
Available on crate features
NSResponder
and NSView
only.pub unsafe fn setControlView(&self, control_view: Option<&NSView>)
Available on crate features
NSResponder
and NSView
only.pub unsafe fn type(&self) -> NSCellType
pub unsafe fn setType(&self, type: NSCellType)
pub unsafe fn state(&self) -> NSControlStateValue
pub unsafe fn setState(&self, state: NSControlStateValue)
pub unsafe fn target(&self) -> Option<Retained<AnyObject>>
pub unsafe fn setTarget(&self, target: Option<&AnyObject>)
pub unsafe fn action(&self) -> Option<Sel>
pub unsafe fn setAction(&self, action: Option<Sel>)
pub unsafe fn tag(&self) -> NSInteger
pub unsafe fn setTag(&self, tag: NSInteger)
pub unsafe fn title(&self) -> Retained<NSString>
pub unsafe fn setTitle(&self, title: &NSString)
pub unsafe fn isOpaque(&self) -> bool
pub unsafe fn isEnabled(&self) -> bool
pub unsafe fn setEnabled(&self, enabled: bool)
pub unsafe fn sendActionOn(&self, mask: NSEventMask) -> NSInteger
Available on crate feature
NSEvent
only.pub unsafe fn isContinuous(&self) -> bool
pub unsafe fn setContinuous(&self, continuous: bool)
pub unsafe fn isEditable(&self) -> bool
pub unsafe fn setEditable(&self, editable: bool)
pub unsafe fn isSelectable(&self) -> bool
pub unsafe fn setSelectable(&self, selectable: bool)
pub unsafe fn isBordered(&self) -> bool
pub unsafe fn setBordered(&self, bordered: bool)
pub unsafe fn isBezeled(&self) -> bool
pub unsafe fn setBezeled(&self, bezeled: bool)
pub unsafe fn isScrollable(&self) -> bool
pub unsafe fn setScrollable(&self, scrollable: bool)
pub unsafe fn isHighlighted(&self) -> bool
pub unsafe fn setHighlighted(&self, highlighted: bool)
pub unsafe fn alignment(&self) -> NSTextAlignment
Available on crate feature
NSText
only.pub unsafe fn setAlignment(&self, alignment: NSTextAlignment)
Available on crate feature
NSText
only.pub unsafe fn wraps(&self) -> bool
pub unsafe fn setWraps(&self, wraps: bool)
pub unsafe fn font(&self) -> Option<Retained<NSFont>>
Available on crate feature
NSFont
only.pub unsafe fn setFont(&self, font: Option<&NSFont>)
Available on crate feature
NSFont
only.pub unsafe fn keyEquivalent(&self) -> Retained<NSString>
pub unsafe fn formatter(&self) -> Option<Retained<NSFormatter>>
pub unsafe fn setFormatter(&self, formatter: Option<&NSFormatter>)
pub unsafe fn objectValue(&self) -> Option<Retained<AnyObject>>
pub unsafe fn setObjectValue(&self, object_value: Option<&AnyObject>)
pub unsafe fn hasValidObjectValue(&self) -> bool
pub unsafe fn stringValue(&self) -> Retained<NSString>
pub unsafe fn setStringValue(&self, string_value: &NSString)
pub unsafe fn compare(&self, other_cell: &AnyObject) -> NSComparisonResult
pub unsafe fn intValue(&self) -> c_int
pub unsafe fn setIntValue(&self, int_value: c_int)
pub unsafe fn floatValue(&self) -> c_float
pub unsafe fn setFloatValue(&self, float_value: c_float)
pub unsafe fn doubleValue(&self) -> c_double
pub unsafe fn setDoubleValue(&self, double_value: c_double)
pub unsafe fn integerValue(&self) -> NSInteger
pub unsafe fn setIntegerValue(&self, integer_value: NSInteger)
pub unsafe fn takeIntValueFrom(&self, sender: Option<&AnyObject>)
pub unsafe fn takeFloatValueFrom(&self, sender: Option<&AnyObject>)
pub unsafe fn takeDoubleValueFrom(&self, sender: Option<&AnyObject>)
pub unsafe fn takeStringValueFrom(&self, sender: Option<&AnyObject>)
pub unsafe fn takeObjectValueFrom(&self, sender: Option<&AnyObject>)
pub unsafe fn takeIntegerValueFrom(&self, sender: Option<&AnyObject>)
pub unsafe fn image(&self) -> Option<Retained<NSImage>>
Available on crate feature
NSImage
only.pub unsafe fn setImage(&self, image: Option<&NSImage>)
Available on crate feature
NSImage
only.pub unsafe fn controlSize(&self) -> NSControlSize
pub unsafe fn setControlSize(&self, control_size: NSControlSize)
pub unsafe fn representedObject(&self) -> Option<Retained<AnyObject>>
pub unsafe fn setRepresentedObject( &self, represented_object: Option<&AnyObject> )
pub unsafe fn cellAttribute(&self, parameter: NSCellAttribute) -> NSInteger
pub unsafe fn setCellAttribute_to( &self, parameter: NSCellAttribute, value: NSInteger )
pub unsafe fn imageRectForBounds(&self, rect: NSRect) -> NSRect
pub unsafe fn titleRectForBounds(&self, rect: NSRect) -> NSRect
pub unsafe fn drawingRectForBounds(&self, rect: NSRect) -> NSRect
pub unsafe fn cellSize(&self) -> NSSize
pub unsafe fn cellSizeForBounds(&self, rect: NSRect) -> NSSize
pub unsafe fn highlightColorWithFrame_inView( &self, cell_frame: NSRect, control_view: &NSView ) -> Option<Retained<NSColor>>
Available on crate features
NSColor
and NSResponder
and NSView
only.pub unsafe fn calcDrawInfo(&self, rect: NSRect)
pub unsafe fn setUpFieldEditorAttributes( &self, text_obj: &NSText ) -> Retained<NSText>
Available on crate features
NSResponder
and NSText
and NSView
only.pub unsafe fn drawInteriorWithFrame_inView( &self, cell_frame: NSRect, control_view: &NSView )
Available on crate features
NSResponder
and NSView
only.pub unsafe fn drawWithFrame_inView( &self, cell_frame: NSRect, control_view: &NSView )
Available on crate features
NSResponder
and NSView
only.pub unsafe fn highlight_withFrame_inView( &self, flag: bool, cell_frame: NSRect, control_view: &NSView )
Available on crate features
NSResponder
and NSView
only.pub unsafe fn mouseDownFlags(&self) -> NSInteger
pub unsafe fn getPeriodicDelay_interval( &self, delay: NonNull<c_float>, interval: NonNull<c_float> )
pub unsafe fn startTrackingAt_inView( &self, start_point: NSPoint, control_view: &NSView ) -> bool
Available on crate features
NSResponder
and NSView
only.pub unsafe fn continueTracking_at_inView( &self, last_point: NSPoint, current_point: NSPoint, control_view: &NSView ) -> bool
Available on crate features
NSResponder
and NSView
only.pub unsafe fn stopTracking_at_inView_mouseIsUp( &self, last_point: NSPoint, stop_point: NSPoint, control_view: &NSView, flag: bool )
Available on crate features
NSResponder
and NSView
only.pub unsafe fn trackMouse_inRect_ofView_untilMouseUp( &self, event: &NSEvent, cell_frame: NSRect, control_view: &NSView, flag: bool ) -> bool
Available on crate features
NSEvent
and NSResponder
and NSView
only.pub unsafe fn editWithFrame_inView_editor_delegate_event( &self, rect: NSRect, control_view: &NSView, text_obj: &NSText, delegate: Option<&AnyObject>, event: Option<&NSEvent> )
Available on crate features
NSEvent
and NSResponder
and NSText
and NSView
only.pub unsafe fn selectWithFrame_inView_editor_delegate_start_length( &self, rect: NSRect, control_view: &NSView, text_obj: &NSText, delegate: Option<&AnyObject>, sel_start: NSInteger, sel_length: NSInteger )
Available on crate features
NSResponder
and NSText
and NSView
only.pub unsafe fn endEditing(&self, text_obj: &NSText)
Available on crate features
NSResponder
and NSText
and NSView
only.pub unsafe fn resetCursorRect_inView( &self, cell_frame: NSRect, control_view: &NSView )
Available on crate features
NSResponder
and NSView
only.Available on crate feature
NSMenu
only.pub unsafe fn setMenu(&self, menu: Option<&NSMenu>)
Available on crate feature
NSMenu
only.Available on crate features
NSEvent
and NSMenu
and NSResponder
and NSView
only.pub unsafe fn sendsActionOnEndEditing(&self) -> bool
pub unsafe fn setSendsActionOnEndEditing( &self, sends_action_on_end_editing: bool )
pub unsafe fn baseWritingDirection(&self) -> NSWritingDirection
Available on crate feature
NSText
only.pub unsafe fn setBaseWritingDirection( &self, base_writing_direction: NSWritingDirection )
Available on crate feature
NSText
only.pub unsafe fn lineBreakMode(&self) -> NSLineBreakMode
Available on crate feature
NSParagraphStyle
only.pub unsafe fn setLineBreakMode(&self, line_break_mode: NSLineBreakMode)
Available on crate feature
NSParagraphStyle
only.pub unsafe fn allowsUndo(&self) -> bool
pub unsafe fn setAllowsUndo(&self, allows_undo: bool)
pub unsafe fn truncatesLastVisibleLine(&self) -> bool
pub unsafe fn setTruncatesLastVisibleLine( &self, truncates_last_visible_line: bool )
pub unsafe fn userInterfaceLayoutDirection( &self ) -> NSUserInterfaceLayoutDirection
Available on crate feature
NSUserInterfaceLayout
only.pub unsafe fn setUserInterfaceLayoutDirection( &self, user_interface_layout_direction: NSUserInterfaceLayoutDirection )
Available on crate feature
NSUserInterfaceLayout
only.pub unsafe fn fieldEditorForView( &self, control_view: &NSView ) -> Option<Retained<NSTextView>>
Available on crate features
NSResponder
and NSText
and NSTextView
and NSView
only.pub unsafe fn usesSingleLineMode(&self) -> bool
pub unsafe fn setUsesSingleLineMode(&self, uses_single_line_mode: bool)
pub unsafe fn draggingImageComponentsWithFrame_inView( &self, frame: NSRect, view: &NSView ) -> Retained<NSArray<NSDraggingImageComponent>>
Available on crate features
NSDraggingItem
and NSResponder
and NSView
only.pub unsafe fn refusesFirstResponder(&self) -> bool
pub unsafe fn setRefusesFirstResponder(&self, refuses_first_responder: bool)
pub unsafe fn acceptsFirstResponder(&self) -> bool
pub unsafe fn showsFirstResponder(&self) -> bool
pub unsafe fn setShowsFirstResponder(&self, shows_first_responder: bool)
pub unsafe fn performClick(&self, sender: Option<&AnyObject>)
pub unsafe fn focusRingType(&self) -> NSFocusRingType
Available on crate feature
NSGraphics
only.pub unsafe fn setFocusRingType(&self, focus_ring_type: NSFocusRingType)
Available on crate feature
NSGraphics
only.pub unsafe fn drawFocusRingMaskWithFrame_inView( &self, cell_frame: NSRect, control_view: &NSView )
Available on crate features
NSResponder
and NSView
only.pub unsafe fn focusRingMaskBoundsForFrame_inView( &self, cell_frame: NSRect, control_view: &NSView ) -> NSRect
Available on crate features
NSResponder
and NSView
only.pub unsafe fn wantsNotificationForMarkedText(&self) -> bool
pub unsafe fn attributedStringValue(&self) -> Retained<NSAttributedString>
pub unsafe fn setAttributedStringValue( &self, attributed_string_value: &NSAttributedString )
pub unsafe fn allowsEditingTextAttributes(&self) -> bool
pub unsafe fn setAllowsEditingTextAttributes( &self, allows_editing_text_attributes: bool )
pub unsafe fn importsGraphics(&self) -> bool
pub unsafe fn setImportsGraphics(&self, imports_graphics: bool)
pub unsafe fn allowsMixedState(&self) -> bool
pub unsafe fn setAllowsMixedState(&self, allows_mixed_state: bool)
pub unsafe fn nextState(&self) -> NSInteger
pub unsafe fn setNextState(&self)
pub unsafe fn hitTestForEvent_inRect_ofView( &self, event: &NSEvent, cell_frame: NSRect, control_view: &NSView ) -> NSCellHitResult
Available on crate features
NSEvent
and NSResponder
and NSView
only.pub unsafe fn expansionFrameWithFrame_inView( &self, cell_frame: NSRect, view: &NSView ) -> NSRect
Available on crate features
NSResponder
and NSView
only.pub unsafe fn drawWithExpansionFrame_inView( &self, cell_frame: NSRect, view: &NSView )
Available on crate features
NSResponder
and NSView
only.pub unsafe fn backgroundStyle(&self) -> NSBackgroundStyle
pub unsafe fn setBackgroundStyle(&self, background_style: NSBackgroundStyle)
pub unsafe fn interiorBackgroundStyle(&self) -> NSBackgroundStyle
pub unsafe fn controlTint(&self) -> NSControlTint
👎Deprecated: The controlTint property is not respected on 10.14 and later. For custom cells, use +[NSColor controlAccentColor] to respect the user’s preferred accent color when drawing.
pub unsafe fn setControlTint(&self, control_tint: NSControlTint)
👎Deprecated: The controlTint property is not respected on 10.14 and later. For custom cells, use +[NSColor controlAccentColor] to respect the user’s preferred accent color when drawing.
pub unsafe fn entryType(&self) -> NSInteger
👎Deprecated
pub unsafe fn setEntryType(&self, type: NSInteger)
👎Deprecated
pub unsafe fn isEntryAcceptable(&self, string: &NSString) -> bool
👎Deprecated
pub unsafe fn setFloatingPointFormat_left_right( &self, auto_range: bool, left_digits: NSUInteger, right_digits: NSUInteger )
👎Deprecated
pub unsafe fn setMnemonicLocation(&self, location: NSUInteger)
👎Deprecated
pub unsafe fn mnemonicLocation(&self) -> NSUInteger
👎Deprecated
pub unsafe fn mnemonic(&self) -> Retained<NSString>
👎Deprecated
pub unsafe fn setTitleWithMnemonic(&self, string_with_ampersand: &NSString)
👎Deprecated
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<AnyObject> for NSLevelIndicatorCell
impl AsMut<AnyObject> for NSLevelIndicatorCell
source§impl AsMut<NSActionCell> for NSLevelIndicatorCell
impl AsMut<NSActionCell> for NSLevelIndicatorCell
source§fn as_mut(&mut self) -> &mut NSActionCell
fn as_mut(&mut self) -> &mut NSActionCell
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsMut<NSCell> for NSLevelIndicatorCell
impl AsMut<NSCell> for NSLevelIndicatorCell
source§impl AsMut<NSObject> for NSLevelIndicatorCell
impl AsMut<NSObject> for NSLevelIndicatorCell
source§impl AsRef<AnyObject> for NSLevelIndicatorCell
impl AsRef<AnyObject> for NSLevelIndicatorCell
source§impl AsRef<NSActionCell> for NSLevelIndicatorCell
impl AsRef<NSActionCell> for NSLevelIndicatorCell
source§fn as_ref(&self) -> &NSActionCell
fn as_ref(&self) -> &NSActionCell
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<NSCell> for NSLevelIndicatorCell
impl AsRef<NSCell> for NSLevelIndicatorCell
source§impl AsRef<NSObject> for NSLevelIndicatorCell
impl AsRef<NSObject> for NSLevelIndicatorCell
source§impl Borrow<AnyObject> for NSLevelIndicatorCell
impl Borrow<AnyObject> for NSLevelIndicatorCell
source§impl Borrow<NSActionCell> for NSLevelIndicatorCell
impl Borrow<NSActionCell> for NSLevelIndicatorCell
source§fn borrow(&self) -> &NSActionCell
fn borrow(&self) -> &NSActionCell
Immutably borrows from an owned value. Read more
source§impl Borrow<NSCell> for NSLevelIndicatorCell
impl Borrow<NSCell> for NSLevelIndicatorCell
source§impl Borrow<NSObject> for NSLevelIndicatorCell
impl Borrow<NSObject> for NSLevelIndicatorCell
source§impl BorrowMut<AnyObject> for NSLevelIndicatorCell
impl BorrowMut<AnyObject> for NSLevelIndicatorCell
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<NSActionCell> for NSLevelIndicatorCell
impl BorrowMut<NSActionCell> for NSLevelIndicatorCell
source§fn borrow_mut(&mut self) -> &mut NSActionCell
fn borrow_mut(&mut self) -> &mut NSActionCell
Mutably borrows from an owned value. Read more
source§impl BorrowMut<NSCell> for NSLevelIndicatorCell
impl BorrowMut<NSCell> for NSLevelIndicatorCell
source§fn borrow_mut(&mut self) -> &mut NSCell
fn borrow_mut(&mut self) -> &mut NSCell
Mutably borrows from an owned value. Read more
source§impl BorrowMut<NSObject> for NSLevelIndicatorCell
impl BorrowMut<NSObject> for NSLevelIndicatorCell
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 ClassType for NSLevelIndicatorCell
impl ClassType for NSLevelIndicatorCell
§type Super = NSActionCell
type Super = NSActionCell
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 = "NSLevelIndicatorCell"
const NAME: &'static str = "NSLevelIndicatorCell"
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 Debug for NSLevelIndicatorCell
impl Debug for NSLevelIndicatorCell
source§impl Deref for NSLevelIndicatorCell
impl Deref for NSLevelIndicatorCell
source§impl DerefMut for NSLevelIndicatorCell
impl DerefMut for NSLevelIndicatorCell
source§impl Hash for NSLevelIndicatorCell
impl Hash for NSLevelIndicatorCell
source§impl NSAccessibility for NSLevelIndicatorCell
Available on crate feature NSAccessibilityProtocols
only.
impl NSAccessibility for NSLevelIndicatorCell
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 NSLevelIndicatorCell
Available on crate feature NSAccessibilityProtocols
only.
impl NSAccessibilityElementProtocol for NSLevelIndicatorCell
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 NSCoding for NSLevelIndicatorCell
impl NSCoding for NSLevelIndicatorCell
source§impl NSCopying for NSLevelIndicatorCell
impl NSCopying for NSLevelIndicatorCell
source§impl NSObjectProtocol for NSLevelIndicatorCell
impl NSObjectProtocol for NSLevelIndicatorCell
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 NSUserInterfaceItemIdentification for NSLevelIndicatorCell
Available on crate feature NSUserInterfaceItemIdentification
only.
impl NSUserInterfaceItemIdentification for NSLevelIndicatorCell
Available on crate feature
NSUserInterfaceItemIdentification
only.unsafe fn identifier(&self) -> Option<Retained<NSUserInterfaceItemIdentifier>>
unsafe fn setIdentifier( &self, identifier: Option<&NSUserInterfaceItemIdentifier> )
source§impl PartialEq for NSLevelIndicatorCell
impl PartialEq for NSLevelIndicatorCell
source§fn eq(&self, other: &NSLevelIndicatorCell) -> bool
fn eq(&self, other: &NSLevelIndicatorCell) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RefEncode for NSLevelIndicatorCell
impl RefEncode for NSLevelIndicatorCell
source§const ENCODING_REF: Encoding = <NSActionCell as ::objc2::RefEncode>::ENCODING_REF
const ENCODING_REF: Encoding = <NSActionCell as ::objc2::RefEncode>::ENCODING_REF
The Objective-C type-encoding for a reference of this type. Read more
impl Eq for NSLevelIndicatorCell
impl Message for NSLevelIndicatorCell
impl StructuralPartialEq for NSLevelIndicatorCell
Auto Trait Implementations§
impl !Freeze for NSLevelIndicatorCell
impl !RefUnwindSafe for NSLevelIndicatorCell
impl !Send for NSLevelIndicatorCell
impl !Sync for NSLevelIndicatorCell
impl !Unpin for NSLevelIndicatorCell
impl !UnwindSafe for NSLevelIndicatorCell
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