PDFViewDelegate

Trait PDFViewDelegate 

Source
pub unsafe trait PDFViewDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn PDFViewWillClickOnLink_withURL(
        &self,
        sender: &PDFView,
        url: &NSURL,
    )
       where Self: Sized + Message { ... }
    unsafe fn PDFViewWillChangeScaleFactor_toScale(
        &self,
        sender: &PDFView,
        scaler: CGFloat,
    ) -> CGFloat
       where Self: Sized + Message { ... }
    unsafe fn PDFViewPrintJobTitle(
        &self,
        sender: &PDFView,
    ) -> Retained<NSString>
       where Self: Sized + Message { ... }
    unsafe fn PDFViewPerformPrint(&self, sender: &PDFView)
       where Self: Sized + Message { ... }
    unsafe fn PDFViewPerformFind(&self, sender: &PDFView)
       where Self: Sized + Message { ... }
    unsafe fn PDFViewPerformGoToPage(&self, sender: &PDFView)
       where Self: Sized + Message { ... }
    unsafe fn PDFViewOpenPDF_forRemoteGoToAction(
        &self,
        sender: &PDFView,
        action: &PDFActionRemoteGoTo,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature PDFView only.
Expand description

Provided Methods§

Available on crate feature objc2-app-kit and macOS only.
Source

unsafe fn PDFViewWillChangeScaleFactor_toScale( &self, sender: &PDFView, scaler: CGFloat, ) -> CGFloat
where Self: Sized + Message,

Available on crate feature objc2-app-kit and crate feature objc2-core-foundation and macOS only.
Source

unsafe fn PDFViewPrintJobTitle(&self, sender: &PDFView) -> Retained<NSString>
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.
Source

unsafe fn PDFViewPerformPrint(&self, sender: &PDFView)
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.
Source

unsafe fn PDFViewPerformFind(&self, sender: &PDFView)
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.
Source

unsafe fn PDFViewPerformGoToPage(&self, sender: &PDFView)
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.
Source

unsafe fn PDFViewOpenPDF_forRemoteGoToAction( &self, sender: &PDFView, action: &PDFActionRemoteGoTo, )
where Self: Sized + Message,

Available on crate feature PDFAction and crate feature PDFActionRemoteGoTo and crate feature objc2-app-kit and macOS only.

Trait Implementations§

Source§

impl ProtocolType for dyn PDFViewDelegate

Source§

const NAME: &'static str = "PDFViewDelegate"

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 PDFViewDelegate

Implementations on Foreign Types§

Source§

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

Implementors§