The GNOME Journal: Cross-Platform GTK+ Applications: A Newcomers Perspective
Mar 07, 2007, 10:00 (0 Talkback[s])
(Other stories by John D. Ramsdell)
WEBINAR: On-demand webcast
How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >
[ 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..."