Re: [Haskell-cafe] wxHaskell mailinglist

2013-08-20 Thread Henk-Jan van Tuyl
On Mon, 19 Aug 2013 20:18:53 +0200, Nathan Hüsken nathan.hues...@posteo.de wrote: Anyone knows what the proper channel for reporting bugs and asking questions about wxHaskell is? The github page https://github.com/wxHaskell/wxHaskell/wiki seems to have issues disabled, and when I post to

Re: [Haskell-cafe] wxHaskell mailinglist

2013-08-20 Thread Nathan Hüsken
Hey, Then something is wrong. When I try to subscribe here: https://lists.sourceforge.net/lists/listinfo/wxhaskell-users I get a mail: Mailman privacy alert, telling me that I am already subscribed. But when I send a mail to: wxhaskell-us...@lists.sourceforge.net I get a mail: Your message

Re: [Haskell-cafe] wxHaskell mailinglist

2013-08-20 Thread Henk-Jan van Tuyl
On Tue, 20 Aug 2013 15:24:41 +0200, Nathan Hüsken nathan.hues...@posteo.de wrote: Hey, Then something is wrong. When I try to subscribe here: https://lists.sourceforge.net/lists/listinfo/wxhaskell-users I get a mail: Mailman privacy alert, telling me that I am already subscribed. But

[Haskell-cafe] wxHaskell mailinglist

2013-08-19 Thread Nathan Hüsken
Hey, Anyone knows what the proper channel for reporting bugs and asking questions about wxHaskell is? The github page https://github.com/wxHaskell/wxHaskell/wiki seems to have issues disabled, and when I post to the wxHaskell user mailinglist, it tells me that the list is moderated. But my

Re: [Haskell-cafe] [wxhaskell-devel] I would like to know how to use the following events handlers : dropTargetOnData, dropTargetOnDrop, dropTargetOnEnter,

2013-04-11 Thread Henk-Jan van Tuyl
On Tue, 09 Apr 2013 21:54:15 +0200, Luc TAESCH luc.tae...@gmail.com wrote: 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

Re: [Haskell-cafe] [wxhaskell-users] [Announce] wxHaskell 0.90

2012-04-14 Thread Henk-Jan van Tuyl
L.S., I had some problems installing the branch for wxWidgets 2.8.x: The command cabal install 'wx 0.90' results in Resolving dependencies... Downloading wxdirect-0.90... : . The dependency on wxcore in wx.cabal (version 0.13.2.1) must have an upper limit ' 0.90' and the dependency

Re: [Haskell-cafe] wxhaskell : how to generate an event?

2011-10-11 Thread Dmitriy Nikitinskiy
10.10.2011 16:42, Johannes Waldmann пишет: 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 (programmatically) and somehow feed them into the

Re: [Haskell-cafe] wxhaskell : how to generate an event?

2011-10-11 Thread Johannes Waldmann
Dmitriy Nikitinskiy nick at bel.ru writes: http://snipplr.com/view/17538/ Looks good, and seems to work. Thanks! ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] wxhaskell : how to generate an event?

2011-10-10 Thread Johannes Waldmann
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 (programmatically) and somehow feed them into the main event handling loop? I think I need

[Haskell-cafe] wxHaskell for Haskell Platform 2011.2.0.1

2011-06-15 Thread Eric Kow
Hi all, With green light from maintainer Jeremy O'Donoghue, I've uploaded a trivial update to wxHaskell, relaxing the dependencies so that it builds with the latest Haskell Platform and does not try to install other versions of packages. What is wxHaskell?

Re: [Haskell-cafe] wxHaskell on Mac (Was: Status of Haskell + Mac + GUIs graphics)

2011-05-20 Thread Jeremy O'Donoghue
On 19 May 2011 00:03, Eric Y. Kow eric@gmail.com wrote: On Wed, May 18, 2011 at 15:06:02 -0400, Tom Murphy wrote: Is there a way to build an installer that would make this process easier? I've sent a pull request to the maintainer of homebrew. Hopefully it should then just be a matter

[Haskell-cafe] wxHaskell on Mac (Was: Status of Haskell + Mac + GUIs graphics)

2011-05-18 Thread Eric Y. Kow
Hi On Wed, May 18, 2011 at 09:18:42 +0100, Andrew Butterfield wrote: Alas - I have yet to be able to build it on Mac OS X (Snow Leopard) For what it's worth, I'm still using wxHaskell on MacOS X (also Snow Leopoard) The tricky bits are that you have to 1. install wxWidgets by hand, being

