Re: [pygtk] faking events

2002-08-30 Thread Arjan Molenaar
On Fri, 2002-08-30 at 01:05, Rob Brown-Bayliss wrote: Hi. I am having a problem with the gnome canvas redrawing. All works fine until I decide to show or hide some widgets on the canvas, then it seems that the canvas is not redrawing correctly until I mouse over the objects. Is there

Re: [pygtk] faking events

2002-08-30 Thread Rob Brown-Bayliss
On Sat, 2002-08-31 at 03:21, Arjan Molenaar wrote: In DiaCanvas2 I work around this by explitly setting the zoom factor: (in C) gnome_canvas_set_pixels_per_unit (GNOME_CANVAS (view), GNOME_CANVAS (view)-pixels_per_unit); Wohoo!!! Cheers,. that sorted out the

Re: [pygtk] faking events

2002-08-29 Thread James Henstridge
Rob Brown-Bayliss wrote: Hi. I am having a problem with the gnome canvas redrawing. All works fine until I decide to show or hide some widgets on the canvas, then it seems that the canvas is not redrawing correctly until I mouse over the objects. Sounds like a canvas bug. Federico has a

Re: [pygtk] faking events

2002-08-29 Thread Rob Brown-Bayliss
On Fri, 2002-08-30 at 16:47, James Henstridge wrote: Well, calling queue_draw() on the widgets might do what you want. Moving the mouse over the widget essentially just changes the state and queues a redraw. It didn't make a difference. The problem seems to be, as you say, in the canvas

Re: [pygtk] faking events

2002-08-29 Thread James Henstridge
Rob Brown-Bayliss wrote: On Fri, 2002-08-30 at 16:47, James Henstridge wrote: Well, calling queue_draw() on the widgets might do what you want. Moving the mouse over the widget essentially just changes the state and queues a redraw. It didn't make a difference. The problem seems