Trait NSTabViewDelegate

Source
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§

Source

unsafe fn tabView_shouldSelectTabViewItem( &self, tab_view: &NSTabView, tab_view_item: Option<&NSTabViewItem>, ) -> bool
where Self: Sized + Message,

Available on crate features NSResponder and NSTabViewItem and NSView only.
Source

unsafe fn tabView_willSelectTabViewItem( &self, tab_view: &NSTabView, tab_view_item: Option<&NSTabViewItem>, )
where Self: Sized + Message,

Available on crate features NSResponder and NSTabViewItem and NSView only.
Source

unsafe fn tabView_didSelectTabViewItem( &self, tab_view: &NSTabView, tab_view_item: Option<&NSTabViewItem>, )
where Self: Sized + Message,

Available on crate features NSResponder and NSTabViewItem and NSView only.
Source

unsafe fn tabViewDidChangeNumberOfTabViewItems(&self, tab_view: &NSTabView)
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.

Trait Implementations§

Source§

impl ProtocolType for dyn NSTabViewDelegate

Source§

const NAME: &'static str = "NSTabViewDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn NSTabViewDelegate

Implementations on Foreign Types§

Source§

impl<T> NSTabViewDelegate for ProtocolObject<T>

Implementors§

Source§

impl NSTabViewDelegate for NSTabViewController

Available on crate feature NSTabViewController only.