pub unsafe trait NSCandidateListTouchBarItemDelegate: NSObjectProtocol + MainThreadOnly {
// 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.Expand description
Provided Methods§
Sourceunsafe fn candidateListTouchBarItem_beginSelectingCandidateAtIndex(
&self,
an_item: &NSCandidateListTouchBarItem,
index: NSInteger,
)
Available on crate feature NSTouchBarItem
only.
unsafe fn candidateListTouchBarItem_beginSelectingCandidateAtIndex( &self, an_item: &NSCandidateListTouchBarItem, index: NSInteger, )
NSTouchBarItem
only.§Safety
an_item
generic should be of the correct type.
Sourceunsafe fn candidateListTouchBarItem_changeSelectionFromCandidateAtIndex_toIndex(
&self,
an_item: &NSCandidateListTouchBarItem,
previous_index: NSInteger,
index: NSInteger,
)
Available on crate feature NSTouchBarItem
only.
unsafe fn candidateListTouchBarItem_changeSelectionFromCandidateAtIndex_toIndex( &self, an_item: &NSCandidateListTouchBarItem, previous_index: NSInteger, index: NSInteger, )
NSTouchBarItem
only.§Safety
an_item
generic should be of the correct type.
Sourceunsafe fn candidateListTouchBarItem_endSelectingCandidateAtIndex(
&self,
an_item: &NSCandidateListTouchBarItem,
index: NSInteger,
)
Available on crate feature NSTouchBarItem
only.
unsafe fn candidateListTouchBarItem_endSelectingCandidateAtIndex( &self, an_item: &NSCandidateListTouchBarItem, index: NSInteger, )
NSTouchBarItem
only.§Safety
an_item
generic should be of the correct type.
Sourceunsafe fn candidateListTouchBarItem_changedCandidateListVisibility(
&self,
an_item: &NSCandidateListTouchBarItem,
is_visible: bool,
)
Available on crate feature NSTouchBarItem
only.
unsafe fn candidateListTouchBarItem_changedCandidateListVisibility( &self, an_item: &NSCandidateListTouchBarItem, is_visible: bool, )
NSTouchBarItem
only.§Safety
an_item
generic should be of the correct type.
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 feature
NSTextView
only.