Re: Requirements for Gtk2::ComboBox?



On Mon, 2006-01-30 at 19:15 +0100, Torsten Schoenfeld wrote:
On Mon, 2006-01-30 at 12:00 -0600, Kenneth Swanson wrote:

How can I figure this out?  Can I just do:

print Gtk2::major_version().
    ".".
    Gtk2::minor_version.
    ".".
    Gtk2::micro_version.
    qq(\n);

These lowercase functions give you the version of the gtk+ library you
are running with.  The uppercase variants give you the version you look
for -- namely the version of gtk+ the bindings were compiled against.
See `perldoc Gtk2::version´ for a verbose explanation of the mess.

Ah, now it makes sense (I was compiled against 2.0.6).

Thanks for all your help.

-Ken




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]