[][src]Trait atk::AtkPlugExt

pub trait AtkPlugExt: 'static {
    fn get_id(&self) -> Option<GString>;
}

Trait containing all Plug methods.

Implementors

Plug

Required methods

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

Gets the unique ID of an Plug object, which can be used to embed inside of an Socket using AtkSocketExt::embed.

Internally, this calls a class function that should be registered by the IPC layer (usually at-spi2-atk). The implementor of an Plug object should call this function (after atk-bridge is loaded) and pass the value to the process implementing the Socket, so it could embed the plug.

Returns

the unique ID for the plug

Loading content...

Implementors

impl<O: IsA<Plug>> AtkPlugExt for O[src]

Loading content...