diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-11-15 21:04:51 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-11-15 21:04:51 +0000 |
commit | b27345fe2cf7277bb3483d06651c8bb6820003ec (patch) | |
tree | 5d692b7598d24fb038d1c02b9304cb9b68e4a236 /docs/Changes-2.0.txt | |
parent | 41f14d359739ba21d0725d7025885da880100f33 (diff) | |
download | gdk-pixbuf-b27345fe2cf7277bb3483d06651c8bb6820003ec.tar.gz |
Cal gdk_window_invalidate_maybe_recurse() for recursion. (Soeren Sandmann)
Thu Nov 15 14:19:34 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Cal
gdk_window_invalidate_maybe_recurse() for recursion.
(Soeren Sandmann)
* gtk/gtkviewport.c: Make !redraw_on_allocate. (Soeren Sandmann)
* gtk/gtkcontainer.c (gtk_container_expose): Call
gtk_container_forall() not _foreach() to propagate,
since we need to propagate exposes to internal children
as well.
* gtk/gtkwidget.c (gtk_widget_set_events, gtk_widget_add_events):
Remove the restriction of only being able to call these
on window widgets, since we have lots of NO_WINDOW widgets
with windows now; for add events, recurse over the children
of widget->window to find one owned by the widget.
* gtk/gtkbutton.[ch]: Make a NO_WINDOW widget, using an input-only
window to catch events.
* gtk/gtktogglebutton.[ch]: Remove the code for switching
between NO_WINDOW and WINDOW widgets based on the mode.
* gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c gtk/gtkclist.c
gtk/gtktreeview.c: Adopt to NO_WINDOW change for GtkButton.
* gtk/gtkrange.[ch]: Make into a NO_WINDOW widget.
* gtk/gtkhscale.c, gtk/gtkvscale.c: Adopt to NO_WINDOW
change for range.
* gtk/gtknotebook.[ch]: Make into a NO_WINDOW widget.
* docs/Changes-2.0.txt: Add a note about the NO_WINDOW changes.
Diffstat (limited to 'docs/Changes-2.0.txt')
-rw-r--r-- | docs/Changes-2.0.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/Changes-2.0.txt b/docs/Changes-2.0.txt index a5953d523..6c2ceac78 100644 --- a/docs/Changes-2.0.txt +++ b/docs/Changes-2.0.txt @@ -514,3 +514,17 @@ Incompatible Changes from GTK+-1.2 to GTK+-2.0: If you want to actually draw contents in a widget derived from one of these widgets, you'll probably want to change this in your init() function. + +* A number of widgets are now NO_WINDOW widgets (most importantly + GtkButton, but also GtkRange and GtkNotebook) + + This has a couple of effects: + + - If you are deriving from one of these widgets, you need to + adapt your code appropriately -- for instance, drawing coordinates + start from widget->allocation.x, widget->allocation.y. + + - If you are embedding one of these widgets in a custom widget, + you must make sure you call gtk_container_propagate_expose() + correctly, as you must for any NO_WINDOW widgets. + |