Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

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

share|improve this answer

Your Answer


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.