[Gtk-sharp-list] serialization support

Lee Mallabone gnome@fonicmonkey.net
12 Apr 2003 13:27:25 +0100

Lee Mallabone <gnome@fonicmonkey.net>

I want to serialize a hashtable of Gdk.Pixbuf objects, but Gdk.Pixbuf
isn't serializable.

Is it feasible to make it Serializable?

I made an attempt, but I only seem to be able to extract a byte* to
represent the state, rather than a full (safe) byte array of data within
the Pixbuf. Even if serializing a byte* serializes its contents too,
(which I doubt), I have no way to create a Pixbuf without having a
properly managed byte array...

Anyone have any insight? I'm sure Pixbuf can't be the only Gtk# class
that might benefit from serialization support...