Trait NSPathCellDelegate

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

Provided Methods§

Source

unsafe 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

unsafe 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 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
Source§

impl<T> ImplementedBy<T> for dyn NSPathCellDelegate

Implementations on Foreign Types§

Source§

impl<T> NSPathCellDelegate for ProtocolObject<T>

Implementors§