Re: on_exposure problem in custom widget
- From: David Sillou <silloudavid yahoo fr>
- To: "Timothy M. Shead" <tshead k-3d com>
- Cc: gtkmm-list gnome org
- Subject: Re: on_exposure problem in custom widget
- Date: Sun, 06 Mar 2005 12:17:01 +0100
Timothy M. Shead wrote:
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
Hello,
that solve my problem.My wife will be happy to so see me back :-)
thx a lot.
DAve
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]