Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

What are my options for programming a GUI in Linux? I have several programs in Fortran and Python that I would like to create simple UI's for. I also plan on incorporating graphics in the form of plots.

share|improve this question
add comment

2 Answers 2

up vote 7 down vote accepted

You're going to need a GUI toolkit. There are more available than I can list here. Python has bindings for more toolkits than you can shake a stick at. See their GUI Programming wiki page for more info. I don't know much about Fortran, but the same logic is going to apply.

The most common toolkits on Linux are GTK (originally developed for The GIMP and now used in most Gnome stuff), the Qt tookit (most famous for being used in KDE) and WxWidgets. Tk is an oldy but a goody that seems to have bindings almost everywhere.

I would recommend researching which one you want to work with based on your target platform, what has the widgets most similar to what you want, and then using the same toolkit for all your work across both Python and Fortran since using the toolkit will almost be a language of it's own.

share|improve this answer
add comment

There are so many options, the variety is mind boggling. Some of the more popular GUI frameworks include.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.