Re: GnomeCanvas



Jean,
That example was really helpfull, but
I'm still having some problems.  :(
The drawings doesn't desapeare when I change the toolbar, but when i
change/switch windows it does. I've tried to fix the gtk_draw_arc()  but
i
couldn't  do it.
Can you help me? Anybody else?    :)
Thanks !


----- Original Message -----
From: Jean-Christophe Berthon <jean-christophe berthon cgey com>
To: Karina Foroutan <foroutan uol com br>; Gtk List <gtk-list gnome org>
Sent: Tuesday, July 31, 2001 10:38 AM
Subject: Re: GnomeCanvas


> The drawings are deleting each time you are moving an object over
them. To
> avoid the problem you have to connect your object (GnomeCanvas) to the
> expose event. In this event you should be able to get the area which
has
> been destroyed, so you can redraw there what should be.
> (there is a small example here :
> http://www.editions-eyrolles.com/livres/odin/ - just download the zip
file
> (click on the link "fichier zip" - fichier stands for file...) And
have a
> look at the file DrawningArea.c in directory Chapitre17 (once you
unzip the
> file).
>
> Hope this help,
>
>
> Best regards,
> ---
> Jean-Christophe Berthon
>
>
>
> ----- Original Message -----
> From: "Karina Foroutan" <foroutan uol com br>
> To: <gtk-list gnome org>
> Sent: Tuesday, July 31, 2001 3:19 PM
> Subject: GnomeCanvas
>
>
> > I'm using GnomeCanvas widget to make drawings with the help of the
> > mouse, but every time I change window or move the toolbar, the
drawings
> > are destroyed. What can I do?
> >
> > Thanks
> >
> >
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-list
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>





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