1. EuGTK - wxGrid?

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?

new topic     » topic index » view message » categorize

2. Re: EuGTK - wxGrid?

Jerry_Story said...

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: EuGTK - wxGrid?

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu