Re: [gtk-list] Gtk_CList double click



Marsel Osipov writes:

>    How would I make Gtk_CList react to double click instead of a single
>click?

Make your callback look something like this:

void clist_callback( GtkWidget *widget, gint row, gint col,
                     GdkEvent *event, gpointer data )
{
   if ( event->type != GDK_2BUTTON_PRESS )
      return;

Consult the FAQ. This question is answered there.   
   

--
James Bailie

http://www.wwdc.com/~jbailie



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