Re: Fortran 90 and GUIs
- From: Arjen Markus <arjen.markus@xxxxxxxxxx>
- Date: Mon, 30 Jun 2008 02:54:31 -0700 (PDT)
On 27 jun, 18:51, brady.m.ad...@xxxxxxxxx wrote:
I have a Fortran program that I would like to implement a GUI with. In
doing a little reading around the net it seems that I will probably
want to call a different programming language such as C++, Java, or
Python. Starting out the GUI will be really simple: something like
"You are running blah blah blah. Continue?" --- with yes and no
buttons. If things go smoothly the GUI could get considerably more
complex.
My question: is this feasible? If so what would be the best language
to do this with? I know nothing about C, C++, or Java, but I know a
little Python. Or is there something else that would be better? Are
there any good books or online references on interfacing two different
languages (one of which being Fortran)?
Thank you!
I will add my personal favourite to the list: Tcl/Tk.
You can use it in at least two different ways:
- Write a GUI in Tcl/Tk (or any other suitable language) that
prepares the input and then runs your program.
- Use a library like the one you find in my Ftcl project to
do the interfacing between Fortran and Tcl/Tk for you
(http://ftcl.sf.net)
You may also consider using the Ftk library in that same project
I have been developing to hide Tcl/Tk altogether by providing
Fortran routines that take care of that. It is not finished yet, but
it might be useful to look at, to see how you could create a
GUI with it.
Regards,
Arjen
.
- References:
- Fortran 90 and GUIs
- From: brady . m . adams
- Fortran 90 and GUIs
- Prev by Date: Re: Fortran 90 and GUIs
- Next by Date: Re: Fortran bashing in the MATLAB newsgroup
- Previous by thread: Re: Fortran 90 and GUIs
- Next by thread: undefined reference with include 'netcdf.inc'
- Index(es):