Re: Introspection API


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:

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


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