Adding label to window : Label « GUI « Perl






Adding label to window

   


use Tk;

my $main = MainWindow->new;

$main->Label(-text => 'Hello!'
)->pack;

MainLoop;

   
    
    
  








Related examples in the same category

1.Set Label relief (border) to raised
2.Set Label relief (border) to sunken