Re: Adding row to the ListStore
- From: Tim Müller <zen18864 zen co uk>
- To: gtk-app-devel-list gnome org, Petr Hracek <phracek terra cz>
- Cc:
- Subject: Re: Adding row to the ListStore
- Date: Mon, 13 Dec 2004 09:28:16 +0000
On Monday 13 December 2004 08:52, Petr Hracek wrote:
My code:
struct _DialogData
{
GtkWindow * TreeView;
}
Just to make sure: a GtkTreeView is not a GtkWindow, you should use GtkWidget*
or GtkTreeView*.
// Now I want add data as a rows to the ListStore.
// How I can do this
GtkTreeIter iter;
gtk_list_store_append (GTK_LIST_STORE (model), &iter);
Also see http://scentric.net/tutorial/treeview-tutorial.html
Cheers
-Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]