pub unsafe trait NSTextDelegate: NSObjectProtocol + MainThreadOnly {
// 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 { ... }
}
Available on crate feature
NSText
only.Expand description
Provided Methods§
unsafe fn textShouldBeginEditing(&self, text_object: &NSText) -> bool
Available on crate features
NSResponder
and NSView
only.unsafe fn textShouldEndEditing(&self, text_object: &NSText) -> bool
Available on crate features
NSResponder
and NSView
only.unsafe fn textDidBeginEditing(&self, notification: &NSNotification)
unsafe fn textDidEndEditing(&self, notification: &NSNotification)
unsafe fn textDidChange(&self, notification: &NSNotification)
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
NSOutlineView
only.impl NSTextDelegate for NSTableView
Available on crate feature
NSTableView
only.