my $mw = MainWindow->new(-width => 200,                          -height => 400);