NSDrawerDelegate

Trait NSDrawerDelegate 

Source
pub unsafe trait NSDrawerDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn drawerShouldOpen(&self, sender: &NSDrawer) -> bool
       where Self: Sized + Message { ... }
    unsafe fn drawerShouldClose(&self, sender: &NSDrawer) -> bool
       where Self: Sized + Message { ... }
    unsafe fn drawerWillResizeContents_toSize(
        &self,
        sender: &NSDrawer,
        content_size: NSSize,
    ) -> NSSize
       where Self: Sized + Message { ... }
    unsafe fn drawerWillOpen(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn drawerDidOpen(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn drawerWillClose(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn drawerDidClose(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
}
Available on crate feature NSDrawer only.
Expand description

Provided Methods§

Source

unsafe fn drawerShouldOpen(&self, sender: &NSDrawer) -> bool
where Self: Sized + Message,

👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
Available on crate feature NSResponder only.
Source

unsafe fn drawerShouldClose(&self, sender: &NSDrawer) -> bool
where Self: Sized + Message,

👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
Available on crate feature NSResponder only.
Source

unsafe fn drawerWillResizeContents_toSize( &self, sender: &NSDrawer, content_size: NSSize, ) -> NSSize
where Self: Sized + Message,

👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
Available on crate feature NSResponder only.
Source

unsafe fn drawerWillOpen(&self, notification: &NSNotification)
where Self: Sized + Message,

👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
Source

unsafe fn drawerDidOpen(&self, notification: &NSNotification)
where Self: Sized + Message,

👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
Source

unsafe fn drawerWillClose(&self, notification: &NSNotification)
where Self: Sized + Message,

👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
Source

unsafe fn drawerDidClose(&self, notification: &NSNotification)
where Self: Sized + Message,

👎Deprecated: Drawers are deprecated; consider using NSSplitViewController

Trait Implementations§

Source§

impl ProtocolType for dyn NSDrawerDelegate

Source§

const NAME: &'static str = "NSDrawerDelegate"

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 NSDrawerDelegate

Implementations on Foreign Types§

Source§

impl<T> NSDrawerDelegate for ProtocolObject<T>
where T: ?Sized + NSDrawerDelegate,

Implementors§