Trait gio::NotificationExt
[−]
[src]
pub trait NotificationExt { fn add_button(&self, label: &str, detailed_action: &str); fn add_button_with_target_value<'a, P: Into<Option<&'a Variant>>>(
&self,
label: &str,
action: &str,
target: P
); fn set_body<'a, P: Into<Option<&'a str>>>(&self, body: P); fn set_default_action(&self, detailed_action: &str); fn set_default_action_and_target_value<'a, P: Into<Option<&'a Variant>>>(
&self,
action: &str,
target: P
); fn set_icon<P: IsA<Icon>>(&self, icon: &P); fn set_priority(&self, priority: NotificationPriority); fn set_title(&self, title: &str); fn set_urgent(&self, urgent: bool); }
Required Methods
fn set_body<'a, P: Into<Option<&'a str>>>(&self, body: P)
fn set_default_action(&self, detailed_action: &str)
fn set_default_action_and_target_value<'a, P: Into<Option<&'a Variant>>>(
&self,
action: &str,
target: P
)
&self,
action: &str,
target: P
)
fn set_icon<P: IsA<Icon>>(&self, icon: &P)
fn set_priority(&self, priority: NotificationPriority)
fn set_title(&self, title: &str)
fn set_urgent(&self, urgent: bool)
Implementors
impl<O: IsA<Notification>> NotificationExt for O