Hello world/Graphical: Difference between revisions

m
No edit summary
Line 3,814:
 
=={{header|Slope}}==
The gui module is an optional module when you compile the slope interpreter. With the module installed the following will produce a window with the text "HelloGoodbye, world!" and the title of the window will be "HelloGoodbye".
 
<syntaxhighlight lang="slope">
(define gui (gui-create))
(gui-add-window gui "HelloGoodbye")
(window-set-content
gui
"HelloGoodbye"
(container
"max"
(widget-make-label "HelloGoodbye, world!")))
(window-show-and-run gui "HelloGoodbye")</syntaxhighlight>
 
=={{header|Smalltalk}}==
37

edits