goocanvasmm 1.90.11

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

goocanvasmm Reference Manual

# Description

goocanvasmm is a C++ binding for goocanvas. See the Goocanvas::Canvas widget.

# Basic Usage

Include the goocanvasmm header:

#include <goocanvasmm.h>

(You may include individual headers, such as goocanvasmm/rect.h instead.)

If your source file is `program.cc`, you can compile it with:

g++ program.cc -o program `pkg-config --cflags --libs goocanvasmm-1.0`

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

PKG_CHECK_MODULES([GOOCANVASMM], [goocanvasmm-1.0])

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

program_CPPFLAGS = $(GOOCANVASMM_CFLAGS)
program_LDADD = $(GOOCANVASMM_LIBS)