Difference between revisions of "Gtk2Hs/Tutorials"

From HaskellWiki
Jump to navigation Jump to search
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
  +
[[Category:Tutorials]]
= Introductory Tutorial =
 
  +
== Gtk2Hs Tutorials ==
   
  +
;[[/Intro|Introductory tutorial]]
This tutorial gives an introducion to the basics of Gtk+ and Gtk2Hs.
+
:This tutorial gives an introducion to the basics of Gtk+ and Gtk2Hs.
   
  +
There is another nice and extensive tutorial at
* [[/Introduction|Introduction]]
 
  +
http://code.haskell.org/gtk2hs/docs/tutorial/Tutorial_Port/
* [[/Getting Started|Getting Started]]
 
** [[/Hello World|Hello World]]
 
** [[/Signals and Callbacks|Signals and Callbacks]]
 
** [[/Events|Events]]
 
** [[/Stepping Through Hello World|Stepping Through Hello World]]
 
* Moving On
 
** [[/More on Signals Handlers|More on Signals Handlers]]
 
** [[/An Upgraded Hello World|An Upgraded Hello World]]
 
* Packing Widgets
 
** [[/Packing Boxes|Packing Boxes]]
 
* [[/Using Glade|Using Glade]]
 
   
  +
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.
= TreeView Tutorial =
 
   
  +
;[[/ThreadedGUIs|Threaded GUI tutorial]]
(not written yet)
 
   
  +
A simple GUI that shows the time since program start.
= Using cairo with Gtk2Hs =
 
   
  +
;[[/DrawingArea|DrawingArea tutorial]]
(not written yet)
 
 
:(not written yet)
   
  +
;[[/TreeView|TreeView tutorial]]
= Creating custom widgets =
 
   
  +
A simple example how to show a list and select an entry from it.
(not written yet)
 
   
 
;[[/Cairo|Using cairo with Gtk2Hs]]
= GConf Tutorial =
 
 
:(not written yet)
   
 
;[[/Custom widgets|Creating custom widgets]]
(not written yet)
 
 
:(not written yet)
  +
  +
;[[/GConf|GConf tutorial]]
 
:(not written yet)
  +
  +
;[[/OpenGL|Using OpenGL with Gtk2Hs]]
  +
:(not written yet)

Revision as of 21:24, 4 September 2012

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)