jerryd/gtk-fortran — Issue #37: Thoughts on code structure and other issues.
Author: jtappin
Created: 2011-11-21 23:01:16+00:00
State: open
Labels: Discussion

Here are few thoughts and ideas.

1. I'd like to break up the high level interface into a number of submodules (containers, buttons etc.) -- there would still be a global high-level module to include all of them. The main reason for this is just that the source file is too long for convenient maintenance.
1. I would also like to commit the template files and converter code that I use to keep the gtk2 and gtk3 versions in sync.
1. I think it would be fairly trivial to modify the `cmake` stuff so that the GTK2 & GTK3 versions can be installed in parallel. Basically this would involve calling the libraries `libgtk-fortran2.*` and `libgtk-fortran3.*` and moving the modules to `$(INSTALL)/include/gtk-fortran2/` and `$(INSTALL)/include/gtk-fortran3/`, and making corresponding changes to the pgkconfig files.

If nobody has any objections to these I'll try to get them done over the upcoming long weekend in the US.