Personal tools

Gtk2Hs

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(Removing misleading link. - FAQs)
(45 intermediate revisions by 22 users not shown)
Line 1: Line 1:
  +
[[Category:User interfaces]]
 
== What is it? ==
 
== What is it? ==
   
Line 6: Line 7:
 
== Homepage ==
 
== Homepage ==
   
http://haskell.org/gtk2hs/
+
http://projects.haskell.org/gtk2hs/
  +
  +
== Tutorials and Demos ==
  +
  +
http://www.haskell.org/haskellwiki/Gtk2Hs/Tutorials
  +
  +
Some demonstration programs can be found at:
  +
http://code.haskell.org/gtk2hs/gio/demo/
  +
http://code.haskell.org/gtk2hs/pango/demo/
  +
http://code.haskell.org/gtk2hs/cairo/demo/
  +
http://code.haskell.org/gtk2hs/gtk/demo/
   
 
== Status ==
 
== Status ==
   
It currently works with Gtk+ 2.0 through to 2.8 on Unix, Win32 and MacOS X.
+
It currently works with Gtk+ 2.0 through to 2.22 on Unix, Win32 and MacOS X.
The widget function coverage is almost complete, only a few minor bits and pieces are missing.
+
Details please check : http://www.gtk.org/language-bindings.php
  +
  +
It currently builds with ghc 6.10.4 through to 7.2.1 (6.12.2 have runtime bug, don't use it)
  +
  +
== Installation Notes ==
  +
  +
* [[Gtk2Hs/Windows|Windows]]
  +
* [[Gtk2Hs/Mac|Mac]]
  +
* [[Gtk2Hs/Linux|Linux]]
  +
  +
== Demos ==
  +
  +
=== OpenGL and Gtk2Hs ===
  +
  +
[[Gtk2Hs/Demos/GtkGLext/hello.hs]]
  +
  +
[[Gtk2Hs/Demos/GtkGLext/terrain.hs]] requires [[Gtk2Hs/Demos/GtkGLext/terrain.xpm]]
   
It currently builds with ghc 5.04.3 through to 6.6.1
+
==FAQs==
  +
These are links to FAQS on the main site.
  +
*[http://haskell.org/gtk2hs/archives/2005/06/23/hiding-the-console-on-windows/#more-26 Hiding the console on windows]
  +
*[http://haskell.org/gtk2hs/archives/2005/06/24/building-from-source-on-windows/#more-15 Building on Windows]
  +
*[http://haskell.org/gtk2hs/development/#darcs Checkout instructions]. Also see [[Darcs]]
   
 
[[Category:Applications]]
 
[[Category:Applications]]

Revision as of 22:44, 4 September 2012

Contents

1 What is it?

Gtk2Hs is a Haskell binding to Gtk+ 2.x. Using it, one can write Gtk+ based applications with GHC.

2 Homepage

http://projects.haskell.org/gtk2hs/

3 Tutorials and Demos

http://www.haskell.org/haskellwiki/Gtk2Hs/Tutorials

Some demonstration programs can be found at:

http://code.haskell.org/gtk2hs/gio/demo/
http://code.haskell.org/gtk2hs/pango/demo/
http://code.haskell.org/gtk2hs/cairo/demo/
http://code.haskell.org/gtk2hs/gtk/demo/

4 Status

It currently works with Gtk+ 2.0 through to 2.22 on Unix, Win32 and MacOS X. Details please check : http://www.gtk.org/language-bindings.php

It currently builds with ghc 6.10.4 through to 7.2.1 (6.12.2 have runtime bug, don't use it)

5 Installation Notes

6 Demos

6.1 OpenGL and Gtk2Hs

Gtk2Hs/Demos/GtkGLext/hello.hs

Gtk2Hs/Demos/GtkGLext/terrain.hs requires Gtk2Hs/Demos/GtkGLext/terrain.xpm

7 FAQs

These are links to FAQS on the main site.