Trait NSOpenSavePanelDelegate

Source
pub unsafe trait NSOpenSavePanelDelegate: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn panel_shouldEnableURL(
        &self,
        sender: &AnyObject,
        url: &NSURL,
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn panel_validateURL_error(
        &self,
        sender: &AnyObject,
        url: &NSURL,
    ) -> Result<(), Id<NSError>>
       where Self: Sized + Message { ... }
    unsafe fn panel_didChangeToDirectoryURL(
        &self,
        sender: &AnyObject,
        url: Option<&NSURL>,
    )
       where Self: Sized + Message { ... }
    unsafe fn panel_userEnteredFilename_confirmed(
        &self,
        sender: &AnyObject,
        filename: &NSString,
        ok_flag: bool,
    ) -> Option<Id<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn panel_willExpand(&self, sender: &AnyObject, expanding: bool)
       where Self: Sized + Message { ... }
    unsafe fn panelSelectionDidChange(&self, sender: Option<&AnyObject>)
       where Self: Sized + Message { ... }
}
๐Ÿ‘ŽDeprecated: icrate::AppKit has been moved to objc2-app-kit
Available on crate feature AppKit only.

Provided Methodsยง

Source

unsafe fn panel_shouldEnableURL(&self, sender: &AnyObject, url: &NSURL) -> bool
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::AppKit has been moved to objc2-app-kit
Available on crate feature Foundation_NSURL only.
Source

unsafe fn panel_validateURL_error( &self, sender: &AnyObject, url: &NSURL, ) -> Result<(), Id<NSError>>
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::AppKit has been moved to objc2-app-kit
Available on crate features Foundation_NSError and Foundation_NSURL only.
Source

unsafe fn panel_didChangeToDirectoryURL( &self, sender: &AnyObject, url: Option<&NSURL>, )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::AppKit has been moved to objc2-app-kit
Available on crate feature Foundation_NSURL only.
Source

unsafe fn panel_userEnteredFilename_confirmed( &self, sender: &AnyObject, filename: &NSString, ok_flag: bool, ) -> Option<Id<NSString>>
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::AppKit has been moved to objc2-app-kit
Available on crate feature Foundation_NSString only.
Source

unsafe fn panel_willExpand(&self, sender: &AnyObject, expanding: bool)
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::AppKit has been moved to objc2-app-kit
Source

unsafe fn panelSelectionDidChange(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::AppKit has been moved to objc2-app-kit

Trait Implementationsยง

Sourceยง

impl ProtocolType for dyn NSOpenSavePanelDelegate

Sourceยง

const NAME: &'static str = "NSOpenSavePanelDelegate"

The name of the Objective-C protocol that this type represents.
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 NSOpenSavePanelDelegate

Implementations on Foreign Typesยง

Sourceยง

impl<T> NSOpenSavePanelDelegate for ProtocolObject<T>

Implementorsยง

Sourceยง

impl NSOpenSavePanelDelegate for NSPathCell

Available on crate feature AppKit_NSPathCell only.