docs/focus.rst
author Radek Brich <radek.brich@devl.cz>
Wed, 13 Apr 2011 13:07:26 +0200
changeset 8 fcaabd817774
parent 5 ae128c885d0f
child 9 7175ed629a76
permissions -rw-r--r--
Update editfield - place cursor to end initially.

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?

widget.hasfocus()