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