GtkComboBox cell rendering?

2006-08-19 Thread Daniel Pekelharing
Hi all, I have for the first had the need of a GtkComboBox in my app... I am a little confused about how to use it. I have: GtkWidget *box; GtkTreeList *list = gtk_list_store_new(2, G_TYPE_STRING, G_TYPE_INT); ... fill in the list store ... box = gtk_combo_box_new_with_model(list); ...

Re: GtkComboBox cell rendering?

2006-08-19 Thread Iago Rubio
On Sat, 2006-08-19 at 17:22 +0200, Daniel Pekelharing wrote: Hi all, I have for the first had the need of a GtkComboBox in my app... I am a little confused about how to use it. I have: GtkWidget *box; GtkTreeList *list = gtk_list_store_new(2, G_TYPE_STRING, G_TYPE_INT); This

Re: GtkComboBox cell rendering?

2006-08-19 Thread Daniel Pekelharing
On Sat, 2006-08-19 at 20:35 +0200, Iago Rubio wrote: This GtkTreeList thing is a typo, right? Oops .. yes typo, - I meant GtkTreeModel ... but I think GtkListStore is probably the best. Thanks a million for the example code! I got it working now... It was the gtk_cell_layout stuff that I