SaveDelegateExt

Trait SaveDelegateExt 

Source
pub trait SaveDelegateExt: IsA<SaveDelegate> + 'static {
Show 24 methods // Provided methods fn close(&self) { ... } fn discard(&self) { ... } fn icon(&self) -> Option<Icon> { ... } fn icon_name(&self) -> Option<GString> { ... } fn is_draft(&self) -> bool { ... } fn progress(&self) -> f64 { ... } fn subtitle(&self) -> Option<GString> { ... } fn title(&self) -> Option<GString> { ... } fn save_async<P: FnOnce(Result<(), Error>) + 'static>( &self, cancellable: Option<&impl IsA<Cancellable>>, callback: P, ) { ... } fn save_future( &self, ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>> { ... } fn set_icon(&self, icon: Option<&impl IsA<Icon>>) { ... } fn set_icon_name(&self, icon: Option<&str>) { ... } fn set_is_draft(&self, is_draft: bool) { ... } fn set_progress(&self, progress: f64) { ... } fn set_subtitle(&self, subtitle: Option<&str>) { ... } fn set_title(&self, title: Option<&str>) { ... } fn connect_close<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... } fn connect_discard<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... } fn connect_icon_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_icon_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_draft_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_progress_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_subtitle_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_title_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn close(&self)

Source

fn discard(&self)

Source

fn icon(&self) -> Option<Icon>

Source

fn icon_name(&self) -> Option<GString>

Source

fn is_draft(&self) -> bool

Source

fn progress(&self) -> f64

Source

fn subtitle(&self) -> Option<GString>

Source

fn title(&self) -> Option<GString>

Source

fn save_async<P: FnOnce(Result<(), Error>) + 'static>( &self, cancellable: Option<&impl IsA<Cancellable>>, callback: P, )

Source

fn save_future( &self, ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>

Source

fn set_icon(&self, icon: Option<&impl IsA<Icon>>)

Source

fn set_icon_name(&self, icon: Option<&str>)

Source

fn set_is_draft(&self, is_draft: bool)

Source

fn set_progress(&self, progress: f64)

Source

fn set_subtitle(&self, subtitle: Option<&str>)

Source

fn set_title(&self, title: Option<&str>)

Source

fn connect_close<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn connect_discard<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn connect_icon_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn connect_icon_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_is_draft_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_progress_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_subtitle_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_title_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§