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

Reply via email to