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§
unsafe fn drawerShouldOpen(&self, sender: &NSDrawer) -> bool
👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
Available on crate feature
NSResponder
only.unsafe fn drawerShouldClose(&self, sender: &NSDrawer) -> bool
👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
Available on crate feature
NSResponder
only.unsafe fn drawerWillResizeContents_toSize( &self, sender: &NSDrawer, content_size: NSSize, ) -> NSSize
👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
Available on crate feature
NSResponder
only.unsafe fn drawerWillOpen(&self, notification: &NSNotification)
👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
unsafe fn drawerDidOpen(&self, notification: &NSNotification)
👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
unsafe fn drawerWillClose(&self, notification: &NSNotification)
👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
unsafe fn drawerDidClose(&self, notification: &NSNotification)
👎Deprecated: Drawers are deprecated; consider using NSSplitViewController