From 79609105759f85c964c0d4d6c609628b2a416d4e Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy <13696193+MikeTheWatchGuy@users.noreply.github.com> Date: Sun, 13 Jan 2019 10:32:50 -0500 Subject: [PATCH] readme.md updated from https://stackedit.io/ --- readme.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index cab8448e..59396dce 100644 --- a/readme.md +++ b/readme.md @@ -3199,7 +3199,13 @@ Unlike Tables there is no standard format for trees. Thus the data structure pa * Get a TreeData Object * "Insert" data into the tree * Pass the filled in TreeData object to Tree Element - + +#### TreeData format +```python +def TreeData() +def Insert(self, parent, key, text, values, icon=None) +``` + To "insert" data into the tree the TreeData method Insert is called. `Insert(parent_key, key, display_text, values)` @@ -4941,5 +4947,5 @@ In the hands of a competent programmer, this tool is **amazing**. It's a must- The PySimpleGUI window that the results are shown in is an 'input' field which means you can copy and paste the results right into your code. \ No newline at end of file