cluttermm: cluttermm Reference Manual
Description
cluttermm is a C++ wrapper for Clutter. See Clutter::Stage and Clutter::Actor, for instance, and see the Programming with cluttermm tutorial.
Basic Usage
Include the cluttermm header:
#include <cluttermm.h>
(You may include individual headers, such as cluttermm/actor.h
instead.)
If your source file is program.cc
, you can compile it with:
g++ program.cc -o program `pkg-config --cflags --libs cluttermm-1.0`
Alternatively, if using autoconf, use the following in configure.ac:
PKG_CHECK_MODULES([CLUTTERMM], [cluttermm-1.0])
Then use the generated CLUTTERMM_CFLAGS
and CLUTTERMM_LIBS
variables in the project Makefile.am
files. For example:
program_CPPFLAGS = $(CLUTTERMM_CFLAGS)
program_LDADD = $(CLUTTERMM_LIBS)