Trait webkit2gtk::NotificationExt
source · 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§
fn close(&self)
fn body(&self) -> Option<GString>
fn id(&self) -> u64
fn title(&self) -> Option<GString>
sourcefn connect_clicked<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_clicked<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Available on crate feature
v2_12
only.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
sourcefn connect_tag_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_tag_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Available on crate feature
v2_16
only.fn connect_title_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Object Safety§
This trait is not object safe.