]> Pileus Git - ~andy/gtk/commitdiff
Add a note about the need to handle expose events. We really need a
authorMatthias Clasen <mclasen@redhat.com>
Mon, 18 Jul 2005 14:25:56 +0000 (14:25 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 18 Jul 2005 14:25:56 +0000 (14:25 +0000)
2005-07-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwidget.c (gtk_widget_set_double_buffered): Add a note
about the need to handle expose events. We really need a chapter
on the GTK+ drawing model that we can refer to here... (#310765,
Steve Chaplin)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtkwidget.c

index 0e8b68e6473eec4abbca1afa943b9b9203428682..e33e6552accbc419e8582c43a08fce0ab257b6f7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-07-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkwidget.c (gtk_widget_set_double_buffered): Add a note
+       about the need to handle expose events. We really need a chapter
+       on the GTK+ drawing model that we can refer to here... (#310765,
+       Steve Chaplin)
+
 2005-07-16  Tor Lillqvist  <tml@novell.com>
 
        * configure.in (GDK_EXTRA_LIBS): [Win32] Put -luuid back, it is
index 0e8b68e6473eec4abbca1afa943b9b9203428682..e33e6552accbc419e8582c43a08fce0ab257b6f7 100644 (file)
@@ -1,3 +1,10 @@
+2005-07-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkwidget.c (gtk_widget_set_double_buffered): Add a note
+       about the need to handle expose events. We really need a chapter
+       on the GTK+ drawing model that we can refer to here... (#310765,
+       Steve Chaplin)
+
 2005-07-16  Tor Lillqvist  <tml@novell.com>
 
        * configure.in (GDK_EXTRA_LIBS): [Win32] Put -luuid back, it is
index 0e8b68e6473eec4abbca1afa943b9b9203428682..e33e6552accbc419e8582c43a08fce0ab257b6f7 100644 (file)
@@ -1,3 +1,10 @@
+2005-07-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkwidget.c (gtk_widget_set_double_buffered): Add a note
+       about the need to handle expose events. We really need a chapter
+       on the GTK+ drawing model that we can refer to here... (#310765,
+       Steve Chaplin)
+
 2005-07-16  Tor Lillqvist  <tml@novell.com>
 
        * configure.in (GDK_EXTRA_LIBS): [Win32] Put -luuid back, it is
index ea725f786ac686d1b07a6e70c8b187a3682aabe7..413b133142d419d716b5716cd2955d65c7393838 100644 (file)
@@ -4352,6 +4352,11 @@ gtk_widget_set_app_paintable (GtkWidget *widget,
  * so you would only use this function to turn off double buffering
  * if you had special needs and really knew what you were doing.
  * 
+ * Note: if you turn off double-buffering, you have to handle
+ * expose events, since even the clearing to the background color or 
+ * pixmap will not happen automatically (as it is done in 
+ * gdk_window_begin_paint()).
+ * 
  **/
 void
 gtk_widget_set_double_buffered (GtkWidget *widget,