Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkversion.h File Reference
#include <gdk/gdk.h>

Go to the source code of this file.

Macros

#define GTK_MAJOR_VERSION   (4)
 
#define GTK_MINOR_VERSION   (16)
 
#define GTK_MICRO_VERSION   (12)
 
#define GTK_BINARY_AGE   (1612)
 
#define GTK_INTERFACE_AGE   (12)
 
#define GTK_CHECK_VERSION(major, minor, micro)
 

Functions

GDK_AVAILABLE_IN_ALL guint gtk_get_major_version (void) G_GNUC_CONST
 
GDK_AVAILABLE_IN_ALL guint gtk_get_minor_version (void) G_GNUC_CONST
 
GDK_AVAILABLE_IN_ALL guint gtk_get_micro_version (void) G_GNUC_CONST
 
GDK_AVAILABLE_IN_ALL guint gtk_get_binary_age (void) G_GNUC_CONST
 
GDK_AVAILABLE_IN_ALL guint gtk_get_interface_age (void) G_GNUC_CONST
 
GDK_AVAILABLE_IN_ALL const char * gtk_check_version (guint required_major, guint required_minor, guint required_micro)
 

Macro Definition Documentation

◆ GTK_BINARY_AGE

#define GTK_BINARY_AGE   (1612)

GTK_BINARY_AGE:

Like [func@get_binary_age], but from the headers used at application compile time, rather than from the library linked against at application run time.

Definition at line 70 of file gtkversion.h.

◆ GTK_CHECK_VERSION

#define GTK_CHECK_VERSION ( major,
minor,
micro )
Value:
(GTK_MAJOR_VERSION > (major) || \
(GTK_MAJOR_VERSION == (major) && GTK_MINOR_VERSION > (minor)) || \
(GTK_MAJOR_VERSION == (major) && GTK_MINOR_VERSION == (minor) && \
GTK_MICRO_VERSION >= (micro)))
#define GTK_MAJOR_VERSION
Definition gtkversion.h:43
#define GTK_MICRO_VERSION
Definition gtkversion.h:61
#define GTK_MINOR_VERSION
Definition gtkversion.h:52

GTK_CHECK_VERSION: @major: major version (e.g. 1 for version 1.2.5) @minor: minor version (e.g. 2 for version 1.2.5) @micro: micro version (e.g. 5 for version 1.2.5)

Returns TRUE if the version of the GTK header files is the same as or newer than the passed-in version.

Returns: TRUE if GTK headers are new enough

Definition at line 92 of file gtkversion.h.

92#define GTK_CHECK_VERSION(major,minor,micro) \
93 (GTK_MAJOR_VERSION > (major) || \
94 (GTK_MAJOR_VERSION == (major) && GTK_MINOR_VERSION > (minor)) || \
95 (GTK_MAJOR_VERSION == (major) && GTK_MINOR_VERSION == (minor) && \
96 GTK_MICRO_VERSION >= (micro)))

◆ GTK_INTERFACE_AGE

#define GTK_INTERFACE_AGE   (12)

GTK_INTERFACE_AGE:

Like [func@get_interface_age], but from the headers used at application compile time, rather than from the library linked against at application run time.

Definition at line 79 of file gtkversion.h.

◆ GTK_MAJOR_VERSION

#define GTK_MAJOR_VERSION   (4)

GTK_MAJOR_VERSION:

Like [func@get_major_version], but from the headers used at application compile time, rather than from the library linked against at application run time.

Definition at line 43 of file gtkversion.h.

◆ GTK_MICRO_VERSION

#define GTK_MICRO_VERSION   (12)

GTK_MICRO_VERSION:

Like [func@get_micro_version], but from the headers used at application compile time, rather than from the library linked against at application run time.

Definition at line 61 of file gtkversion.h.

◆ GTK_MINOR_VERSION

#define GTK_MINOR_VERSION   (16)

GTK_MINOR_VERSION:

Like [func@get_minor_version], but from the headers used at application compile time, rather than from the library linked against at application run time.

Definition at line 52 of file gtkversion.h.

Function Documentation

◆ gtk_check_version()

GDK_AVAILABLE_IN_ALL const char * gtk_check_version ( guint required_major,
guint required_minor,
guint required_micro )

◆ gtk_get_binary_age()

GDK_AVAILABLE_IN_ALL guint gtk_get_binary_age ( void )

◆ gtk_get_interface_age()

GDK_AVAILABLE_IN_ALL guint gtk_get_interface_age ( void )

◆ gtk_get_major_version()

GDK_AVAILABLE_IN_ALL guint gtk_get_major_version ( void )

◆ gtk_get_micro_version()

GDK_AVAILABLE_IN_ALL guint gtk_get_micro_version ( void )

◆ gtk_get_minor_version()

GDK_AVAILABLE_IN_ALL guint gtk_get_minor_version ( void )