Trait gio::ApplicationExt[][src]

pub trait ApplicationExt: 'static {
    fn activate(&self);
fn add_main_option<'a, P: Into<Option<&'a str>>>(
        &self,
        long_name: &str,
        short_name: Char,
        flags: OptionFlags,
        arg: OptionArg,
        description: &str,
        arg_description: P
    );
fn bind_busy_property<P: IsA<Object>>(&self, object: &P, property: &str);
fn get_application_id(&self) -> Option<GString>;
fn get_dbus_object_path(&self) -> Option<GString>;
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<GString>;
fn hold(&self);
fn mark_busy(&self);
fn open(&self, files: &[File], hint: &str);
fn quit(&self);
fn register<'a, P: IsA<Cancellable> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        cancellable: Q
    ) -> Result<(), Error>;
fn release(&self);
fn send_notification<'a, P: Into<Option<&'a str>>>(
        &self,
        id: P,
        notification: &Notification
    );
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> + SetValueOptional>(
        &self,
        action_group: Option<&P>
    );
fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_command_line<F: Fn(&Self, &ApplicationCommandLine) -> i32 + '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_busy_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

fn activate(&self)[src]

fn add_main_option<'a, P: Into<Option<&'a str>>>(
    &self,
    long_name: &str,
    short_name: Char,
    flags: OptionFlags,
    arg: OptionArg,
    description: &str,
    arg_description: P
)
[src]

fn bind_busy_property<P: IsA<Object>>(&self, object: &P, property: &str)[src]

fn get_application_id(&self) -> Option<GString>[src]

fn get_dbus_object_path(&self) -> Option<GString>[src]

fn get_flags(&self) -> ApplicationFlags[src]

fn get_inactivity_timeout(&self) -> u32[src]

fn get_is_busy(&self) -> bool[src]

fn get_is_registered(&self) -> bool[src]

fn get_is_remote(&self) -> bool[src]

fn get_resource_base_path(&self) -> Option<GString>[src]

fn hold(&self)[src]

fn mark_busy(&self)[src]

fn open(&self, files: &[File], hint: &str)[src]

fn quit(&self)[src]

fn register<'a, P: IsA<Cancellable> + 'a, Q: Into<Option<&'a P>>>(
    &self,
    cancellable: Q
) -> Result<(), Error>
[src]

fn release(&self)[src]

fn send_notification<'a, P: Into<Option<&'a str>>>(
    &self,
    id: P,
    notification: &Notification
)
[src]

fn set_application_id<'a, P: Into<Option<&'a str>>>(&self, application_id: P)[src]

fn set_default(&self)[src]

fn set_flags(&self, flags: ApplicationFlags)[src]

fn set_inactivity_timeout(&self, inactivity_timeout: u32)[src]

fn set_resource_base_path<'a, P: Into<Option<&'a str>>>(&self, resource_path: P)[src]

fn unbind_busy_property<P: IsA<Object>>(&self, object: &P, property: &str)[src]

fn unmark_busy(&self)[src]

fn withdraw_notification(&self, id: &str)[src]

fn set_property_action_group<P: IsA<ActionGroup> + SetValueOptional>(
    &self,
    action_group: Option<&P>
)
[src]

fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId[src]

fn connect_command_line<F: Fn(&Self, &ApplicationCommandLine) -> i32 + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_shutdown<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId[src]

fn connect_startup<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId[src]

fn connect_property_action_group_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_application_id_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_flags_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_inactivity_timeout_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_is_busy_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_is_registered_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_is_remote_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_resource_base_path_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<Application>> ApplicationExt for O[src]

Loading content...