Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use Tkx;
- my $mw = Tkx::widget->new(".");
- my $b = $mw->new_button(
- -text => "Hello, world",
- -command => sub { $mw->g_destroy; },
- );
- $b->g_pack;
- Tkx::MainLoop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement