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 widget in a gtk:socket widget, you can either create the gtk:plug widget with the gtk:plug-new function, call the gtk:plug-id function to get the window ID of the plug, and then pass that to the gtk:socket-add-id function, or you can call the gtk:socket-id function to get the window ID for the socket, and call the gtk:plug-new function passing in that ID.

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

See also

#2023-2-28