summaryrefslogtreecommitdiff
path: root/doc/classes/Tree.xml
AgeCommit message (Collapse)Author
2023-01-24Improve clarity of Tree's activated/double-clicked signalsAaron Franke
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2023-01-16Merge pull request #70433 from Sauermann/fix-treeitem-idRémi Verschelde
Fix confusion about TreeItem.add_button ambiguity between id and index
2023-01-08Expose Tree::deselect_all to GDScriptDawid Marzec
2022-12-29Fix confusion about TreeItem.add_button ambiguity between id and indexMarkus Sauermann
A TreeItem button has an id and an index, which can be distinct. This leads to confusion. This PR documents the distinction between id and index.
2022-12-19Document MDSF font outlines may require `msdf_pixel_range` adjustmentsHugo Locurcio
2022-12-08Use capitalized ID in the docHaoyu Qiu
2022-11-22Fill random docskobewi
2022-11-10[Font] Add an import option to pre-render all glyphs required for the ↵bruvzg
translation.
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-09-21Tree recursive foldingNinni Pipping
2022-09-06Improve naming of theme properties throughout GUI codeYuri Sizov
Rename ItemList's bg -> panel Rename ItemList's bg_focus -> focus Rename ProgressBar's bg -> background Rename ProgressBar's fg -> fill Rename Tree's bg -> panel Rename Tree's bg_focus -> focus Rename ScrollContainer's bg -> panel Rename FileDialog's *_icon_modulate -> *_icon_color Rename FileDialog's files_disabled -> file_disabled_color Rename CheckButton's on/off -> checked/unchecked Rename check_v_adjust -> check_v_offset
2022-08-24implemented right click on Tree control headerderammo
2022-08-11[doc] Use "param" instead of "code" to refer to parametersAndy Maloney
2022-08-08Rename the argument tag to param in XML documentationYuri Sizov
2022-08-02Adjust 2 default theme colors in ItemList and TreeFireForge
- Change Tree's drop_position_color from orange to white. - Change ItemList's guide_color to the same color as Tree's, which fits in with a dark theme better.
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-06-17Document incremental search support in ItemList, PopupMenu and TreeHugo Locurcio
2022-05-21Add the button pressed to some signals in Treetrollodel
2022-04-23Rename theme properties to include underscoresFireForge
- check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
2022-04-11Implement Animation Librariesreduz
* Instead of containing single animations, AnimationPlayer now contains libraries. * Libraries, in turn, contain the animations. This paves the way for implementing the possibility of importing scenes as animation libraries, finally allowing to import animations separate from the 3D models. Missing (will be done on separate PRs): * Make it possible to import scenes (dae/fbx/gltf) as animation libraries. * Make it possible for AnimationTree to import animation libraries on its own, so it does not rely on AnimationPlayer for everything.
2022-03-08Rename Control's Rect properties to exclude rect_ partMarcel Admiraal
2022-02-15Add an XML schema for documentationHugo Locurcio
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-08Improve TreeItem button APIHaoyu Qiu
2022-02-05Center when scrolling to tree item.Stijn Hinlopen
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