Trait atk::prelude::AtkSocketExt[][src]

pub trait AtkSocketExt: 'static {
    fn embed(&self, plug_id: &str);
fn is_occupied(&self) -> bool; }
Expand description

Trait containing all Socket methods.

Implementors

Socket

Required methods

Embeds the children of an Plug as the children of the Socket. The plug may be in the same process or in a different process.

The class item used by this function should be filled in by the IPC layer (usually at-spi2-atk). The implementor of the AtkSocket should call this function and pass the id for the plug as returned by AtkPlugExt::id(). It is the responsibility of the application to pass the plug id on to the process implementing the Socket as needed.

plug_id

the ID of an Plug

Determines whether or not the socket has an embedded plug.

Returns

TRUE if a plug is embedded in the socket

Implementors