Message-ID: <004e01c493e5$eb2c9d60$1501a8c0 at hama> From: "SooHyoung Oh" To: Subject: (Q) How to store "pixbuf" into GTree.model? Date: Mon, 6 Sep 2004 16:47:56 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: 7bit Could anyone help me to implement GTree.model which stores GdkPixbuf.pixbuf? Please refer the following C example code: ----------------------------------- GtkListStore * create_liststore(void) { GtkListStore *store; GtkTreeIter iter; GdkPixbuf *icon; GError *error = NULL; store = gtk_list_store_new(2, GDK_TYPE_PIXBUF, G_TYPE_STRING); icon = gdk_pixbuf_new_from_file("icon.png", &error); gtk_list_store_append(store, &iter); gtk_list_store_set(store, &iter, COL_ICON, icon, COL_TEXT, "example", -1); return store; }