checkGTK: Bound versions

Description

These functions are for querying (bound*) and checking (check*) the bound versions of the libraries (GTK, Pango and Cairo). As of RGtk2 2.20.19, the check* functions are deprecated in favor of the more explicit boundVersion() >= version syntax.

Usage

1
2
3
4
5
6

Arguments

version

Version description to compare to the bound version, as in: boundGTKVersion() >= version.

Value

The check* functions return TRUE if version is satisfied, otherwise FALSE.

The bound* functions return a numeric_version representation of the bound library version.

Author(s)

Michael Lawrence

Examples

1
2
3
4
## instead of
# checkGTK("2.12.0")
## do this:
boundGTKVersion() >= "2.12.0"

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.