Name
Version Information -- variables and functions to check the GTK+ version.
Description
This section describes the variables and functions available to test the
version of the GTK+ library in use.
FIXME: probably merge with other general stuff.
Details
gtk_major_version
extern const guint gtk_major_version; |
The major version number of the GTK+ library.
(e.g. in GTK+ version 1.2.5 this is 1.)
gtk_minor_version
extern const guint gtk_minor_version; |
The minor version number of the GTK+ library.
(e.g. in GTK+ version 1.2.5 this is 2.)
gtk_micro_version
extern const guint gtk_micro_version; |
The micro version number of the GTK+ library.
(e.g. in GTK+ version 1.2.5 this is 5.)
gtk_binary_age
extern const guint gtk_binary_age; |
gtk_interface_age
extern const guint gtk_interface_age; |
gtk_check_version ()
Checks that the GTK+ library in use is compatable with the given version.
GTK_MAJOR_VERSION
#define GTK_MAJOR_VERSION (1) |
GTK_MINOR_VERSION
#define GTK_MINOR_VERSION (3) |
GTK_MICRO_VERSION
#define GTK_MICRO_VERSION (7) |
GTK_BINARY_AGE
#define GTK_BINARY_AGE (0) |
GTK_INTERFACE_AGE
#define GTK_INTERFACE_AGE (0) |
GTK_CHECK_VERSION()
#define GTK_CHECK_VERSION(major,minor,micro) |