Introduction to Gtkmm

The Gtkmm package provides a C++ interface to GTK+ 3.



Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

Gtkmm Dependencies


Atkmm-2.28.4, GTK+-3.24.42, and Pangomm-2.46.4



Installation of Gtkmm

Install Gtkmm by running the following commands:

mkdir gtkmm3-build &&
cd    gtkmm3-build &&

meson setup --prefix=/usr --buildtype=release .. &&

To test the results, issue: ninja test. Note that you must be in a graphical environment, as the tests try to open some windows.

Now, as the root user:

ninja install

If you have built the documentation (see Command Explanations below) it was installed to /usr/share/doc/gtkmm-3.0. For consistency, move it to a versioned directory as the root user:

mv -v /usr/share/doc/gtkmm-3.0 /usr/share/doc/gtkmm-3.24.9

Command Explanations

-Dbuild-documentation=true: If you have installed Doxygen-1.11.0 this define will build and install the documentation.


Installed Programs: None
Installed Libraries: and
Installed Directories: /usr/include/gdkmm-3.0, /usr/include/gtkmm-3.0, /usr/lib/gdkmm-3.0, /usr/lib/gtkmm-3.0, and optionally /usr/share/{devhelp/books/gtkmm-3.0,doc/gtkmm-3.24.9}

Short Descriptions

contains the GDK API classes

contains the GTK+ 3 API classes