summaryrefslogtreecommitdiff
path: root/doc/classes/Tree.xml
AgeCommit message (Collapse)Author
2022-01-27Merge pull request #57205 from TechnoPorg/variant-template-castRémi Verschelde
Allow method binds to take Object subclasses as arguments
2022-01-25Allow method binds to take Object subclasses as argumentsTechnoPorg
This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object. This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary. A few small changes also had to be made to other files, due to the changes cascading down all the includes.
2022-01-25doc: Clarify expected type of `Object *` parameters in Tree methodsRémi Verschelde
They're meant to be `TreeItem *` but this can't be bound in Variant. Fixes #20538.
2022-01-20Merge pull request #53276 from Phischermen/propagate_checkRémi Verschelde
2022-01-19Improve the default project themeHugo Locurcio
The new default project theme uses StyleBoxFlat extensively for a more modern design and better scalability to multiple resolutions. SVG icons are now used in place of PNG icons. While this does not allow for true vector-based icon drawing (icons are still rasterized at load-time), this makes the design work easier for contributors and opens the door to vector drawing in the future (e.g. with polygons or SDFs). Like for editor icons, the SVG header file is now built automatically when a SVG file is changed. This removing the need for running `make_header.py` manually (TODO). The "Use Hidpi" project setting has been removed in favor of a "Default Theme Scale" project setting, which allows creating the default theme at a higher/lower scale than the default. This can be used when designing GUIs with a high base resolution to ensure crisp visuals. Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-01-18Addded methods to propagate checks & refactored classes to use new methods.Kevin Fischer
2021-12-05Merge pull request #55559 from pycbouh/docs-overridden-cross-linkedRémi Verschelde
2021-12-05Bind column_titles_visible as propertykobewi
2021-12-03Make overridden properties link to parent definitionYuri Sizov
Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
2021-12-01Sort and group theme properties in docs, improve formatting for theme and enumsYuri Sizov
2021-08-16Added icons and API for indeterminate checkmarks for the Tree class.Kevin Fischer
2021-08-04Add theme item descriptions to the online documentationYuri Sizov
2021-07-30doc: Use self-closing tags for `return` and `argument`Rémi Verschelde
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
2021-07-06Add multiple descriptions to several classesNick Huelin
This pull request adds several descriptions to multiple different classes. This improves the completeness of the documentation and enhances usability by doing so.
2021-07-04Clean up Treereduz
Fixes some problems introduced by #49917 * Tree used minimum size as a stretch ratio, so it forced a minimum size of 1. * Minimum size redone, stretch ratio moved to a separate setting * Fitting to contents was enforced, this is more intuitive, but in many situations this is undesired. * Added a clip content option for situations where fit to contents does not apply. * Icon would scroll with the item, making it invislbe if the item is too long. * Made icon always appear to the right (or left if RTL is enabled) of the visible item space.
2021-06-28Implement Tree's internal minimum width calculationGilles Roudière
2021-06-25Allow disabling scrolling in TreeGilles Roudière
2021-06-18Better format arguments in variant parserMichael Alexsander Silva Dias
2021-06-12Consistently prefix bound virtual methods with _kobewi
2021-05-25Add highlight to the relationship lines of selected Tree itemsYuri Sizov
2021-05-17Improve TreeItem API and allow to move nodestrollodel
2021-03-05Docs: Port Code Examples to C# (R, S, T, U)HaSa1002
* RenderingServer * RichTextEffect * SceneTree * SceneTreeTimer * ScriptCreateDialog * SpinBox * Sprite2D * StreamPeer * String * SurfaceTool * TextEdit * TileMap * Tree * Tween * UDPServer * UndoRedo Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2021-02-22Merge pull request #45994 from Jummit/expose-edit-selectedRémi Verschelde
Expose edit_selected in Tree
2021-02-22expose edit_selected in TreeJummit
2021-02-19doc: Sync classref with current sourceRémi Verschelde
And fix various bogus bindings following previous PRs.
2021-02-14[CTL] Add missing font outline drawing routines and theme constants.bruvzg
2021-01-24Change themes *_color_* to *_*_colorMarcel Admiraal
Changed: font_color_accel -> font_accelerator_color font_color_bg -> font_unselected_color font_color_disabled -> font_disabled_color font_color_fg -> font_selected_color font_color_hover -> font_hover_color font_color_hover_pressed -> font_hover_pressed_color font_color_pressed -> font_pressed_color font_color_readonly -> font_readonly_color font_color_selected -> font_selected_color font_color_shadow -> font_shadow_color font_color_uneditable -> font_uneditable_color icon_color_disabled -> icon_disabled_color icon_color_hover -> icon_hover_color icon_color_hover_pressed -> icon_hover_pressed_color icon_color_normal -> icon_normal_color icon_color_pressed -> icon_pressed_color Also includes: font_outline_modulate -> font_outline_color tab_fg -> tab_selected tab_bg -> tab_unselected
2020-11-26[Complex Text Layouts] Add TextServer documentation. Update Font, ↵bruvzg
CanvasItem, Theme and modified controls documentation.
2020-11-14Correct the doc about Tree.get_editedTomasz Chabora
2020-04-21Mention how to remove TreeItem from a TreeTomasz Chabora
2020-03-13Add LOTS of missing docsTomasz Chabora
2020-02-12doc: Sync classref with current sourceRémi Verschelde
Lots of internal API changes and some docstrings were lost in the conversion. I manually salvaged many of them but for all the rendering-related ones, an additional pass is needed. Added missing enum bindings in BaseMaterial3D and VisualServer.
2020-02-07Completes doc for ItemList and TreeHaoyu Qiu
2020-01-31Update docs to version 4.0clayjohn
2020-01-26doc: Drop unused 'category' property from headerRémi Verschelde
We already removed it from the online docs with #35132. Currently it can only be "Built-In Types" (Variant types) or "Core" (everything else), which is of limited use. We might also want to consider dropping it from `ClassDB` altogether in Godot 4.0.
2020-01-04Improves Tree documentationHaoyu Qiu
2019-12-06doc: Markup fixes for enums and constantsRémi Verschelde
2019-09-24doc: Fix parsing of self-closing XML tagsRémi Verschelde
Follow-up to #31925, `<member />` tags just before `</members>` would cause a parsing issue, and we'd never notice that we're no longer parsing members. Also added space before closing `/>`.
2019-09-24Merge pull request #31925 from bojidar-bg/31855-overriden-properties-docsRémi Verschelde
Add overriden properties to the documentation
2019-09-20Remove an unused icon and constant in TreeHugo Locurcio
2019-09-04Run doctool after overridden properties changesBojidar Marinov
2019-08-22doc: Sync classref with current sourceRémi Verschelde
Fix wrong hyperlinks in Control and Tree.
2019-08-09Add Tree iteration instructions thorugh TreeItemTwarit Waikar
2019-07-17Document Tree column behaviour of min_width in conjunction w expandMeriipu
2019-07-09TreeItem: Rename new button disable method to set_button_disabledRémi Verschelde
Follow-up to #30408. Also sync classref with current source.
2019-06-30doc: Add default values to all propertiesRémi Verschelde
Thanks to @bojidar-bg's impressive work in #29380.
2019-06-27Proofread and improve the whole class referenceHugo Locurcio
- Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
2019-06-27doc: Replace all [code]CONSTANT[/code] by new [constant CONSTANT] hyperlinksRémi Verschelde
2019-05-28doc: Sync classref with current sourceRémi Verschelde
2019-04-19doc: Drop unused <demos> tagRémi Verschelde