From: Mattia Galati Date: 2008-02-20T19:53:43+09:00 Subject: Re: [ComboBox] Populate from db table Howard Roberts wrote: > So you should be > able to do something like this: > > rows.each{|r| @combo.append_text(r[0])} > for each row in the table this code give me this error: /usr/lib/ruby/1.8/sqlite3/database.rb: line 643 Gtk-CRITICAL **:gtk_combo_box_append_text: assertion `GTK_IS_LIST_STORE (combo_box->priv->model)' failed note that the combo was not created with Gtk::ComboBox.new but retrieved with @glade["combo"] ... don't know if it matters -- Posted via http://www.ruby-forum.com/.