all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
16
Task/User-input-Graphical/Perl/user-input-graphical-2.pl
Normal file
16
Task/User-input-Graphical/Perl/user-input-graphical-2.pl
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
use XUL::Gui;
|
||||
|
||||
display Window
|
||||
title => 'Input Window',
|
||||
width => 250,
|
||||
height => 150,
|
||||
TextBox( id => 'txt' ),
|
||||
TextBox( id => 'num', type => 'number' ),
|
||||
Button(
|
||||
label => 'OK',
|
||||
oncommand => sub {
|
||||
print "String: " . ID(txt)->value . "\n"
|
||||
. "Number: " . ID(num)->value . "\n";
|
||||
quit;
|
||||
},
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue