# File gtk/sample/gtk-demo/list_store.rb, line 69 def create_model # create list store store = Gtk::ListStore.new(TrueClass, Integer, String, String) # add data to the list store DATA.each do |bug| iter = store.append bug.each_with_index do |value, index| iter[index] = value end end return store end