Skip to main content

NSCollectionViewSectionHeaderView

Trait NSCollectionViewSectionHeaderView 

Source
pub unsafe trait NSCollectionViewSectionHeaderView: NSCollectionViewElement + MainThreadOnly {
    // Provided methods
    fn sectionCollapseButton(&self) -> Option<Retained<NSButton>>
       where Self: Sized + Message { ... }
    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

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

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

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

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

Setter for sectionCollapseButton.

This is a weak property.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NSCollectionViewSectionHeaderView

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> NSCollectionViewSectionHeaderView for ProtocolObject<T>

Implementors§