forked from AuroraMiddleware/gtk
e7d4a7f90d
2001-03-09 Alexander Larsson <alexl@redhat.com> * docs/Changes-2.0.txt: Document expose event->region change and that gtk_widget_event doesn't allow passing expose events. * gdk/gdkevents.h: Add region to expose event. * gdk/gdkevents.c: Handle event->region in gdk_event_copy() and gdk_event_free(). * gdk/gdkwindow.c (gdk_window_process_updates_internal): Generate expose_event->region when creating expose events. * gdk/x11/gdkevents-x11.c: Generate expose events with regions when translating X events. * gtk/gtkcontainer.[ch]: Default expose handler that propagates expose events to NO_WINDOW children. New function gtk_container_propagate_expose() * gtk/gtkwidget.[ch]: Moved gtk_widget_event implementation to gtk_widget_event_internal. gtk_widget_event calls gtk_widget_event_internal but doesn't allow expose events. New function gtk_widget_send_expose() to send expose events. New function gtk_widget_region_intersect() to calculate window/region intersections. * gtk/gtkmain.c (gtk_main_do_event): Use gdk_window_begin_paint_region() instead of gdk_window_begin_paint_rect(). Use gtk_widget_send_expose() to send expose events. * gtk/gtkbin.c: * gtk/gtkbox.c: * gtk/gtkfixed.c: * gtk/gtkimagemenuitem.c: * gtk/gtklist.c: * gtk/gtkpacker.c: * gtk/gtktable.c: * gtk/gtktree.c: Remove expose handler, using the default container implementation instead. * gtk/gtkbutton.c: * gtk/gtkcheckbutton.c: * gtk/gtkeventbox.c: * gtk/gtkfixed.c: * gtk/gtkhandlebox.c: * gtk/gtklayout.c: * gtk/gtklistitem.c: * gtk/gtkmenu.c: * gtk/gtkmenubar.c: * gtk/gtkmenuitem.c: * gtk/gtknotebook.c: * gtk/gtkoptionmenu.c: * gtk/gtkpaned.c: * gtk/gtkscrolledwindow.c: * gtk/gtktogglebutton.c: * gtk/gtktoolbar.c: * gtk/gtktreeitem.c: * gtk/gtkviewport.c: Chain expose handler to parent class handler. Use gtk_container_propagate_expose() to propagate exposes. * gtk/gtkclist.c (check_exposures): * gtk/gtktext.c (process_exposes): Use gtk_widget_send_expose instead of gtk_widget_event. |
||
---|---|---|
.. | ||
.cvsignore | ||
gdkcolor-x11.c | ||
gdkcursor-x11.c | ||
gdkdnd-x11.c | ||
gdkdrawable-x11.c | ||
gdkdrawable-x11.h | ||
gdkevents-x11.c | ||
gdkfont-x11.c | ||
gdkgc-x11.c | ||
gdkgeometry-x11.c | ||
gdkglobals-x11.c | ||
gdkim-x11.c | ||
gdkimage-x11.c | ||
gdkinput-gxi.c | ||
gdkinput-none.c | ||
gdkinput-x11.c | ||
gdkinput-xfree.c | ||
gdkinput.c | ||
gdkinputprivate.h | ||
gdkkeys-x11.c | ||
gdkmain-x11.c | ||
gdkpango-x11.c | ||
gdkpixmap-x11.c | ||
gdkpixmap-x11.h | ||
gdkprivate-x11.h | ||
gdkproperty-x11.c | ||
gdkselection-x11.c | ||
gdkvisual-x11.c | ||
gdkwindow-x11.c | ||
gdkwindow-x11.h | ||
gdkx.h | ||
gdkxid.c | ||
gxid_lib.c | ||
gxid_lib.h | ||
gxid_proto.h | ||
gxid.c | ||
Makefile.am | ||
MwmUtil.h |