Re: [Haskell-cafe] wxHaskell on Mac (Was: Status of Haskell + Mac + GUIs graphics)

2011-05-18 Thread Tom Murphy
The tricky bits are that you have to 1. install wxWidgets by hand, being sure to enable Unicode and to compile a 32 bit version: arch_flags=-arch i386 ./configure CFLAGS=$arch_flags\ CXXFLAGS=$arch_flags\ CPPFLAGS=$arch_flags\

Re: [Haskell-cafe] wxHaskell on Mac (Was: Status of Haskell + Mac + GUIs graphics)

2011-05-18 Thread Eric Y. Kow
On Wed, May 18, 2011 at 15:06:02 -0400, Tom Murphy wrote: Is there a way to build an installer that would make this process easier? I've sent a pull request to the maintainer of homebrew. Hopefully it should then just be a matter of brew install wxmac Homebrew's wxWidgets already builds 32 bit,

[Haskell-cafe] wxHaskell not able to link to libstdc++.so

2010-04-22 Thread Ahn, Ki Yung
Dear Haskellers, I heard from a guy who was having problems with wxHaskell using GHC 6.10.x. I tried it myself and had the exact same problem occurring using GHC 6.12.x as well. I am using the debian unstable version of ghc6 package. kya...@kyagrd:~/tmp$ head bb.hs import Graphics.UI.WX import

[Haskell-cafe] wxHaskell ease of installation?

2010-04-03 Thread Eric Kow
Hi Anthony, On Fri, Apr 02, 2010 at 12:59:48 +, Anthony Cowley wrote: I have a GUI app that I deploy on Mac and Linux that uses OpenGL and wxHaskell. It has been a pretty good experience, but getting wx set up on every development machine is hairier than cabal install. Is it still hairy

[Haskell-cafe] wxHaskell - using XRC files

2010-01-27 Thread Günther Schmidt
Hi, I'm looking for documentation on using XRC files with wxHaskell. I finally managed to cabal-install wxHaskell last night alas sans docs. Günther BTW: I'm using wxFormBuilder, any other good tools out there? ___ Haskell-Cafe mailing list

[Haskell-cafe] WXHaskell problem

2009-09-03 Thread Seb
I just installed WXHaskell via Cabal and tried one of the examples BouncingBalls.hs. But every time I run it I get this error message in a dialog saying: assert m_dynamicEvents failed in SearchDynamicEventTable(): caller should check that we have dynamic events It also asks me if I want to stop

[Haskell-cafe] [wxHaskell] ghc-pkg: /usr/local/lib/imports doesn't exist ...

2009-05-26 Thread jose.benjaminps
Hello, I'm installing wxhaskell from darcs, almost all found good, but after make # runghc Setup.lhs install the last lines this is: cat config/wxcore.pkg | sed -e s|\${wxhlibdir}|/usr/local/lib| | ghc-pkg update - Reading package info from stdin ... done. ghc-pkg: /usr/local/lib/imports

Re: [Haskell-cafe] wxHaskell not in scope

2009-04-17 Thread minh thu
Hi, you can use http://hpaste.org/ to overcome this problem. Cheers, Thu 2009/4/17 Tsunkiet Man temp.t...@gmail.com: PS: if the indents are wrong, that's because of gmail copy and past, Im so sorry. 2009/4/17 Tsunkiet Man temp.t...@gmail.com Hello, what you suggested worked! Im very

Re: [Haskell-cafe] wxHaskell not in scope

2009-04-17 Thread Daniel Fischer
Am Freitag 17 April 2009 01:37:25 schrieb Tsunkiet Man: Hello, what you suggested worked! Im very happy with it. However another error suddenly came up. It sais the last statement in a 'do' must be an expression, he is refering to line 41:45 I change my code to this:

[Haskell-cafe] wxHaskell not in scope

2009-04-16 Thread Tsunkiet Man
Hello, I'm trying to create a GUI by using wxHaskell. However I get the weird error message of Not in scope dt, well so I sorted them so that my so called dt was in scope, however it failed. Can someone please tell me how I can solve this error? ... A lot of code that is not relevant

Re: [Haskell-cafe] wxHaskell not in scope

2009-04-16 Thread Lennart Augustsson
Variables bound in the do block are not in scope in the where. Use a let inside the do for onOpen instead. On Thu, Apr 16, 2009 at 11:53 PM, Tsunkiet Man temp.t...@gmail.com wrote: Hello, I'm trying to create a GUI by using wxHaskell. However I get the weird error message of Not in scope dt,

