1. EuGTK - wxGrid?
- Posted by Jerry_Story Aug 20, 2010
- 1168 views
The file testdescriptions.txt seems to not have the GTK equivalent of the wxEuphoria wxGrid. A search of 'grid' on testdescriptions.txt finds nothing. Does this exist in GTK?
2. Re: EuGTK - wxGrid?
- Posted by jimcbrown (admin) Aug 20, 2010
- 1193 views
The file testdescriptions.txt seems to not have the GTK equivalent of the wxEuphoria wxGrid. A search of 'grid' on testdescriptions.txt finds nothing. Does this exist in GTK?
No. wxGrid is pretty unique to wxWidgets.
It's possible to get a grid in GTK using TreeView or TreeList: http://www.mail-archive.com/pygtk@daa.com.au/msg06091.html
http://stackoverflow.com/questions/832609/making-a-grid-in-gtk
Even Gnome uses that control to implement it's own Grid control: http://www.gtkmm.org/docs/libgnomedbmm-3.0/docs/tutorial/html/ch05.html
3. Re: EuGTK - wxGrid?
- Posted by irv Aug 21, 2010
- 1102 views
A grid control would use the ListView/TreeView control, and shouldn't be too hard to build. You can put most anything (icons, photos, pop-up/pull-down menus, etc) into a TV/LV, and make them editable if needed.
It all depends on how complex you want to get. I'll work on a demo where the grid is connected to a EDB database.