Re: Driving an animation in a widget
- From: Braden McDaniel <braden endoframe com>
- To: Harring Figueiredo <harringf yahoo com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Driving an animation in a widget
- Date: Sun, 13 Jun 2004 15:11:24 -0400
On Mon, 2004-06-07 at 10:29, Harring Figueiredo wrote:
Do you know when the widget is no longer needed ? Or can you find that out?
If so, you can keep a reference to the widget and destroy it yourself later
at the point which you no longer need it.
Well, not really (at least, as far as I can tell). So I've resorted to
driving the animation in its own thread.
The problem I'm having now is that when my widget's thread calls
gtk_widget_queue_draw, I don't seem to reliably receive an expose event.
Any ideas on how I could ensure my widget gets redrawn frequently
enough?
--
Braden McDaniel e-mail: <braden endoframe com>
<http://endoframe.com> Jabber: <braden jabber org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]