Trait gio::prelude::ApplicationCommandLineExt
source · [−]pub trait ApplicationCommandLineExt: 'static {
fn create_file_for_arg<P: AsRef<OsStr>>(&self, arg: P) -> Option<File>;
fn get_arguments(&self) -> Vec<OsString>;
fn get_cwd(&self) -> Option<PathBuf>;
fn get_environ(&self) -> Vec<OsString>;
fn get_exit_status(&self) -> i32;
fn get_is_remote(&self) -> bool;
fn get_platform_data(&self) -> Option<Variant>;
fn get_stdin(&self) -> Option<InputStream>;
fn getenv<P: AsRef<OsStr>>(&self, name: P) -> Option<GString>;
fn set_exit_status(&self, exit_status: i32);
fn connect_property_is_remote_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Required Methods
source
fn get_arguments(&self) -> Vec<OsString>
source
fn get_environ(&self) -> Vec<OsString>
source
fn get_exit_status(&self) -> i32
source
fn get_is_remote(&self) -> bool
source
fn get_platform_data(&self) -> Option<Variant>
source
fn get_stdin(&self) -> Option<InputStream>
source
fn set_exit_status(&self, exit_status: i32)
sourcefn connect_property_is_remote_notify<F: Fn(&Self) + 'static>(