Re: Introspection API
- From: Sven Neumann <sven gimp org>
- To: Mike Kestner <mkestner novell com>
- Cc: gtk-devel-list gnome org, Matthias Clasen <mclasen redhat com>, language-bindings gnome org
- Subject: Re: Introspection API
- Date: Sat, 19 Feb 2005 00:04:41 +0100
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]