Socket.addId

Adds an XEMBED client, such as a gtk.Plug, to the gtk.Socket The client may be in the same process or in a different process.

To embed a gtk.Plug in a gtk.Socket, you can either create the gtk.Plug with gtk_plug_new (0), call Plug.getId to get the window ID of the plug, and then pass that to the Socket.addId, or you can call Socket.getId to get the window ID for the socket, and call Plug.new passing in that ID.

The gtk.Socket must have already be added into a toplevel window before you can make this call.

class Socket
void
addId
(
ulong window
)

Parameters

window ulong

the Window of a client participating in the XEMBED protocol.