Emanoel Guimaraes Martins Filho wrote:
> I'm trying to use a big pixmap (640x480) to show some
> estatistics, drawing rectangles and lines in the pixmap. The screen must be
> update each 5 seconds. However, the consume of memory reaches the size of
> the swap after some minutes and the program is aborted.

You should just be able to destroy the gtk_pixmap to free it up.

Another alternative is to use gtk_canvas. This does all of the hard
stuff for you, and should be much faster and better looking. Have a look
in the list archive for some links.

HTH, John

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to