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

« back to all changes in this revision

Viewing changes to docs/reference/gdk/xml/windows.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-09-23 09:50:04 UTC
  • mfrom: (1.2.31 upstream) (72.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20090923095004-24h3kb844tay1fnv
Tags: 2.18.0-1ubuntu1
* Rebase on the current debian version
* New version changes:
  - Add GtkTreeModelFilter testsuite and fix multiple bugs
  - Client-side windows:
    - Fix issues around recursion and gdk_window_process_updates
    - Fix issues with grabs and cursors 
    - Handle window hierarchy and geometry changes in expose handlers
    - New function, gdk_window_flush, that may be needed in certain situations
    - Automatically flush windows when doing non-double-buffered exposes
  - Quartz backend:
    - Fix various 'stuck UI' issues
    - Fix the size of the root window
  - Bugs fixed:
  588455 run application broken when setting background color...(lp: #398826)
  346800 Rework sort/filter models to use indices to parents
  593678 select "Manage Custom Sizes" from print dialog hangs gedit
  594652 gtk printer dialog does not understand boolean printer options
  594668 Add new Xorg keysyms
  591583 Padre (a wxPerl+Gtk IDE) hangs when editing Perl code...
  594600 Windows only allows 64-character system-tray tooltips
  594679 Fix warning in testwindows.c
  594880 Drawing issues in ExoIconView
  593507 AbiWord's main drawing area not exposed properly
  594913 is_composited race ...
  594738 Windows often do not respond to events on dual-head
  503776 crash when trying to print to non-existent lpr printer
  595599 Don't focus unmapped radio buttons
  595790 Segfault in gtkiconfactory.c on NULL GError
  588649 extended input events sent to widgets that didn't...
  550939 GtkFileChooser listbox does not refresh selection
  - New deprecation:
  gdk_event_get_graphics_exposes has been deprecated
  - Updated translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
                                                         const <link linkend="GdkRegion">GdkRegion</link> *region,
85
85
                                                         <link linkend="gint">gint</link> dx,
86
86
                                                         <link linkend="gint">gint</link> dy);
 
87
<link linkend="void">void</link>                <link linkend="gdk-window-flush">gdk_window_flush</link>                    (<link linkend="GdkWindow">GdkWindow</link> *window);
87
88
<link linkend="gboolean">gboolean</link>            <link linkend="gdk-window-ensure-native">gdk_window_ensure_native</link>            (<link linkend="GdkWindow">GdkWindow</link> *window);
88
89
<link linkend="void">void</link>                <link linkend="gdk-window-reparent">gdk_window_reparent</link>                 (<link linkend="GdkWindow">GdkWindow</link> *window,
89
90
                                                         <link linkend="GdkWindow">GdkWindow</link> *new_parent,
1853
1854
<listitem><simpara> Amount to move in the Y direction
1854
1855
</simpara></listitem></varlistentry>
1855
1856
</variablelist><para role="since">Since 2.8</para></refsect2>
 
1857
<refsect2 id="gdk-window-flush" role="function" condition="since:2.18">
 
1858
<title>gdk_window_flush ()</title>
 
1859
<indexterm zone="gdk-window-flush" role="2.18"><primary sortas="window_flush">gdk_window_flush</primary></indexterm><programlisting><link linkend="void">void</link>                gdk_window_flush                    (<link linkend="GdkWindow">GdkWindow</link> *window);</programlisting>
 
1860
<para>
 
1861
Flush all outstanding cached operations on a window, leaving the
 
1862
window in a state which reflects all that has been drawn before.
 
1863
</para>
 
1864
<para>
 
1865
Gdk uses multiple kinds of caching to get better performance and
 
1866
nicer drawing. For instance, during exposes all paints to a window
 
1867
using double buffered rendering are keep on a pixmap until the last
 
1868
window has been exposed. It also delays window moves/scrolls until
 
1869
as long as possible until next update to avoid tearing when moving
 
1870
windows.
 
1871
</para>
 
1872
<para>
 
1873
Normally this should be completely invisible to applications, as
 
1874
we automatically flush the windows when required, but this might
 
1875
be needed if you for instance mix direct native drawing with
 
1876
gdk drawing. For Gtk widgets that don't use double buffering this
 
1877
will be called automatically before sending the expose event.</para>
 
1878
<para>
 
1879
</para><variablelist role="params">
 
1880
<varlistentry><term><parameter>window</parameter>&#160;:</term>
 
1881
<listitem><simpara> a <link linkend="GdkWindow"><type>GdkWindow</type></link>
 
1882
</simpara></listitem></varlistentry>
 
1883
</variablelist><para role="since">Since 2.18</para></refsect2>
1856
1884
<refsect2 id="gdk-window-ensure-native" role="function" condition="since:2.18">
1857
1885
<title>gdk_window_ensure_native ()</title>
1858
1886
<indexterm zone="gdk-window-ensure-native" role="2.18"><primary sortas="window_ensure_native">gdk_window_ensure_native</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            gdk_window_ensure_native            (<link linkend="GdkWindow">GdkWindow</link> *window);</programlisting>