Trait ux::prelude::ApplicationExt[]

pub trait ApplicationExt: 'static {
Show methods pub fn activate(&self);
pub fn add_main_option(
        &self,
        long_name: &str,
        short_name: Char,
        flags: OptionFlags,
        arg: OptionArg,
        description: &str,
        arg_description: Option<&str>
    );
pub fn bind_busy_property<P>(&self, object: &P, property: &str)
    where
        P: IsA<Object>
;
pub fn get_application_id(&self) -> Option<GString>;
pub fn get_dbus_connection(&self) -> Option<DBusConnection>;
pub fn get_dbus_object_path(&self) -> Option<GString>;
pub fn get_flags(&self) -> ApplicationFlags;
pub fn get_inactivity_timeout(&self) -> u32;
pub fn get_is_busy(&self) -> bool;
pub fn get_is_registered(&self) -> bool;
pub fn get_is_remote(&self) -> bool;
pub fn get_resource_base_path(&self) -> Option<GString>;
pub fn hold(&self);
pub fn mark_busy(&self);
pub fn open(&self, files: &[File], hint: &str);
pub fn quit(&self);
pub fn register<P>(&self, cancellable: Option<&P>) -> Result<(), Error>
    where
        P: IsA<Cancellable>
;
pub fn release(&self);
pub fn send_notification(
        &self,
        id: Option<&str>,
        notification: &Notification
    );
pub fn set_application_id(&self, application_id: Option<&str>);
pub fn set_default(&self);
pub fn set_flags(&self, flags: ApplicationFlags);
pub fn set_inactivity_timeout(&self, inactivity_timeout: u32);
pub fn set_option_context_description(&self, description: Option<&str>);
pub fn set_option_context_parameter_string(
        &self,
        parameter_string: Option<&str>
    );
pub fn set_option_context_summary(&self, summary: Option<&str>);
pub fn set_resource_base_path(&self, resource_path: Option<&str>);
pub fn unbind_busy_property<P>(&self, object: &P, property: &str)
    where
        P: IsA<Object>
;
pub fn unmark_busy(&self);
pub fn withdraw_notification(&self, id: &str);
pub fn set_property_action_group<P>(&self, action_group: Option<&P>)
    where
        P: IsA<ActionGroup> + SetValueOptional
;
pub fn connect_activate<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_command_line<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &ApplicationCommandLine) -> i32
;
pub fn connect_handle_local_options<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &VariantDict) -> i32
;
pub fn connect_shutdown<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_startup<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_action_group_notify<F>(
        &self,
        f: F
    ) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_application_id_notify<F>(
        &self,
        f: F
    ) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_flags_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_inactivity_timeout_notify<F>(
        &self,
        f: F
    ) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_is_busy_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_is_registered_notify<F>(
        &self,
        f: F
    ) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_is_remote_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_resource_base_path_notify<F>(
        &self,
        f: F
    ) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
}

Required methods

pub fn activate(&self)

pub fn add_main_option(
    &self,
    long_name: &str,
    short_name: Char,
    flags: OptionFlags,
    arg: OptionArg,
    description: &str,
    arg_description: Option<&str>
)

pub fn bind_busy_property<P>(&self, object: &P, property: &str) where
    P: IsA<Object>, 

pub fn get_application_id(&self) -> Option<GString>

pub fn get_dbus_connection(&self) -> Option<DBusConnection>

pub fn get_dbus_object_path(&self) -> Option<GString>

pub fn get_flags(&self) -> ApplicationFlags

pub fn get_inactivity_timeout(&self) -> u32

pub fn get_is_busy(&self) -> bool

pub fn get_is_registered(&self) -> bool

pub fn get_is_remote(&self) -> bool

pub fn get_resource_base_path(&self) -> Option<GString>

pub fn hold(&self)

pub fn mark_busy(&self)

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

pub fn quit(&self)

pub fn register<P>(&self, cancellable: Option<&P>) -> Result<(), Error> where
    P: IsA<Cancellable>, 

pub fn release(&self)

pub fn send_notification(&self, id: Option<&str>, notification: &Notification)

pub fn set_application_id(&self, application_id: Option<&str>)

pub fn set_default(&self)

pub fn set_flags(&self, flags: ApplicationFlags)

pub fn set_inactivity_timeout(&self, inactivity_timeout: u32)

pub fn set_option_context_description(&self, description: Option<&str>)

pub fn set_option_context_parameter_string(
    &self,
    parameter_string: Option<&str>
)

pub fn set_option_context_summary(&self, summary: Option<&str>)

pub fn set_resource_base_path(&self, resource_path: Option<&str>)

pub fn unbind_busy_property<P>(&self, object: &P, property: &str) where
    P: IsA<Object>, 

pub fn unmark_busy(&self)

pub fn withdraw_notification(&self, id: &str)

pub fn set_property_action_group<P>(&self, action_group: Option<&P>) where
    P: IsA<ActionGroup> + SetValueOptional

pub fn connect_activate<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

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

pub fn connect_handle_local_options<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &VariantDict) -> i32

pub fn connect_shutdown<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

pub fn connect_startup<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

pub fn connect_property_action_group_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

pub fn connect_property_application_id_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

pub fn connect_property_flags_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

pub fn connect_property_inactivity_timeout_notify<F>(
    &self,
    f: F
) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

pub fn connect_property_is_busy_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

pub fn connect_property_is_registered_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

pub fn connect_property_is_remote_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

pub fn connect_property_resource_base_path_notify<F>(
    &self,
    f: F
) -> SignalHandlerId where
    F: 'static + Fn(&Self), 

Loading content...

Implementors

impl<O> ApplicationExt for O where
    O: IsA<Application>, 

Loading content...