Trait atk::prelude::AtkPlugExt[][src]

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

Trait containing all Plug methods.

Implementors

Plug

Required methods

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

Implementors