gio::prelude

Trait DebugControllerExt

Source
pub trait DebugControllerExt: IsA<DebugController> + 'static {
    // Provided methods
    fn is_debug_enabled(&self) -> bool { ... }
    fn set_debug_enabled(&self, debug_enabled: bool) { ... }
    fn connect_debug_enabled_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Available on crate feature v2_72 only.
Expand description

Trait containing all DebugController methods.

§Implementors

DebugControllerDBus, DebugController

Provided Methods§

Source

fn is_debug_enabled(&self) -> bool

Get the value of #GDebugController:debug-enabled.

§Returns

true if debug output should be exposed, false otherwise

Source

fn set_debug_enabled(&self, debug_enabled: bool)

Set the value of #GDebugController:debug-enabled.

§debug_enabled

true if debug output should be exposed, false otherwise

Source

fn connect_debug_enabled_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

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§