a cross between a GtkTreeModel/Path and GtkList?

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

 



Hi -

As part of my attempts to make netperf4 easier to use, I'm starting down the path of writing a small GTK+2 application that will allow the user to create/edit netperf4 config files. In a netperf4 config file, there are one or more "netservers" and a netserver can have 0 or more "tests" associated with it.

At first blush, after reading the Gtk+ 2.0 Tree View tutorial:

http://scentric.net/tutorial/treeview-tutorial.html

A GtkTreeModel/View seemed apropriate, but it would seem that the assumption is that while there is a parent/child relationship like my netserver/test, the parent and child have the same columns.

Is there a widget out there already, or some examples, where the child could have different columns from the parent? Will I have to find a way to "nest" different GtkListModel/Views?

What I'd like to be able to do is allow the user to click on the expand gizmo (gee, does my knowledge of terms show?-) of a netserver and list the tests with their own column headings and such.

thanks for any pointers,

rick jones

an example of a netperf4 config file, with just one netserver, in its native XML form can be seen here:

http://www.netperf.org/svn/netperf4/branches/glib_migration/src/default_config.xml

or there is the DTD in all its present glory:

http://www.netperf.org/svn/netperf4/branches/glib_migration/src/netperf_docs.dtd
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux