atkmm: atkmm Reference Manual

atkmm 2.24.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

atkmm Reference Manual

# Description

atkmm is the official C++ interface for the ATK accessibility toolkit library. It may be used, for instance, by user interfaces implemented with gtkmm.

# Basic Usage

Include the atkmm header:

#include <atkmm.h>

This includes every header installed by atkmm, so can slow down compilation, but suffices for this simple example. Assuming that your program source file is `program.cc`, compile it with:

g++ program.cc -o program `pkg-config --cflags --libs atkmm-1.6`

Alternatively, if using autoconf, use the following in `configure.ac:`

PKG_CHECK_MODULES([ATKMM], [atkmm-1.6])

Then use the generated `ATKMM_CFLAGS` and `ATKMM_LIBS` variables in the project `Makefile.am` files. For example:

program_CPPFLAGS = $(ATKMM_CFLAGS)
program_LDADD = $(ATKMM_LIBS)