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),
F: 'static + Fn(&Self, &DBusInterface),
pub fn connect_interface_removed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self, &DBusInterface),
F: 'static + Fn(&Self, &DBusInterface),
Implementors
impl<O> DBusObjectExt for O where
O: IsA<DBusObject>,
O: IsA<DBusObject>,
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(&O, &DBusInterface),
F: 'static + Fn(&O, &DBusInterface),
pub fn connect_interface_removed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &DBusInterface),
F: 'static + Fn(&O, &DBusInterface),