1 2 3 4 5 6 7 8 9 10
$ perl -wMstrict -MTk my $mw = tkinit; my $lb = $mw->Scrolled( "Listbox", -background => "red" )->pack; $lb->Subwidget("xscrollbar")->configure( -background => "blue", -activebackground => "blue", -troughcolor => "blue", ); MainLoop;
perldoc Tkx[...]The main idea behind Tkx is that it is a very thin wrapper on top of Tcl, i.e. that what you get is exactly the behaviour you read about in the Tcl/Tk documentation with no surprises added by the Perl layer.[...]