HI, I'm new to Gtk and need to know how I can display a table from query a database. I am using Glade to build the GUI. Any information is welcome Thanks!!
on 2012-09-22 22:06
on 2012-09-24 17:42
So this really isn't a Gtk question too much, unless your asking how to display them. As for getting the data out of the DB/ What type of database? I use the oci8 gem for Oracle DBs. http://rubygems.org/gems/ruby-oci8 It very simple to use. Just use that to grab the data you are looking for and then display it in your GUI however you want.
on 2012-11-12 08:56
Hi Mathid: Typically rubyists use ActiveRecord to use databases. I would urge you to look at this video that shows a really easy way to display records from any database in a listbox: http://visualruby.net/site/ActiveRecord%20Tutorial.html Yours, Eric