Re: question on a moving object on the drawing area
- From: Paul Davis <paul linuxaudiosystems com>
- To: zengqiang <zengqianghit hotmail com>
- Cc: gtk-list gnome org
- Subject: Re: question on a moving object on the drawing area
- Date: Wed, 07 May 2008 08:49:00 -0400
On Wed, 2008-05-07 at 19:10 +0800, zengqiang wrote:
>
> Hi, I have a GUI on which a vehicle should be running along a selected
> trajectory.
>
> previously, i can realize it easily in linux platform,using Gnome
> Canvas, by using canvas groups.
> one group shows the trajectory, another group for the vechile and
> etc..
>
> Now how can I realize the same thing in windows using gtk+? as I know,
> canvas is not avaible,
> but can only draw on GtkDrawingArea.
you have to call queue_draw() on the drawing area, and redraw everything
in the expose handler.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]