[Fudgets Home Page]

The Hello World program with a Quit button


This program just opens a small window displaying the message "Hello, world!" and a Quit button. The window will look something like this (depending on your setup):

[Window dump of the Hello world + Quit program.]

Here is the source code:

import Fudgets

main = fudlogue (shellF "Hello" (labelF "Hello, world!" >+< quitButtonF))

Things to note


  • Next Example
  • Previous Example
  • Back to the Example list