Re: GnomeCanvas
- From: "Jean-Christophe Berthon" <jean-christophe berthon cgey com>
- To: "Karina Foroutan" <foroutan uol com br>, "Gtk List" <gtk-list gnome org>
- Subject: Re: GnomeCanvas
- Date: Tue, 31 Jul 2001 15:38:51 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]