1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GtkPlug
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
Toplevel for embedding into other processes.
|
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
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
|
2002-01-09 00:02:30 +00:00
|
|
|
ID of that widgets window to the other process,
|
|
|
|
which then creates a #GtkPlug with that window ID.
|
1999-08-16 18:51:52 +00:00
|
|
|
Any widgets contained in the #GtkPlug then will appear
|
|
|
|
inside the first applications window.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
<variablelist>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term>#GtkSocket</term>
|
|
|
|
<listitem><para>the widget that a #GtkPlug plugs into.</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### STRUCT GtkPlug ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_plug_construct ##### -->
|
|
|
|
<para>
|
2002-01-09 00:02:30 +00:00
|
|
|
Finishes the creation of a #GtkPlug widget. This function
|
1999-08-16 18:51:52 +00:00
|
|
|
will generally only be used by classes deriving
|
|
|
|
from #GtkPlug.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@plug: a #GtkPlug widget.
|
2002-01-09 00:02:30 +00:00
|
|
|
@socket_id: the window ID of the socket.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_plug_new ##### -->
|
|
|
|
<para>
|
2002-01-09 00:02:30 +00:00
|
|
|
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().
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2002-01-09 00:02:30 +00:00
|
|
|
@socket_id: the window ID of the socket, or 0.
|
1999-08-16 18:51:52 +00:00
|
|
|
@Returns: the new #GtkPlug widget.
|
|
|
|
|
|
|
|
|
2001-09-08 06:24:46 +00:00
|
|
|
<!-- ##### FUNCTION gtk_plug_get_id ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@plug:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-07-05 02:54:11 +00:00
|
|
|
<!-- ##### SIGNAL GtkPlug::embedded ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@plug: the object which received the signal.
|
|
|
|
|