This project appeared as part of my self-study by wxHaskell. Instructions which I found described build process with Cabal. I could not build any wxHaskell application with Cabal because wxHaskell libs is not compatible with modern Haskell. The way out is to build application using Stack which lets to point lts (see the site https://www.stackage.org). Lts-11.8 was the freshiest when I started and hello world was not build. My helloWorld build is Ok with lts-9.21.
After application run you can view main window with menuBar, toolBar, statusBar and quitButton:
If you click on "Open" toolBar button or "Open" menuItem you can see helloModalDialog:
In addition there is "About" window (simple infoDialog window).
To exit you can use several ways: press quitButton in mainWindow or press menuQuit in menuPane or press close button on window frame.
- Install Stack: https://docs.haskellstack.org/en/stable/install_and_upgrade/
- Download sources of stackWxHelloWorld
- Cnange dir to stackWxHelloWorld
- Run setup
stack setup
. It will prepare appropriate lts for project - Run build
stack build
. It will build wxHaskell libs and project. You can run on-the-fly builderstack build --file-watch
if you want to develop project. - Run the binary
stack exec stackWxHelloWorld
.