Home
Search this site:
Horshack
’s
very
own site
This is Bavaria, Germany!
You will find links to Perl,
bootdisks for system administration,
a lot of Linux,
Windows administration
and some personal belongings.
Examples to cut and paste for Perl/Tk
Examples to cut & paste for Perl/Tk
Mainwindow
Buttons
Button, changing on mouseover
Framed radio-buttons
Labels in different textsizes
Label and textinput
Progressbar
Dropdown
An
eventpad
to show informations about what the program is doing and did
Datagrid
to show database-record-like entries
Mainwindow
Everything must be in the mainwindow. You can determine:
size of window
position of window
min/max size
code to view
Buttons
Pad text
Create action when pressing a button
code to view
Button, changing on mouseover
code to view
Framed radio-buttons
code to view
Labels in different textsizes
code to view
Label and textinput
code to view
Progressbar
code to view
Dropdown
Select a value from a list of given values.
Set initial value.
Do an action when a value is selected.
code to view
Eventpad
Write something into a eventpad (= ROText-element), line by line
The eventpad scrolls automatically down to show the latest events
User shall not change text in the ROText-element (RO = read only)
code to view
Datagrid
show data structured like in a database
The Perl/TK-widget for this task is hlist
hlist can also show pictures (like ok, red traffic light)
code to view
'
Impressum