in reply to Re: Tk Listbox item padx
in thread Tk Listbox item padx
G'day AnomalousMonk,
I don't know which widget you were thinking of. You didn't specify anything different from the Tk::Listbox widget that the OP asked about. That widget does not support any of the options you suggested. Here's two of them; the other two failed with similar messages.
$ perl -e 'use Tk; my $mw = tkinit; $mw->Listbox(-ipadx => 1)->pack; M +ainLoop' unknown option "-ipadx" at /long/path/to/Tk/Widget.pm line 205. at -e line 1.
$ perl -e 'use Tk; my $mw = tkinit; $mw->Listbox(-padx => 1)->pack; Ma +inLoop' unknown option "-padx" at /long/path/to/Tk/Widget.pm line 205. at -e line 1.
And purely as a test control, this worked:
$ perl -e 'use Tk; my $mw = tkinit; $mw->Listbox()->pack; MainLoop'
— Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Tk Listbox item padx
by AnomalousMonk (Archbishop) on Apr 09, 2020 at 09:00 UTC | |
by kcott (Archbishop) on Apr 09, 2020 at 10:01 UTC |