GTK2 version is now available as a constant with the following:

Pike v7.8 release 469 running Hilfe v3.5 (Incremental Pike Frontend)
> GTK2.GTK_MINOR_VERSION;
(1) Result: 0
> GTK2.MAJOR_VERSION;
(2) Result: 2
> GTK2.MINOR_VERSION;
(3) Result: 20
> GTK2.MICRO_VERSION;
(4) Result: 1
> GTK2.MicroVersion;
(5) Result: 1
> GTK2.MajorVersion;
(6) Result: 2
> GTK2.MinorVersion;
(7) Result: 20
Terminal closed.

The version string is 
sprintf("%d.%d.%d",GTK2.MAJOR_VERSION,GTK2.MINOR_VERSION,GTK2.MICRO_VERSION);

Or GTK2.version(), as an array, although this isn't available at pre-compile 
time (cpp), whereas I believe the above is (should be tested to make sure).



      

  • Re:... Lance Dillon
    • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
      • ... Lance Dillon
        • ... Per Hedbor () @ Pike (-) developers forum
          • ... Lance Dillon
            • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
            • ... Lance Dillon
            • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
            • ... Lance Dillon
            • ... Lance Dillon
            • ... Lance Dillon
            • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
            • ... Lance Dillon
            • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
            • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
            • ... Lance Dillon

Reply via email to