[9047] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Gtk_CList double click

daemon@ATHENA.MIT.EDU (Guillaume Laurent)
Sun Oct 4 18:00:33 1998

To: gtk-list@redhat.com
From: Guillaume Laurent <glaurent@worldnet.fr>
Date: 04 Oct 1998 23:59:56 +0200
In-Reply-To: James Bailie's message of "Sun, 04 Oct 1998 15:11:03 -0400"
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

James Bailie <jbailie@wwdc.com> writes:

> 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 )

Close, but no cigar. Gtk_CList is a Gtk-- widget, so :

> void clist_callback( gint row, gint col,
>                      GdkEvent *event, gpointer data )


BTW, Marsel, please either mail to the Gtk-- mailing list directly, or
add "gtk--" in your mail subject. Makes it easier for us to spot Gtk-- 
related questions.

-- 
					Guillaume.
					http://www.worldnet.fr/~glaurent

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post