Re: [Haskell-cafe] wxHaskell not in scope

2009-04-16 Thread Tsunkiet Man
Thank you for your response, however if I can't do that, why can the example of wxHaskell do that? I refer to the following code inside http://darcs.haskell.org/wxhaskell/samples/wx/ (ImageViewer.hs) Line 99 untill 110 openImage sw vbitmap mclose status fname = do -- load the new

Re: [Haskell-cafe] wxHaskell not in scope

2009-04-16 Thread Lennart Augustsson
The names defined in the where clause are in scope in the do block, but not vice versa. On Fri, Apr 17, 2009 at 12:43 AM, Tsunkiet Man temp.t...@gmail.com wrote: Thank you for your response, however if I can't do that, why can the example of wxHaskell do that? I refer to the following code

Re: [Haskell-cafe] wxHaskell not in scope

2009-04-16 Thread Tsunkiet Man
PS: a small note, sorry for multiple mails. After doing the let ... in function it did not work. =( It gave the error that 'do' has to end with some result. I did: do let the function in all the code that was behind the do and it still didn't work =(. I'm doing something wrong I think. Thanks

Re: [Haskell-cafe] wxHaskell not in scope

2009-04-16 Thread Daniel Fischer
Am Freitag 17 April 2009 00:43:18 schrieb Tsunkiet Man: Thank you for your response, however if I can't do that, why can the example of wxHaskell do that? I refer to the following code inside http://darcs.haskell.org/wxhaskell/samples/wx/ (ImageViewer.hs) Line 99 untill 110 openImage

Re: [Haskell-cafe] wxHaskell not in scope

2009-04-16 Thread Tsunkiet Man
Hello, what you suggested worked! Im very happy with it. However another error suddenly came up. It sais the last statement in a 'do' must be an expression, he is refering to line 41:45 I change my code to this: on (menu exit) := close f, on (menu open)

Re: [Haskell-cafe] wxHaskell not in scope

2009-04-16 Thread Tsunkiet Man
PS: if the indents are wrong, that's because of gmail copy and past, Im so sorry. 2009/4/17 Tsunkiet Man temp.t...@gmail.com Hello, what you suggested worked! Im very happy with it. However another error suddenly came up. It sais the last statement in a 'do' must be an expression, he is

[Haskell-cafe] wxHaskell

2009-03-27 Thread Tsunkiet Man
Hello, I've just installed wxHaskell as follow: - Download wxHaskell from the following page: http://haskell.org/haskellwiki/WxHaskell/Download and downloaded the binairy version for Windows XP. - Registered using the batch file provided. Now I have this small program from my education page

Re: [Haskell-cafe] wxHaskell

2009-03-27 Thread Henk-Jan van Tuyl
On Fri, 27 Mar 2009 19:35:05 +0100, Tsunkiet Man temp.t...@gmail.com wrote: Hello, I've just installed wxHaskell as follow: - Download wxHaskell from the following page: http://haskell.org/haskellwiki/WxHaskell/Download and downloaded the binairy version for Windows XP. - Registered

Re: [Haskell-cafe] wxHaskell

2009-03-27 Thread Tsunkiet Man
Oh yes, it works. I'm sorry for not noticing how this application works. Now I really wonder how I can implement that into winHugs and other GUI's =) Thank you for your response. 2009/3/27 Henk-Jan van Tuyl hjgt...@chello.nl On Fri, 27 Mar 2009 19:35:05 +0100, Tsunkiet Man

[Haskell-cafe] wxHaskell and XP-Themes

2009-01-25 Thread Günther Schmidt
Hi, my app is using wxHaskell for the gui part, how can I make it use XP-Themes? On XP it's using the Win2k themes. Günther ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] wxHaskell and XP-Themes

2009-01-25 Thread Henk-Jan van Tuyl
On Sun, 25 Jan 2009 18:58:25 +0100, Günther Schmidt red...@fedoms.com wrote: Hi, my app is using wxHaskell for the gui part, how can I make it use XP-Themes? On XP it's using the Win2k themes. Günther On my Windows XP system, the wxHaskell programs display the Windows in the style

Re: [Haskell-cafe] wxHaskell / Proxima (was Tetris)

