pub unsafe trait NSControlTextEditingDelegate: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn controlTextDidBeginEditing(&self, obj: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn controlTextDidEndEditing(&self, obj: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn controlTextDidChange(&self, obj: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn control_textShouldBeginEditing(
        &self,
        control: &NSControl,
        field_editor: &NSText
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn control_textShouldEndEditing(
        &self,
        control: &NSControl,
        field_editor: &NSText
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn control_didFailToFormatString_errorDescription(
        &self,
        control: &NSControl,
        string: &NSString,
        error: Option<&NSString>
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn control_didFailToValidatePartialString_errorDescription(
        &self,
        control: &NSControl,
        string: &NSString,
        error: Option<&NSString>
    )
       where Self: Sized + Message { ... }
    unsafe fn control_isValidObject(
        &self,
        control: &NSControl,
        obj: Option<&AnyObject>
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn control_textView_doCommandBySelector(
        &self,
        control: &NSControl,
        text_view: &NSTextView,
        command_selector: Sel
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn control_textView_completions_forPartialWordRange_indexOfSelectedItem(
        &self,
        control: &NSControl,
        text_view: &NSTextView,
        words: &NSArray<NSString>,
        char_range: NSRange,
        index: NonNull<NSInteger>
    ) -> Id<NSArray<NSString>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSControl only.

Provided Methods§

source

unsafe fn controlTextDidBeginEditing(&self, obj: &NSNotification)
where Self: Sized + Message,

source

unsafe fn controlTextDidEndEditing(&self, obj: &NSNotification)
where Self: Sized + Message,

source

unsafe fn controlTextDidChange(&self, obj: &NSNotification)
where Self: Sized + Message,

source

unsafe fn control_textShouldBeginEditing( &self, control: &NSControl, field_editor: &NSText ) -> bool
where Self: Sized + Message,

Available on crate features NSResponder and NSText and NSView only.
source

unsafe fn control_textShouldEndEditing( &self, control: &NSControl, field_editor: &NSText ) -> bool
where Self: Sized + Message,

Available on crate features NSResponder and NSText and NSView only.
source

unsafe fn control_didFailToFormatString_errorDescription( &self, control: &NSControl, string: &NSString, error: Option<&NSString> ) -> bool
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.
source

unsafe fn control_didFailToValidatePartialString_errorDescription( &self, control: &NSControl, string: &NSString, error: Option<&NSString> )
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.
source

unsafe fn control_isValidObject( &self, control: &NSControl, obj: Option<&AnyObject> ) -> bool
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.
source

unsafe fn control_textView_doCommandBySelector( &self, control: &NSControl, text_view: &NSTextView, command_selector: Sel ) -> bool
where Self: Sized + Message,

Available on crate features NSResponder and NSText and NSTextView and NSView only.
source

unsafe fn control_textView_completions_forPartialWordRange_indexOfSelectedItem( &self, control: &NSControl, text_view: &NSTextView, words: &NSArray<NSString>, char_range: NSRange, index: NonNull<NSInteger> ) -> Id<NSArray<NSString>>
where Self: Sized + Message,

Available on crate features NSResponder and NSText and NSTextView and NSView only.

Trait Implementations§

source§

impl ProtocolType for dyn NSControlTextEditingDelegate

source§

const NAME: &'static str = "NSControlTextEditingDelegate"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

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

impl<T> ImplementedBy<T> for dyn NSControlTextEditingDelegate

Implementations on Foreign Types§

source§

impl<T> NSControlTextEditingDelegate for ProtocolObject<T>

Implementors§