X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..3cc305b2b4a0674c56c84d7088cfd70676b850f0:/docs/latex/wx/ttreectl.tex diff --git a/docs/latex/wx/ttreectl.tex b/docs/latex/wx/ttreectl.tex index 30847cf1d9..93bc9daf50 100644 --- a/docs/latex/wx/ttreectl.tex +++ b/docs/latex/wx/ttreectl.tex @@ -6,7 +6,8 @@ The tree control displays its items in a tree like structure. Each item has its own (optional) icon and a label. An item may be either collapsed (meaning that its children are not visible) or expanded (meaning that its children are shown). Each item in the tree is identified by its {\it itemId} which is of -opaque data type {\it wxTreeItemId}. +opaque data type {\it wxTreeItemId}. You can test whether an item is valid +by calling wxTreeItemId::IsOk. The items text and image may be retrieved and changed with \helpref{GetItemText}{wxtreectrlgetitemtext}/\helpref{SetItemText}{wxtreectrlsetitemtext} @@ -75,6 +76,6 @@ Finally, the tree control has a keyboard interface: the cursor navigation (arrow may be used to change the current selection. and are used to go to the first/last sibling of the current item. '+', '-' and '*' expand, collapse and toggle the current branch. Note, however, that and keys do -nothing by default, but it is usual to associate them with deleting item from +nothing by default, but it is common to associate them with deleting an item from a tree and inserting a new one into it.