Paul Barton-Davis wrote:
>
[...]
> >I just think there ought to be an easier way to trap double-clicks.
>
> if (ev->type == GDK_2BUTTON_PRESS) {
> ...
> }
>
Or in perl using the event hash that is supplied to the signal handler for
button_press_event as $e:
if ($e->{'type'} eq '2button_press') { ...
HTH, Dermot
--
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
- [gtk-list] Double-clicking in CLists (Gtk-perl) Frank R. Larsen
- [gtk-list] Re: Double-clicking in CLists (Gtk-perl) turnere
- [gtk-list] Re: Double-clicking in CLists (Gtk-perl) Paul Barton-Davis
- Dermot Musgrove
