- From: Lars Hamann <lars gtk org>
- To: gtkdev gtk org
- Cc: gtk-list redhat com, gnome-list gnome org
- Subject: GtkCList changes
- Date: Thu, 16 Jul 1998 17:45:22 +0200 (CEST)
Yesterday I've committed a clist/ctree patch from Stefan Jeske and me to add
horizontal and vertical autoscrolling, extended selection, focus handling
and key bindings.
Please note that this patch needed to change a few things for clist's
(un)select_row signals. The definition has changed to :
void (*select_row) (GtkCList * clist,
+ GdkEvent * event);
- GdkEventButton * event);
For many cases event will be simply NULL because we don't have an actual
event (due to key bindings for instance). Otherwise event->type can now
become GDK_BUTTON_PRESS, GDK_2BUTTON_PRESS, GDK_3BUTTON_PRESS,
GDK_BUTTON_RELEASE, GDK_MOTION_NOTIFY, GDK_FOCUS_CHANGE.
The "normal" GTK_SELECTION_SINGLE/MULTIPLE event->type for selections
made by mouse now is GDK_BUTTON_RELEASE instead of GDK_BUTTON_PRESS.
I'm sorry that there was no way to avoid these changes, they were
necessary for autoscrollig and key bindings.
] [Thread Prev