Trait gdk4::subclass::content_provider::ContentProviderImpl
source · [−]pub trait ContentProviderImpl: ContentProviderImplExt + ObjectImpl {
fn content_changed(&self, provider: &Self::Type) { ... }
fn attach_clipboard(&self, provider: &Self::Type, clipboard: &Clipboard) { ... }
fn detach_clipboard(&self, provider: &Self::Type, clipboard: &Clipboard) { ... }
fn formats(&self, provider: &Self::Type) -> ContentFormats { ... }
fn storable_formats(&self, provider: &Self::Type) -> ContentFormats { ... }
fn write_mime_type_future(
&self,
provider: &Self::Type,
mime_type: &str,
stream: &OutputStream,
io_priority: Priority
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static>> { ... }
fn value(&self, provider: &Self::Type, type_: Type) -> Result<Value, Error> { ... }
}
Provided Methods
source
fn content_changed(&self, provider: &Self::Type)
source
fn attach_clipboard(&self, provider: &Self::Type, clipboard: &Clipboard)
source
fn detach_clipboard(&self, provider: &Self::Type, clipboard: &Clipboard)
source
fn formats(&self, provider: &Self::Type) -> ContentFormats
source