Re: g_param_spec_ ??
- From: Tim Müller <zen18864 zen co uk>
- To: gtk-app-devel-list gnome org
- Subject: Re: g_param_spec_ ??
- Date: Sat, 16 Jul 2005 17:02:07 +0100
On Saturday 16 July 2005 16:43, Iago Rubio wrote:
g_param_spec_object with GType GString?
GParamSpec* g_param_spec_object (const gchar *name,
const gchar *nick,
const gchar *blurb,
GType object_type,
GParamFlags flags);
GString is not an object.
G_TYPE_GSTRING is a boxed type, so it would be g_param_spec_boxed().
However, usually one would just use normal string properties like those
created with g_param_spec_string(). You can always store those strings
internally in a GString if you want to; it's all up to your _get_property()
and _set_property() functions.
Cheers
-Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]