Re: Unable to instantiate GtkTreeModelSort with g_object_new.
- From: Jeff Franks <jcf tpg com au>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Unable to instantiate GtkTreeModelSort with g_object_new.
- Date: Mon, 19 Nov 2001 01:52:56 +1100
Owen Taylor wrote:
Jeff Franks <jcf tpg com au> writes:
Hi,
I've noticed that you can't instantiate GtkTreeModelSort with
g_object_new as there is no way the set the child_model. This wouldn't
be an problem if the gtk_tree_model_sort_set_model() function declared
in gtktreemodelsort.c were exported.
g_object_new (GTK_TYPE_TREE_MODEL_SORT, "model", model, NULL);
I couldn't find any reference to a "model" property for GtkTreeModelSort
so I didn't know there was one.
Jeff.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]