Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

anoopmj

macrumors member
Original poster
Oct 31, 2006
32
0
Hi,

I have been programming with visual basic on windows for a while now and was hoping to move onto fortran (mainly because of lots of old code) on a mac. I have gfortran and g95 already, and it seems to work well.

I was wondering if anyone knew a good and simple (imp!) way to create GUIs for fortran code on a mac, like visual basic on windows? I have heard about Xcode, but that does not seem as intuitive as VB.

Cheers,

A
 
new gtk-fortran project (Graphical User Interface)

Hi, it has not yet been tested on Mac, but it should work. Let me know.

The objective of the gtk-fortran project is to offer Fortran programmers a crossplatform library to build Graphical User Interfaces (GUI). Gtk-fortran is a GTK+ / Fortran binding entirely written in Fortran. It is based on the ISO_C_BINDING module for interoperability between C and Fortran, which is a part of the Fortran 2003 standard. GTK+ is a free software crossplatform graphical library available for Linux, Unix, Windows and MacOs X.

The home page of the project is https://github.com/jerryd/gtk-fortran/wiki

In its devel branch, gtk-fortran offers currently an interface to more than 8100 GTK+ functions (GTK, GDK, GdkPixbuf, Cairo, Pango). It is not complete but covers probably more than 85% of GTK, GDK, GdkPixbuf, Cairo and Pango. These interfaces were automatically created by a python script which parses the C header files of the GTK+ libraries.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.