in reply to Re: "spinners" in perl/tk
in thread "spinners" in perl/tk

Hmm, I have no Windows installation to check, but I guess its there somewhere. It should be in the standard Tk set of widgets. (It also appears to be inside another widget).

Did you look at the widget example? In your case, you'll probably need to pass it a list of values for every minute between 00:00 and 23:59, using the -values attribute.

my $spin = $mw->SpinBox(-values => ['00:00','00:01','00:02' .. ])-> pa +ck ( -anchor => 'nw');
Or did you mean you want two spinboxes, one for hours and one for minutes? Then you'll have to set up callbacks for the -command attribute.

PS: Please don't double post things, thanks.

C.