Add old uncomitted docs.
authorRadek Brich <radek.brich@devl.cz>
Wed, 20 Aug 2014 15:01:11 +0200
changeset 101 079ced01f875
parent 100 3b2df86d8f94
child 103 49f212aa0228
Add old uncomitted docs.
.hgignore
DOC
INSPIRATION
docs/terminology.rst
--- a/.hgignore	Wed Aug 20 14:48:16 2014 +0200
+++ b/.hgignore	Wed Aug 20 15:01:11 2014 +0200
@@ -1,5 +1,6 @@
 .*~$
 ^tuikit/.*\.pyc$
+^tuikit\.conf$
 ^docs/_build
 tuikit\.log
 ^build
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DOC	Wed Aug 20 15:01:11 2014 +0200
@@ -0,0 +1,25 @@
+LayoutManager
+  VerticalLayout
+  HorizontalLayout
+  TileLayout
+
+
+events:
+
+  draw()
+    - caller
+  on_draw()
+    - core handler, for overloading
+  connect('draw', my_draw)
+    - additional handler
+
+
+Focus
+-----
+
+ * only one node in hierarchy can have focus
+ * all parent containers have focus, so they can relay events to child
+ * top container has always focus
+
+ * grab_focus() on any node will clean old focus and set focus to this child
+ * global shortcuts can be handled in keypress handler of top widget
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/INSPIRATION	Wed Aug 20 15:01:11 2014 +0200
@@ -0,0 +1,35 @@
+Wikipedia:
+  http://en.wikipedia.org/wiki/Event_loop
+
+Python/Gnome:
+  http://developer.gnome.org/gnome-devel-demos/stable/tutorial.py.html.en
+
+PyQt4 class reference:
+  http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/classes.html
+  http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qevent.html
+
+PyQt4 tutorial:
+  http://zetcode.com/tutorials/pyqt4/
+  http://zetcode.com/tutorials/pyqt4/layoutmanagement/
+
+Pyglet:
+  http://www.pyglet.org/doc/api/pyglet.event.EventDispatcher-class.html
+
+GTK:
+  http://developer.gnome.org/gtk3/stable/
+  http://python-gtk-3-tutorial.readthedocs.org/en/latest/layout.html
+
+Anchor Layout in QML:
+  http://harmattan-dev.nokia.com/docs/library/html/qt4/qml-anchor-layout.html
+
+PDCurses:
+  http://pdcurses.sourceforge.net/doc/PDCurses.txt
+
+XTerm Control Sequences
+  http://invisible-island.net/xterm/ctlseqs/ctlseqs.html
+
+Kivy
+  http://kivy.org/
+
+Urwid
+  http://urwid.org/
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/terminology.rst	Wed Aug 20 15:01:11 2014 +0200
@@ -0,0 +1,18 @@
+Terminology
+===========
+
+
+Buffer
+------
+
+Buffer is rectangular offscreen area of known size.
+
+It can be drawn on the screen or into another buffer.
+
+
+Widget
+------
+
+Basic element of the application.
+
+* Can draw itself in given buffer on given position.