Koen Deforche 8455fb6ae2 added README.md files for examples, several bug fixes 13 rokov pred
..
icons 23c84d699e back-port WDialog fixes from v3 branch 16 rokov pred
CMakeLists.txt 9dd3f8912a see Changelog 14 rokov pred
DemoTreeList.C 9dd3f8912a see Changelog 14 rokov pred
DemoTreeList.h 0876868beb see Changelog 14 rokov pred
IconPair.C 9dd3f8912a see Changelog 14 rokov pred
IconPair.h 0876868beb see Changelog 14 rokov pred
README.md 8455fb6ae2 added README.md files for examples, several bug fixes 13 rokov pred
TreeNode.C 32e76ab75a added WLink + refactoring and API changes, WApplication::docRoot(), WPopupMenu improvements 13 rokov pred
TreeNode.h 0876868beb see Changelog 14 rokov pred

README.md

treelist example

This example shows a naive implementation of a tree (as a hierarchy of TreeNode objecs), which was an early version of the WTreeNode part of the library.

This example is a bit dated since CSS3 now includes rounded corners which are already broadly supported across browsers.

How to run

See the README in the parent directory.

What it illustrates

  • stateless slot learning to implement client-side event handling