Re: [Haskell-cafe] Haskell and GUI

2008-01-18 Thread Torsten Otto
Gee, wizzz, folks. Thank you all for the many hints. I can't say yet  
which one I'll dive into but I'm in good spirits about Haskell and GUI  
now. I like the idea of a functional approach and I don't need  
extensive GUIs either, so Grapefruit just added another candidate...  
Using the Cocoa API or AppleScript bindings is very slick (I'll look  
into that), but I think I'd rather have a platform independent  
solution for my class.
I'll do my best to post a beginners tutorial on the web where it may  
be found, but it'll likely be in German. I will definitely continue to  
recommend Haskell to my colleagues.


Thanks again for your support,
Torsten

Am 17.01.2008 um 15:09 schrieb Wolfgang Jeltsch:


Am Dienstag, 15. Januar 2008 20:42 schrieb Conal Elliott:
If you can get wxHaskell installed & working, you could try Phooey  
and/or
TV.  Both are described on the Haskell wiki and available via darcs  
and

Hackage.


And they have the interesting property of being a functional  
approach to GUI
programming (similar to FranTk).  Most of the other Haskell GUI  
toolkits are

imperative in nature.

And now my shameless plug:  If you can get Gtk2Hs installed and  
working, you
could try Grapefruit which is also a functional library.  In  
addition to
GUIs, it also supports animated graphics.  At the moment, it’s main  
downside
is that it supports only a small set of widgets (buttons, labels,  
edit fields

and boxes).  See .

Best wishes,
Wolfgang
___
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


Re: [Haskell-cafe] Haskell and GUI

2008-01-17 Thread Wolfgang Jeltsch
Am Dienstag, 15. Januar 2008 20:42 schrieb Conal Elliott:
> If you can get wxHaskell installed & working, you could try Phooey and/or
> TV.  Both are described on the Haskell wiki and available via darcs and
> Hackage.

And they have the interesting property of being a functional approach to GUI 
programming (similar to FranTk).  Most of the other Haskell GUI toolkits are 
imperative in nature.

And now my shameless plug:  If you can get Gtk2Hs installed and working, you 
could try Grapefruit which is also a functional library.  In addition to 
GUIs, it also supports animated graphics.  At the moment, it’s main downside 
is that it supports only a small set of widgets (buttons, labels, edit fields 
and boxes).  See .

Best wishes,
Wolfgang
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell and GUI

2008-01-15 Thread Conal Elliott
If you can get wxHaskell installed & working, you could try Phooey and/or
TV.  Both are described on the Haskell wiki and available via darcs and
Hackage.

On Jan 14, 2008 2:09 PM, Torsten Otto <[EMAIL PROTECTED]> wrote:

> Seeing my woes with FranTk - what else is out there that people use if
> a (simple) GUI is desired for a Haskell app? Just a few textboxes and
> a button or two would do me.
>
> Thanks in advance!
>
> Regards,
> Torsten
> ___
> 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


Re: [Haskell-cafe] Haskell and GUI

2008-01-15 Thread Wouter Swierstra

Hi Torsten,

If you really only want a simple GUI - I seem to recall you're on a  
Mac - you might even be able to get away with the AppleScript bindings:


http://hackage.haskell.org/cgi-bin/hackage-scripts/package/AppleScript-0.1.3

There are an example of a simple textfield GUI in the examples  
directory.


Hope this helps,

  Wouter



This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell and GUI

2008-01-15 Thread Yitzchak Gale
btw, if you use GTK2HS on the Mac, don't forget to
start up X Windows support, and run "export DISPLAY=:0.0"
in your terminal window, before you run your program.
X Windows is usually in Applications/Utilities, but only
if you installed it manually from the Mac OS X discs,
it is not installed by default.

Good news - Gtk2 now has native support for the
Mac, so you probably won't need to run X starting
with the next version of GTK2HS.

Regard,
Yitz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell and GUI

2008-01-15 Thread Yitzchak Gale
Hi Torsten,

Here is something I use in GTK2HS when teaching beginners:

http://hpaste.org/5017

Hope this helps,
Yitz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell and GUI

2008-01-15 Thread Bulat Ziganshin
Hello Torsten,

Tuesday, January 15, 2008, 1:09:54 AM, you wrote:

> Seeing my woes with FranTk - what else is out there that people use if
> a (simple) GUI is desired for a Haskell app? Just a few textboxes and
> a button or two would do me.

i've read Gtk2Hs tutorial[1] and developed first version of GUI for my
program in 1 day

[1] http://darcs.haskell.org/gtk2hs/docs/tutorial/Tutorial_Port/index.xhtml


-- 
Best regards,
 Bulatmailto:[EMAIL PROTECTED]

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell and GUI

2008-01-14 Thread Thomas Davie
There's also the HOC (Haskell Objective-C bridge), which lets you use  
Apple's Cocoa APIs.


Bob

On 14 Jan 2008, at 22:09, Torsten Otto wrote:

Seeing my woes with FranTk - what else is out there that people use  
if a (simple) GUI is desired for a Haskell app? Just a few textboxes  
and a button or two would do me.


Thanks in advance!

Regards,
Torsten
___
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


Re: [Haskell-cafe] Haskell and GUI

2008-01-14 Thread Neil Mitchell
Hi Torsten,

> Seeing my woes with FranTk - what else is out there that people use if
> a (simple) GUI is desired for a Haskell app? Just a few textboxes and
> a button or two would do me.

Gtk2hs in GHC: http://www.haskell.org/gtk2hs/

Thanks

Neil
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell and GUI

2008-01-14 Thread Sebastian Sylvan
On Jan 14, 2008 10:09 PM, Torsten Otto <[EMAIL PROTECTED]> wrote:

> Seeing my woes with FranTk - what else is out there that people use if
> a (simple) GUI is desired for a Haskell app? Just a few textboxes and
> a button or two would do me.
>
> Thanks in advance!
>
>
I like wxHaskell. It seems that GTK2HS is more active though, but I never
did manage to install it on windows.



-- 
Sebastian Sylvan
+44(0)7857-300802
UIN: 44640862
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Haskell and GUI

2008-01-14 Thread Torsten Otto
Seeing my woes with FranTk - what else is out there that people use if  
a (simple) GUI is desired for a Haskell app? Just a few textboxes and  
a button or two would do me.


Thanks in advance!

Regards,
Torsten
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe