Re: question on a moving object on the drawing area

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

 



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.


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux