>
>
> Howdy Folks.
>
> I've been looking for a way to have Hugs on a Mac use a GUI toolkit like
> Tcl/Tk. I prowled through the various GUI libraries listed under the
> Libraries and Tools For Haskell page under haskell.org and found none
> that supported Hugs on a Mac. Did I miss something or am I out of luck?
>
> Thanks,
> ---Frank Seaton Taylor
>
>
The version of O'Hugs that was released September last year did actually contain
an attempt to make the Tk bindings work on a Mac. The attempt was successful as
far as the actual Tk interface was concerned, but unsuccessful in the sense that
it wouldn't work side-by-side with the SIOUX text-based interface that O'Hugs
(and most Mac versions of Hugs) normally uses.
But this was Tk 8.1. Newer versions might very well run on the Mac together
with SIOUX. In fact, trying that out is on my todo list for the upcoming new
release of O'Hugs. And if anyone is eager to find out even sooner, the
neccessary steps for porting any Tk variant of Hugs to the Mac should just be
installing Tk and setting up the correct paths for the linker.
Providing Tk actually is compatible with SIOUX, that is...
-- Johan
Howdy Folks.
I've been looking for a way to have Hugs on a Mac use a GUI toolkit like
Tcl/Tk. I prowled through the various GUI libraries listed under the
Libraries and Tools For Haskell page under haskell.org and found none
that supported Hugs on a Mac. Did I miss something or am I out of luck?
Thanks,
---Frank Seaton Taylor
Dear Sir/Madam
Recently I've encountered that my Hugs98 which runs on windows 98 was fine
until lately i got a message box when i start the program states "This
application uses CTL3D32.DLL, which is not the correct version. This version
of CTL3D32.DLL is designed only for Windows NT systems". Could you explain
what happen ? Thank you
Soo Gin
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
> I have just downloaded the hugs [...]
> The problem is that I don,t really how to make full use of the graphical
> capabilities. Would you please
> sent me some information concerning this matter.
At http://www.dcs.gla.ac.uk/~meurig/TclHaskell/
you will find a link to TclHaskell, which has a GUI and is easy to use.
Here, for example, is a short program which opens up a window:
let f = do {w <- window []} in start f
and here another, which stores the title for the window in a mutable
variable:
let f = do {ref <- newState "how to use state";valueOfRef <- readState
ref;w <- window [];title w valueOfRef} in start f
I'd be interested in hearing from anyone who uses TclHaskell.