Re: ToggleButton seems to suppress pointer-motion-mask events

2008-03-25 Thread Kevin Ryde
(Bit of old stuff, I've been away ...) muppet [EMAIL PROTECTED] writes: Solution: Don't put the DrawingArea inside a ToggleButton. Yep. When you gtk_widget_add() the DrawingArea to the ToggleButton, you make the DrawingArea's GdkWindow a child of the ToggleButton's GdkWindow. Nosing

ToggleButton seems to suppress pointer-motion-mask events

2008-02-03 Thread Mitchell Laks
Hi, I was trying to capture events such as button1-motion-mask or button2-motion-mask or pointer-motion-mask with pointer-motion-hint-mask on an OpenGL widget. This is to be able to use window and level and pan and zoom for display of medical CT and MRI images I noticed that initially I could

Re: ToggleButton seems to suppress pointer-motion-mask events

2008-02-03 Thread muppet
On Feb 3, 2008, at 3:26 PM, Mitchell Laks wrote: I noticed that initially I could not seem to capture the [pointer motion] events. I am a beginner so I was modifying the examples I found in the distribution files; Thus I was using a widget that a modification of the default example