I'd like to dynamically add and remove widgets in a wxHaskell application.
My problems are:
the window is resizable, but when it's manually made larger, clicking the "more" button shows it quickly flashing back to the minimum size. Without the…
For a wxHaskell based application distributed on Windows, can I distribute the necessary WX DLLs right alongside the application, without having to do a separate install of WX?
I want to be able to distribute the application as a zip file and not…
I'm a Python programmer with experience in wxPython, and I'm learning Haskell and having a go at coding up a small GUI project in wxHaskell. One feature from wxPython that I have not yet figured out how to duplicate is PyEmbeddedImage - where images…
I am trying to create a HelloWorld.exe on Windows 7 that demonstrates a very simple wxHaskell program I have found online. The code is below:
module HelloWorldWX where
import Graphics.UI.WX
main :: IO ()
main
= start hello
hello :: IO ()
hello…
I'm having a hard time finding out how to make something change every time the user interacts with my program. It's hard to explain so here's an example (Haskell + wxhaskell):
simulate :: Int -> Frame () -> IO ()
simulate qNr window = do
fdata <-…
I am trying to install wx by cabal install wx
Configuring wxc to build against wxWidgets 3.0
setup: Missing dependency on a foreign library:
* Missing C library: wx_gtk2u_webview-3.0
This problem can usually be solved by installing the system…
I am using WxHaskell to graphically show the state of a program that advertises state updates using TCP (which I decode using Data.Binary). When an update is received, I want to update the display. So I want the GUI to update its display…
I'm trying to build a simple UI as an exercise in learning wxHaskell and Reactive Banana, but I've run into a wall trying to solve a seemingly simple problem. Specifically, I'd like to resize the window to fit around a label when the label's text is…
I'm testing wxHaskell on Windows XP using the "Hello World" here: http://www.haskell.org/haskellwiki/WxHaskell/Quick_start
But when it runs on my machine, all the text doesn't display.
For instance, "Quit" will just display "Q".
Any Ideas?
I am trying to get wx installed using stack. I don't have Haskell installed globally and use stack new new-template to create a new project. Next, within the directory I run stack install wx and get an error message:
In the dependencies for…
I'm trying to build a little program to learn some wxHaskell, a haskell library for wxwidgets.
It would be beneficial for this particular one if I could set the font of a text field to monospaced, but I have no idea how to do that if it is…
Duplicating this from github as per @HeinrichApfelmus's suggestion:
This may be just a usage error on my part, but I am noticing a strange phenomenon when trying to set up conditional visibility/layout for dynamically created UI elements (in WX of…
I'm trying to set up a build environment for wxHaskell using Nix and Stack.
I've installed wxWidgets-3.0.2 through nix. This is the relevant portion from by .cabal file
executable hellowx-exe
hs-source-dirs: app
main-is: …
I install wxWidgets with macports then ran the command: sudo cabal install wx which output included:
/bin/sh: wxdirect: command not found
/bin/sh: wxdirect: command not found
/bin/sh: wxdirect: command not found
/bin/sh: wxdirect: command not…
I am trying install wxhaskell on ubuntu
(and I have already installed wxwidget and it works well in codeblock)
I run cabal install wxc in terminal
and here is output
/tmp/wxc-0.92.1.1-2711/wxc-0.92.1.1/Setup.hs:25:8:
Could not find module…