Name
GtkPlug -- Toplevel for embedding into other processes.
Description
Together with GtkSocket, GtkPlug provides the ability
to embed widgets from one process into another process
in a fashion that is transparent to the user. One
process creates a GtkSocket widget and, passes the
ID of that widgets window to the other process,
which then creates a GtkPlug with that window ID.
Any widgets contained in the GtkPlug then will appear
inside the first applications window.
Details
gtk_plug_construct ()
Finish the initialization of plug for a given GtkSocket identified by
socket_id. This function will generally only be used by classes deriving from GtkPlug.
gtk_plug_construct_for_display ()
Finish the initialization of plug for a given GtkSocket identified by
socket_id which is currently displayed on display.
This function will generally only be used by classes deriving from GtkPlug.
gtk_plug_new ()
Creates a new plug widget inside the GtkSocket identified
by socket_id. If socket_id is 0, the plug is left "unplugged" and
can later be plugged into a GtkSocket by gtk_socket_add_id().
gtk_plug_new_for_display ()
Create a new plug widget inside the GtkSocket identified by socket_id.
gtk_plug_get_id ()
Gets the window ID of a GtkPlug widget, which can then
be used to embed this window inside another window, for
instance with gtk_socket_add_id().