x
Loading
 Loading
Hello, Guest | Login | Register

GUI Building With GTK

While developing the GIMP
(GNU Image Manipulation Program) a few years back, Spencer Kimball and
Peter Mattis decided that it might be fun to write a user interface
toolkit to go along with it. And so they created GTK+ (the GIMP Toolkit)
– a library of “widgets” that makes it easier for developers to build
GUI-based application. A widget is one of the various components of a
graphical application; a toolbar, for example. The widgets provide
programmers with pre-built dialog boxes, windows, menu bars and other
GUI components. Having a pre-built foundation for these user interface
components greatly speeds development of GUI applications and also
enables applications built with those widgets to share a common “look
and feel”.

While developing the GIMP (GNU Image Manipulation Program) a few years back, Spencer Kimball and Peter Mattis decided that it might be fun to write a user interface toolkit to go along with it. And so they created GTK+ (the GIMP Toolkit) — a library of “widgets” that makes it easier for developers to build GUI-based application. A widget is one of the various components of a graphical application; a toolbar, for example. The widgets provide programmers with pre-built dialog boxes, windows, menu bars and other GUI components. Having a pre-built foundation for these user interface components greatly speeds development of GUI applications and also enables applications built with those widgets to share a common “look and feel”.

For those of us seeking a toolkit that does not restrict us to any one operating system or language, GTK+ is worth checking out.

While the GTK+ toolkit is written in C, there are language bindings available for a variety of languages including C++, Pascal, Guile, Perl, and Python. And the fact that the toolkit is released under an Open Source license makes de-bugging applications and learning about GTK+ easier than it would be with a proprietary toolkit.

GTK+ has been ported to a variety of platforms, including Solaris, HP-UX, MS Windows, and Irix, as well as Linux. It includes a library of routines (called GLIB) to support non-graphical elements required in an event-driven application such as linked lists, trees,sockets, and memory allocation to help make applications more portable.

Please log in to view this content.

Not Yet a Member?

Register with LinuxMagazine.com and get free access to the entire archive, including:

  • Hands-on Content
  • White Papers
  • Community Features
  • And more.
Already a Member?
Log in!
Username

Password

Remember me

Forgotten your password?
Forgotten your username?
Read More
  1. Helpful Tools for Software Developers
  2. The Github Hall of Fame
  3. Book'em, Github.
  4. This Week on Github: Stupid Ruby Tricks
  5. A Veritable Scatter Shot!
Follow Linux Magazine
Rackspace