docs/treeview.rst
author Radek Brich <radek.brich@devl.cz>
Sun, 20 Jan 2013 00:49:19 +0100
changeset 64 03f591f5fe5c
parent 38 c6e170452c7f
permissions -rw-r--r--
Drop Container.offset, add special layout for that - OffsetLayout. Add Widget.bring_up(): moves child to end of children list.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
38
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     1
TreeView
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     2
========
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     3
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     4
.. toctree::
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     5
   :maxdepth: 3
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     6
   :titlesonly:
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     7
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     8
.. automodule:: tuikit.treeview
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     9
   :members:
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    10
   :show-inheritance:
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    11
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    12
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    13
Path
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    14
----
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    15
The path may be string or list. Components are names or indexes.
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    16
String path uses slash char as separator, names as components.
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    17
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    18
Examples:
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    19
 * '/'
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    20
 * '/a/b/c'
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    21
 * ['a', 'b', 'c']
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    22
 * [0, 3, 1]
c6e170452c7f Documentation, fix names of focus methods.
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    23