pub unsafe trait NSTabViewDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn tabView_shouldSelectTabViewItem(
&self,
tab_view: &NSTabView,
tab_view_item: Option<&NSTabViewItem>,
) -> bool
where Self: Sized + Message { ... }
fn tabView_willSelectTabViewItem(
&self,
tab_view: &NSTabView,
tab_view_item: Option<&NSTabViewItem>,
)
where Self: Sized + Message { ... }
fn tabView_didSelectTabViewItem(
&self,
tab_view: &NSTabView,
tab_view_item: Option<&NSTabViewItem>,
)
where Self: Sized + Message { ... }
fn tabViewDidChangeNumberOfTabViewItems(&self, tab_view: &NSTabView)
where Self: Sized + Message { ... }
}Available on crate feature
NSTabView only.Expand description
Provided Methods§
fn tabView_shouldSelectTabViewItem( &self, tab_view: &NSTabView, tab_view_item: Option<&NSTabViewItem>, ) -> bool
Available on crate features
NSResponder and NSTabViewItem and NSView only.fn tabView_willSelectTabViewItem( &self, tab_view: &NSTabView, tab_view_item: Option<&NSTabViewItem>, )
Available on crate features
NSResponder and NSTabViewItem and NSView only.fn tabView_didSelectTabViewItem( &self, tab_view: &NSTabView, tab_view_item: Option<&NSTabViewItem>, )
Available on crate features
NSResponder and NSTabViewItem and NSView only.fn tabViewDidChangeNumberOfTabViewItems(&self, tab_view: &NSTabView)
Available on crate features
NSResponder and NSView only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSTabViewDelegate
Source§impl ProtocolType for dyn NSTabViewDelegate
impl ProtocolType for dyn NSTabViewDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
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.