Trait gio::prelude::DebugControllerExt

source ·
pub trait DebugControllerExt: IsA<DebugController> + Sealed + '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

Object Safety§

This trait is not object safe.

Implementors§