diff --git a/docs/reference/gtk/tmpl/gtkplug.sgml b/docs/reference/gtk/tmpl/gtkplug.sgml deleted file mode 100644 index 3aa5179066..0000000000 --- a/docs/reference/gtk/tmpl/gtkplug.sgml +++ /dev/null @@ -1,126 +0,0 @@ - -GtkPlug - - -Toplevel for embedding into other processes - - - -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. - - - - -The #GtkPlug and #GtkSocket widgets are currently not available -on all platforms supported by GTK+. - - - - - - - - -#GtkSocket -the widget that a #GtkPlug plugs into. - - - - - - - - - - - - - - - - - - - -@plug: the object which received the signal. - - - - - - - - - - - - - - - -@plug: -@socket_id: - - - - - - - -@plug: -@display: -@socket_id: - - - - - - -@socket_id: the window ID of the socket, or 0. -@Returns: the new #GtkPlug widget. - - - - - - - -@display: -@socket_id: -@Returns: - - - - - - - -@plug: -@Returns: - - - - - - - -@plug: -@Returns: - - - - - - - -@plug: -@Returns: - - diff --git a/gtk/gtkplug.c b/gtk/gtkplug.c index 95e6224eb3..45352f250f 100644 --- a/gtk/gtkplug.c +++ b/gtk/gtkplug.c @@ -36,6 +36,27 @@ #include "gtkalias.h" +/** + * SECTION:gtkplug + * @Short_description: Toplevel for embedding into other processes + * @Title: GtkPlug + * @See_also: #GtkSocket + * + * 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 widget's 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 application's window. + * + * + * The #GtkPlug and #GtkSocket widgets are currently not available + * on all platforms supported by GTK+. + * + */ + static void gtk_plug_get_property (GObject *object, guint prop_id, GValue *value,