[9039] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: Gtk_CList double click
daemon@ATHENA.MIT.EDU (James Bailie)
Sun Oct 4 15:19:33 1998
From: James Bailie <jbailie@wwdc.com>
To: gtk-list@redhat.com
In-Reply-To: Your message of "Sat, 03 Oct 1998 23:16:15 PDT."
<361712AE.7E5738E@jps.net>
Date: Sun, 04 Oct 1998 15:11:03 -0400
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
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
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null