atkmm
2.36.0
|
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-2.36`
If your version of g++ is not C++17-compliant by default, add the -std=c++17
option.
If you use Meson, include the following in meson.build:
atkmm_dep = dependency('atkmm-2.36')
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-2.36])
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)
Generated on Sat Dec 19 2020 09:14:22 for atkmm by 1.8.11