pub unsafe trait NSTextDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn textShouldBeginEditing(&self, text_object: &NSText) -> bool
where Self: Sized + Message { ... }
unsafe fn textShouldEndEditing(&self, text_object: &NSText) -> bool
where Self: Sized + Message { ... }
unsafe fn textDidBeginEditing(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
unsafe fn textDidEndEditing(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
unsafe fn textDidChange(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
}👎Deprecated:
icrate::AppKit has been moved to objc2-app-kitAvailable on crate feature
AppKit only.Provided Methods§
unsafe fn textShouldBeginEditing(&self, text_object: &NSText) -> bool
👎Deprecated:
icrate::AppKit has been moved to objc2-app-kitAvailable on crate feature
AppKit_NSText only.unsafe fn textShouldEndEditing(&self, text_object: &NSText) -> bool
👎Deprecated:
icrate::AppKit has been moved to objc2-app-kitAvailable on crate feature
AppKit_NSText only.unsafe fn textDidBeginEditing(&self, notification: &NSNotification)
👎Deprecated:
icrate::AppKit has been moved to objc2-app-kitAvailable on crate feature
Foundation_NSNotification only.unsafe fn textDidEndEditing(&self, notification: &NSNotification)
👎Deprecated:
icrate::AppKit has been moved to objc2-app-kitAvailable on crate feature
Foundation_NSNotification only.unsafe fn textDidChange(&self, notification: &NSNotification)
👎Deprecated:
icrate::AppKit has been moved to objc2-app-kitAvailable on crate feature
Foundation_NSNotification only.Trait Implementations§
Source§impl ProtocolType for dyn NSTextDelegate
impl ProtocolType for dyn NSTextDelegate
impl<T> ImplementedBy<T> for dyn NSTextDelegate
Implementations on Foreign Types§
impl<T> NSTextDelegate for ProtocolObject<T>where
T: ?Sized + NSTextDelegate,
Implementors§
impl NSTextDelegate for NSOutlineView
Available on crate feature
AppKit_NSOutlineView only.impl NSTextDelegate for NSTableView
Available on crate feature
AppKit_NSTableView only.