Trait gio::ApplicationExt[][src]

pub trait ApplicationExt {
    fn activate(&self);
fn get_application_id(&self) -> Option<String>;
fn get_flags(&self) -> ApplicationFlags;
fn get_inactivity_timeout(&self) -> u32;
fn get_is_registered(&self) -> bool;
fn get_is_remote(&self) -> bool;
fn hold(&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 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 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) -> SignalHandlerId;
fn connect_shutdown<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_startup<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_property_action_group_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_application_id_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_flags_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_inactivity_timeout_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_is_registered_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_is_remote_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_resource_base_path_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required Methods

Deprecated

Implementors