I have some raw data that represents an image as Data.ByteString. Is there a way in wxHaskell to convert it to an image/bitemap?
This raw data can be an image like PNG/JPG/GIF, so it will start with byte sequences like "PNG etc".
I tried to use…
I am writing a utility application in wxHaskell, and the users of this application will frequently need to copy-and-paste from the output of the application into other programs on their computer. The output of the program is fundamentally textual,…
I've compiled haskell program which uses wxHaskell library, now I would like to know how to make it run on other machines which doesn't have wxHaskell installed. Of course I can see errors and I can copy dlls written in output and copy them to that…
I am trying to build wxHaskell for wxWidgets 3.0. I used the latest git version of wxHaskell from https://github.com/wxHaskell/wxHaskell.
I tried to follow install.txt in wxHaskell-master.zip, what I did so far is:
cd wxdirect
cabal install
cd…
WxHaskell and DragAndDrop
I would like to know how to use the following events handlers
: dropTargetOnData, dropTargetOnDrop, dropTargetOnEnter, dropTargetOnDragOver….[1]
Could you check if my current believes are corrects :
From wx Widgets/…
For my diagramming tool, I'd like to keep the code of the core model isolated from the GUI.
In the following example, the "state " is passed around with vDiag, which is a Tvar. This is a design decision in wx. Now, For my diagramming tool, I 'd…
I have write a wxHaskell program and it performs very good on Mac. But after lot of troubles and installed wxHaskell on Windows XP, my program take several minutes to start. Currently, the wx library is shared (DLL). Does anyone know what's the…
is there a GUI package that is still up-to-date?
I tried installing both wxHaskell and gtk2hs today and both fail on dependencies I just cannot solve (wxHaskell cannot find some wxWidget libs and while trying the glade tutorial gtk2hs fails on a…
I followed these instructions to install wxWidgets (using Homebrew) and wxHaskell on OS X Lion. There were no errors.
When I try the examples here, the first Hello World example runs fine. However, when I try to run the Bouncing Balls example, I…
After an upgrade to the new Haskell Platform, my existing wxHaskell programs are broken.
They all seem to now require wxWidgets 2.9, for which I can't find any binary versions.
wxPack has 2.8, and beyond that one has to get a compiler and build it…
My google-fu has failed me. How can I remove widgets that I've added to a Panel () ? For example, in the following, I want the controls-panel to become empty again.
buildGUI = do
f <- frame [ text := "Hello" ]
controls <- panel f []
ctext…
Specifically in wxHaskell, but in general, would like to be able to draw lines between items in two lists that are side by side to show that there is a relationship between the items. Something like the mockup below.
I'm on Ubuntu 21.04 "Hirsute Hippo", GHC 8.8.4, and Cabal 3.0.0.0. I cannot install the wx package.
When I tried cabal install wx --lib directly, the following messages were outputted:
Resolving dependencies...
cabal: Could not resolve…
I'm currently trying to build wxHaskell as described in the Haskell wiki here. Unfortunately I always get the following error message after running the mingw32-make command:
c:/mingw/bin/.../lib/gcc/mingw2/4.5.2/../../../../mingw32/bin/ld.exe:
…
I've written a program in WXHaskell, and verified that it works. Long story short, I planned for the program to be usable via GUI or by command line interface. I later went on to add command line argument processing with the GetOpts library and…