Re: gtk double click???????



>
>   hi all,
>           how the double click event can be put in gtk.

gint
button_press_handler (GdkWidget *w, GdkEventButton *ev)
{
	if (ev->type == GDK_2BUTTON_PRESS) {
	    /* dbl click */
	    ...
        } 
        ...
}

you cannot tell from the "clicked" event.

--p



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