App-PerlTidy-Tk
view release on metacpan or search on metacpan
lib/App/PerlTidy/Tk.pm view on Meta::CPAN
$self->{autotidy} = 0;
$self->load_default_configuration;
$self->{top} = MainWindow->new();
if (exists $config->{geometry}) {
$self->{top}->geometry($config->{geometry});
}
$self->{top}->bind("<Control-Shift-plus>", sub { $self->zoom($zoom) });
$self->{top}->bind("<Control-minus>", sub { $self->zoom(-$zoom) });
$self->{top}->bind("<Control-q>", sub { $self->exit_app(); });
$self->create_menu;
$self->create_text_widget;
$self->create_config_panel;
if ($perlfile) {
$self->load_perl_file($perlfile);
}
return $self;
( run in 1.690 second using v1.01-cache-2.11-cpan-2398b32b56e )