[gtkmm] Q: How to get button_press_event for Gtk::TreeView
- From: "Kuth, Joachim Dr." <Joachim Kuth T_SYSTEM sysde eads net>
- To: "'gtkmm-list gnome org'" <gtkmm-list gnome org>
- Subject: [gtkmm] Q: How to get button_press_event for Gtk::TreeView
- Date: Fri, 8 Nov 2002 16:25:05 +0100
Hi everybody,
I want to connect a signal handler to Gtk::TreeView
to handle various mouse button clicks. Two questions arise:
- I won't get any BUTTON_PRESS events, only BUTTON_RELEASE ones.
So I guess the default handler provided by Gtk::TreeView
stops further emitting by returning true.
Any idea how to disable this behaviour?
- Is there a way to disable the default behaviour that
pressing *any* mouse button will change the selection?
E.g. I want to change the selection with button1,
show a popup menu with button3, etc.
Any suggestions/hints welcome.
Thanks,
Joachim Kuth.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]