Re: GtkList question

2005-09-06 Thread Olexiy Avramchenko
Faria, Sydney C wrote: ... which is from 2.0 API for Tree Widgets. Eric Harlow's book gives an example that uses gtk_widget_set_usize(list, 250, 250) which is now deprecated. What to I use to set a minumum size for the displayed list since I am going to be starting out with an empty list box

GtkList question

2005-09-06 Thread Faria, Sydney C
I have set the following code to form a list of text items called SPN: enum { SPN_COLUMN, N_COLUMNS } GtkListStore *listModel = gtk_list_store_new(N_COLUMNS, G_TYPE_STRING); GtkTreeIter *iter; gtk_list_store_append(listModel, &iter, NULL); gtk_list_store_set(listModel, &iter, SPN_COLUMN, "1st SPN"