Atk.Plug¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class Atk.Plug(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Toplevel for embedding into other processes
See [class`AtkSocket`]
- classmethod new()[source]¶
- Returns:
the newly created
Atk.Plug- Return type:
Creates a new
Atk.Pluginstance.New in version 1.30.
- get_id()[source]¶
- Returns:
the unique ID for the plug
- Return type:
Gets the unique ID of an
Atk.Plugobject, which can be used to embed inside of anAtk.SocketusingAtk.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.Plugobject should call this function (after atk-bridge is loaded) and pass the value to the process implementing theAtk.Socket, so it could embed the plug.New in version 1.30.
- set_child(child)[source]¶
- Parameters:
child (
Atk.Object) – anAtk.Objectto be set as accessible child of self.
Sets child as accessible child of self and self as accessible parent of child. child can be
None.In some cases, one can not use the
Atk.Plugtype 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 fromAtk.Plug. In such a case, one can create, in addition to the standard accessible object for the toplevel widget, anAtk.Plugobject, and make the former the child of the latter by callingAtk.Plug.set_child().New in version 2.35.0.