atkmm 2.28.3
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-3.0.

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`

If your version of g++ is not C++11-compliant by default, add the -std=c++11 option.

If you use Meson, include the following in meson.build:

atkmm_dep = dependency('atkmm-1.6')
program_name = 'program'
cpp_sources = [ 'program.cc' ]
executable(program_name,
cpp_sources,
dependencies: [ atkmm_dep ]
)

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)