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. |
||
---|---|---|
.. | ||
faq | ||
man | ||
reference | ||
tutorial | ||
.cvsignore | ||
Changes-1.2.txt | ||
Changes-1.4.txt | ||
debugging.txt | ||
developers.txt | ||
dnd_internals.txt | ||
gdk.sgml | ||
gdk.texi | ||
generation.txt | ||
gtk_tut_fr.sgml | ||
gtk_tut_it.sgml | ||
gtk_tut_packbox1.gif | ||
gtk_tut_packbox2.gif | ||
gtk_tut_table.gif | ||
gtk_tut.sgml | ||
gtk-config.1.in | ||
gtk-config.txt | ||
gtk.texi | ||
gtkdocs_fix | ||
gtkfaq.sgml | ||
macros.texi | ||
Makefile.am | ||
package_tutorial.sh | ||
refcounting.txt | ||
styles.txt | ||
text_widget.txt | ||
widget_system.txt |