Learn R Programming

RGtk2 (version 2.12.17)

checkGTK: Bound versions

Description

These functions are for querying (bound*) and checking (check*) the bound versions of the libraries (GTK, Pango and Cairo).

Usage

checkGTK(version)
checkPango(version)
checkCairo(version)
boundGTKVersion()
boundPangoVersion()
boundCairoVersion()

Arguments

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

Value

  • The check* functions return the result of the comparison as an integer, as from compareVersion.

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

See Also

compareVersion

Examples

Run this code
checkGTK("2.12.0")
# same as
compareVersion(boundGTKVersion(), "2.12.0")

Run the code above in your browser using DataLab