checkVersion

fun checkVersion(major: <Error class: unknown class>, minor: <Error class: unknown class>, micro: <Error class: unknown class>): Boolean

Like GTK_SOURCE_CHECK_VERSION, but the check for gtk_source_check_version is at runtime instead of compile time. This is useful for compiling against older versions of GtkSourceView, but using features from newer versions.

Return

true if the version of the GtkSourceView currently loaded is the same as or newer than the passed-in version.

Parameters

major

the major version to check

minor

the minor version to check

micro

the micro version to check