[Glade-devel] [glade-3] pixmap properties

--- Damon Chaplin <damon karuna uklinux net> wrote:


I'm about to try to add support for pixmap
properties to glade-3.

We need to keep the filename stored somewhere. Where
should it go?
I suppose since GdkPixbuf is a GObject we could use

But we may also need additional data with other
property types at some
point (e.g. a translatable flag and translator
comments for strings).
So I thought maybe there should be a standard way of
storing extra data
for a property besides its GValue.

The g_object_set_data approach seems good enough to
me. These uses seems to be rare enough to need
anything else.


Joaquin Cuenca Abela
e98cuenc at yahoo dot com

Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  

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