Re: how do I handle right-click on menu_items
- From: "Florent. Devin" <Florent Devin lifl fr>
- To: gtk-app-devel-list gnome org
- Cc: gtk-list gnome org
- Subject: Re: how do I handle right-click on menu_items
- Date: Fri, 17 Nov 2000 07:33:42 +0100
Kervin Pierre a écrit :
hello,
I'd like to have right-click handled differently than left click on my
gtk menu. My handler currently listens for the "activate" signal, but
I'd like to listen for the "activate" and right-click signals.
My goal is to have the right click on any part of the menu or the rest
of the program window to open a "properties" dialog.
Any insight on how this is done?
Thanks in advance,
Kervin
Listen to the signal "event", and parse it.
If it is a GDK_BUTTON_PRESS do ...
--
Florent DEVIN
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]