Re: Finding Version of GTK installed
- From: John Coppens <john jcoppens com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Finding Version of GTK installed
- Date: Tue, 5 Dec 2006 15:22:28 -0300
On Tue, 5 Dec 2006 09:42:02 -0500
David Vandepol <vandepol ca ibm com> wrote:
I'm still having problems. When I run java tool and view all of
the LaF's GTK is displayed, however gtk isn't available in the
pkg-config
Hi David.
I'm not sure about this, but I suspect that if any other language would
want to know about the GTK version, the correct way to do it would be to
consult the pkg-config system. But the following functions/macros are
available in GTK+:
extern const guint gtk_major_version;
extern const guint gtk_minor_version;
extern const guint gtk_micro_version;
extern const guint gtk_binary_age;
extern const guint gtk_interface_age;
gchar* gtk_check_version (guint required_major,
guint required_minor,
guint required_micro);
#define GTK_MAJOR_VERSION
#define GTK_MINOR_VERSION
#define GTK_MICRO_VERSION
#define GTK_BINARY_AGE
#define GTK_INTERFACE_AGE
#define GTK_CHECK_VERSION (major,minor,micro)
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]