Skip to main content

NSPathCellDelegate

Trait NSPathCellDelegate 

Source
pub unsafe trait NSPathCellDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn pathCell_willDisplayOpenPanel(
        &self,
        path_cell: &NSPathCell,
        open_panel: &NSOpenPanel,
    )
       where Self: Sized + Message { ... }
    fn pathCell_willPopUpMenu(&self, path_cell: &NSPathCell, menu: &NSMenu)
       where Self: Sized + Message { ... }
}
Available on crate feature NSPathCell only.
Expand description

Provided Methods§

Source

fn pathCell_willDisplayOpenPanel( &self, path_cell: &NSPathCell, open_panel: &NSOpenPanel, )
where Self: Sized + Message,

Available on crate features NSActionCell and NSCell and NSOpenPanel and NSPanel and NSResponder and NSSavePanel and NSWindow only.
Source

fn pathCell_willPopUpMenu(&self, path_cell: &NSPathCell, menu: &NSMenu)
where Self: Sized + Message,

Available on crate features NSActionCell and NSCell and NSMenu only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NSPathCellDelegate

Source§

impl ProtocolType for dyn NSPathCellDelegate

Source§

const NAME: &'static str = "NSPathCellDelegate"

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> NSPathCellDelegate for ProtocolObject<T>

Implementors§