Re: [Haskell-cafe] Windows Haskell GUI
On Wed, 2006-07-05 at 17:51 -0700, Jason Dagit wrote: > On 7/5/06, Duncan Coutts <[EMAIL PROTECTED]> wrote: > > On Wed, 2006-07-05 at 16:06 -0700, Jason Dagit wrote: > > > I can't help with gtk2hs as I haven't tried it yet, but I hear the dev > > > community is much more alive and very helpful. My main concerns with > > > gtk2hs were 1) I need a native look 'n feel > > > > This is a common misconception. Gtk+ uses the windows native theming > > dlls so look pretty good. See some of our screen shots: > > http://www.haskell.org/gtk2hs/gallery/HRay > > > > If you do find any places where it doesn't match the native theme then > > please report them in the Gtk+ bugzilla. > > What about file dialogs? Perhaps it's just GIMP but I thought it was > all gtk programs that used the really out-of-place file dialogs on > windows (I think gaim uses the same ones). I looked at some of your > screenshots. Looks better overall than I remembered. Yes, you're right. Gtk+ does a native theme but does not use the native dialogues (except for printing). I'm not completely sure of the position of the Gtk+ devs on this one. It's not clear if it's not been done due to lack of time or because there is some technical difficulty or objection to it. See for example: http://bugzilla.gnome.org/show_bug.cgi?id=337093 http://bugzilla.gnome.org/show_bug.cgi?id=337267 > > > 2) ease of distribution with my application. > > > > Is there something specific we could improve here? > > I haven't tried this myself; I was going by word of mouth. The > testimonial appears here: > http://article.gmane.org/gmane.comp.lang.haskell.cafe/13378 The note about installing the Gtk+ dlls being very hard is not quite true. There are win32 installers for this stuff at http://gladewin32.sf.net. Indeed, Gtk2Hs relies on these installers. What was being referred to in that post is the win32 builds provided by one of the Gtk+ win32 developers, which indeed are not aimed at end users. They are however a useful resource for developers putting together customised or minimal Gtk+ dll sets to bundle with their application. http://www.gimp.org/~tml/gimp/win32/downloads.html Duncan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Windows Haskell GUI
On Thu, 06 Jul 2006 07:56:49 +0900, Neil Mitchell <[EMAIL PROTECTED]> wrote: I want to develop a GUI using Haskell on Windows. As far as I can tell the options for a reasonably high level GUI toolkit are: * wxHaskell * Gtk2Hs Unfortunately I cannot find released packages for GHC 6.4.2 for either of them - Gtk supports only 6.4.1 and wx supports only 6.4.0. I'm already proviedding my modified version of wxHaskell released packages for GHC 6.4.2 on my project's page. Because, it seems that developping wxHaskell is stopped, and I'm not wxHaskell's developper now. http://www.haskell.org/pipermail/haskell/2006-June/018043.html https://sourceforge.net/project/showfiles.php?group_id=168626 -- shelarcy http://page.freett.com/shelarcy/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Windows Haskell GUI
On 7/5/06, Duncan Coutts <[EMAIL PROTECTED]> wrote: On Wed, 2006-07-05 at 16:06 -0700, Jason Dagit wrote: > I can't help with gtk2hs as I haven't tried it yet, but I hear the dev > community is much more alive and very helpful. My main concerns with > gtk2hs were 1) I need a native look 'n feel This is a common misconception. Gtk+ uses the windows native theming dlls so look pretty good. See some of our screen shots: http://www.haskell.org/gtk2hs/gallery/HRay If you do find any places where it doesn't match the native theme then please report them in the Gtk+ bugzilla. What about file dialogs? Perhaps it's just GIMP but I thought it was all gtk programs that used the really out-of-place file dialogs on windows (I think gaim uses the same ones). I looked at some of your screenshots. Looks better overall than I remembered. > 2) ease of distribution with my application. Is there something specific we could improve here? I haven't tried this myself; I was going by word of mouth. The testimonial appears here: http://article.gmane.org/gmane.comp.lang.haskell.cafe/13378 Note that if you're building a standalone app then you can just bundle all the Gtk+ .dll files in your apps install directory and it'll work fine. So there's no need to have users install Gtk+ separately, you can include all the stuff into one installer. Ah, that's good to know. I may not be using haskell on my project after all :( but I'll keep this in mind for future oppurtunities. Thanks, Jason ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Windows Haskell GUI
On Wed, 2006-07-05 at 16:06 -0700, Jason Dagit wrote: > I can't help with gtk2hs as I haven't tried it yet, but I hear the dev > community is much more alive and very helpful. My main concerns with > gtk2hs were 1) I need a native look 'n feel This is a common misconception. Gtk+ uses the windows native theming dlls so look pretty good. See some of our screen shots: http://www.haskell.org/gtk2hs/gallery/HRay If you do find any places where it doesn't match the native theme then please report them in the Gtk+ bugzilla. > 2) ease of distribution with my application. Is there something specific we could improve here? Note that if you're building a standalone app then you can just bundle all the Gtk+ .dll files in your apps install directory and it'll work fine. So there's no need to have users install Gtk+ separately, you can include all the stuff into one installer. Duncan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Windows Haskell GUI
On Wed, 2006-07-05 at 23:56 +0100, Neil Mitchell wrote: > Hi, > > I want to develop a GUI using Haskell on Windows. As far as I can tell > the options for a reasonably high level GUI toolkit are: > > * wxHaskell > * Gtk2Hs > > Unfortunately I cannot find released packages for GHC 6.4.2 for either > of them - Gtk supports only 6.4.1 and wx supports only 6.4.0. > > Does anyone have builds of either of these that work with 6.4.2? Bowing to public pressure I've done a Windows build of Gtk2Hs-0.9.10 with GHC 6.4.2. It's available here: http://haskell.org/~duncan/gtk2hs/gtk2hs-0.9.10.exe It needs GHC 6.4.2 and Gtk+ 2.8.x, for more detailed install instructions see: http://haskell.org/gtk2hs/archives/2005/06/24/installing-on-windows/ Duncan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Windows Haskell GUI
I was able to build wxHaskell for ghc 6.5 that ships with VisualHaskell and I'd say it's worth the little bit of extra work. I followed the build instructions on the wxHaskell website plus a few modifications that you can find in this thread: http://article.gmane.org/gmane.comp.lang.haskell.cafe/13383 I like wxWidgets a lot although I am finding that wxGrid controls are a bit klunky compared to some of the other wx controls I've used. I can't help with gtk2hs as I haven't tried it yet, but I hear the dev community is much more alive and very helpful. My main concerns with gtk2hs were 1) I need a native look 'n feel 2) ease of distribution with my application. HTH, Jason On 7/5/06, Neil Mitchell <[EMAIL PROTECTED]> wrote: Hi, I want to develop a GUI using Haskell on Windows. As far as I can tell the options for a reasonably high level GUI toolkit are: * wxHaskell * Gtk2Hs Unfortunately I cannot find released packages for GHC 6.4.2 for either of them - Gtk supports only 6.4.1 and wx supports only 6.4.0. Does anyone have builds of either of these that work with 6.4.2? Thanks Neil ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe