Trait ux::prelude::DBusObjectExt[]

pub trait DBusObjectExt: 'static {
    pub fn get_interface(&self, interface_name: &str) -> Option<DBusInterface>;
pub fn get_interfaces(&self) -> Vec<DBusInterface, Global>;
pub fn get_object_path(&self) -> Option<GString>;
pub fn connect_interface_added<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &DBusInterface)
;
pub fn connect_interface_removed<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &DBusInterface)
; }

Required methods

pub fn get_interface(&self, interface_name: &str) -> Option<DBusInterface>

pub fn get_interfaces(&self) -> Vec<DBusInterface, Global>

pub fn get_object_path(&self) -> Option<GString>

pub fn connect_interface_added<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &DBusInterface), 

pub fn connect_interface_removed<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&Self, &DBusInterface), 

Loading content...

Implementors

impl<O> DBusObjectExt for O where
    O: IsA<DBusObject>, 

Loading content...