pub unsafe trait NSTabViewDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn tabView_shouldSelectTabViewItem(
&self,
tab_view: &NSTabView,
tab_view_item: Option<&NSTabViewItem>,
) -> bool
where Self: Sized + Message { ... }
unsafe fn tabView_willSelectTabViewItem(
&self,
tab_view: &NSTabView,
tab_view_item: Option<&NSTabViewItem>,
)
where Self: Sized + Message { ... }
unsafe fn tabView_didSelectTabViewItem(
&self,
tab_view: &NSTabView,
tab_view_item: Option<&NSTabViewItem>,
)
where Self: Sized + Message { ... }
unsafe fn tabViewDidChangeNumberOfTabViewItems(&self, tab_view: &NSTabView)
where Self: Sized + Message { ... }
}
Available on crate feature
NSTabView
only.Expand description
Provided Methods§
unsafe fn tabView_shouldSelectTabViewItem( &self, tab_view: &NSTabView, tab_view_item: Option<&NSTabViewItem>, ) -> bool
Available on crate features
NSResponder
and NSTabViewItem
and NSView
only.unsafe fn tabView_willSelectTabViewItem( &self, tab_view: &NSTabView, tab_view_item: Option<&NSTabViewItem>, )
Available on crate features
NSResponder
and NSTabViewItem
and NSView
only.unsafe fn tabView_didSelectTabViewItem( &self, tab_view: &NSTabView, tab_view_item: Option<&NSTabViewItem>, )
Available on crate features
NSResponder
and NSTabViewItem
and NSView
only.unsafe fn tabViewDidChangeNumberOfTabViewItems(&self, tab_view: &NSTabView)
Available on crate features
NSResponder
and NSView
only.Trait Implementations§
Source§impl ProtocolType for dyn NSTabViewDelegate
impl ProtocolType for dyn NSTabViewDelegate
impl<T> ImplementedBy<T> for dyn NSTabViewDelegate
Implementations on Foreign Types§
impl<T> NSTabViewDelegate for ProtocolObject<T>where
T: ?Sized + NSTabViewDelegate,
Implementors§
impl NSTabViewDelegate for NSTabViewController
Available on crate feature
NSTabViewController
only.