Trait NSCollectionViewSectionHeaderView

Source
pub unsafe trait NSCollectionViewSectionHeaderView: NSCollectionViewElement + MainThreadOnly {
    // Provided methods
    unsafe fn sectionCollapseButton(&self) -> Option<Retained<NSButton>>
       where Self: Sized + Message { ... }
    unsafe fn setSectionCollapseButton(
        &self,
        section_collapse_button: Option<&NSButton>,
    )
       where Self: Sized + Message { ... }
}
Available on crate features NSCollectionView and NSUserInterfaceItemIdentification only.
Expand description

Provided Methods§

Source

unsafe fn sectionCollapseButton(&self) -> Option<Retained<NSButton>>
where Self: Sized + Message,

Available on crate features NSButton and NSControl and NSResponder and NSView only.
Source

unsafe fn setSectionCollapseButton( &self, section_collapse_button: Option<&NSButton>, )
where Self: Sized + Message,

Available on crate features NSButton and NSControl and NSResponder and NSView only.

This is a weak property. Setter for sectionCollapseButton.

Trait Implementations§

Source§

impl ProtocolType for dyn NSCollectionViewSectionHeaderView

Source§

const NAME: &'static str = "NSCollectionViewSectionHeaderView"

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 NSCollectionViewSectionHeaderView

Implementations on Foreign Types§

Source§

impl<T> NSCollectionViewSectionHeaderView for ProtocolObject<T>

Implementors§