Re: GParamSpec
- From: Chema Celorio <chema ximian com>
- To: Owen Taylor <otaylor redhat com>
- Cc: timj gtk org, gtk-devel-list gnome org
- Subject: Re: GParamSpec
- Date: 20 Jun 2001 14:42:21 -0500
On 19 Jun 2001 23:07:19 -0400, Owen Taylor wrote:
> Each parameter has three strings associated with it:
>
> gchar *name;
> gchar *nick;
> gchar *blurb;
>
> name: the name of the property "Type"
> nick: The programmatic name of the property "type"
> blurb: tooltip "
Yes, but name gives me "type" not Type, and for enum values name has
"GTK_WINDOW_TOPLEVEL" and nick has "toplevel", i still need "Toplevel".
> > - Another thing that i bumped into last night (and this was the first
> > time I started using the ParamSpec) is that i could not get the default
> > value for an Enum spec.
>
> Why not?
>
> struct _GParamSpecEnum
> {
> GParamSpec parent_instance;
>
> GEnumClass *enum_class;
> glong default_value;
> };
>
I'm sorry, my mistake.
Hmm why is it a glong ? (just curious)
Chema
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]