in reply to MListbox - please help
#!/usr/bin/perl use strict; use warnings; use Tk; use Tk::MListbox; my $mw = MainWindow->new(); $mw->geometry("900x500"); my $frame = $mw->Frame()->pack( -side=>'top', -fill=>'both', -expand=> +1); my $mlb = $frame->MListbox()->pack(-side=>'top', -fill=>'both', -expan +d=>1); $mlb->columnInsert(0, -text=>'count'); $mlb->columnInsert(1, -text=>'date'); $mlb->columnInsert(2, -text=>'size')->pack(-expand => 1); MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: MListbox - please help
by zentara (Cardinal) on Feb 13, 2010 at 12:58 UTC | |
by Khen1950fx (Canon) on Feb 13, 2010 at 22:15 UTC |