When I start my application I want to set the focus on a certain button. Currently I need to hit tab once to have the button focused.
The wxwidgets documents mention a SetFocus method (link) which doesn't seem to be available in wxhaskell?
Then I…
I'm trying to show a web page inside my wxHaskell based application for Mac. I tried to use HtmlWindow, which is very limited. According to the wxWidgets' documentation, I have to use wxWebView, which is capable to process CSS and JS.
From…
I want to switch layouts after an event (ie click on button). So I set the new layout and repaint the panel, but the layout doesn't change. (It does so only after I resize the frame by hand.) What's the magic sauce that's missing? Thank's for…
Could someone explain me what this code does line by line ?
how t ounderstand excactly first line with declaration ?
what does it mean: [Prop (Grid ())]?
thanks for help
gridCtrl :: Window a -> [Prop (Grid ())] -> IO (Grid ())
gridCtrl parent props
…
I am using wxHaskell to display GUI of simple Haskell game.
I have a problem: I am writing GUI part of the simple game. When game state is updated one of the functions of GUI module is being invoked and new game state parameters are passed. The gui…
I tried to get the wxHaskell package using cabal
using:
cabal install wxcore --global
cabal install wx
But running this gave the following error:
>cabal install wxcore --global
Resolving dependencies...
cabal: Error: some packages failed to…
I've played around with processEnter, on command, and on anyKey with textEntry to no avail. I've been looking through the massive amount of documentation for wx-core, but I don't see anything that'll help. I'm using wxhaskell 0.13.2.1 on Windows 8.