Re: [gnome-db] GDA_VALUE_TYPE_IMAGE



El dom, 30-11-2003 a las 16:18, Rodrigo Moya escribió:
> HI
> 
> I am going to add support for images in GdaValue's, which will then be
> shown in the grid widget, as GdkPixbuf's.
> 
> The easiest way to convert the data in the GdaValue to a GdkPixbuf is to
> have providers return the image in raw data, which can then be converted
> to a pixbuf easily.
> 
> Does this sound ok for all providers?

Isn't GDA_VALUE_TYPE_BINARY enough for holding images and then use a
cell renderer that converts from that to a pixbuf?

-Gonzalo


-- 
Gonzalo Paniagua Javier <gonzalo gnome-db org>
http://www.gnome-db.org/~gonzalo/







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