DOC
author Radek Brich <radek.brich@devl.cz>
Wed, 03 Sep 2014 08:53:44 +0200
changeset 106 abcadb7e2ef1
parent 101 079ced01f875
permissions -rw-r--r--
Use Point for mouse events, add them to Container and Widget.

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