creating a treeview instead of a table doesn't seem to be a bad idea, and it's also easy to do:
Anybody looking into this should have a look at the function "create_me" in gui-keypad.c: http://bazaar.launchpad.net/~gnusim8085-admins/gnusim8085/trunk/annotate/head%3A/src/gui-keypad.c
There is a nested loop that creates ROWS x COLUMNS entries for the table.
The table is created at the beginning of the function with the gtk_table_new() call, this would need to be replaced with gtk_tree_view_new() instead: http://library.gnome.org/devel/gtk/unstable/GtkTreeView.html
Entries would then need to be added accordingly.
It would be possible to either replace the nested loop with hard coded calls to set up the tree view manually, or to use an XML file instead and parse it instead.
creating a treeview instead of a table doesn't seem to be a bad idea, and it's also easy to do:
Anybody looking into this should have a look at the function "create_me" in gui-keypad.c: http:// bazaar. launchpad. net/~gnusim8085 -admins/ gnusim8085/ trunk/annotate/ head%3A/ src/gui- keypad. c
There is a nested loop that creates ROWS x COLUMNS entries for the table.
The table is created at the beginning of the function with the gtk_table_new() call, this would need to be replaced with gtk_tree_view_new() instead: http:// library. gnome.org/ devel/gtk/ unstable/ GtkTreeView. html
Entries would then need to be added accordingly.
It would be possible to either replace the nested loop with hard coded calls to set up the tree view manually, or to use an XML file instead and parse it instead.