2007-11-21 Thread Peter Verswyvelen
Ouch, I didn't even look at wxHaskell yet... Should do so then asap. Talking about wxHaskell, one of the applications shown on the website is Proxima. I've been looking for something like that for a long time (combined structural and freestyle editing). The screenshot

[Haskell-cafe] wxHaskell [was Tetris]

2007-11-21 Thread Andrew Coppin
Radosław Grzanka wrote: 2007/11/21, Conal Elliott [EMAIL PROTECTED]: I've just started using OpenGL with wxHaskell, which is my favorite of the Haskell GUI toolkits. (I like elegant interfaces.) So far, so good. If anyone else is using that combination, I'd love to hear about it.

Re: [Haskell-cafe] wxHaskell [was Tetris]

2007-11-21 Thread Conal Elliott
Doesn't that go through Eiffel first or something strange? Not at run-time. I think Daan leveraged the Eiffel bindings in automatically generating part of the Haskell bindings. I admit I haven't tried it personally, but I'm told getting wxHaskell to build is a tad tricky, and the code hasn't

Re: [Haskell-cafe] wxhaskell package for ubuntu feisty, amd64

2007-09-20 Thread shelarcy
Hi Iván, On Fri, 14 Sep 2007 20:16:29 +0900, Iván Pérez Domínguez [EMAIL PROTECTED] wrote: Already had. Didn't work. This is what it reported: wxc/src/ewxw/eljcursor.cpp: In function ‘void* Cursor_CreateLoad(const wxString*, long int, int, int)’: wxc/src/ewxw/eljcursor.cpp:18: error: no

[Haskell-cafe] wxhaskell package for ubuntu feisty, amd64

2007-09-14 Thread Iván Pérez Domínguez
I'm trying to install wxhaskell in ubuntu feisty, with ghc-6.6. After several days of trial and error and a few hours trying to change all types in my program to gtk2hs types, I'm tired. Does anyone have a .deb for wxhaskell that works with ghc-6.6?

RE: [Haskell-cafe] wxhaskell package for ubuntu feisty, amd64

2007-09-14 Thread José Miguel Vilaça
@haskell.org Assunto: [Haskell-cafe] wxhaskell package for ubuntu feisty, amd64 I'm trying to install wxhaskell in ubuntu feisty, with ghc-6.6. After several days of trial and error and a few hours trying to change all types in my program to gtk2hs types, I'm tired. Does anyone have a .deb

[Haskell-cafe] WxHaskell Question: How to get mouse or context menu events for wxGrid

2006-07-07 Thread Jason Dagit
Hello, Not sure where to ask this question but maybe here is a good place. I'm trying to use wxHaskell and I need a table with a right-click context menu. So far it seems that I can get some events on a wxGrid but not the context menu event or the mouse right click event. To get grid events

[Haskell-cafe] wxHaskell and do statements

2005-11-28 Thread mempko
Hello, I have a program that just will not compile and I cannot figure out why. I am starting out with wxHaskell but keep getting certain errors. Here is the source: - module Main where import Graphics.UI.WX main :: IO () main = start hello hello :: IO () hello = do

Re: [Haskell-cafe] wxHaskell and do statements

2005-11-28 Thread Malcolm Wallace
mempko [EMAIL PROTECTED] writes: Hello, I have a program that just will not compile and I cannot figure out why. Wrong indentation. Tab stops are 8 spaces in Haskell, but your code seems to assume 6 spaces. - module Main where import Graphics.UI.WX main :: IO

Re: [Haskell-cafe] wxHaskell: getting a checkbox state

