summaryrefslogtreecommitdiff
path: root/docs/reference/gtk/tmpl/gtkplug.sgml
blob: 5cd03e51bc1cec7dd84101c28dc1825481fd3bb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!-- ##### 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
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.
</para>

<note>
<para>
The #GtkPlug and #GtkSocket widgets are currently not available 
on all platforms supported by GTK+.
</para>
</note>

<!-- ##### SECTION See_Also ##### -->
<para>
<variablelist>

<varlistentry>
<term>#GtkSocket</term>
<listitem><para>the widget that a #GtkPlug plugs into.</para></listitem>
</varlistentry>

</variablelist>
</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### STRUCT GtkPlug ##### -->
<para>

</para>


<!-- ##### SIGNAL GtkPlug::embedded ##### -->
<para>

</para>

@plug: the object which received the signal.

<!-- ##### ARG GtkPlug:embedded ##### -->
<para>

</para>

<!-- ##### FUNCTION gtk_plug_construct ##### -->
<para>
</para>

@plug: 
@socket_id: 


<!-- ##### FUNCTION gtk_plug_construct_for_display ##### -->
<para>

</para>

@plug: 
@display: 
@socket_id: 


<!-- ##### FUNCTION gtk_plug_new ##### -->
<para>
</para>

@socket_id: the window ID of the socket, or 0.
@Returns: the new #GtkPlug widget.


<!-- ##### FUNCTION gtk_plug_new_for_display ##### -->
<para>

</para>

@display: 
@socket_id: 
@Returns: 


<!-- ##### FUNCTION gtk_plug_get_id ##### -->
<para>

</para>

@plug: 
@Returns: