~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/GtkPlug.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-05-04 12:24:25 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20070504122425-0m8midgzrp40y8w2
Tags: 2.10.12-1ubuntu1
* Sync with Debian
* New upstream version:
  Fixed bugs:
  - 379414 file chooser warnings when changing path in the entry
  - 418585 GtkFileChooserDefault sizing code is not DPI independent
  - 419568 Crash in search if start with special letter
  - 435062 build dies with icon cache validation
  - 379399 Segfault to call gtk_print_operation_run twice.
  - 387889 cups backend has problems when there are too many printers
  - 418531 invalid read to gtkicontheme.c gtk_icon_theme_lookup_icon...
  - 423916 crash in color scheme code
  - 424042 Segmentation fault while quickly pressing Alt+arrows
  - 415260 Protect against negative indices when setting values in G...
  - 419171 XGetVisualInfo() may not set nxvisuals
  - 128852 Gdk cursors don't look good on win32
  - 344657 Ctrl-H doesn't toggle "Show Hidden Files" setting
  - 345345 PrintOperation::paginate is not emitted for class handler
  - 347567 GtkPrintOperation::end-print is not emitted if it's cance...
  - 369112 gtk_ui_manager_add_ui should accept unnamed separator
  - 392015 Selected menu item invisible on Windows Vista
  - 399253 MS-Windows Theme Bottom Tab placement rendering glitches
  - 399425 gtk_input_dialog_fill_axes() adds child to gtkscrolledwin...
  - 403251 [patch] little memory leak in GtkPrintJob
  - 403267 [patch] memory leak in GtkPageSetupUnixDialog
  - 403470 MS-Windows Theme tab placement other than on top leaks a ...
  - 404506 Windows system fonts that have multi-byte font names cann...
  - 405089 Incorrect window placement for GtkEventBox private window
  - 405515 Minor leak in gtkfilesystemmodel.c
  - 405539 gdk_pixbuf_save() for PNG saver can return FALSE without ...
  - 415681 gdk_window_clear_area includes an extra line and column o...
  - 418219 GtkRecentChooser should apply filter before sorting and c...
  - 418403 Scroll to printer after selecting it from settings
  - 421985 _gtk_print_operation_platform_backend_launch_preview
  - 421990 gtk_print_job_get_surface
  - 421993 gtk_print_operation_init
  - 423064 Conditional jump or move depends on uninitialised value(s...
  - 423722 Fix printing header in gtk-demo
  - 424168 gtk_print_operation_run on async preview
  - 425655 Don't install gtk+-unix-print-2.0.pc on non-UNIX platforms
  - 425786 GDK segfaults if XineramaQueryScreens fails
  - 428665 Lpr Backend gets stuck in infinite loop during gtk_enumer...
  - 429902 GtkPrintOperation leaks cairo contextes
  - 431997 First delay of GdkPixbufAnimationIter is wrong
  - 433242 Inconsistent scroll arrow position calculations
  - 433972 Placing gtk.Expander inside a gtk.TextView() changes gtk....
  - 434261 _gtk_toolbar_elide_underscores incorrectly handles some s...
  - 383354 ctrl-L should make 'Location' entry disappear
  - 418673 gtk_recent_manager_add_item
  - 429732 gtk_accel_group_finalize accesses invalid memory
  - 435028 WM_CLIENT_LEADER is wrong on the leader_window
  - 431067 Background of the header window is not updated
  - 338843 add recent files support inside the ui manager
  - 148535 add drop shadow to menus, tooltips, etc. under Windows XP
* debian/control.in:
  - Conflicts on ubuntulooks (<= 0.9.11-1)
* debian/patches/15_default-fallback-icon-theme.patch:
  - patch from Debian, fallback on gnome icon theme

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
5
<title>GtkPlug</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
 
7
<link rel="start" href="index.html" title="GTK+ Reference Manual">
 
8
<link rel="up" href="PlugSocket.html" title="Cross-process Embedding">
 
9
<link rel="prev" href="PlugSocket.html" title="Cross-process Embedding">
 
10
<link rel="next" href="GtkSocket.html" title="GtkSocket">
 
11
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
<link rel="part" href="gtk.html" title="Part&#160;I.&#160;GTK+ Overview">
 
14
<link rel="part" href="gtkbase.html" title="Part&#160;II.&#160;GTK+ Core Reference">
 
15
<link rel="part" href="gtkobjects.html" title="Part&#160;III.&#160;GTK+ Widgets and Objects">
 
16
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
 
17
<link rel="chapter" href="ch02.html" title="Widget Gallery">
 
18
<link rel="chapter" href="WindowWidgets.html" title="Windows">
 
19
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
 
20
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
 
21
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
 
22
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
 
23
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
 
24
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
 
25
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
 
26
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
 
27
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
 
28
<link rel="chapter" href="Ornaments.html" title="Ornaments">
 
29
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
 
30
<link rel="chapter" href="Printing.html" title="Printing">
 
31
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
 
32
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
 
33
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
 
34
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
 
35
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
 
36
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
 
37
<link rel="part" href="migrating.html" title="Part&#160;IV.&#160;Migrating from Previous Versions of GTK+">
 
38
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
 
39
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
 
40
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
 
41
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and GtkComboBoxEntry">
 
42
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
 
43
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
 
44
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
 
45
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
 
46
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
 
47
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
 
48
<link rel="part" href="pt05.html" title="Part&#160;V.&#160;GTK+ Tools">
 
49
<link rel="glossary" href="glossary.html" title="Glossary">
 
50
<link rel="index" href="ix01.html" title="Index">
 
51
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
 
52
<link rel="index" href="ix03.html" title="Index of new symbols in 2.2">
 
53
<link rel="index" href="ix04.html" title="Index of new symbols in 2.4">
 
54
<link rel="index" href="ix05.html" title="Index of new symbols in 2.6">
 
55
<link rel="index" href="ix06.html" title="Index of new symbols in 2.8">
 
56
<link rel="index" href="ix07.html" title="Index of new symbols in 2.10">
 
57
</head>
 
58
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
59
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
60
<tr valign="middle">
 
61
<td><a accesskey="p" href="PlugSocket.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
62
<td><a accesskey="u" href="PlugSocket.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
63
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
64
<th width="100%" align="center">GTK+ Reference Manual</th>
 
65
<td><a accesskey="n" href="GtkSocket.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
66
</tr>
 
67
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3823179" class="shortcut">Top</a>
 
68
                  &#160;|&#160;
 
69
                  <a href="#id3823470" class="shortcut">Description</a>
 
70
                  &#160;|&#160;
 
71
                  <a href="#id3823350" class="shortcut">Object Hierarchy</a>
 
72
                  &#160;|&#160;
 
73
                  <a href="#id3823419" class="shortcut">Implemented Interfaces</a>
 
74
                  &#160;|&#160;
 
75
                  <a href="#id3823442" class="shortcut">Signals</a></nobr></td></tr>
 
76
</table>
 
77
<div class="refentry" lang="en">
 
78
<a name="GtkPlug"></a><div class="titlepage"></div>
 
79
<div class="refnamediv"><table width="100%"><tr>
 
80
<td valign="top">
 
81
<h2>
 
82
<a name="id3823179"></a><span class="refentrytitle">GtkPlug</span>
 
83
</h2>
 
84
<p>GtkPlug &#8212; Toplevel for embedding into other processes</p>
 
85
</td>
 
86
<td valign="top" align="right"></td>
 
87
</tr></table></div>
 
88
<div class="refsynopsisdiv">
 
89
<h2>Synopsis</h2>
 
90
<pre class="synopsis">
 
91
 
 
92
#include &lt;gtk/gtk.h&gt;
 
93
 
 
94
 
 
95
                    <a href="GtkPlug.html#GtkPlug-struct">GtkPlug</a>;
 
96
void                <a href="GtkPlug.html#gtk-plug-construct">gtk_plug_construct</a>                  (<a href="GtkPlug.html" title="GtkPlug">GtkPlug</a> *plug,
 
97
                                                         <a
 
98
href="../gdk/gdk-Event-Structures.html#GdkNativeWindow"
 
99
>GdkNativeWindow</a> socket_id);
 
100
void                <a href="GtkPlug.html#gtk-plug-construct-for-display">gtk_plug_construct_for_display</a>      (<a href="GtkPlug.html" title="GtkPlug">GtkPlug</a> *plug,
 
101
                                                         <a
 
102
href="../gdk/GdkDisplay.html"
 
103
>GdkDisplay</a> *display,
 
104
                                                         <a
 
105
href="../gdk/gdk-Event-Structures.html#GdkNativeWindow"
 
106
>GdkNativeWindow</a> socket_id);
 
107
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*          <a href="GtkPlug.html#gtk-plug-new">gtk_plug_new</a>                        (<a
 
108
href="../gdk/gdk-Event-Structures.html#GdkNativeWindow"
 
109
>GdkNativeWindow</a> socket_id);
 
110
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*          <a href="GtkPlug.html#gtk-plug-new-for-display">gtk_plug_new_for_display</a>            (<a
 
111
href="../gdk/GdkDisplay.html"
 
112
>GdkDisplay</a> *display,
 
113
                                                         <a
 
114
href="../gdk/gdk-Event-Structures.html#GdkNativeWindow"
 
115
>GdkNativeWindow</a> socket_id);
 
116
<a
 
117
href="../gdk/gdk-Event-Structures.html#GdkNativeWindow"
 
118
>GdkNativeWindow</a>     <a href="GtkPlug.html#gtk-plug-get-id">gtk_plug_get_id</a>                     (<a href="GtkPlug.html" title="GtkPlug">GtkPlug</a> *plug);
 
119
 
 
120
 
 
121
</pre>
 
122
</div>
 
123
<div class="refsect1" lang="en">
 
124
<a name="id3823350"></a><h2>Object Hierarchy</h2>
 
125
<pre class="synopsis">
 
126
 
 
127
  GObject
 
128
   +----GInitiallyUnowned
 
129
         +----<a href="GtkObject.html" title="GtkObject">GtkObject</a>
 
130
               +----<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
 
131
                     +----<a href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
 
132
                           +----<a href="GtkBin.html" title="GtkBin">GtkBin</a>
 
133
                                 +----<a href="GtkWindow.html" title="GtkWindow">GtkWindow</a>
 
134
                                       +----GtkPlug
 
135
</pre>
 
136
</div>
 
137
<div class="refsect1" lang="en">
 
138
<a name="id3823419"></a><h2>Implemented Interfaces</h2>
 
139
<p>
 
140
GtkPlug implements
 
141
 AtkImplementorIface.</p>
 
142
</div>
 
143
<div class="refsect1" lang="en">
 
144
<a name="id3823442"></a><h2>Signals</h2>
 
145
<pre class="synopsis">
 
146
 
 
147
  "<a href="GtkPlug.html#GtkPlug-embedded">embedded</a>"                                       : Run Last
 
148
</pre>
 
149
</div>
 
150
<div class="refsect1" lang="en">
 
151
<a name="id3823470"></a><h2>Description</h2>
 
152
<p>
 
153
Together with <a href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a>, <a href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> provides the ability
 
154
to embed widgets from one process into another process
 
155
in a fashion that is transparent to the user. One
 
156
process creates a <a href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> widget and, passes the
 
157
ID of that widgets window to the other process, 
 
158
which then creates a <a href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> with that window ID.
 
159
Any widgets contained in the <a href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> then will appear
 
160
inside the first applications window.
 
161
</p>
 
162
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
 
163
<h3 class="title">Note</h3>
 
164
<p>
 
165
The <a href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> and <a href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> widgets are currently not available 
 
166
on all platforms supported by GTK+.
 
167
</p>
 
168
</div>
 
169
</div>
 
170
<div class="refsect1" lang="en">
 
171
<a name="id3823553"></a><h2>Details</h2>
 
172
<div class="refsect2" lang="en">
 
173
<a name="id3823563"></a><h3>
 
174
<a name="GtkPlug-struct"></a>GtkPlug</h3>
 
175
<a class="indexterm" name="id3823577"></a><pre class="programlisting">typedef struct _GtkPlug GtkPlug;</pre>
 
176
<p>
 
177
 
 
178
</p>
 
179
</div>
 
180
<hr>
 
181
<div class="refsect2" lang="en">
 
182
<a name="id3823591"></a><h3>
 
183
<a name="gtk-plug-construct"></a>gtk_plug_construct ()</h3>
 
184
<a class="indexterm" name="id3823605"></a><pre class="programlisting">void                gtk_plug_construct                  (<a href="GtkPlug.html" title="GtkPlug">GtkPlug</a> *plug,
 
185
                                                         <a
 
186
href="../gdk/gdk-Event-Structures.html#GdkNativeWindow"
 
187
>GdkNativeWindow</a> socket_id);</pre>
 
188
<p>
 
189
Finish the initialization of <em class="parameter"><code>plug</code></em> for a given <a href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> identified by
 
190
<em class="parameter"><code>socket_id</code></em>. This function will generally only be used by classes deriving from <a href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a>.</p>
 
191
<p>
 
192
</p>
 
193
<div class="variablelist"><table border="0">
 
194
<col align="left" valign="top">
 
195
<tbody>
 
196
<tr>
 
197
<td><span class="term"><em class="parameter"><code>plug</code></em>&#160;:</span></td>
 
198
<td> a <a href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a>.
 
199
</td>
 
200
</tr>
 
201
<tr>
 
202
<td><span class="term"><em class="parameter"><code>socket_id</code></em>&#160;:</span></td>
 
203
<td> the XID of the socket's window.
 
204
</td>
 
205
</tr>
 
206
</tbody>
 
207
</table></div>
 
208
</div>
 
209
<hr>
 
210
<div class="refsect2" lang="en">
 
211
<a name="id3823714"></a><h3>
 
212
<a name="gtk-plug-construct-for-display"></a>gtk_plug_construct_for_display ()</h3>
 
213
<a class="indexterm" name="id3823730"></a><pre class="programlisting">void                gtk_plug_construct_for_display      (<a href="GtkPlug.html" title="GtkPlug">GtkPlug</a> *plug,
 
214
                                                         <a
 
215
href="../gdk/GdkDisplay.html"
 
216
>GdkDisplay</a> *display,
 
217
                                                         <a
 
218
href="../gdk/gdk-Event-Structures.html#GdkNativeWindow"
 
219
>GdkNativeWindow</a> socket_id);</pre>
 
220
<p>
 
221
Finish the initialization of <em class="parameter"><code>plug</code></em> for a given <a href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> identified by
 
222
<em class="parameter"><code>socket_id</code></em> which is currently displayed on <em class="parameter"><code>display</code></em>.
 
223
This function will generally only be used by classes deriving from <a href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a>.</p>
 
224
<p>
 
225
 
 
226
</p>
 
227
<div class="variablelist"><table border="0">
 
228
<col align="left" valign="top">
 
229
<tbody>
 
230
<tr>
 
231
<td><span class="term"><em class="parameter"><code>plug</code></em>&#160;:</span></td>
 
232
<td> a <a href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a>.
 
233
</td>
 
234
</tr>
 
235
<tr>
 
236
<td><span class="term"><em class="parameter"><code>display</code></em>&#160;:</span></td>
 
237
<td> the <a
 
238
href="../gdk/GdkDisplay.html"
 
239
><span class="type">GdkDisplay</span></a> associated with <em class="parameter"><code>socket_id</code></em>'s 
 
240
     <a href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a>.
 
241
</td>
 
242
</tr>
 
243
<tr>
 
244
<td><span class="term"><em class="parameter"><code>socket_id</code></em>&#160;:</span></td>
 
245
<td> the XID of the socket's window.
 
246
</td>
 
247
</tr>
 
248
</tbody>
 
249
</table></div>
 
250
<p class="since">Since  2.2
 
251
</p>
 
252
</div>
 
253
<hr>
 
254
<div class="refsect2" lang="en">
 
255
<a name="id3823896"></a><h3>
 
256
<a name="gtk-plug-new"></a>gtk_plug_new ()</h3>
 
257
<a class="indexterm" name="id3823909"></a><pre class="programlisting"><a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*          gtk_plug_new                        (<a
 
258
href="../gdk/gdk-Event-Structures.html#GdkNativeWindow"
 
259
>GdkNativeWindow</a> socket_id);</pre>
 
260
<p>
 
261
Creates a new plug widget inside the <a href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> identified
 
262
by <em class="parameter"><code>socket_id</code></em>. If <em class="parameter"><code>socket_id</code></em> is 0, the plug is left "unplugged" and
 
263
can later be plugged into a <a href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> by  <a href="GtkSocket.html#gtk-socket-add-id"><code class="function">gtk_socket_add_id()</code></a>.</p>
 
264
<p>
 
265
</p>
 
266
<div class="variablelist"><table border="0">
 
267
<col align="left" valign="top">
 
268
<tbody>
 
269
<tr>
 
270
<td><span class="term"><em class="parameter"><code>socket_id</code></em>&#160;:</span></td>
 
271
<td>  the window ID of the socket, or 0.
 
272
</td>
 
273
</tr>
 
274
<tr>
 
275
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
276
<td> the new <a href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> widget.
 
277
</td>
 
278
</tr>
 
279
</tbody>
 
280
</table></div>
 
281
</div>
 
282
<hr>
 
283
<div class="refsect2" lang="en">
 
284
<a name="id3824020"></a><h3>
 
285
<a name="gtk-plug-new-for-display"></a>gtk_plug_new_for_display ()</h3>
 
286
<a class="indexterm" name="id3824035"></a><pre class="programlisting"><a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*          gtk_plug_new_for_display            (<a
 
287
href="../gdk/GdkDisplay.html"
 
288
>GdkDisplay</a> *display,
 
289
                                                         <a
 
290
href="../gdk/gdk-Event-Structures.html#GdkNativeWindow"
 
291
>GdkNativeWindow</a> socket_id);</pre>
 
292
<p>
 
293
Create a new plug widget inside the <a href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> identified by socket_id.</p>
 
294
<p>
 
295
 
 
296
</p>
 
297
<div class="variablelist"><table border="0">
 
298
<col align="left" valign="top">
 
299
<tbody>
 
300
<tr>
 
301
<td><span class="term"><em class="parameter"><code>display</code></em>&#160;:</span></td>
 
302
<td> the <a
 
303
href="../gdk/GdkDisplay.html"
 
304
><span class="type">GdkDisplay</span></a> on which <em class="parameter"><code>socket_id</code></em> is displayed
 
305
</td>
 
306
</tr>
 
307
<tr>
 
308
<td><span class="term"><em class="parameter"><code>socket_id</code></em>&#160;:</span></td>
 
309
<td> the XID of the socket's window.
 
310
</td>
 
311
</tr>
 
312
<tr>
 
313
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
314
<td> the new <a href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> widget.
 
315
 
 
316
</td>
 
317
</tr>
 
318
</tbody>
 
319
</table></div>
 
320
<p class="since">Since  2.2
 
321
</p>
 
322
</div>
 
323
<hr>
 
324
<div class="refsect2" lang="en">
 
325
<a name="id3824156"></a><h3>
 
326
<a name="gtk-plug-get-id"></a>gtk_plug_get_id ()</h3>
 
327
<a class="indexterm" name="id3824169"></a><pre class="programlisting"><a
 
328
href="../gdk/gdk-Event-Structures.html#GdkNativeWindow"
 
329
>GdkNativeWindow</a>     gtk_plug_get_id                     (<a href="GtkPlug.html" title="GtkPlug">GtkPlug</a> *plug);</pre>
 
330
<p>
 
331
Gets the window ID of a <a href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> widget, which can then
 
332
be used to embed this window inside another window, for
 
333
instance with <a href="GtkSocket.html#gtk-socket-add-id"><code class="function">gtk_socket_add_id()</code></a>.</p>
 
334
<p>
 
335
 
 
336
</p>
 
337
<div class="variablelist"><table border="0">
 
338
<col align="left" valign="top">
 
339
<tbody>
 
340
<tr>
 
341
<td><span class="term"><em class="parameter"><code>plug</code></em>&#160;:</span></td>
 
342
<td> a <a href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a>.
 
343
</td>
 
344
</tr>
 
345
<tr>
 
346
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
347
<td> the window ID for the plug
 
348
</td>
 
349
</tr>
 
350
</tbody>
 
351
</table></div>
 
352
</div>
 
353
</div>
 
354
<div class="refsect1" lang="en">
 
355
<a name="id3824258"></a><h2>Signal Details</h2>
 
356
<div class="refsect2" lang="en">
 
357
<a name="id3824269"></a><h3>
 
358
<a name="GtkPlug-embedded"></a>The "embedded" signal</h3>
 
359
<a class="indexterm" name="id3824279"></a><pre class="programlisting">void                user_function                      (<a href="GtkPlug.html" title="GtkPlug">GtkPlug</a> *plug,
 
360
                                                        gpointer user_data)      : Run Last</pre>
 
361
<p>
 
362
 
 
363
</p>
 
364
<div class="variablelist"><table border="0">
 
365
<col align="left" valign="top">
 
366
<tbody>
 
367
<tr>
 
368
<td><span class="term"><em class="parameter"><code>plug</code></em>&#160;:</span></td>
 
369
<td>the object which received the signal.
 
370
 
 
371
</td>
 
372
</tr>
 
373
<tr>
 
374
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
 
375
<td>user data set when the signal handler was connected.</td>
 
376
</tr>
 
377
</tbody>
 
378
</table></div>
 
379
</div>
 
380
</div>
 
381
<div class="refsect1" lang="en">
 
382
<a name="id3824349"></a><h2>See Also</h2>
 
383
<p>
 
384
</p>
 
385
<div class="variablelist"><table border="0">
 
386
<col align="left" valign="top">
 
387
<tbody><tr>
 
388
<td><span class="term"><a href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a></span></td>
 
389
<td><p>the widget that a <a href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> plugs into.</p></td>
 
390
</tr></tbody>
 
391
</table></div>
 
392
<p>
 
393
</p>
 
394
</div>
 
395
</div>
 
396
</body>
 
397
</html>