Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #106108

Re: pygtk button right/middle click

From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.lang.python
Subject Re: pygtk button right/middle click
Date 2016-03-30 19:23 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <ndh93n$d6c$1@reader1.panix.com> (permalink)
References <ndgrpc$6kh$1@reader1.panix.com> <U8GdnQBnn4yPu2HLnZ2dnUU7-fednZ2d@giganews.com> <ndh8vs$5kd$1@reader1.panix.com>

Show all headers | View raw


On 2016-03-30, Grant Edwards <invalid@invalid.invalid> wrote:
> On 2016-03-30, Wildman <best_lay@yahoo.com> wrote:
>
>>> Is the gtk button widget really incapable of handling left or middle
>>> mouse buttons or shift/ctrl/alt modifiers?
>>
>> This might help...
>>
>> http://faq.pygtk.org/index.py?req=show&file=faq05.004.htp
>
> Yep, I found that.  I'm just missing the clues required to use those
> two pieces.

FWIW, I've decided to give up on this.  Since it took only a few lines
of code to handle the "left" click, I assumed that like some other
toolkits, it would be similarly easy to handle "right" and "middle".

I don't have the time to re-invent the wheel at the moment, so this
project will have to be postponed.

-- 
Grant Edwards               grant.b.edwards        Yow! I want to mail a
                                  at               bronzed artichoke to
                              gmail.com            Nicaragua!

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

pygtk button right/middle click Grant Edwards <invalid@invalid.invalid> - 2016-03-30 15:36 +0000
  Re: pygtk button right/middle click Chris Angelico <rosuav@gmail.com> - 2016-03-31 02:58 +1100
    Re: pygtk button right/middle click Grant Edwards <invalid@invalid.invalid> - 2016-03-30 17:44 +0000
  Re: pygtk button right/middle click Wildman <best_lay@yahoo.com> - 2016-03-30 14:16 -0500
    Re: pygtk button right/middle click Grant Edwards <invalid@invalid.invalid> - 2016-03-30 19:21 +0000
      Re: pygtk button right/middle click Grant Edwards <invalid@invalid.invalid> - 2016-03-30 19:23 +0000
        Re: pygtk button right/middle click Wildman <best_lay@yahoo.com> - 2016-03-30 16:37 -0500

csiph-web