Class: Atk::Plug

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#child=(child) ⇒ nil

Sets child as accessible child of plug and plug as accessible parent of child. child can be NULL.

In some cases, one can not use the AtkPlug type directly as accessible object for the toplevel widget of the application. For instance in the gtk case, GtkPlugAccessible can not inherit both from GtkWindowAccessible and from AtkPlug. In such a case, one can create, in addition to the standard accessible object for the toplevel widget, an AtkPlug object, and make the former the child of the latter by calling atk_plug_set_child().

Parameters:

  • child (Atk::Object)

    an Atk::Object to be set as accessible child of plug.

Returns:

  • (nil)

#idString

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

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

Returns:

  • (String)

    the unique ID for the plug

#newAtk::Object

Creates a new Atk::Plug instance.

Returns: