# HG changeset patch # User Radek Brich # Date 1408539671 -7200 # Node ID 079ced01f87522072f469306c320b47b60a00794 # Parent 3b2df86d8f9455a92af765326bdb4c78c66e4faf Add old uncomitted docs. diff -r 3b2df86d8f94 -r 079ced01f875 .hgignore --- 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 diff -r 3b2df86d8f94 -r 079ced01f875 DOC --- /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 diff -r 3b2df86d8f94 -r 079ced01f875 INSPIRATION --- /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/ diff -r 3b2df86d8f94 -r 079ced01f875 docs/terminology.rst --- /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.