set_version


Description:

[ Version ( since = "2.18" ) ]
public void set_version (uint64 major, uint64 minor, uint64 micro)

Set the application version.

If the application doesn't use the format major.minor.micro you can pass 0 as the micro to use major.minor, or pass 0 as both micro and minor to use only major number. Any other format must be converted to major.minor.micro so that it can be used in version comparisons.

Parameters:

this

a ApplicationInfo

major

the major version number

minor

the minor version number

micro

the micro version number




2022 vala-language.org