Re: CList Question
- From: Havoc Pennington <hp redhat com>
- To: GTK-APP-DEVEL-LIST <gtk-app-devel-list redhat com>
- cc: GTk-LIST <gtk-list redhat com>
- Subject: Re: CList Question
- Date: Thu, 9 Sep 1999 15:40:29 -0400 (EDT)
On Thu, 9 Sep 1999, Aaron Faby wrote:
> Anyone know of a way to get a function to be executed
> when someone double-clicks a row in a CList widget? The
> tutorial at the website never addressed this. Thanks
> in advance!
>
static gint
button_press (GtkCTree *ctree, GdkEventButton *event, gpointer data)
{
if (event->button == 1 && event->type == GDK_2BUTTON_PRESS)
{
}
return TRUE;
}
gtk_signal_connect (GTK_OBJECT (clist), "button_press_event",
GTK_SIGNAL_FUNC (button_press), ew);
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]