atkmm: atkmm Reference Manual

atkmm 2.22.6

- 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.

## basics

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)