gtk2/gdk/x11
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
..
.cvsignore Substitute gdkx.h => gdkprivate.h since we need to accesss only 1999-11-08 22:33:28 +00:00
gdkcolor-x11.c fix bug where it always set the foreground, even if we were only using a 2001-02-13 05:44:47 +00:00
gdkcursor-x11.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkdnd-x11.c Remove unused variable. 2001-01-17 20:05:08 +00:00
gdkdrawable-x11.c Adapt to uscore-ification of gtktextiterprivate 2001-01-04 17:48:43 +00:00
gdkdrawable-x11.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkevents-x11.c Document expose event->region change and that gtk_widget_event doesn't 2001-03-09 13:28:26 +00:00
gdkfont-x11.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkgc-x11.c use _gdk_region_get_xrectangles() 2001-03-02 20:02:17 +00:00
gdkgeometry-x11.c test the window state stuff 2001-02-27 20:40:15 +00:00
gdkglobals-x11.c Add gdk_window_iconify. 2000-10-04 16:51:42 +00:00
gdkim-x11.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkimage-x11.c Patch from ChiDeok Hwang to move call to sync_selection() up a few lines 2001-03-02 17:06:14 +00:00
gdkinput-gxi.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkinput-none.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkinput-x11.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkinput-xfree.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkinput.c Doc fixes 2001-03-04 00:12:55 +00:00
gdkinputprivate.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkkeys-x11.c Detectable auto-repeat - make a repeating key generate 2001-03-03 21:34:19 +00:00
gdkmain-x11.c Detectable auto-repeat - make a repeating key generate 2001-03-03 21:34:19 +00:00
gdkpango-x11.c Add two virtualized functions gdk_drawable_get_clip_region - to get the 2000-12-15 01:46:41 +00:00
gdkpixmap-x11.c urg, removed implementation of gtk_marshal_VOID__INT_INT_INT_INT. if 2000-10-25 22:34:14 +00:00
gdkpixmap-x11.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkprivate-x11.h Detectable auto-repeat - make a repeating key generate 2001-03-03 21:34:19 +00:00
gdkproperty-x11.c If window == NULL, assume the root window. (restoring the behaviour that 2000-10-25 21:05:37 +00:00
gdkselection-x11.c Fix problem with using result of g_get_charset() backwards - pointed out 2000-11-12 19:16:11 +00:00
gdkvisual-x11.c GCompareFunc -> GEqualFunc where applicable. 2000-11-13 13:15:41 +00:00
gdkwindow-x11.c Added GdkWindowTypeHint type. Added modal_hint field to GdkWindindow. New 2001-03-05 15:09:02 +00:00
gdkwindow-x11.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkx.h use _gdk_region_get_xrectangles() 2001-03-02 20:02:17 +00:00
gdkxid.c GCompareFunc -> GEqualFunc where applicable. 2000-11-13 13:15:41 +00:00
gxid_lib.c Removed DEFS "+=" mess that breaks recent automakes. INCLUDES is the 1998-11-24 05:58:53 +00:00
gxid_lib.h Initial revision 1997-11-24 22:37:52 +00:00
gxid_proto.h Initial revision 1997-11-24 22:37:52 +00:00
gxid.c Merges from gtk-1-2 2000-03-14 19:57:25 +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
MwmUtil.h Account for the fact that Xlib expects format == 32 to be a long, even on 1999-02-21 20:55:04 +00:00