I'm on Ubuntu 13.10 and trying to install wxHaskell. I installed wxWidgets 2.9 from the http://repos.codelite.org/wx3.0/ubuntu/ repository.
The basic cabal install wx gets me
src/cpp/eljgrid.cpp:61:65: error: no matching function for call to…
I was trying to get wxHaskell installed on my mac (Osx Mavericks). I fixed the issue with gcc, and I used brew to install wxmac (version 3.0). The issue that keeps coming up is that the hackage cabal searches for looks for wx 2.9, while I have 3.0.…
When a wxHaskell GUI is started and closed, and then another wxHaskell GUI is started again, the application gets segmentation fault due to stack overflow.
Simple demonstration source:
module Main where
import Graphics.UI.WX
main = do
start $…
After having installed WxHaskell and gtk2hs I am playing around with both to work out which of them to choose. For WxHaskell I am working through the documentation at WxHaskell at haskell.org. The following first example is from the "Quick Start"…
I'm trying to build wxhaskell, and it seems there is lots of trouble, I could figure out what to do in some cases, but I'm stuck now.
I'm using wxwidgets-2.8 / wxhaskell-0.11.1.2, and the error that occurs is:
g++: error: unrecognized command line…
I've been trying to figure out how I can make staticText elements resize to fit their contents with wxHaskell. From what I can tell, this is the default behavior in wxWidgets, but the wxHaskell wrapper specifically disables this behavior. However,…
I'm trying to fill text entries to fill the whole width, which works fine if the entries are put directly to the frame, but if they're put in to a panel, they revert to their default size. Also the 'boxed' layout combinator text disappears. What am…
I've created a wxHaskell grid control, and it displays fine, the user can enter data etc.
It's also fairly obvious how to programatically write data into it (gridSetCellValue).
But how do I read the data from it? There's gridGetTable which might or…
I have Windows 10
I installed Haskell Platform 8.2.1 (HaskellPlatform-8.2.1-full-x86_64-setup.exe from https://www.haskell.org/platform/windows.html) (This version have mingw and gcc 6.2.0 for what this matters)
I downloaded Achelane from…
Another take on Haskell-way multithreading and wxWidgets.
I see https://stackoverflow.com/a/12596595/4095104 as a nice hack to run code in the wx event loop, but it requires me to create a window in start/run first and return from it so the event…
I am having some difficulty with dynamic layouts in wxHaskell. I have nested Panels, and the layout of the innermost panel often changes in a way that causes it to outgrow its parent's size.
I am unclear as to the purposes and effects of the various…
I would like some advice on how to update a "statusField" after
clicking on a "panel".
The following program demonstrates the problem. The program draws two
frames. You can imagine the left frame to be some kind of drawing area
and the right frame…
I have downloaded the latest Haskell Platform(8.0.1 version) for Windows 7, wxWidgets-3.0.2, set all the needed environment variables. I have successfully installed "wxdirect" using "cabal install", but when I try to install "wxc" it fails. Install…
I'm writing an application using wxHaskell and I want to be able to detect the state of a button (whether or not it is pressed at any given time). I'm having a bit of trouble figuring out how to do this, however. First I thought that there might be…