2005-09-16 Thread Remi Turk
On Fri, Sep 16, 2005 at 12:12:50AM +0200, Sebastian Sylvan wrote: On 9/14/05, Mark Carter [EMAIL PROTECTED] wrote: The problem I was having before was that I was trying to create a separate function onCbEdit, thus: cbEdit - checkBox p1 [text := Edit Mode, on command := onCbEdit

Re: [Haskell-cafe] wxHaskell: getting a checkbox state

2005-09-16 Thread Mark Carter
Remi Turk wrote: No extensions are needed, actually: cbEdit - checBox p1 [text := Edit Mode, on comand ::= onCbEdit textlog] ^^^ Note the double colon. Happy hacking, Remi Many

[Haskell-cafe] wxHaskell: convenience functions

2005-09-16 Thread Mark Carter
I'm experimenting with wxHaskell, and I've got something like: main = run mainFrame mainFrame = do -- main application frame ... cbEdit - checkBox p1 [text := Edit Mode, on command ::= onCbEdit textlog] ... where ... It would be useful to have some convenience function,

Re: [Haskell-cafe] wxHaskell: convenience functions

2005-09-16 Thread Mark Carter
Actually, I can see how my requirement of not wanting to pass in cbEdit might not be so good. From an FP point of view, that's just asking for trouble. A better solution would appear to be to put the cbEdit in as a parameter, and just face the fact that all callers will be required to pass an

Re: [Haskell-cafe] wxHaskell: convenience functions

2005-09-16 Thread Mark Carter
Re: [Haskell-cafe] wxHaskell: convenience functions Actually, I can see how my requirement of not wanting to pass in cbEdit might not be so good. From an FP point of view, that's just asking for trouble. A better solution would appear to be to put the cbEdit in as a parameter, and just face

Re: [Haskell-cafe] wxHaskell: convenience functions

2005-09-16 Thread David Roundy
On Fri, Sep 16, 2005 at 06:30:54PM +0100, Mark Carter wrote: Actually, I can see how my requirement of not wanting to pass in cbEdit might not be so good. From an FP point of view, that's just asking for trouble. A better solution would appear to be to put the cbEdit in as a parameter, and

Re: [Haskell-cafe] wxHaskell: getting a checkbox state

2005-09-15 Thread Sebastian Sylvan
On 9/14/05, Mark Carter [EMAIL PROTECTED] wrote: Arthur Baars wrote: Hi, A Checkbox is instance of the class Checkable: http://wxhaskell.sourceforge.net/doc/ Graphics.UI.WX.Classes.html#t%3ACheckable This means you can get and set the checked property for checkboxes. for

[Haskell-cafe] wxHaskell: getting a checkbox state

2005-09-14 Thread Mark Carter
I'm a complete n00b to Haskell, and I am trying to write an experimental app using wxHaskell. I'm getting on suprisingly well, given that I have practially no idea what I'm doing. In my main loop I have cbEdit - checkBox p1 [text := Edit Mode, on command := onCbEdit textlog ] where p1

Re: [Haskell-cafe] wxHaskell: getting a checkbox state

2005-09-14 Thread Arthur Baars
Hi, A Checkbox is instance of the class Checkable: http://wxhaskell.sourceforge.net/doc/ Graphics.UI.WX.Classes.html#t%3ACheckable This means you can get and set the checked property for checkboxes. for example: c - get cbEdit checked set cbEdit [checked := not c ] The following code

Re: [Haskell-cafe] wxHaskell: getting a checkbox state

2005-09-14 Thread Joel Reymont
On Sep 14, 2005, at 5:54 PM, Arthur Baars wrote: This means you can get and set the checked property for checkboxes. for example: c - get cbEdit checked set cbEdit [checked := not c ] Any particular reason to enclose the arguments in square brackets apart from cool-looking syntax? Do

Re: [Haskell-cafe] wxHaskell: getting a checkbox state

2005-09-14 Thread Duncan Coutts
On Wed, 2005-09-14 at 18:24 +0200, Joel Reymont wrote: On Sep 14, 2005, at 5:54 PM, Arthur Baars wrote: This means you can get and set the checked property for checkboxes. for example: c - get cbEdit checked set cbEdit [checked := not c ] Any particular reason to enclose the

Re: [Haskell-cafe] wxHaskell: getting a checkbox state

2005-09-14 Thread Mark Carter
Arthur Baars wrote: Hi, A Checkbox is instance of the class Checkable: http://wxhaskell.sourceforge.net/doc/ Graphics.UI.WX.Classes.html#t%3ACheckable This means you can get and set the checked property for checkboxes. for example: c - get cbEdit checked set cbEdit [checked := not c ]

[Haskell-cafe] wxHaskell htmlWindow usage

2005-03-15 Thread David Owen
Good day all, I am attempting to display html pages using wxHaskell's HtmlWindow functions. I am hoping that it is indeed possible for me to do just that and that I haven't misunderstood what HtmlWindow is used for. My code so far will create a frame, a button and an HtmlWindow and other

Re: [Haskell-cafe] wxHaskell htmlWindow usage

2005-03-15 Thread Patrick Scheibe
Hi, When I use the htmlWindowLoadPage hw ./test.html function, everything works fine and I see the content of the test.html page. Cheers Patrick On Tuesday 15 March 2005 15:51, David Owen wrote: Good day all, I am attempting to display html pages using wxHaskell's HtmlWindow