Re: [gtk-list] Double-clicking in CLists (Gtk-perl)
- From: Paul Barton-Davis <pbd op net>
- To: gtk-list redhat com
- Cc: gobo gimle nu
- Subject: Re: [gtk-list] Double-clicking in CLists (Gtk-perl)
- Date: Thu, 16 Dec 1999 20:02:38 -0500
>I've been looking into the Gtk+ reference manual on CList. I've been
>loking for a way to trap doubleclicks on an element in a Clist. Is there
>an easy way of trapping this?
>
>The only way I've found so far is to set a time-of-press variable when a
>row is selected and compare this to the current time-of-press the next
>time the row is selected.
>
>I just think there ought to be an easier way to trap double-clicks.
if (ev->type == GDK_2BUTTON_PRESS) {
...
}
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]