Code:
# Create Main window
my $window = MainWindow -> new();
$window -> minsize(qw(450 250));
$window -> title (" Perl Conversion Tool");
$window -> configure (-background => 'grey');
$window -> geometry('+280+150');
The geometry tag sets the position of the window on the screen. Is there a way to automatically center the window on the screen (so it will be centered on all resolutions)?