forked from AuroraMiddleware/gtk
c8a2382b65
Fri Feb 18 14:37:29 2000 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Remove OwnerGrabButtonMask from button entries for GDK_BUTTON_PRESS / GDK_BUTTON_RELEASE. * gtk/gtklayout.c (gtk_layout_realize): Always add GDK_SCROLL to the event mask (which will result in button/press release being added to the event mask on Unix) so scrolling works for layouts in scroll windows. * gdk/gdkevents.h (enum): Fix up GDK_ALL_EVENTS_MASK. Patch from Anders Carlsson <andersca@picard.andersnet> to add a scroll event. * gtk/testgtk.c (scroll_test_scroll): Added an example of mouse wheel scrolling to the "Test Scrolling" part of testgtk. * gtk/gtkwidget.h (struct _GtkWidgetClass): Added scroll_event signal. * gtk/gtkwidget.c: Added "scroll_event" GTK+ signal and matched it against GDK_SCROLL. * gtk/gtkrange.c (gtk_range_scroll_event): Updated to use the new way of mouse wheel scrolling. * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event): Likewise. * gtk/gtkspinbutton.c (gtk_spin_button_scroll): Likewise. * gtk/gtkmain.c: Removed previous mouse wheel hack. * gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Added entry in gdk_event_mask_table. * gdk/x11/gdkevents-x11.c (gdk_event_translate): Added GdkEventScroll handler. * gdk/gdkevents.h: Added GdkEventScroll structure. |
||
---|---|---|
.. | ||
.cvsignore | ||
gdkcc-x11.c | ||
gdkcolor-x11.c | ||
gdkcursor-x11.c | ||
gdkdnd-x11.c | ||
gdkdrawable-x11.c | ||
gdkevents-x11.c | ||
gdkfont-x11.c | ||
gdkgc-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 | ||
gdkmain-x11.c | ||
gdkpixmap-x11.c | ||
gdkprivate-x11.h | ||
gdkproperty-x11.c | ||
gdkregion-x11.c | ||
gdkselection-x11.c | ||
gdkvisual-x11.c | ||
gdkwindow-x11.c | ||
gdkx.h | ||
gdkxid.c | ||
gxid_lib.c | ||
gxid_lib.h | ||
gxid_proto.h | ||
gxid.c | ||
Makefile.am | ||
MwmUtil.h |