pub trait NotificationExt: IsA<Notification> + Sealed + 'static {
    // Provided methods
    fn clicked(&self) { ... }
    fn close(&self) { ... }
    fn body(&self) -> Option<GString> { ... }
    fn id(&self) -> u64 { ... }
    fn tag(&self) -> Option<GString> { ... }
    fn title(&self) -> Option<GString> { ... }
    fn connect_clicked<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
    fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
    fn connect_body_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_id_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
    fn connect_tag_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_title_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
}
Available on crate feature v2_8 only.

Provided Methods§

source

fn clicked(&self)

Available on crate feature v2_12 only.
source

fn close(&self)

source

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

source

fn id(&self) -> u64

source

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

Available on crate feature v2_16 only.
source

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

source

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

Available on crate feature v2_12 only.
source

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

source

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

source

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

source

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

Available on crate feature v2_16 only.
source

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

Object Safety§

This trait is not object safe.

Implementors§