diff options
author | VolTer <mew.pur.pur@abv.bg> | 2023-04-30 16:26:09 +0200 |
---|---|---|
committer | VolTer <mew.pur.pur@abv.bg> | 2023-05-28 14:24:54 +0200 |
commit | 151a4ba6a59f6e965bb56ce8fbc75b14d056fa79 (patch) | |
tree | e5d78c825e09d7718156870377155dbc2331518a /doc/classes/TreeItem.xml | |
parent | a67d37f7cffe7f31c68e971280950d487ea99e2c (diff) | |
download | redot-engine-151a4ba6a59f6e965bb56ce8fbc75b14d056fa79.tar.gz |
Overhaul the top sections of the class reference (GUI classes)
Diffstat (limited to 'doc/classes/TreeItem.xml')
-rw-r--r-- | doc/classes/TreeItem.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml index ffa79ed085..2bd8f57bd2 100644 --- a/doc/classes/TreeItem.xml +++ b/doc/classes/TreeItem.xml @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="TreeItem" inherits="Object" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Control for a single item inside a [Tree]. + An internal control for a single item inside [Tree]. </brief_description> <description> - Control for a single item inside a [Tree]. May have child [TreeItem]s and be styled as well as contain buttons. - You can remove a [TreeItem] by using [method Object.free]. - [b]Note:[/b] The ID values used for buttons are limited to 32 bits, not full 64 bits of [int]. This has a range of [code]-2^32[/code] to [code]2^32 - 1[/code], i.e. [code]-2147483648[/code] to [code]2147483647[/code]. + A single item of a [Tree] control. It can contain other [TreeItem]s as children, which allows it to create a hierarchy. It can also contain text and buttons. [TreeItem] is not a [Node], it is internal to the [Tree]. + To create a [TreeItem], use [method Tree.create_item] or [method TreeItem.create_child]. To remove a [TreeItem], use [method Object.free]. + [b]Note:[/b] The ID values used for buttons are 32-bit, unlike [int] which is always 64-bit. They go from [code]-2147483648[/code] to [code]2147483647[/code]. </description> <tutorials> </tutorials> |