pub trait ContentProviderImplExt: ObjectSubclass {
    // Required methods
    fn parent_content_changed(&self, provider: &Self::Type);
    fn parent_attach_clipboard(
        &self,
        provider: &Self::Type,
        clipboard: &Clipboard
    );
    fn parent_detach_clipboard(
        &self,
        provider: &Self::Type,
        clipboard: &Clipboard
    );
    fn parent_formats(&self, provider: &Self::Type) -> ContentFormats;
    fn parent_storable_formats(&self, provider: &Self::Type) -> ContentFormats;
    fn parent_write_mime_type_async<Q, R>(
        &self,
        provider: &Self::Type,
        mime_type: &str,
        stream: &OutputStream,
        io_priority: Priority,
        cancellable: Option<&Q>,
        callback: R
    )
       where Q: IsA<Cancellable>,
             R: FnOnce(Result<(), Error>) + 'static;
    fn parent_write_mime_type_future(
        &self,
        provider: &Self::Type,
        mime_type: &str,
        stream: &OutputStream,
        io_priority: Priority
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static, Global>>;
    fn parent_value(
        &self,
        provider: &Self::Type,
        type_: Type
    ) -> Result<Value, Error>;
}

Required Methods§

source

fn parent_content_changed(&self, provider: &Self::Type)

source

fn parent_attach_clipboard(&self, provider: &Self::Type, clipboard: &Clipboard)

source

fn parent_detach_clipboard(&self, provider: &Self::Type, clipboard: &Clipboard)

source

fn parent_formats(&self, provider: &Self::Type) -> ContentFormats

source

fn parent_storable_formats(&self, provider: &Self::Type) -> ContentFormats

source

fn parent_write_mime_type_async<Q, R>( &self, provider: &Self::Type, mime_type: &str, stream: &OutputStream, io_priority: Priority, cancellable: Option<&Q>, callback: R )where Q: IsA<Cancellable>, R: FnOnce(Result<(), Error>) + 'static,

source

fn parent_write_mime_type_future( &self, provider: &Self::Type, mime_type: &str, stream: &OutputStream, io_priority: Priority ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static, Global>>

source

fn parent_value( &self, provider: &Self::Type, type_: Type ) -> Result<Value, Error>

Implementors§