Simple windowed application: Difference between revisions
→{{header|Perl 6}}: Update to current standards
(added Factor) |
Thundergnat (talk | contribs) (→{{header|Perl 6}}: Update to current standards) |
||
Line 1,888:
{{libheader|GTK}}
<lang perl6>use GTK::Simple;
use GTK::Simple::App;
my GTK::Simple::App $app .= new(title => 'Simple Windowed Application');
$app.
$app.
GTK::Simple::VBox.new(
my $label = GTK::Simple::Label.new( text => 'There have been no clicks yet'),
Line 1,900 ⟶ 1,901:
);
$app.
$button.clicked.tap: {
|