~ubuntu-branches/ubuntu/raring/gtk+2.0/raring-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Rico Tzschichholz, Jeremy Bicha, Rico Tzschichholz
  • Date: 2013-02-25 04:48:13 UTC
  • mfrom: (72.1.32 experimental)
  • Revision ID: package-import@ubuntu.com-20130225044813-tuhknnk1l7rq0itt
Tags: 2.24.16-1ubuntu1
[ Jeremy Bicha ]
* Sync with Debian. Remaining changes:
* debian/libgtk2.0-0.symbols:
  - Add Ubuntu specific symbols
* debian/patches/012_ubuntu-set-grab-add.patch
  - Added ubuntu_gtk_widget_set_has_grab so we can grab sliders and 
    things in menus, needed by ido
* debian/patches/043_menu_proxy.patch
  - Add GtkMenuProxy support for remoting menus.
* debian/patches/062_dnd_menubar.patch:
  - Allow click on menubars for dnd
* debian/patches/063_treeview_almost_fixed.patch:
  - Add an ubuntu-almost-fixed-height-mode property, (required for
    software-center)
* debian/patches/071_no_offscreen_widgets_grabbing.patch:
  - Don't let offscreen widgets do grabbing
* debian/patches/072_indicator_menu_update.patch:
  - change by Cody Russell to send an update event on menu changes,
    should make the bluetooth indicator refresh correctly
* debian/patches/090_logging_file_saves.patch:
  - improve the logging of saved files
* debian/patches/092_default_to_xdg_document_dir.patch:
  - Use $XDG_DOCUMENTS_DIR as default directory rather than the home
    directory for the 'Print to File' function.
* debian/patches/093_gtk3_gtkimage_fallbacks_use.patch:
  - Backported gtk3 patch to add a "use-fallback" property to GtkImage, using 
    it "icon-name and GIcon type of GtkImages can use automatic fallback 
    names.", it will be useful for the indicator stack
* debian/patches/095_git_menus_scrolling.patch:
  - backported gtk3 commit to fix menu scrolling issues
* debian/patches/096_git_gtkprintsettings.patch:
  - upstream git commit backported from the gtk3 serie, don't ignore the 
    gtkprintsettings resolution settings 
* debian/patches/097_statusicon_image_fallback.patch: Make GtkStatusIcon
  images use fallbacks by default if the property is available.
* debian/patches/098_multiarch_module_path.patch:
  - Fallback to the pre-multiarch directory for compatibility
* debian/patches/099_printer_filename_fix.patch
  - Fix to the print dialog for print to file, make sure a non-hidden filename 
    is the default (LP: #488857)
* debian/patches/100_overlay_scrollbar_loading.patch
  - support for dynamically loading overlay scrollbars
* debian/patches/print-dialog-show-options-of-remote-dnssd-printers.patch:
  Make printing on remote DNS-SD/Bonjour-shared printers work
* Dropped changes:
  - Extra breaks/replaces not needed after Precise

[ Rico Tzschichholz ]
* 043_ubuntu_menu_proxy.patch: Refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GtkFixed</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
7
7
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
8
8
<link rel="up" href="LayoutContainers.html" title="Layout Containers">
9
9
<link rel="prev" href="GtkVButtonBox.html" title="GtkVButtonBox">
50
50
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkFixed.html#gtk-fixed-new" title="gtk_fixed_new ()">gtk_fixed_new</a>                       (<em class="parameter"><code><span class="type">void</span></code></em>);
51
51
<span class="returnvalue">void</span>                <a class="link" href="GtkFixed.html#gtk-fixed-put" title="gtk_fixed_put ()">gtk_fixed_put</a>                       (<em class="parameter"><code><a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> *fixed</code></em>,
52
52
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
53
 
                                                         <em class="parameter"><code><span class="type">gint</span> x</code></em>,
54
 
                                                         <em class="parameter"><code><span class="type">gint</span> y</code></em>);
 
53
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
54
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
55
55
<span class="returnvalue">void</span>                <a class="link" href="GtkFixed.html#gtk-fixed-move" title="gtk_fixed_move ()">gtk_fixed_move</a>                      (<em class="parameter"><code><a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> *fixed</code></em>,
56
56
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
57
 
                                                         <em class="parameter"><code><span class="type">gint</span> x</code></em>,
58
 
                                                         <em class="parameter"><code><span class="type">gint</span> y</code></em>);
59
 
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkFixed.html#gtk-fixed-get-has-window" title="gtk_fixed_get_has_window ()">gtk_fixed_get_has_window</a>            (<em class="parameter"><code><a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> *fixed</code></em>);
 
57
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
58
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
 
59
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkFixed.html#gtk-fixed-get-has-window" title="gtk_fixed_get_has_window ()">gtk_fixed_get_has_window</a>            (<em class="parameter"><code><a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> *fixed</code></em>);
60
60
<span class="returnvalue">void</span>                <a class="link" href="GtkFixed.html#gtk-fixed-set-has-window" title="gtk_fixed_set_has_window ()">gtk_fixed_set_has_window</a>            (<em class="parameter"><code><a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> *fixed</code></em>,
61
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> has_window</code></em>);
 
61
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_window</code></em>);
62
62
</pre>
63
63
</div>
64
64
<div class="refsect1">
65
65
<a name="GtkFixed.object-hierarchy"></a><h2>Object Hierarchy</h2>
66
66
<pre class="synopsis">
67
 
  GObject
