You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(12) |
Aug
(34) |
Sep
(14) |
Oct
(36) |
Nov
(32) |
Dec
(15) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
(9) |
Mar
(31) |
Apr
(36) |
May
(17) |
Jun
(21) |
Jul
(13) |
Aug
(18) |
Sep
(2) |
Oct
(10) |
Nov
(18) |
Dec
(28) |
2005 |
Jan
(26) |
Feb
(15) |
Mar
(26) |
Apr
(11) |
May
(60) |
Jun
(3) |
Jul
(12) |
Aug
(4) |
Sep
(12) |
Oct
(19) |
Nov
(36) |
Dec
(10) |
2006 |
Jan
(6) |
Feb
(13) |
Mar
(6) |
Apr
(2) |
May
(9) |
Jun
(3) |
Jul
(6) |
Aug
(13) |
Sep
(1) |
Oct
(24) |
Nov
(33) |
Dec
(47) |
2007 |
Jan
(21) |
Feb
(41) |
Mar
(17) |
Apr
(9) |
May
(4) |
Jun
(20) |
Jul
(24) |
Aug
(71) |
Sep
(35) |
Oct
(10) |
Nov
(39) |
Dec
(39) |
2008 |
Jan
(24) |
Feb
(42) |
Mar
(61) |
Apr
(12) |
May
(11) |
Jun
(4) |
Jul
(9) |
Aug
(6) |
Sep
(6) |
Oct
(4) |
Nov
(3) |
Dec
(14) |
2009 |
Jan
(25) |
Feb
(18) |
Mar
(19) |
Apr
(24) |
May
(14) |
Jun
(7) |
Jul
(14) |
Aug
(25) |
Sep
(40) |
Oct
(20) |
Nov
(22) |
Dec
(4) |
2010 |
Jan
(55) |
Feb
(11) |
Mar
(9) |
Apr
(10) |
May
(10) |
Jun
(9) |
Jul
(7) |
Aug
(4) |
Sep
(15) |
Oct
(7) |
Nov
(2) |
Dec
(3) |
2011 |
Jan
(2) |
Feb
(1) |
Mar
(4) |
Apr
(6) |
May
(20) |
Jun
(30) |
Jul
(15) |
Aug
(4) |
Sep
(23) |
Oct
(24) |
Nov
(3) |
Dec
(8) |
2012 |
Jan
(23) |
Feb
(7) |
Mar
(19) |
Apr
(48) |
May
(8) |
Jun
(27) |
Jul
(10) |
Aug
(1) |
Sep
(11) |
Oct
(1) |
Nov
|
Dec
(3) |
2013 |
Jan
(1) |
Feb
|
Mar
(17) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(12) |
Sep
(2) |
Oct
|
Nov
|
Dec
(1) |
2015 |
Jan
|
Feb
|
Mar
(14) |
Apr
(5) |
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
(2) |
Dec
(1) |
2016 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Eric Y. K. <eri...@gm...> - 2007-07-31 19:44:36
|
Hi, On Tue, Jul 31, 2007 at 20:30:51 +0100, Daniel J Birkinshaw wrote: > I'm confused about how drawPolygon works; or rather in my case > doesn't. I can draw a triangle (Polygon [pt 50 175, pt 100 0, pt 0 0]) > but the points have to be in that exact order or it won't work. No comment on the order of the points (I don't know this stuff too well). Is this related to wxWidgets perhaps? Maybe it's the underlying functionality that wants it that way. > Furthermore if I try to translate all the points by, for example, > 10i+10j when I draw it not all the points have been translated. See > here for what I mean: http://omploader.org/vMTdu with the code listing > here if you want it: http://hpaste.org/1998 Could you check with the darcs version of wxhaskell? I recall something like this having been fixed. Plus, here's what it looks like on my end (the colours are weird because of a bug (maybe) on MacOS X; and there are two triangles because I added before and after code). You might encounter some pain installing the new wxhaskell, in that now you need a version of wxWidgets with Unicode _enabled_, and not 2.8 either, as wxhaskell does not seem ready for it yet. -- Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon français. |
From: Daniel J B. <dan...@ya...> - 2007-07-31 19:31:08
|
Hi, I'm confused about how drawPolygon works; or rather in my case doesn't. I can draw a triangle (Polygon [pt 50 175, pt 100 0, pt 0 0]) but the points have to be in that exact order or it won't work. Furthermore if I try to translate all the points by, for example, 10i+10j when I draw it not all the points have been translated. See here for what I mean: http://omploader.org/vMTdu with the code listing here if you want it: http://hpaste.org/1998 Thanks, Daniel |
From: Sarah C. <ld...@ke...> - 2007-07-30 17:29:50
|
From: Neil M. <ndm...@gm...> - 2007-07-24 09:06:12
|
Hi > Yes, I'm Windows developper and I put a few version of Windows installer > on my project( Kamiariduki)'s file space. > > But ... there is a problem. > First, it's not official release. Why not? Can't this be promoted to the "official windows version"? It seems the problem I've been complaining about has been solved modulo alpha renaming! Thanks Neil |
From: Eric Y. K. <eri...@gm...> - 2007-07-24 04:57:56
|
Hi, On Tue, Jul 24, 2007 at 09:39:21 +0900, shelarcy wrote: > Some people try to build wxHaskell, but sadly this is not easy task. > Because wxHaskell site's Building Guide is out of date. > Okay, we have another imformation on Haskell.org, but this is not > easy to reach there. We have full control of the wxhaskell homepage (it's in the darcs repo), so couldn't we at least update the official build instructions? Cheers, --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |
From: shelarcy <she...@gm...> - 2007-07-24 00:38:52
|
Hello Eric, On Mon, 23 Jul 2007 04:46:00 +0900, Eric Y. Kow <eri...@gm...> wrote: >>> * Produce suitable binary packages for whatever targets we can get >>> maintainers for, compatible with up-to-date versions of both GHC and >>> wxWidgets. > > Uhh.... > >>> * Improve samples and documentation. > > I think we'd better ditch this objective and just focus on getting this > thing out the door, imperfect as it may be. > >> I'm guessing that the job of producing a Windows installer is fairly >> easy, given the right build setup. Is there no Windows wxHaskell >> developer who is in a position to do this? > > I think Shelarchy might be our Windows guy. Any comments, Shelarchy? Yes, I'm Windows developper and I put a few version of Windows installer on my project( Kamiariduki)'s file space. http://sourceforge.net/project/showfiles.php?group_id=168626 But ... there is a problem. First, it's not official release. People search binary file for wxHaskell's website first, and if they don't get any imformation that, many of probabry give up to use wxHaskell. Some people try to build wxHaskell, but sadly this is not easy task. Because wxHaskell site's Building Guide is out of date. Okay, we have another imformation on Haskell.org, but this is not easy to reach there. http://www.haskell.org/haskellwiki/WxHaskell/Install Some people reached unofficial release fortunately. (This is very difficult. Because there is no link from official pages.) But it's just unofficial release, so they can't expected to get binary as soon as new GHC is released or solving building problem (if that is occur). SourceForge don't accept same name. So I don't want to put new binary, if anyone donesn't say problem. I want to hold name to use more better patched version (e.g. version of supporting more wxWidgets' feature). I think unofficial release must make good the shortage for official release, not release constantly instead of releasing official one. Best Regards, -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |
From: Eric Y. K. <eri...@gm...> - 2007-07-22 19:46:05
|
Hey Neil, On Sun, Jul 22, 2007 at 20:32:28 +0100, Neil Mitchell wrote: > I just want to make it clear than I appreciate the work that has been > done with wxHaskell, and indeed, it was the first Haskell GUI I > started using. Yep! I didn't feel any acrimony in your mail. Was forwarding it because I thought it was a useful remark and we needed the poke :-) > I have no particular desire for wxHaskell to be extended, but because > every successive version of GHC is incompatible with the binaries, it > is essential (in my opinion) that each GHC release has a corresponding > wxHaskell Windows binary. Indeed. In Jeremy's 'Reviving wxHaskell' mail, we had fixed some modest objectives, which were >> * Patches to ensure that wxHaskell compiles against latest wxWidgets >> versions on Mac, Linux and Windows (exists today) =20 Well, we got that working for wxWidgets 2.6, but this is a moving target and now it no longer compiles with 2.8. There is a hack floating around on the net which consists of using 2.4 compatibility and telling wxhaskell that really it's compiling against 2.4. Not sure that's the right way to go about it though. Alas, we are moving more slowly than our target. >> * Add Eric Kow's Unicode patches (exist today) Check. Unfortunately, I have not been able to back this up with any rigourous testing. Just a little demo program in the samples directory. >> * Produce suitable binary packages for whatever targets we can get=20 >> maintainers for, compatible with up-to-date versions of both GHC and >> wxWidgets. Uhh.... >> * Improve samples and documentation. I think we'd better ditch this objective and just focus on getting this thing out the door, imperfect as it may be. > I'm guessing that the job of producing a Windows installer is fairly > easy, given the right build setup. Is there no Windows wxHaskell > developer who is in a position to do this? I think Shelarchy might be our Windows guy. Any comments, Shelarchy? --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |
From: Neil M. <ndm...@gm...> - 2007-07-22 19:32:29
|
Hi Eric, > Just forwarding a comment from Neil on Haskell Caf=E9. He has expressed = a > similar sentiment on #haskell a long time ago (which I think I have > relayed as well). I just want to make it clear than I appreciate the work that has been done with wxHaskell, and indeed, it was the first Haskell GUI I started using. I have no particular desire for wxHaskell to be extended, but because every successive version of GHC is incompatible with the binaries, it is essential (in my opinion) that each GHC release has a corresponding wxHaskell Windows binary. I'm guessing that the job of producing a Windows installer is fairly easy, given the right build setup. Is there no Windows wxHaskell developer who is in a position to do this? Thanks Neil > > For the record, my participation in this project consists of reviewing > incoming patches (if nobody else does), and pushing them to darcs. To > be honest, I'm stretched too thin for even this meager job. Luckily, > there have not been any patches for a while :-/. > > That said, I think wxhaskell is really handy. I like having a native > GUI on every major platform (may not be perfect, but is a good > compromise) and I like the relatively high level library. So it would > be *really* nice to keep this project alive. I'll bet other users on > this list agree with this sentiment. > > Jeremy and friends: anybody still have time to be working on this? And > wxhaskell-users, are any of you willing to step up and take over the > patch review job? > > Thanks! > > Neil Mitchell said: > > Hi Bulat, > > > > > can anyone provide wxHaskell already compiled/compilable with ghc 6.6= .1 on > > > Windows? > > > > This is precisely the reason I switched to Gtk2Hs - Duncan provides > > Windows installers as each new GHC release comes out. If wxHaskell > > wants to stand any chance as an alternative GUI framework there really > > _must_ be Windows binaries released concurrently with GHC versions... > > > > Thanks > > > > Neil > > -- > Eric Kow http://www.loria.fr/~kow > PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. > > |
From: Eric Y. K. <eri...@gm...> - 2007-07-22 19:23:20
|
Hi wxhaskellers, Just forwarding a comment from Neil on Haskell Caf=E9. He has expressed a similar sentiment on #haskell a long time ago (which I think I have relayed as well). For the record, my participation in this project consists of reviewing incoming patches (if nobody else does), and pushing them to darcs. To be honest, I'm stretched too thin for even this meager job. Luckily, there have not been any patches for a while :-/. That said, I think wxhaskell is really handy. I like having a native GUI on every major platform (may not be perfect, but is a good compromise) and I like the relatively high level library. So it would be *really* nice to keep this project alive. I'll bet other users on this list agree with this sentiment. Jeremy and friends: anybody still have time to be working on this? And wxhaskell-users, are any of you willing to step up and take over the patch review job? Thanks! Neil Mitchell said: > Hi Bulat, >=20 > > can anyone provide wxHaskell already compiled/compilable with ghc 6.6.1= on > > Windows? >=20 > This is precisely the reason I switched to Gtk2Hs - Duncan provides > Windows installers as each new GHC release comes out. If wxHaskell > wants to stand any chance as an alternative GUI framework there really > _must_ be Windows binaries released concurrently with GHC versions... >=20 > Thanks >=20 > Neil --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |
From: Eric Y. K. <eri...@gm...> - 2007-07-18 00:34:51
|
On Wed, Jul 18, 2007 at 00:52:40 +0200, Patrick Scheibe wrote: > after compiling the darcs version, wxHaskell seemed to work. > But something is wrong with the fonts. I don't see any menu entries=20 > but they seem to be there because I can click on them and they pop > open. The title bar of the wx windows only show the first letter of the > full name. For instance the bouncing ball demo works fine except that I > don't see any text (ok.. the "B" in the title bar). Sounds like it's Unicode-related. The darcs version of wxhaskell wants a unicode-enabled wxWidgets underneath. Sorry! I wasn't thinking about that when I suggested the upgrade. --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |
From: Patrick S. <pa...@yo...> - 2007-07-17 22:53:01
|
Hi again, after compiling the darcs version, wxHaskell seemed to work. But something is wrong with the fonts. I don't see any menu entries but they seem to be there because I can click on them and they pop open. The title bar of the wx windows only show the first letter of the full name. For instance the bouncing ball demo works fine except that I don't see any text (ok.. the "B" in the title bar). Can anyone figure out where this comes from? The ghc compiles without warning or error. I compiled successfully the treectrl.cpp from wxwindows and it looked fine. It looked as fine as my gimp which uses the gtk. Is there anything more I can do? Cheers Patrick |
From: Patrick S. <psc...@tr...> - 2007-07-17 22:52:53
|
Hi again, after compiling the darcs version, wxHaskell seemed to work. But something is wrong with the fonts. I don't see any menu entries but they seem to be there because I can click on them and they pop open. The title bar of the wx windows only show the first letter of the full name. For instance the bouncing ball demo works fine except that I don't see any text (ok.. the "B" in the title bar). Can anyone figure out where this comes from? The ghc compiles without warning or error. I compiled successfully the treectrl.cpp from wxwindows and it looked fine. It looked as fine as my gimp which uses the gtk. Is there anything more I can do? Cheers Patrick |
From: Eric Y. K. <eri...@gm...> - 2007-07-17 16:49:45
|
Hi Patrick, On Tue, Jul 17, 2007 at 16:05:25 +0200, Patrick Scheibe wrote: > since it seems that the list becomes more active again and since the > ICFP isn't far away I tried to compile my old sources. Unfortunately I > can't compile the wxHaskell source. I tried the zipped sources and the > cvs repo and got the same error message every time after several minutes > of compiling. This is the output of the cvs version: you'll want the darcs version darcs get http://darcs.haskell.org/wxhaskell --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |
From: Patrick S. <pa...@yo...> - 2007-07-17 14:05:57
|
Hi, since it seems that the list becomes more active again and since the ICFP isn't far away I tried to compile my old sources. Unfortunately I can't compile the wxHaskell source. I tried the zipped sources and the cvs repo and got the same error message every time after several minutes of compiling. This is the output of the cvs version: patrick@toffee:~/src/haskell/wxhaskell$ ./configure --prefix=/home/patrick/build --with-opengl --hc=/home/patrick/build/bin/ghc --hcpkg=/home/patrick/build/bin/ghc-pkg checking system: wx-config found /home/patrick/build/bin/ghc found /home/patrick/build/bin/ghc-pkg found . . . configuration: library: wxhaskell-0.9.4 (release 0) compiler: ghc-6.6.1 wxwidgets: gtk-2.4.5 with openGL: yes library dir: /home/patrick/build/lib patrick@toffee:~/src/haskell/wxhaskell$ make ... wx/src/Graphics/UI/WX/Types.hs:94:0: Bad interface file: out/wx/imports/Graphics/UI/WXCore/Types.hi Something is amiss; requested module wx:Graphics.UI.WXCore.Types differs from name found in the interface file wxcore:Graphics.UI.WXCore.Types make: *** [out/wx/imports/Graphics/UI/WX/Types.o] Error 1 Does anyone has a clue on this? Obviously I can provide as much information as you want about the system but I don't think it comes from the os. Cheers Patrick |
From: Law <ws...@ra...> - 2007-07-17 04:27:48
|
From: Dean H. <her...@mi...> - 2007-06-30 03:22:25
|
>Date: Mon, 25 Jun 2007 20:19:50 -0400 >To: Jens Fisseler <Jen...@Fe...> >From: Dean Herington <her...@mi...> >Subject: Re: [Haskell-cafe] avoiding command window with wxHaskell on Windows? >Cc: has...@ha..., wxh...@li... > >At 10:10 PM +0200 6/23/07, Jens Fisseler wrote: >>On Sat, 23 Jun 2007, Dean Herington wrote: >> >>> But if I double-click the .exe file, I get a command window that >>>hangs around >>> (but doesn't appear to do anything, fortunately) until the >>>program terminates. >>> How can I avoid this command window? >> >>With gtk2hs, using "-optl-mwindows" as a command line option for GHC lets >>me get rid of this window. Perhaps it will do the same for wxHaskell? > >Yes, that did the trick! Thanks a lot! But now I've discovered that using "-optl-mwindows" creates a program that doesn't work when invoked from a command line. Is there any way to create a program that can work when invoked either from a command line or through double-clicking? Dean |
From: shelarcy <she...@gm...> - 2007-06-26 00:54:23
|
Hello, David On Mon, 25 Jun 2007 20:53:55 +0900, Simon Peyton-Jones <si...@mi...> wrote: > | you might be pleased to here that wxHaskell is now working quite well with > | the latest versions of wxWidgets and GHC i.e. versions 2.8.4 and 6.6.1 > | respectively. I realise you are probably too senior to deal with such > | project details directly but the GHC site does not have a general contact > | address and wouldn't let me register an account to report this on any > | internal forum etc. Since I am very new to Haskell -- this is in fact my > | first project with wxWidgets and Haskell, could you please suggest someone > | to whom I could pass on the details of the mods I have made etc to get > | wxHaskell working in the current environment. I heard that wxHaskell can build with wxWidgets 2.8.0. http://caml.inria.fr/pub/ml-archives/caml-list/2007/01/d40b2a810ca50f63456508cf57d418cc.en.html But we can't see his solution, so I just point out my ideas. If you want to build wxHaskell with wxWidgets 2.8.x, you must build wxWidgets with "#define WXWIN_COMPATIBILITY_2_4 1" at least. Because wxHaskell requires to build on wxWidgets 2.4.2, so wxHaskell uses deprecated wxWidgets 2.4's API. And what is a platform that you are using? If you don't use Windows or PowerPC Mac, I think you must use just --enable-compat24 option to build wxWidgets 2.8.x. But you use these platform, you must worried care about more detail. Another solution is use wxWidgets 2.6 API, if wxHaskell build with higher 2.6.x version by #ifdef macros like wave.cpp. Does anyone already try to add supporting wxWidgets 2.6 or 2.8 API? -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |
From: Dean H. <her...@mi...> - 2007-06-26 00:26:09
|
At 10:10 PM +0200 6/23/07, Jens Fisseler wrote: >On Sat, 23 Jun 2007, Dean Herington wrote: > >> But if I double-click the .exe file, I get a command window that >>hangs around >> (but doesn't appear to do anything, fortunately) until the program >>terminates. >> How can I avoid this command window? > >With gtk2hs, using "-optl-mwindows" as a command line option for GHC lets >me get rid of this window. Perhaps it will do the same for wxHaskell? Jens, Yes, that did the trick! Thanks a lot! Dean |
From: Simon Peyton-J. <si...@mi...> - 2007-06-25 11:54:25
|
David | you might be pleased to here that wxHaskell is now working quite well wit= h | the latest versions of wxWidgets and GHC i.e. versions 2.8.4 and 6.6.1 | respectively. I realise you are probably too senior to deal with such | project details directly but the GHC site does not have a general contact | address and wouldn't let me register an account to report this on any | internal forum etc. Since I am very new to Haskell -- this is in fact my | first project with wxWidgets and Haskell, could you please suggest someon= e | to whom I could pass on the details of the mods I have made etc to get | wxHaskell working in the current environment. Well done! There's a special mailing list just for WxHaskell users, who I = am cc'ing. It's not very active though, so I'm also ccing libraries@haskell= .org. A small bunch of folk are interested in maintaining WxHasekell, and you sho= uld definitely talk to them. I'm ccing the ones I know of, and I enclose t= he last message I had from them (Oct 2006). I hope this points you in the right direction. Thank you for contributing = in such a concrete way. Incidentally, you can join any of the Haskell mailing lists rather easily. Simon |
From: Jens F. <Jen...@Fe...> - 2007-06-23 21:10:22
|
On Sat, 23 Jun 2007, Dean Herington wrote: > But if I double-click the .exe file, I get a command window that hangs around > (but doesn't appear to do anything, fortunately) until the program terminates. > How can I avoid this command window? With gtk2hs, using "-optl-mwindows" as a command line option for GHC lets me get rid of this window. Perhaps it will do the same for wxHaskell? Regards, Jens |
From: Dean H. <her...@mi...> - 2007-06-23 19:08:34
|
I'm experimenting with wxHaskell. I created a small program with it on Windows. (Well, small in source form, not so small in binary form :-) The program runs fine when invoked at a Windows command line. But if I double-click the .exe file, I get a command window that hangs around (but doesn't appear to do anything, fortunately) until the program terminates. How can I avoid this command window? I'm using GHC 6.6 and wxHaskell 0.9.4 on Windows XP. Dean |
From: Eric Y. K. <eri...@gm...> - 2007-06-15 17:35:51
|
On Fri, Jun 15, 2007 at 09:23:00 -0700, Atif Iqbal wrote: > I am using 'wxhaskell' and 'parsec' in my program.'space' action is defin= ed in both libraries.How can i hide 'space' action in one of these librerie= s.? > i am trying this > import Graphics.UI.WXCore hiding (space) Does doing the same for Graphics.UI.WX help? It seems to be reexported by that module. --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |
From: Atif I. <cs_...@ya...> - 2007-06-15 16:23:09
|
Hi! I am using 'wxhaskell' and 'parsec' in my program.'space' action is defined in both libraries.How can i hide 'space' action in one of these libreries.? i am trying this import Graphics.UI.WXCore hiding (space) but not working.Any suggestion ? Regards, Atif --------------------------------- Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. --------------------------------- Shape Yahoo! in your own image. Join our Network Research Panel today! |
From: Eric Y. K. <eri...@gm...> - 2007-06-12 20:08:31
|
Hi, On Sun, Jun 10, 2007 at 23:07:23 +0200, Antonio Regidor Garc=EDa wrote: > How can I maximize a frame in wxhaskell? I've been looking into it, but can't quite figure out how yet. There doesn= 't seem to be a native wxHaskell way to do it (anyone?). Maybe you can do something like send a MaximizeEvent directly to the frame, but I can't figu= re out how to create such an event. I thought maybe you could do something li= ke create an event object and set its type to wxEVT_MAXMIZE, but also could not figure out how to accomplish that. Sorry. Maybe somebody else on the list would have some ideas. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D module Main where import Graphics.UI.WX import Graphics.UI.WXCore import System.IO main :: IO () main =3D start sampler sampler :: IO () sampler =3D do f <- frame [text :=3D "maximized window"] evtHandler <- windowGetEventHandler f maximizeEvent <- ??? evtHandler maximizeEvent =20 --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |
From: Malcolm W. <Mal...@cs...> - 2007-06-12 13:54:37
|
Atif Iqbal <cs_...@ya...> wrote: > I am new to Haskell and wxhaskell. > I want to get a string from one text box,process it on button click > and show the result in another test box on the same window. In that case, you only need to modify your code a little, to move the point at which you read the text until after the button press. > stxt <- textEntry p [enabled := True] > textlog <- textCtrl p [enabled := False, wrap := WrapNone] > -- use text control as logger > textCtrlMakeLogActiveTarget textlog > mytext <- textCtrlGetValue stxt > eval <- button p [text := "Process", on command := logMessage mytext] change last two lines to: eval <- button p [ text := "Process" , on command := do mytext <- textCtrlGetValue stxt logMessage mytext ] Regards, Malcolm |