GdkPixmap freeing



Hi I'm setting GtkPixmap using:

     gtk_pixmap_set(picture, pixmap, mask );

I expect that i should also "get" the old pixmap using gtk_pixmap_get, and
free it after i do the set thing.

Now my question is, do I have to delete it, and if so how?

Oh yes I almost forgot. Does gtk_pixmap_set make a copy of the pixmap, or
does it just use its pointer.
To put it in another way, may I delete the new pixmap after gtk_pixmap_set?

BTW. I will newer use the old GdkPixmap again.



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