Trait gio::prelude::ApplicationExt
[−]
[src]
pub trait ApplicationExt { fn activate(&self); fn bind_busy_property<P: IsA<Object>>(&self, object: &P, property: &str); fn get_application_id(&self) -> Option<String>; fn get_dbus_object_path(&self) -> Option<String>; fn get_flags(&self) -> ApplicationFlags; fn get_inactivity_timeout(&self) -> u32; fn get_is_busy(&self) -> bool; fn get_is_registered(&self) -> bool; fn get_is_remote(&self) -> bool; fn get_resource_base_path(&self) -> Option<String>; fn hold(&self); fn mark_busy(&self); fn open(&self, files: &[File], hint: &str); fn quit(&self); fn register<'a, P: Into<Option<&'a Cancellable>>>(
&self,
cancellable: P
) -> Result<(), Error>; fn release(&self); fn run(&self, argv: &[&str]) -> i32; fn send_notification<'a, P: Into<Option<&'a str>>>(
&self,
id: P,
notification: &Notification
); fn set_action_group<'a, P: IsA<ActionGroup> + 'a, Q: Into<Option<&'a P>>>(
&self,
action_group: Q
); fn set_application_id<'a, P: Into<Option<&'a str>>>(
&self,
application_id: P
); fn set_default(&self); fn set_flags(&self, flags: ApplicationFlags); fn set_inactivity_timeout(&self, inactivity_timeout: u32); fn set_resource_base_path<'a, P: Into<Option<&'a str>>>(
&self,
resource_path: P
); fn unbind_busy_property<P: IsA<Object>>(&self, object: &P, property: &str); fn unmark_busy(&self); fn withdraw_notification(&self, id: &str); fn set_property_action_group<P: IsA<ActionGroup> + IsA<Object>>(
&self,
action_group: Option<&P>
); fn get_property_application_id(&self) -> Option<String>; fn set_property_application_id(&self, application_id: Option<&str>); fn get_property_flags(&self) -> ApplicationFlags; fn set_property_flags(&self, flags: ApplicationFlags); fn get_property_inactivity_timeout(&self) -> u32; fn set_property_inactivity_timeout(&self, inactivity_timeout: u32); fn get_property_is_registered(&self) -> bool; fn get_property_is_remote(&self) -> bool; fn get_property_resource_base_path(&self) -> Option<String>; fn set_property_resource_base_path(&self, resource_base_path: Option<&str>); fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_shutdown<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_startup<F: Fn(&Self) + 'static>(&self, f: F) -> u64; }
Required Methods
fn activate(&self)
fn bind_busy_property<P: IsA<Object>>(&self, object: &P, property: &str)
fn get_application_id(&self) -> Option<String>
fn get_dbus_object_path(&self) -> Option<String>
fn get_flags(&self) -> ApplicationFlags
fn get_inactivity_timeout(&self) -> u32
fn get_is_busy(&self) -> bool
fn get_is_registered(&self) -> bool
fn get_is_remote(&self) -> bool
fn get_resource_base_path(&self) -> Option<String>
fn hold(&self)
fn mark_busy(&self)
fn open(&self, files: &[File], hint: &str)
fn quit(&self)
fn register<'a, P: Into<Option<&'a Cancellable>>>(
&self,
cancellable: P
) -> Result<(), Error>
&self,
cancellable: P
) -> Result<(), Error>
fn release(&self)
fn run(&self, argv: &[&str]) -> i32
fn send_notification<'a, P: Into<Option<&'a str>>>(
&self,
id: P,
notification: &Notification
)
&self,
id: P,
notification: &Notification
)
fn set_action_group<'a, P: IsA<ActionGroup> + 'a, Q: Into<Option<&'a P>>>(
&self,
action_group: Q
)
&self,
action_group: Q
)
fn set_application_id<'a, P: Into<Option<&'a str>>>(&self, application_id: P)
fn set_default(&self)
fn set_flags(&self, flags: ApplicationFlags)
fn set_inactivity_timeout(&self, inactivity_timeout: u32)
fn set_resource_base_path<'a, P: Into<Option<&'a str>>>(&self, resource_path: P)
fn unbind_busy_property<P: IsA<Object>>(&self, object: &P, property: &str)
fn unmark_busy(&self)
fn withdraw_notification(&self, id: &str)
fn set_property_action_group<P: IsA<ActionGroup> + IsA<Object>>(
&self,
action_group: Option<&P>
)
&self,
action_group: Option<&P>
)
fn get_property_application_id(&self) -> Option<String>
fn set_property_application_id(&self, application_id: Option<&str>)
fn get_property_flags(&self) -> ApplicationFlags
fn set_property_flags(&self, flags: ApplicationFlags)
fn get_property_inactivity_timeout(&self) -> u32
fn set_property_inactivity_timeout(&self, inactivity_timeout: u32)
fn get_property_is_registered(&self) -> bool
fn get_property_is_remote(&self) -> bool
fn get_property_resource_base_path(&self) -> Option<String>
fn set_property_resource_base_path(&self, resource_base_path: Option<&str>)
fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> u64
fn connect_shutdown<F: Fn(&Self) + 'static>(&self, f: F) -> u64
fn connect_startup<F: Fn(&Self) + 'static>(&self, f: F) -> u64
Implementors
impl<O: IsA<Application> + IsA<Object>> ApplicationExt for O