get_platform_version


Description:


[ Version ( since = "43.0" ) ]
public int get_platform_version ()

Returns an integer with the major version of GNOME.

Useful for dynamic languages like Javascript or Python (static languages like C should use gnome_desktop_platform_version). If this function doesn't exist, it can be presumed that the GNOME platform version is 42 or previous.

Returns:

an integer with the major version of GNOME.


Namespace: Gnome