Question about right click on a gtkclist
- From: "Daniel M. German" <dmg csg uwaterloo ca>
- To: gnome-devel-list gnome org
- Subject: Question about right click on a gtkclist
- Date: Wed, 25 Aug 1999 16:08:02 -0400
Hi Everybody,
Sorry to bug you again.
I am trying to figure out how to catch a right click with in a
gtkclist but I am just spending time without luck. Maybe somebody can
help me with this.
I have a gtkclist widget.
"select_row" is called only when the user left clicks.
I have used:
gtk_clist_set_button_actions(GTK_CLIST (retval->pagelist),2,GTK_BUTTON_SELECTS);
But then the button "selects", and I don't want it to select. I just
want it to report to the application that the user has right-clicked
in a given column row with the right button.
I have used the
"button_press_event" event. But this is a gtkwidget event and it does
not report column and row. I need both.
Any ideas?
Thanks a lot!
--
Daniel M. German "The growth of the Net
is not a fluke or a fad,
but the consequence of unleashing
The Economist -> the power of individual creativity."
http://csgwww.uwaterloo.ca/~dmg/home.html
dmg@csg.uwaterloo.ca
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]