Re: [gtk-list] Re: Double-clicking in CLists (Gtk-perl)
- From: Dermot Musgrove <dermot glade perl connectfree co uk>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Double-clicking in CLists (Gtk-perl)
- Date: Fri, 17 Dec 1999 02:30:29 +0000
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]