Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
16
Task/Hello-world-Graphical/TAV/hello-world-graphical.tav
Normal file
16
Task/Hello-world-Graphical/TAV/hello-world-graphical.tav
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
\( Graphical Hello
|
||||
\)
|
||||
make main window:
|
||||
win =: new GTK window \ currently only top-level
|
||||
win::set title "Hello GTK"
|
||||
win::set size 200, 100
|
||||
win::connect 'destroy' to `GTK main quit`
|
||||
win::add widget (new GTK widget label "Hello!")
|
||||
:>win
|
||||
main (args):+
|
||||
GTK init args
|
||||
win =: make main window
|
||||
win::show all
|
||||
GTK main win
|
||||
\+ stdlib
|
||||
\+ ./TAVPL_gtk.tavh
|
||||
Loading…
Add table
Add a link
Reference in a new issue