Package: gtk

Function gtk-socket-add-id

Lambda List

gtk-socket-add-id (socket window)

Arguments

socket -- a gtk-socket widget
window -- a :pointer with the window of a client participating in the XEMBED protocol

Details

Adds an XEMBED client, such as a gtk-plug widget, 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 the gtk-plug-new function, call the function gtk-plug-id to get the window ID of the plug, and then pass that to the function gtk-socket-add-id, or you can call the function gtk-socket-id to get the window ID for the socket, and call the function gtk-plug-new passing in that ID.

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

See also

2020-9-15