Re: right-click on CheckButton



on Tue, 09 Dec 2003 01:16:35AM +0100, Emmanuele Bassi insinuated:
* Nori Heikkinen <nori+gtk-perl maenad net>:

i'm writing a little to-do list program for myself (and, as it
always works out, spending way too much time writing a program to
make a list of things i _really_ should be doing :-P).  i'm using
CheckButtons for each item, and i'd like to be able to open up a
little pop-up menu if one is right-clicked on.  is this
functionality there somehow?

You may use the 'button-press-event', and then check if the button
code is 3:

cool!  just what i wanted; thanks :)

</nori>

-- 
    .~.      nori @ sccs.swarthmore.edu
    /V\  http://www.sccs.swarthmore.edu/~nori/jnl/
   // \\          @ maenad.net
  /(   )\       www.maenad.net
   ^`~'^
*------------------------------------------------------------------------*
* http://www.aidsmarathon.com/participant.asp?runner=DCNO-3267&year=2003 *
*------------------------------------------------------------------------*
*           Please help me raise money for AIDS as I train for           *
*                  the Whitman-Walker AIDS Marathon!                     *
*------------------------------------------------------------------------*

Attachment: pgpmhQ6AiqYxG.pgp
Description: PGP signature



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