Room: 202 10:00am
Presented by:
Brett BerryEssentials of how to use tk toolkit to develop GUI with Perl
I developed one of the presentations about six years ago, and it can be viewed at:
http://www.perl.com/pub/a/1999/10/perltk/index.html
I will be running all examples on my laptop using ActiveState PERL, and I will provide the code to anyone who requests it.
A good resource is the O'Reilly Perl in a Nutshell reference, located at:
http://www.unix.org.ua/orelly/perl/perlnut/ch18_01.htm
Overview: Essential GUI Application programming with Perl/Tk
1.) gui_auth.pl - GUI to authenticate with Unix username & password.
The following widgets are used:
A.)Window
B.)Frame
C.)Text Label
D.)Text Entry
i.) Example to handle password text.
2.) paycal.pl - GUI that calculates paycheck given typical contractor variables.
The following widgets are used:
A.)Window
B.)Frame
C.)Menubar / Menubutton
D.)Text Label
i.) Example to display program status.
E.)Text Entry Boxes.
G.)Button
i.) To Calculate Pay.
ii.) To Exit Program.
H.)Checkbox
3.) radio.pl - GUI example of how to use Radiobuttons.
The following widgets are used:
A.)Window
B.)Frame
C.)Text Label
i.) Example to display program status.
D.)Button
i.) To Exit Program.
4.) chgDate.pl - GUI example of how to display current date, and change it.
The following widgets are used:
A.)Window
B.)Frame
C.)Buttons
i.) To increment date.
ii.) To decrement date.
D.)Text Label
i.) To display date.