Trait ux::prelude::ApplicationCommandLineExt [−]
pub trait ApplicationCommandLineExt: 'static {
pub fn create_file_for_arg<P>(&self, arg: P) -> Option<File>
where
P: AsRef<OsStr>;
pub fn get_arguments(&self) -> Vec<OsString, Global>;
pub fn get_cwd(&self) -> Option<PathBuf>;
pub fn get_environ(&self) -> Vec<OsString, Global>;
pub fn get_exit_status(&self) -> i32;
pub fn get_is_remote(&self) -> bool;
pub fn get_options_dict(&self) -> Option<VariantDict>;
pub fn get_platform_data(&self) -> Option<Variant>;
pub fn get_stdin(&self) -> Option<InputStream>;
pub fn getenv<P>(&self, name: P) -> Option<GString>
where
P: AsRef<OsStr>;
pub fn set_exit_status(&self, exit_status: i32);
pub fn connect_property_is_remote_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self);
}Required methods
pub fn create_file_for_arg<P>(&self, arg: P) -> Option<File> where
P: AsRef<OsStr>,
P: AsRef<OsStr>,
pub fn get_arguments(&self) -> Vec<OsString, Global>
pub fn get_cwd(&self) -> Option<PathBuf>
pub fn get_environ(&self) -> Vec<OsString, Global>
pub fn get_exit_status(&self) -> i32
pub fn get_is_remote(&self) -> bool
pub fn get_options_dict(&self) -> Option<VariantDict>
pub fn get_platform_data(&self) -> Option<Variant>
pub fn get_stdin(&self) -> Option<InputStream>
pub fn getenv<P>(&self, name: P) -> Option<GString> where
P: AsRef<OsStr>,
P: AsRef<OsStr>,
pub fn set_exit_status(&self, exit_status: i32)
pub fn connect_property_is_remote_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
F: 'static + Fn(&Self),
Implementors
impl<O> ApplicationCommandLineExt for O where
O: IsA<ApplicationCommandLine>,
O: IsA<ApplicationCommandLine>,
pub fn create_file_for_arg<P>(&self, arg: P) -> Option<File> where
P: AsRef<OsStr>,
P: AsRef<OsStr>,
pub fn get_arguments(&self) -> Vec<OsString, Global>
pub fn get_cwd(&self) -> Option<PathBuf>
pub fn get_environ(&self) -> Vec<OsString, Global>
pub fn get_exit_status(&self) -> i32
pub fn get_is_remote(&self) -> bool
pub fn get_options_dict(&self) -> Option<VariantDict>
pub fn get_platform_data(&self) -> Option<Variant>
pub fn get_stdin(&self) -> Option<InputStream>
pub fn getenv<P>(&self, name: P) -> Option<GString> where
P: AsRef<OsStr>,
P: AsRef<OsStr>,
pub fn set_exit_status(&self, exit_status: i32)
pub fn connect_property_is_remote_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
F: 'static + Fn(&O),