gio::prelude

Trait ApplicationExtManual

Source
pub trait ApplicationExtManual: Sealed + IsA<Application> {
    // Provided methods
    fn run(&self) -> ExitCode { ... }
    fn run_with_args<S: AsRef<str>>(&self, args: &[S]) -> ExitCode { ... }
    fn connect_open<F: Fn(&Self, &[File], &str) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn hold(&self) -> ApplicationHoldGuard { ... }
    fn mark_busy(&self) -> ApplicationBusyGuard { ... }
}

Provided Methods§

Source

fn run(&self) -> ExitCode

Source

fn run_with_args<S: AsRef<str>>(&self, args: &[S]) -> ExitCode

Source

fn connect_open<F: Fn(&Self, &[File], &str) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn hold(&self) -> ApplicationHoldGuard

Source

fn mark_busy(&self) -> ApplicationBusyGuard

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§