1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Toplevel for embedding into other processes.
7 <!-- ##### SECTION Long_Description ##### -->
9 Together with #GtkSocket, #GtkPlug provides the ability
10 to embed widgets from one process into another process
11 in a fashion that is transparent to the user. One
12 process creates a #GtkSocket widget and, passes the
13 XID of that widgets window to the other process,
14 which then creates a #GtkPlug window with that XID.
15 Any widgets contained in the #GtkPlug then will appear
16 inside the first applications window.
19 <!-- ##### SECTION See_Also ##### -->
24 <term>#GtkSocket</term>
25 <listitem><para>the widget that a #GtkPlug plugs into.</para></listitem>
31 <!-- ##### STRUCT GtkPlug ##### -->
40 <!-- ##### FUNCTION gtk_plug_construct ##### -->
42 Finish the creation of a #GtkPlug widget. This function
43 will generally only be used by classes deriving
47 @plug: a #GtkPlug widget.
48 @socket_id: the XID of the socket's window.
51 <!-- ##### FUNCTION gtk_plug_new ##### -->
53 Create a new plug widget inside the #GtkSocket identified
57 @socket_id: the XID of the socket's window.
58 @Returns: the new #GtkPlug widget.