diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-06-04 23:53:35 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-06-04 23:53:35 +0000 |
commit | f114b14ac330458b7e4a8c35b1b28e50765a498f (patch) | |
tree | b24579417532991e8ef7dde83e90765901d24f2f /gtk/gtktreestore.c | |
parent | f9a478644e7215be2110d7b120938c47be9248d0 (diff) | |
download | gtk+-f114b14ac330458b7e4a8c35b1b28e50765a498f.tar.gz |
Document restriction on types.
2003-06-05 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreestore.c (gtk_tree_store_new):
* gtk/gtkliststore.c (gtk_list_store_new): Document restriction on
types.
Diffstat (limited to 'gtk/gtktreestore.c')
-rw-r--r-- | gtk/gtktreestore.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c index e39ae4da47..2f7b5963c2 100644 --- a/gtk/gtktreestore.c +++ b/gtk/gtktreestore.c @@ -278,7 +278,10 @@ gtk_tree_store_init (GtkTreeStore *tree_store) * @Varargs: all #GType types for the columns, from first to last * * Creates a new tree store as with @n_columns columns each of the types passed - * in. As an example, <literal>gtk_tree_store_new (3, G_TYPE_INT, G_TYPE_STRING, + * in. Note that only types derived from standard GObject fundamental types + * are supported. + * + * As an example, <literal>gtk_tree_store_new (3, G_TYPE_INT, G_TYPE_STRING, * GDK_TYPE_PIXBUF);</literal> will create a new #GtkTreeStore with three columns, of type * <type>int</type>, <type>string</type> and #GdkPixbuf respectively. * |