Re: Introspection API



Hi,

Mike Kestner <mkestner novell com> writes:

> One more wrinkle for params...
>
> It would be nice for string params to identify encoding when they are
> not in utf8 encoding, such as in the filename case.  A case could
> probably be made for a GStringDef.

Not sure if this is helpful, but we solved this in GIMP by adding a
new param_spec derived from GParamSpecString:

http://cvs.gnome.org/viewcvs/gimp/libgimpconfig/gimpconfig-path.h?view=markup
http://cvs.gnome.org/viewcvs/gimp/libgimpconfig/gimpconfig-path.c?view=markup

GimpConfigPath has a type enum that identifies it as a file or
direcory path or a list of files or list of directories.


Sven



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