programming-examples/perl/GUI/Add list box to a window.pl

7 lines
114 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
use Tk;
$main = MainWindow->new();
$listbox1 = $main->Listbox("-width" => 25,
"-height" => 5
)->pack;