Re: on_exposure problem in custom widget



David Sillou wrote:

and it now works almost fine but there is still a problem i can't get
trough: when the on_exposure_event method is called, I pass the info
to  xine that handles it correctly (and redraw video image) but,
unfortunately, when  on_exposure_event is left, the widget's
background is redrawn in rectangle that  needed to be refreshed. Looks
like another handler is called with the same event after leaving
on_exposure_event ...

Sounds like a problem I had drawing OpenGL into a Gtk::DrawingArea - try calling set_double_buffered(false) for your widget, so GTK's double-buffering isn't wiping-out what you draw.

Cheers,
Tim



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]