---

The GNOME Journal: Cross-Platform GTK+ Applications: A Newcomers Perspective

[ Thanks to Lucas
Rocha
for this link. ]

“In an effort to sharpen my programming skills, I wrote a game
using a GUI framework with which I was not previously familiar and
ported it to several platforms. The framework selected was The GIMP
Toolkit, and the application was a puzzle solving game called GTK
Sudoku. In this article, I will describe the path that I took to
make use of this fine toolkit.

“I used four criteria for selecting a GUI framework: (1) The
framework had to support cross-platform development. (2) The
framework had to be one that I had never used, otherwise I feared
that I wouldn’t learn as much. This eliminated FLTK and wxWidgets.
(3) For my tastes, C is preferred over C++. (4) I wanted GTK Sudoku
to be scalable in the sense that the size of the default font, not
the resolution of the display, determines the size of each window
and widget. The Cairo vector graphics library was of great help to
meet this criterion…”


Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis