Trait objc2_app_kit::NSTabViewDelegate

source ·
pub unsafe trait NSTabViewDelegate: NSObjectProtocol + IsMainThreadOnly {
    // 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.

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.
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 features NSResponder and NSViewController and NSTabViewController only.