Socket.addId

void addId(xlib.types.Window window)

Adds an XEMBED client, such as a #GtkPlug, to the #GtkSocket. The client may be in the same process or in a different process.

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

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

Parameters

windowthe Window of a client participating in the XEMBED protocol.