Functions

util_check_version (major, minor, micro)

util_get_debug ()

util_get_version ()

util_get_version_string ()

util_set_debug (enabled)

Details

GVnc.util_check_version(major, minor, micro)
Parameters:
  • major (int) – the desired major version

  • minor (int) – the desired minor version

  • micro (int) – the desired micro version

Returns:

True if the library is at least as new as the requested version

Return type:

bool

Check whether the library is at least as new as the version (major, minor, micro)

GVnc.util_get_debug()
Returns:

True if debugging is enabled, False otherwise

Return type:

bool

Determine whether the VNC code will emit verbose debug messages

GVnc.util_get_version()
Returns:

the library version number

Return type:

int

Get the encoded version number of the library release. The major, minor and micro components are encoded in 8-bits each.

GVnc.util_get_version_string()
Returns:

the version string

Return type:

str

Get the library version number in a printable string format

GVnc.util_set_debug(enabled)
Parameters:

enabled (bool) – True to turn on verbose debugging

Control whether the VNC code emits verbose debug messages on stderr