DOC
author Radek Brich <radek.brich@devl.cz>
Sun, 15 Feb 2015 12:48:23 +0100
changeset 114 26c02bd94bd9
parent 101 079ced01f875
permissions -rw-r--r--
Add Widget.posreq. Add OffsetLayout.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
101
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     1
LayoutManager
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     2
  VerticalLayout
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     3
  HorizontalLayout
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     4
  TileLayout
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     5
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     6
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     7
events:
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     8
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     9
  draw()
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    10
    - caller
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    11
  on_draw()
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    12
    - core handler, for overloading
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    13
  connect('draw', my_draw)
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    14
    - additional handler
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    15
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    16
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    17
Focus
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    18
-----
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    19
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    20
 * only one node in hierarchy can have focus
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    21
 * all parent containers have focus, so they can relay events to child
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    22
 * top container has always focus
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    23
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    24
 * grab_focus() on any node will clean old focus and set focus to this child
079ced01f875 Add old uncomitted docs.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    25
 * global shortcuts can be handled in keypress handler of top widget