gtk2/gdk
Alexander Larsson e7d4a7f90d Document expose event->region change and that gtk_widget_event doesn't
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.
2001-03-09 13:28:26 +00:00
..
linux-fb Actually copy the whole gc, not just the public parts. 2001-02-20 10:56:41 +00:00
nanox Nov 17 20:14:20 2000 Owen Taylor <otaylor@redhat.com> 2000-11-18 01:49:50 +00:00
win32 Doc fixes 2001-03-04 00:12:55 +00:00
x11 Document expose event->region change and that gtk_widget_event doesn't 2001-03-09 13:28:26 +00:00
.cvsignore Remove conftest* after use along the lines of AC_TRY_COMPILE. 2000-09-05 14:07:55 +00:00
COPYING
gdk.c GDK_DISABLE_COMPAT_H, GDK_DISABLE_DEPRECATED (we need to merge those two 2001-02-19 20:38:15 +00:00
gdk.def updated for win32 msvc build 2001-02-19 21:54:04 +00:00
gdk.h small (not only) portability fixes 2001-02-25 17:25:09 +00:00
gdkcolor.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkcolor.h test was backward, so deprecated functions were excluded by default 2001-02-19 22:25:30 +00:00
gdkcompat.h Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
gdkconfig.h.win32 Fix typo. 1999-11-21 21:21:58 +00:00
gdkcursor.c add --deprecated-guards 2001-02-20 05:21:44 +00:00
gdkcursor.h s/refcount/ref_count/. 2000-02-13 08:16:48 +00:00
gdkcursors.h
gdkdnd.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkdraw.c new function, turns off decorations for a window. 2001-03-07 21:10:44 +00:00
gdkdrawable.h add --deprecated-guards 2001-02-20 05:21:44 +00:00
gdkevents.c Document expose event->region change and that gtk_widget_event doesn't 2001-03-09 13:28:26 +00:00
gdkevents.h Document expose event->region change and that gtk_widget_event doesn't 2001-03-09 13:28:26 +00:00
gdkfont.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkfont.h GDK_DISABLE_COMPAT_H, GDK_DISABLE_DEPRECATED (we need to merge those two 2001-02-19 20:38:15 +00:00
gdkgc.c add --deprecated-guards 2001-02-20 05:21:44 +00:00
gdkgc.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkglobals.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdki18n.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkim.h Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
gdkimage.c Re-enable the "find" dialog 2000-10-24 00:15:14 +00:00
gdkimage.h Make gdk_colormap_sync private since it was never exported in a header 2001-02-02 22:19:31 +00:00
gdkinput.h Generate gtk/makefile.mingw. 2000-07-25 20:38:35 +00:00
gdkinternals.h test the window state stuff 2001-02-27 20:40:15 +00:00
gdkkeys.c add gdkkeys.[hc] 2000-12-06 05:31:30 +00:00
gdkkeys.h add gdkkeys.[hc] 2000-12-06 05:31:30 +00:00
gdkkeysyms.h Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
gdkkeyuni.c Doc comment fixing. (Mostly non-matching parameter names.) 2000-09-07 18:07:59 +00:00
gdkpango.c convert the X coordinates so they're with respect to the line, rather than 2001-02-17 00:11:03 +00:00
gdkpango.h Doc fixes 2001-03-04 00:12:55 +00:00
gdkpixbuf-drawable.c Make gdk_colormap_sync private since it was never exported in a header 2001-02-02 22:19:31 +00:00
gdkpixbuf-render.c Clip the rectangle to be rendered to the drawable, since 2000-11-01 16:34:23 +00:00
gdkpixbuf.h contrib subdir 2000-10-09 17:22:20 +00:00
gdkpixmap.c return solid masks for xpms that have no transparent color. This makes the 2001-02-23 13:35:16 +00:00
gdkpixmap.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkprivate.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkproperty.h Remove g_convert (moved to glib) and now useless utf_to_latin1() 2000-09-14 16:41:20 +00:00
gdkrectangle.c Applied patch from Peter Osterlund to simplify the code while keeping the 2000-08-03 13:18:01 +00:00
gdkregion-generic.c use _gdk_region_get_xrectangles() 2001-03-02 20:02:17 +00:00
gdkregion-generic.h (Part 2) Remove gdk_*_lookup() defines, since they are defined by the 2000-07-24 16:19:00 +00:00
gdkregion.h use _gdk_region_get_xrectangles() 2001-03-02 20:02:17 +00:00
gdkrgb.c Patch from ChiDeok Hwang to move call to sync_selection() up a few lines 2001-03-02 17:06:14 +00:00
gdkrgb.h GDK_DISABLE_COMPAT_H, GDK_DISABLE_DEPRECATED (we need to merge those two 2001-02-19 20:38:15 +00:00
gdkselection.h Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
gdktypes.h fix this to be sane 2000-12-04 23:04:17 +00:00
gdkvisual.h
gdkwindow.c Document expose event->region change and that gtk_widget_event doesn't 2001-03-09 13:28:26 +00:00
gdkwindow.h Added GdkWindowTypeHint type. Added modal_hint field to GdkWindindow. New 2001-03-05 15:09:02 +00:00
Makefile.am better error message if you try to add a widget to a bin that already has 2001-02-09 00:40:48 +00:00
makefile.mingw.in Add gdkkeys. 2000-12-14 23:14:18 +00:00
makefile.msc updated for win32 msvc build 2001-02-19 21:54:04 +00:00
testgdk.c Update. 2000-10-09 19:49:42 +00:00
TODO Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00