checkGTK: Bound versions

Description Usage Arguments Value Author(s) Examples

View source: R/gtkManuals.R

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"

RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.

Related to checkGTK in RGtk2...