From: Mattia Galati Date: 2008-02-20T16:59:36+09:00 Subject: [ComboBox] Populate from db table Hy everybody, I've just started learning a bit of this amazing language but I've encountered some problems. I have a sqlite3 database wich contains a table and I want to populate a Gtk::ComboBox with the data on it. To create the GUI I've used Glade and this is a part of my code: @db.execute("SELECT cat FROM table ORDER BY cat") do |row| puts row end Now, the script print the rows correctly, but I can't manage to store them in my ComboBox called trough @combo = @glade["my_combo"] what should I do? Sorry for my bad english. -- Posted via http://www.ruby-forum.com/.