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: Arthur v. L. <art...@cs...> - 2007-02-19 08:02:35
|
On 18-feb-2007, at 18:23, Mads Lindstr=F8m wrote: > 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 position to character index? First, you need to get a hold of the TextCtrl. Then on that you can use textCtrlPositionToXY to get the x- and y- coordinate of the character in character increments. textCtrlPositionToXY is in WXCore. One tip: try searching the wxWidgets docs first when trying to figure out how to do stuff. For me it tends to lead me to the result quicker =20= than perusing just the wxHaskell docs. With regards, Arthur van Leeuwen. --=20 /\ / | art...@cs... | Work like you don't need =20= the money /__\ / | A friend is someone with whom | Love like you have never =20 been hurt / \/__ | you can dare to be yourself | Dance like there's nobody =20= watching |
From: Eric Y. K. <eri...@gm...> - 2007-02-18 20:58:38
|
Hi, On Mon, Feb 05, 2007 at 16:17:41 -0000, Jos=E9 Miguel Vila=E7a wrote: > In theory this seems the solution but when I tested it I find out that it > doesn=92t. The very long computation gets the attention of the processor = and > blocks the graphical interface; clicking the Stop button don=92t fire the > actions. Does calling wxcAppSafeYield in your long computation (look in the index of the API) help? I don't actually know the answer, just making some guesses. You might want to look into what Dazzle/XTC do, otherwise. And if it does help, maybe you could write something up on the Haskell wiki so that other programmers won't have to suffer! Best, --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |
From: Wolfgang J. <4f4...@ac...> - 2007-02-18 18:18:25
|
Am Sonntag, 18. Februar 2007 18:10 schrieben Sie: > On 2/18/07, Wolfgang Jeltsch <4f4...@ac...> wrote: > > Am Samstag, 17. Februar 2007 21:22 schrieb Wolfgang Jeltsch: > > > [=E2=80=A6] > > > > > > 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 *am* on a 64 bit platform. Maybe the webpage should mention that there a= re=20 problems with building in this case. > If so, the darcs version has a patch which might be relevant for that. > If you really don't want to use the darcs version, maybe the > attached non-darcs patch will fix it. Thank you. However, I switched to the darcs version already and until now= =20 everything is okay. Best wishes, Wolfgang |
From: Arie M. <ar...@cs...> - 2007-02-18 18:16:19
|
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 that deal with events, but I'm not sure whether or not they provide the required functionality. Greetings, Arie ----- Original Message ----- From: "Mads Lindstrøm" <mad...@ya...> To: <wxh...@li...> Sent: Sunday, February 18, 2007 6:23 PM Subject: [wxhaskell-users] From mouse position to character index (textCtrl) 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 position to character index? /Mads Lindstrøm ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxhaskell-users mailing list wxh...@li... https://lists.sourceforge.net/lists/listinfo/wxhaskell-users |
From: Wolfgang J. <4f4...@ac...> - 2007-02-18 18:00:44
|
Am Sonntag, 18. Februar 2007 12:51 schrieb Mads Lindstr=C3=B8m: > [=E2=80=A6] > Are you using any packages from the stable/unstable branch? No, I don=E2=80=99t. > [=E2=80=A6] > * darcs get http://darcs.haskell.org/wxhaskell The (main) difference is that you are not using the =E2=80=9Cstable=E2=80= =9D release of=20 wxHaskell but the current development version. I tried the development=20 version now and at least it compiled. > [=E2=80=A6] One question remains: How do I tell the wxHaskell builder that I don=E2=80= =99t want=20 the system-wide package.conf file to be modified but a different package.co= nf=20 file? Best wishes, Wolfgang |
From: Mads <mad...@ya...> - 2007-02-18 17:22:24
|
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 position to character index? /Mads Lindstrøm |
From: Eric K. <eri...@gm...> - 2007-02-18 17:10:48
|
T24gMi8xOC8wNywgV29sZmdhbmcgSmVsdHNjaCA8NGY0dDhzbm5AYWNtZS5zb2Z0YmFzZS5vcmc+ IHdyb3RlOgo+IEFtIFNhbXN0YWcsIDE3LiBGZWJydWFyIDIwMDcgMjE6MjIgc2NocmllYiBXb2xm Z2FuZyBKZWx0c2NoOgo+ID4gW+KApl0KPgo+ID4gSSB3aWxsIHRyeSBidWlsZGluZyBhZ2FpbnN0 IHd4V2lkZ2V0cyAyLjYgbm93Lgo+Cj4gSSBkaWQsIGFuZCAqKklUIERPRVNOJ1QgQ09NUElMRSoq ISEhICBTZWUgYXR0YWNoZWQgZmlsZSwgYXMgdXN1YWwuCgo6LSgKCllvdSdyZSBub3Qgb24gYSA2 NCBiaXQgcGxhdGZvcm0gYnkgYW55IGNoYW5jZT8KCklmIHNvLCB0aGUgZGFyY3MgdmVyc2lvbiBo YXMgYSBwYXRjaCB3aGljaCBtaWdodCBiZSByZWxldmFudCBmb3IgdGhhdC4KIElmIHlvdSByZWFs bHkgZG9uJ3Qgd2FudCB0byB1c2UgdGhlIGRhcmNzIHZlcnNpb24sICBtYXliZSB0aGUKYXR0YWNo ZWQgbm9uLWRhcmNzIHBhdGNoIHdpbGwgZml4IGl0LgoKLS0gCkVyaWMgS293ICAgICAgICAgICAg ICAgICAgICAgaHR0cDovL3d3dy5sb3JpYS5mci9+a293ClBHUCBLZXkgSUQ6IDA4QUMwNEY5ICAg ICAgICAgTWVyY2kgZGUgY29ycmlnZXIgbW9uIGZyYW7Dp2Fpcy4K |
From: Wolfgang J. <4f4...@ac...> - 2007-02-18 16:44:19
|
Am Samstag, 17. Februar 2007 21:22 schrieb Wolfgang Jeltsch: > [=E2=80=A6] > I will try building against wxWidgets 2.6 now. I did, and **IT DOESN=E2=80=99T COMPILE**!!! See attached file, as usual. Does anybody know wheter GtkHs is easier to build? > [=E2=80=A6] Best wishes, Wolfgang |
From: Mads <mad...@ya...> - 2007-02-18 11:49:56
|
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 the stable/unstable branch? Could I see your complete output from the ./configure script? Here is my install log, which may be helpful to you: * apt-get install darcs libwxgtk2.6-dev xlibmesa-gl xlibmesa-gl-dev xlibmesa-glu-dev * darcs get http://darcs.haskell.org/wxhaskell * cd wxhaskell * chmod 755 configure * ./configure --with-opengl --prefix=/usr/local * make * su * make wx * make wx-install * ldconfig Wolfgang Jeltsch: > Hello, > > I use wxWidgets-GTK as currently provided by Debian testing which is > version 2.6, probably with Unicode support. My Haskell compiler is GHC 6.6 > but this shouldn’t matter at the moment. > > I configured wxHaskell using the --prefix, --with-opengl and --package-conf > options. When running make afterwards, I received the output which is > attached to this e-mail. Can anybody tell me what’s wrong here and how I can > work around these problems? > > Best wishes, > Wolfgang > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ wxhaskell-users mailing list wxh...@li... https://lists.sourceforge.net/lists/listinfo/wxhaskell-users |
From: Mads <mad...@ya...> - 2007-02-18 11:37:21
|
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 2.6 lets you run more than one app per ghci session on Linux. However, 2.4 does on MS Windows. /Mads Lindstrøm > > On 2/17/07, Wolfgang Jeltsch <4f4...@ac...> wrote: > Am Samstag, 17. Februar 2007 20:59 schrieb Eric Y. Kow: > > […] > > > It seems the official release does not compile against > wxWidgets 2.8 (which > > came out long after the release). > > Hmm, this could be the explaination. I tried wxWidgets 2.8 > because > <http://wxhaskell.sourceforge.net/building.html> says that one > should install > the latest stable version of wxWidgets. I will try building > against > wxWidgets 2.6 now. > > > […] > > Best wishes, > Wolfgang > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance > to share your > opinions on IT & business topics through brief surveys-and > earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ wxhaskell-users mailing list wxh...@li... https://lists.sourceforge.net/lists/listinfo/wxhaskell-users |
From: Conal E. <co...@co...> - 2007-02-17 23:01:51
|
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. Mor= e info at http://darcs.haskell.org/packages/phooey/README . Cheers, - Conal On 2/17/07, Wolfgang Jeltsch <4f4...@ac...> wrote: > > Am Samstag, 17. Februar 2007 20:59 schrieb Eric Y. Kow: > > [=85] > > > It seems the official release does not compile against wxWidgets 2.8(wh= ich > > came out long after the release). > > Hmm, this could be the explaination. I tried wxWidgets 2.8 because > <http://wxhaskell.sourceforge.net/building.html> says that one should > install > the latest stable version of wxWidgets. I will try building against > wxWidgets 2.6 now. > > > [=85] > > Best wishes, > Wolfgang > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > |
From: Wolfgang J. <4f4...@ac...> - 2007-02-17 20:22:17
|
Am Samstag, 17. Februar 2007 20:59 schrieb Eric Y. Kow: > [=E2=80=A6] > It seems the official release does not compile against wxWidgets 2.8 (whi= ch > came out long after the release). Hmm, this could be the explaination. I tried wxWidgets 2.8 because=20 <http://wxhaskell.sourceforge.net/building.html> says that one should insta= ll=20 the latest stable version of wxWidgets. I will try building against=20 wxWidgets 2.6 now. > [=E2=80=A6] Best wishes, Wolfgang |
From: Eric Y. K. <eri...@gm...> - 2007-02-17 19:59:38
|
On Sat, Feb 17, 2007 at 19:28:43 +0100, Wolfgang Jeltsch wrote: > I installed wxWidgets from source now in order to be able to disable Unic= ode=20 > support for wxWidgets. It compiled and installed fine but compiling=20 > wxHaskell gave me the error messages contained by the attached file. I r= eally=20 > don=E2=80=99t understand why an official release doesn=E2=80=99t compile. Hmm. These are different error messages, at least! It seems the official release does not compile against wxWidgets 2.8 (which came out long after the release). I have three possible suggestions: 1) Try it wxWidgets 2.4.2 or 2.6.3, disabling Unicode 2) Patch wxhaskell 0.9.4 to support Unicode http://www.loria.fr/~kow/download/patch-wxhaskell-unicode-08 and just use the wxWidgets that comes with your OS 3) Use the darcs version of wxhaskell (which you might as well do if you're going to patch it anyway) --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=C3=A7ais. |
From: Wolfgang J. <4f4...@ac...> - 2007-02-17 18:29:05
|
Am Freitag, 16. Februar 2007 18:47 schrieben Sie: > Also, is this the darcs version of wxhaskell you're compiling? 0.9.4 > does not have Unicode support. You're probably better off with > darcs get http://darcs.haskell.org/wxwhaskell I installed wxWidgets from source now in order to be able to disable Unicod= e=20 support for wxWidgets. It compiled and installed fine but compiling=20 wxHaskell gave me the error messages contained by the attached file. I rea= lly=20 don=E2=80=99t understand why an official release doesn=E2=80=99t compile. Regards, Wolfgang |
From: Wolfgang J. <4f4...@ac...> - 2007-02-17 18:20:02
|
Am Freitag, 16. Februar 2007 18:42 schrieben Sie: > On 2/16/07, Eric Kow <eri...@gm...> wrote: > > Try --enable-unicode > > Err sorry, I was thinking of wxWidgets. Could you check to make sure > that you're using the right wx-config? I cannot think of any other wx-config getting in the way. > [=E2=80=A6] Best wishes, Wolfgang |
From: Eric Y. K. <eri...@gm...> - 2007-02-17 07:02:01
|
> Fri Feb 2 16:45:17 CET 2007 ar...@cs... > * fix-polygon-behaviour-64 Thanks; I'll be pushing this in shortly. Sorry for the delay. --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |
From: Eric K. <eri...@gm...> - 2007-02-16 17:49:21
|
QWxzbywgaXMgdGhpcyB0aGUgZGFyY3MgdmVyc2lvbi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sPyAgQWxhcywgd3hIYXNrZWxsJ3MgY29uZmlndXJlCj4gc2NyaXB0IGRvZXNuJ3Qg aGF2ZSBhbiBvcHRpb24gIi0td2l0aC11bmljb2RlIi4KClRyeSAtLWVuYWJsZS11bmljb2RlCgpC ZXN0LAoKLS0gCkVyaWMgS293ICAgICAgICAgICAgICAgICAgICAgaHR0cDovL3d3dy5sb3JpYS5m ci9+a293ClBHUCBLZXkgSUQ6IDA4QUMwNEY5ICAgICAgICAgTWVyY2kgZGUgY29ycmlnZXIgbW9u IGZyYW7Dp2Fpcy4K |
From: Wolfgang J. <4f4...@ac...> - 2007-02-16 17:23:55
|
Am Mittwoch, 14. Februar 2007 22:21 schrieben Sie: > [=E2=80=A6] > This looks as though it is a Unicode issue - problems with wxString > usually are. Basically on non-unicode builds the underlying type is a > char * and on Unicode builds it is defined as a suitable pointer for > Unicode strings. Try adding (or removing) --with-unicode from > wxHaskell command line. Hello, thanks for this. But what do you mean with =E2=80=9CwxHaskell command line= =E2=80=9D? Do you=20 mean the ./configure command line for wxHaskell? Alas, wxHaskell=E2=80=99s= configure=20 script doesn=E2=80=99t have an option =E2=80=9C--with-unicode=E2=80=9D. > running '<path-to>/wx-config --list' will tell you whether you need to > build for Unicode or not. I need to. > Regards > Jeremy Best wishes, Wolfgang |
From: Doaitse S. <do...@cs...> - 2007-02-16 13:14:59
|
ad 1) It has been pointed out to me that you can call the enableGUI =20 >> main only once; otherwise you get the problem I had ad 2) I made a mistake in thinking that the a.out would always be =20 used. So bad reading of the instructions from my side. Sorry. Doaitse On Feb 16, 2007, at 1:40 PM, Doaitse Swierstra wrote: > When trying to run even the smallert wx program in my Mac OS X =20 > 10.4, Intel: > > module Main where > import Graphics.UI.WX > import EnableGUI > > main :: IO () > main > =3D start hello > > hello :: IO () > hello > =3D do f <- frame [text :=3D "Hello!"] > quit <- button f [text :=3D "Quit", on command :=3D close f] > set f [layout :=3D widget quit] > > I get: > > koshka:~/Desktop/TestWX doaitse$ ghci -package wx -fglasgow-exts =20 > Main.hs > ___ ___ _ > / _ \ /\ /\/ __(_) > / /_\// /_/ / / | | GHC Interactive, version 6.6, for Haskell =20= > 98. > / /_\\/ __ / /___| | http://www.haskell.org/ghc/ > \____/\/ /_/\____/|_| Type :? for help. > > Loading package base ... linking ... done. > Loading package haskell98 ... linking ... done. > Loading package wxcore-0.10.1 ... linking ... done. > Loading package wx-0.10.1 ... linking ... done. > [1 of 2] Compiling EnableGUI ( EnableGUI.hs, interpreted ) > [2 of 2] Compiling Main ( Main.hs, interpreted ) > Ok, modules loaded: EnableGUI, Main. > *Main> enableGUI >> main > *Main> enableGUI >> main > Bus error > koshka:~/Desktop/TestWX doaitse$ > > > So note that the first time the button appears, but the second time =20= > I try to run it I get the bus error. > > This doesn't look good to me ;-{{, but I have no idea what to do next? > > The other unhealthy thing is that if I comment out the EnableGUI =20 > and use ghc, I get: > > koshka:~/Desktop/TestWX doaitse$ ghc -package wx Main.hs > koshka:~/Desktop/TestWX doaitse$ /usr/local/wxhaskell/bin/macosx-=20 > app -v Main > creating resource: > > /Developer/Tools/Rez -t APPL Carbon.r -o Main > creating app directories: > - Main.app > - Main.app/Contents > - Main.app/Contents/MacOS > - Main.app/Contents/Resources > creating package info: > - Main.app/Contents/PkgInfo > done. > > koshka:~/Desktop/TestWX doaitse$ open Main > 2007-02-16 13:38:46.947 open[1770] LSOpenFromURLSpec() returned =20 > -10661 for application (null) urls file://localhost/Users/doaitse/=20 > Desktop/TestWX/Main. > koshka:~/Desktop/TestWX doaitse$ > > > Anyone any ideas? > > Doaitse > > > > > > On Oct 22, 2006, at 4:18 PM, Mads Lindstr=F8m wrote: > >> Hi all >> >> Is there anybody who has an example of using context sensitive popup >> menus? >> >> I am especially interested in an example with a listbox, where one =20= >> can >> right-click an element and get a popup menu. >> >> >> Greetings, >> >> Mads Lindstr=F8m >> >> >> >> ---------------------------------------------------------------------=20= >> ---- >> Using Tomcat but need to do more? Need to support web services, =20 >> security? >> Get stuff done quickly with pre-integrated technology to make your =20= >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 >> Geronimo >> http://sel.as-us.falkag.net/sel?=20 >> cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642 >> _______________________________________________ >> wxhaskell-users mailing list >> wxh...@li... >> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > > ----------------------------------------------------------------------=20= > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to =20 > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV____________________________= ____=20 > _______________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users |
From: Doaitse S. <do...@cs...> - 2007-02-16 12:41:16
|
When trying to run even the smallert wx program in my Mac OS X 10.4, =20 Intel: module Main where import Graphics.UI.WX import EnableGUI main :: IO () main =3D start hello hello :: IO () hello =3D do f <- frame [text :=3D "Hello!"] quit <- button f [text :=3D "Quit", on command :=3D close f] set f [layout :=3D widget quit] I get: koshka:~/Desktop/TestWX doaitse$ ghci -package wx -fglasgow-exts =20 Main.hs ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 6.6, for Haskell 98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \____/\/ /_/\____/|_| Type :? for help. Loading package base ... linking ... done. Loading package haskell98 ... linking ... done. Loading package wxcore-0.10.1 ... linking ... done. Loading package wx-0.10.1 ... linking ... done. [1 of 2] Compiling EnableGUI ( EnableGUI.hs, interpreted ) [2 of 2] Compiling Main ( Main.hs, interpreted ) Ok, modules loaded: EnableGUI, Main. *Main> enableGUI >> main *Main> enableGUI >> main Bus error koshka:~/Desktop/TestWX doaitse$ So note that the first time the button appears, but the second time I =20= try to run it I get the bus error. This doesn't look good to me ;-{{, but I have no idea what to do next? The other unhealthy thing is that if I comment out the EnableGUI and =20 use ghc, I get: koshka:~/Desktop/TestWX doaitse$ ghc -package wx Main.hs koshka:~/Desktop/TestWX doaitse$ /usr/local/wxhaskell/bin/macosx-app -=20= v Main creating resource: > /Developer/Tools/Rez -t APPL Carbon.r -o Main creating app directories: - Main.app - Main.app/Contents - Main.app/Contents/MacOS - Main.app/Contents/Resources creating package info: - Main.app/Contents/PkgInfo done. koshka:~/Desktop/TestWX doaitse$ open Main 2007-02-16 13:38:46.947 open[1770] LSOpenFromURLSpec() returned =20 -10661 for application (null) urls file://localhost/Users/doaitse/=20 Desktop/TestWX/Main. koshka:~/Desktop/TestWX doaitse$ Anyone any ideas? Doaitse On Oct 22, 2006, at 4:18 PM, Mads Lindstr=F8m wrote: > Hi all > > Is there anybody who has an example of using context sensitive popup > menus? > > I am especially interested in an example with a listbox, where one can > right-click an element and get a popup menu. > > > Greetings, > > Mads Lindstr=F8m > > > > ----------------------------------------------------------------------=20= > --- > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?=20 > cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642 > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users |
From: Jeremy O'D. <jer...@gm...> - 2007-02-14 21:21:57
|
Hi Wolfgang, On 14/02/07, Wolfgang Jeltsch <4f4...@ac...> wrote: > Hello, > > I use wxWidgets-GTK as currently provided by Debian testing which is > version 2.6, probably with Unicode support. My Haskell compiler is GHC 6.6 > but this shouldn't matter at the moment. > > I configured wxHaskell using the --prefix, --with-opengl and --package-conf > options. When running make afterwards, I received the output which is > attached to this e-mail. Can anybody tell me what's wrong here and how I can > work around these problems? This looks as though it is a Unicode issue - problems with wxString usually are. Basically on non-unicode builds the underlying type is a char * and on Unicode builds it is defined as a suitable pointer for Unicode strings. Try adding (or removing) --with-unicode from wxHaskell command line. running '<path-to>/wx-config --list' will tell you whether you need to build for Unicode or not. Regards Jeremy |
From: Wolfgang J. <4f4...@ac...> - 2007-02-14 17:48:25
|
Hello, I use wxWidgets-GTK as currently provided by Debian testing which is version 2.6, probably with Unicode support. My Haskell compiler is GHC 6.6= =20 but this shouldn=E2=80=99t matter at the moment. I configured wxHaskell using the --prefix, --with-opengl and --package-con= f=20 options. When running make afterwards, I received the output which is=20 attached to this e-mail. Can anybody tell me what=E2=80=99s wrong here and= how I can=20 work around these problems? Best wishes, Wolfgang |
From: Eric K. <eri...@gm...> - 2007-02-14 09:47:36
|
T24gMi8xNC8wNywgQ29uYWwgRWxsaW90dCA8Y29uYWxAY29uYWwubmV0PiB3cm90ZToKPiBBbSBJ IGltYWdpbmluZyBvciBkaWQgaGFkZG9jayBkb2MgZmlsZSBuYW1lcyBqdXN0IGdldCBjaGFuZ2Vk IGZyb20KPiAiaHR0cDovL3d4aGFza2VsbC5zb3VyY2Vmb3JnZS5uZXQvZG9jL0dyYXBoaWNzLVVJ LVdYLUF0dHJpYnV0ZXMuaHRtbAo+ICIgdG8KPiAiaHR0cDovL3d4aGFza2VsbC5zb3VyY2Vmb3Jn ZS5uZXQvZG9jL0dyYXBoaWNzLlVJLldYLkF0dHJpYnV0ZXMuaHRtbCIKPiAoZXRjKT8KCkl0IG1p Z2h0IGJlIHRoZSBvdGhlciB3YXkgYXJvdW5kIChpLmUuIGhhZGRvY2sgbm93IGdlbmVyYXRlcyBs aW5rcwp3aXRoIGRhc2hlcyBpbnN0ZWFkIG9mIGRvdHMpLgpJIGhhdmVuJ3QgdXBkYXRlZCB0aGUg QVBJIGxpbmtzIG9uIHRoZSB3eGhhc2tlbGwgc2l0ZSB5ZXQ7IGhhdmUgeW91CnVwZ3JhZGVkIGhh ZGRvY2sgcmVjZW50bHk/CgpJZiB5b3UgY291bGQgbWF5YmUgY29vayB1cCBhIGxpdHRsZSBzaGVs bCBzY3JpcHQgdG8gc3ltbGluayBhbGwgdGhlCmZvby1iYXIg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