[GNOME 1] GnomeCanvas performance question



[please CC replies to cactus cactus rulez org]

Hi,

With GNOME 1, is deleting a canvas item and creating a new one
significantly more expensive than changing the parameters of an
existing item?
What if the items are mostly GnomeCanvasPixbuf items and the pixbuf is
to be replaced -- is there any difference in performance between

   gtk_object_destroy (pixbufcanvasitem);
   pixbufcanvasitem = gnome_canvas_item_create (..., "pixbuf",
						pixbufdata, ...);

and
   gnome_canvas_item_set (pixbufcanvasitem, "pixbuf", pixbufdata,
			  ...);

?   

   


-- 
   .--= ULLA! =---------------------.   `We are not here to give users what
   \     http://cactus.rulez.org     \   they want'  -- RMS, at GUADEC 2001
    `---= cactus cactus rulez org =---'
Az én házam az én váram-mondta a király.




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