Re: [gtk-list] Re: another question
- From: Paul Barton-Davis <pbd op net>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: another question
- Date: Fri, 26 Nov 1999 21:55:23 -0500
>>Ok, so my clist works now... I know how to connect a signal to a clist
>>row that captures "select_row", but what about double clicks? See, I
>>would like to capture "select_row" events and display info about that
>>row in a statusbar, and on a double click, I would like open that row.
>>
>
>In the gtk+-1.2.6/gtk/gtkcalendar.c there is double clicking implemented
>and works. Hope this helps, but how to adjust it for a clist?
>If you succeed i would be interested in the code....
You look at the event that triggered the select signal:
if (ev && ev->type == GDK_2BUTTON_PRESS) ....
I think.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]