Personal tools

Gtk2Hs/Tutorials

From HaskellWiki

< Gtk2Hs(Difference between revisions)
Jump to: navigation, search
m (Gtk2Hs/Tutorial moved to Gtk2Hs/Tutorials)
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
= Gtk2Hs Tutorial =
+
[[Category:Tutorials]]
  +
== Gtk2Hs Tutorials ==
   
== Table of Contents ==
+
;[[/Intro|Introductory tutorial]]
  +
:This tutorial gives an introducion to the basics of Gtk+ and Gtk2Hs.
   
* [[/Introduction|Introduction]]
+
There is another nice and extensive tutorial at
* [[/Getting Started|Getting Started]]
+
http://code.haskell.org/gtk2hs/docs/tutorial/Tutorial_Port/
** [[/Hello World|Hello World]]
+
** [[/Signals and Callbacks|Signals and Callbacks]]
+
Note that this tutorial is not completely up to date. For example, it uses the deprecated Events module and to run some examples with gtk 0.10.1, it is necessary to include "import Graphics.UI.Gtk.Gdk.Events" in the program.
** [[/Events|Events]]
+
** [[/Stepping Through Hello World|Stepping Through Hello World]]
+
;[[/ThreadedGUIs|Threaded GUI tutorial]]
* Moving On
+
** [[/More on Signals Handlers|More on Signals Handlers]]
+
A simple GUI that shows the time since program start.
** [[/An Upgraded Hello World|An Upgraded Hello World]]
+
* Packing Widgets
+
;[[/DrawingArea|DrawingArea tutorial]]
** [[/Packing Boxes|Packing Boxes]]
+
:(not written yet)
* [[/Using Glade|Using Glade]]
+
  +
;[[/TreeView|TreeView tutorial]]
  +
  +
A simple example how to show a list and select an entry from it.
  +
  +
;[[/Cairo|Using cairo with Gtk2Hs]]
  +
:(not written yet)
  +
  +
;[[/Custom widgets|Creating custom widgets]]
  +
:(not written yet)
  +
  +
;[[/GConf|GConf tutorial]]
  +
:(not written yet)
  +
  +
;[[/OpenGL|Using OpenGL with Gtk2Hs]]
  +
:(not written yet)

Latest revision as of 21:24, 4 September 2012

[edit] Gtk2Hs Tutorials

Introductory tutorial
This tutorial gives an introducion to the basics of Gtk+ and Gtk2Hs.

There is another nice and extensive tutorial at http://code.haskell.org/gtk2hs/docs/tutorial/Tutorial_Port/

Note that this tutorial is not completely up to date. For example, it uses the deprecated Events module and to run some examples with gtk 0.10.1, it is necessary to include "import Graphics.UI.Gtk.Gdk.Events" in the program.

Threaded GUI tutorial

A simple GUI that shows the time since program start.

DrawingArea tutorial
(not written yet)
TreeView tutorial

A simple example how to show a list and select an entry from it.

Using cairo with Gtk2Hs
(not written yet)
Creating custom widgets
(not written yet)
GConf tutorial
(not written yet)
Using OpenGL with Gtk2Hs
(not written yet)