libvtemm: libvtemm Reference Manual

libvtemm 0.25.0

- Main Page
- Related Pages
- Modules
- Classes
- Examples

libvtemm Reference Manual

## description

libvtemm is a C++ interface VTE library implementing a terminal widget using GTK+.

## basics

Include the libvtemm header:

     #include <libvtemm.h>

This includes every header installed by libvtemmmm, 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 libvtemm-1.2`

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

     PKG_CHECK_MODULES([LIBVTEMM], [libvtemm-1.2])

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

     program_CPPFLAGS = $(LIBVTEMM_CFLAGS)
     program_LDADD = $(LIBVTEMM_LIBS)