pub unsafe trait NSCandidateListTouchBarItemDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn candidateListTouchBarItem_beginSelectingCandidateAtIndex(
&self,
an_item: &NSCandidateListTouchBarItem,
index: NSInteger
)
where Self: Sized + Message { ... }
unsafe fn candidateListTouchBarItem_changeSelectionFromCandidateAtIndex_toIndex(
&self,
an_item: &NSCandidateListTouchBarItem,
previous_index: NSInteger,
index: NSInteger
)
where Self: Sized + Message { ... }
unsafe fn candidateListTouchBarItem_endSelectingCandidateAtIndex(
&self,
an_item: &NSCandidateListTouchBarItem,
index: NSInteger
)
where Self: Sized + Message { ... }
unsafe fn candidateListTouchBarItem_changedCandidateListVisibility(
&self,
an_item: &NSCandidateListTouchBarItem,
is_visible: bool
)
where Self: Sized + Message { ... }
}
Available on crate feature
NSCandidateListTouchBarItem
only.Provided Methods§
unsafe fn candidateListTouchBarItem_beginSelectingCandidateAtIndex( &self, an_item: &NSCandidateListTouchBarItem, index: NSInteger )
Available on crate feature
NSTouchBarItem
only.unsafe fn candidateListTouchBarItem_changeSelectionFromCandidateAtIndex_toIndex( &self, an_item: &NSCandidateListTouchBarItem, previous_index: NSInteger, index: NSInteger )
Available on crate feature
NSTouchBarItem
only.unsafe fn candidateListTouchBarItem_endSelectingCandidateAtIndex( &self, an_item: &NSCandidateListTouchBarItem, index: NSInteger )
Available on crate feature
NSTouchBarItem
only.unsafe fn candidateListTouchBarItem_changedCandidateListVisibility( &self, an_item: &NSCandidateListTouchBarItem, is_visible: bool )
Available on crate feature
NSTouchBarItem
only.Trait Implementations§
source§impl ProtocolType for dyn NSCandidateListTouchBarItemDelegate
impl ProtocolType for dyn NSCandidateListTouchBarItemDelegate
impl<T> ImplementedBy<T> for dyn NSCandidateListTouchBarItemDelegate
Implementations on Foreign Types§
impl<T> NSCandidateListTouchBarItemDelegate for ProtocolObject<T>where
T: ?Sized + NSCandidateListTouchBarItemDelegate,
Implementors§
impl NSCandidateListTouchBarItemDelegate for NSTextView
Available on crate features
NSResponder
and NSText
and NSView
and NSTextView
only.