blackadder has asked for the wisdom of the Perl Monks concerning the following question:
But this code doesn’t serve my need, because TK::TList is pointing at /IBD IED IPB IT IFO IIM ER LEGAL FID TRESUERY CORPSERV CORPSEC/# c:/pel/bin use strict; use Tk (); use Tk::TList; my $mw = Tk::MainWindow->new(); my $image = $mw->Getimage('folder'); my $tlist = $mw->TList(-orient => 'vertical'); for my $text ( qw/IBD IED IPB IT IFO IIM ER LEGAL FID TRESUERY CORPSER +V CORPSEC/ ) { $tlist->insert('end', -itemtype=>'imagetext', -image=>$image, -text=>$text); } $tlist->pack(-expand=>'yes', -fill=>'both'); Tk::MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Represnting a query data in a Tk::DirTree like manner
by PodMaster (Abbot) on Sep 12, 2004 at 17:59 UTC | |
by blackadder (Hermit) on Sep 14, 2004 at 11:07 UTC | |
|
Re: Represnting a query data in a Tk::DirTree like manner
by gri6507 (Deacon) on Sep 13, 2004 at 12:42 UTC | |
by blackadder (Hermit) on Sep 16, 2004 at 12:40 UTC | |
by eserte (Deacon) on Sep 27, 2004 at 19:41 UTC |