docs/focus.rst
author Radek Brich <radek.brich@devl.cz>
Fri, 18 Mar 2011 20:14:44 +0100
changeset 4 d197ca00496f
parent 1 69318aba22bf
child 5 ae128c885d0f
permissions -rw-r--r--
Add escape sequences for linux console.

Focus
=====

Only one widget can have focus at the time.
Top widget has link to currently focused widget in 'focuswidget'.

Events emitted on change: focus, unfocus

mousedown - focus widget under mouse

tab - focus next child in container (depends on canfocus())
shift-tab - previous child

hide() -> unfocus

tab/shift-tab into / out off containers?