Atk.Plug
Description: Reference for Atk.Plug

### Class

# AtkPlug

#### Description [src]

    class Atk.Plug : Atk.Object {
      parent: AtkObject
    }

Toplevel for embedding into other processes

See `AtkSocket`

#### Ancestors

- AtkObject
- GObject

#### Implements

- AtkComponent

#### Constructors

###### atk_plug_new

Creates a new `AtkPlug` instance.

since: 1.30

#### Instance methods

###### atk_plug_get_id

Gets the unique ID of an `AtkPlug` object, which can be used to embed inside of an `AtkSocket` using atk_socket_embed().

since: 1.30

###### atk_plug_set_child

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

since: 2.35.0

##### Methods inherited from AtkObject (26)

Please see AtkObject for a full list of methods.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

##### Methods inherited from AtkComponent (16)

###### atk_component_add_focus_handler

Add the specified handler to the set of functions to be called when this object receives focus events (in or out). If the handler is already added it is not added again.

deprecated: 2.9.4

###### atk_component_contains

Checks whether the specified point is within the extent of the `component`.

###### atk_component_get_alpha

Returns the alpha value (i.e. the opacity) for this `component`, on a scale from 0 (fully transparent) to 1.0 (fully opaque).

since: 1.12

###### atk_component_get_extents

Gets the rectangle which gives the extent of the `component`.

###### atk_component_get_layer

Gets the layer of the component.

###### atk_component_get_mdi_zorder

Gets the zorder of the component. The value G_MININT will be returned if the layer of the component is not ATK_LAYER_MDI or ATK_LAYER_WINDOW.

###### atk_component_get_position

Gets the position of `component` in the form of a point specifying `component`‘s top-left corner.

deprecated: Unknown

###### atk_component_get_size

Gets the size of the `component` in terms of width and height.

deprecated: Unknown

###### atk_component_grab_focus

Grabs focus for this `component`.

###### atk_component_ref_accessible_at_point

Gets a reference to the accessible child, if one exists, at the coordinate point specified by `x` and `y`.

###### atk_component_remove_focus_handler

Remove the handler specified by `handler_id` from the list of functions to be executed when this object receives focus events (in or out).

deprecated: 2.9.4

###### atk_component_scroll_to

Makes `component` visible on the screen by scrolling all necessary parents.

since: 2.30

###### atk_component_scroll_to_point

Move the top-left of `component` to a given position of the screen by scrolling all necessary parents.

since: 2.30

###### atk_component_set_extents

Sets the extents of `component`.

###### atk_component_set_position

Sets the position of `component`.

###### atk_component_set_size

Set the size of the `component` in terms of width and height.

#### Properties

##### Properties inherited from AtkObject (15)

###### Atk.Object:accessible-component-layer

No description available.

###### Atk.Object:accessible-component-mdi-zorder

No description available.

###### Atk.Object:accessible-description

No description available.

###### Atk.Object:accessible-hypertext-nlinks

No description available.

###### Atk.Object:accessible-name

No description available.

###### Atk.Object:accessible-parent

No description available.

###### Atk.Object:accessible-role

No description available.

###### Atk.Object:accessible-table-caption

Table caption.

deprecated: Unknown

###### Atk.Object:accessible-table-caption-object

No description available.

###### Atk.Object:accessible-table-column-description

Accessible table column description.

deprecated: Unknown

###### Atk.Object:accessible-table-column-header

Accessible table column header.

deprecated: Unknown

###### Atk.Object:accessible-table-row-description

Accessible table row description.

deprecated: Unknown

###### Atk.Object:accessible-table-row-header

Accessible table row header.

deprecated: Unknown

###### Atk.Object:accessible-table-summary

No description available.

###### Atk.Object:accessible-value

Numeric value of this object, in case being and AtkValue.

deprecated: Unknown

#### Signals

##### Signals inherited from AtkObject (8)

###### AtkObject::active-descendant-changed

The “active-descendant-changed” signal is emitted by an object which has the state ATK_STATE_MANAGES_DESCENDANTS when the focus object in the object changes. For instance, a table will emit the signal when the cell in the table which has focus changes.

###### AtkObject::announcement

The “announcement” signal can be emitted to pass an announcement on to be read by a screen reader.

since: 2.46

###### AtkObject::children-changed

The signal “children-changed” is emitted when a child is added or removed form an object. It supports two details: “add” and “remove”

###### AtkObject::focus-event

The signal “focus-event” is emitted when an object gained or lost focus.

deprecated: 2.9.4

###### AtkObject::notification

The “notification” signal can be emitted to pass an announcement on to be read by a screen reader.

since: 2.50

###### AtkObject::property-change

The signal “property-change” is emitted when an object’s property value changes. `arg1` contains an `AtkPropertyValues` with the name and the new value of the property whose value has changed. Note that, as with GObject notify, getting this signal does not guarantee that the value of the property has actually changed; it may also be emitted when the setter of the property is called to reinstate the previous value.

###### AtkObject::state-change

The “state-change” signal is emitted when an object’s state changes. The detail value identifies the state type which has changed.

###### AtkObject::visible-data-changed

The “visible-data-changed” signal is emitted when the visual appearance of the object changed.

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

##### Signals inherited from AtkComponent (1)

###### AtkComponent::bounds-changed

The ‘bounds-changed” signal is emitted when the bposition or size of the component changes.

#### Class structure

    struct AtkPlugClass {
      AtkObjectClass parent_class;
      gchar* (* get_object_id) (
        AtkPlug* obj
      );

    }

No description available.

###### Class members

`parent_class: AtkObjectClass`
  No description available.
`get_object_id: gchar* (* get_object_id) ( AtkPlug* obj )`
  No description available.

#### Virtual methods

###### Atk.PlugClass.get_object_id

No description available.