[][src]Trait gio::prelude::DBusObjectExt

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

Required methods

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

fn get_interfaces(&self) -> Vec<DBusInterface>

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

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

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

Loading content...

Implementors

impl<O: IsA<DBusObject>> DBusObjectExt for O[src]

Loading content...