Re: [gtk-list] CList: Menu on right-click
- From: Todd Dukes <tjdukes flash net>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] CList: Menu on right-click
- Date: Wed, 25 Nov 1998 14:46:00 +0000
"D. Emilio Grimaldo Tunon" wrote:
>
> Hi,
> On a CList I can (de)select with the mouse, but what if I
> want to be able to popup a dropdown menu (just like in
> root windows) when I press the right eye (:-) of the mouse
> on a CList item? is that possible? (1.0.5? or 1.1?)
>
> TIA,
> Emilio
> --
> D. Emilio Grimaldo Tunon Compuware Europe B.V. (Uniface Lab)
> Software Engineer Amsterdam, The Netherlands
> emilio_tunon@nl.compuware.com Tel. +31 (0)20 3126 516
> *** The opinions expressed hereby are mine and not my employer's ***
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
Yes it is. I don't have an example for gtk+. But there is one in
gtk-- in examples called testgtkmm.cc. It is in the itemfactory
test. Essentially you connect to the button_press_event, when you
get the event, check to see if it is the button you want. If it
is call popup on the menu.
Todd
--
-----------------------------------------
Todd & Lisa Dukes
tjdukes@flash.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]