Re: [pygtk] Panel applet taking button2

1999-11-03 Thread Edward Muller
I stand corrected. I always use Emultate 3Button, so I tend to think of left click as button1, right click as button2, and combined click as button 3.I wrote before I thought I guess. Duh on my part. Hrvoje Niksic wrote: > [ Please note that button2 is the *middle* button, not the right mou

Re: [pygtk] Panel applet taking button2

1999-11-02 Thread James Henstridge
The deskguide applet has a special action for the middle button. Maybe you could look at that code. James. -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ On 3 Nov 1999, Hrvoje Niksic wrote: > [ Please note that button2 is the *middle* button, not the right mouse > button.

Re: [pygtk] Panel applet taking button2

1999-11-02 Thread Hrvoje Niksic
[ Please note that button2 is the *middle* button, not the right mouse button. Your question seems to imply that you think I want to change the behaviour of right-click, which I don't. ] Edward Muller <[EMAIL PROTECTED]> writes: > 1) What do you want to do on the button 2 click? I'm writin

Re: [pygtk] Panel applet taking button2

1999-11-02 Thread Edward Muller
My 2 Cents: 1) What do you want to do on the button 2 click? The reason why I ask this is that most of us have probably become accustomed to what happens when we right click on an applet, we get the standard applet menu plus any menu items the developer wanted to add to it. I know that If I wa

Re: [pygtk] Panel applet taking button2

1999-11-02 Thread Hrvoje Niksic
[ Has this response reached the list? I've sent it once, but I don't see it in my inbox. Sorry if you're reading this twice. ] James Henstridge <[EMAIL PROTECTED]> writes: > >From what I remember, the button press events are redirected to the panel > when you add the widget to the applet wit

Re: [pygtk] Panel applet taking button2

1999-11-01 Thread James Henstridge
>From what I remember, the button press events are redirected to the panel when you add the widget to the applet with AppletWidget.add(). I think if you do something like: a = AppletWidget('something') box = GtkVBox() a.add(box) # box's events get redirected to panel widget = GtkSomethin

[pygtk] Panel applet taking button2

1999-11-01 Thread Hrvoje Niksic
Is there a way for a panel applet to have control of button2 clicks. Normally, when button2 is pressed, the applet is moved. However, I *really* want my applet to respond to button2 clicks. Any ideas? To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Re: [pygtk] Panel applet taking button2

1999-01-02 Thread Hrvoje Niksic
James Henstridge <[EMAIL PROTECTED]> writes: > The deskguide applet has a special action for the middle button. > Maybe you could look at that code. Thanks for the suggestion; however, desktop guide implements a new widget, and I can't do that in pygtk. Specifically: static void gwm_desktop_cl