From: Mattia Galati Date: 2008-02-21T19:54:52+09:00 Subject: Re: [ComboBox] Populate from db table > [...] it looks like Glade is forcing your hand into > using the more robust(complex?) MVC based TreeModel structure, for which > there is a bit of a learning curve :) yes, you're right. However I managed to run, here the code: combo_cat = @glade["combo_categoria"] list_cat = Gtk::ListStore.new(String, String) cell_cat = Gtk::CellRendererText.new() combo_cat.pack_start(cell_cat, true) combo_cat.add_attribute(cell_cat, 'text',0) combo_cat.set_model(list_cat) @db.execute("SELECT categoria FROM categorie_clienti ORDER BY categoria") do |row| iter = list_cat.append iter[0] = row[0] end -- Posted via http://www.ruby-forum.com/.