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 @
   // \\          @
  /(   )\
* *
*           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]