68
 
   +----GInitiallyUnowned
 
67
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
68
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
69
69
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
70
70
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
71
71
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
81
81
<div class="refsect1">
82
82
<a name="GtkFixed.child-properties"></a><h2>Child Properties</h2>
83
83
<pre class="synopsis">
84
 
  "<a class="link" href="GtkFixed.html#GtkFixed--c-x" title='The "x" child property'>x</a>"                        <span class="type">gint</span>                  : Read / Write
85
 
  "<a class="link" href="GtkFixed.html#GtkFixed--c-y" title='The "y" child property'>y</a>"                        <span class="type">gint</span>                  : Read / Write
 
84
  "<a class="link" href="GtkFixed.html#GtkFixed--c-x" title='The "x" child property'>x</a>"                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
 
85
  "<a class="link" href="GtkFixed.html#GtkFixed--c-y" title='The "y" child property'>y</a>"                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
86
86
</pre>
87
87
</div>
88
88
<div class="refsect1">
150
150
</colgroup>
151
151
<tbody><tr>
152
152
<td>
153
 
<span class="type">GList</span> *children;</td>
 
153
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *children;</td>
154
154
<td>a list of <span class="type">GtkFixedChild</span> elements, containing the child widgets and
155
155
their positions.</td>
156
156
</tr></tbody>
181
181
<a name="gtk-fixed-put"></a><h3>gtk_fixed_put ()</h3>
182
182
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_fixed_put                       (<em class="parameter"><code><a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> *fixed</code></em>,
183
183
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
184
 
                                                         <em class="parameter"><code><span class="type">gint</span> x</code></em>,
185
 
                                                         <em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
 
184
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
185
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
186
186
<p>
187
187
Adds a widget to a <a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> container at the given position.
188
188
</p>
216
216
<a name="gtk-fixed-move"></a><h3>gtk_fixed_move ()</h3>
217
217
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_fixed_move                      (<em class="parameter"><code><a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> *fixed</code></em>,
218
218
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
219
 
                                                         <em class="parameter"><code><span class="type">gint</span> x</code></em>,
220
 
                                                         <em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
 
219
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
220
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
221
221
<p>
222
222
Moves a child of a <a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> container to the given position.
223
223
</p>
249
249
<hr>
250
250
<div class="refsect2">
251
251
<a name="gtk-fixed-get-has-window"></a><h3>gtk_fixed_get_has_window ()</h3>
252
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_fixed_get_has_window            (<em class="parameter"><code><a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> *fixed</code></em>);</pre>
 
252
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_fixed_get_has_window            (<em class="parameter"><code><a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> *fixed</code></em>);</pre>
253
253
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
254
254
<h3 class="title">Warning</h3>
255
255
<p><code class="literal">gtk_fixed_get_has_window</code> has been deprecated since version 2.20 and should not be used in newly-written code. Use <a class="link" href="GtkWidget.html#gtk-widget-get-has-window" title="gtk_widget_get_has_window ()"><code class="function">gtk_widget_get_has_window()</code></a> instead.</p>
256
256
</div>
257
257
<p>
258
 
Gets whether the <a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> has its own <a href="../gdk2/gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>.
 
258
Gets whether the <a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> has its own <a href="http://library.gnome.org/devel/gdk3/gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>.
259
259
See <a class="link" href="GtkFixed.html#gtk-fixed-set-has-window" title="gtk_fixed_set_has_window ()"><code class="function">gtk_fixed_set_has_window()</code></a>.
260
260
</p>
261
261
<div class="variablelist"><table border="0" class="variablelist">
272
272
<tr>
273
273
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
274
274
<td>
275
 
<code class="literal">TRUE</code> if <em class="parameter"><code>fixed</code></em> has its own window.</td>
 
275
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>fixed</code></em> has its own window.</td>
276
276
</tr>
277
277
</tbody>
278
278
</table></div>
281
281
<div class="refsect2">
282
282
<a name="gtk-fixed-set-has-window"></a><h3>gtk_fixed_set_has_window ()</h3>
283
283
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_fixed_set_has_window            (<em class="parameter"><code><a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> *fixed</code></em>,
284
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> has_window</code></em>);</pre>
 
284
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_window</code></em>);</pre>
285
285
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
286
286
<h3 class="title">Warning</h3>
287
287
<p><code class="literal">gtk_fixed_set_has_window</code> has been deprecated since version 2.20 and should not be used in newly-written code. Use <a class="link" href="GtkWidget.html#gtk-widget-set-has-window" title="gtk_widget_set_has_window ()"><code class="function">gtk_widget_set_has_window()</code></a> instead.</p>
288
288
</div>
289
289
<p>
290
290
Sets whether a <a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> widget is created with a separate
291
 
<a href="../gdk2/gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> for <em class="parameter"><code>widget-&gt;window</code></em> or not. (By default, it will be
292
 
created with no separate <a href="../gdk2/gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>). This function must be called
 
291
<a href="http://library.gnome.org/devel/gdk3/gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> for <em class="parameter"><code>widget-&gt;window</code></em> or not. (By default, it will be
 
292
created with no separate <a href="http://library.gnome.org/devel/gdk3/gdk2-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>). This function must be called
293
293
while the <a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> is not realized, for instance, immediately after the
294
294
window is created.
295
295
</p>
311
311
<tr>
312
312
<td><p><span class="term"><em class="parameter"><code>has_window</code></em> :</span></p></td>
313
313
<td>
314
 
<code class="literal">TRUE</code> if a separate window should be created</td>
 
314
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a separate window should be created</td>
315
315
</tr>
316
316
</tbody>
317
317
</table></div>
321
321
<a name="GtkFixed.child-property-details"></a><h2>Child Property Details</h2>
322
322
<div class="refsect2">
323
323
<a name="GtkFixed--c-x"></a><h3>The <code class="literal">"x"</code> child property</h3>
324
 
<pre class="programlisting">  "x"                        <span class="type">gint</span>                  : Read / Write</pre>
 
324
<pre class="programlisting">  "x"                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
325
325
<p>X position of child widget.</p>
326
326
<p>Default value: 0</p>
327
327
</div>
328
328
<hr>
329
329
<div class="refsect2">
330
330
<a name="GtkFixed--c-y"></a><h3>The <code class="literal">"y"</code> child property</h3>
331
 
<pre class="programlisting">  "y"                        <span class="type">gint</span>                  : Read / Write</pre>
 
331
<pre class="programlisting">  "y"                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
332
332
<p>Y position of child widget.</p>
333
333
<p>Default value: 0</p>
334
334
</div>