Re: [gtk-list] Double-clicks?



>  How does one go about to catch a double-click event. Is there a
>  special event for this or do I have to use timers or what? An example
>  or just an explanation would be appreciated.

If the mouse was double-clicked, event->type will be
GDK_2BUTTON_PRESS, and event->button will tell you which button was
the culprit. :-)

  Quartic



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]