Re: [wxhaskell-users] Stop do not stop; not multi-threaded?

2007-02-18 Thread Eric Y. Kow
Hi, On Mon, Feb 05, 2007 at 16:17:41 -, José Miguel Vilaça wrote: > In theory this seems the solution but when I tested it I find out that it > doesn’t. The very long computation gets the attention of the processor and > blocks the graphical interface; clicking the Stop button don’t fire the >

Re: [wxhaskell-users] building problems

2007-02-18 Thread Wolfgang Jeltsch
Am Sonntag, 18. Februar 2007 18:10 schrieben Sie: > On 2/18/07, Wolfgang Jeltsch <[EMAIL PROTECTED]> wrote: > > Am Samstag, 17. Februar 2007 21:22 schrieb Wolfgang Jeltsch: > > > […] > > > > > > I will try building against wxWidgets 2.6 now. > > > > I did, and **IT DOESN'T COMPILE**!!! See attache

Re: [wxhaskell-users] From mouse position to character index (textCtrl)

2007-02-18 Thread Arie Middelkoop
If you can somehow convert a mouse-hover action into a mouse-press action, the following would be a solution: 1. save carret position 2. propagate event (text-control will move the carret) 3. obtain carret position as character index 4. restore carret position There are some wxHaskell functions

Re: [wxhaskell-users] building problems

2007-02-18 Thread Wolfgang Jeltsch
Am Sonntag, 18. Februar 2007 12:51 schrieb Mads Lindstrøm: > […] > Are you using any packages from the stable/unstable branch? No, I don’t. > […] > * darcs get http://darcs.haskell.org/wxhaskell The (main) difference is that you are not using the “stable” release of wxHaskell but the current

[wxhaskell-users] From mouse position to character index (textCtrl)

2007-02-18 Thread Mads Lindstrøm
Hi all I have created a text-control and I want to know which character the mouse is hovering over. Getting the mouse position is easy enough. However converting the mouse position to a character index (into the text-control's text) seems very difficult. Anybody knows how to go from mouse positio

Re: [wxhaskell-users] building problems

2007-02-18 Thread Eric Kow
On 2/18/07, Wolfgang Jeltsch <[EMAIL PROTECTED]> wrote: Am Samstag, 17. Februar 2007 21:22 schrieb Wolfgang Jeltsch: > […] > I will try building against wxWidgets 2.6 now. I did, and **IT DOESN'T COMPILE**!!! See attached file, as usual. :-( You're not on a 64 bit platform by any chance? I

Re: [wxhaskell-users] building problems

2007-02-18 Thread Wolfgang Jeltsch
Am Samstag, 17. Februar 2007 21:22 schrieb Wolfgang Jeltsch: > […] > I will try building against wxWidgets 2.6 now. I did, and **IT DOESN’T COMPILE**!!! See attached file, as usual. Does anybody know wheter GtkHs is easier to build? > […] Best wishes, Wolfgang g++ -c wxc/src/ewxw_main.cpp -o

Re: [wxhaskell-users] building problems

2007-02-18 Thread Mads Lindstrøm
Hi Wolfgang I am also running Debian and I have successfully installed WxHaskell - so it is possible. I am exclusively using packages from Debian testing. That is, no packages from stable or unstable. And no libraries I have compiled myself except for WxHaskell. Are you using any packages from th

Re: [wxhaskell-users] building problems

2007-02-18 Thread Mads Lindstrøm
Hi > Wolfgang, > > In case you don't know (as I didn't), be aware that wxWidgets 2.6 and > later are not ghci-friendly, so for ghci use, you'll probably prefer > 2.4.2. More info at > http://darcs.haskell.org/packages/phooey/README . Cheers, - Conal If memory serves me right, neither 2.4 nor