Re: [gtk-list] Left click on a CList
- From: Renaud <renaud_chaillat netcourrier com>
- To: Chninkel <chninkel mail dotcom fr>
- CC: gtk-list redhat com
- Subject: Re: [gtk-list] Left click on a CList
- Date: Fri, 21 Apr 2000 00:39:06 +0200
Hi,
I think you can connect a handler on the 'button-press-event' signal of the
widget GTK_WIDGET(clist).
Your handler will have this prototype :
gboolean user_function (GtkWidget *widget, GdkEventButton *event,
gpointer user_data);
Then you get event->x and event->y and you know the button pressed with
event->button
(compare it to GDK_BUTTON1_MASK if I remember correctly).
Renaud
Chninkel wrote:
> Hello,
>
> I would like to know how I can easily get the left click event on a
> CList.
> I want to know above what row and column it occured.
>
> Thanks for explanation
>
> Yann chninkel@mail.dotcom.fr
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]