Re: QTable equivalent in Gtkmm



José Alburquerque wrote:
smso graduate hku hk wrote:
AFAIK, QTable of Qt3.3 is a spreadsheet-like widget.
What is similar in Gtkmm is a combination of Gtk::TreeView + Gtk::ListStore.
However, I do not think this is an "exact" equivalent.


Another possible combination might be Gtk::TreeView and Gtk::TreeStore (which implements rows and columns) see chapter 8 of Programming with gtkmm (http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/index.html)

Correction: A TreeStore implements hierarchy so as already said, a ListStore might be used better in this case.
Though similar in naming, Gtk::Table is for layering out widgets only, much like QGridLayout of Qt4.

Regards.



_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list





--
José Alburquerque
jaalburquerque cox net

The path to real wisdom begins with a deep loving respect for the ever living God (Prov. 1:7)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]