AtkSocket

AtkSocket

Synopsis

struct              AtkSocket;
AtkObject *         atk_socket_new                      (void);
void                atk_socket_embed                    (AtkSocket *obj,
                                                         gchar *plug_id);
gboolean            atk_socket_is_occupied              (AtkSocket *obj);

Description

Details

struct AtkSocket

struct AtkSocket {
  AtkObject parent;
};


atk_socket_new ()

AtkObject *         atk_socket_new                      (void);


atk_socket_embed ()

void                atk_socket_embed                    (AtkSocket *obj,
                                                         gchar *plug_id);

Embeds the children of an AtkPlug as the children of the AtkSocket. 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 (ie, at-spi2-atk). The implementor of the AtkSocket should call this function and pass the id for the plug as returned by atk_plug_get_id. It is the responsibility of the application to pass the plug id on to the process implementing the AtkSocket as needed.

obj :

an AtkSocket

plug_id :

the ID of an AtkPlug

Since 1.30


atk_socket_is_occupied ()

gboolean            atk_socket_is_occupied              (AtkSocket *obj);

Determines whether or not the socket has an embedded plug.

obj :

an AtkSocket

Returns :

TRUE if a plug is embedded in the socket

Since 1.30