Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
functor
|
||||
import
|
||||
Application
|
||||
QTk at 'x-oz://system/wp/QTk.ozf'
|
||||
define
|
||||
Count = {NewCell 0}
|
||||
Label
|
||||
GUI = td(action:proc {$} {Application.exit 0} end %% exit on close
|
||||
label(text:"There have been no clicks yet." handle:Label)
|
||||
button(text:"Click Me"
|
||||
action:proc {$}
|
||||
Count := @Count + 1
|
||||
{Label set(text:"Number of clicks: "#@Count#".")}
|
||||
end
|
||||
))
|
||||
Window = {QTk.build GUI}
|
||||
{Window show}
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue