wxcore documentation [1] says:
textCtrlGetSelection :: TextCtrl a -> Ptr b -> Ptr c -> IO ()
Is this correct? I assume b and c should be CInt.
[1]
https://hackage.haskell.org/package/wxcore-0.92.3.0/docs/Graphics-UI-WXCore-WxcClassesMZ.html#v:textCtrlGetSelection
On Sun, 30 Sep 2012, maciek.makow...@gmail.com wrote:
I have now updated the module to use event-based notifications instead
of polling:
https://github.com/mmakowski/habaz/blob/master/src/Graphics/UI/WX/Async.hs.
The original question still stands: is it worth exposing this sort of
On Wed, 26 Sep 2012, maciek.makow...@gmail.com wrote:
Including wxhaskell-users. Anyone interested in async UI update functionality?
Am I right that the solution on StackOverflow uses a busy-wait using the
Wx Timer? I think this is a bad idea and I found a better solution at:
On Wed, 26 Sep 2012, Henning Thielemann wrote:
However, it seems to be essential what eventId you use. The value in the
above example (wxID_HIGHEST+1) was already used in my system and this lead
to strange behavior. I think wxhaskell should provide support for finding
free event ids
I don't know whether I proposed it already ...
I wrote a package called enumset. It provides low-level bitsets like they
are used by wxWidget. The definition is essentially:
newtype EnumSet storage index = EnumSet storage
E.g. with
data Style = Bold | Italic | Underlined deriving (Enum)
On a Linux machine that I do not administrate the configuration of
wxcore-0.13.2 stopped with a simple Setup failed and also the verbose
mode did not show more information.
Then I found out that the package wx2.8-headers was installed but the
package libwxgtk2.8-dev was missing. After
On Tue, 3 Apr 2012, Jeremy O'Donoghue wrote:
Please shout loudly and soon if you have any problem with what I am planning
to do, as I am planning
to make these changes within the next week. The wxWidgets 2.9 support has
been waiting in limbo for
too long now (my fault, I accept).
Your
On Mon, 2 Apr 2012, Jeremy O'Donoghue wrote:
This is a very good idea, but I was thinking of doing almost exactly the
opposite: before I apply the
changes to the main repo, I was planning to create a wxHaskell-0.13 (wxWidgets
2.8.x) branch on
code.haskell.org, probably by creating
On Sun, 25 Mar 2012, Aur Saraf wrote:
I need a ListCtrl that I can edit and not only append to. That means
either a version of appendItem that takes an index that I've missed, a
way to get and later set the scroll-state of a ListCtrl (and then I
can just reset all items on every edit) or a
On Mon, 27 Feb 2012, Eric Kow wrote:
On 27 Feb 2012, at 15:38, Eric Kow wrote:
darcs get --lazy http://code.haskell.org/wxhaskell
the-patch-you-downloaded.dpatch
cd wxhaskell
darcs apply -i ~/foo/the-patch-you-downloaded.dpatch
Oops, that's darcs get --lazy REPO --context PATCH
The idea
On Sat, 7 Jan 2012, Peter Simons wrote:
Hi guys,
I am please to announce that wxHaskell 0.13.2 has just been uploaded
to Hackage.
when I try to build the latest version on Linux/x86_64 running NixOS, I
get the following error at configure time:
Setup: Missing dependency on a
On Wed, 7 Dec 2011, David Virebayre wrote:
2011/12/6 Henning Thielemann lemm...@henning-thielemann.de
I have a textCtrl 'editor' and a menu item 'editorVisible' that controls
the visibility of the textCtrl.
set editorVisible
[ on command := do
I have a textCtrl 'editor' and a menu item 'editorVisible' that controls
the visibility of the textCtrl.
set editorVisible
[ on command := do
b - get editorVisible checked
set editor [ visible := b ] ]
Now when I uncheck the menu item editorVisible,
Recently on this list it was suggested to use
myEventId = wxID_HIGHEST+1
for custom events and register them as menu events.
http://snipplr.com/view/17538/
Now I added menus to my application and I got the strange behaviour that
selecting a certain menu item (the second one of all
On Sun, 30 Oct 2011, Henning Thielemann wrote:
Recently on this list it was suggested to use
myEventId = wxID_HIGHEST+1
for custom events and register them as menu events.
http://snipplr.com/view/17538/
Now I added menus to my application and I got the strange behaviour
From: Johannes Waldmann waldmann at imn.htwk-leipzig.de
Mon Oct 10 14:42:52 CEST 2011
Dear all,
in wxHaskell (core) I can set and get event handlers
http://hackage.haskell.org/packages/archive/wxcore/0.12.1.7/doc/html/Graphics-UI-WXCore-Events.html
but how is it possible to create events
Sometimes I forget to enclose a WX-GUI in WX.start, now I have a case,
where WX.start was called twice at different places.
How about putting the WX commands in a separate monad and give WX.start
the signature:
WX.start :: WX a - IO ()
?
On Thu, 16 Jun 2011, Heinrich Apfelmus wrote:
I'm currently working on the FRP part [1]. It turns out that FRP is
completely orthogonal to wxHaskell; there is no need to add special
support for FRP in the GUI library. A handful of convenience wrappers
[2] are enough to transform wxHaskell
Jeremy O'Donoghue schrieb:
On 25 May 2011 21:04, Joel Shellman j...@mentics.com
mailto:j...@mentics.com wrote:
What would it take to get full support for OpenGL in wxHaskell? My
understanding is that wxWidgets supports it, we just need the Haskell
binding for it, right? And I
I wanted to have a vertical slider with small numbers at the bottom and
large numbers at the top. To this end I implemented a variant of
'vslider' that automatically inverses its direction, if the bottom value
is smaller than the top value. You may like to replace the current
'vslider'
I managed to write my first Haskell program with a GUI! It shows a window
of sliders and when you move a slider it sends an according MIDI
controller message via ALSA.
http://code.haskell.org/~thielema/alsa-gui/
Now I like to provide the reverse direction: If my program receives a MIDI
21 matches
Mail list logo