Re: Problem in gtk_combo_box_append_text()

2011-01-20 Thread Murray Cumming
On Thu, 2011-01-20 at 16:37 +0530, Karthikeyan Krishnamurthi wrote: > Hi group, > >I try to append text to combo box using gtk_combo_box_append_text () i > got the following error... > > gtk_combo_box_append_text: assertion `GTK_IS_LIST_STORE > (combo_box->priv->model)' failed > > how to so

Problem in gtk_combo_box_append_text()

2011-01-20 Thread Karthikeyan Krishnamurthi
Hi group, I try to append text to combo box using gtk_combo_box_append_text () i got the following error... gtk_combo_box_append_text: assertion `GTK_IS_LIST_STORE (combo_box->priv->model)' failed how to solve this.. I am using anjuta 2.32.0 -- Thanks & Regards K. Karthikeyan, 924553027

Re: gtk-app-devel-list Digest, Vol 81, Issue 20

2011-01-20 Thread Miroslav Rajcic
It appears that GtkSourceCompletionWords provider grabs the words that exist in your text view and offers one of those as completion suggestion once you type a similar word. Correct me if I am wrong, but this is my experience with almost exact code as the one you are using. And the fact that Gtk

Re: gtk-app-devel-list Digest, Vol 81, Issue 20

2011-01-20 Thread craigbakalian
Hi, I did some hacking into this. If you want a simple form of completion you can use the following implementation- #include #include #include #include GtkSourceCompletionWords *prov_words; comp = gtk_source_view_get_completion (GTK_SOURCE_VIEW (textview)); prov_words = gtk_source_complet