Questions tagged [wxhaskell]

A Haskell binding for wxWidgets

WxHaskell is a GUI library for Haskell built ontop of wxwidgets

83 questions
0
votes
1 answer

How do I focus a widget?

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…
somesoaccount
  • 1,267
  • 15
  • 37
0
votes
1 answer

wxWebView in wxHaskell

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…
Andrew Slabko
  • 690
  • 8
  • 15
0
votes
1 answer

maximize frame on startup in wxHaskell

How can I make window maximized on start with wxHaskell ? Thanks for help
gruber
  • 28,739
  • 35
  • 124
  • 216
0
votes
1 answer

change wxhaskell layout programmatically

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…
Schoon
  • 394
  • 1
  • 9
0
votes
1 answer

Haskell: grid in wxHaskell

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 …
gruber
  • 28,739
  • 35
  • 124
  • 216
0
votes
1 answer

How can I obtain device context (DC) in wxHaskell?

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…
pkuszewski
  • 262
  • 1
  • 12
0
votes
3 answers

Cabal won't get a new haskell package

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…
Jonno_FTW
  • 8,601
  • 7
  • 58
  • 90
0
votes
1 answer

How do I stop wxhaskell from beeping on enter in text controls?

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.
joshj
  • 473
  • 5
  • 11
1 2 3 4 5
6