Difference between revisions of "Gtk2Hs/Tutorials"
< Gtk2Hs
Jump to navigation
Jump to search
Andrewufrank (talk | contribs) |
m (More content needed...) |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 6: | Line 6: | ||
There is another nice and extensive tutorial at |
There is another nice and extensive tutorial at |
||
− | http:// |
+ | http://code.haskell.org/gtk2hs/docs/tutorial/Tutorial_Port/ |
− | Note that this tutorial is not completely up to date. For example, it uses the |
+ | 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. |
+ | ;[[/ThreadedGUIs|Threaded GUI tutorial]] |
||
+ | |||
+ | A simple GUI that shows the time since program start. |
||
;[[/DrawingArea|DrawingArea tutorial]] |
;[[/DrawingArea|DrawingArea tutorial]] |
||
Line 15: | Line 18: | ||
;[[/TreeView|TreeView tutorial]] |
;[[/TreeView|TreeView tutorial]] |
||
+ | |||
− | :(not written yet) |
||
+ | A simple example how to show a list and select an entry from it. |
||
;[[/Cairo|Using cairo with Gtk2Hs]] |
;[[/Cairo|Using cairo with Gtk2Hs]] |
||
Line 28: | Line 32: | ||
;[[/OpenGL|Using OpenGL with Gtk2Hs]] |
;[[/OpenGL|Using OpenGL with Gtk2Hs]] |
||
:(not written yet) |
:(not written yet) |
||
+ | |||
+ | [[Category:Pages under construction]] |
Latest revision as of 04:25, 26 April 2021
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.
A simple GUI that shows the time since program start.
- DrawingArea tutorial
- (not written yet)
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)