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.
[ 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
On Tue, Nov 02, 1999 at 09:33:36AM -0500, Rick Ree wrote:
> Adding the following to GtkExtra.py allows tearoff menu items to be added
> in the same way that separators are.
>=20
> BTW, how does one 'gray out' or disable a menu item?
menuitem.set_sensitive(0) should do what you want.
cu
Torst
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
[ 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
Adding the following to GtkExtra.py allows tearoff menu items to be added
in the same way that separators are.
BTW, how does one 'gray out' or disable a menu item?
--Rick
47,48d46
< elif label == '':
< item = GtkTearoffMenuItem()
To unsubscribe: echo "unsubs
> If your widget has a window (ie. not a label or other simple widget), you
> should be able to look at the pointer attribute of its GdkWindow:
> x,y = widget.get_window().pointer
>
> This will be relative to the window's top left corner. That is, if the
> pointer is above the window, a negati