Re: Introspection API

Sven Neumann <[email protected]> Sat, 19 Feb 2005 00:04:41 +0100
Newsgroups gmane.comp.gnome.language-bindings,gmane.comp.gnome.gtk+.devel.general
Message-ID <[email protected]>
Hi,

Mike Kestner <[email protected]> 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
_______________________________________________
language-bindings mailing list  [email protected]
http://mail.gnome.org/mailman/listinfo/language-bindings