Trait gio::prelude::ApplicationCommandLineExt [−][src]
pub trait ApplicationCommandLineExt {
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<String>;
fn set_exit_status(&self, exit_status: i32);
fn connect_property_arguments_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_options_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_platform_data_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Required Methods
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<String>
fn set_exit_status(&self, exit_status: i32)
fn connect_property_arguments_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_is_remote_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_options_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_platform_data_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<ApplicationCommandLine> + IsA<Object>> ApplicationCommandLineExt for O