Gtk2::SpinButton->new_with_range bound wrong?


I think that I ran over a bug in gtk2-perl. I tried:

my $spin = new Gtk2::SpinButton->new_with_range(5,200,5);

and got:

Usage: Gtk2::SpinButton::new(class, adjustment, climb_rate, digits) at
./sorting line 58.

I was a little bit confused, because the api Documentation of gtk 2.4
( states,
that the above construktor should work as expected.

Are the API/bindings wrong or am I?



Matthias Bläsing
Tempus fugit! Carpe diem!
ICQ: 84617206       AIM: linuxfun81    MSN: linuxfun hotmail com

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