Introduction: c++-gtk-utils library

The sha256sum of c++-gtk-utils-1.2.21.tar.gz is 98d8ac0fc37ceea9e38eee04461a51084bcd03ccd7af70b967f20e1a728f75ee

The sha256sum of c++-gtk-utils-2.0.7.tar.gz is 896d90d5db68bc2dcb45a1df5789fd6d9181dc242eb88e03e0932ba7e34eab14


NOTE: './configure' will prepare the library for compilation against GTK+3. To compile the library against GTK+2, use './configure-gtk2'.

c++-gtk-utils is a lightweight library containing a number of classes and functions for programming GTK+ programs using C++ in POSIX (unix-like) environments, where the user does not want to use a full-on wrapper such as gtkmm or wxWidgets, or is concerned about exception safety or thread safety of the wrapper and their documentation. It is parallel installable for both GTK+2 and GTK+3.

There are two current stable series of the library, namely the 1.2 series and the 2.0 series. The latest release in the 1.2 series is c++-gtk-utils-1.2.21. The 1.2 series of the library can be compiled with any C++98/03 compliant compiler such as gcc, and can also be compiled under C++0x/11, and is therefore at present the most portable target to use.

The 2.0 series targets C++0x/11 only, the latest release of which is c++-gtk-utils-2.0.7. If using gcc, gcc-4.4 or greater is required (and if using gcc-4.4, 4.5, 4.6 or 4.7, user code must be compiled with the -std=c++0x compiler flag)

It is intended that the main features offered by both series will remain in step, and that the 1.2 series will be maintained for as long as C++98/03-only programs are likely to be written (namely, some years). However, some features have more flexible implementations and usages in the 2.0 series than in the 1.2 series, because of the availability of variadic templates, generalised function objects and r-value references. The main differences between the two series are explained in the compatibility page.