Trait NSStackViewDelegate

Source
pub unsafe trait NSStackViewDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    unsafe fn stackView_willDetachViews(
        &self,
        stack_view: &NSStackView,
        views: &NSArray<NSView>,
    )
       where Self: Sized + Message { ... }
    unsafe fn stackView_didReattachViews(
        &self,
        stack_view: &NSStackView,
        views: &NSArray<NSView>,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature NSStackView only.
Expand description

Provided Methods§

Source

unsafe fn stackView_willDetachViews( &self, stack_view: &NSStackView, views: &NSArray<NSView>, )
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.
Source

unsafe fn stackView_didReattachViews( &self, stack_view: &NSStackView, views: &NSArray<NSView>, )
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.

Trait Implementations§

Source§

impl ProtocolType for dyn NSStackViewDelegate

Source§

const NAME: &'static str = "NSStackViewDelegate"

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 NSStackViewDelegate

Implementations on Foreign Types§

Source§

impl<T> NSStackViewDelegate for ProtocolObject<T>

Implementors§