>From gtk docs ...

-----------------------------------------

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.)

This variable is in the library, so represents the GTK+ library you
have linked against. Contrast with the GTK_MAJOR_VERSION macro, which
represents the major version of the GTK+ headers you have included.
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.)

This variable is in the library, so represents the GTK+ library you
have linked against. Contrast with the GTK_MINOR_VERSION macro, which
represents the minor version of the GTK+ headers you have included.
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.)

This variable is in the library, so represents the GTK+ library you
have linked against. Contrast with the GTK_MICRO_VERSION macro, which
represents the micro version of the GTK+ headers you have included.

-----------------------------------------

-- Christian

On 12/5/06, Pedro Castro <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there a simple way to detect the GTK+ (not sharp) version being
> used at runtime?
>
> --
> Pedro Castro
> http://mega.ist.utl.pt/~prmc
> _______________________________________________
> Gtk-sharp-list maillist  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to