Re: Unable to instantiate GtkTreeModelSort with g_object_new.
- From: Owen Taylor <otaylor redhat com>
- To: Jeff Franks <jcf tpg com au>
- Cc: Jonathan Blandford <jrb redhat com>, Tim Janik <timj gtk org>, Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: Unable to instantiate GtkTreeModelSort with g_object_new.
- Date: 18 Nov 2001 23:16:27 -0500
Jeff Franks <jcf tpg com au> writes:
> Jonathan Blandford wrote:
>
> >Tim Janik <timj gtk org> writes:
> >
> >There is:
> >
> > g_object_class_install_property (object_class,
> > PROP_MODEL,
> > g_param_spec_object ("model",
> > _("TreeModelSort Model"),
> > _("The model for the TreeModelSort to sort"),
> > GTK_TYPE_TREE_MODEL,
> > G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
> >
> Surely, GtkTreeModelSort needs to install a "model" property not user code.
I think you misunderstood Jonathan ... he is quoting part of
gtktreemodelsort.c, not saying that the app should do this.
(It wouldn't work anyways ... properties have to be handled
by class->get/set_property)
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]