Re: [gtkmm] Q: How to get button_press_event for Gtk::TreeView



> - 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?

If you want to receive button_press events you must enable them first.

> - 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.

I'd like to know it too.

Jarek




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