1
<!-- ##### SECTION Title ##### -->
4
<!-- ##### SECTION Short_Description ##### -->
5
Variables and functions to check the GTK+ version
7
<!-- ##### SECTION Long_Description ##### -->
9
GTK+ provides version information, primarily useful in configure checks
10
for builds that have a configure script. Applications will not
11
typically use the features described here.
14
<!-- ##### SECTION See_Also ##### -->
19
<!-- ##### SECTION Stability_Level ##### -->
22
<!-- ##### SECTION Image ##### -->
25
<!-- ##### VARIABLE gtk_major_version ##### -->
27
The major version number of the GTK+ library. (e.g. in GTK+ version
32
This variable is in the library, so represents the
33
GTK+ library you have linked against. Contrast with the
34
#GTK_MAJOR_VERSION macro, which represents the major version of the
35
GTK+ headers you have included.
39
<!-- ##### VARIABLE gtk_minor_version ##### -->
41
The minor version number of the GTK+ library.
42
(e.g. in GTK+ version 1.2.5 this is 2.)
46
This variable is in the library, so represents the
47
GTK+ library you have linked against. Contrast with the
48
#GTK_MINOR_VERSION macro, which represents the minor version of the
49
GTK+ headers you have included.
53
<!-- ##### VARIABLE gtk_micro_version ##### -->
55
The micro version number of the GTK+ library.
56
(e.g. in GTK+ version 1.2.5 this is 5.)
61
This variable is in the library, so represents the GTK+ library you
62
have linked against. Contrast with the #GTK_MICRO_VERSION macro, which
63
represents the micro version of the GTK+ headers you have included.
67
<!-- ##### VARIABLE gtk_binary_age ##### -->
69
This is the binary age passed to <application>libtool</application>. If
70
<application>libtool</application> means nothing to you, don't worry
75
<!-- ##### VARIABLE gtk_interface_age ##### -->
77
This is the interface age passed to <application>libtool</application>. If
78
<application>libtool</application> means nothing to you, don't worry
83
<!-- ##### FUNCTION gtk_check_version ##### -->
93
<!-- ##### MACRO GTK_MAJOR_VERSION ##### -->
95
Like #gtk_major_version, but from the headers used at
96
application compile time, rather than from the library linked against
97
at application run time.
102
<!-- ##### MACRO GTK_MINOR_VERSION ##### -->
104
Like #gtk_minor_version, but from the headers used at
105
application compile time, rather than from the library linked against
106
at application run time.
111
<!-- ##### MACRO GTK_MICRO_VERSION ##### -->
113
Like #gtk_micro_version, but from the headers used at
114
application compile time, rather than from the library linked against
115
at application run time.
120
<!-- ##### MACRO GTK_BINARY_AGE ##### -->
122
Like #gtk_binary_age, but from the headers used at
123
application compile time, rather than from the library linked against
124
at application run time.
129
<!-- ##### MACRO GTK_INTERFACE_AGE ##### -->
131
Like #gtk_interface_age, but from the headers used at
132
application compile time, rather than from the library linked against
133
at application run time.
138
<!-- ##### MACRO GTK_CHECK_VERSION ##### -->
140
Returns %TRUE if the version of the GTK+ header files is the same
141
as or newer than the passed-in version.
144
@major: major version (e.g. 1 for version 1.2.5)
145
@minor: minor version (e.g. 2 for version 1.2.5)
146
@micro: micro version (e.g. 5 for version 1.2.5)