hi,
you need to add the renderers! The ComboBox uses a tree model. Look how its
done there.
Stefan
On 10:23:22 pm 09/11/2006 Mark Richardson <[EMAIL PROTECTED]> wrote:
> Having some difficulty with a combo box and associated tree store.
> When I do this, nothing shows up...
>
> GtkTreeStore *m
t;[EMAIL PROTECTED]> wrote:
Date: Fri, 10 Nov 2006 00:23:46 +0100
From: David Neèas (Yeti) <[EMAIL PROTECTED]>
To: Mark Richardson <[EMAIL PROTECTED]>
Subject: Re: ComboBox and TreeStore
On Thu, Nov 09, 2006 at 02:59:18PM -0800, Mark Richardson wrote:
> Thanks, I can't seem to
On Thu, Nov 09, 2006 at 01:23:22PM -0800, Mark Richardson wrote:
> Having some difficulty with a combo box and associated tree store. When I do
> this, nothing shows up...
>
> GtkTreeStore *myTreeStore=gtk_tree_store_new(1, G_TYPE_STRING);
> GtkWidget *myComboBox=lookup_widget(mainWindow,
Having some difficulty with a combo box and associated tree store. When I do
this, nothing shows up...
GtkTreeStore *myTreeStore=gtk_tree_store_new(1, G_TYPE_STRING);
GtkWidget *myComboBox=lookup_widget(mainWindow, "myComboBox");
gtk_combo_box_set_model(GTK_COMBO_BOX(myComboBox),
GTK_T