libadwaita::subclass::prelude

Trait ApplicationImpl

Source
pub trait ApplicationImpl: ObjectImpl + ApplicationImplExt {
    // Provided methods
    fn activate(&self) { ... }
    fn after_emit(&self, platform_data: &Variant) { ... }
    fn before_emit(&self, platform_data: &Variant) { ... }
    fn command_line(&self, command_line: &ApplicationCommandLine) -> ExitCode { ... }
    fn local_command_line(
        &self,
        arguments: &mut ArgumentList,
    ) -> Option<ExitCode> { ... }
    fn open(&self, files: &[File], hint: &str) { ... }
    fn quit_mainloop(&self) { ... }
    fn run_mainloop(&self) { ... }
    fn shutdown(&self) { ... }
    fn startup(&self) { ... }
    fn handle_local_options(&self, options: &VariantDict) -> ExitCode { ... }
}

Provided Methods§

Source

fn activate(&self)

Source

fn after_emit(&self, platform_data: &Variant)

Source

fn before_emit(&self, platform_data: &Variant)

Source

fn command_line(&self, command_line: &ApplicationCommandLine) -> ExitCode

Source

fn local_command_line(&self, arguments: &mut ArgumentList) -> Option<ExitCode>

Source

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

Source

fn quit_mainloop(&self)

Source

fn run_mainloop(&self)

Source

fn shutdown(&self)

Source

fn startup(&self)

Source

fn handle_local_options(&self, options: &VariantDict) -> ExitCode

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§