Gtk2::SpinButton->new_with_range bound wrong?



Hey,

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
(http://developer.gnome.org/doc/API/2.0/gtk/GtkSpinButton.html) states,
that the above construktor should work as expected.

Are the API/bindings wrong or am I?

Thanks 

Matthias

-- 
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]